ChangeLog.18 3.6 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915419164191741918419194192041921419224192341924419254192641927419284192941930419314193241933419344193541936419374193841939419404194141942419434194441945419464194741948419494195041951419524195341954419554195641957419584195941960419614196241963419644196541966419674196841969419704197141972419734197441975419764197741978419794198041981419824198341984419854198641987419884198941990419914199241993419944199541996419974199841999420004200142002420034200442005420064200742008420094201042011420124201342014420154201642017420184201942020420214202242023420244202542026420274202842029420304203142032420334203442035420364203742038420394204042041420424204342044420454204642047420484204942050420514205242053420544205542056420574205842059420604206142062420634206442065420664206742068420694207042071420724207342074420754207642077420784207942080420814208242083420844208542086420874208842089420904209142092420934209442095420964209742098420994210042101421024210342104421054210642107421084210942110421114211242113421144211542116421174211842119421204212142122421234212442125421264212742128421294213042131421324213342134421354213642137421384213942140421414214242143421444214542146421474214842149421504215142152421534215442155421564215742158421594216042161421624216342164421654216642167421684216942170421714217242173421744217542176421774217842179421804218142182421834218442185421864218742188421894219042191421924219342194421954219642197421984219942200422014220242203422044220542206422074220842209422104221142212422134221442215422164221742218422194222042221422224222342224422254222642227422284222942230422314223242233422344223542236422374223842239422404224142242422434224442245422464224742248422494225042251422524225342254422554225642257422584225942260422614226242263422644226542266422674226842269422704227142272422734227442275422764227742278422794228042281422824228342284422854228642287422884228942290422914229242293422944229542296422974229842299423004230142302423034230442305423064230742308423094231042311423124231342314423154231642317423184231942320423214232242323423244232542326423274232842329423304233142332423334233442335423364233742338423394234042341423424234342344423454234642347423484234942350423514235242353423544235542356423574235842359423604236142362423634236442365423664236742368423694237042371423724237342374423754237642377423784237942380423814238242383423844238542386423874238842389423904239142392423934239442395423964239742398423994240042401424024240342404424054240642407424084240942410424114241242413424144241542416424174241842419424204242142422424234242442425424264242742428424294243042431424324243342434424354243642437424384243942440424414244242443424444244542446424474244842449424504245142452424534245442455424564245742458424594246042461424624246342464424654246642467424684246942470424714247242473424744247542476424774247842479424804248142482424834248442485424864248742488424894249042491424924249342494424954249642497424984249942500425014250242503425044250542506425074250842509425104251142512425134251442515425164251742518425194252042521425224252342524425254252642527425284252942530425314253242533425344253542536425374253842539425404254142542425434254442545425464254742548425494255042551425524255342554425554255642557425584255942560425614256242563425644256542566425674256842569425704257142572425734257442575425764257742578425794258042581425824258342584425854258642587425884258942590425914259242593425944259542596425974259842599426004260142602426034260442605426064260742608426094261042611426124261342614426154261642617426184261942620426214262242623426244262542626426274262842629426304263142632426334263442635426364263742638426394264042641426424264342644426454264642647426484264942650426514265242653426544265542656426574265842659426604266142662426634266442665426664266742668426694267042671426724267342674426754267642677426784267942680426814268242683426844268542686426874268842689426904269142692426934269442695426964269742698426994270042701427024270342704427054270642707427084270942710427114271242713427144271542716427174271842719427204272142722427234272442725427264272742728427294273042731427324273342734427354273642737427384273942740427414274242743427444274542746427474274842749427504275142752427534275442755427564275742758427594276042761427624276342764427654276642767427684276942770427714277242773427744277542776427774277842779427804278142782427834278442785427864278742788427894279042791427924279342794427954279642797427984279942800428014280242803428044280542806428074280842809428104281142812428134281442815428164281742818428194282042821428224282342824428254282642827428284282942830428314283242833428344283542836428374283842839428404284142842428434284442845428464284742848428494285042851428524285342854428554285642857428584285942860428614286242863428644286542866428674286842869428704287142872428734287442875428764287742878428794288042881428824288342884428854288642887428884288942890428914289242893428944289542896428974289842899429004290142902429034290442905429064290742908429094291042911429124291342914429154291642917429184291942920429214292242923429244292542926429274292842929429304293142932429334293442935429364293742938429394294042941429424294342944429454294642947429484294942950429514295242953429544295542956429574295842959429604296142962429634296442965429664296742968429694297042971429724297342974429754297642977429784297942980429814298242983429844298542986429874298842989429904299142992429934299442995429964299742998429994300043001430024300343004430054300643007430084300943010430114301243013430144301543016430174301843019430204302143022430234302443025430264302743028430294303043031430324303343034430354303643037430384303943040430414304243043430444304543046430474304843049430504305143052430534305443055430564305743058430594306043061430624306343064430654306643067430684306943070430714307243073430744307543076430774307843079430804308143082430834308443085430864308743088430894309043091430924309343094430954309643097430984309943100431014310243103431044310543106431074310843109431104311143112431134311443115431164311743118431194312043121431224312343124431254312643127431284312943130431314313243133431344313543136431374313843139431404314143142431434314443145431464314743148431494315043151431524315343154431554315643157431584315943160431614316243163431644316543166431674316843169431704317143172431734317443175431764317743178431794318043181431824318343184431854318643187431884318943190431914319243193431944319543196431974319843199432004320143202432034320443205432064320743208432094321043211432124321343214432154321643217432184321943220432214322243223432244322543226432274322843229432304323143232432334323443235432364323743238432394324043241432424324343244432454324643247432484324943250432514325243253432544325543256432574325843259432604326143262432634326443265432664326743268432694327043271432724327343274432754327643277432784327943280432814328243283432844328543286432874328843289432904329143292432934329443295432964329743298432994330043301433024330343304433054330643307433084330943310433114331243313433144331543316433174331843319433204332143322433234332443325433264332743328433294333043331433324333343334433354333643337433384333943340433414334243343433444334543346433474334843349433504335143352433534335443355433564335743358433594336043361433624336343364433654336643367433684336943370433714337243373433744337543376433774337843379433804338143382433834338443385433864338743388433894339043391433924339343394433954339643397433984339943400434014340243403434044340543406434074340843409434104341143412434134341443415434164341743418434194342043421434224342343424434254342643427434284342943430434314343243433434344343543436434374343843439434404344143442434434344443445434464344743448434494345043451434524345343454434554345643457434584345943460434614346243463434644346543466434674346843469434704347143472434734347443475434764347743478434794348043481434824348343484434854348643487434884348943490434914349243493434944349543496434974349843499435004350143502435034350443505435064350743508435094351043511435124351343514435154351643517435184351943520435214352243523435244352543526435274352843529435304353143532435334353443535435364353743538435394354043541435424354343544435454354643547435484354943550435514355243553435544355543556435574355843559435604356143562435634356443565435664356743568435694357043571435724357343574435754357643577435784357943580435814358243583435844358543586435874358843589435904359143592435934359443595435964359743598435994360043601436024360343604436054360643607436084360943610436114361243613436144361543616436174361843619436204362143622436234362443625436264362743628436294363043631436324363343634436354363643637436384363943640436414364243643436444364543646436474364843649436504365143652436534365443655436564365743658436594366043661436624366343664436654366643667436684366943670436714367243673436744367543676436774367843679436804368143682436834368443685436864368743688436894369043691436924369343694436954369643697436984369943700437014370243703437044370543706437074370843709437104371143712437134371443715437164371743718437194372043721437224372343724437254372643727437284372943730437314373243733437344373543736437374373843739437404374143742437434374443745437464374743748437494375043751437524375343754437554375643757437584375943760437614376243763437644376543766437674376843769437704377143772437734377443775437764377743778437794378043781437824378343784437854378643787437884378943790437914379243793437944379543796437974379843799438004380143802438034380443805438064380743808438094381043811438124381343814438154381643817438184381943820438214382243823438244382543826438274382843829438304383143832438334383443835438364383743838438394384043841438424384343844438454384643847438484384943850438514385243853438544385543856438574385843859438604386143862438634386443865438664386743868438694387043871438724387343874438754387643877438784387943880438814388243883438844388543886438874388843889438904389143892438934389443895438964389743898438994390043901439024390343904439054390643907439084390943910439114391243913439144391543916439174391843919439204392143922439234392443925439264392743928439294393043931439324393343934439354393643937439384393943940439414394243943439444394543946439474394843949439504395143952439534395443955439564395743958439594396043961439624396343964439654396643967439684396943970439714397243973439744397543976439774397843979439804398143982439834398443985439864398743988439894399043991439924399343994439954399643997439984399944000440014400244003440044400544006440074400844009440104401144012440134401444015440164401744018440194402044021440224402344024440254402644027440284402944030440314403244033440344403544036440374403844039440404404144042440434404444045440464404744048440494405044051440524405344054440554405644057440584405944060440614406244063440644406544066440674406844069440704407144072440734407444075440764407744078440794408044081440824408344084440854408644087440884408944090440914409244093440944409544096440974409844099441004410144102441034410444105441064410744108441094411044111441124411344114441154411644117441184411944120441214412244123441244412544126441274412844129441304413144132441334413444135441364413744138441394414044141441424414344144441454414644147441484414944150441514415244153441544415544156441574415844159441604416144162441634416444165441664416744168441694417044171441724417344174441754417644177441784417944180441814418244183441844418544186441874418844189441904419144192441934419444195441964419744198441994420044201442024420344204442054420644207442084420944210442114421244213442144421544216442174421844219442204422144222442234422444225442264422744228442294423044231442324423344234442354423644237442384423944240442414424244243442444424544246442474424844249442504425144252442534425444255442564425744258442594426044261442624426344264442654426644267442684426944270442714427244273442744427544276442774427844279442804428144282442834428444285442864428744288442894429044291442924429344294442954429644297442984429944300443014430244303443044430544306443074430844309443104431144312443134431444315443164431744318443194432044321443224432344324443254432644327443284432944330443314433244333443344433544336443374433844339443404434144342443434434444345443464434744348443494435044351443524435344354443554435644357443584435944360443614436244363443644436544366443674436844369443704437144372443734437444375443764437744378443794438044381443824438344384443854438644387443884438944390443914439244393443944439544396443974439844399444004440144402444034440444405444064440744408444094441044411444124441344414444154441644417444184441944420444214442244423444244442544426444274442844429444304443144432444334443444435444364443744438444394444044441444424444344444444454444644447444484444944450444514445244453444544445544456444574445844459444604446144462444634446444465444664446744468444694447044471444724447344474444754447644477444784447944480444814448244483444844448544486444874448844489444904449144492444934449444495444964449744498444994450044501445024450344504445054450644507445084450944510445114451244513445144451544516445174451844519445204452144522445234452444525445264452744528445294453044531445324453344534445354453644537445384453944540445414454244543445444454544546445474454844549445504455144552445534455444555445564455744558445594456044561445624456344564445654456644567445684456944570445714457244573445744457544576445774457844579445804458144582445834458444585445864458744588445894459044591445924459344594445954459644597445984459944600446014460244603446044460544606446074460844609446104461144612446134461444615446164461744618446194462044621446224462344624446254462644627446284462944630446314463244633446344463544636446374463844639446404464144642446434464444645446464464744648446494465044651446524465344654446554465644657446584465944660446614466244663446644466544666446674466844669446704467144672446734467444675446764467744678446794468044681446824468344684446854468644687446884468944690446914469244693446944469544696446974469844699447004470144702447034470444705447064470744708447094471044711447124471344714447154471644717447184471944720447214472244723447244472544726447274472844729447304473144732447334473444735447364473744738447394474044741447424474344744447454474644747447484474944750447514475244753447544475544756447574475844759447604476144762447634476444765447664476744768447694477044771447724477344774447754477644777447784477944780447814478244783447844478544786447874478844789447904479144792447934479444795447964479744798447994480044801448024480344804448054480644807448084480944810448114481244813448144481544816448174481844819448204482144822448234482444825448264482744828448294483044831448324483344834448354483644837448384483944840448414484244843448444484544846448474484844849448504485144852448534485444855448564485744858448594486044861448624486344864448654486644867448684486944870448714487244873448744487544876448774487844879448804488144882448834488444885448864488744888448894489044891448924489344894448954489644897448984489944900449014490244903449044490544906449074490844909449104491144912449134491444915449164491744918449194492044921449224492344924449254492644927449284492944930449314493244933449344493544936449374493844939449404494144942449434494444945449464494744948449494495044951449524495344954449554495644957449584495944960449614496244963449644496544966449674496844969449704497144972449734497444975449764497744978449794498044981449824498344984449854498644987449884498944990449914499244993449944499544996449974499844999450004500145002450034500445005450064500745008450094501045011450124501345014450154501645017450184501945020450214502245023450244502545026450274502845029450304503145032450334503445035450364503745038450394504045041450424504345044450454504645047450484504945050450514505245053450544505545056450574505845059450604506145062450634506445065450664506745068450694507045071450724507345074450754507645077450784507945080450814508245083450844508545086450874508845089450904509145092450934509445095450964509745098450994510045101451024510345104451054510645107451084510945110451114511245113451144511545116451174511845119451204512145122451234512445125451264512745128451294513045131451324513345134451354513645137451384513945140451414514245143451444514545146451474514845149451504515145152451534515445155451564515745158451594516045161451624516345164451654516645167451684516945170451714517245173451744517545176451774517845179451804518145182451834518445185451864518745188451894519045191451924519345194451954519645197451984519945200452014520245203452044520545206452074520845209452104521145212452134521445215452164521745218452194522045221452224522345224452254522645227452284522945230452314523245233452344523545236452374523845239452404524145242452434524445245452464524745248452494525045251452524525345254452554525645257452584525945260452614526245263452644526545266452674526845269452704527145272452734527445275452764527745278452794528045281452824528345284452854528645287452884528945290452914529245293452944529545296452974529845299453004530145302453034530445305453064530745308453094531045311453124531345314453154531645317453184531945320453214532245323453244532545326453274532845329453304533145332453334533445335453364533745338453394534045341453424534345344453454534645347453484534945350453514535245353453544535545356453574535845359453604536145362453634536445365453664536745368453694537045371453724537345374453754537645377453784537945380453814538245383453844538545386453874538845389453904539145392453934539445395453964539745398453994540045401454024540345404454054540645407454084540945410454114541245413454144541545416454174541845419454204542145422454234542445425454264542745428454294543045431454324543345434454354543645437454384543945440454414544245443454444544545446454474544845449454504545145452454534545445455454564545745458454594546045461454624546345464454654546645467454684546945470454714547245473454744547545476454774547845479454804548145482454834548445485454864548745488454894549045491454924549345494454954549645497454984549945500455014550245503455044550545506455074550845509455104551145512455134551445515455164551745518455194552045521455224552345524455254552645527455284552945530455314553245533455344553545536455374553845539455404554145542455434554445545455464554745548455494555045551455524555345554455554555645557455584555945560455614556245563455644556545566455674556845569455704557145572455734557445575455764557745578455794558045581455824558345584455854558645587455884558945590455914559245593455944559545596455974559845599456004560145602456034560445605456064560745608456094561045611456124561345614456154561645617456184561945620456214562245623456244562545626456274562845629456304563145632456334563445635456364563745638456394564045641456424564345644456454564645647456484564945650456514565245653456544565545656456574565845659456604566145662456634566445665456664566745668456694567045671456724567345674456754567645677456784567945680456814568245683456844568545686456874568845689456904569145692456934569445695456964569745698456994570045701457024570345704457054570645707457084570945710457114571245713457144571545716457174571845719457204572145722457234572445725457264572745728457294573045731457324573345734457354573645737457384573945740457414574245743457444574545746457474574845749457504575145752457534575445755457564575745758457594576045761457624576345764457654576645767457684576945770457714577245773457744577545776457774577845779457804578145782457834578445785457864578745788457894579045791457924579345794457954579645797457984579945800458014580245803458044580545806458074580845809458104581145812458134581445815458164581745818458194582045821458224582345824458254582645827458284582945830458314583245833458344583545836458374583845839458404584145842458434584445845458464584745848458494585045851458524585345854458554585645857458584585945860458614586245863458644586545866458674586845869458704587145872458734587445875458764587745878458794588045881458824588345884458854588645887458884588945890458914589245893458944589545896458974589845899459004590145902459034590445905459064590745908459094591045911459124591345914459154591645917459184591945920459214592245923459244592545926459274592845929459304593145932459334593445935459364593745938459394594045941459424594345944459454594645947459484594945950459514595245953459544595545956459574595845959459604596145962459634596445965459664596745968459694597045971459724597345974459754597645977459784597945980459814598245983459844598545986459874598845989459904599145992459934599445995459964599745998459994600046001460024600346004460054600646007460084600946010460114601246013460144601546016460174601846019460204602146022460234602446025460264602746028460294603046031460324603346034460354603646037460384603946040460414604246043460444604546046460474604846049460504605146052460534605446055460564605746058460594606046061460624606346064460654606646067460684606946070460714607246073460744607546076460774607846079460804608146082460834608446085460864608746088460894609046091460924609346094460954609646097460984609946100461014610246103461044610546106461074610846109461104611146112461134611446115461164611746118461194612046121461224612346124461254612646127461284612946130461314613246133461344613546136461374613846139461404614146142461434614446145461464614746148461494615046151461524615346154461554615646157461584615946160461614616246163461644616546166461674616846169461704617146172461734617446175461764617746178461794618046181461824618346184461854618646187461884618946190461914619246193461944619546196461974619846199462004620146202462034620446205462064620746208462094621046211462124621346214462154621646217462184621946220462214622246223462244622546226462274622846229462304623146232462334623446235462364623746238462394624046241462424624346244462454624646247462484624946250462514625246253462544625546256462574625846259462604626146262462634626446265462664626746268462694627046271462724627346274462754627646277462784627946280462814628246283462844628546286462874628846289462904629146292462934629446295462964629746298462994630046301463024630346304463054630646307463084630946310463114631246313463144631546316463174631846319463204632146322463234632446325463264632746328463294633046331463324633346334463354633646337463384633946340463414634246343463444634546346463474634846349463504635146352463534635446355463564635746358463594636046361463624636346364463654636646367463684636946370463714637246373463744637546376463774637846379463804638146382463834638446385463864638746388463894639046391463924639346394463954639646397463984639946400464014640246403464044640546406464074640846409464104641146412464134641446415464164641746418464194642046421464224642346424464254642646427464284642946430464314643246433464344643546436464374643846439464404644146442464434644446445464464644746448464494645046451464524645346454464554645646457464584645946460464614646246463464644646546466464674646846469464704647146472464734647446475464764647746478464794648046481464824648346484464854648646487464884648946490464914649246493464944649546496464974649846499465004650146502465034650446505465064650746508465094651046511465124651346514465154651646517465184651946520465214652246523465244652546526465274652846529465304653146532465334653446535465364653746538465394654046541465424654346544465454654646547465484654946550465514655246553465544655546556465574655846559465604656146562465634656446565465664656746568465694657046571465724657346574465754657646577465784657946580465814658246583465844658546586465874658846589465904659146592465934659446595465964659746598465994660046601466024660346604466054660646607466084660946610466114661246613466144661546616466174661846619466204662146622466234662446625466264662746628466294663046631466324663346634466354663646637466384663946640466414664246643466444664546646466474664846649466504665146652466534665446655466564665746658466594666046661466624666346664466654666646667466684666946670466714667246673466744667546676466774667846679466804668146682466834668446685466864668746688466894669046691466924669346694466954669646697466984669946700467014670246703467044670546706467074670846709467104671146712467134671446715467164671746718467194672046721467224672346724467254672646727467284672946730467314673246733467344673546736467374673846739467404674146742467434674446745467464674746748467494675046751467524675346754467554675646757467584675946760467614676246763467644676546766467674676846769467704677146772467734677446775467764677746778467794678046781467824678346784467854678646787467884678946790467914679246793467944679546796467974679846799468004680146802468034680446805468064680746808468094681046811468124681346814468154681646817468184681946820468214682246823468244682546826468274682846829468304683146832468334683446835468364683746838468394684046841468424684346844468454684646847468484684946850468514685246853468544685546856468574685846859468604686146862468634686446865468664686746868468694687046871468724687346874468754687646877468784687946880468814688246883468844688546886468874688846889468904689146892468934689446895468964689746898468994690046901469024690346904469054690646907469084690946910469114691246913469144691546916469174691846919469204692146922469234692446925469264692746928469294693046931469324693346934469354693646937469384693946940469414694246943469444694546946469474694846949469504695146952469534695446955469564695746958469594696046961469624696346964469654696646967469684696946970469714697246973469744697546976469774697846979469804698146982469834698446985469864698746988469894699046991469924699346994469954699646997469984699947000470014700247003470044700547006470074700847009470104701147012470134701447015470164701747018470194702047021470224702347024470254702647027470284702947030470314703247033470344703547036470374703847039470404704147042470434704447045470464704747048470494705047051470524705347054470554705647057470584705947060470614706247063470644706547066470674706847069470704707147072470734707447075470764707747078470794708047081470824708347084470854708647087470884708947090470914709247093470944709547096470974709847099471004710147102471034710447105471064710747108471094711047111471124711347114471154711647117471184711947120471214712247123471244712547126471274712847129471304713147132471334713447135471364713747138471394714047141471424714347144471454714647147471484714947150471514715247153471544715547156471574715847159471604716147162471634716447165471664716747168471694717047171471724717347174471754717647177471784717947180471814718247183471844718547186471874718847189471904719147192471934719447195471964719747198471994720047201472024720347204472054720647207472084720947210472114721247213472144721547216472174721847219472204722147222472234722447225472264722747228472294723047231472324723347234472354723647237472384723947240472414724247243472444724547246472474724847249472504725147252472534725447255472564725747258472594726047261472624726347264472654726647267472684726947270472714727247273472744727547276472774727847279472804728147282472834728447285472864728747288472894729047291472924729347294472954729647297472984729947300473014730247303473044730547306473074730847309473104731147312473134731447315473164731747318473194732047321473224732347324473254732647327473284732947330473314733247333473344733547336473374733847339473404734147342473434734447345473464734747348473494735047351473524735347354473554735647357473584735947360473614736247363473644736547366473674736847369473704737147372473734737447375473764737747378473794738047381473824738347384473854738647387473884738947390473914739247393473944739547396473974739847399474004740147402474034740447405474064740747408474094741047411474124741347414474154741647417474184741947420474214742247423474244742547426474274742847429474304743147432474334743447435474364743747438474394744047441474424744347444474454744647447474484744947450474514745247453474544745547456474574745847459474604746147462474634746447465474664746747468474694747047471474724747347474474754747647477474784747947480474814748247483474844748547486474874748847489474904749147492474934749447495474964749747498474994750047501475024750347504475054750647507475084750947510475114751247513475144751547516475174751847519475204752147522475234752447525475264752747528475294753047531475324753347534475354753647537475384753947540475414754247543475444754547546475474754847549475504755147552475534755447555475564755747558475594756047561475624756347564475654756647567475684756947570475714757247573475744757547576475774757847579475804758147582475834758447585475864758747588475894759047591475924759347594475954759647597475984759947600476014760247603476044760547606476074760847609476104761147612476134761447615476164761747618476194762047621476224762347624476254762647627476284762947630476314763247633476344763547636476374763847639476404764147642476434764447645476464764747648476494765047651476524765347654476554765647657476584765947660476614766247663476644766547666476674766847669476704767147672476734767447675476764767747678476794768047681476824768347684476854768647687476884768947690476914769247693476944769547696476974769847699477004770147702477034770447705477064770747708477094771047711477124771347714477154771647717477184771947720477214772247723477244772547726477274772847729477304773147732477334773447735477364773747738477394774047741477424774347744477454774647747477484774947750477514775247753477544775547756477574775847759477604776147762477634776447765477664776747768477694777047771477724777347774477754777647777477784777947780477814778247783477844778547786477874778847789477904779147792477934779447795477964779747798477994780047801478024780347804478054780647807478084780947810478114781247813478144781547816478174781847819478204782147822478234782447825478264782747828478294783047831478324783347834478354783647837478384783947840478414784247843478444784547846478474784847849478504785147852478534785447855478564785747858478594786047861478624786347864478654786647867478684786947870478714787247873478744787547876478774787847879478804788147882478834788447885478864788747888478894789047891478924789347894478954789647897478984789947900479014790247903479044790547906479074790847909479104791147912479134791447915479164791747918479194792047921479224792347924479254792647927479284792947930479314793247933479344793547936479374793847939479404794147942479434794447945479464794747948479494795047951479524795347954479554795647957479584795947960479614796247963479644796547966479674796847969479704797147972479734797447975479764797747978479794798047981479824798347984479854798647987479884798947990479914799247993479944799547996479974799847999480004800148002480034800448005480064800748008480094801048011480124801348014480154801648017480184801948020480214802248023480244802548026480274802848029480304803148032480334803448035480364803748038480394804048041480424804348044480454804648047480484804948050480514805248053480544805548056480574805848059480604806148062480634806448065480664806748068480694807048071480724807348074480754807648077480784807948080480814808248083480844808548086480874808848089480904809148092480934809448095480964809748098480994810048101481024810348104481054810648107481084810948110481114811248113481144811548116481174811848119481204812148122481234812448125481264812748128481294813048131481324813348134481354813648137481384813948140481414814248143481444814548146481474814848149481504815148152481534815448155481564815748158481594816048161481624816348164481654816648167481684816948170481714817248173481744817548176481774817848179481804818148182481834818448185481864818748188481894819048191481924819348194481954819648197481984819948200482014820248203482044820548206482074820848209482104821148212482134821448215482164821748218482194822048221482224822348224482254822648227482284822948230482314823248233482344823548236482374823848239482404824148242482434824448245482464824748248482494825048251482524825348254482554825648257482584825948260482614826248263482644826548266482674826848269482704827148272482734827448275482764827748278482794828048281482824828348284482854828648287482884828948290482914829248293482944829548296482974829848299483004830148302483034830448305483064830748308483094831048311483124831348314483154831648317483184831948320483214832248323483244832548326483274832848329483304833148332483334833448335483364833748338483394834048341483424834348344483454834648347483484834948350483514835248353483544835548356483574835848359483604836148362483634836448365483664836748368483694837048371483724837348374483754837648377483784837948380483814838248383483844838548386483874838848389483904839148392483934839448395483964839748398483994840048401484024840348404484054840648407484084840948410484114841248413484144841548416484174841848419484204842148422484234842448425484264842748428484294843048431484324843348434484354843648437484384843948440484414844248443484444844548446484474844848449484504845148452484534845448455484564845748458484594846048461484624846348464484654846648467484684846948470484714847248473484744847548476484774847848479484804848148482484834848448485484864848748488484894849048491484924849348494484954849648497484984849948500485014850248503485044850548506485074850848509485104851148512485134851448515485164851748518485194852048521485224852348524485254852648527485284852948530485314853248533485344853548536485374853848539485404854148542485434854448545485464854748548485494855048551485524855348554485554855648557485584855948560485614856248563485644856548566485674856848569485704857148572485734857448575485764857748578485794858048581485824858348584485854858648587485884858948590485914859248593485944859548596485974859848599486004860148602486034860448605486064860748608486094861048611486124861348614486154861648617486184861948620486214862248623486244862548626486274862848629486304863148632486334863448635486364863748638486394864048641486424864348644486454864648647486484864948650486514865248653486544865548656486574865848659486604866148662486634866448665486664866748668486694867048671486724867348674486754867648677486784867948680486814868248683486844868548686486874868848689486904869148692486934869448695486964869748698486994870048701487024870348704487054870648707487084870948710487114871248713487144871548716487174871848719487204872148722487234872448725487264872748728487294873048731487324873348734487354873648737487384873948740487414874248743487444874548746487474874848749487504875148752487534875448755487564875748758487594876048761487624876348764487654876648767487684876948770487714877248773487744877548776487774877848779487804878148782487834878448785487864878748788487894879048791487924879348794487954879648797487984879948800488014880248803488044880548806488074880848809488104881148812488134881448815488164881748818488194882048821488224882348824488254882648827488284882948830488314883248833488344883548836488374883848839488404884148842488434884448845488464884748848488494885048851488524885348854488554885648857488584885948860488614886248863488644886548866488674886848869488704887148872488734887448875488764887748878488794888048881488824888348884488854888648887488884888948890488914889248893488944889548896488974889848899489004890148902489034890448905489064890748908489094891048911489124891348914489154891648917489184891948920489214892248923489244892548926489274892848929489304893148932489334893448935489364893748938489394894048941489424894348944489454894648947489484894948950489514895248953489544895548956489574895848959489604896148962489634896448965489664896748968489694897048971489724897348974489754897648977489784897948980489814898248983489844898548986489874898848989489904899148992489934899448995489964899748998489994900049001490024900349004490054900649007490084900949010490114901249013490144901549016490174901849019490204902149022490234902449025490264902749028490294903049031490324903349034490354903649037490384903949040490414904249043490444904549046490474904849049490504905149052490534905449055490564905749058490594906049061490624906349064490654906649067490684906949070490714907249073490744907549076490774907849079490804908149082490834908449085490864908749088490894909049091490924909349094490954909649097490984909949100491014910249103491044910549106491074910849109491104911149112491134911449115491164911749118491194912049121491224912349124491254912649127491284912949130491314913249133491344913549136491374913849139491404914149142491434914449145491464914749148491494915049151491524915349154491554915649157491584915949160491614916249163491644916549166491674916849169491704917149172491734917449175491764917749178491794918049181491824918349184491854918649187491884918949190491914919249193491944919549196491974919849199492004920149202492034920449205492064920749208492094921049211492124921349214492154921649217492184921949220492214922249223492244922549226492274922849229492304923149232492334923449235492364923749238492394924049241492424924349244492454924649247492484924949250492514925249253492544925549256492574925849259492604926149262492634926449265492664926749268492694927049271492724927349274492754927649277492784927949280492814928249283492844928549286492874928849289492904929149292492934929449295492964929749298492994930049301493024930349304493054930649307493084930949310493114931249313493144931549316493174931849319493204932149322493234932449325493264932749328493294933049331493324933349334493354933649337493384933949340493414934249343493444934549346493474934849349493504935149352493534935449355493564935749358493594936049361493624936349364493654936649367493684936949370493714937249373493744937549376493774937849379493804938149382493834938449385493864938749388493894939049391493924939349394493954939649397493984939949400494014940249403494044940549406494074940849409494104941149412494134941449415494164941749418494194942049421494224942349424494254942649427494284942949430494314943249433494344943549436494374943849439494404944149442494434944449445494464944749448494494945049451494524945349454494554945649457494584945949460494614946249463494644946549466494674946849469494704947149472494734947449475494764947749478494794948049481494824948349484494854948649487494884948949490494914949249493494944949549496494974949849499495004950149502495034950449505495064950749508495094951049511495124951349514495154951649517495184951949520495214952249523495244952549526495274952849529495304953149532495334953449535495364953749538495394954049541495424954349544495454954649547495484954949550495514955249553495544955549556495574955849559495604956149562495634956449565495664956749568495694957049571495724957349574495754957649577495784957949580495814958249583495844958549586495874958849589495904959149592495934959449595495964959749598495994960049601496024960349604496054960649607496084960949610496114961249613496144961549616496174961849619496204962149622496234962449625496264962749628496294963049631496324963349634496354963649637496384963949640496414964249643496444964549646496474964849649496504965149652496534965449655496564965749658496594966049661496624966349664496654966649667496684966949670496714967249673496744967549676496774967849679496804968149682496834968449685496864968749688496894969049691496924969349694496954969649697496984969949700497014970249703497044970549706497074970849709497104971149712497134971449715497164971749718497194972049721497224972349724497254972649727497284972949730497314973249733497344973549736497374973849739497404974149742497434974449745497464974749748497494975049751497524975349754497554975649757497584975949760497614976249763497644976549766497674976849769497704977149772497734977449775497764977749778497794978049781497824978349784497854978649787497884978949790497914979249793497944979549796497974979849799498004980149802498034980449805498064980749808498094981049811498124981349814498154981649817498184981949820498214982249823498244982549826498274982849829498304983149832498334983449835498364983749838498394984049841498424984349844498454984649847498484984949850498514985249853498544985549856498574985849859498604986149862498634986449865498664986749868498694987049871498724987349874498754987649877498784987949880498814988249883498844988549886498874988849889498904989149892498934989449895498964989749898498994990049901499024990349904499054990649907499084990949910499114991249913499144991549916499174991849919499204992149922499234992449925499264992749928499294993049931499324993349934499354993649937499384993949940499414994249943499444994549946499474994849949499504995149952499534995449955499564995749958499594996049961499624996349964499654996649967499684996949970499714997249973499744997549976499774997849979499804998149982499834998449985499864998749988499894999049991499924999349994499954999649997499984999950000500015000250003500045000550006500075000850009500105001150012500135001450015500165001750018500195002050021500225002350024500255002650027500285002950030500315003250033500345003550036500375003850039500405004150042500435004450045500465004750048500495005050051500525005350054500555005650057500585005950060500615006250063500645006550066500675006850069500705007150072500735007450075500765007750078500795008050081500825008350084500855008650087500885008950090500915009250093500945009550096500975009850099501005010150102501035010450105501065010750108501095011050111501125011350114501155011650117501185011950120501215012250123501245012550126501275012850129501305013150132501335013450135501365013750138501395014050141501425014350144501455014650147501485014950150501515015250153501545015550156501575015850159501605016150162501635016450165501665016750168501695017050171501725017350174501755017650177501785017950180501815018250183501845018550186501875018850189501905019150192501935019450195501965019750198501995020050201502025020350204502055020650207502085020950210502115021250213502145021550216502175021850219502205022150222502235022450225502265022750228502295023050231502325023350234502355023650237502385023950240502415024250243502445024550246502475024850249502505025150252502535025450255502565025750258502595026050261502625026350264502655026650267502685026950270502715027250273502745027550276502775027850279502805028150282502835028450285502865028750288502895029050291502925029350294502955029650297502985029950300503015030250303503045030550306503075030850309503105031150312503135031450315503165031750318503195032050321503225032350324503255032650327503285032950330503315033250333503345033550336503375033850339503405034150342503435034450345503465034750348503495035050351503525035350354503555035650357503585035950360503615036250363503645036550366503675036850369503705037150372503735037450375503765037750378503795038050381503825038350384503855038650387503885038950390503915039250393503945039550396503975039850399504005040150402504035040450405504065040750408504095041050411504125041350414504155041650417504185041950420504215042250423504245042550426504275042850429504305043150432504335043450435504365043750438504395044050441504425044350444504455044650447504485044950450504515045250453504545045550456504575045850459504605046150462504635046450465504665046750468504695047050471504725047350474504755047650477504785047950480504815048250483504845048550486504875048850489504905049150492504935049450495504965049750498504995050050501505025050350504505055050650507505085050950510505115051250513505145051550516505175051850519505205052150522505235052450525505265052750528505295053050531505325053350534505355053650537505385053950540505415054250543505445054550546505475054850549505505055150552505535055450555505565055750558505595056050561505625056350564505655056650567505685056950570505715057250573505745057550576505775057850579505805058150582505835058450585505865058750588505895059050591505925059350594505955059650597505985059950600506015060250603506045060550606506075060850609506105061150612506135061450615506165061750618506195062050621506225062350624506255062650627506285062950630506315063250633506345063550636506375063850639506405064150642506435064450645506465064750648506495065050651506525065350654506555065650657506585065950660506615066250663506645066550666506675066850669506705067150672506735067450675506765067750678506795068050681506825068350684506855068650687506885068950690506915069250693506945069550696506975069850699507005070150702507035070450705507065070750708507095071050711507125071350714507155071650717507185071950720507215072250723507245072550726507275072850729507305073150732507335073450735507365073750738507395074050741507425074350744507455074650747507485074950750507515075250753507545075550756507575075850759507605076150762507635076450765507665076750768507695077050771507725077350774507755077650777507785077950780507815078250783507845078550786507875078850789507905079150792507935079450795507965079750798507995080050801508025080350804508055080650807508085080950810508115081250813508145081550816508175081850819508205082150822508235082450825508265082750828508295083050831508325083350834508355083650837508385083950840508415084250843508445084550846508475084850849508505085150852508535085450855508565085750858508595086050861508625086350864508655086650867508685086950870508715087250873508745087550876508775087850879508805088150882508835088450885508865088750888508895089050891508925089350894508955089650897508985089950900509015090250903509045090550906509075090850909509105091150912509135091450915509165091750918509195092050921509225092350924509255092650927509285092950930509315093250933509345093550936509375093850939509405094150942509435094450945509465094750948509495095050951509525095350954509555095650957509585095950960509615096250963509645096550966509675096850969509705097150972509735097450975509765097750978509795098050981509825098350984509855098650987509885098950990509915099250993509945099550996509975099850999510005100151002510035100451005510065100751008510095101051011510125101351014510155101651017510185101951020510215102251023510245102551026510275102851029510305103151032510335103451035510365103751038510395104051041510425104351044510455104651047510485104951050510515105251053510545105551056510575105851059510605106151062510635106451065510665106751068510695107051071510725107351074510755107651077510785107951080510815108251083510845108551086510875108851089510905109151092510935109451095510965109751098510995110051101511025110351104511055110651107511085110951110511115111251113511145111551116511175111851119511205112151122511235112451125511265112751128511295113051131511325113351134511355113651137511385113951140511415114251143511445114551146511475114851149511505115151152511535115451155511565115751158511595116051161511625116351164511655116651167511685116951170511715117251173511745117551176511775117851179511805118151182511835118451185511865118751188511895119051191511925119351194511955119651197511985119951200512015120251203512045120551206512075120851209512105121151212512135121451215512165121751218512195122051221512225122351224512255122651227512285122951230512315123251233512345123551236512375123851239512405124151242512435124451245512465124751248512495125051251512525125351254512555125651257512585125951260512615126251263512645126551266512675126851269512705127151272512735127451275512765127751278512795128051281512825128351284512855128651287512885128951290512915129251293512945129551296512975129851299513005130151302513035130451305513065130751308513095131051311513125131351314513155131651317513185131951320513215132251323513245132551326513275132851329513305133151332513335133451335513365133751338513395134051341513425134351344513455134651347513485134951350513515135251353513545135551356513575135851359513605136151362513635136451365513665136751368513695137051371513725137351374513755137651377513785137951380513815138251383513845138551386513875138851389513905139151392513935139451395513965139751398513995140051401514025140351404514055140651407514085140951410514115141251413514145141551416514175141851419514205142151422514235142451425514265142751428514295143051431514325143351434514355143651437514385143951440514415144251443514445144551446514475144851449514505145151452514535145451455514565145751458514595146051461514625146351464514655146651467514685146951470514715147251473514745147551476514775147851479514805148151482514835148451485514865148751488514895149051491514925149351494514955149651497514985149951500515015150251503515045150551506515075150851509515105151151512515135151451515515165151751518515195152051521515225152351524515255152651527515285152951530515315153251533515345153551536515375153851539515405154151542515435154451545515465154751548515495155051551515525155351554515555155651557515585155951560515615156251563515645156551566515675156851569515705157151572515735157451575515765157751578515795158051581515825158351584515855158651587515885158951590515915159251593515945159551596515975159851599516005160151602516035160451605516065160751608516095161051611516125161351614516155161651617516185161951620516215162251623516245162551626516275162851629516305163151632516335163451635516365163751638516395164051641516425164351644516455164651647516485164951650516515165251653516545165551656516575165851659516605166151662516635166451665516665166751668516695167051671516725167351674516755167651677516785167951680516815168251683516845168551686516875168851689516905169151692516935169451695516965169751698516995170051701517025170351704517055170651707517085170951710517115171251713517145171551716517175171851719517205172151722517235172451725517265172751728517295173051731517325173351734517355173651737517385173951740517415174251743517445174551746517475174851749517505175151752517535175451755517565175751758517595176051761517625176351764517655176651767517685176951770517715177251773517745177551776517775177851779517805178151782517835178451785517865178751788517895179051791517925179351794517955179651797517985179951800518015180251803518045180551806518075180851809518105181151812518135181451815518165181751818518195182051821518225182351824518255182651827518285182951830518315183251833518345183551836518375183851839518405184151842518435184451845518465184751848518495185051851518525185351854518555185651857518585185951860518615186251863518645186551866518675186851869518705187151872518735187451875518765187751878518795188051881518825188351884518855188651887518885188951890518915189251893518945189551896518975189851899519005190151902519035190451905519065190751908519095191051911519125191351914519155191651917519185191951920519215192251923519245192551926519275192851929519305193151932519335193451935519365193751938519395194051941519425194351944519455194651947519485194951950519515195251953519545195551956519575195851959519605196151962519635196451965519665196751968519695197051971519725197351974519755197651977519785197951980519815198251983519845198551986519875198851989519905199151992519935199451995519965199751998519995200052001520025200352004520055200652007520085200952010520115201252013520145201552016520175201852019520205202152022520235202452025520265202752028520295203052031520325203352034520355203652037520385203952040520415204252043520445204552046520475204852049520505205152052520535205452055520565205752058520595206052061520625206352064520655206652067520685206952070520715207252073520745207552076520775207852079520805208152082520835208452085520865208752088520895209052091520925209352094520955209652097520985209952100521015210252103521045210552106521075210852109521105211152112521135211452115521165211752118521195212052121521225212352124521255212652127521285212952130521315213252133521345213552136521375213852139521405214152142521435214452145521465214752148521495215052151521525215352154521555215652157521585215952160521615216252163521645216552166521675216852169521705217152172521735217452175521765217752178521795218052181521825218352184521855218652187521885218952190521915219252193521945219552196521975219852199522005220152202522035220452205522065220752208522095221052211522125221352214522155221652217522185221952220522215222252223522245222552226522275222852229522305223152232522335223452235522365223752238522395224052241522425224352244522455224652247522485224952250522515225252253522545225552256522575225852259522605226152262522635226452265522665226752268522695227052271522725227352274522755227652277522785227952280522815228252283522845228552286522875228852289522905229152292522935229452295522965229752298522995230052301523025230352304523055230652307523085230952310523115231252313523145231552316523175231852319523205232152322523235232452325523265232752328523295233052331523325233352334523355233652337523385233952340523415234252343523445234552346523475234852349523505235152352523535235452355523565235752358523595236052361523625236352364523655236652367523685236952370523715237252373523745237552376523775237852379523805238152382523835238452385523865238752388523895239052391523925239352394523955239652397523985239952400524015240252403524045240552406524075240852409524105241152412524135241452415524165241752418524195242052421524225242352424524255242652427524285242952430524315243252433524345243552436524375243852439524405244152442524435244452445524465244752448524495245052451524525245352454524555245652457524585245952460524615246252463524645246552466524675246852469524705247152472524735247452475524765247752478524795248052481524825248352484524855248652487524885248952490524915249252493524945249552496524975249852499525005250152502525035250452505525065250752508525095251052511525125251352514525155251652517525185251952520525215252252523525245252552526525275252852529525305253152532525335253452535525365253752538525395254052541525425254352544525455254652547525485254952550525515255252553525545255552556525575255852559525605256152562525635256452565525665256752568525695257052571525725257352574525755257652577525785257952580525815258252583525845258552586525875258852589525905259152592525935259452595525965259752598525995260052601526025260352604526055260652607526085260952610526115261252613526145261552616526175261852619526205262152622526235262452625526265262752628526295263052631526325263352634526355263652637526385263952640526415264252643526445264552646526475264852649526505265152652526535265452655526565265752658526595266052661526625266352664526655266652667526685266952670526715267252673526745267552676526775267852679526805268152682526835268452685526865268752688526895269052691526925269352694526955269652697526985269952700527015270252703527045270552706527075270852709527105271152712527135271452715527165271752718527195272052721527225272352724527255272652727527285272952730527315273252733527345273552736527375273852739527405274152742527435274452745527465274752748527495275052751527525275352754527555275652757527585275952760527615276252763527645276552766527675276852769527705277152772527735277452775527765277752778527795278052781527825278352784527855278652787527885278952790527915279252793527945279552796527975279852799528005280152802528035280452805528065280752808528095281052811528125281352814528155281652817528185281952820528215282252823528245282552826528275282852829528305283152832528335283452835528365283752838528395284052841528425284352844528455284652847528485284952850528515285252853528545285552856528575285852859528605286152862528635286452865528665286752868528695287052871528725287352874528755287652877528785287952880528815288252883528845288552886528875288852889528905289152892528935289452895528965289752898528995290052901529025290352904529055290652907529085290952910529115291252913529145291552916529175291852919529205292152922529235292452925529265292752928529295293052931529325293352934529355293652937529385293952940529415294252943529445294552946529475294852949529505295152952529535295452955529565295752958529595296052961529625296352964529655296652967529685296952970529715297252973529745297552976529775297852979529805298152982529835298452985529865298752988529895299052991529925299352994529955299652997529985299953000530015300253003530045300553006530075300853009530105301153012530135301453015530165301753018530195302053021530225302353024530255302653027530285302953030530315303253033530345303553036530375303853039530405304153042530435304453045530465304753048530495305053051530525305353054530555305653057530585305953060530615306253063530645306553066530675306853069530705307153072530735307453075530765307753078530795308053081530825308353084530855308653087530885308953090530915309253093530945309553096530975309853099531005310153102531035310453105531065310753108531095311053111531125311353114531155311653117531185311953120531215312253123531245312553126531275312853129531305313153132531335313453135531365313753138531395314053141531425314353144531455314653147531485314953150531515315253153531545315553156531575315853159531605316153162531635316453165531665316753168531695317053171531725317353174531755317653177531785317953180531815318253183531845318553186531875318853189531905319153192531935319453195531965319753198531995320053201532025320353204532055320653207532085320953210532115321253213532145321553216532175321853219532205322153222532235322453225532265322753228532295323053231532325323353234532355323653237532385323953240532415324253243532445324553246532475324853249532505325153252532535325453255532565325753258532595326053261532625326353264532655326653267532685326953270532715327253273532745327553276532775327853279532805328153282532835328453285532865328753288532895329053291532925329353294532955329653297532985329953300533015330253303533045330553306533075330853309533105331153312533135331453315533165331753318533195332053321533225332353324533255332653327533285332953330533315333253333533345333553336533375333853339533405334153342533435334453345533465334753348533495335053351533525335353354533555335653357533585335953360533615336253363533645336553366533675336853369533705337153372533735337453375533765337753378533795338053381533825338353384533855338653387533885338953390533915339253393533945339553396533975339853399534005340153402534035340453405534065340753408534095341053411534125341353414534155341653417534185341953420534215342253423534245342553426534275342853429534305343153432534335343453435534365343753438534395344053441534425344353444534455344653447534485344953450534515345253453534545345553456534575345853459534605346153462534635346453465534665346753468534695347053471534725347353474534755347653477534785347953480534815348253483534845348553486534875348853489534905349153492534935349453495534965349753498534995350053501535025350353504535055350653507535085350953510535115351253513535145351553516535175351853519535205352153522535235352453525535265352753528535295353053531535325353353534535355353653537535385353953540535415354253543535445354553546535475354853549535505355153552535535355453555535565355753558535595356053561535625356353564535655356653567535685356953570535715357253573535745357553576535775357853579535805358153582535835358453585535865358753588535895359053591535925359353594535955359653597535985359953600536015360253603536045360553606536075360853609536105361153612536135361453615536165361753618536195362053621536225362353624536255362653627536285362953630536315363253633536345363553636536375363853639536405364153642536435364453645536465364753648536495365053651536525365353654536555365653657536585365953660536615366253663536645366553666536675366853669536705367153672536735367453675536765367753678536795368053681536825368353684536855368653687536885368953690536915369253693536945369553696536975369853699537005370153702537035370453705537065370753708537095371053711537125371353714537155371653717537185371953720537215372253723537245372553726537275372853729537305373153732537335373453735537365373753738537395374053741537425374353744537455374653747537485374953750537515375253753537545375553756537575375853759537605376153762537635376453765537665376753768537695377053771537725377353774537755377653777537785377953780537815378253783537845378553786537875378853789537905379153792537935379453795537965379753798537995380053801538025380353804538055380653807538085380953810538115381253813538145381553816538175381853819538205382153822538235382453825538265382753828538295383053831538325383353834538355383653837538385383953840538415384253843538445384553846538475384853849538505385153852538535385453855538565385753858538595386053861538625386353864538655386653867538685386953870538715387253873538745387553876538775387853879538805388153882538835388453885538865388753888538895389053891538925389353894538955389653897538985389953900539015390253903539045390553906539075390853909539105391153912539135391453915539165391753918539195392053921539225392353924539255392653927539285392953930539315393253933539345393553936539375393853939539405394153942539435394453945539465394753948539495395053951539525395353954539555395653957539585395953960539615396253963539645396553966539675396853969539705397153972539735397453975539765397753978539795398053981539825398353984539855398653987539885398953990539915399253993539945399553996539975399853999540005400154002540035400454005540065400754008540095401054011540125401354014540155401654017540185401954020540215402254023540245402554026540275402854029540305403154032540335403454035540365403754038540395404054041540425404354044540455404654047540485404954050540515405254053540545405554056540575405854059540605406154062540635406454065540665406754068540695407054071540725407354074540755407654077540785407954080540815408254083540845408554086540875408854089540905409154092540935409454095540965409754098540995410054101541025410354104541055410654107541085410954110541115411254113541145411554116541175411854119541205412154122541235412454125541265412754128541295413054131541325413354134541355413654137541385413954140541415414254143541445414554146541475414854149541505415154152541535415454155541565415754158541595416054161541625416354164541655416654167541685416954170541715417254173541745417554176541775417854179541805418154182541835418454185541865418754188541895419054191541925419354194541955419654197541985419954200542015420254203542045420554206542075420854209542105421154212542135421454215542165421754218542195422054221542225422354224542255422654227542285422954230542315423254233542345423554236542375423854239542405424154242542435424454245542465424754248542495425054251542525425354254542555425654257542585425954260542615426254263542645426554266542675426854269542705427154272542735427454275542765427754278542795428054281542825428354284542855428654287542885428954290542915429254293542945429554296542975429854299543005430154302543035430454305543065430754308543095431054311543125431354314543155431654317543185431954320543215432254323543245432554326543275432854329543305433154332543335433454335543365433754338543395434054341543425434354344543455434654347543485434954350543515435254353543545435554356543575435854359543605436154362543635436454365543665436754368543695437054371543725437354374543755437654377543785437954380543815438254383543845438554386543875438854389543905439154392543935439454395543965439754398543995440054401544025440354404544055440654407544085440954410544115441254413544145441554416544175441854419544205442154422544235442454425544265442754428544295443054431544325443354434544355443654437544385443954440544415444254443544445444554446544475444854449544505445154452544535445454455544565445754458544595446054461544625446354464544655446654467544685446954470544715447254473544745447554476544775447854479544805448154482544835448454485544865448754488544895449054491544925449354494544955449654497544985449954500545015450254503545045450554506545075450854509545105451154512545135451454515545165451754518545195452054521545225452354524545255452654527545285452954530545315453254533545345453554536545375453854539545405454154542545435454454545545465454754548545495455054551545525455354554545555455654557545585455954560545615456254563545645456554566545675456854569545705457154572545735457454575545765457754578545795458054581545825458354584545855458654587545885458954590545915459254593545945459554596545975459854599546005460154602546035460454605546065460754608546095461054611546125461354614546155461654617546185461954620546215462254623546245462554626546275462854629546305463154632546335463454635546365463754638546395464054641546425464354644546455464654647546485464954650546515465254653546545465554656546575465854659546605466154662546635466454665546665466754668546695467054671546725467354674546755467654677546785467954680546815468254683546845468554686546875468854689546905469154692546935469454695546965469754698546995470054701547025470354704547055470654707547085470954710547115471254713547145471554716547175471854719547205472154722547235472454725547265472754728547295473054731547325473354734547355473654737547385473954740547415474254743547445474554746547475474854749547505475154752547535475454755547565475754758547595476054761547625476354764547655476654767547685476954770547715477254773547745477554776547775477854779547805478154782547835478454785547865478754788547895479054791547925479354794547955479654797547985479954800548015480254803548045480554806548075480854809548105481154812548135481454815548165481754818548195482054821548225482354824548255482654827548285482954830548315483254833548345483554836548375483854839548405484154842548435484454845548465484754848548495485054851548525485354854548555485654857548585485954860548615486254863548645486554866548675486854869548705487154872548735487454875548765487754878548795488054881548825488354884548855488654887548885488954890548915489254893548945489554896548975489854899549005490154902549035490454905549065490754908549095491054911549125491354914549155491654917549185491954920549215492254923549245492554926549275492854929549305493154932549335493454935549365493754938549395494054941549425494354944549455494654947549485494954950549515495254953549545495554956549575495854959549605496154962549635496454965549665496754968549695497054971549725497354974549755497654977549785497954980549815498254983549845498554986549875498854989549905499154992549935499454995549965499754998549995500055001550025500355004550055500655007550085500955010550115501255013550145501555016550175501855019550205502155022550235502455025550265502755028550295503055031550325503355034550355503655037550385503955040550415504255043550445504555046550475504855049550505505155052550535505455055550565505755058550595506055061550625506355064550655506655067550685506955070550715507255073550745507555076550775507855079550805508155082550835508455085550865508755088550895509055091550925509355094550955509655097550985509955100551015510255103551045510555106551075510855109551105511155112551135511455115551165511755118551195512055121551225512355124551255512655127551285512955130551315513255133551345513555136551375513855139551405514155142551435514455145551465514755148551495515055151551525515355154551555515655157551585515955160551615516255163551645516555166551675516855169551705517155172551735517455175551765517755178551795518055181551825518355184551855518655187551885518955190551915519255193551945519555196551975519855199552005520155202552035520455205552065520755208552095521055211552125521355214552155521655217552185521955220552215522255223552245522555226552275522855229552305523155232552335523455235552365523755238552395524055241552425524355244552455524655247552485524955250552515525255253552545525555256552575525855259552605526155262552635526455265552665526755268552695527055271552725527355274552755527655277552785527955280552815528255283552845528555286552875528855289552905529155292552935529455295552965529755298552995530055301553025530355304553055530655307553085530955310553115531255313553145531555316553175531855319553205532155322553235532455325553265532755328553295533055331553325533355334553355533655337553385533955340553415534255343553445534555346553475534855349553505535155352553535535455355553565535755358553595536055361553625536355364553655536655367553685536955370553715537255373553745537555376553775537855379553805538155382553835538455385553865538755388553895539055391553925539355394553955539655397553985539955400554015540255403554045540555406554075540855409554105541155412554135541455415554165541755418554195542055421554225542355424554255542655427554285542955430554315543255433554345543555436554375543855439554405544155442554435544455445554465544755448554495545055451554525545355454554555545655457554585545955460554615546255463554645546555466554675546855469554705547155472554735547455475554765547755478554795548055481554825548355484554855548655487554885548955490554915549255493554945549555496554975549855499555005550155502555035550455505555065550755508555095551055511555125551355514555155551655517555185551955520555215552255523555245552555526555275552855529555305553155532555335553455535555365553755538555395554055541555425554355544555455554655547555485554955550555515555255553555545555555556555575555855559555605556155562555635556455565555665556755568555695557055571555725557355574555755557655577555785557955580555815558255583555845558555586555875558855589555905559155592555935559455595555965559755598555995560055601556025560355604556055560655607556085560955610556115561255613556145561555616556175561855619556205562155622556235562455625556265562755628556295563055631556325563355634556355563655637556385563955640556415564255643556445564555646556475564855649556505565155652556535565455655556565565755658556595566055661556625566355664556655566655667556685566955670556715567255673556745567555676556775567855679556805568155682556835568455685556865568755688556895569055691556925569355694556955569655697556985569955700557015570255703557045570555706557075570855709557105571155712557135571455715557165571755718557195572055721557225572355724557255572655727557285572955730557315573255733557345573555736557375573855739557405574155742557435574455745557465574755748557495575055751557525575355754557555575655757557585575955760557615576255763557645576555766557675576855769557705577155772557735577455775557765577755778557795578055781557825578355784557855578655787557885578955790557915579255793557945579555796557975579855799558005580155802558035580455805558065580755808558095581055811558125581355814558155581655817558185581955820558215582255823558245582555826558275582855829558305583155832558335583455835558365583755838558395584055841558425584355844558455584655847558485584955850558515585255853558545585555856558575585855859558605586155862558635586455865558665586755868558695587055871558725587355874558755587655877558785587955880558815588255883558845588555886558875588855889558905589155892558935589455895558965589755898558995590055901559025590355904559055590655907559085590955910559115591255913559145591555916559175591855919559205592155922559235592455925559265592755928559295593055931559325593355934559355593655937559385593955940559415594255943559445594555946559475594855949559505595155952559535595455955559565595755958559595596055961559625596355964559655596655967559685596955970559715597255973559745597555976559775597855979559805598155982559835598455985559865598755988559895599055991559925599355994559955599655997559985599956000560015600256003560045600556006560075600856009560105601156012560135601456015560165601756018560195602056021560225602356024560255602656027560285602956030560315603256033560345603556036560375603856039560405604156042560435604456045560465604756048560495605056051560525605356054560555605656057560585605956060560615606256063560645606556066560675606856069560705607156072560735607456075560765607756078560795608056081560825608356084560855608656087560885608956090560915609256093560945609556096560975609856099561005610156102561035610456105561065610756108561095611056111561125611356114561155611656117561185611956120561215612256123561245612556126561275612856129561305613156132561335613456135561365613756138561395614056141561425614356144561455614656147561485614956150561515615256153561545615556156561575615856159561605616156162561635616456165561665616756168561695617056171561725617356174561755617656177561785617956180561815618256183561845618556186561875618856189561905619156192561935619456195561965619756198561995620056201562025620356204562055620656207562085620956210562115621256213562145621556216562175621856219562205622156222562235622456225562265622756228562295623056231562325623356234562355623656237562385623956240562415624256243562445624556246562475624856249562505625156252562535625456255562565625756258562595626056261562625626356264562655626656267562685626956270562715627256273562745627556276562775627856279562805628156282562835628456285562865628756288562895629056291562925629356294562955629656297562985629956300563015630256303563045630556306563075630856309563105631156312563135631456315563165631756318563195632056321563225632356324563255632656327563285632956330563315633256333563345633556336563375633856339563405634156342563435634456345563465634756348563495635056351563525635356354563555635656357563585635956360563615636256363563645636556366563675636856369563705637156372563735637456375563765637756378563795638056381563825638356384563855638656387563885638956390563915639256393563945639556396563975639856399564005640156402564035640456405564065640756408564095641056411564125641356414564155641656417564185641956420564215642256423564245642556426564275642856429564305643156432564335643456435564365643756438564395644056441564425644356444564455644656447564485644956450564515645256453564545645556456564575645856459564605646156462564635646456465564665646756468564695647056471564725647356474564755647656477564785647956480564815648256483564845648556486564875648856489564905649156492564935649456495564965649756498564995650056501565025650356504565055650656507565085650956510565115651256513565145651556516565175651856519565205652156522565235652456525565265652756528565295653056531565325653356534565355653656537565385653956540565415654256543565445654556546565475654856549565505655156552565535655456555565565655756558565595656056561565625656356564565655656656567565685656956570565715657256573565745657556576565775657856579565805658156582565835658456585565865658756588565895659056591565925659356594565955659656597565985659956600566015660256603566045660556606566075660856609566105661156612566135661456615566165661756618566195662056621566225662356624566255662656627566285662956630566315663256633566345663556636566375663856639566405664156642566435664456645566465664756648566495665056651566525665356654566555665656657566585665956660566615666256663566645666556666566675666856669566705667156672566735667456675566765667756678566795668056681566825668356684566855668656687566885668956690566915669256693566945669556696566975669856699567005670156702567035670456705567065670756708567095671056711567125671356714567155671656717567185671956720567215672256723567245672556726567275672856729567305673156732567335673456735567365673756738567395674056741567425674356744567455674656747567485674956750567515675256753567545675556756567575675856759567605676156762567635676456765567665676756768567695677056771567725677356774567755677656777567785677956780567815678256783567845678556786567875678856789567905679156792567935679456795567965679756798567995680056801568025680356804568055680656807568085680956810568115681256813568145681556816568175681856819568205682156822568235682456825568265682756828568295683056831568325683356834568355683656837568385683956840568415684256843568445684556846568475684856849568505685156852568535685456855568565685756858568595686056861568625686356864568655686656867568685686956870568715687256873568745687556876568775687856879568805688156882568835688456885568865688756888568895689056891568925689356894568955689656897568985689956900569015690256903569045690556906569075690856909569105691156912569135691456915569165691756918569195692056921569225692356924569255692656927569285692956930569315693256933569345693556936569375693856939569405694156942569435694456945569465694756948569495695056951569525695356954569555695656957569585695956960569615696256963569645696556966569675696856969569705697156972569735697456975569765697756978569795698056981569825698356984569855698656987569885698956990569915699256993569945699556996569975699856999570005700157002570035700457005570065700757008570095701057011570125701357014570155701657017570185701957020570215702257023570245702557026570275702857029570305703157032570335703457035570365703757038570395704057041570425704357044570455704657047570485704957050570515705257053570545705557056570575705857059570605706157062570635706457065570665706757068570695707057071570725707357074570755707657077570785707957080570815708257083570845708557086570875708857089570905709157092570935709457095570965709757098570995710057101571025710357104571055710657107571085710957110571115711257113571145711557116571175711857119571205712157122571235712457125571265712757128571295713057131571325713357134571355713657137571385713957140571415714257143571445714557146571475714857149571505715157152571535715457155571565715757158571595716057161571625716357164571655716657167571685716957170571715717257173571745717557176571775717857179571805718157182571835718457185571865718757188571895719057191571925719357194571955719657197571985719957200572015720257203572045720557206572075720857209572105721157212572135721457215572165721757218572195722057221572225722357224572255722657227572285722957230572315723257233572345723557236572375723857239572405724157242572435724457245572465724757248572495725057251572525725357254572555725657257572585725957260572615726257263572645726557266572675726857269572705727157272572735727457275572765727757278572795728057281572825728357284572855728657287572885728957290572915729257293572945729557296572975729857299573005730157302573035730457305573065730757308573095731057311573125731357314573155731657317573185731957320573215732257323573245732557326573275732857329573305733157332573335733457335573365733757338573395734057341573425734357344573455734657347573485734957350573515735257353573545735557356573575735857359573605736157362573635736457365573665736757368573695737057371573725737357374573755737657377573785737957380573815738257383573845738557386573875738857389573905739157392573935739457395573965739757398573995740057401574025740357404574055740657407574085740957410574115741257413574145741557416574175741857419574205742157422574235742457425574265742757428574295743057431574325743357434574355743657437574385743957440574415744257443574445744557446574475744857449574505745157452574535745457455574565745757458574595746057461574625746357464574655746657467574685746957470574715747257473574745747557476574775747857479574805748157482574835748457485574865748757488574895749057491574925749357494574955749657497574985749957500575015750257503575045750557506575075750857509575105751157512575135751457515575165751757518575195752057521575225752357524575255752657527575285752957530575315753257533575345753557536575375753857539575405754157542575435754457545575465754757548575495755057551575525755357554575555755657557575585755957560575615756257563575645756557566575675756857569575705757157572575735757457575575765757757578575795758057581575825758357584575855758657587575885758957590575915759257593575945759557596575975759857599576005760157602576035760457605576065760757608576095761057611576125761357614576155761657617576185761957620576215762257623576245762557626576275762857629576305763157632576335763457635576365763757638576395764057641576425764357644576455764657647576485764957650576515765257653576545765557656576575765857659576605766157662576635766457665576665766757668576695767057671576725767357674576755767657677576785767957680576815768257683576845768557686576875768857689576905769157692576935769457695576965769757698576995770057701577025770357704577055770657707577085770957710577115771257713577145771557716577175771857719577205772157722577235772457725577265772757728577295773057731577325773357734577355773657737577385773957740577415774257743577445774557746577475774857749577505775157752577535775457755577565775757758577595776057761577625776357764577655776657767577685776957770577715777257773577745777557776577775777857779577805778157782577835778457785577865778757788577895779057791577925779357794577955779657797577985779957800578015780257803578045780557806578075780857809578105781157812578135781457815578165781757818578195782057821578225782357824578255782657827578285782957830578315783257833578345783557836578375783857839578405784157842578435784457845578465784757848578495785057851578525785357854578555785657857578585785957860578615786257863578645786557866578675786857869578705787157872578735787457875578765787757878578795788057881578825788357884578855788657887578885788957890578915789257893578945789557896578975789857899579005790157902579035790457905579065790757908579095791057911579125791357914579155791657917579185791957920579215792257923579245792557926579275792857929579305793157932579335793457935579365793757938579395794057941579425794357944579455794657947579485794957950579515795257953579545795557956579575795857959579605796157962579635796457965579665796757968579695797057971579725797357974579755797657977579785797957980579815798257983579845798557986579875798857989579905799157992579935799457995579965799757998579995800058001580025800358004580055800658007580085800958010580115801258013580145801558016580175801858019580205802158022580235802458025580265802758028580295803058031580325803358034580355803658037580385803958040580415804258043580445804558046580475804858049580505805158052580535805458055580565805758058580595806058061580625806358064580655806658067580685806958070580715807258073580745807558076580775807858079580805808158082580835808458085580865808758088580895809058091580925809358094580955809658097580985809958100581015810258103581045810558106581075810858109581105811158112581135811458115581165811758118581195812058121581225812358124581255812658127581285812958130581315813258133581345813558136581375813858139581405814158142581435814458145581465814758148581495815058151581525815358154581555815658157581585815958160581615816258163581645816558166581675816858169581705817158172581735817458175581765817758178581795818058181581825818358184581855818658187581885818958190581915819258193581945819558196581975819858199582005820158202582035820458205582065820758208582095821058211582125821358214582155821658217582185821958220582215822258223582245822558226582275822858229582305823158232582335823458235582365823758238582395824058241582425824358244582455824658247582485824958250582515825258253582545825558256582575825858259582605826158262582635826458265582665826758268582695827058271582725827358274582755827658277582785827958280582815828258283582845828558286582875828858289582905829158292582935829458295582965829758298582995830058301583025830358304583055830658307583085830958310583115831258313583145831558316583175831858319583205832158322583235832458325583265832758328583295833058331583325833358334583355833658337583385833958340583415834258343583445834558346583475834858349583505835158352583535835458355583565835758358583595836058361583625836358364583655836658367583685836958370583715837258373583745837558376583775837858379583805838158382583835838458385583865838758388583895839058391583925839358394583955839658397583985839958400584015840258403584045840558406584075840858409584105841158412584135841458415584165841758418584195842058421584225842358424584255842658427584285842958430584315843258433584345843558436584375843858439584405844158442584435844458445584465844758448584495845058451584525845358454584555845658457584585845958460584615846258463584645846558466584675846858469584705847158472584735847458475584765847758478584795848058481584825848358484584855848658487584885848958490584915849258493584945849558496584975849858499585005850158502585035850458505585065850758508585095851058511585125851358514585155851658517585185851958520585215852258523585245852558526585275852858529585305853158532585335853458535585365853758538585395854058541585425854358544585455854658547585485854958550585515855258553585545855558556585575855858559585605856158562585635856458565585665856758568585695857058571585725857358574585755857658577585785857958580585815858258583585845858558586585875858858589585905859158592585935859458595585965859758598585995860058601586025860358604586055860658607586085860958610586115861258613586145861558616586175861858619586205862158622586235862458625586265862758628586295863058631586325863358634586355863658637586385863958640586415864258643586445864558646586475864858649586505865158652586535865458655586565865758658586595866058661586625866358664586655866658667586685866958670586715867258673586745867558676586775867858679586805868158682586835868458685586865868758688586895869058691586925869358694586955869658697586985869958700587015870258703587045870558706587075870858709587105871158712587135871458715587165871758718587195872058721587225872358724587255872658727587285872958730587315873258733587345873558736587375873858739587405874158742587435874458745587465874758748587495875058751587525875358754587555875658757587585875958760587615876258763587645876558766587675876858769587705877158772587735877458775587765877758778587795878058781587825878358784587855878658787587885878958790587915879258793587945879558796587975879858799588005880158802588035880458805588065880758808588095881058811588125881358814588155881658817588185881958820588215882258823588245882558826588275882858829588305883158832588335883458835588365883758838588395884058841588425884358844588455884658847588485884958850588515885258853588545885558856588575885858859588605886158862588635886458865588665886758868588695887058871588725887358874588755887658877588785887958880588815888258883588845888558886588875888858889588905889158892588935889458895588965889758898588995890058901589025890358904589055890658907589085890958910589115891258913589145891558916589175891858919589205892158922589235892458925589265892758928589295893058931589325893358934589355893658937589385893958940589415894258943589445894558946589475894858949589505895158952589535895458955589565895758958589595896058961589625896358964589655896658967589685896958970589715897258973589745897558976589775897858979589805898158982589835898458985589865898758988589895899058991589925899358994589955899658997589985899959000590015900259003590045900559006590075900859009590105901159012590135901459015590165901759018590195902059021590225902359024590255902659027590285902959030590315903259033590345903559036590375903859039590405904159042590435904459045590465904759048590495905059051590525905359054590555905659057590585905959060590615906259063590645906559066590675906859069590705907159072590735907459075590765907759078590795908059081590825908359084590855908659087590885908959090590915909259093590945909559096590975909859099591005910159102591035910459105591065910759108591095911059111591125911359114591155911659117591185911959120591215912259123591245912559126591275912859129591305913159132591335913459135591365913759138591395914059141591425914359144591455914659147591485914959150591515915259153591545915559156591575915859159591605916159162591635916459165591665916759168591695917059171591725917359174591755917659177591785917959180591815918259183591845918559186591875918859189591905919159192591935919459195591965919759198591995920059201592025920359204592055920659207592085920959210592115921259213592145921559216592175921859219592205922159222592235922459225592265922759228592295923059231592325923359234592355923659237592385923959240592415924259243592445924559246592475924859249592505925159252592535925459255592565925759258592595926059261592625926359264592655926659267592685926959270592715927259273592745927559276592775927859279592805928159282592835928459285592865928759288592895929059291592925929359294592955929659297592985929959300593015930259303593045930559306593075930859309593105931159312593135931459315593165931759318593195932059321593225932359324593255932659327593285932959330593315933259333593345933559336593375933859339593405934159342593435934459345593465934759348593495935059351593525935359354593555935659357593585935959360593615936259363593645936559366593675936859369593705937159372593735937459375593765937759378593795938059381593825938359384593855938659387593885938959390593915939259393593945939559396593975939859399594005940159402594035940459405594065940759408594095941059411594125941359414594155941659417594185941959420594215942259423594245942559426594275942859429594305943159432594335943459435594365943759438594395944059441594425944359444594455944659447594485944959450594515945259453594545945559456594575945859459594605946159462594635946459465594665946759468594695947059471594725947359474594755947659477594785947959480594815948259483594845948559486594875948859489594905949159492594935949459495594965949759498594995950059501595025950359504595055950659507595085950959510595115951259513595145951559516595175951859519595205952159522595235952459525595265952759528595295953059531595325953359534595355953659537595385953959540595415954259543595445954559546595475954859549595505955159552595535955459555595565955759558595595956059561595625956359564595655956659567595685956959570595715957259573595745957559576595775957859579595805958159582595835958459585595865958759588595895959059591595925959359594595955959659597595985959959600596015960259603596045960559606596075960859609596105961159612596135961459615596165961759618596195962059621596225962359624596255962659627596285962959630596315963259633596345963559636596375963859639596405964159642596435964459645596465964759648596495965059651596525965359654596555965659657596585965959660596615966259663596645966559666596675966859669596705967159672596735967459675596765967759678596795968059681596825968359684596855968659687596885968959690596915969259693596945969559696596975969859699597005970159702597035970459705597065970759708597095971059711597125971359714597155971659717597185971959720597215972259723597245972559726597275972859729597305973159732597335973459735597365973759738597395974059741597425974359744597455974659747597485974959750597515975259753597545975559756597575975859759597605976159762597635976459765597665976759768597695977059771597725977359774597755977659777597785977959780597815978259783597845978559786597875978859789597905979159792597935979459795597965979759798597995980059801598025980359804598055980659807598085980959810598115981259813598145981559816598175981859819598205982159822598235982459825598265982759828598295983059831598325983359834598355983659837598385983959840598415984259843598445984559846598475984859849598505985159852598535985459855598565985759858598595986059861598625986359864598655986659867598685986959870598715987259873598745987559876598775987859879598805988159882598835988459885598865988759888598895989059891598925989359894598955989659897598985989959900599015990259903599045990559906599075990859909599105991159912599135991459915599165991759918599195992059921599225992359924599255992659927599285992959930599315993259933599345993559936599375993859939599405994159942599435994459945599465994759948599495995059951599525995359954599555995659957599585995959960599615996259963599645996559966599675996859969599705997159972599735997459975599765997759978599795998059981599825998359984599855998659987599885998959990599915999259993599945999559996599975999859999600006000160002600036000460005600066000760008600096001060011600126001360014600156001660017600186001960020600216002260023600246002560026600276002860029600306003160032600336003460035600366003760038600396004060041600426004360044600456004660047600486004960050600516005260053600546005560056600576005860059600606006160062600636006460065600666006760068600696007060071600726007360074600756007660077600786007960080600816008260083600846008560086600876008860089600906009160092600936009460095600966009760098600996010060101601026010360104601056010660107601086010960110601116011260113601146011560116601176011860119601206012160122601236012460125601266012760128601296013060131601326013360134601356013660137601386013960140601416014260143601446014560146601476014860149601506015160152601536015460155601566015760158601596016060161601626016360164601656016660167601686016960170601716017260173601746017560176601776017860179601806018160182601836018460185601866018760188601896019060191601926019360194601956019660197601986019960200602016020260203602046020560206602076020860209602106021160212602136021460215602166021760218602196022060221602226022360224602256022660227602286022960230602316023260233602346023560236602376023860239602406024160242602436024460245602466024760248602496025060251602526025360254602556025660257602586025960260602616026260263602646026560266602676026860269602706027160272602736027460275602766027760278602796028060281602826028360284602856028660287602886028960290602916029260293602946029560296602976029860299603006030160302603036030460305603066030760308603096031060311603126031360314603156031660317603186031960320603216032260323603246032560326603276032860329603306033160332603336033460335603366033760338603396034060341603426034360344603456034660347603486034960350603516035260353603546035560356603576035860359603606036160362603636036460365603666036760368603696037060371603726037360374603756037660377603786037960380603816038260383603846038560386603876038860389603906039160392603936039460395603966039760398603996040060401604026040360404604056040660407604086040960410604116041260413604146041560416604176041860419604206042160422604236042460425604266042760428604296043060431604326043360434604356043660437604386043960440604416044260443604446044560446604476044860449604506045160452604536045460455604566045760458604596046060461604626046360464604656046660467604686046960470604716047260473604746047560476604776047860479604806048160482604836048460485604866048760488604896049060491604926049360494604956049660497604986049960500605016050260503605046050560506605076050860509605106051160512605136051460515605166051760518605196052060521605226052360524605256052660527605286052960530605316053260533605346053560536605376053860539605406054160542605436054460545605466054760548605496055060551605526055360554605556055660557605586055960560605616056260563605646056560566605676056860569605706057160572605736057460575605766057760578605796058060581605826058360584605856058660587605886058960590605916059260593605946059560596605976059860599606006060160602606036060460605606066060760608606096061060611606126061360614606156061660617606186061960620606216062260623606246062560626606276062860629606306063160632606336063460635606366063760638606396064060641606426064360644606456064660647606486064960650606516065260653606546065560656606576065860659606606066160662606636066460665606666066760668606696067060671606726067360674606756067660677606786067960680606816068260683606846068560686606876068860689606906069160692606936069460695606966069760698606996070060701607026070360704607056070660707607086070960710607116071260713607146071560716607176071860719607206072160722607236072460725607266072760728607296073060731607326073360734607356073660737607386073960740607416074260743607446074560746607476074860749607506075160752607536075460755607566075760758607596076060761607626076360764607656076660767607686076960770607716077260773607746077560776607776077860779607806078160782607836078460785607866078760788607896079060791607926079360794607956079660797607986079960800608016080260803608046080560806608076080860809608106081160812608136081460815608166081760818608196082060821608226082360824608256082660827608286082960830608316083260833608346083560836608376083860839608406084160842608436084460845608466084760848608496085060851608526085360854608556085660857608586085960860608616086260863608646086560866608676086860869608706087160872608736087460875608766087760878608796088060881608826088360884608856088660887608886088960890608916089260893608946089560896608976089860899609006090160902609036090460905609066090760908609096091060911609126091360914609156091660917609186091960920609216092260923609246092560926609276092860929609306093160932609336093460935609366093760938609396094060941609426094360944609456094660947609486094960950609516095260953609546095560956609576095860959609606096160962609636096460965609666096760968609696097060971609726097360974609756097660977609786097960980609816098260983609846098560986609876098860989609906099160992609936099460995609966099760998609996100061001610026100361004610056100661007610086100961010610116101261013610146101561016610176101861019610206102161022610236102461025610266102761028610296103061031610326103361034610356103661037610386103961040610416104261043610446104561046610476104861049610506105161052610536105461055610566105761058610596106061061610626106361064610656106661067610686106961070610716107261073610746107561076610776107861079610806108161082610836108461085610866108761088610896109061091610926109361094610956109661097610986109961100611016110261103611046110561106611076110861109611106111161112611136111461115611166111761118611196112061121611226112361124611256112661127611286112961130611316113261133611346113561136611376113861139611406114161142611436114461145611466114761148611496115061151611526115361154611556115661157611586115961160611616116261163611646116561166611676116861169611706117161172611736117461175611766117761178611796118061181611826118361184611856118661187611886118961190611916119261193611946119561196611976119861199612006120161202612036120461205612066120761208612096121061211612126121361214612156121661217612186121961220612216122261223612246122561226612276122861229612306123161232612336123461235612366123761238612396124061241612426124361244612456124661247612486124961250612516125261253612546125561256612576125861259612606126161262612636126461265612666126761268612696127061271612726127361274612756127661277612786127961280612816128261283612846128561286612876128861289612906129161292612936129461295612966129761298612996130061301613026130361304613056130661307613086130961310613116131261313613146131561316613176131861319613206132161322613236132461325613266132761328613296133061331613326133361334613356133661337613386133961340613416134261343613446134561346613476134861349613506135161352613536135461355613566135761358613596136061361613626136361364613656136661367613686136961370613716137261373613746137561376613776137861379613806138161382613836138461385613866138761388613896139061391613926139361394613956139661397613986139961400614016140261403614046140561406614076140861409614106141161412614136141461415614166141761418614196142061421614226142361424614256142661427614286142961430614316143261433614346143561436614376143861439614406144161442614436144461445614466144761448614496145061451614526145361454614556145661457614586145961460614616146261463614646146561466614676146861469614706147161472614736147461475614766147761478614796148061481614826148361484614856148661487614886148961490614916149261493614946149561496614976149861499615006150161502615036150461505615066150761508615096151061511615126151361514615156151661517615186151961520615216152261523615246152561526615276152861529615306153161532615336153461535615366153761538615396154061541615426154361544615456154661547615486154961550615516155261553615546155561556615576155861559615606156161562615636156461565615666156761568615696157061571615726157361574615756157661577615786157961580615816158261583615846158561586615876158861589615906159161592615936159461595615966159761598615996160061601616026160361604616056160661607616086160961610616116161261613616146161561616616176161861619616206162161622616236162461625616266162761628616296163061631616326163361634616356163661637616386163961640616416164261643616446164561646616476164861649616506165161652616536165461655616566165761658616596166061661616626166361664616656166661667616686166961670616716167261673616746167561676616776167861679616806168161682616836168461685616866168761688616896169061691616926169361694616956169661697616986169961700617016170261703617046170561706617076170861709617106171161712617136171461715617166171761718617196172061721617226172361724617256172661727617286172961730617316173261733617346173561736617376173861739617406174161742617436174461745617466174761748617496175061751617526175361754617556175661757617586175961760617616176261763617646176561766617676176861769617706177161772617736177461775617766177761778617796178061781617826178361784617856178661787617886178961790617916179261793617946179561796617976179861799618006180161802618036180461805618066180761808618096181061811618126181361814618156181661817618186181961820618216182261823618246182561826618276182861829618306183161832618336183461835618366183761838618396184061841618426184361844618456184661847618486184961850618516185261853618546185561856618576185861859618606186161862618636186461865618666186761868618696187061871618726187361874618756187661877618786187961880618816188261883618846188561886618876188861889618906189161892618936189461895618966189761898618996190061901619026190361904619056190661907619086190961910619116191261913619146191561916619176191861919619206192161922619236192461925619266192761928619296193061931619326193361934619356193661937619386193961940619416194261943619446194561946619476194861949619506195161952619536195461955619566195761958619596196061961619626196361964619656196661967619686196961970619716197261973619746197561976619776197861979619806198161982619836198461985619866198761988619896199061991619926199361994619956199661997619986199962000620016200262003620046200562006620076200862009620106201162012620136201462015620166201762018620196202062021620226202362024620256202662027620286202962030620316203262033620346203562036620376203862039620406204162042620436204462045620466204762048620496205062051620526205362054620556205662057620586205962060620616206262063620646206562066620676206862069620706207162072620736207462075620766207762078620796208062081620826208362084620856208662087620886208962090620916209262093620946209562096620976209862099621006210162102621036210462105621066210762108621096211062111621126211362114621156211662117621186211962120621216212262123621246212562126621276212862129621306213162132621336213462135621366213762138621396214062141621426214362144621456214662147621486214962150621516215262153621546215562156621576215862159621606216162162621636216462165621666216762168621696217062171621726217362174621756217662177621786217962180621816218262183621846218562186621876218862189621906219162192621936219462195621966219762198621996220062201622026220362204622056220662207622086220962210622116221262213622146221562216622176221862219622206222162222622236222462225622266222762228622296223062231622326223362234622356223662237622386223962240622416224262243622446224562246622476224862249622506225162252622536225462255622566225762258622596226062261622626226362264622656226662267622686226962270622716227262273622746227562276622776227862279622806228162282622836228462285622866228762288622896229062291622926229362294622956229662297622986229962300623016230262303623046230562306623076230862309623106231162312623136231462315623166231762318623196232062321623226232362324623256232662327623286232962330623316233262333623346233562336623376233862339623406234162342623436234462345623466234762348623496235062351623526235362354623556235662357623586235962360623616236262363623646236562366623676236862369623706237162372623736237462375623766237762378623796238062381623826238362384623856238662387623886238962390623916239262393623946239562396623976239862399624006240162402624036240462405624066240762408624096241062411624126241362414624156241662417624186241962420624216242262423624246242562426624276242862429624306243162432624336243462435624366243762438624396244062441624426244362444624456244662447624486244962450624516245262453624546245562456624576245862459624606246162462624636246462465624666246762468624696247062471624726247362474624756247662477624786247962480624816248262483624846248562486624876248862489624906249162492624936249462495624966249762498624996250062501625026250362504625056250662507625086250962510625116251262513625146251562516625176251862519625206252162522625236252462525625266252762528625296253062531625326253362534625356253662537625386253962540625416254262543625446254562546625476254862549625506255162552625536255462555625566255762558625596256062561625626256362564625656256662567625686256962570625716257262573625746257562576625776257862579625806258162582625836258462585625866258762588625896259062591625926259362594625956259662597625986259962600626016260262603626046260562606626076260862609626106261162612626136261462615626166261762618626196262062621626226262362624626256262662627626286262962630626316263262633626346263562636626376263862639626406264162642626436264462645626466264762648626496265062651626526265362654626556265662657626586265962660626616266262663626646266562666626676266862669626706267162672626736267462675626766267762678626796268062681626826268362684626856268662687626886268962690626916269262693626946269562696626976269862699627006270162702627036270462705627066270762708627096271062711627126271362714627156271662717627186271962720627216272262723627246272562726627276272862729627306273162732627336273462735627366273762738627396274062741627426274362744627456274662747627486274962750627516275262753627546275562756627576275862759627606276162762627636276462765627666276762768627696277062771627726277362774627756277662777627786277962780627816278262783627846278562786627876278862789627906279162792627936279462795627966279762798627996280062801628026280362804628056280662807628086280962810628116281262813628146281562816628176281862819628206282162822628236282462825628266282762828628296283062831628326283362834628356283662837628386283962840628416284262843628446284562846628476284862849628506285162852628536285462855628566285762858628596286062861628626286362864628656286662867628686286962870628716287262873628746287562876628776287862879628806288162882628836288462885628866288762888628896289062891628926289362894628956289662897628986289962900629016290262903629046290562906629076290862909629106291162912629136291462915629166291762918629196292062921629226292362924629256292662927629286292962930629316293262933629346293562936629376293862939629406294162942629436294462945629466294762948629496295062951629526295362954629556295662957629586295962960629616296262963629646296562966629676296862969629706297162972629736297462975629766297762978629796298062981629826298362984629856298662987629886298962990629916299262993629946299562996629976299862999630006300163002630036300463005630066300763008630096301063011630126301363014630156301663017630186301963020630216302263023630246302563026630276302863029630306303163032630336303463035630366303763038630396304063041630426304363044630456304663047630486304963050630516305263053630546305563056630576305863059630606306163062630636306463065630666306763068630696307063071630726307363074630756307663077630786307963080630816308263083630846308563086630876308863089630906309163092630936309463095630966309763098630996310063101631026310363104631056310663107631086310963110631116311263113631146311563116631176311863119631206312163122631236312463125631266312763128631296313063131631326313363134631356313663137631386313963140631416314263143631446314563146631476314863149631506315163152631536315463155631566315763158631596316063161631626316363164631656316663167631686316963170631716317263173631746317563176631776317863179631806318163182631836318463185631866318763188631896319063191631926319363194631956319663197631986319963200632016320263203632046320563206632076320863209632106321163212632136321463215632166321763218632196322063221632226322363224632256322663227632286322963230632316323263233632346323563236632376323863239632406324163242632436324463245632466324763248632496325063251632526325363254632556325663257632586325963260632616326263263632646326563266632676326863269632706327163272632736327463275632766327763278632796328063281632826328363284632856328663287632886328963290632916329263293632946329563296632976329863299633006330163302633036330463305633066330763308633096331063311633126331363314633156331663317633186331963320633216332263323633246332563326633276332863329633306333163332633336333463335633366333763338633396334063341633426334363344633456334663347633486334963350633516335263353633546335563356633576335863359633606336163362633636336463365633666336763368633696337063371633726337363374633756337663377633786337963380633816338263383633846338563386633876338863389633906339163392633936339463395633966339763398633996340063401634026340363404634056340663407634086340963410634116341263413634146341563416634176341863419634206342163422634236342463425634266342763428634296343063431634326343363434634356343663437634386343963440634416344263443634446344563446634476344863449634506345163452634536345463455634566345763458634596346063461634626346363464634656346663467634686346963470634716347263473634746347563476634776347863479634806348163482634836348463485634866348763488634896349063491634926349363494634956349663497634986349963500635016350263503635046350563506635076350863509635106351163512635136351463515635166351763518635196352063521635226352363524635256352663527635286352963530635316353263533635346353563536635376353863539635406354163542635436354463545635466354763548635496355063551635526355363554635556355663557635586355963560635616356263563635646356563566635676356863569635706357163572635736357463575635766357763578635796358063581635826358363584635856358663587635886358963590635916359263593635946359563596635976359863599636006360163602636036360463605636066360763608636096361063611636126361363614636156361663617636186361963620636216362263623636246362563626636276362863629636306363163632636336363463635636366363763638636396364063641636426364363644636456364663647636486364963650636516365263653636546365563656636576365863659636606366163662636636366463665636666366763668636696367063671636726367363674636756367663677636786367963680636816368263683636846368563686636876368863689636906369163692636936369463695636966369763698636996370063701637026370363704637056370663707637086370963710637116371263713637146371563716637176371863719637206372163722637236372463725637266372763728637296373063731637326373363734637356373663737637386373963740637416374263743637446374563746637476374863749637506375163752637536375463755637566375763758637596376063761637626376363764637656376663767637686376963770637716377263773637746377563776637776377863779637806378163782637836378463785637866378763788637896379063791637926379363794637956379663797637986379963800638016380263803638046380563806638076380863809638106381163812638136381463815638166381763818638196382063821638226382363824638256382663827638286382963830638316383263833638346383563836638376383863839638406384163842638436384463845638466384763848638496385063851638526385363854638556385663857638586385963860638616386263863638646386563866638676386863869638706387163872638736387463875638766387763878638796388063881638826388363884638856388663887638886388963890638916389263893638946389563896638976389863899639006390163902639036390463905639066390763908639096391063911639126391363914639156391663917639186391963920639216392263923639246392563926639276392863929639306393163932639336393463935639366393763938639396394063941639426394363944639456394663947639486394963950639516395263953639546395563956639576395863959639606396163962639636396463965639666396763968639696397063971639726397363974639756397663977639786397963980639816398263983639846398563986639876398863989639906399163992639936399463995639966399763998639996400064001640026400364004640056400664007640086400964010640116401264013640146401564016640176401864019640206402164022640236402464025640266402764028640296403064031640326403364034640356403664037640386403964040640416404264043640446404564046640476404864049640506405164052640536405464055640566405764058640596406064061640626406364064640656406664067640686406964070640716407264073640746407564076640776407864079640806408164082640836408464085640866408764088640896409064091640926409364094640956409664097640986409964100641016410264103641046410564106641076410864109641106411164112641136411464115641166411764118641196412064121641226412364124641256412664127641286412964130641316413264133641346413564136641376413864139641406414164142641436414464145641466414764148641496415064151641526415364154641556415664157641586415964160641616416264163641646416564166641676416864169641706417164172641736417464175641766417764178641796418064181641826418364184641856418664187641886418964190641916419264193641946419564196641976419864199642006420164202642036420464205642066420764208642096421064211642126421364214642156421664217642186421964220642216422264223642246422564226642276422864229642306423164232642336423464235642366423764238642396424064241642426424364244642456424664247642486424964250642516425264253642546425564256642576425864259642606426164262642636426464265642666426764268642696427064271642726427364274642756427664277642786427964280642816428264283642846428564286642876428864289642906429164292642936429464295642966429764298642996430064301643026430364304643056430664307643086430964310643116431264313643146431564316643176431864319643206432164322643236432464325643266432764328643296433064331643326433364334643356433664337643386433964340643416434264343643446434564346643476434864349643506435164352643536435464355643566435764358643596436064361643626436364364643656436664367643686436964370643716437264373643746437564376643776437864379643806438164382643836438464385643866438764388643896439064391643926439364394643956439664397643986439964400644016440264403644046440564406644076440864409644106441164412644136441464415644166441764418644196442064421644226442364424644256442664427644286442964430644316443264433644346443564436644376443864439644406444164442644436444464445644466444764448644496445064451644526445364454644556445664457644586445964460644616446264463644646446564466644676446864469644706447164472644736447464475644766447764478644796448064481644826448364484644856448664487644886448964490644916449264493644946449564496644976449864499645006450164502645036450464505645066450764508645096451064511645126451364514645156451664517645186451964520645216452264523645246452564526645276452864529645306453164532645336453464535645366453764538645396454064541645426454364544645456454664547645486454964550645516455264553645546455564556645576455864559645606456164562645636456464565645666456764568645696457064571645726457364574645756457664577645786457964580645816458264583645846458564586645876458864589645906459164592645936459464595645966459764598645996460064601646026460364604646056460664607646086460964610646116461264613646146461564616646176461864619646206462164622646236462464625646266462764628646296463064631646326463364634646356463664637646386463964640646416464264643646446464564646646476464864649646506465164652646536465464655646566465764658646596466064661646626466364664646656466664667646686466964670646716467264673646746467564676646776467864679646806468164682646836468464685646866468764688646896469064691646926469364694646956469664697646986469964700647016470264703647046470564706647076470864709647106471164712647136471464715647166471764718647196472064721647226472364724647256472664727647286472964730647316473264733647346473564736647376473864739647406474164742647436474464745647466474764748647496475064751647526475364754647556475664757647586475964760647616476264763647646476564766647676476864769647706477164772647736477464775647766477764778647796478064781647826478364784647856478664787647886478964790647916479264793647946479564796647976479864799648006480164802648036480464805648066480764808648096481064811648126481364814648156481664817648186481964820648216482264823648246482564826648276482864829648306483164832648336483464835648366483764838648396484064841648426484364844648456484664847648486484964850648516485264853648546485564856648576485864859648606486164862648636486464865648666486764868648696487064871648726487364874648756487664877648786487964880648816488264883648846488564886648876488864889648906489164892648936489464895648966489764898648996490064901649026490364904649056490664907649086490964910649116491264913649146491564916649176491864919649206492164922649236492464925649266492764928649296493064931649326493364934649356493664937649386493964940649416494264943649446494564946649476494864949649506495164952649536495464955649566495764958649596496064961649626496364964649656496664967649686496964970649716497264973649746497564976649776497864979649806498164982649836498464985649866498764988649896499064991649926499364994649956499664997649986499965000650016500265003650046500565006650076500865009650106501165012650136501465015650166501765018650196502065021650226502365024650256502665027650286502965030650316503265033650346503565036650376503865039650406504165042650436504465045650466504765048650496505065051650526505365054650556505665057650586505965060650616506265063650646506565066650676506865069650706507165072650736507465075650766507765078650796508065081650826508365084650856508665087650886508965090650916509265093650946509565096650976509865099651006510165102651036510465105651066510765108651096511065111651126511365114651156511665117651186511965120651216512265123651246512565126651276512865129651306513165132651336513465135651366513765138651396514065141651426514365144651456514665147651486514965150651516515265153651546515565156651576515865159651606516165162651636516465165651666516765168651696517065171651726517365174651756517665177651786517965180651816518265183651846518565186651876518865189651906519165192651936519465195651966519765198651996520065201652026520365204652056520665207652086520965210652116521265213652146521565216652176521865219652206522165222652236522465225652266522765228652296523065231652326523365234652356523665237652386523965240652416524265243652446524565246652476524865249652506525165252652536525465255652566525765258652596526065261652626526365264652656526665267652686526965270652716527265273652746527565276652776527865279652806528165282652836528465285652866528765288652896529065291652926529365294652956529665297652986529965300653016530265303653046530565306653076530865309653106531165312653136531465315653166531765318653196532065321653226532365324653256532665327653286532965330653316533265333653346533565336653376533865339653406534165342653436534465345653466534765348653496535065351653526535365354653556535665357653586535965360653616536265363653646536565366653676536865369653706537165372653736537465375653766537765378653796538065381653826538365384653856538665387653886538965390653916539265393653946539565396653976539865399654006540165402654036540465405654066540765408654096541065411654126541365414654156541665417654186541965420654216542265423654246542565426654276542865429654306543165432654336543465435654366543765438654396544065441654426544365444654456544665447654486544965450654516545265453654546545565456654576545865459654606546165462654636546465465654666546765468654696547065471654726547365474654756547665477654786547965480654816548265483654846548565486654876548865489654906549165492654936549465495654966549765498654996550065501655026550365504655056550665507655086550965510655116551265513655146551565516655176551865519655206552165522655236552465525655266552765528655296553065531655326553365534655356553665537655386553965540655416554265543655446554565546655476554865549655506555165552655536555465555655566555765558655596556065561655626556365564655656556665567655686556965570655716557265573655746557565576655776557865579655806558165582655836558465585655866558765588655896559065591655926559365594655956559665597655986559965600656016560265603656046560565606656076560865609656106561165612656136561465615656166561765618656196562065621656226562365624656256562665627656286562965630656316563265633656346563565636656376563865639656406564165642656436564465645656466564765648656496565065651656526565365654656556565665657656586565965660656616566265663656646566565666656676566865669656706567165672656736567465675656766567765678656796568065681656826568365684656856568665687656886568965690656916569265693656946569565696656976569865699657006570165702657036570465705657066570765708657096571065711657126571365714657156571665717657186571965720657216572265723657246572565726657276572865729657306573165732657336573465735657366573765738657396574065741657426574365744657456574665747657486574965750657516575265753657546575565756657576575865759657606576165762657636576465765657666576765768657696577065771657726577365774657756577665777657786577965780657816578265783657846578565786657876578865789657906579165792657936579465795657966579765798657996580065801658026580365804658056580665807658086580965810658116581265813658146581565816658176581865819658206582165822658236582465825658266582765828658296583065831658326583365834658356583665837658386583965840658416584265843658446584565846658476584865849658506585165852658536585465855658566585765858658596586065861658626586365864658656586665867658686586965870658716587265873658746587565876658776587865879658806588165882658836588465885658866588765888658896589065891658926589365894658956589665897658986589965900659016590265903659046590565906659076590865909659106591165912659136591465915659166591765918659196592065921659226592365924659256592665927659286592965930659316593265933659346593565936659376593865939659406594165942659436594465945659466594765948659496595065951659526595365954659556595665957659586595965960659616596265963659646596565966659676596865969659706597165972659736597465975659766597765978659796598065981659826598365984659856598665987659886598965990659916599265993659946599565996659976599865999660006600166002660036600466005660066600766008660096601066011660126601366014660156601666017660186601966020660216602266023660246602566026660276602866029660306603166032660336603466035660366603766038660396604066041660426604366044660456604666047660486604966050660516605266053660546605566056660576605866059660606606166062660636606466065660666606766068660696607066071660726607366074660756607666077660786607966080660816608266083660846608566086660876608866089660906609166092660936609466095660966609766098660996610066101661026610366104661056610666107661086610966110661116611266113661146611566116661176611866119661206612166122661236612466125661266612766128661296613066131661326613366134661356613666137661386613966140661416614266143661446614566146661476614866149661506615166152661536615466155661566615766158661596616066161661626616366164661656616666167661686616966170661716617266173661746617566176661776617866179661806618166182661836618466185661866618766188661896619066191661926619366194661956619666197661986619966200662016620266203662046620566206662076620866209662106621166212662136621466215662166621766218662196622066221662226622366224662256622666227662286622966230662316623266233662346623566236662376623866239662406624166242662436624466245662466624766248662496625066251662526625366254662556625666257662586625966260662616626266263662646626566266662676626866269662706627166272662736627466275662766627766278662796628066281662826628366284662856628666287662886628966290662916629266293662946629566296662976629866299663006630166302663036630466305663066630766308663096631066311663126631366314663156631666317663186631966320663216632266323663246632566326663276632866329663306633166332663336633466335663366633766338663396634066341663426634366344663456634666347663486634966350663516635266353663546635566356663576635866359663606636166362663636636466365663666636766368663696637066371663726637366374663756637666377663786637966380663816638266383663846638566386663876638866389663906639166392663936639466395663966639766398663996640066401664026640366404664056640666407664086640966410664116641266413664146641566416664176641866419664206642166422664236642466425664266642766428664296643066431664326643366434664356643666437664386643966440664416644266443664446644566446664476644866449664506645166452664536645466455664566645766458664596646066461664626646366464664656646666467664686646966470664716647266473664746647566476664776647866479664806648166482664836648466485664866648766488664896649066491664926649366494664956649666497664986649966500665016650266503665046650566506665076650866509665106651166512665136651466515665166651766518665196652066521665226652366524665256652666527665286652966530665316653266533665346653566536665376653866539665406654166542665436654466545665466654766548665496655066551665526655366554665556655666557665586655966560665616656266563665646656566566665676656866569665706657166572665736657466575665766657766578665796658066581665826658366584665856658666587665886658966590665916659266593665946659566596665976659866599666006660166602666036660466605666066660766608666096661066611666126661366614666156661666617666186661966620666216662266623666246662566626666276662866629666306663166632666336663466635666366663766638666396664066641666426664366644666456664666647666486664966650666516665266653666546665566656666576665866659666606666166662666636666466665666666666766668666696667066671666726667366674666756667666677666786667966680666816668266683666846668566686666876668866689666906669166692666936669466695666966669766698666996670066701667026670366704667056670666707667086670966710667116671266713667146671566716667176671866719667206672166722667236672466725667266672766728667296673066731667326673366734667356673666737667386673966740667416674266743667446674566746667476674866749667506675166752667536675466755667566675766758667596676066761667626676366764667656676666767667686676966770667716677266773667746677566776667776677866779667806678166782667836678466785667866678766788667896679066791667926679366794667956679666797667986679966800668016680266803668046680566806668076680866809668106681166812668136681466815668166681766818668196682066821668226682366824668256682666827668286682966830668316683266833668346683566836668376683866839668406684166842668436684466845668466684766848668496685066851668526685366854668556685666857668586685966860668616686266863668646686566866668676686866869668706687166872668736687466875668766687766878668796688066881668826688366884668856688666887668886688966890668916689266893668946689566896668976689866899669006690166902669036690466905669066690766908669096691066911669126691366914669156691666917669186691966920669216692266923669246692566926669276692866929669306693166932669336693466935669366693766938669396694066941669426694366944669456694666947669486694966950669516695266953669546695566956669576695866959669606696166962669636696466965669666696766968669696697066971669726697366974669756697666977669786697966980669816698266983669846698566986669876698866989669906699166992669936699466995669966699766998669996700067001670026700367004670056700667007670086700967010670116701267013670146701567016670176701867019670206702167022670236702467025670266702767028670296703067031670326703367034670356703667037670386703967040670416704267043670446704567046670476704867049670506705167052670536705467055670566705767058670596706067061670626706367064670656706667067670686706967070670716707267073670746707567076670776707867079670806708167082670836708467085670866708767088670896709067091670926709367094670956709667097670986709967100671016710267103671046710567106671076710867109671106711167112671136711467115671166711767118671196712067121671226712367124671256712667127671286712967130671316713267133671346713567136671376713867139671406714167142671436714467145671466714767148671496715067151671526715367154671556715667157671586715967160671616716267163671646716567166671676716867169671706717167172671736717467175671766717767178671796718067181671826718367184671856718667187671886718967190671916719267193671946719567196671976719867199672006720167202672036720467205672066720767208672096721067211672126721367214672156721667217672186721967220672216722267223672246722567226672276722867229672306723167232672336723467235672366723767238672396724067241672426724367244672456724667247672486724967250672516725267253672546725567256672576725867259672606726167262672636726467265672666726767268672696727067271672726727367274672756727667277672786727967280672816728267283672846728567286672876728867289672906729167292672936729467295672966729767298672996730067301673026730367304673056730667307673086730967310673116731267313673146731567316673176731867319673206732167322673236732467325673266732767328673296733067331673326733367334673356733667337673386733967340673416734267343673446734567346673476734867349673506735167352673536735467355673566735767358673596736067361673626736367364673656736667367673686736967370673716737267373673746737567376673776737867379673806738167382673836738467385673866738767388673896739067391673926739367394673956739667397673986739967400674016740267403674046740567406674076740867409674106741167412674136741467415674166741767418674196742067421674226742367424674256742667427674286742967430674316743267433674346743567436674376743867439674406744167442674436744467445674466744767448674496745067451674526745367454674556745667457674586745967460674616746267463674646746567466674676746867469674706747167472674736747467475674766747767478674796748067481674826748367484674856748667487674886748967490674916749267493674946749567496674976749867499675006750167502675036750467505675066750767508675096751067511675126751367514675156751667517675186751967520675216752267523675246752567526675276752867529675306753167532675336753467535675366753767538675396754067541675426754367544675456754667547675486754967550675516755267553675546755567556675576755867559675606756167562675636756467565675666756767568675696757067571675726757367574675756757667577675786757967580675816758267583675846758567586675876758867589675906759167592675936759467595675966759767598675996760067601676026760367604676056760667607676086760967610676116761267613676146761567616676176761867619676206762167622676236762467625676266762767628676296763067631676326763367634676356763667637676386763967640676416764267643676446764567646676476764867649676506765167652676536765467655676566765767658676596766067661676626766367664676656766667667676686766967670676716767267673676746767567676676776767867679676806768167682676836768467685676866768767688676896769067691676926769367694676956769667697676986769967700677016770267703677046770567706677076770867709677106771167712677136771467715677166771767718677196772067721677226772367724677256772667727677286772967730677316773267733677346773567736677376773867739677406774167742677436774467745677466774767748677496775067751677526775367754677556775667757677586775967760677616776267763677646776567766677676776867769677706777167772677736777467775677766777767778677796778067781677826778367784677856778667787677886778967790677916779267793677946779567796677976779867799678006780167802678036780467805678066780767808678096781067811678126781367814678156781667817678186781967820678216782267823678246782567826678276782867829678306783167832678336783467835678366783767838678396784067841678426784367844678456784667847678486784967850678516785267853678546785567856678576785867859678606786167862678636786467865678666786767868678696787067871678726787367874678756787667877678786787967880678816788267883678846788567886678876788867889678906789167892678936789467895678966789767898678996790067901679026790367904679056790667907679086790967910679116791267913679146791567916679176791867919679206792167922679236792467925679266792767928679296793067931679326793367934679356793667937679386793967940679416794267943679446794567946679476794867949679506795167952679536795467955679566795767958679596796067961679626796367964679656796667967679686796967970679716797267973679746797567976679776797867979679806798167982679836798467985679866798767988679896799067991679926799367994679956799667997679986799968000680016800268003680046800568006680076800868009680106801168012680136801468015680166801768018680196802068021680226802368024680256802668027680286802968030680316803268033680346803568036680376803868039680406804168042680436804468045680466804768048680496805068051680526805368054680556805668057680586805968060680616806268063680646806568066680676806868069680706807168072680736807468075680766807768078680796808068081680826808368084680856808668087680886808968090680916809268093680946809568096680976809868099681006810168102681036810468105681066810768108681096811068111681126811368114681156811668117681186811968120681216812268123681246812568126681276812868129681306813168132681336813468135681366813768138681396814068141681426814368144681456814668147681486814968150681516815268153681546815568156681576815868159681606816168162681636816468165681666816768168681696817068171681726817368174681756817668177681786817968180681816818268183681846818568186681876818868189681906819168192681936819468195681966819768198681996820068201682026820368204682056820668207682086820968210682116821268213682146821568216682176821868219682206822168222682236822468225682266822768228682296823068231682326823368234682356823668237682386823968240682416824268243682446824568246682476824868249682506825168252682536825468255682566825768258682596826068261682626826368264682656826668267682686826968270682716827268273682746827568276682776827868279682806828168282682836828468285682866828768288682896829068291682926829368294682956829668297682986829968300683016830268303683046830568306683076830868309683106831168312683136831468315683166831768318683196832068321683226832368324683256832668327683286832968330683316833268333683346833568336683376833868339683406834168342683436834468345683466834768348683496835068351683526835368354683556835668357683586835968360683616836268363683646836568366683676836868369683706837168372683736837468375683766837768378683796838068381683826838368384683856838668387683886838968390683916839268393683946839568396683976839868399684006840168402684036840468405684066840768408684096841068411684126841368414684156841668417684186841968420684216842268423684246842568426684276842868429684306843168432684336843468435684366843768438684396844068441684426844368444684456844668447684486844968450684516845268453684546845568456684576845868459684606846168462684636846468465684666846768468684696847068471684726847368474684756847668477684786847968480684816848268483684846848568486684876848868489684906849168492684936849468495684966849768498684996850068501685026850368504685056850668507685086850968510685116851268513685146851568516685176851868519685206852168522685236852468525685266852768528685296853068531685326853368534685356853668537685386853968540685416854268543685446854568546685476854868549685506855168552685536855468555685566855768558685596856068561685626856368564685656856668567685686856968570685716857268573685746857568576685776857868579685806858168582685836858468585685866858768588685896859068591685926859368594685956859668597685986859968600686016860268603686046860568606686076860868609686106861168612686136861468615686166861768618686196862068621686226862368624686256862668627686286862968630686316863268633686346863568636686376863868639686406864168642686436864468645686466864768648686496865068651686526865368654686556865668657686586865968660686616866268663686646866568666686676866868669686706867168672686736867468675686766867768678686796868068681686826868368684686856868668687686886868968690686916869268693686946869568696686976869868699687006870168702687036870468705687066870768708687096871068711687126871368714687156871668717687186871968720687216872268723687246872568726687276872868729687306873168732687336873468735687366873768738687396874068741687426874368744687456874668747687486874968750687516875268753687546875568756687576875868759687606876168762687636876468765687666876768768687696877068771687726877368774687756877668777687786877968780687816878268783687846878568786687876878868789687906879168792687936879468795687966879768798687996880068801688026880368804688056880668807688086880968810688116881268813688146881568816688176881868819688206882168822688236882468825688266882768828688296883068831688326883368834688356883668837688386883968840688416884268843688446884568846688476884868849688506885168852688536885468855688566885768858688596886068861688626886368864688656886668867688686886968870688716887268873688746887568876688776887868879688806888168882688836888468885688866888768888688896889068891688926889368894688956889668897688986889968900689016890268903689046890568906689076890868909689106891168912689136891468915689166891768918689196892068921689226892368924689256892668927689286892968930689316893268933689346893568936689376893868939689406894168942689436894468945689466894768948689496895068951689526895368954689556895668957689586895968960689616896268963689646896568966689676896868969689706897168972689736897468975689766897768978689796898068981689826898368984689856898668987689886898968990689916899268993689946899568996689976899868999690006900169002690036900469005690066900769008690096901069011690126901369014690156901669017690186901969020690216902269023690246902569026690276902869029690306903169032690336903469035690366903769038690396904069041690426904369044690456904669047690486904969050690516905269053690546905569056690576905869059690606906169062690636906469065690666906769068690696907069071690726907369074690756907669077690786907969080690816908269083690846908569086690876908869089690906909169092690936909469095690966909769098690996910069101691026910369104691056910669107691086910969110691116911269113691146911569116691176911869119691206912169122691236912469125691266912769128691296913069131691326913369134691356913669137691386913969140691416914269143691446914569146691476914869149691506915169152691536915469155691566915769158691596916069161691626916369164691656916669167691686916969170691716917269173691746917569176691776917869179691806918169182691836918469185691866918769188691896919069191691926919369194691956919669197691986919969200692016920269203692046920569206692076920869209692106921169212692136921469215692166921769218692196922069221692226922369224692256922669227692286922969230692316923269233692346923569236692376923869239692406924169242692436924469245692466924769248692496925069251692526925369254692556925669257692586925969260692616926269263692646926569266692676926869269692706927169272692736927469275692766927769278692796928069281692826928369284692856928669287692886928969290692916929269293692946929569296692976929869299693006930169302693036930469305693066930769308693096931069311693126931369314693156931669317693186931969320693216932269323693246932569326693276932869329693306933169332693336933469335693366933769338693396934069341693426934369344693456934669347693486934969350693516935269353693546935569356693576935869359693606936169362693636936469365693666936769368693696937069371693726937369374693756937669377693786937969380693816938269383693846938569386693876938869389693906939169392693936939469395693966939769398693996940069401694026940369404694056940669407694086940969410694116941269413694146941569416694176941869419694206942169422694236942469425694266942769428694296943069431694326943369434694356943669437694386943969440694416944269443694446944569446694476944869449694506945169452694536945469455694566945769458694596946069461694626946369464694656946669467694686946969470694716947269473694746947569476694776947869479694806948169482694836948469485694866948769488694896949069491694926949369494694956949669497694986949969500695016950269503695046950569506695076950869509695106951169512695136951469515695166951769518695196952069521695226952369524695256952669527695286952969530695316953269533695346953569536695376953869539695406954169542695436954469545695466954769548695496955069551695526955369554695556955669557695586955969560695616956269563695646956569566695676956869569695706957169572695736957469575695766957769578695796958069581695826958369584695856958669587695886958969590695916959269593695946959569596695976959869599696006960169602696036960469605696066960769608696096961069611696126961369614696156961669617696186961969620696216962269623696246962569626696276962869629696306963169632696336963469635696366963769638696396964069641696426964369644696456964669647696486964969650696516965269653696546965569656696576965869659696606966169662696636966469665696666966769668696696967069671696726967369674696756967669677696786967969680696816968269683696846968569686696876968869689696906969169692696936969469695696966969769698696996970069701697026970369704697056970669707697086970969710697116971269713697146971569716697176971869719697206972169722697236972469725697266972769728697296973069731697326973369734697356973669737697386973969740697416974269743697446974569746697476974869749697506975169752697536975469755697566975769758697596976069761697626976369764697656976669767697686976969770697716977269773697746977569776697776977869779697806978169782697836978469785697866978769788697896979069791697926979369794697956979669797697986979969800698016980269803698046980569806698076980869809698106981169812698136981469815698166981769818698196982069821698226982369824698256982669827698286982969830698316983269833698346983569836698376983869839698406984169842698436984469845698466984769848698496985069851698526985369854698556985669857698586985969860698616986269863698646986569866698676986869869698706987169872698736987469875698766987769878698796988069881698826988369884698856988669887698886988969890698916989269893698946989569896698976989869899699006990169902699036990469905699066990769908699096991069911699126991369914699156991669917699186991969920699216992269923699246992569926699276992869929699306993169932699336993469935699366993769938699396994069941699426994369944699456994669947699486994969950699516995269953699546995569956699576995869959699606996169962699636996469965699666996769968699696997069971699726997369974699756997669977699786997969980699816998269983699846998569986699876998869989699906999169992699936999469995699966999769998699997000070001700027000370004700057000670007700087000970010700117001270013700147001570016700177001870019700207002170022700237002470025700267002770028700297003070031700327003370034700357003670037700387003970040700417004270043700447004570046700477004870049700507005170052700537005470055700567005770058700597006070061700627006370064700657006670067700687006970070700717007270073700747007570076700777007870079700807008170082700837008470085700867008770088700897009070091700927009370094700957009670097700987009970100701017010270103701047010570106701077010870109701107011170112701137011470115701167011770118701197012070121701227012370124701257012670127701287012970130701317013270133701347013570136701377013870139701407014170142701437014470145701467014770148701497015070151701527015370154701557015670157701587015970160701617016270163701647016570166701677016870169701707017170172701737017470175701767017770178701797018070181701827018370184701857018670187701887018970190701917019270193701947019570196701977019870199702007020170202702037020470205702067020770208702097021070211702127021370214702157021670217702187021970220702217022270223702247022570226702277022870229702307023170232702337023470235702367023770238702397024070241702427024370244702457024670247702487024970250702517025270253702547025570256702577025870259702607026170262702637026470265702667026770268702697027070271702727027370274702757027670277702787027970280702817028270283702847028570286702877028870289702907029170292702937029470295702967029770298702997030070301703027030370304703057030670307703087030970310703117031270313703147031570316703177031870319703207032170322703237032470325703267032770328703297033070331703327033370334703357033670337703387033970340703417034270343703447034570346703477034870349703507035170352703537035470355703567035770358703597036070361703627036370364703657036670367703687036970370703717037270373703747037570376703777037870379703807038170382703837038470385703867038770388703897039070391703927039370394703957039670397703987039970400704017040270403704047040570406704077040870409704107041170412704137041470415704167041770418704197042070421704227042370424704257042670427704287042970430704317043270433704347043570436704377043870439704407044170442704437044470445704467044770448704497045070451704527045370454704557045670457704587045970460704617046270463704647046570466704677046870469704707047170472704737047470475704767047770478704797048070481704827048370484704857048670487704887048970490704917049270493704947049570496704977049870499705007050170502705037050470505705067050770508705097051070511705127051370514705157051670517705187051970520705217052270523705247052570526705277052870529705307053170532705337053470535705367053770538705397054070541705427054370544705457054670547705487054970550705517055270553705547055570556705577055870559705607056170562705637056470565705667056770568705697057070571705727057370574705757057670577705787057970580705817058270583705847058570586705877058870589705907059170592705937059470595705967059770598705997060070601706027060370604706057060670607706087060970610706117061270613706147061570616706177061870619706207062170622706237062470625706267062770628706297063070631706327063370634706357063670637706387063970640706417064270643706447064570646706477064870649706507065170652706537065470655706567065770658706597066070661706627066370664706657066670667706687066970670706717067270673706747067570676706777067870679706807068170682706837068470685706867068770688706897069070691706927069370694706957069670697706987069970700707017070270703707047070570706707077070870709707107071170712707137071470715707167071770718707197072070721707227072370724707257072670727707287072970730707317073270733707347073570736707377073870739707407074170742707437074470745707467074770748707497075070751707527075370754707557075670757707587075970760707617076270763707647076570766707677076870769707707077170772707737077470775707767077770778707797078070781707827078370784707857078670787707887078970790707917079270793707947079570796707977079870799708007080170802708037080470805708067080770808708097081070811708127081370814708157081670817708187081970820708217082270823708247082570826708277082870829708307083170832708337083470835708367083770838708397084070841708427084370844708457084670847708487084970850708517085270853708547085570856708577085870859708607086170862708637086470865708667086770868708697087070871708727087370874708757087670877708787087970880708817088270883708847088570886708877088870889708907089170892708937089470895708967089770898708997090070901709027090370904709057090670907709087090970910709117091270913709147091570916709177091870919709207092170922709237092470925709267092770928709297093070931709327093370934709357093670937709387093970940709417094270943709447094570946709477094870949709507095170952709537095470955709567095770958709597096070961709627096370964709657096670967709687096970970709717097270973709747097570976709777097870979709807098170982709837098470985709867098770988709897099070991709927099370994709957099670997709987099971000710017100271003710047100571006710077100871009710107101171012710137101471015710167101771018710197102071021710227102371024710257102671027710287102971030710317103271033710347103571036710377103871039710407104171042710437104471045710467104771048710497105071051710527105371054710557105671057710587105971060710617106271063710647106571066710677106871069710707107171072710737107471075710767107771078710797108071081710827108371084710857108671087710887108971090710917109271093710947109571096710977109871099711007110171102711037110471105711067110771108711097111071111711127111371114711157111671117711187111971120711217112271123711247112571126711277112871129711307113171132711337113471135711367113771138711397114071141711427114371144711457114671147711487114971150711517115271153711547115571156711577115871159711607116171162711637116471165711667116771168711697117071171711727117371174711757117671177711787117971180711817118271183711847118571186711877118871189711907119171192711937119471195711967119771198711997120071201712027120371204712057120671207712087120971210712117121271213712147121571216712177121871219712207122171222712237122471225712267122771228712297123071231712327123371234712357123671237712387123971240712417124271243712447124571246712477124871249712507125171252712537125471255712567125771258712597126071261712627126371264712657126671267712687126971270712717127271273712747127571276712777127871279712807128171282712837128471285712867128771288712897129071291712927129371294712957129671297712987129971300713017130271303713047130571306713077130871309713107131171312713137131471315713167131771318713197132071321713227132371324713257132671327713287132971330713317133271333713347133571336713377133871339713407134171342713437134471345713467134771348713497135071351713527135371354713557135671357713587135971360713617136271363713647136571366713677136871369713707137171372713737137471375713767137771378713797138071381713827138371384713857138671387713887138971390713917139271393713947139571396713977139871399714007140171402714037140471405714067140771408714097141071411714127141371414714157141671417714187141971420714217142271423714247142571426714277142871429714307143171432714337143471435714367143771438714397144071441714427144371444714457144671447714487144971450714517145271453714547145571456714577145871459714607146171462714637146471465714667146771468714697147071471714727147371474714757147671477714787147971480714817148271483714847148571486714877148871489714907149171492714937149471495714967149771498714997150071501715027150371504715057150671507715087150971510715117151271513715147151571516715177151871519715207152171522715237152471525715267152771528715297153071531715327153371534715357153671537715387153971540715417154271543715447154571546715477154871549715507155171552715537155471555715567155771558715597156071561715627156371564715657156671567715687156971570715717157271573715747157571576715777157871579715807158171582715837158471585715867158771588715897159071591715927159371594715957159671597715987159971600716017160271603716047160571606716077160871609716107161171612716137161471615716167161771618716197162071621716227162371624716257162671627716287162971630716317163271633716347163571636716377163871639716407164171642716437164471645716467164771648716497165071651716527165371654716557165671657716587165971660716617166271663716647166571666716677166871669716707167171672716737167471675716767167771678716797168071681716827168371684716857168671687716887168971690716917169271693716947169571696716977169871699717007170171702717037170471705717067170771708717097171071711717127171371714717157171671717717187171971720717217172271723717247172571726717277172871729717307173171732717337173471735717367173771738717397174071741717427174371744717457174671747717487174971750717517175271753717547175571756717577175871759717607176171762717637176471765717667176771768717697177071771717727177371774717757177671777717787177971780717817178271783717847178571786717877178871789717907179171792717937179471795717967179771798717997180071801718027180371804718057180671807718087180971810718117181271813718147181571816718177181871819718207182171822718237182471825718267182771828718297183071831718327183371834718357183671837718387183971840718417184271843718447184571846718477184871849718507185171852718537185471855718567185771858718597186071861718627186371864718657186671867718687186971870718717187271873718747187571876718777187871879718807188171882718837188471885718867188771888718897189071891718927189371894718957189671897718987189971900719017190271903719047190571906719077190871909719107191171912719137191471915719167191771918719197192071921719227192371924719257192671927719287192971930719317193271933719347193571936719377193871939719407194171942719437194471945719467194771948719497195071951719527195371954719557195671957719587195971960719617196271963719647196571966719677196871969719707197171972719737197471975719767197771978719797198071981719827198371984719857198671987719887198971990719917199271993719947199571996719977199871999720007200172002720037200472005720067200772008720097201072011720127201372014720157201672017720187201972020720217202272023720247202572026720277202872029720307203172032720337203472035720367203772038720397204072041720427204372044720457204672047720487204972050720517205272053720547205572056720577205872059720607206172062720637206472065720667206772068720697207072071720727207372074720757207672077720787207972080720817208272083720847208572086720877208872089720907209172092720937209472095720967209772098720997210072101721027210372104721057210672107721087210972110721117211272113721147211572116721177211872119721207212172122721237212472125721267212772128721297213072131721327213372134721357213672137721387213972140721417214272143721447214572146721477214872149721507215172152721537215472155721567215772158721597216072161721627216372164721657216672167721687216972170721717217272173721747217572176721777217872179721807218172182721837218472185721867218772188721897219072191721927219372194721957219672197721987219972200722017220272203722047220572206722077220872209722107221172212722137221472215722167221772218722197222072221722227222372224722257222672227722287222972230722317223272233722347223572236722377223872239722407224172242722437224472245722467224772248722497225072251722527225372254722557225672257722587225972260722617226272263722647226572266722677226872269722707227172272722737227472275722767227772278722797228072281722827228372284722857228672287722887228972290722917229272293722947229572296722977229872299723007230172302723037230472305723067230772308723097231072311723127231372314723157231672317723187231972320723217232272323723247232572326723277232872329723307233172332723337233472335723367233772338723397234072341723427234372344723457234672347723487234972350723517235272353723547235572356723577235872359723607236172362723637236472365723667236772368723697237072371723727237372374723757237672377723787237972380723817238272383723847238572386723877238872389723907239172392723937239472395723967239772398723997240072401724027240372404724057240672407724087240972410724117241272413724147241572416724177241872419724207242172422724237242472425724267242772428724297243072431724327243372434724357243672437724387243972440724417244272443724447244572446724477244872449724507245172452724537245472455724567245772458724597246072461724627246372464724657246672467724687246972470724717247272473724747247572476724777247872479724807248172482724837248472485724867248772488724897249072491724927249372494724957249672497724987249972500725017250272503725047250572506725077250872509725107251172512725137251472515725167251772518725197252072521725227252372524725257252672527725287252972530725317253272533725347253572536725377253872539725407254172542725437254472545725467254772548725497255072551725527255372554725557255672557725587255972560725617256272563725647256572566725677256872569725707257172572725737257472575725767257772578725797258072581725827258372584725857258672587725887258972590725917259272593725947259572596725977259872599726007260172602726037260472605726067260772608726097261072611726127261372614726157261672617726187261972620726217262272623726247262572626726277262872629726307263172632726337263472635726367263772638726397264072641726427264372644726457264672647726487264972650726517265272653726547265572656726577265872659726607266172662726637266472665726667266772668726697267072671726727267372674726757267672677726787267972680726817268272683726847268572686726877268872689726907269172692726937269472695726967269772698726997270072701727027270372704727057270672707727087270972710727117271272713727147271572716727177271872719727207272172722727237272472725727267272772728727297273072731727327273372734727357273672737727387273972740727417274272743727447274572746727477274872749727507275172752727537275472755727567275772758727597276072761727627276372764727657276672767727687276972770727717277272773727747277572776727777277872779727807278172782727837278472785727867278772788727897279072791727927279372794727957279672797727987279972800728017280272803728047280572806728077280872809728107281172812728137281472815728167281772818728197282072821728227282372824728257282672827728287282972830728317283272833728347283572836728377283872839728407284172842728437284472845728467284772848728497285072851728527285372854728557285672857728587285972860728617286272863728647286572866728677286872869728707287172872728737287472875728767287772878728797288072881728827288372884728857288672887728887288972890728917289272893728947289572896728977289872899729007290172902729037290472905729067290772908729097291072911729127291372914729157291672917729187291972920729217292272923729247292572926729277292872929729307293172932729337293472935729367293772938729397294072941729427294372944729457294672947729487294972950729517295272953729547295572956729577295872959729607296172962729637296472965729667296772968729697297072971729727297372974729757297672977729787297972980729817298272983729847298572986729877298872989729907299172992729937299472995729967299772998729997300073001730027300373004730057300673007730087300973010730117301273013730147301573016730177301873019730207302173022730237302473025730267302773028730297303073031730327303373034730357303673037730387303973040730417304273043730447304573046730477304873049730507305173052730537305473055730567305773058730597306073061730627306373064730657306673067730687306973070730717307273073730747307573076730777307873079730807308173082730837308473085730867308773088730897309073091730927309373094730957309673097730987309973100731017310273103731047310573106731077310873109731107311173112731137311473115731167311773118731197312073121731227312373124731257312673127731287312973130731317313273133731347313573136731377313873139731407314173142731437314473145731467314773148731497315073151731527315373154731557315673157731587315973160731617316273163731647316573166731677316873169731707317173172731737317473175731767317773178731797318073181731827318373184731857318673187731887318973190731917319273193731947319573196731977319873199732007320173202732037320473205732067320773208732097321073211732127321373214732157321673217732187321973220732217322273223732247322573226732277322873229732307323173232732337323473235732367323773238732397324073241732427324373244732457324673247732487324973250732517325273253732547325573256732577325873259732607326173262732637326473265732667326773268732697327073271732727327373274732757327673277732787327973280732817328273283732847328573286732877328873289732907329173292732937329473295732967329773298732997330073301733027330373304733057330673307733087330973310733117331273313733147331573316733177331873319733207332173322733237332473325733267332773328733297333073331733327333373334733357333673337733387333973340733417334273343733447334573346733477334873349733507335173352733537335473355733567335773358733597336073361733627336373364733657336673367733687336973370733717337273373733747337573376733777337873379733807338173382733837338473385733867338773388733897339073391733927339373394733957339673397733987339973400734017340273403734047340573406734077340873409734107341173412734137341473415734167341773418734197342073421734227342373424734257342673427734287342973430734317343273433734347343573436734377343873439734407344173442734437344473445734467344773448734497345073451734527345373454734557345673457734587345973460734617346273463734647346573466734677346873469734707347173472734737347473475734767347773478734797348073481734827348373484734857348673487734887348973490734917349273493734947349573496734977349873499735007350173502735037350473505735067350773508735097351073511735127351373514735157351673517735187351973520735217352273523735247352573526735277352873529735307353173532735337353473535735367353773538735397354073541735427354373544735457354673547735487354973550735517355273553735547355573556735577355873559735607356173562735637356473565735667356773568735697357073571735727357373574735757357673577735787357973580735817358273583735847358573586735877358873589735907359173592735937359473595735967359773598735997360073601736027360373604736057360673607736087360973610736117361273613736147361573616736177361873619736207362173622736237362473625736267362773628736297363073631736327363373634736357363673637736387363973640736417364273643736447364573646736477364873649736507365173652736537365473655736567365773658736597366073661736627366373664736657366673667736687366973670736717367273673736747367573676736777367873679736807368173682736837368473685736867368773688736897369073691736927369373694736957369673697736987369973700737017370273703737047370573706737077370873709737107371173712737137371473715737167371773718737197372073721737227372373724737257372673727737287372973730737317373273733737347373573736737377373873739737407374173742737437374473745737467374773748737497375073751737527375373754737557375673757737587375973760737617376273763737647376573766737677376873769737707377173772737737377473775737767377773778737797378073781737827378373784737857378673787737887378973790737917379273793737947379573796737977379873799738007380173802738037380473805738067380773808738097381073811738127381373814738157381673817738187381973820738217382273823738247382573826738277382873829738307383173832738337383473835738367383773838738397384073841738427384373844738457384673847738487384973850738517385273853738547385573856738577385873859738607386173862738637386473865738667386773868738697387073871738727387373874738757387673877738787387973880738817388273883738847388573886738877388873889738907389173892738937389473895738967389773898738997390073901739027390373904739057390673907739087390973910739117391273913739147391573916739177391873919739207392173922739237392473925739267392773928739297393073931739327393373934739357393673937739387393973940739417394273943739447394573946739477394873949739507395173952739537395473955739567395773958739597396073961739627396373964739657396673967739687396973970739717397273973739747397573976739777397873979739807398173982739837398473985739867398773988739897399073991739927399373994739957399673997739987399974000740017400274003740047400574006740077400874009740107401174012740137401474015740167401774018740197402074021740227402374024740257402674027740287402974030740317403274033740347403574036740377403874039740407404174042740437404474045740467404774048740497405074051740527405374054740557405674057740587405974060740617406274063740647406574066740677406874069740707407174072740737407474075740767407774078740797408074081740827408374084740857408674087740887408974090740917409274093740947409574096740977409874099741007410174102741037410474105741067410774108741097411074111741127411374114741157411674117741187411974120741217412274123741247412574126741277412874129741307413174132741337413474135741367413774138741397414074141741427414374144741457414674147741487414974150741517415274153741547415574156741577415874159741607416174162741637416474165741667416774168741697417074171741727417374174741757417674177741787417974180741817418274183741847418574186741877418874189741907419174192741937419474195741967419774198741997420074201742027420374204742057420674207742087420974210742117421274213742147421574216742177421874219742207422174222742237422474225742267422774228742297423074231742327423374234742357423674237742387423974240742417424274243742447424574246742477424874249742507425174252742537425474255742567425774258742597426074261742627426374264742657426674267742687426974270742717427274273742747427574276742777427874279742807428174282742837428474285742867428774288742897429074291742927429374294742957429674297742987429974300743017430274303743047430574306743077430874309743107431174312743137431474315743167431774318743197432074321743227432374324743257432674327743287432974330743317433274333743347433574336743377433874339743407434174342743437434474345743467434774348743497435074351743527435374354743557435674357743587435974360743617436274363743647436574366743677436874369743707437174372743737437474375743767437774378743797438074381743827438374384743857438674387743887438974390743917439274393743947439574396743977439874399744007440174402744037440474405744067440774408744097441074411744127441374414744157441674417744187441974420744217442274423744247442574426744277442874429744307443174432744337443474435744367443774438744397444074441744427444374444744457444674447744487444974450744517445274453744547445574456744577445874459744607446174462744637446474465744667446774468744697447074471744727447374474744757447674477744787447974480744817448274483744847448574486744877448874489744907449174492744937449474495744967449774498744997450074501745027450374504745057450674507745087450974510745117451274513745147451574516745177451874519745207452174522745237452474525745267452774528745297453074531745327453374534745357453674537745387453974540745417454274543745447454574546745477454874549745507455174552745537455474555745567455774558745597456074561745627456374564745657456674567745687456974570745717457274573745747457574576745777457874579745807458174582745837458474585745867458774588745897459074591745927459374594745957459674597745987459974600746017460274603746047460574606746077460874609746107461174612746137461474615746167461774618746197462074621746227462374624746257462674627746287462974630746317463274633746347463574636746377463874639746407464174642746437464474645746467464774648746497465074651746527465374654746557465674657746587465974660746617466274663746647466574666746677466874669746707467174672746737467474675746767467774678746797468074681746827468374684746857468674687746887468974690746917469274693746947469574696746977469874699747007470174702747037470474705747067470774708747097471074711747127471374714747157471674717747187471974720747217472274723747247472574726747277472874729747307473174732747337473474735747367473774738747397474074741747427474374744747457474674747747487474974750747517475274753747547475574756747577475874759747607476174762747637476474765747667476774768747697477074771747727477374774747757477674777747787477974780747817478274783747847478574786747877478874789747907479174792747937479474795747967479774798747997480074801748027480374804748057480674807748087480974810748117481274813748147481574816748177481874819748207482174822748237482474825748267482774828748297483074831748327483374834748357483674837748387483974840748417484274843748447484574846748477484874849748507485174852748537485474855748567485774858748597486074861748627486374864748657486674867748687486974870748717487274873748747487574876748777487874879748807488174882748837488474885748867488774888748897489074891748927489374894748957489674897748987489974900749017490274903749047490574906749077490874909749107491174912749137491474915749167491774918749197492074921749227492374924749257492674927749287492974930749317493274933749347493574936749377493874939749407494174942749437494474945749467494774948749497495074951749527495374954749557495674957749587495974960749617496274963749647496574966749677496874969749707497174972749737497474975749767497774978749797498074981749827498374984749857498674987749887498974990749917499274993749947499574996749977499874999750007500175002750037500475005750067500775008750097501075011750127501375014750157501675017750187501975020750217502275023750247502575026750277502875029750307503175032750337503475035750367503775038750397504075041750427504375044750457504675047750487504975050750517505275053750547505575056750577505875059750607506175062750637506475065750667506775068750697507075071750727507375074750757507675077750787507975080750817508275083750847508575086750877508875089750907509175092750937509475095750967509775098750997510075101751027510375104751057510675107751087510975110751117511275113751147511575116751177511875119751207512175122751237512475125751267512775128751297513075131751327513375134751357513675137751387513975140751417514275143751447514575146751477514875149751507515175152751537515475155751567515775158751597516075161751627516375164751657516675167751687516975170751717517275173751747517575176751777517875179751807518175182751837518475185751867518775188751897519075191751927519375194751957519675197751987519975200752017520275203752047520575206752077520875209752107521175212752137521475215752167521775218752197522075221752227522375224752257522675227752287522975230752317523275233752347523575236752377523875239752407524175242752437524475245752467524775248752497525075251752527525375254752557525675257752587525975260752617526275263752647526575266752677526875269752707527175272752737527475275752767527775278752797528075281752827528375284752857528675287752887528975290752917529275293752947529575296752977529875299753007530175302753037530475305753067530775308753097531075311753127531375314753157531675317753187531975320753217532275323753247532575326753277532875329753307533175332753337533475335753367533775338753397534075341753427534375344753457534675347753487534975350753517535275353753547535575356753577535875359753607536175362753637536475365753667536775368753697537075371753727537375374753757537675377753787537975380753817538275383753847538575386753877538875389753907539175392753937539475395753967539775398753997540075401754027540375404754057540675407754087540975410754117541275413754147541575416754177541875419754207542175422754237542475425754267542775428754297543075431754327543375434754357543675437754387543975440754417544275443754447544575446754477544875449754507545175452754537545475455754567545775458754597546075461754627546375464754657546675467754687546975470754717547275473754747547575476754777547875479754807548175482754837548475485754867548775488754897549075491754927549375494754957549675497754987549975500755017550275503755047550575506755077550875509755107551175512755137551475515755167551775518755197552075521755227552375524755257552675527755287552975530755317553275533755347553575536755377553875539755407554175542755437554475545755467554775548755497555075551755527555375554755557555675557755587555975560755617556275563755647556575566755677556875569755707557175572755737557475575755767557775578755797558075581755827558375584755857558675587755887558975590755917559275593755947559575596755977559875599756007560175602756037560475605756067560775608756097561075611756127561375614756157561675617756187561975620756217562275623756247562575626756277562875629756307563175632756337563475635756367563775638756397564075641756427564375644756457564675647756487564975650756517565275653756547565575656756577565875659756607566175662756637566475665756667566775668756697567075671756727567375674756757567675677756787567975680756817568275683756847568575686756877568875689756907569175692756937569475695756967569775698756997570075701757027570375704757057570675707757087570975710757117571275713757147571575716757177571875719757207572175722757237572475725757267572775728757297573075731757327573375734757357573675737757387573975740757417574275743757447574575746757477574875749757507575175752757537575475755757567575775758757597576075761757627576375764757657576675767757687576975770757717577275773757747577575776757777577875779757807578175782757837578475785757867578775788757897579075791757927579375794757957579675797757987579975800758017580275803758047580575806758077580875809758107581175812758137581475815758167581775818758197582075821758227582375824758257582675827758287582975830758317583275833758347583575836758377583875839758407584175842758437584475845758467584775848758497585075851758527585375854758557585675857758587585975860758617586275863758647586575866758677586875869758707587175872758737587475875758767587775878758797588075881758827588375884758857588675887758887588975890758917589275893758947589575896758977589875899759007590175902759037590475905759067590775908759097591075911759127591375914759157591675917759187591975920759217592275923759247592575926759277592875929759307593175932759337593475935759367593775938759397594075941759427594375944759457594675947759487594975950759517595275953759547595575956759577595875959759607596175962759637596475965759667596775968759697597075971759727597375974759757597675977759787597975980759817598275983759847598575986759877598875989759907599175992759937599475995759967599775998759997600076001760027600376004760057600676007760087600976010760117601276013760147601576016760177601876019760207602176022760237602476025760267602776028760297603076031760327603376034760357603676037760387603976040760417604276043760447604576046760477604876049760507605176052760537605476055760567605776058760597606076061760627606376064760657606676067760687606976070760717607276073760747607576076760777607876079760807608176082760837608476085760867608776088760897609076091760927609376094760957609676097760987609976100761017610276103761047610576106761077610876109761107611176112761137611476115761167611776118761197612076121761227612376124761257612676127761287612976130761317613276133761347613576136761377613876139761407614176142761437614476145761467614776148761497615076151761527615376154761557615676157761587615976160761617616276163761647616576166761677616876169761707617176172761737617476175761767617776178761797618076181761827618376184761857618676187761887618976190761917619276193761947619576196761977619876199762007620176202762037620476205762067620776208762097621076211762127621376214762157621676217762187621976220762217622276223762247622576226762277622876229762307623176232762337623476235762367623776238762397624076241762427624376244762457624676247762487624976250762517625276253762547625576256762577625876259762607626176262762637626476265762667626776268762697627076271762727627376274762757627676277762787627976280762817628276283762847628576286762877628876289762907629176292762937629476295762967629776298762997630076301763027630376304763057630676307763087630976310763117631276313763147631576316763177631876319763207632176322763237632476325763267632776328763297633076331763327633376334763357633676337763387633976340763417634276343763447634576346763477634876349763507635176352763537635476355763567635776358763597636076361763627636376364763657636676367763687636976370763717637276373763747637576376763777637876379763807638176382763837638476385763867638776388763897639076391763927639376394763957639676397763987639976400764017640276403764047640576406764077640876409764107641176412764137641476415764167641776418764197642076421764227642376424764257642676427764287642976430764317643276433764347643576436764377643876439764407644176442764437644476445764467644776448764497645076451764527645376454764557645676457764587645976460764617646276463764647646576466764677646876469764707647176472764737647476475764767647776478764797648076481764827648376484764857648676487764887648976490764917649276493764947649576496764977649876499765007650176502765037650476505765067650776508765097651076511765127651376514765157651676517765187651976520765217652276523765247652576526765277652876529765307653176532765337653476535765367653776538765397654076541765427654376544765457654676547765487654976550765517655276553765547655576556765577655876559765607656176562765637656476565765667656776568765697657076571765727657376574765757657676577765787657976580765817658276583765847658576586765877658876589765907659176592765937659476595765967659776598765997660076601766027660376604766057660676607766087660976610766117661276613766147661576616766177661876619766207662176622766237662476625766267662776628766297663076631766327663376634766357663676637766387663976640766417664276643766447664576646766477664876649766507665176652766537665476655766567665776658766597666076661766627666376664766657666676667766687666976670766717667276673766747667576676766777667876679766807668176682766837668476685766867668776688766897669076691766927669376694766957669676697766987669976700767017670276703767047670576706767077670876709767107671176712767137671476715767167671776718767197672076721767227672376724767257672676727767287672976730767317673276733767347673576736767377673876739767407674176742767437674476745767467674776748767497675076751767527675376754767557675676757767587675976760767617676276763767647676576766767677676876769767707677176772767737677476775767767677776778767797678076781767827678376784767857678676787767887678976790767917679276793767947679576796767977679876799768007680176802768037680476805768067680776808768097681076811768127681376814768157681676817768187681976820768217682276823768247682576826768277682876829768307683176832768337683476835768367683776838768397684076841768427684376844768457684676847768487684976850768517685276853768547685576856768577685876859768607686176862768637686476865768667686776868768697687076871768727687376874768757687676877768787687976880768817688276883768847688576886768877688876889768907689176892768937689476895768967689776898768997690076901769027690376904769057690676907769087690976910769117691276913769147691576916769177691876919769207692176922769237692476925769267692776928769297693076931769327693376934769357693676937769387693976940769417694276943769447694576946769477694876949769507695176952769537695476955769567695776958769597696076961769627696376964769657696676967769687696976970769717697276973769747697576976769777697876979769807698176982769837698476985769867698776988769897699076991769927699376994769957699676997769987699977000770017700277003770047700577006770077700877009770107701177012770137701477015770167701777018770197702077021770227702377024770257702677027770287702977030770317703277033770347703577036770377703877039770407704177042770437704477045770467704777048770497705077051770527705377054770557705677057770587705977060770617706277063770647706577066770677706877069770707707177072770737707477075770767707777078770797708077081770827708377084770857708677087770887708977090770917709277093770947709577096770977709877099771007710177102771037710477105771067710777108771097711077111771127711377114771157711677117771187711977120771217712277123771247712577126771277712877129771307713177132771337713477135771367713777138771397714077141771427714377144771457714677147771487714977150771517715277153771547715577156771577715877159771607716177162771637716477165771667716777168771697717077171771727717377174771757717677177771787717977180771817718277183771847718577186771877718877189771907719177192771937719477195771967719777198771997720077201772027720377204772057720677207772087720977210772117721277213772147721577216772177721877219772207722177222772237722477225772267722777228772297723077231772327723377234772357723677237772387723977240772417724277243772447724577246772477724877249772507725177252772537725477255772567725777258772597726077261772627726377264772657726677267772687726977270772717727277273772747727577276772777727877279772807728177282772837728477285772867728777288772897729077291772927729377294772957729677297772987729977300773017730277303773047730577306773077730877309773107731177312773137731477315773167731777318773197732077321773227732377324773257732677327773287732977330773317733277333773347733577336773377733877339773407734177342773437734477345773467734777348773497735077351773527735377354773557735677357773587735977360773617736277363773647736577366773677736877369773707737177372773737737477375773767737777378773797738077381773827738377384773857738677387773887738977390773917739277393773947739577396773977739877399774007740177402774037740477405774067740777408774097741077411774127741377414774157741677417774187741977420774217742277423774247742577426774277742877429774307743177432774337743477435774367743777438774397744077441774427744377444774457744677447774487744977450774517745277453774547745577456774577745877459774607746177462774637746477465774667746777468774697747077471774727747377474774757747677477774787747977480774817748277483774847748577486774877748877489774907749177492774937749477495774967749777498774997750077501775027750377504775057750677507775087750977510775117751277513775147751577516775177751877519775207752177522775237752477525775267752777528775297753077531775327753377534775357753677537775387753977540775417754277543775447754577546775477754877549775507755177552775537755477555775567755777558775597756077561775627756377564775657756677567775687756977570775717757277573775747757577576775777757877579775807758177582775837758477585775867758777588775897759077591775927759377594775957759677597775987759977600776017760277603776047760577606776077760877609776107761177612776137761477615776167761777618776197762077621776227762377624776257762677627776287762977630776317763277633776347763577636776377763877639776407764177642776437764477645776467764777648776497765077651776527765377654776557765677657776587765977660776617766277663776647766577666776677766877669776707767177672776737767477675776767767777678776797768077681776827768377684776857768677687776887768977690776917769277693776947769577696776977769877699777007770177702777037770477705777067770777708777097771077711777127771377714777157771677717777187771977720777217772277723777247772577726777277772877729777307773177732777337773477735777367773777738777397774077741777427774377744777457774677747777487774977750777517775277753777547775577756777577775877759777607776177762777637776477765777667776777768777697777077771777727777377774777757777677777777787777977780777817778277783777847778577786777877778877789777907779177792777937779477795777967779777798777997780077801778027780377804778057780677807778087780977810778117781277813778147781577816778177781877819778207782177822778237782477825778267782777828778297783077831778327783377834778357783677837778387783977840778417784277843778447784577846778477784877849778507785177852778537785477855778567785777858778597786077861778627786377864778657786677867778687786977870778717787277873778747787577876778777787877879778807788177882778837788477885778867788777888778897789077891778927789377894778957789677897778987789977900779017790277903779047790577906779077790877909779107791177912779137791477915779167791777918779197792077921779227792377924779257792677927779287792977930779317793277933779347793577936779377793877939779407794177942779437794477945779467794777948779497795077951779527795377954779557795677957779587795977960779617796277963779647796577966779677796877969779707797177972779737797477975779767797777978779797798077981779827798377984779857798677987779887798977990779917799277993779947799577996779977799877999780007800178002780037800478005780067800778008780097801078011780127801378014780157801678017780187801978020780217802278023780247802578026780277802878029780307803178032780337803478035780367803778038780397804078041780427804378044780457804678047780487804978050780517805278053780547805578056780577805878059780607806178062780637806478065780667806778068780697807078071780727807378074780757807678077780787807978080780817808278083780847808578086780877808878089780907809178092780937809478095780967809778098780997810078101781027810378104781057810678107781087810978110781117811278113781147811578116781177811878119781207812178122781237812478125781267812778128781297813078131781327813378134781357813678137781387813978140781417814278143781447814578146781477814878149781507815178152781537815478155781567815778158781597816078161781627816378164781657816678167781687816978170781717817278173781747817578176781777817878179781807818178182781837818478185781867818778188781897819078191781927819378194781957819678197781987819978200782017820278203782047820578206782077820878209782107821178212782137821478215782167821778218782197822078221782227822378224782257822678227782287822978230782317823278233782347823578236782377823878239782407824178242782437824478245782467824778248782497825078251782527825378254782557825678257782587825978260782617826278263782647826578266782677826878269782707827178272782737827478275782767827778278782797828078281782827828378284782857828678287782887828978290782917829278293782947829578296782977829878299783007830178302783037830478305783067830778308783097831078311783127831378314783157831678317783187831978320783217832278323783247832578326783277832878329783307833178332783337833478335783367833778338783397834078341783427834378344783457834678347783487834978350783517835278353783547835578356783577835878359783607836178362783637836478365783667836778368783697837078371783727837378374783757837678377783787837978380783817838278383783847838578386783877838878389783907839178392783937839478395783967839778398783997840078401784027840378404784057840678407784087840978410784117841278413784147841578416784177841878419784207842178422784237842478425784267842778428784297843078431784327843378434784357843678437784387843978440784417844278443784447844578446784477844878449784507845178452784537845478455784567845778458784597846078461784627846378464784657846678467784687846978470784717847278473784747847578476784777847878479784807848178482784837848478485784867848778488784897849078491784927849378494784957849678497784987849978500785017850278503785047850578506785077850878509785107851178512785137851478515785167851778518785197852078521785227852378524785257852678527785287852978530785317853278533785347853578536785377853878539785407854178542785437854478545785467854778548785497855078551785527855378554785557855678557785587855978560785617856278563785647856578566785677856878569785707857178572785737857478575785767857778578785797858078581785827858378584785857858678587785887858978590785917859278593785947859578596785977859878599786007860178602786037860478605786067860778608786097861078611786127861378614786157861678617786187861978620786217862278623786247862578626786277862878629786307863178632786337863478635786367863778638786397864078641786427864378644786457864678647786487864978650786517865278653786547865578656786577865878659786607866178662786637866478665786667866778668786697867078671786727867378674786757867678677786787867978680786817868278683786847868578686786877868878689786907869178692786937869478695786967869778698786997870078701787027870378704787057870678707787087870978710787117871278713787147871578716787177871878719787207872178722787237872478725787267872778728787297873078731787327873378734787357873678737787387873978740787417874278743787447874578746787477874878749787507875178752787537875478755787567875778758787597876078761787627876378764787657876678767787687876978770787717877278773787747877578776787777877878779787807878178782787837878478785787867878778788787897879078791787927879378794787957879678797787987879978800788017880278803788047880578806788077880878809788107881178812788137881478815788167881778818788197882078821788227882378824788257882678827788287882978830788317883278833788347883578836788377883878839788407884178842788437884478845788467884778848788497885078851788527885378854788557885678857788587885978860788617886278863788647886578866788677886878869788707887178872788737887478875788767887778878788797888078881788827888378884788857888678887788887888978890788917889278893788947889578896788977889878899789007890178902789037890478905789067890778908789097891078911789127891378914789157891678917789187891978920789217892278923789247892578926789277892878929789307893178932789337893478935789367893778938789397894078941789427894378944789457894678947789487894978950789517895278953789547895578956789577895878959789607896178962789637896478965789667896778968789697897078971789727897378974789757897678977789787897978980789817898278983789847898578986789877898878989789907899178992789937899478995789967899778998789997900079001790027900379004790057900679007790087900979010790117901279013790147901579016790177901879019790207902179022790237902479025790267902779028790297903079031790327903379034790357903679037790387903979040790417904279043790447904579046790477904879049790507905179052790537905479055790567905779058790597906079061790627906379064790657906679067790687906979070790717907279073790747907579076790777907879079790807908179082790837908479085790867908779088790897909079091790927909379094790957909679097790987909979100791017910279103791047910579106791077910879109791107911179112791137911479115791167911779118791197912079121791227912379124791257912679127791287912979130791317913279133791347913579136791377913879139791407914179142791437914479145791467914779148791497915079151791527915379154791557915679157791587915979160791617916279163791647916579166791677916879169791707917179172791737917479175791767917779178791797918079181791827918379184791857918679187791887918979190791917919279193791947919579196791977919879199792007920179202792037920479205792067920779208792097921079211792127921379214792157921679217792187921979220792217922279223792247922579226792277922879229792307923179232792337923479235792367923779238792397924079241792427924379244792457924679247792487924979250792517925279253792547925579256792577925879259792607926179262792637926479265792667926779268792697927079271792727927379274792757927679277792787927979280792817928279283792847928579286792877928879289792907929179292792937929479295792967929779298792997930079301793027930379304793057930679307793087930979310793117931279313793147931579316793177931879319793207932179322793237932479325793267932779328793297933079331793327933379334793357933679337793387933979340793417934279343793447934579346793477934879349793507935179352793537935479355793567935779358793597936079361793627936379364793657936679367793687936979370793717937279373793747937579376793777937879379793807938179382793837938479385793867938779388793897939079391793927939379394793957939679397793987939979400794017940279403794047940579406794077940879409794107941179412794137941479415794167941779418794197942079421794227942379424794257942679427794287942979430794317943279433794347943579436794377943879439794407944179442794437944479445794467944779448794497945079451794527945379454794557945679457794587945979460794617946279463794647946579466794677946879469794707947179472794737947479475794767947779478794797948079481794827948379484794857948679487794887948979490794917949279493794947949579496794977949879499795007950179502795037950479505795067950779508795097951079511795127951379514795157951679517795187951979520795217952279523795247952579526795277952879529795307953179532795337953479535795367953779538795397954079541795427954379544795457954679547795487954979550795517955279553795547955579556795577955879559795607956179562795637956479565795667956779568795697957079571795727957379574795757957679577795787957979580795817958279583795847958579586795877958879589795907959179592795937959479595795967959779598795997960079601796027960379604796057960679607796087960979610796117961279613796147961579616796177961879619796207962179622796237962479625796267962779628796297963079631796327963379634796357963679637796387963979640796417964279643796447964579646796477964879649796507965179652796537965479655796567965779658796597966079661796627966379664796657966679667796687966979670796717967279673796747967579676796777967879679796807968179682796837968479685796867968779688796897969079691796927969379694796957969679697796987969979700797017970279703797047970579706797077970879709797107971179712797137971479715797167971779718797197972079721797227972379724797257972679727797287972979730797317973279733797347973579736797377973879739797407974179742797437974479745797467974779748797497975079751797527975379754797557975679757797587975979760797617976279763797647976579766797677976879769797707977179772797737977479775797767977779778797797978079781797827978379784797857978679787797887978979790797917979279793797947979579796797977979879799798007980179802798037980479805798067980779808798097981079811798127981379814798157981679817798187981979820798217982279823798247982579826798277982879829798307983179832798337983479835798367983779838798397984079841798427984379844798457984679847798487984979850798517985279853798547985579856798577985879859798607986179862798637986479865798667986779868798697987079871798727987379874798757987679877798787987979880798817988279883798847988579886798877988879889798907989179892798937989479895798967989779898798997990079901799027990379904799057990679907799087990979910799117991279913799147991579916799177991879919799207992179922799237992479925799267992779928799297993079931799327993379934799357993679937799387993979940799417994279943799447994579946799477994879949799507995179952799537995479955799567995779958799597996079961799627996379964799657996679967799687996979970799717997279973799747997579976799777997879979799807998179982799837998479985799867998779988799897999079991799927999379994799957999679997799987999980000800018000280003800048000580006800078000880009800108001180012800138001480015800168001780018800198002080021800228002380024800258002680027800288002980030800318003280033800348003580036800378003880039800408004180042800438004480045800468004780048800498005080051800528005380054800558005680057800588005980060800618006280063800648006580066800678006880069800708007180072800738007480075800768007780078800798008080081800828008380084800858008680087800888008980090800918009280093800948009580096800978009880099801008010180102801038010480105801068010780108801098011080111801128011380114801158011680117801188011980120801218012280123801248012580126801278012880129801308013180132801338013480135801368013780138801398014080141801428014380144801458014680147801488014980150801518015280153801548015580156801578015880159801608016180162801638016480165801668016780168801698017080171801728017380174801758017680177801788017980180801818018280183801848018580186801878018880189801908019180192801938019480195801968019780198801998020080201802028020380204802058020680207802088020980210802118021280213802148021580216802178021880219802208022180222802238022480225802268022780228802298023080231802328023380234802358023680237802388023980240802418024280243802448024580246802478024880249802508025180252802538025480255802568025780258802598026080261802628026380264802658026680267802688026980270802718027280273802748027580276802778027880279802808028180282802838028480285802868028780288802898029080291802928029380294802958029680297802988029980300803018030280303803048030580306803078030880309803108031180312803138031480315803168031780318803198032080321803228032380324803258032680327803288032980330803318033280333803348033580336803378033880339803408034180342803438034480345803468034780348803498035080351803528035380354803558035680357803588035980360803618036280363803648036580366803678036880369803708037180372803738037480375803768037780378803798038080381803828038380384803858038680387803888038980390803918039280393803948039580396803978039880399804008040180402804038040480405804068040780408804098041080411804128041380414804158041680417804188041980420804218042280423804248042580426804278042880429804308043180432804338043480435804368043780438804398044080441804428044380444804458044680447804488044980450804518045280453804548045580456804578045880459804608046180462804638046480465804668046780468804698047080471804728047380474804758047680477804788047980480804818048280483804848048580486804878048880489804908049180492804938049480495804968049780498804998050080501805028050380504805058050680507805088050980510805118051280513805148051580516805178051880519805208052180522805238052480525805268052780528805298053080531805328053380534805358053680537805388053980540805418054280543805448054580546805478054880549805508055180552805538055480555805568055780558805598056080561805628056380564805658056680567805688056980570805718057280573805748057580576805778057880579805808058180582805838058480585805868058780588805898059080591805928059380594805958059680597805988059980600806018060280603806048060580606806078060880609806108061180612806138061480615806168061780618806198062080621806228062380624806258062680627806288062980630806318063280633806348063580636806378063880639806408064180642806438064480645806468064780648806498065080651806528065380654806558065680657806588065980660806618066280663806648066580666806678066880669806708067180672806738067480675806768067780678806798068080681806828068380684806858068680687806888068980690806918069280693806948069580696806978069880699807008070180702807038070480705807068070780708807098071080711807128071380714807158071680717807188071980720807218072280723807248072580726807278072880729807308073180732807338073480735807368073780738807398074080741807428074380744807458074680747807488074980750807518075280753807548075580756807578075880759807608076180762807638076480765807668076780768807698077080771807728077380774807758077680777807788077980780807818078280783807848078580786807878078880789807908079180792807938079480795807968079780798807998080080801808028080380804808058080680807808088080980810808118081280813808148081580816808178081880819808208082180822808238082480825808268082780828808298083080831808328083380834808358083680837808388083980840808418084280843808448084580846808478084880849808508085180852808538085480855808568085780858808598086080861808628086380864808658086680867808688086980870808718087280873808748087580876808778087880879808808088180882808838088480885808868088780888808898089080891808928089380894808958089680897808988089980900809018090280903809048090580906809078090880909809108091180912809138091480915809168091780918809198092080921809228092380924809258092680927809288092980930809318093280933809348093580936809378093880939809408094180942809438094480945809468094780948809498095080951809528095380954809558095680957809588095980960809618096280963809648096580966809678096880969809708097180972809738097480975809768097780978809798098080981809828098380984809858098680987809888098980990809918099280993809948099580996809978099880999810008100181002810038100481005810068100781008810098101081011810128101381014810158101681017810188101981020810218102281023810248102581026810278102881029810308103181032810338103481035810368103781038810398104081041810428104381044810458104681047810488104981050810518105281053810548105581056810578105881059810608106181062810638106481065810668106781068810698107081071810728107381074810758107681077810788107981080810818108281083810848108581086810878108881089810908109181092810938109481095810968109781098810998110081101811028110381104811058110681107811088110981110811118111281113811148111581116811178111881119811208112181122811238112481125811268112781128811298113081131811328113381134811358113681137811388113981140811418114281143811448114581146811478114881149811508115181152811538115481155811568115781158811598116081161811628116381164811658116681167811688116981170811718117281173811748117581176811778117881179811808118181182811838118481185811868118781188811898119081191811928119381194811958119681197811988119981200812018120281203812048120581206812078120881209812108121181212812138121481215812168121781218812198122081221812228122381224812258122681227812288122981230812318123281233812348123581236812378123881239812408124181242812438124481245812468124781248812498125081251812528125381254812558125681257812588125981260812618126281263812648126581266812678126881269812708127181272812738127481275812768127781278812798128081281812828128381284812858128681287812888128981290812918129281293812948129581296812978129881299813008130181302813038130481305813068130781308813098131081311813128131381314813158131681317813188131981320813218132281323813248132581326813278132881329813308133181332813338133481335813368133781338813398134081341813428134381344813458134681347813488134981350813518135281353813548135581356813578135881359813608136181362813638136481365813668136781368813698137081371813728137381374813758137681377813788137981380813818138281383813848138581386813878138881389813908139181392813938139481395813968139781398813998140081401814028140381404814058140681407814088140981410814118141281413814148141581416814178141881419814208142181422814238142481425814268142781428814298143081431814328143381434814358143681437814388143981440814418144281443814448144581446814478144881449814508145181452814538145481455814568145781458814598146081461814628146381464814658146681467814688146981470814718147281473814748147581476814778147881479814808148181482814838148481485814868148781488814898149081491814928149381494814958149681497814988149981500815018150281503815048150581506815078150881509815108151181512815138151481515815168151781518815198152081521815228152381524815258152681527815288152981530815318153281533815348153581536815378153881539815408154181542815438154481545815468154781548815498155081551815528155381554815558155681557815588155981560815618156281563815648156581566815678156881569815708157181572815738157481575815768157781578815798158081581815828158381584815858158681587815888158981590815918159281593815948159581596815978159881599816008160181602816038160481605816068160781608816098161081611816128161381614816158161681617816188161981620816218162281623816248162581626816278162881629816308163181632816338163481635816368163781638816398164081641816428164381644816458164681647816488164981650816518165281653816548165581656816578165881659816608166181662816638166481665816668166781668816698167081671816728167381674816758167681677816788167981680816818168281683816848168581686816878168881689816908169181692816938169481695816968169781698816998170081701817028170381704817058170681707817088170981710817118171281713817148171581716817178171881719817208172181722817238172481725817268172781728817298173081731817328173381734817358173681737817388173981740817418174281743817448174581746817478174881749817508175181752817538175481755817568175781758817598176081761817628176381764817658176681767817688176981770817718177281773817748177581776817778177881779817808178181782817838178481785817868178781788817898179081791817928179381794817958179681797817988179981800818018180281803818048180581806818078180881809818108181181812818138181481815818168181781818818198182081821818228182381824818258182681827818288182981830818318183281833818348183581836818378183881839818408184181842818438184481845818468184781848818498185081851818528185381854818558185681857818588185981860818618186281863818648186581866818678186881869818708187181872818738187481875818768187781878818798188081881818828188381884818858188681887818888188981890818918189281893818948189581896818978189881899819008190181902819038190481905819068190781908819098191081911819128191381914819158191681917819188191981920819218192281923819248192581926819278192881929819308193181932819338193481935819368193781938819398194081941819428194381944819458194681947819488194981950819518195281953819548195581956819578195881959819608196181962819638196481965819668196781968819698197081971819728197381974819758197681977819788197981980819818198281983819848198581986819878198881989819908199181992819938199481995819968199781998819998200082001820028200382004820058200682007820088200982010820118201282013820148201582016820178201882019820208202182022820238202482025820268202782028820298203082031820328203382034820358203682037820388203982040820418204282043820448204582046820478204882049820508205182052820538205482055820568205782058820598206082061820628206382064820658206682067820688206982070820718207282073820748207582076820778207882079820808208182082820838208482085820868208782088820898209082091820928209382094820958209682097820988209982100821018210282103821048210582106821078210882109821108211182112821138211482115821168211782118821198212082121821228212382124821258212682127821288212982130821318213282133821348213582136821378213882139821408214182142821438214482145821468214782148821498215082151821528215382154821558215682157821588215982160821618216282163821648216582166821678216882169821708217182172821738217482175821768217782178821798218082181821828218382184821858218682187821888218982190821918219282193821948219582196821978219882199822008220182202822038220482205822068220782208822098221082211822128221382214822158221682217822188221982220822218222282223822248222582226822278222882229822308223182232822338223482235822368223782238822398224082241822428224382244822458224682247822488224982250822518225282253822548225582256822578225882259822608226182262822638226482265822668226782268822698227082271822728227382274822758227682277822788227982280822818228282283822848228582286822878228882289822908229182292822938229482295822968229782298822998230082301823028230382304823058230682307823088230982310823118231282313823148231582316823178231882319823208232182322823238232482325823268232782328823298233082331823328233382334823358233682337823388233982340823418234282343823448234582346823478234882349823508235182352823538235482355823568235782358823598236082361823628236382364823658236682367823688236982370823718237282373823748237582376823778237882379823808238182382823838238482385823868238782388823898239082391823928239382394823958239682397823988239982400824018240282403824048240582406824078240882409824108241182412824138241482415824168241782418824198242082421824228242382424824258242682427824288242982430824318243282433824348243582436824378243882439824408244182442824438244482445824468244782448824498245082451824528245382454824558245682457824588245982460824618246282463824648246582466824678246882469824708247182472824738247482475824768247782478824798248082481824828248382484824858248682487824888248982490824918249282493824948249582496824978249882499825008250182502825038250482505825068250782508825098251082511825128251382514825158251682517825188251982520825218252282523825248252582526825278252882529825308253182532825338253482535825368253782538825398254082541825428254382544825458254682547825488254982550825518255282553825548255582556825578255882559825608256182562825638256482565825668256782568825698257082571825728257382574825758257682577825788257982580825818258282583825848258582586825878258882589825908259182592825938259482595825968259782598825998260082601826028260382604826058260682607826088260982610826118261282613826148261582616826178261882619826208262182622826238262482625826268262782628826298263082631826328263382634826358263682637826388263982640826418264282643826448264582646826478264882649826508265182652826538265482655826568265782658826598266082661826628266382664826658266682667826688266982670826718267282673826748267582676826778267882679826808268182682826838268482685826868268782688826898269082691826928269382694826958269682697826988269982700827018270282703827048270582706827078270882709827108271182712827138271482715827168271782718827198272082721827228272382724827258272682727827288272982730827318273282733827348273582736827378273882739827408274182742827438274482745827468274782748827498275082751827528275382754827558275682757827588275982760827618276282763827648276582766827678276882769827708277182772827738277482775827768277782778827798278082781827828278382784827858278682787827888278982790827918279282793827948279582796827978279882799828008280182802828038280482805828068280782808828098281082811828128281382814828158281682817828188281982820828218282282823828248282582826828278282882829828308283182832828338283482835828368283782838828398284082841828428284382844828458284682847828488284982850828518285282853828548285582856828578285882859828608286182862828638286482865828668286782868828698287082871828728287382874828758287682877828788287982880828818288282883828848288582886828878288882889828908289182892828938289482895828968289782898828998290082901829028290382904829058290682907829088290982910829118291282913829148291582916829178291882919829208292182922829238292482925829268292782928829298293082931829328293382934829358293682937829388293982940829418294282943829448294582946829478294882949829508295182952829538295482955829568295782958829598296082961829628296382964829658296682967829688296982970829718297282973829748297582976829778297882979829808298182982829838298482985829868298782988829898299082991829928299382994829958299682997829988299983000830018300283003830048300583006830078300883009830108301183012830138301483015830168301783018830198302083021830228302383024830258302683027830288302983030830318303283033830348303583036830378303883039830408304183042830438304483045830468304783048830498305083051830528305383054830558305683057830588305983060830618306283063830648306583066830678306883069830708307183072830738307483075830768307783078830798308083081830828308383084830858308683087830888308983090830918309283093830948309583096830978309883099831008310183102831038310483105831068310783108831098311083111831128311383114831158311683117831188311983120831218312283123831248312583126831278312883129831308313183132831338313483135831368313783138831398314083141831428314383144831458314683147831488314983150831518315283153831548315583156831578315883159831608316183162831638316483165831668316783168831698317083171831728317383174831758317683177831788317983180831818318283183831848318583186831878318883189831908319183192831938319483195831968319783198831998320083201832028320383204832058320683207832088320983210832118321283213832148321583216832178321883219832208322183222832238322483225832268322783228832298323083231832328323383234832358323683237832388323983240832418324283243832448324583246832478324883249832508325183252832538325483255832568325783258832598326083261832628326383264832658326683267832688326983270832718327283273832748327583276832778327883279832808328183282832838328483285832868328783288832898329083291832928329383294832958329683297832988329983300833018330283303833048330583306833078330883309833108331183312833138331483315833168331783318833198332083321833228332383324833258332683327833288332983330833318333283333833348333583336833378333883339833408334183342833438334483345833468334783348833498335083351833528335383354833558335683357833588335983360833618336283363833648336583366833678336883369833708337183372833738337483375833768337783378833798338083381833828338383384833858338683387833888338983390833918339283393833948339583396833978339883399834008340183402834038340483405834068340783408834098341083411834128341383414834158341683417834188341983420834218342283423834248342583426834278342883429834308343183432834338343483435834368343783438834398344083441834428344383444834458344683447834488344983450834518345283453834548345583456834578345883459834608346183462834638346483465834668346783468834698347083471834728347383474834758347683477834788347983480834818348283483834848348583486834878348883489834908349183492834938349483495834968349783498834998350083501835028350383504835058350683507835088350983510835118351283513835148351583516835178351883519835208352183522835238352483525835268352783528835298353083531835328353383534835358353683537835388353983540835418354283543835448354583546835478354883549835508355183552835538355483555835568355783558835598356083561835628356383564835658356683567835688356983570835718357283573835748357583576835778357883579835808358183582835838358483585835868358783588835898359083591835928359383594835958359683597835988359983600836018360283603836048360583606836078360883609836108361183612836138361483615836168361783618836198362083621836228362383624836258362683627836288362983630836318363283633836348363583636836378363883639836408364183642836438364483645836468364783648836498365083651836528365383654836558365683657836588365983660836618366283663836648366583666836678366883669836708367183672836738367483675836768367783678836798368083681836828368383684836858368683687836888368983690836918369283693836948369583696836978369883699837008370183702837038370483705837068370783708837098371083711837128371383714837158371683717837188371983720837218372283723837248372583726837278372883729837308373183732837338373483735837368373783738837398374083741837428374383744837458374683747837488374983750837518375283753837548375583756837578375883759837608376183762837638376483765837668376783768837698377083771837728377383774837758377683777837788377983780837818378283783837848378583786837878378883789837908379183792837938379483795837968379783798837998380083801838028380383804838058380683807838088380983810838118381283813838148381583816838178381883819838208382183822838238382483825838268382783828838298383083831838328383383834838358383683837838388383983840838418384283843838448384583846838478384883849838508385183852838538385483855838568385783858838598386083861838628386383864838658386683867838688386983870838718387283873838748387583876838778387883879838808388183882838838388483885838868388783888838898389083891838928389383894838958389683897838988389983900839018390283903839048390583906839078390883909839108391183912839138391483915839168391783918839198392083921839228392383924839258392683927839288392983930839318393283933839348393583936839378393883939839408394183942839438394483945839468394783948839498395083951839528395383954839558395683957839588395983960839618396283963839648396583966839678396883969839708397183972839738397483975839768397783978839798398083981839828398383984839858398683987839888398983990839918399283993839948399583996839978399883999840008400184002840038400484005840068400784008840098401084011840128401384014840158401684017840188401984020840218402284023840248402584026840278402884029840308403184032840338403484035840368403784038840398404084041840428404384044840458404684047840488404984050840518405284053840548405584056840578405884059840608406184062840638406484065840668406784068840698407084071840728407384074840758407684077840788407984080840818408284083840848408584086840878408884089840908409184092840938409484095840968409784098840998410084101841028410384104841058410684107841088410984110841118411284113841148411584116841178411884119841208412184122841238412484125841268412784128841298413084131841328413384134841358413684137841388413984140841418414284143841448414584146841478414884149841508415184152841538415484155841568415784158841598416084161841628416384164841658416684167841688416984170841718417284173841748417584176841778417884179841808418184182841838418484185841868418784188841898419084191841928419384194841958419684197841988419984200842018420284203842048420584206842078420884209842108421184212842138421484215842168421784218842198422084221842228422384224842258422684227842288422984230842318423284233842348423584236842378423884239842408424184242842438424484245842468424784248842498425084251842528425384254842558425684257842588425984260842618426284263842648426584266842678426884269842708427184272842738427484275842768427784278842798428084281842828428384284842858428684287842888428984290842918429284293842948429584296842978429884299843008430184302843038430484305843068430784308843098431084311843128431384314843158431684317843188431984320843218432284323843248432584326843278432884329843308433184332843338433484335843368433784338843398434084341843428434384344843458434684347843488434984350843518435284353843548435584356843578435884359843608436184362843638436484365843668436784368843698437084371843728437384374843758437684377843788437984380843818438284383843848438584386843878438884389843908439184392843938439484395843968439784398843998440084401844028440384404844058440684407844088440984410844118441284413844148441584416844178441884419844208442184422844238442484425844268442784428844298443084431844328443384434844358443684437844388443984440844418444284443844448444584446844478444884449844508445184452844538445484455844568445784458844598446084461844628446384464844658446684467844688446984470844718447284473844748447584476844778447884479844808448184482844838448484485844868448784488844898449084491844928449384494844958449684497844988449984500845018450284503845048450584506845078450884509845108451184512845138451484515845168451784518845198452084521845228452384524845258452684527845288452984530845318453284533845348453584536845378453884539845408454184542845438454484545845468454784548845498455084551845528455384554845558455684557845588455984560845618456284563845648456584566845678456884569845708457184572845738457484575845768457784578845798458084581845828458384584845858458684587845888458984590845918459284593845948459584596845978459884599846008460184602846038460484605846068460784608846098461084611846128461384614846158461684617846188461984620846218462284623846248462584626846278462884629846308463184632846338463484635846368463784638846398464084641846428464384644846458464684647846488464984650846518465284653846548465584656846578465884659846608466184662846638466484665846668466784668846698467084671846728467384674846758467684677846788467984680846818468284683846848468584686846878468884689846908469184692846938469484695846968469784698846998470084701847028470384704847058470684707847088470984710847118471284713847148471584716847178471884719847208472184722847238472484725847268472784728847298473084731847328473384734847358473684737847388473984740847418474284743847448474584746847478474884749847508475184752847538475484755847568475784758847598476084761847628476384764847658476684767847688476984770847718477284773847748477584776847778477884779847808478184782847838478484785847868478784788847898479084791847928479384794847958479684797847988479984800848018480284803848048480584806848078480884809848108481184812848138481484815848168481784818848198482084821848228482384824848258482684827848288482984830848318483284833848348483584836848378483884839848408484184842848438484484845848468484784848848498485084851848528485384854848558485684857848588485984860848618486284863848648486584866848678486884869848708487184872848738487484875848768487784878848798488084881848828488384884848858488684887848888488984890848918489284893848948489584896848978489884899849008490184902849038490484905849068490784908849098491084911849128491384914849158491684917849188491984920849218492284923849248492584926849278492884929849308493184932849338493484935849368493784938849398494084941849428494384944849458494684947849488494984950849518495284953849548495584956849578495884959849608496184962849638496484965849668496784968849698497084971849728497384974849758497684977849788497984980849818498284983849848498584986849878498884989849908499184992849938499484995849968499784998849998500085001850028500385004850058500685007850088500985010850118501285013850148501585016850178501885019850208502185022850238502485025850268502785028850298503085031850328503385034850358503685037850388503985040850418504285043850448504585046850478504885049850508505185052850538505485055850568505785058850598506085061850628506385064850658506685067850688506985070850718507285073850748507585076850778507885079850808508185082850838508485085850868508785088850898509085091850928509385094850958509685097850988509985100851018510285103851048510585106851078510885109851108511185112851138511485115851168511785118851198512085121851228512385124851258512685127851288512985130851318513285133851348513585136851378513885139851408514185142851438514485145851468514785148851498515085151851528515385154851558515685157851588515985160851618516285163851648516585166851678516885169851708517185172851738517485175851768517785178851798518085181851828518385184851858518685187851888518985190851918519285193851948519585196851978519885199852008520185202852038520485205852068520785208852098521085211852128521385214852158521685217852188521985220852218522285223852248522585226852278522885229852308523185232852338523485235852368523785238852398524085241852428524385244852458524685247852488524985250852518525285253852548525585256852578525885259852608526185262852638526485265852668526785268852698527085271852728527385274852758527685277852788527985280852818528285283852848528585286852878528885289852908529185292852938529485295852968529785298852998530085301853028530385304853058530685307853088530985310853118531285313853148531585316853178531885319853208532185322853238532485325853268532785328853298533085331853328533385334853358533685337853388533985340853418534285343853448534585346853478534885349853508535185352853538535485355853568535785358853598536085361853628536385364853658536685367853688536985370853718537285373853748537585376853778537885379853808538185382853838538485385853868538785388853898539085391853928539385394853958539685397853988539985400854018540285403854048540585406854078540885409854108541185412854138541485415854168541785418854198542085421854228542385424854258542685427854288542985430854318543285433854348543585436854378543885439854408544185442854438544485445854468544785448854498545085451854528545385454854558545685457854588545985460854618546285463854648546585466854678546885469854708547185472854738547485475854768547785478854798548085481854828548385484854858548685487854888548985490854918549285493854948549585496854978549885499855008550185502855038550485505855068550785508855098551085511855128551385514855158551685517855188551985520855218552285523855248552585526855278552885529855308553185532855338553485535855368553785538855398554085541855428554385544855458554685547855488554985550855518555285553855548555585556855578555885559855608556185562855638556485565855668556785568855698557085571855728557385574855758557685577855788557985580855818558285583855848558585586855878558885589855908559185592855938559485595855968559785598855998560085601856028560385604856058560685607856088560985610856118561285613856148561585616856178561885619856208562185622856238562485625856268562785628856298563085631856328563385634856358563685637856388563985640856418564285643856448564585646856478564885649856508565185652856538565485655856568565785658856598566085661856628566385664856658566685667856688566985670856718567285673856748567585676856778567885679856808568185682856838568485685856868568785688856898569085691856928569385694856958569685697856988569985700857018570285703857048570585706857078570885709857108571185712857138571485715857168571785718857198572085721857228572385724857258572685727857288572985730857318573285733857348573585736857378573885739857408574185742857438574485745857468574785748857498575085751857528575385754857558575685757857588575985760857618576285763857648576585766857678576885769857708577185772857738577485775857768577785778857798578085781857828578385784857858578685787857888578985790857918579285793857948579585796857978579885799858008580185802858038580485805858068580785808858098581085811858128581385814858158581685817858188581985820858218582285823858248582585826858278582885829858308583185832858338583485835858368583785838858398584085841858428584385844858458584685847858488584985850858518585285853858548585585856858578585885859858608586185862858638586485865858668586785868858698587085871858728587385874858758587685877858788587985880858818588285883858848588585886858878588885889858908589185892858938589485895858968589785898858998590085901859028590385904859058590685907859088590985910859118591285913859148591585916859178591885919859208592185922859238592485925859268592785928859298593085931859328593385934859358593685937859388593985940859418594285943859448594585946859478594885949859508595185952859538595485955859568595785958859598596085961859628596385964859658596685967859688596985970859718597285973859748597585976859778597885979859808598185982859838598485985859868598785988859898599085991859928599385994859958599685997859988599986000860018600286003860048600586006860078600886009860108601186012860138601486015860168601786018860198602086021860228602386024860258602686027860288602986030860318603286033860348603586036860378603886039860408604186042860438604486045860468604786048860498605086051860528605386054860558605686057860588605986060860618606286063860648606586066860678606886069860708607186072860738607486075860768607786078860798608086081860828608386084860858608686087860888608986090860918609286093860948609586096860978609886099861008610186102861038610486105861068610786108861098611086111861128611386114861158611686117861188611986120861218612286123861248612586126861278612886129861308613186132861338613486135861368613786138861398614086141861428614386144861458614686147861488614986150861518615286153861548615586156861578615886159861608616186162861638616486165861668616786168861698617086171861728617386174861758617686177861788617986180861818618286183861848618586186861878618886189861908619186192861938619486195861968619786198861998620086201862028620386204862058620686207862088620986210862118621286213862148621586216862178621886219862208622186222862238622486225862268622786228862298623086231862328623386234862358623686237862388623986240862418624286243862448624586246862478624886249862508625186252862538625486255862568625786258862598626086261862628626386264862658626686267862688626986270862718627286273862748627586276862778627886279862808628186282862838628486285862868628786288862898629086291862928629386294862958629686297862988629986300863018630286303863048630586306863078630886309863108631186312863138631486315863168631786318863198632086321863228632386324863258632686327863288632986330863318633286333863348633586336863378633886339863408634186342863438634486345863468634786348863498635086351863528635386354863558635686357863588635986360863618636286363863648636586366863678636886369863708637186372863738637486375863768637786378863798638086381863828638386384863858638686387863888638986390863918639286393863948639586396863978639886399864008640186402864038640486405864068640786408864098641086411864128641386414864158641686417864188641986420864218642286423864248642586426864278642886429864308643186432864338643486435864368643786438864398644086441864428644386444864458644686447864488644986450864518645286453864548645586456864578645886459864608646186462864638646486465864668646786468864698647086471864728647386474864758647686477864788647986480864818648286483864848648586486864878648886489864908649186492864938649486495864968649786498864998650086501865028650386504865058650686507865088650986510865118651286513865148651586516865178651886519865208652186522865238652486525865268652786528865298653086531865328653386534865358653686537865388653986540865418654286543865448654586546865478654886549865508655186552865538655486555865568655786558865598656086561865628656386564865658656686567865688656986570865718657286573865748657586576865778657886579865808658186582865838658486585865868658786588865898659086591865928659386594865958659686597865988659986600866018660286603866048660586606866078660886609866108661186612866138661486615866168661786618866198662086621866228662386624866258662686627866288662986630866318663286633866348663586636866378663886639866408664186642866438664486645866468664786648866498665086651866528665386654866558665686657866588665986660866618666286663866648666586666866678666886669866708667186672866738667486675866768667786678866798668086681866828668386684866858668686687866888668986690866918669286693866948669586696866978669886699867008670186702867038670486705867068670786708867098671086711867128671386714867158671686717867188671986720867218672286723867248672586726867278672886729867308673186732867338673486735867368673786738867398674086741867428674386744867458674686747867488674986750867518675286753867548675586756867578675886759867608676186762867638676486765867668676786768867698677086771867728677386774867758677686777867788677986780867818678286783867848678586786867878678886789867908679186792867938679486795867968679786798867998680086801868028680386804868058680686807868088680986810868118681286813868148681586816868178681886819868208682186822868238682486825868268682786828868298683086831868328683386834868358683686837868388683986840868418684286843868448684586846868478684886849868508685186852868538685486855868568685786858868598686086861868628686386864868658686686867868688686986870868718687286873868748687586876868778687886879868808688186882868838688486885868868688786888868898689086891868928689386894868958689686897868988689986900869018690286903869048690586906869078690886909869108691186912869138691486915869168691786918869198692086921869228692386924869258692686927869288692986930869318693286933869348693586936869378693886939869408694186942869438694486945869468694786948869498695086951869528695386954869558695686957869588695986960869618696286963869648696586966869678696886969869708697186972869738697486975869768697786978869798698086981869828698386984869858698686987869888698986990869918699286993869948699586996869978699886999870008700187002870038700487005870068700787008870098701087011870128701387014870158701687017870188701987020870218702287023870248702587026870278702887029870308703187032870338703487035870368703787038870398704087041870428704387044870458704687047870488704987050870518705287053870548705587056870578705887059870608706187062870638706487065870668706787068870698707087071870728707387074870758707687077870788707987080870818708287083870848708587086870878708887089870908709187092870938709487095870968709787098870998710087101871028710387104871058710687107871088710987110871118711287113871148711587116871178711887119871208712187122871238712487125871268712787128871298713087131871328713387134871358713687137871388713987140871418714287143871448714587146871478714887149871508715187152871538715487155871568715787158871598716087161871628716387164871658716687167871688716987170871718717287173871748717587176871778717887179871808718187182871838718487185871868718787188871898719087191871928719387194871958719687197871988719987200872018720287203872048720587206872078720887209872108721187212872138721487215872168721787218872198722087221872228722387224872258722687227872288722987230872318723287233872348723587236872378723887239872408724187242872438724487245872468724787248872498725087251872528725387254872558725687257872588725987260872618726287263872648726587266872678726887269872708727187272872738727487275872768727787278872798728087281872828728387284872858728687287872888728987290872918729287293872948729587296872978729887299873008730187302873038730487305873068730787308873098731087311873128731387314873158731687317873188731987320873218732287323873248732587326873278732887329873308733187332873338733487335873368733787338873398734087341873428734387344873458734687347873488734987350873518735287353873548735587356873578735887359873608736187362873638736487365873668736787368873698737087371873728737387374873758737687377873788737987380873818738287383873848738587386873878738887389873908739187392873938739487395873968739787398873998740087401874028740387404874058740687407874088740987410874118741287413874148741587416874178741887419874208742187422874238742487425874268742787428874298743087431874328743387434874358743687437874388743987440874418744287443874448744587446874478744887449874508745187452874538745487455874568745787458874598746087461874628746387464874658746687467874688746987470874718747287473874748747587476874778747887479874808748187482874838748487485874868748787488874898749087491874928749387494874958749687497874988749987500875018750287503875048750587506875078750887509875108751187512875138751487515875168751787518875198752087521875228752387524875258752687527875288752987530875318753287533875348753587536875378753887539875408754187542875438754487545875468754787548875498755087551875528755387554875558755687557875588755987560875618756287563875648756587566875678756887569875708757187572875738757487575875768757787578875798758087581875828758387584875858758687587875888758987590875918759287593875948759587596875978759887599876008760187602876038760487605876068760787608876098761087611876128761387614876158761687617876188761987620876218762287623876248762587626876278762887629876308763187632876338763487635876368763787638876398764087641876428764387644876458764687647876488764987650876518765287653876548765587656876578765887659876608766187662876638766487665876668766787668876698767087671876728767387674876758767687677876788767987680876818768287683876848768587686876878768887689876908769187692876938769487695876968769787698876998770087701877028770387704877058770687707877088770987710877118771287713877148771587716877178771887719877208772187722877238772487725877268772787728877298773087731877328773387734877358773687737877388773987740877418774287743877448774587746877478774887749877508775187752877538775487755877568775787758877598776087761877628776387764877658776687767877688776987770877718777287773877748777587776877778777887779877808778187782877838778487785877868778787788877898779087791877928779387794877958779687797877988779987800878018780287803878048780587806878078780887809878108781187812878138781487815878168781787818878198782087821878228782387824878258782687827878288782987830878318783287833878348783587836878378783887839878408784187842878438784487845878468784787848878498785087851878528785387854878558785687857878588785987860878618786287863878648786587866878678786887869878708787187872878738787487875878768787787878878798788087881878828788387884878858788687887878888788987890878918789287893878948789587896878978789887899879008790187902879038790487905879068790787908879098791087911879128791387914879158791687917879188791987920879218792287923879248792587926879278792887929879308793187932879338793487935879368793787938879398794087941879428794387944879458794687947879488794987950879518795287953879548795587956879578795887959879608796187962879638796487965879668796787968879698797087971879728797387974879758797687977879788797987980879818798287983879848798587986879878798887989879908799187992879938799487995879968799787998879998800088001880028800388004880058800688007880088800988010880118801288013880148801588016880178801888019880208802188022880238802488025880268802788028880298803088031880328803388034880358803688037880388803988040880418804288043880448804588046880478804888049880508805188052880538805488055880568805788058880598806088061880628806388064880658806688067880688806988070880718807288073880748807588076880778807888079880808808188082880838808488085880868808788088880898809088091880928809388094880958809688097880988809988100881018810288103881048810588106881078810888109881108811188112881138811488115881168811788118881198812088121881228812388124881258812688127881288812988130881318813288133881348813588136881378813888139881408814188142881438814488145881468814788148881498815088151881528815388154881558815688157881588815988160881618816288163881648816588166881678816888169881708817188172881738817488175881768817788178881798818088181881828818388184881858818688187881888818988190881918819288193881948819588196881978819888199882008820188202882038820488205882068820788208882098821088211882128821388214882158821688217882188821988220882218822288223882248822588226882278822888229882308823188232882338823488235882368823788238882398824088241882428824388244882458824688247882488824988250882518825288253882548825588256882578825888259882608826188262882638826488265882668826788268882698827088271882728827388274882758827688277882788827988280882818828288283882848828588286882878828888289882908829188292882938829488295882968829788298882998830088301883028830388304883058830688307883088830988310883118831288313883148831588316883178831888319883208832188322883238832488325883268832788328883298833088331883328833388334883358833688337883388833988340883418834288343883448834588346883478834888349883508835188352883538835488355883568835788358883598836088361883628836388364883658836688367883688836988370883718837288373883748837588376883778837888379883808838188382883838838488385883868838788388883898839088391883928839388394883958839688397883988839988400884018840288403884048840588406884078840888409884108841188412884138841488415884168841788418884198842088421884228842388424884258842688427884288842988430884318843288433884348843588436884378843888439884408844188442884438844488445884468844788448884498845088451884528845388454884558845688457884588845988460884618846288463884648846588466884678846888469884708847188472884738847488475884768847788478884798848088481884828848388484884858848688487884888848988490884918849288493884948849588496884978849888499885008850188502885038850488505885068850788508885098851088511885128851388514885158851688517885188851988520885218852288523885248852588526885278852888529885308853188532885338853488535885368853788538885398854088541885428854388544885458854688547885488854988550885518855288553885548855588556885578855888559885608856188562885638856488565885668856788568885698857088571885728857388574885758857688577885788857988580885818858288583885848858588586885878858888589885908859188592885938859488595885968859788598885998860088601886028860388604886058860688607886088860988610886118861288613886148861588616886178861888619886208862188622886238862488625886268862788628886298863088631886328863388634886358863688637886388863988640886418864288643886448864588646886478864888649886508865188652886538865488655886568865788658886598866088661886628866388664886658866688667886688866988670886718867288673886748867588676886778867888679886808868188682886838868488685886868868788688886898869088691886928869388694886958869688697886988869988700887018870288703887048870588706887078870888709887108871188712887138871488715887168871788718887198872088721887228872388724887258872688727887288872988730887318873288733887348873588736887378873888739887408874188742887438874488745887468874788748887498875088751887528875388754887558875688757887588875988760887618876288763887648876588766887678876888769887708877188772887738877488775887768877788778887798878088781887828878388784887858878688787887888878988790887918879288793887948879588796887978879888799888008880188802888038880488805888068880788808888098881088811888128881388814888158881688817888188881988820888218882288823888248882588826888278882888829888308883188832888338883488835888368883788838888398884088841888428884388844888458884688847888488884988850888518885288853888548885588856888578885888859888608886188862888638886488865888668886788868888698887088871888728887388874888758887688877888788887988880888818888288883888848888588886888878888888889888908889188892888938889488895888968889788898888998890088901889028890388904889058890688907889088890988910889118891288913889148891588916889178891888919889208892188922889238892488925889268892788928889298893088931889328893388934889358893688937889388893988940889418894288943889448894588946889478894888949889508895188952889538895488955889568895788958889598896088961889628896388964889658896688967889688896988970889718897288973889748897588976889778897888979889808898188982889838898488985889868898788988889898899088991889928899388994889958899688997889988899989000890018900289003890048900589006890078900889009890108901189012890138901489015890168901789018890198902089021890228902389024890258902689027890288902989030890318903289033890348903589036890378903889039890408904189042890438904489045890468904789048890498905089051890528905389054890558905689057890588905989060890618906289063890648906589066890678906889069890708907189072890738907489075890768907789078890798908089081890828908389084890858908689087890888908989090890918909289093890948909589096890978909889099891008910189102891038910489105891068910789108891098911089111891128911389114891158911689117891188911989120891218912289123891248912589126891278912889129891308913189132891338913489135891368913789138891398914089141891428914389144891458914689147891488914989150891518915289153891548915589156891578915889159891608916189162891638916489165891668916789168891698917089171891728917389174891758917689177891788917989180891818918289183891848918589186891878918889189891908919189192891938919489195891968919789198891998920089201892028920389204892058920689207892088920989210892118921289213892148921589216892178921889219892208922189222892238922489225892268922789228892298923089231892328923389234892358923689237892388923989240892418924289243892448924589246892478924889249892508925189252892538925489255892568925789258892598926089261892628926389264892658926689267892688926989270892718927289273892748927589276892778927889279892808928189282892838928489285892868928789288892898929089291892928929389294892958929689297892988929989300893018930289303893048930589306893078930889309893108931189312893138931489315893168931789318893198932089321893228932389324893258932689327893288932989330893318933289333893348933589336893378933889339893408934189342893438934489345893468934789348893498935089351893528935389354893558935689357893588935989360893618936289363893648936589366893678936889369893708937189372893738937489375893768937789378893798938089381893828938389384893858938689387893888938989390893918939289393893948939589396893978939889399894008940189402894038940489405894068940789408894098941089411894128941389414894158941689417894188941989420894218942289423894248942589426894278942889429894308943189432894338943489435894368943789438894398944089441894428944389444894458944689447894488944989450894518945289453894548945589456894578945889459894608946189462894638946489465894668946789468894698947089471894728947389474894758947689477894788947989480894818948289483894848948589486894878948889489894908949189492894938949489495894968949789498894998950089501895028950389504895058950689507895088950989510895118951289513895148951589516895178951889519895208952189522895238952489525895268952789528895298953089531895328953389534895358953689537895388953989540895418954289543895448954589546895478954889549895508955189552895538955489555895568955789558895598956089561895628956389564895658956689567895688956989570895718957289573895748957589576895778957889579895808958189582895838958489585895868958789588895898959089591895928959389594895958959689597895988959989600896018960289603896048960589606896078960889609896108961189612896138961489615896168961789618896198962089621896228962389624896258962689627896288962989630896318963289633896348963589636896378963889639896408964189642896438964489645896468964789648896498965089651896528965389654896558965689657896588965989660896618966289663896648966589666896678966889669896708967189672896738967489675896768967789678896798968089681896828968389684896858968689687896888968989690896918969289693896948969589696896978969889699897008970189702897038970489705897068970789708897098971089711897128971389714897158971689717897188971989720897218972289723897248972589726897278972889729897308973189732897338973489735897368973789738897398974089741897428974389744897458974689747897488974989750897518975289753897548975589756897578975889759897608976189762897638976489765897668976789768897698977089771897728977389774897758977689777897788977989780897818978289783897848978589786897878978889789897908979189792897938979489795897968979789798897998980089801898028980389804898058980689807898088980989810898118981289813898148981589816898178981889819898208982189822898238982489825898268982789828898298983089831898328983389834898358983689837898388983989840898418984289843898448984589846898478984889849898508985189852898538985489855898568985789858898598986089861898628986389864898658986689867898688986989870898718987289873898748987589876898778987889879898808988189882898838988489885898868988789888898898989089891898928989389894898958989689897898988989989900899018990289903899048990589906899078990889909899108991189912899138991489915899168991789918899198992089921899228992389924899258992689927899288992989930899318993289933899348993589936899378993889939899408994189942899438994489945899468994789948899498995089951899528995389954899558995689957899588995989960899618996289963899648996589966899678996889969899708997189972899738997489975899768997789978899798998089981899828998389984899858998689987899888998989990899918999289993899948999589996899978999889999900009000190002900039000490005900069000790008900099001090011900129001390014900159001690017900189001990020900219002290023900249002590026900279002890029900309003190032900339003490035900369003790038900399004090041900429004390044900459004690047900489004990050900519005290053900549005590056900579005890059900609006190062900639006490065900669006790068900699007090071900729007390074900759007690077900789007990080900819008290083900849008590086900879008890089900909009190092900939009490095900969009790098900999010090101901029010390104901059010690107901089010990110901119011290113901149011590116901179011890119901209012190122901239012490125901269012790128901299013090131901329013390134901359013690137901389013990140901419014290143901449014590146901479014890149901509015190152901539015490155901569015790158901599016090161901629016390164901659016690167901689016990170901719017290173901749017590176901779017890179901809018190182901839018490185901869018790188901899019090191901929019390194901959019690197901989019990200902019020290203902049020590206902079020890209902109021190212902139021490215902169021790218902199022090221902229022390224902259022690227902289022990230902319023290233902349023590236902379023890239902409024190242902439024490245902469024790248902499025090251902529025390254902559025690257902589025990260902619026290263902649026590266902679026890269902709027190272902739027490275902769027790278902799028090281902829028390284902859028690287902889028990290902919029290293902949029590296902979029890299903009030190302903039030490305903069030790308903099031090311903129031390314903159031690317903189031990320903219032290323903249032590326903279032890329903309033190332903339033490335903369033790338903399034090341903429034390344903459034690347903489034990350903519035290353903549035590356903579035890359903609036190362903639036490365903669036790368903699037090371903729037390374903759037690377903789037990380903819038290383903849038590386903879038890389903909039190392903939039490395903969039790398903999040090401904029040390404904059040690407904089040990410904119041290413904149041590416904179041890419904209042190422904239042490425904269042790428904299043090431904329043390434904359043690437904389043990440904419044290443904449044590446904479044890449904509045190452904539045490455904569045790458904599046090461904629046390464904659046690467904689046990470904719047290473904749047590476904779047890479904809048190482904839048490485904869048790488904899049090491904929049390494904959049690497904989049990500905019050290503905049050590506905079050890509905109051190512905139051490515905169051790518905199052090521905229052390524905259052690527905289052990530905319053290533905349053590536905379053890539905409054190542905439054490545905469054790548905499055090551905529055390554905559055690557905589055990560905619056290563905649056590566905679056890569905709057190572905739057490575905769057790578905799058090581905829058390584905859058690587905889058990590905919059290593905949059590596905979059890599906009060190602906039060490605906069060790608906099061090611906129061390614906159061690617906189061990620906219062290623906249062590626906279062890629906309063190632906339063490635906369063790638906399064090641906429064390644906459064690647906489064990650906519065290653906549065590656906579065890659906609066190662906639066490665906669066790668906699067090671906729067390674906759067690677906789067990680906819068290683906849068590686906879068890689906909069190692906939069490695906969069790698906999070090701907029070390704907059070690707907089070990710907119071290713907149071590716907179071890719907209072190722907239072490725907269072790728907299073090731907329073390734907359073690737907389073990740907419074290743907449074590746907479074890749907509075190752907539075490755907569075790758907599076090761907629076390764907659076690767907689076990770907719077290773907749077590776907779077890779907809078190782907839078490785907869078790788907899079090791907929079390794907959079690797907989079990800908019080290803908049080590806908079080890809908109081190812908139081490815908169081790818908199082090821908229082390824908259082690827908289082990830908319083290833908349083590836908379083890839908409084190842908439084490845908469084790848908499085090851908529085390854908559085690857908589085990860908619086290863908649086590866908679086890869908709087190872908739087490875908769087790878908799088090881908829088390884908859088690887908889088990890908919089290893908949089590896908979089890899909009090190902909039090490905909069090790908909099091090911909129091390914909159091690917909189091990920909219092290923909249092590926909279092890929909309093190932909339093490935909369093790938909399094090941909429094390944909459094690947909489094990950909519095290953909549095590956909579095890959909609096190962909639096490965909669096790968909699097090971909729097390974909759097690977909789097990980909819098290983909849098590986909879098890989909909099190992909939099490995909969099790998909999100091001910029100391004910059100691007910089100991010910119101291013910149101591016910179101891019910209102191022910239102491025910269102791028910299103091031910329103391034910359103691037910389103991040910419104291043910449104591046910479104891049910509105191052910539105491055910569105791058910599106091061910629106391064910659106691067910689106991070910719107291073910749107591076910779107891079910809108191082910839108491085910869108791088910899109091091910929109391094910959109691097910989109991100911019110291103911049110591106911079110891109911109111191112911139111491115911169111791118911199112091121911229112391124911259112691127911289112991130911319113291133911349113591136911379113891139911409114191142911439114491145911469114791148911499115091151911529115391154911559115691157911589115991160911619116291163911649116591166911679116891169911709117191172911739117491175911769117791178911799118091181911829118391184911859118691187911889118991190911919119291193911949119591196911979119891199912009120191202912039120491205912069120791208912099121091211912129121391214912159121691217912189121991220912219122291223912249122591226912279122891229912309123191232912339123491235912369123791238912399124091241912429124391244912459124691247912489124991250912519125291253912549125591256912579125891259912609126191262912639126491265912669126791268912699127091271912729127391274912759127691277912789127991280912819128291283912849128591286912879128891289912909129191292912939129491295912969129791298912999130091301913029130391304913059130691307913089130991310913119131291313913149131591316913179131891319913209132191322913239132491325913269132791328913299133091331913329133391334913359133691337913389133991340913419134291343913449134591346913479134891349913509135191352913539135491355913569135791358913599136091361913629136391364913659136691367913689136991370913719137291373913749137591376913779137891379913809138191382913839138491385913869138791388913899139091391913929139391394913959139691397913989139991400914019140291403914049140591406914079140891409914109141191412914139141491415914169141791418914199142091421914229142391424914259142691427914289142991430914319143291433914349143591436914379143891439914409144191442914439144491445914469144791448914499145091451914529145391454914559145691457914589145991460914619146291463914649146591466914679146891469914709147191472914739147491475914769147791478914799148091481914829148391484914859148691487914889148991490914919149291493914949149591496914979149891499915009150191502915039150491505915069150791508915099151091511915129151391514915159151691517915189151991520915219152291523915249152591526915279152891529915309153191532915339153491535915369153791538915399154091541915429154391544915459154691547915489154991550915519155291553915549155591556915579155891559915609156191562915639156491565915669156791568915699157091571915729157391574915759157691577915789157991580915819158291583915849158591586915879158891589915909159191592915939159491595915969159791598915999160091601916029160391604916059160691607916089160991610916119161291613916149161591616916179161891619916209162191622916239162491625916269162791628916299163091631916329163391634916359163691637916389163991640916419164291643916449164591646916479164891649916509165191652916539165491655916569165791658916599166091661916629166391664916659166691667916689166991670916719167291673916749167591676916779167891679916809168191682916839168491685916869168791688916899169091691916929169391694916959169691697916989169991700917019170291703917049170591706917079170891709917109171191712917139171491715917169171791718917199172091721917229172391724917259172691727917289172991730917319173291733917349173591736917379173891739917409174191742917439174491745917469174791748917499175091751917529175391754917559175691757917589175991760917619176291763917649176591766917679176891769917709177191772917739177491775917769177791778917799178091781917829178391784917859178691787917889178991790917919179291793917949179591796917979179891799918009180191802918039180491805918069180791808918099181091811918129181391814918159181691817918189181991820918219182291823918249182591826918279182891829918309183191832918339183491835918369183791838918399184091841918429184391844918459184691847918489184991850918519185291853918549185591856918579185891859918609186191862918639186491865918669186791868918699187091871918729187391874918759187691877918789187991880918819188291883918849188591886918879188891889918909189191892918939189491895918969189791898918999190091901919029190391904919059190691907919089190991910919119191291913919149191591916919179191891919919209192191922919239192491925919269192791928919299193091931919329193391934919359193691937919389193991940919419194291943919449194591946919479194891949919509195191952919539195491955919569195791958919599196091961919629196391964919659196691967919689196991970919719197291973919749197591976919779197891979919809198191982919839198491985919869198791988919899199091991919929199391994919959199691997919989199992000920019200292003920049200592006920079200892009920109201192012920139201492015920169201792018920199202092021920229202392024920259202692027920289202992030920319203292033920349203592036920379203892039920409204192042920439204492045920469204792048920499205092051920529205392054920559205692057920589205992060920619206292063920649206592066920679206892069920709207192072920739207492075920769207792078920799208092081920829208392084920859208692087920889208992090920919209292093920949209592096920979209892099921009210192102921039210492105921069210792108921099211092111921129211392114921159211692117921189211992120921219212292123921249212592126921279212892129921309213192132921339213492135921369213792138921399214092141921429214392144921459214692147921489214992150921519215292153921549215592156921579215892159921609216192162921639216492165921669216792168921699217092171921729217392174921759217692177921789217992180921819218292183921849218592186921879218892189921909219192192921939219492195921969219792198921999220092201922029220392204922059220692207922089220992210922119221292213922149221592216922179221892219922209222192222922239222492225922269222792228922299223092231922329223392234922359223692237922389223992240922419224292243922449224592246922479224892249922509225192252922539225492255922569225792258922599226092261922629226392264922659226692267922689226992270922719227292273922749227592276922779227892279922809228192282922839228492285922869228792288922899229092291922929229392294922959229692297922989229992300923019230292303923049230592306923079230892309923109231192312923139231492315923169231792318923199232092321923229232392324923259232692327923289232992330923319233292333923349233592336923379233892339923409234192342923439234492345923469234792348923499235092351923529235392354923559235692357923589235992360923619236292363923649236592366923679236892369923709237192372923739237492375923769237792378923799238092381923829238392384923859238692387923889238992390923919239292393923949239592396923979239892399924009240192402924039240492405924069240792408924099241092411924129241392414924159241692417924189241992420924219242292423924249242592426924279242892429924309243192432924339243492435924369243792438924399244092441924429244392444924459244692447924489244992450924519245292453924549245592456924579245892459924609246192462924639246492465924669246792468924699247092471924729247392474924759247692477924789247992480924819248292483924849248592486924879248892489924909249192492924939249492495924969249792498924999250092501925029250392504925059250692507925089250992510925119251292513925149251592516925179251892519925209252192522925239252492525925269252792528925299253092531925329253392534925359253692537925389253992540925419254292543925449254592546925479254892549925509255192552925539255492555925569255792558925599256092561925629256392564925659256692567925689256992570925719257292573925749257592576925779257892579925809258192582925839258492585925869258792588925899259092591925929259392594925959259692597925989259992600926019260292603926049260592606926079260892609926109261192612926139261492615926169261792618926199262092621926229262392624926259262692627926289262992630926319263292633926349263592636926379263892639926409264192642926439264492645926469264792648926499265092651926529265392654926559265692657926589265992660926619266292663926649266592666926679266892669926709267192672926739267492675926769267792678926799268092681926829268392684926859268692687926889268992690926919269292693926949269592696926979269892699927009270192702927039270492705927069270792708927099271092711927129271392714927159271692717927189271992720927219272292723927249272592726927279272892729927309273192732927339273492735927369273792738927399274092741927429274392744927459274692747927489274992750927519275292753927549275592756927579275892759927609276192762927639276492765927669276792768927699277092771927729277392774927759277692777927789277992780927819278292783927849278592786927879278892789927909279192792927939279492795927969279792798927999280092801928029280392804928059280692807928089280992810928119281292813928149281592816928179281892819928209282192822928239282492825928269282792828928299283092831928329283392834928359283692837928389283992840928419284292843928449284592846928479284892849928509285192852928539285492855928569285792858928599286092861928629286392864928659286692867928689286992870928719287292873928749287592876928779287892879928809288192882928839288492885928869288792888928899289092891928929289392894928959289692897928989289992900929019290292903929049290592906929079290892909929109291192912929139291492915929169291792918929199292092921929229292392924929259292692927929289292992930929319293292933929349293592936929379293892939929409294192942929439294492945929469294792948929499295092951929529295392954929559295692957929589295992960929619296292963929649296592966929679296892969929709297192972929739297492975929769297792978929799298092981929829298392984929859298692987929889298992990929919299292993929949299592996929979299892999930009300193002930039300493005930069300793008930099301093011930129301393014930159301693017930189301993020930219302293023930249302593026930279302893029930309303193032930339303493035930369303793038930399304093041930429304393044930459304693047930489304993050930519305293053930549305593056930579305893059930609306193062930639306493065930669306793068930699307093071930729307393074930759307693077930789307993080930819308293083930849308593086930879308893089930909309193092930939309493095930969309793098930999310093101931029310393104931059310693107931089310993110931119311293113931149311593116931179311893119931209312193122931239312493125931269312793128931299313093131931329313393134931359313693137931389313993140931419314293143931449314593146931479314893149931509315193152931539315493155931569315793158931599316093161931629316393164931659316693167931689316993170931719317293173931749317593176931779317893179931809318193182931839318493185931869318793188931899319093191931929319393194931959319693197931989319993200932019320293203932049320593206932079320893209932109321193212932139321493215932169321793218932199322093221932229322393224932259322693227932289322993230932319323293233932349323593236932379323893239932409324193242932439324493245932469324793248932499325093251932529325393254932559325693257932589325993260932619326293263932649326593266932679326893269932709327193272932739327493275932769327793278932799328093281932829328393284932859328693287932889328993290932919329293293932949329593296932979329893299933009330193302933039330493305933069330793308933099331093311933129331393314933159331693317933189331993320933219332293323933249332593326933279332893329933309333193332933339333493335933369333793338933399334093341933429334393344933459334693347933489334993350933519335293353933549335593356933579335893359933609336193362933639336493365933669336793368933699337093371933729337393374933759337693377933789337993380933819338293383933849338593386933879338893389933909339193392933939339493395933969339793398933999340093401934029340393404934059340693407934089340993410934119341293413934149341593416934179341893419934209342193422934239342493425934269342793428934299343093431934329343393434934359343693437934389343993440934419344293443934449344593446934479344893449934509345193452934539345493455934569345793458934599346093461934629346393464934659346693467934689346993470934719347293473934749347593476934779347893479934809348193482934839348493485934869348793488934899349093491934929349393494934959349693497934989349993500935019350293503935049350593506935079350893509935109351193512935139351493515935169351793518935199352093521935229352393524935259352693527935289352993530935319353293533935349353593536935379353893539935409354193542935439354493545935469354793548935499355093551935529355393554935559355693557935589355993560935619356293563935649356593566935679356893569935709357193572935739357493575935769357793578935799358093581935829358393584935859358693587935889358993590935919359293593935949359593596935979359893599936009360193602936039360493605936069360793608936099361093611936129361393614936159361693617936189361993620936219362293623936249362593626936279362893629936309363193632936339363493635936369363793638936399364093641936429364393644936459364693647936489364993650936519365293653936549365593656936579365893659936609366193662936639366493665936669366793668936699367093671936729367393674936759367693677936789367993680936819368293683936849368593686936879368893689936909369193692936939369493695936969369793698936999370093701937029370393704937059370693707937089370993710937119371293713937149371593716937179371893719937209372193722937239372493725937269372793728937299373093731937329373393734937359373693737937389373993740937419374293743937449374593746937479374893749937509375193752937539375493755937569375793758937599376093761937629376393764937659376693767937689376993770937719377293773937749377593776937779377893779937809378193782937839378493785937869378793788937899379093791937929379393794937959379693797937989379993800938019380293803938049380593806938079380893809938109381193812938139381493815938169381793818938199382093821938229382393824938259382693827938289382993830938319383293833938349383593836938379383893839938409384193842938439384493845938469384793848938499385093851938529385393854938559385693857938589385993860938619386293863938649386593866938679386893869938709387193872938739387493875938769387793878938799388093881938829388393884938859388693887938889388993890938919389293893938949389593896938979389893899939009390193902939039390493905939069390793908939099391093911939129391393914939159391693917939189391993920939219392293923939249392593926939279392893929939309393193932939339393493935939369393793938939399394093941939429394393944939459394693947939489394993950939519395293953939549395593956939579395893959939609396193962939639396493965939669396793968939699397093971939729397393974939759397693977939789397993980939819398293983939849398593986939879398893989939909399193992939939399493995939969399793998939999400094001940029400394004940059400694007940089400994010940119401294013940149401594016940179401894019940209402194022940239402494025940269402794028940299403094031940329403394034940359403694037940389403994040940419404294043940449404594046940479404894049940509405194052940539405494055940569405794058940599406094061940629406394064940659406694067940689406994070940719407294073940749407594076940779407894079940809408194082940839408494085940869408794088940899409094091940929409394094940959409694097940989409994100941019410294103941049410594106941079410894109941109411194112941139411494115941169411794118941199412094121941229412394124941259412694127941289412994130941319413294133941349413594136941379413894139941409414194142941439414494145941469414794148941499415094151941529415394154941559415694157941589415994160941619416294163941649416594166941679416894169941709417194172941739417494175941769417794178941799418094181941829418394184941859418694187941889418994190941919419294193941949419594196941979419894199942009420194202942039420494205942069420794208942099421094211942129421394214942159421694217942189421994220942219422294223942249422594226942279422894229942309423194232942339423494235942369423794238942399424094241942429424394244942459424694247942489424994250942519425294253942549425594256942579425894259942609426194262942639426494265942669426794268942699427094271942729427394274942759427694277942789427994280942819428294283942849428594286942879428894289942909429194292942939429494295942969429794298942999430094301943029430394304943059430694307943089430994310943119431294313943149431594316943179431894319943209432194322943239432494325943269432794328943299433094331943329433394334943359433694337943389433994340943419434294343943449434594346943479434894349943509435194352943539435494355943569435794358943599436094361943629436394364943659436694367943689436994370943719437294373943749437594376943779437894379943809438194382943839438494385943869438794388943899439094391943929439394394943959439694397943989439994400944019440294403944049440594406944079440894409944109441194412944139441494415944169441794418944199442094421944229442394424944259442694427944289442994430944319443294433944349443594436944379443894439944409444194442944439444494445944469444794448944499445094451944529445394454944559445694457944589445994460944619446294463944649446594466944679446894469944709447194472944739447494475944769447794478944799448094481944829448394484944859448694487944889448994490944919449294493944949449594496944979449894499945009450194502945039450494505945069450794508945099451094511945129451394514945159451694517945189451994520945219452294523945249452594526945279452894529945309453194532945339453494535945369453794538945399454094541945429454394544945459454694547945489454994550945519455294553945549455594556945579455894559945609456194562945639456494565945669456794568945699457094571945729457394574945759457694577945789457994580945819458294583945849458594586945879458894589945909459194592945939459494595945969459794598945999460094601946029460394604946059460694607946089460994610946119461294613946149461594616946179461894619946209462194622946239462494625946269462794628946299463094631946329463394634946359463694637946389463994640946419464294643946449464594646946479464894649946509465194652946539465494655946569465794658946599466094661946629466394664946659466694667946689466994670946719467294673946749467594676946779467894679946809468194682946839468494685946869468794688946899469094691946929469394694946959469694697946989469994700947019470294703947049470594706947079470894709947109471194712947139471494715947169471794718947199472094721947229472394724947259472694727947289472994730947319473294733947349473594736947379473894739947409474194742947439474494745947469474794748947499475094751947529475394754947559475694757947589475994760947619476294763947649476594766947679476894769947709477194772947739477494775947769477794778947799478094781947829478394784947859478694787947889478994790947919479294793947949479594796947979479894799948009480194802948039480494805948069480794808948099481094811948129481394814948159481694817948189481994820948219482294823948249482594826948279482894829948309483194832948339483494835948369483794838948399484094841948429484394844948459484694847948489484994850948519485294853948549485594856948579485894859948609486194862948639486494865948669486794868948699487094871948729487394874948759487694877948789487994880948819488294883948849488594886948879488894889948909489194892948939489494895948969489794898948999490094901949029490394904949059490694907949089490994910949119491294913949149491594916949179491894919949209492194922949239492494925949269492794928949299493094931949329493394934949359493694937949389493994940949419494294943949449494594946949479494894949949509495194952949539495494955949569495794958949599496094961949629496394964949659496694967949689496994970949719497294973949749497594976949779497894979949809498194982949839498494985949869498794988949899499094991949929499394994949959499694997949989499995000950019500295003950049500595006950079500895009950109501195012950139501495015950169501795018950199502095021950229502395024950259502695027950289502995030950319503295033950349503595036950379503895039950409504195042950439504495045950469504795048950499505095051950529505395054950559505695057950589505995060950619506295063950649506595066950679506895069950709507195072950739507495075950769507795078950799508095081950829508395084950859508695087950889508995090950919509295093950949509595096950979509895099951009510195102951039510495105951069510795108951099511095111951129511395114951159511695117951189511995120951219512295123951249512595126951279512895129951309513195132951339513495135951369513795138951399514095141951429514395144951459514695147951489514995150951519515295153951549515595156951579515895159951609516195162951639516495165951669516795168951699517095171951729517395174951759517695177951789517995180951819518295183951849518595186951879518895189951909519195192951939519495195951969519795198951999520095201952029520395204952059520695207952089520995210952119521295213952149521595216952179521895219952209522195222952239522495225952269522795228952299523095231952329523395234952359523695237952389523995240952419524295243952449524595246952479524895249952509525195252952539525495255952569525795258952599526095261952629526395264952659526695267952689526995270952719527295273952749527595276952779527895279952809528195282952839528495285952869528795288952899529095291952929529395294952959529695297952989529995300953019530295303953049530595306953079530895309953109531195312953139531495315953169531795318953199532095321953229532395324953259532695327953289532995330953319533295333953349533595336953379533895339953409534195342953439534495345953469534795348953499535095351953529535395354953559535695357953589535995360953619536295363953649536595366953679536895369953709537195372953739537495375953769537795378953799538095381953829538395384953859538695387953889538995390953919539295393953949539595396953979539895399954009540195402954039540495405954069540795408954099541095411954129541395414954159541695417954189541995420954219542295423954249542595426954279542895429954309543195432954339543495435954369543795438954399544095441954429544395444954459544695447954489544995450954519545295453954549545595456954579545895459954609546195462954639546495465954669546795468954699547095471954729547395474954759547695477954789547995480954819548295483954849548595486954879548895489954909549195492954939549495495954969549795498954999550095501955029550395504955059550695507955089550995510955119551295513955149551595516955179551895519955209552195522955239552495525955269552795528955299553095531955329553395534955359553695537955389553995540955419554295543955449554595546955479554895549955509555195552955539555495555955569555795558955599556095561955629556395564955659556695567955689556995570955719557295573955749557595576955779557895579955809558195582955839558495585955869558795588955899559095591955929559395594955959559695597955989559995600956019560295603956049560595606956079560895609956109561195612956139561495615956169561795618956199562095621956229562395624956259562695627956289562995630956319563295633956349563595636956379563895639956409564195642956439564495645956469564795648956499565095651956529565395654956559565695657956589565995660956619566295663956649566595666956679566895669956709567195672956739567495675956769567795678956799568095681956829568395684956859568695687956889568995690956919569295693956949569595696956979569895699957009570195702957039570495705957069570795708957099571095711957129571395714957159571695717957189571995720957219572295723957249572595726957279572895729957309573195732957339573495735957369573795738957399574095741957429574395744957459574695747957489574995750957519575295753957549575595756957579575895759957609576195762957639576495765957669576795768957699577095771957729577395774957759577695777957789577995780957819578295783957849578595786957879578895789957909579195792957939579495795957969579795798957999580095801958029580395804958059580695807958089580995810958119581295813958149581595816958179581895819958209582195822958239582495825958269582795828958299583095831958329583395834958359583695837958389583995840958419584295843958449584595846958479584895849958509585195852958539585495855958569585795858958599586095861958629586395864958659586695867958689586995870958719587295873958749587595876958779587895879958809588195882958839588495885958869588795888958899589095891958929589395894958959589695897958989589995900959019590295903959049590595906959079590895909959109591195912959139591495915959169591795918959199592095921959229592395924959259592695927959289592995930959319593295933959349593595936959379593895939959409594195942959439594495945959469594795948959499595095951959529595395954959559595695957959589595995960959619596295963959649596595966959679596895969959709597195972959739597495975959769597795978959799598095981959829598395984959859598695987959889598995990959919599295993959949599595996959979599895999960009600196002960039600496005960069600796008960099601096011960129601396014960159601696017960189601996020960219602296023960249602596026960279602896029960309603196032960339603496035960369603796038960399604096041960429604396044960459604696047960489604996050960519605296053960549605596056960579605896059960609606196062960639606496065960669606796068960699607096071960729607396074960759607696077960789607996080960819608296083960849608596086960879608896089960909609196092960939609496095960969609796098960999610096101961029610396104961059610696107961089610996110961119611296113961149611596116961179611896119961209612196122961239612496125961269612796128961299613096131961329613396134961359613696137961389613996140961419614296143961449614596146961479614896149961509615196152961539615496155961569615796158961599616096161961629616396164961659616696167961689616996170961719617296173961749617596176961779617896179961809618196182961839618496185961869618796188961899619096191961929619396194961959619696197961989619996200962019620296203962049620596206962079620896209962109621196212962139621496215962169621796218962199622096221962229622396224962259622696227962289622996230962319623296233962349623596236962379623896239962409624196242962439624496245962469624796248962499625096251962529625396254962559625696257962589625996260962619626296263962649626596266962679626896269962709627196272962739627496275962769627796278962799628096281962829628396284962859628696287962889628996290962919629296293962949629596296962979629896299963009630196302963039630496305963069630796308963099631096311963129631396314963159631696317963189631996320963219632296323963249632596326963279632896329963309633196332963339633496335963369633796338963399634096341963429634396344963459634696347963489634996350963519635296353963549635596356963579635896359963609636196362963639636496365963669636796368963699637096371963729637396374963759637696377963789637996380963819638296383963849638596386963879638896389963909639196392963939639496395963969639796398963999640096401964029640396404964059640696407964089640996410964119641296413964149641596416964179641896419964209642196422964239642496425964269642796428964299643096431964329643396434964359643696437964389643996440964419644296443964449644596446964479644896449964509645196452964539645496455964569645796458964599646096461964629646396464964659646696467964689646996470964719647296473964749647596476964779647896479964809648196482964839648496485964869648796488964899649096491964929649396494964959649696497964989649996500965019650296503965049650596506965079650896509965109651196512965139651496515965169651796518965199652096521965229652396524965259652696527965289652996530965319653296533965349653596536965379653896539965409654196542965439654496545965469654796548965499655096551965529655396554965559655696557965589655996560965619656296563965649656596566965679656896569965709657196572965739657496575965769657796578965799658096581965829658396584965859658696587965889658996590965919659296593965949659596596965979659896599966009660196602966039660496605966069660796608966099661096611966129661396614966159661696617966189661996620966219662296623966249662596626966279662896629966309663196632966339663496635966369663796638966399664096641966429664396644966459664696647966489664996650966519665296653966549665596656966579665896659966609666196662966639666496665966669666796668966699667096671966729667396674966759667696677966789667996680966819668296683966849668596686966879668896689966909669196692966939669496695966969669796698966999670096701967029670396704967059670696707967089670996710967119671296713967149671596716967179671896719967209672196722967239672496725967269672796728967299673096731967329673396734967359673696737967389673996740967419674296743
  1. 2017-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
  2. * version.h (RELEASE): Set to "development"
  3. (VERSION): Set to 2.26.90.
  4. * NEWS: Add 2.27 section.
  5. * version.h (RELEASE): Set to "stable"
  6. (VERSION): Set to 2.26.
  7. * include/features.h (__GLIBC_MINOR__): Set to 26.
  8. * manual/contrib.texi: Update contributors.
  9. * manual/install.texi: Update latest tested versions of gcc and
  10. binutils.
  11. * INSTALL: Regenerate.
  12. * NEWS: Add bugs fixed.
  13. * po/fr.po: Update translations.
  14. 2017-08-01 Siddhesh Poyarekar <siddhesh@sourceware.org>
  15. * NEWS: Update security-related changes.
  16. 2017-07-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
  17. * po/be.po: Update translations.
  18. * po/ko.po: Likewise.
  19. * po/nl.po: Likewise.
  20. * po/ru.po: Likewise.
  21. 2017-07-29 Torvald Riegel <triegel@redhat.com>
  22. Carlos O'Donell <carlos@redhat.com>
  23. [BZ 21778]
  24. * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Update
  25. oldval if the CAS fails.
  26. * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
  27. * nptl/tst-mutex7.c: Add comments explaining template test.
  28. (ROBUST, DELAY_NSEC, ROUNDS, N): New.
  29. (tf, do_test): Use them.
  30. * nptl/tst-mutex7robust.c: New file.
  31. * nptl/Makefile (tests): Add new test.
  32. 2017-07-28 Nathan Rossi <nathan@nathanrossi.com>
  33. [BZ #21779]
  34. * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Branch using PLT.
  35. * sysdeps/microblaze/libm-test-ulps: Update.
  36. 2017-07-28 Chung-Lin Tang <cltang@codesourcery.com>
  37. * sysdeps/nios2/libm-test-ulps: Update.
  38. 2017-07-28 Torvald Riegel <triegel@redhat.com>
  39. Carlos O'Donell <carlos@redhat.com>
  40. [BZ #21298]
  41. * nptl/Makefile (tests-internal): Add tst-rwlock20.
  42. * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Fix
  43. explicit hand-over.
  44. (__pthread_rwlock_wrlock_full): Likewise.
  45. * nptl/tst-rwlock20.c: New file.
  46. * support/Makefile (libsupport-routines): Add xpthread_rwlock_init,
  47. xpthread_rwlock_rdlock, xpthread_rwlock_unlock,
  48. xpthread_rwlock_wrlock, xpthread_rwlockattr_init, and
  49. xpthread_rwlockattr_setkind_np.
  50. * support/xpthread_rwlock_init.c: New file.
  51. * support/xpthread_rwlock_rdlock.c: New file.
  52. * support/xpthread_rwlock_unlock.c: New file.
  53. * support/xpthread_rwlock_wrlock.c: New file.
  54. * support/xpthread_rwlockattr_init.c: New file.
  55. * support/xpthread_rwlockattr_setkind_np.c: New file.
  56. * support/xthread.h: Add xpthread_rwlock_init, xpthread_rwlock_rdlock,
  57. xpthread_rwlock_unlock, xpthread_rwlock_wrlock,
  58. xpthread_rwlockattr_init, and xpthread_rwlockattr_setkind_np
  59. prototypes.
  60. 2017-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  61. * sysdeps/alpha/fpu/libm-test-ulps: Update.
  62. 2017-07-27 Mike FABIAN <mfabian@redhat.com>
  63. * locale/iso-639.def: add North and South Azerbaijani.
  64. 2017-07-27 Rical Jasan <ricaljasan@pacific.net>
  65. * manual/lang.texi (CHAR_BIT): Convert from an @table to an
  66. @deftypevr. Change standard from ISO to C90. Mention the
  67. POSIX.1-2001 requirement of the value 8.
  68. 2017-07-27 Rical Jasan <ricaljasan@pacific.net>
  69. * manual/creature.texi (_REENTRANT): Annotate as obsolete.
  70. (_THREAD_SAFE): Likewise.
  71. 2017-07-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
  72. * po/bg.po: Update translations.
  73. * po/cs.po: Likewise.
  74. * po/de.po: Likewise.
  75. * po/pl.po: Likewise.
  76. * po/uk.po: Likewise.
  77. * po/vi.po: Likewise.
  78. 2017-07-26 Mike FABIAN <mfabian@redhat.com>
  79. [BZ #21828]
  80. * NEWS: Mention that the Unicode 10.0.0 update causes user visible changes.
  81. 2017-07-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
  82. * po/sv.po: Update Translation.
  83. 2017-07-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
  84. Paul Eggert <eggert@cs.ucla.edu>
  85. * timezone.zic (PRIdLINENO): Remove.
  86. (verror): Use PRIdMAX.
  87. * po/libc.pot: Regenerate.
  88. 2017-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  89. H.J. Lu <hongjiu.lu@intel.com>
  90. [BZ #21744]
  91. * elf/dl-tunables.c: Include not-errno.h header.
  92. * include/unistd.h (__access_noerrno): Remove definition.
  93. * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
  94. * sysdeps/generic/not-errno.h: New file.
  95. * sysdeps/unix/sysv/linux/not-errno.h: Likewise.
  96. 2017-07-24 H.J. Lu <hongjiu.lu@intel.com>
  97. [BZ #21752]
  98. * debug/fortify_fail.c (__fortify_fail_abort): Don't pass down
  99. __libc_argv[0] if we aren't doing backtrace. Rename do_backtrace
  100. to need_backtrace.
  101. * sysdeps/posix/libc_fatal.c (__libc_message): Don't call
  102. __libc_secure_getenv if we aren't doing backtrace.
  103. 2017-07-24 Andreas Schwab <schwab@suse.de>
  104. [BZ #21804]
  105. * sysdeps/nptl/bits/thread-shared-types.h (__PTHREAD_SPINS_DATA)
  106. [__PTHREAD_MUTEX_LOCK_ELISION && __WORDSIZE == 64]: Remove
  107. trailing semicolon.
  108. (struct __pthread_mutex_s): Remove semicolon after
  109. __PTHREAD_COMPAT_PADDING_MID and __PTHREAD_COMPAT_PADDING_END.
  110. * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
  111. (__PTHREAD_COMPAT_PADDING_MID, __PTHREAD_COMPAT_PADDING_END): Add
  112. semicolon.
  113. 2017-07-23 Dmitry V. Levin <ldv@altlinux.org>
  114. * sysdeps/unix/sysv/linux/s390/sys/ptrace.h [_LINUX_PTRACE_H ||
  115. _S390_PTRACE_H]: Undefine all PTRACE_* macro constants defined
  116. later as enum constants, except PTRACE_PEEKUSER, PTRACE_POKEUSER,
  117. and PTRACE_SEIZE_DEVEL that are not defined by Linux headers.
  118. 2017-07-23 John David Anglin <danglin@gcc.gnu.org>
  119. [BZ 19170]
  120. * sysdeps/hppa/dl-trampoline.S (_dl_runtime_resolve): Revise comment.
  121. 2017-07-21 DJ Delorie <dj@redhat.com>
  122. * nss/tst-nss-test5.c: Correct test configuration.
  123. 2017-07-21 Steve Ellcey <sellcey@cavium.com>
  124. * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
  125. CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
  126. CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
  127. CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
  128. CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): New macros.
  129. 2017-07-21 Steve Ellcey <sellcey@cavium.com>
  130. * nss/nss_test1.c (default_npwd_data): Fix definition.
  131. 2017-07-21 Steve Ellcey <sellcey@cavium.com>
  132. * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Call
  133. math_force_eval.
  134. 2017-07-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  135. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  136. * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Fix argument
  137. passing to syscall exit.
  138. 2017-07-19 DJ Delorie <dj@delorie.com>
  139. [BZ #21654]
  140. * grp/grp-merge.c (libc_hidden_def): Fix cast-after-dereference.
  141. 2017-07-19 H.J. Lu <hongjiu.lu@intel.com>
  142. [BZ #21741]
  143. * sysdeps/i386/i686/multiarch/ifunc-impl-list.c
  144. (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only
  145. in libc.so.
  146. 2017-07-19 H.J. Lu <hongjiu.lu@intel.com>
  147. [BZ #21740]
  148. * debug/Makefile (elide-routines.o): New.
  149. 2017-07-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
  150. * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c:
  151. (_dl_aarch64_cap_flags): Update.
  152. * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
  153. (_DL_HWCAP_COUNT, _DL_HWCAP_LAST): Update.
  154. 2017-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
  155. * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (_dl_procinfo): Revert.
  156. (_dl_hwcap_string): Check range.
  157. 2017-07-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  158. [BZ #21707]
  159. * csu/libc-start.c (LIBC_START_MAIN): Perform IREL{,A}
  160. relocations before or after initializing the TCB on statically
  161. linked executables. That's a per-architecture definition.
  162. * elf/rtld.c (dl_main): Add a comment about thread-local
  163. variables initialization.
  164. * sysdeps/generic/libc-start.h: New file. Define
  165. ARCH_APPLY_IREL and ARCH_SETUP_IREL.
  166. * sysdeps/powerpc/Makefile:
  167. [$(subdir) = elf && $(multi-arch) != no] (tests-static-internal): Add
  168. tst-tlsifunc-static.
  169. [$(subdir) = elf && $(multi-arch) != no && $(build-shared) == yes]
  170. (tests-internal): Add tst-tlsifunc.
  171. * sysdeps/powerpc/tst-tlsifunc.c: New file.
  172. * sysdeps/powerpc/tst-tlsifunc-static.c: Likewise.
  173. * sysdeps/powerpc/powerpc64le/Makefile (f128-loader-link): New
  174. variable.
  175. [$(subdir) = math] (test-float128% test-ifloat128%): Force
  176. linking to the loader after linking to libgcc.
  177. [$(subdir) = wcsmbs || $(subdir) = stdlib] (bug-strtod bug-strtod2)
  178. (bug-strtod2 tst-strtod-round tst-wcstod-round tst-strtod6 tst-strrom)
  179. (tst-strfrom-locale strfrom-skeleton): Likewise.
  180. * sysdeps/unix/sysv/linux/powerpc/libc-start.h: New file. Define
  181. ARCH_APPLY_IREL and ARCH_SETUP_IREL.
  182. 2017-07-17 DJ Delorie <dj@redhat.com>
  183. * nss/nss_test.h: New.
  184. * nss/nss_test1.h: Rewrite to use test-provided data. Add group
  185. tests. Parameterize to allow multiple instances.
  186. * nss/nss_test2.h: New. Second instance.
  187. * nss/nss_test.ver: New.
  188. * nss/nss_test1.c: Update to use new framework.
  189. * nss/nss_test2.c: New.
  190. * nss/nss_test3.c: New.
  191. * nss/nss_test4.c: New.
  192. * nss/nss_test5.c: New.
  193. * nss/Makefile: Build new tests.
  194. * shlib-versions: Add libnss_test2.
  195. 2017-07-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  196. [BZ #21512]
  197. * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Fix argument
  198. passing to syscall exit.
  199. 2017-07-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
  200. * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_FCMA): New macro.
  201. (HWCAP_JSCVT, HWCAP_LRCPC): Likewise.
  202. 2017-07-16 John David Anglin <danglin@gcc.gnu.org>
  203. * sysdeps/hppa/dl-trampoline.S (_dl_runtime_resolve): Return to caller
  204. if _dl_fixup fails.
  205. * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Add .cfi annotation.
  206. * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Likewise.
  207. * sysdeps/unix/sysv/linux/hppa/pt-vfork.S (__vfork): Likewise.
  208. * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
  209. * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Fix stack
  210. offset for r19 load.
  211. * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Return 0.
  212. * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Fix CFA offset.
  213. Use .cfi_def_cfa_offset instead of .cfi_offset. Don't record stack
  214. pointer offset. Correct PIC register offset. Don't mention frame
  215. related instructions in epilogue.
  216. (PUSHARGS_1): Correct offset.
  217. (PUSHARGS_2): Likewise.
  218. (PUSHARGS_3): Likewise.
  219. (PUSHARGS_4): Likewise.
  220. (PUSHARGS_5): Likewise.
  221. (PUSHARGS_6): Likewise.
  222. (POPARGS_1): Don't mention register restore.
  223. (POPARGS_2): Likewise.
  224. (POPARGS_3): Likewise.
  225. (POPARGS_4): Likewise.
  226. (POPARGS_5): Likewise.
  227. (POPARGS_6): Likewise.
  228. * sysdeps/unix/sysv/linux/hppa/sysdep.h (SAVE_PIC): Don't mention
  229. copy of PIC register.
  230. (LOAD_PIC): Likewise don't mention restore.
  231. (DO_CALL): Fix CFA offset. Use .cfi_def_cfa_offset instead of
  232. .cfi_offset. Don't record stack pointer offset. Correct PIC register
  233. offset. Don't mention frame related instructions in epilogue.
  234. * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove _exit entry.
  235. * sysdeps/hppa/__longjmp.c (__longjmp): Remove extra braces.
  236. [BZ 20098]
  237. * sysdeps/hppa/dl-fptr.c (_dl_read_access_allowed): New.
  238. (_dl_lookup_address): Return address if it is not consistent with
  239. being a linker defined function pointer. Likewise, return address
  240. if address and function descriptor addresses are not accessible.
  241. 2017-07-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
  242. * po/libc.pot: Regenerate.
  243. 2017-07-15 John David Anglin <danglin@gcc.gnu.org>
  244. [BZ locale/19838]
  245. * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHMLBA): Set to page size.
  246. * nptl/allocatestack.c (allocate_stack): Align old and new guard
  247. addresses to page boundaries when the stack grows up.
  248. * sysdeps/hppa/math-tests.h: New.
  249. 2017-07-14 DJ Delorie <dj@redhat.com>
  250. [BZ #21654]
  251. * grp/grp_merge.c (__copy_grp): Align char** to minimum pointer
  252. alignment not char alignment.
  253. (__merge_grp): Likewise.
  254. 2017-07-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
  255. Florian Weimer <fweimer@redhat.com>
  256. * libio/memstream.c (__open_memstream): Set _IO_FLAGS2_NEED_LOCK.
  257. * libio/wmemstream.c (open_wmemstream): Likewise.
  258. * nptl/tst-memstream.c: New.
  259. 2017-07-12 Jiong Wang <jiong.wang@arm.com>
  260. * sysdeps/arm/dl-machine.h (elf_machine_load_address): Also strip bit 0
  261. of pcrel_address under Thumb mode.
  262. 2017-07-12 Akhilesh Kumar <akhilesh.k@samsung.com>
  263. [BZ #21207]
  264. * locale/iso-639.def: Add Fiji Hindi (hif).
  265. 2017-07-12 John David Anglin <danglin@gcc.gnu.org>
  266. * sysdeps/hppa/dl-machine.h (elf_machine_rela): Fix typo.
  267. 2017-07-12 H.J. Lu <hongjiu.lu@intel.com>
  268. * debug/Makefile (CFLAGS-tst-ssp-1.c): Set to
  269. -fstack-protector-all.
  270. 2017-07-11 Chris Leonard <cjl@sugarlabs.org>
  271. [BZ #20496]
  272. * locale/iso-639.def: Add Awajún / Aguaruna (agr).
  273. 2017-07-11 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  274. * sysdeps/powerpc/powerpc64le/Makefile: Use $(all-object-suffixes)
  275. to iterate over all possible object suffixes. Add a comment
  276. explaining the use of sysdep-CFLAGS instead of CFLAGS.
  277. 2017-07-11 H.J. Lu <hongjiu.lu@intel.com>
  278. [BZ #12189]
  279. * debug/Makefile (CFLAGS-tst-ssp-1.c): New.
  280. (tests): Add tst-ssp-1 if -fstack-protector works.
  281. * debug/fortify_fail.c: Include <stdbool.h>.
  282. (_fortify_fail_abort): New function.
  283. (__fortify_fail): Call _fortify_fail_abort.
  284. (__fortify_fail_abort): Add a hidden definition.
  285. * debug/stack_chk_fail.c: Include <stdbool.h>.
  286. (__stack_chk_fail): Call __fortify_fail_abort, instead of
  287. __fortify_fail.
  288. * debug/tst-ssp-1.c: New file.
  289. * include/stdio.h (__libc_message_action): New enum.
  290. (__libc_message): Replace int with enum __libc_message_action.
  291. (__fortify_fail_abort): New hidden prototype.
  292. * malloc/malloc.c (malloc_printerr): Update __libc_message calls.
  293. * sysdeps/posix/libc_fatal.c (__libc_message): Replace int
  294. with enum __libc_message_action. Call BEFORE_ABORT only if
  295. action includes do_backtrace.
  296. (__libc_fatal): Update __libc_message call.
  297. 2017-07-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  298. [BZ #21738]
  299. * manual/llio.texi (RWF_NOWAIT): New item.
  300. * misc/tst-preadvwritev2-common.c (do_test_with_invalid_flags):
  301. Add RWF_NOWAIT check.
  302. * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_NOWAIT): New flag.
  303. 2017-07-11 Stefan Liebler <stli@linux.vnet.ibm.com>
  304. * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
  305. Support running on kernels without PTRACE_SINGLEBLOCK.
  306. 2017-07-10 H.J. Lu <hongjiu.lu@intel.com>
  307. [BZ #21742]
  308. * elf/Makefile (dl-routines): Move dl-conflict to ...
  309. (rtld-routines): Here.
  310. 2017-07-10 H.J. Lu <hongjiu.lu@intel.com>
  311. [BZ #21741]
  312. * sysdeps/x86_64/multiarch/ifunc-impl-list.c
  313. (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only
  314. in libc.so.
  315. 2017-07-09 John David Anglin <danglin@gcc.gnu.org>
  316. * sysdeps/hppa/fpu/libm-test-ulps: Update.
  317. [BZ #21016]
  318. * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
  319. Fix typo.
  320. * sysdeps/unix/sysv/linux/hppa/pthread.h: Include
  321. bits/types/struct_timespec.h.
  322. (PTHREAD_MUTEX_INITIALIZER): Revise define.
  323. (PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP): Likewise.
  324. (PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP): Likewise.
  325. (PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Likewise.
  326. (PTHREAD_RWLOCK_INITIALIZER): Likewise.
  327. (PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP): Likewise.
  328. (PTHREAD_COND_INITIALIZER): Likewise.
  329. Remove old definitions.
  330. * sysdeps/unix/sysv/linux/hppa/internaltypes.h: Delete.
  331. * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: Delete.
  332. * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: Delete.
  333. * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: Delete.
  334. * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: Delete.
  335. * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: Delete.
  336. 2017-07-09 H.J. Lu <hongjiu.lu@intel.com>
  337. * sysdeps/x86_64/multiarch/memcmp.c: Update comments.
  338. * sysdeps/x86_64/multiarch/memmove.c: Likewise.
  339. * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
  340. * sysdeps/x86_64/multiarch/memset.c: Likewise.
  341. * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
  342. * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
  343. * sysdeps/x86_64/multiarch/strlen.c: Likewise.
  344. * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
  345. * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
  346. * sysdeps/x86_64/multiarch/wcscpy.c: Likewise.
  347. * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
  348. * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
  349. * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
  350. * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
  351. * sysdeps/x86_64/multiarch/wmemset.c: Likewise.
  352. * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
  353. 2017-07-09 H.J. Lu <hongjiu.lu@intel.com>
  354. * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update comments.
  355. 2017-07-09 Helge Deller <deller@gmx.de>
  356. [BZ #21049]
  357. * sysdeps/hppa/__longjmp.c (__longjmp): Move call to CHECK_SP
  358. up to avoid clobbering r26.
  359. 2017-07-08 Andreas Schwab <schwab@linux-m68k.org>
  360. * scripts/build-many-glibcs.py (Glibc.build_glibc): Also build
  361. profiled objects.
  362. 2017-07-06 DJ Delorie <dj@redhat.com>
  363. * manual/tunables.texi: Add missing @end deftp.
  364. 2017-07-06 Florian Weimer <fw@deneb.enyo.de>
  365. * resolv/tst-resolv-basic.c (test_bug_21295): New function.
  366. (do_test): Call it.
  367. 2017-07-06 DJ Delorie <dj@redhat.com>
  368. * config.make.in: Enable experimental malloc option.
  369. * configure.ac: Likewise.
  370. * configure: Regenerate.
  371. * manual/install.texi: Document it.
  372. * INSTALL: Regenerate.
  373. * malloc/Makefile: Likewise.
  374. * malloc/malloc.c: Add per-thread cache (tcache).
  375. (tcache_put): New.
  376. (tcache_get): New.
  377. (tcache_thread_freeres): New.
  378. (tcache_init): New.
  379. (__libc_malloc): Use cached chunks if available.
  380. (__libc_free): Initialize tcache if needed.
  381. (__libc_realloc): Likewise.
  382. (__libc_calloc): Likewise.
  383. (_int_malloc): Prefill tcache when appropriate.
  384. (_int_free): Likewise.
  385. (do_set_tcache_max): New.
  386. (do_set_tcache_count): New.
  387. (do_set_tcache_unsorted_limit): New.
  388. * manual/probes.texi: Document new probes.
  389. * malloc/arena.c: Add new tcache tunables.
  390. * elf/dl-tunables.list: Likewise.
  391. * manual/tunables.texi: Document them.
  392. * NEWS: Mention the per-thread cache.
  393. 2017-07-06 Joseph Myers <joseph@codesourcery.com>
  394. * iconvdata/tst-loading.c (TIMEOUT): Define to 30.
  395. * misc/tst-tsearch.c (TIMEOUT): Remove.
  396. * nptl/tst-create-detached.c (TIMEOUT): Define to 100.
  397. * nptl/tst-robust-fork.c (TIMEOUT): Likewise.
  398. * nptl/tst-rwlock19.c (TIMEOUT): Likewise.
  399. * string/tst-cmp.c (TIMEOUT): Define to 600.
  400. 2017-07-06 Matthew Krupcale <mkrupcale@matthewkrupcale.com>
  401. [BZ #21715]
  402. * sysdeps/nptl/bits/pthreadtypes.h (__have_pthread_attr_t): Fix typo
  403. on definition.
  404. 2017-07-06 Florian Weimer <fweimer@redhat.com>
  405. H.J. Lu <hongjiu.lu@intel.com>
  406. [BZ #21609]
  407. * sysdeps/x86_64/Makefile (sysdep-dl-routines): Add tls_get_addr.
  408. (gen-as-const-headers): Add rtld-offsets.sym.
  409. * sysdeps/x86_64/dl-tls.c: New file.
  410. * sysdeps/x86_64/rtld-offsets.sym: Likwise.
  411. * sysdeps/x86_64/tls_get_addr.S: Likewise.
  412. * sysdeps/x86_64/dl-tls.h: Add multiple inclusion guards.
  413. * sysdeps/x86_64/tlsdesc.sym (TI_MODULE_OFFSET): New.
  414. (TI_OFFSET_OFFSET): Likwise.
  415. 2017-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  416. [BZ# 21697]
  417. * sysdeps/posix/spawni.c (__spawni_child): Fix return value.
  418. 2017-07-05 Florian Weimer <fweimer@redhat.com>
  419. * resolv/Makefile (tests-internal): Add tst-resolv-threads.
  420. (tst-resolv-threads): Link with -ldl, -lresolv, -lpthread.
  421. * resolv/tst-resolv-threads.c: New file.
  422. 2017-07-05 Florian Weimer <fweimer@redhat.com>
  423. support: Add resolver testing mode which does not patch _res.
  424. * support/resolv_test.h (struct resolv_redirect_config): Add
  425. disable_redirect, server_address_overrides.
  426. * support/resolv_test.c (make_server_sockets_for_address): New
  427. function.
  428. (resolv_test_start): Call it.
  429. 2017-07-05 Florian Weimer <fweimer@redhat.com>
  430. * support/namespace.h (struct support_chroot_configuration)
  431. (struct support_chroot): Define.
  432. (support_chroot_create, support_chroot_free): New functions.
  433. * support/support_chroot.c: New file.
  434. * support/Makefile (libsupport-routines): Add support_chroot.
  435. * resolv/tst-resolv-res_init-skeleton.c (path_chroot)
  436. (path_resolv_conf): Remove definitions.
  437. (chroot_env): New variable.
  438. (prepare): Call support_chroot_create.
  439. (check_chroot_working, setup_nss_dns_and_chroot, run_res_init)
  440. (special_test_callback, do_test): Likewise.
  441. 2017-07-05 Florian Weimer <fweimer@redhat.com>
  442. Add subtest to check isolation of multiple loopback addresses.
  443. * support/tst-support-namespace.c (test_localhost_bind): New function.
  444. (do_test): Call it.
  445. 2017-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
  446. * libio/libio.h (_IO_FLAGS2_NEED_LOCK, _IO_need_lock): Define.
  447. * libio/libioP.h (_IO_enable_locks): Declare.
  448. * libio/Versions (_IO_enable_locks): New symbol.
  449. * libio/genops.c (_IO_enable_locks): Define.
  450. (_IO_old_init): Initialize flags2.
  451. * libio/feof.c.c (_IO_feof): Avoid locking when not needed.
  452. * libio/ferror.c (_IO_ferror): Likewise.
  453. * libio/fputc.c (fputc): Likewise.
  454. * libio/putc.c (_IO_putc): Likewise.
  455. * libio/getc.c (_IO_getc): Likewise.
  456. * libio/getchar.c (getchar): Likewise.
  457. * libio/ioungetc.c (_IO_ungetc): Likewise.
  458. * nptl/pthread_create.c (__pthread_create_2_1): Enable stdio locks.
  459. * libio/iofopncook.c (_IO_fopencookie): Enable locking for the file.
  460. * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
  461. 2017-07-04 Florian Weimer <fweimer@redhat.com>
  462. [BZ #21542]
  463. * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Default to
  464. two if no accurate information is available.
  465. * posix/tst-sysconf-empty-chroot.c: New file.
  466. * posix/Makefile (tests): Add it.
  467. 2017-07-04 Florian Weimer <fweimer@redhat.com>
  468. * resolv/resolv_conf.c (resolv_conf_matches): Tighten check for name
  469. server and sort list counts. Fix improper check for empty search
  470. path (completely missing domain name) leading to assertion failure
  471. in update_from_conf.
  472. * resolv/tst-resolv-res_init-skeleton.c (struct test_case): Add
  473. hostname member.
  474. (run_res_init): Set host name if requested.
  475. (test_cases): Update.
  476. 2017-07-04 Joseph Myers <joseph@codesourcery.com>
  477. * scripts/build-many-glibcs.py (Context.checkout): Default
  478. binutils version to 2.29 branch, GMP version to 6.1.2 and Linux
  479. kernel version to 4.12.
  480. 2017-07-04 Florian Weimer <fweimer@redhat.com>
  481. * resolv/resolv_conf.c (struct resolv_conf_global): Clarify free
  482. list management and the role of free_list_start.
  483. (decrement_at_index): Put zero at the end of the free list.
  484. (__resolv_conf_attach): Fix bogus assert.
  485. * resolv/Makefile (tests): Add tst-resolv-res_init-multi.
  486. (tst-resolv-res_init-multi): Link with -lresolv, -lpthread.
  487. 2017-07-03 Florian Weimer <fweimer@redhat.com>
  488. resolv: Introduce free list for resolv_conf index slosts.
  489. * resolv/resolv_conf.c (struct resolv_conf_array): Change element
  490. type to uintptr_t.
  491. (struct resolv_conf_global): Add free_list_start member.
  492. (resolv_conf_get_1): Check for free list entry.
  493. (decrement_at_index): Put freed slot on the free list.
  494. (__resolv_conf_attach): Obtain new slot from the free list.
  495. * resolv/tst-resolv-res_ninit.c: New file.
  496. * resolv/Makefile (tests-internal): Add tst-resolv-res_ninit.
  497. (tests-special): Add mtrace-tst-resolv-res_ninit.out.
  498. (generated): Add mtrace-tst-resolv-res_ninit.out,
  499. tst-resolv-res_ninit.mtrace.
  500. (mtrace-tst-resolv-res_ninit.out): Add target.
  501. 2017-06-30 Florian Weimer <fweimer@redhat.com>
  502. [BZ #984]
  503. Reload /etc/resolv.conf if has been changed on disk.
  504. * resolv/resolv_conf.h (resolv_conf): Remove initstamp member.
  505. (__resolv_conf_load, __resolv_conf_get_current): Declare.
  506. * resolv/resolv_conf.c (struct resolv_conf_global): Add
  507. conf_current, conf_mtime, conf_ctime, conf_size, conf_ino members.
  508. (__resolv_conf_get_current): New function.
  509. (__resolv_conf_allocate): Do not initialize initstamp.
  510. (freeres): Deallocate global->conf_current.
  511. * resolv/resolv.h (RES_NORELOAD): Define.
  512. * resolv/res_debug.c (p_option): Add RES_NORELOAD.
  513. * resolv/resolv-internal.h (__res_initstamp): Remove declaration.
  514. * resolv/resolv_context.c (replicated_configuration_matches): New.
  515. (maybe_init): Call it. Use __resolv_conf_get_current to obtain
  516. the current configration.
  517. * resolv/res_init.c (__res_initstamp): Remove variable definition.
  518. (has_preinit_values): New function.
  519. (__resolv_conf_load): Renamed from __res_vinit. Drop res_state
  520. parameter and do not call __resolv_conf_attach.
  521. (__res_vinit): Reimplement based __resolv_conf_load.
  522. (res_options): Handle no-reload.
  523. * resolv/res_libc.c (atomicinclock, atomicincunlock, atomicinc)
  524. (lock): Remove.
  525. (res_int): Do not update __res_initstamp.
  526. * resolv/tst-resolv-res_init-skeleton.c (print_resp): Handle
  527. RES_NORELOAD.
  528. (test_cases): Test no-reload.
  529. (special_test_call_res_init): Remove.
  530. (special_test_callback): Rely on automated reloading. Add tests
  531. for no-reload.
  532. 2017-06-30 Florian Weimer <fweimer@redhat.com>
  533. Mirror the entire resolver configuration in struct resolv_conf.
  534. * resolv/resolv_context.h (__resolv_context_nameserver_count)
  535. (__resolv_context_nameserver): New functions.
  536. (__resolv_context_sort_count, __resolv_context_sort_entry):
  537. Likewise.
  538. * resolv/nss_dns/dns-host.c (getanswer_r): Add struct
  539. resolv_context parameter.
  540. (gethostbyname3_context, _nss_dns_gethostbyaddr2_r): Adjust.
  541. (addrsort): Switch to struct resolv_context.
  542. * resolv/resolv_conf.h (struct resolv_sortlist_entry): Define.
  543. (struct resolv_conf): Add nameserver_list, nameserver_list_size,
  544. sort_list, sort_list_size, options, retrans, retry, ndots members.
  545. * resolv/resolv_conf.c (same_address_v4, same_address_v6)
  546. (same_address): New functions.
  547. (resolv_conf_matches): Compare the new array members.
  548. (__resolv_conf_allocate): Allocate and copy the new array members.
  549. (update_from_conf): Copy the entire configuration.
  550. * resolv/res_init.c (struct nameserver_list, struct sort_list):
  551. Define using dynarray.
  552. (struct resolv_conf_parser): Add nameserver_list, sort_list,
  553. template members.
  554. (resolv_conf_parser_init): Add preinit argument. Initialize the
  555. new members.
  556. (resolv_conf_parser_free): Deallocate the new arrays.
  557. (allocate_address_v4): New function.
  558. (res_setoptions): Switch to struct resolv_conf_parser * parameter.
  559. (res_vinit_1): Drop res_state parameter. Write all parsed date to
  560. the parser object instead. Use allocate_address_v4 to allocate
  561. IPv4 addresses.
  562. (__res_vinit): Adjust.
  563. * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print the
  564. extended name server list.
  565. (test_cases): Adjust.
  566. 2017-06-30 Florian Weimer <fweimer@redhat.com>
  567. [BZ #19569]
  568. [BZ #21475]
  569. Support an arbitrary number of search domains.
  570. * resolv/resolv_context.h (__resolv_context_search_list): New.
  571. * resolv/resolv_conf.h (struct resolv_conf): Add search_list,
  572. search_list_size members.
  573. * resolv/resolv_conf.c (resolv_conf_matches): Compare search list.
  574. (__resolv_conf_allocate): Allocate and and copy search list.
  575. (update_from_conf): Copy the search list.
  576. * resolv/res_init.c (struct search_list): Define using dynarray.
  577. (struct resolv_conf_parser): Define.
  578. (resolv_conf_parser_init, resolv_conf_parser_free)
  579. (domain_from_hostname): New functions.
  580. (res_vinit_1): Add struct resolv_conf_parser * parameter. Use
  581. struct search_list to collect search list entries. Call
  582. domain_from_hostname to obtain the fallback domain name.
  583. (__res_vinit): Create and destroy parser object. Pass search list
  584. to __resolv_conf_allocate.
  585. * resolv/res_query.c (__res_context_search): Use
  586. __resolv_context_search_list to obtain search list entries.
  587. * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print data
  588. from extended resolver context.
  589. (test_cases): Update.
  590. 2017-06-30 Florian Weimer <fweimer@redhat.com>
  591. Add extended resolver state/configuration (struct resolv_conf).
  592. * resolv/resolv_conf.h, resolv/resolv_conf.c: New files.
  593. * resolv/res-close.c (__res_iclose): Call __resolv_conf_detach.
  594. * resolv/res_init.c (res_vinit_1): Do not initialize initstamp.
  595. (__res_vinit): Call __resolv_conf_allocate and
  596. __resolv_conf_attach.
  597. * resolv/resolv_context.h (struct resolv_context): Add conf member
  598. of type struct resolv_conf.
  599. * resolv/resolv_context.c (maybe_init): Get initstamp from struct
  600. resolv_conf. Update conf member after initialization.
  601. * resolv/Makefile (routines): Add resolv_conf.
  602. * resolv/bits/types/res_state.h [_LIBC] (struct __res_state):
  603. Rename _u._ext.initstamp to _u._ext.__glibc_extension_index.
  604. [!_LIBC] (struct __res_state): Rename _u._ext._initstamp to
  605. _u._ext.__glibc_reserved.
  606. 2017-06-30 Florian Weimer <fweimer@redhat.com>
  607. [BZ #21668]
  608. Introduce temporary resolver contexts (struct resolv_conf).
  609. * resolv/resolv-internal.h (__res_context_mkquery)
  610. (__res_context_searchl __res_context_query, __res_context_send)
  611. (__res_context_hostalias): Declare.
  612. (__res_nopt): Switch to struct resolv_context.
  613. * resolv/res_use_inet6.h: New file.
  614. * resolv/resolv_context.h: Likewise.
  615. * resolv/resolv_context.c: Likewise.
  616. * resolv/compat-gethnamaddr.c (res_gethostbyname2_context):
  617. Renamed from res_gethostbyname2. Use struct resolv_context.
  618. (res_gethostbyname2): New function. Implement using
  619. res_gethostbyname2_context.
  620. (res_gethostbyaddr_context): Renamed from res_gethostbyaddr. Use
  621. struct resolv_context.
  622. (res_gethostbyaddr): New function. Implement using
  623. res_gethostbyaddr_context.
  624. * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Use struct
  625. resolv_context.
  626. * resolv/nss_dns/dns-host.c (gethostbyname3_context): Renamed from
  627. _nss_dns_gethostbyname3_r. Use struct resolv_context.
  628. (_nss_dns_gethostbyname3_r): Implement using gethostbyname3_context.
  629. (_nss_dns_gethostbyname_r, _nss_dns_gethostbyname4_r): Likewise.
  630. (_nss_dns_gethostbyaddr2_r): Use struct resolv_context.
  631. * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r)
  632. (_nss_dns_getnetbyaddr_r): Likewise.
  633. * resolv/res-close.c (res_thread_freeres): Call
  634. __resolv_context_freeres.
  635. * resolv/res_libc.c (__res_maybe_init): Remove function. Moved to
  636. maybe_init in resolv/resolv_context.c.
  637. * resolv/res_mkquery.c (__res_context_mkquery): Rename from
  638. res_nmkquery. Use struct resolv_context.
  639. (context_mkquery_common): New function.
  640. (res_nmkquery, res_mkquery): Use it.
  641. (res_nopt): Switch to struct resolv_context.
  642. * resolv/res_query.c (__res_context_querydomain): Renamed from
  643. __libc_res_nquerydomain. Use struct resolv_context.
  644. (__res_context_query): Renamed from __libc_res_nquery. Use struct
  645. resolv_context.
  646. (context_query_common): New function.
  647. (res_nquery, res_query): Use it.
  648. (__res_context_search): Renamed from __libc_res_nsearch. Use
  649. struct resolv_context.
  650. (context_search_common): New function.
  651. (res_nsearch, res_search): Use it.
  652. (__res_context_querydomain): Rename from __libc_res_nquerydomain.
  653. Use struct resolv_context.
  654. (context_querydomain_common): New function.
  655. (res_nquerydomain, res_querydomain): Use it.
  656. (__res_context_hostalias): Rename from res_hostalias. Use struct
  657. resolv_context.
  658. (context_hostalias_common): New function.
  659. (res_hostalias, hostalias): Use it.
  660. * resolv/res_send.c (__res_context_send): Renamed from
  661. __libc_res_nsend. Use struct resolv_context.
  662. (context_send_common): New function.
  663. (res_nsend, res_send): Use it.
  664. * resolv/Makefile (routines): Add resolv_context.
  665. * resolv/Versions (libc): Export __resolv_context_get,
  666. __resolv_context_get_preinit, __resolv_context_get_override,
  667. __resolv_context_put. Remove __res_maybe_init.
  668. (libresolv): Export __res_context_query, __res_context_search,
  669. __res_context_hostalias. Remove __libc_res_nquery,
  670. __libc_res_nsearch.
  671. * include/resolv.h (__res_maybe_init, __libc_res_nquery)
  672. (__libc_res_nsearch, __libc_res_nsend): Remove declaration.
  673. (__hostalias, __res_nmkquery, __res_nquery, __res_nquerydomain)
  674. (__res_hostalias, __res_nsearch, __res_nsend): Remove hidden
  675. prototypes.
  676. * nss/nsswitch.h (__nss_hostname_digits_dots_context): Declare.
  677. * nss/digits_dots.c (__nss_hostname_digits_dots_context): Renamed
  678. from __nss_hostname_digits_dots. Use struct resolv_context.
  679. (__nss_hostname_digits_dots): New function.
  680. * nss/getXXbyYY.c [HANDLE_DIGITS_DOTS] (FUNCTION_NAME): Acquire
  681. struct resolv_context object. Call new function
  682. __nss_hostname_digits_dots_context.
  683. * nss/getXXbyYY_r.c (REENTRANT_NAME): Use struct resolv_context.
  684. * nss/getnssent_r.c (__nss_setent): Likewise.
  685. * nscd/aicache.c (addhstaiX): Use struct resolv_context,
  686. __resolv_context_disable_inet6 and __resolv_context_enable_inet6
  687. instead of direct _res manipulation.
  688. * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Likewise.
  689. 2017-07-03 Florian Weimer <fweimer@redhat.com>
  690. * resolv/tst-resolv-res_init-skeleton.c
  691. (special_tests_count, special_test_call_res_init)
  692. (special_test_callback, special_test_thread_func)
  693. (run_special_test_on_thread, special_test): Define.
  694. (do_test): call special_test.
  695. (test_init_names): Fix typo.
  696. 2017-07-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  697. * sysdeps/powerpc/powerpc64/power8/strlen.S: Remove unreachable code.
  698. * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
  699. 2017-07-01 Florian Weimer <fweimer@redhat.com>
  700. H.J. Lu <hongjiu.lu@intel.com>
  701. [BZ #21696]
  702. * posix/sched_cpucount.c: Don't include <limits.h>.
  703. (__sched_cpucount): Use __builtin_popcount.
  704. 2017-07-01 Ramana Radhakrishnan <ramana.gcc@googlemail.com>
  705. * sysdeps/unix/sysv/aarch64/cpu-features.c (init_cpu_features):
  706. Fix typo.
  707. 2017-06-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  708. * include/math.h (__signbitf128): Define as hidden.
  709. * sysdeps/ieee754/float128/s_signbitf128.c (__signbitf128):
  710. Reimplement without builtins.
  711. * sysdeps/ia64/bits/floatn.h [!__GNUC_PREREQ (6, 0)]
  712. (__builtin_signbitf128): Define to __signbitf128.
  713. * sysdeps/powerpc/bits/floatn.h: Likewise.
  714. * sysdeps/x86/bits/floatn.h: Likewise.
  715. 2017-06-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  716. * sysdeps/unix/sysv/linux/arm/fcntl.c: Remove file.
  717. * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
  718. * sysdeps/unix/sysv/linux/hppa/fcntl.c: Likewise.
  719. * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
  720. * sysdeps/unix/sysv/linux/m68k/fcntl.c: Likewise.
  721. * sysdeps/unix/sysv/linux/microblaze/fcntl.c: Likewise.
  722. * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: Likewise.
  723. * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
  724. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: Likewise.
  725. * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: Likewise.
  726. * sysdeps/unix/sysv/linux/sh/fcntl.c: Likewise.
  727. * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: Likewise.
  728. * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Rename to
  729. fcntl_common and add check for F_GETOWN.
  730. (__libc_fcntl): Use SYSCALL_CANCEL macro.
  731. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Refactor to
  732. use default implementation.
  733. 2017-06-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
  734. * elf/dl-tunables.h (tunable_is_name): Move from...
  735. * elf/dl-tunables.c (is_name): ... here.
  736. (parse_tunables, __tunables_init): Adjust.
  737. * manual/tunables.texi: Document glibc.tune.cpu.
  738. * sysdeps/aarch64/dl-tunables.list: New file.
  739. * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (struct
  740. cpu_list): New type.
  741. (cpu_list): New list of CPU names and their MIDR.
  742. (get_midr_from_mcpu): New function.
  743. (init_cpu_features): Override MIDR if necessary.
  744. * sysdeps/aarch64/multiarch/ifunc-impl-list.c
  745. (__libc_ifunc_impl_list): Unconditionally select thunderx
  746. routine for testing.
  747. 2017-06-30 H.J. Lu <hongjiu.lu@intel.com>
  748. [BZ #21120]
  749. * malloc/malloc-internal.h (MALLOC_ALIGNMENT): Moved to ...
  750. * sysdeps/generic/malloc-alignment.h: Here. New file.
  751. * sysdeps/i386/malloc-alignment.h: Likewise.
  752. * sysdeps/generic/malloc-machine.h: Include <malloc-alignment.h>.
  753. 2017-06-30 Florian Weimer <fweimer@redhat.com>
  754. * resolv/tst-resolv-res_init-skeleton.c (test_init_names): New
  755. variable.
  756. (test_file_contents): Use it.
  757. 2017-06-30 Florian Weimer <fweimer@redhat.com>
  758. * resolv/res_init.c (res_setoptions): Remove source argument.
  759. (res_vinit_1): Adjust.
  760. 2017-06-30 Florian Weimer <fweimer@redhat.com>
  761. * resolv/res_query.c (DEBUG): Remove preprocessor conditional.
  762. 2017-06-30 Florian Weimer <fweimer@redhat.com>
  763. * resolv/res_data.c: Reformat to GNU style.
  764. (res_close): Update comments.
  765. 2017-06-30 Florian Weimer <fweimer@redhat.com>
  766. * resolv/res_data.c (res_query, res_search, res_querydomain)
  767. (hostalias): Move to ...
  768. * resolv/res_Send.c (res_query, res_search, res_querydomain)
  769. (hostalias): here.
  770. 2017-06-30 Florian Weimer <fweimer@redhat.com>
  771. * resolv/res_data.c (res_isourserver, res_send): Move to ...
  772. * resolv/res_send.c (res_isourserver, res_send): here.
  773. 2017-06-30 Florian Weimer <fweimer@redhat.com>
  774. * resolv/res_debug.c (_res_opcodes): Rename ...
  775. (res_opcodes): ... as compatibility symbol.
  776. (fp_nquery): Use res_opcodes.
  777. * include/resolv.h (_res_opcodes): Remove declaration.
  778. 2017-06-30 Florian Weimer <fweimer@redhat.com>
  779. * include/resolv.h (res_pquery): Remove declaration.
  780. * resolv/res_data.c (fp_nquery, fp_query, p_query): Remove
  781. functions.
  782. (_res_opcodes): Remove variable.
  783. * resolv/res_debug.c (do_section): Receive pfcode instead of
  784. statp.
  785. (res_pquery): Rename ...
  786. (fp_nquery): to this function. Skip unnecessary _res
  787. initialization.
  788. (fp_query, p_query, _res_opcodes): Copied from resolv/res_data.c.
  789. 2017-06-30 Florian Weimer <fweimer@redhat.com>
  790. * resolv/res_debug.h: Remove file.
  791. * resolv/README: Adjust.
  792. 2017-06-30 Florian Weimer <fweimer@redhat.com>
  793. * resolv/res_end.c (DEBUG): Remove macro and preprocessor
  794. conditionals.
  795. (Aerror, Perror): Remove function definitions.
  796. 2017-06-30 Florian Weimer <fweimer@redhat.com>
  797. * resolv/res_data.c (res_mkquery): Move ...
  798. * resolv/res_mkquery.c (res_mkquery): to here.
  799. 2017-06-30 Florian Weimer <fweimer@redhat.com>
  800. * resolv/res_mkquery.c: Reformat to GNU style.
  801. (T_OPT): Remove definition. It is present in the header file.
  802. 2017-06-30 Florian Weimer <fweimer@redhat.com>
  803. * resolv/res_mkquery.c (DEBUG): Remove macro and preprocessor
  804. conditionals.
  805. 2017-06-30 Florian Weimer <fweimer@redhat.com>
  806. * support/support_capture_subprocess_check.c
  807. (support_capture_subprocess_check): Report actual exit status.
  808. 2017-06-30 Florian Weimer <fweimer@redhat.com>
  809. [BZ #19570]
  810. * resolv/res_send.c (nameserver_offset): New function.
  811. (__libc_res_nsend): Use it to implement RES_ROTATE.
  812. (get_nsaddr): Add assert with name server
  813. range check.
  814. * resolv/Makefile (xtests): Add tst-resolv-rotate.
  815. (tst-resolv-rotate): Link against libpthread.
  816. * resolv/tst-resolv-rotate.c: New file.
  817. 2017-06-29 Joseph Myers <joseph@codesourcery.com>
  818. [BZ #21457]
  819. * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (__ctx): New macro.
  820. [__WORDSIZE == 64] (MC_TSTATE): Define only for [__USE_MISC].
  821. [__WORDSIZE == 64] (MC_PC): Likewise.
  822. [__WORDSIZE == 64] (MC_NPC): Likewise.
  823. [__WORDSIZE == 64] (MC_Y): Likewise.
  824. [__WORDSIZE == 64] (MC_G1): Likewise.
  825. [__WORDSIZE == 64] (MC_G2): Likewise.
  826. [__WORDSIZE == 64] (MC_G3): Likewise.
  827. [__WORDSIZE == 64] (MC_G4): Likewise.
  828. [__WORDSIZE == 64] (MC_G5): Likewise.
  829. [__WORDSIZE == 64] (MC_G6): Likewise.
  830. [__WORDSIZE == 64] (MC_G7): Likewise.
  831. [__WORDSIZE == 64] (MC_O0): Likewise.
  832. [__WORDSIZE == 64] (MC_O1): Likewise.
  833. [__WORDSIZE == 64] (MC_O2): Likewise.
  834. [__WORDSIZE == 64] (MC_O3): Likewise.
  835. [__WORDSIZE == 64] (MC_O4): Likewise.
  836. [__WORDSIZE == 64] (MC_O5): Likewise.
  837. [__WORDSIZE == 64] (MC_O6): Likewise.
  838. [__WORDSIZE == 64] (MC_O7): Likewise.
  839. [__WORDSIZE == 64] (MC_NGREG): Rename to __MC_NGREG and define to
  840. __MC_NGREG if [__USE_MISC].
  841. [__WORDSIZE == 64] (MC_MAXFPQ): Define only for [__USE_MISC].
  842. [__WORDSIZE == 64] (mc_gregset_t): Define using __MC_NGREG.
  843. [__WORDSIZE == 64] (struct mc_fq): Rename to struct __mc_fq.
  844. Define fields using __ctx.
  845. [__WORDSIZE == 64] (mc_fpu_t): Remove struct tag. Define fields
  846. using __ctx.
  847. [__WORDSIZE == 64] (mcontext_t): Define fields using __ctx.
  848. (REG_PSR): Define only for [__USE_MISC].
  849. (REG_PC): Likewise.
  850. (REG_nPC): Likewise.
  851. (REG_Y): Likewise.
  852. (REG_G1): Likewise.
  853. (REG_G2): Likewise.
  854. (REG_G3): Likewise.
  855. (REG_G4): Likewise.
  856. (REG_G5): Likewise.
  857. (REG_G6): Likewise.
  858. (REG_G7): Likewise.
  859. (REG_O0): Likewise.
  860. (REG_O1): Likewise.
  861. (REG_O2): Likewise.
  862. (REG_O3): Likewise.
  863. (REG_O4): Likewise.
  864. (REG_O5): Likewise.
  865. (REG_O6): Likewise.
  866. (REG_O7): Likewise.
  867. [__WORDSIZE == 64] (REG_ASI): Define only for [__USE_MISC].
  868. [__WORDSIZE == 64] (REG_FPRS): Likewise.
  869. (NGREG): Rename to __NGREG and define to __NGREG if [__USE_MISC].
  870. (gregset_t): Define using __NGREG.
  871. (SPARC_MAXREGWINDOW): Rename to __SPARC_MAXREGWINDOW and define to
  872. __SPARC_MAXREGWINDOW if [__USE_MISC].
  873. (struct rwindow): Rename to struct __rwindow. Define fields using
  874. __ctx.
  875. (rw_fp): Define only for [__USE_MISC].
  876. (rw_rtn): Likewise.
  877. (gwindows_t): Remove struct tag. Define fields using __ctx and
  878. __SPARC_MAXREGWINDOW.
  879. (MAXFPQ): Define only for [__USE_MISC].
  880. (struct fpq): Rename to struct __fpq. Define fields using __ctx.
  881. (struct fq): Rename to struct __fq. Define fields using __ctx.
  882. (FPU_REGS_TYPE): Define only for [__USE_MISC].
  883. (FPU_DREGS_TYPE): Likewise.
  884. (V7_FPU_FSR_TYPE): Likewise.
  885. (V9_FPU_FSR_TYPE): Likewise.
  886. (V9_FPU_FPRS_TYPE): Likewise.
  887. [__WORDSIZE == 64] (fpregset_t): Remove struct tag. Define fields
  888. using __ctx.
  889. [__WORDSIZE != 64] (fpregset_t): Likewise.
  890. [__WORDSIZE != 64] (xrs_t): Define fields using __ctx.
  891. [__WORDSIZE != 64] (XRS_ID): Define only for [__USE_MISC].
  892. [__WORDSIZE != 64] (mcontext_t): Define fields using __ctx.
  893. Rename field filler to __glibc_reserved1.
  894. * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym
  895. (MC_FILLER): Remove.
  896. 2017-06-29 Florian Weimer <fweimer@redhat.com>
  897. * stdio-common/tst-vfprintf-user-type.c (my_printf_function):
  898. Adjust format string.
  899. * stdio-common/Makefile (tst-vfprintf-mbs-prec.out): Add locale
  900. dependency.
  901. 2017-06-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  902. * sysdeps/posix/spawni.c (__spawni_child): New function.
  903. (__spawni): Rename to __spawnix.
  904. 2017-06-29 Florian Weimer <fweimer@redhat.com>
  905. * stdio-common/vfprintf.c (group_number): Add front_ptr argument.
  906. Use it to make the temporary copy at the start of the work buffer.
  907. (process_arg): Adjust call to group_number.
  908. 2017-06-29 Florian Weimer <fweimer@redhat.com>
  909. * stdio-common/vfprintf.c (printf_positional): Use struct
  910. scratch_buffer to allocate backing storage for the args_value,
  911. args_size, args_type arrays.
  912. 2017-06-29 Florian Weimer <fweimer@redhat.com>
  913. * stdio-common/_i18n_number.h (_i18n_number_rewrite): Use struct
  914. scratch_buffer.
  915. 2017-06-29 Florian Weimer <fweimer@redhat.com>
  916. * stdio-common/vfprintf.c (WORK_BUFFER_SIZE): Reduce size for
  917. wchar_t builds.
  918. 2017-06-29 Florian Weimer <fweimer@redhat.com>
  919. * stdio-common/tst-vfprintf-mbs-prec.c: New file.
  920. * stdio-common/Makefile (tests): Add tst-vfprintf-mbs-prec.
  921. 2017-06-29 Florian Weimer <fweimer@redhat.com>
  922. * stdio-common/tst-vfprintf-user-type.c: New file.
  923. * stdio-common/Makefile (tests): Add tst-vfprintf-user-type.
  924. 2017-06-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  925. * posix/tst-spawn2.c (do_test): Use libsupport.
  926. * posix/tst-spawn3.c (do_test): Likewise.
  927. 2017-06-28 Joseph Myers <joseph@codesourcery.com>
  928. * math/gen-tgmath-tests.py (Tests.__init__): Define
  929. __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file.
  930. * math/tgmath.h: Include <bits/libc-header-start.h> and
  931. <bits/floatn.h>.
  932. (__TGMATH_F128): New macro.
  933. (__TGMATH_CF128): Likewise.
  934. (__TGMATH_UNARY_REAL_ONLY): Use __TGMATH_F128.
  935. (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
  936. (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
  937. (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): New macro.
  938. (__TGMATH_BINARY_REAL_ONLY): Use __TGMATH_F128.
  939. (__TGMATH_BINARY_REAL_STD_ONLY): New macro.
  940. (__TGMATH_BINARY_REAL_RET_ONLY): Use __TGMATH_F128.
  941. (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
  942. (__TGMATH_TERNARY_REAL_ONLY): Likewise.
  943. (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
  944. (__TGMATH_UNARY_REAL_IMAG): Use __TGMATH_CF128.
  945. (__TGMATH_UNARY_IMAG): Use __TGMATH_F128.
  946. (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __TGMATH_CF128.
  947. (__TGMATH_BINARY_REAL_IMAG): Likewise.
  948. (nexttoward): Use __TGMATH_BINARY_FIRST_REAL_STD_ONLY.
  949. [__USE_MISC] (scalb): Use __TGMATH_BINARY_REAL_STD_ONLY.
  950. * math/gen-tgmath-tests.py (Type.init_types): Enable _FloatN and
  951. _FloatNx types if the corresponding HUGE_VAL macros are defined.
  952. * math/tgmath.h [__USE_GNU] (log10): Use clog10 not __clog10.
  953. * math/gen-tgmath-tests.py (Tests.add_all_tests): Test log10 for
  954. complex arguments.
  955. [BZ #21687]
  956. * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): New macro.
  957. (totalorder): Use it.
  958. (totalordermag): Likewise.
  959. * math/gen-tgmath-tests.py (Tests.add_all_tests): Enable tests of
  960. totalorder and totalordermag.
  961. * math/test-tgmath.c (F(compile_test)): Do not call totalorder or
  962. totalordermag in arguments of calls to those functions.
  963. (NCALLS): Change to 134.
  964. * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): Do not take or
  965. cast to return type argument.
  966. (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
  967. (lrint): Update call to __TGMATH_UNARY_REAL_RET_ONLY.
  968. (llrint): Likewise.
  969. (lround): Likewise.
  970. (llround): Likewise.
  971. (ilogb): Likewise.
  972. (llogb): Likewise.
  973. (fromfp): Update call to __TGMATH_TERNARY_FIRST_REAL_RET_ONLY.
  974. (ufromfp): Likewise.
  975. (fromfpx): Likewise.
  976. (ufromfpx): Likewise.
  977. [BZ #21607]
  978. * math/basic-test.c [!NO_LONG_DOUBLE]: Change conditionals to
  979. [LDBL_MANT_DIG > DBL_MANT_DIG].
  980. * math/bug-nextafter.c [!NO_LONG_DOUBLE]: Remove conditionals.
  981. * math/bug-nexttoward.c [!NO_LONG_DOUBLE]: Likewise.
  982. * math/test-math-isinff.cc [!NO_LONG_DOUBLE]: Likewise.
  983. * math/test-math-iszero.cc [!NO_LONG_DOUBLE]: Likewise.
  984. * math/test-nan-overflow.c [!NO_LONG_DOUBLE]: Likewise.
  985. * math/test-nan-payload.c [!NO_LONG_DOUBLE]: Likewise.
  986. * math/test-nearbyint-except-2.c [!NO_LONG_DOUBLE]: Likewise.
  987. * math/test-nearbyint-except.c [!NO_LONG_DOUBLE]: Likewise.
  988. * math/test-powl.c [!NO_LONG_DOUBLE]: Likewise.
  989. * math/test-signgam-finite-c99.c [!NO_LONG_DOUBLE]: Likewise.
  990. * math/test-signgam-finite.c [!NO_LONG_DOUBLE]: Likewise.
  991. * math/test-signgam-main.c [!NO_LONG_DOUBLE]: Likewise.
  992. * math/test-snan.c [!NO_LONG_DOUBLE]: Likewise.
  993. * math/test-tgmath-ret.c [!NO_LONG_DOUBLE]: Likewise.
  994. * math/test-tgmath.c: Include <float.h>.
  995. [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
  996. DBL_MANT_DIG].
  997. * math/test-tgmath2.c: Include <float.h>.
  998. [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
  999. DBL_MANT_DIG].
  1000. * math/gen-tgmath-tests.py: New file.
  1001. * math/Makefile [PYTHON] (tests): Add test-tgmath3.
  1002. [PYTHON] (generated): Add test-tgmath3.c.
  1003. [PYTHON] (CFLAGS-test-tgmath3.c): New variable.
  1004. [PYTHON] ($(objpfx)test-tgmath3.c): New rule.
  1005. * configure.ac (AS): Require binutils 2.25 or later.
  1006. (LD): Likewise.
  1007. * configure: Regenerated.
  1008. * sysdeps/s390/configure.ac (AS): Remove version check.
  1009. * sysdeps/s390/configure: Regenerated.
  1010. * sysdeps/x86_64/configure.ac (AS): Remove version check.
  1011. * sysdeps/x86_64/configure: Regenerated.
  1012. * manual/install.texi (Tools for Compilation): Document
  1013. requirement for binutils 2.25 or later.
  1014. * INSTALL: Regenerated.
  1015. 2017-06-28 H.J. Lu <hongjiu.lu@intel.com>
  1016. [BZ #14995]
  1017. * configure.ac: Allow gold 1.14 or above to configire glibc
  1018. * configure: Regenerated.
  1019. 2017-06-28 Joseph Myers <joseph@codesourcery.com>
  1020. [BZ #21457]
  1021. * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset_t): Remove
  1022. struct tag.
  1023. * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (fpregset_t):
  1024. Likewise.
  1025. * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (mcontext_t):
  1026. Likewise.
  1027. * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (pt_regs):
  1028. Declare struct type with __ctx.
  1029. [__WORDSIZE != 32] (mcontext_t): Use __ctx with pt_regs struct
  1030. tag.
  1031. (ucontext_t) [__WORDSIZE == 32]: Use __ctx with pt_regs struct tag
  1032. and regs field name.
  1033. 2017-06-27 Joseph Myers <joseph@codesourcery.com>
  1034. * elf/loadtest.c (OUT): Define using do { } while (0).
  1035. * time/strftime_l.c (DO_NUMBER): Define using do { } while (0).
  1036. (DO_NUMBER_SPACEPAD): Likewise.
  1037. 2017-06-27 Prakhar Bahuguna <prakhar.bahuguna@arm.com>
  1038. * sysdeps/arm/armv7/multiarch/Makefile: Add memchr_neon to
  1039. sysdep_routines.
  1040. * sysdeps/arm/armv7/multiarch/ifunc-impl-list.c: Add define for
  1041. __memchr_neon.
  1042. Add ifunc definitions for __memchr_neon and __memchr_noneon.
  1043. * sysdeps/arm/armv7/multiarch/memchr.S: New file.
  1044. * sysdeps/arm/armv7/multiarch/memchr_impl.S: Likewise.
  1045. * sysdeps/arm/armv7/multiarch/memchr_neon.S: Likewise.
  1046. 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
  1047. * sysdeps/s390/utf8-utf16-z9.c (__to_utf8_loop_vx_cu):
  1048. Use vector and cu21 instruction.
  1049. * sysdeps/s390/multiarch/utf8-utf16-z9.c:
  1050. Add __to_utf8_loop_vx_cu in ifunc resolver.
  1051. 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
  1052. * sysdeps/s390/utf16-utf32-z9.c (__from_utf16_loop_vx_cu):
  1053. Use vector and cu24 instruction.
  1054. 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
  1055. * sysdeps/s390/utf16-utf32-z9.c (__to_utf16_loop_vx_cu):
  1056. Use vector and cu42 instruction.
  1057. * sysdeps/s390/multiarch/utf16-utf32-z9.c:
  1058. Add __to_utf16_loop_vx_cu in ifunc resolver.
  1059. 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
  1060. * sysdeps/s390/utf8-utf32-z9.c (__to_utf8_loop_vx_cu):
  1061. Use vector and cu41 instruction.
  1062. * sysdeps/s390/multiarch/utf8-utf32-z9.c: Add __to_utf8_loop_vx_cu
  1063. in ifunc resolver.
  1064. 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
  1065. * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
  1066. Add vxd, vxe, gs flag.
  1067. * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXD, HWCAP_S390_VXE,
  1068. HWCAP_S390_GS capability.
  1069. * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
  1070. (HWCAP_S390_VXD, HWCAP_S390_VXE, HWCAP_S390_GS): Define.
  1071. 2017-06-27 H.J. Lu <hongjiu.lu@intel.com>
  1072. * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (MEMCMP): Check
  1073. the first 32 bytes before checking size when size >= 32 bytes.
  1074. Replace vpmovmskb/subl/jnz with vptest/jnc.
  1075. 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
  1076. * sysdeps/s390/s390-32/tls-macros.h (TLS_IE): Use r12 for GOT address.
  1077. * sysdeps/s390/s390-64/tls-macros.h (TLS_IE): Likewise.
  1078. 2017-06-27 Florian Weimer <fweimer@redhat.com>
  1079. Work around test timeouts with ICMP rate limiting on localhost.
  1080. * resolv/tst-resolv-res_init-skeleton.c (start_dummy_server): New
  1081. function.
  1082. (do_test): Call it.
  1083. 2017-06-27 Florian Weimer <fweimer@redhat.com>
  1084. Call _res_hconf_init from __res_vinit.
  1085. * inet/gethstbyad_r.c (NEED__RES_HCONF): Remove.
  1086. * inet/gethstbynm2_r.c (NEED__RES_HCONF): Likewise.
  1087. (NEED__RES): Define.
  1088. * inet/gethstbynm_r.c (NEED__RES_HCONF): Remove.
  1089. (NEED__RES): Define.
  1090. * nscd/aicache.c (addhstaiX): Remove call to _res_hconf_init.
  1091. * nscd/gethstbyad_r.c (NEED__RES_HCONF): Remove.
  1092. * nscd/gethstbynm3_r.c (NEED__RES_HCONF): Likewise.
  1093. (NEED__RES): Define.
  1094. * nss/getXXbyYY_r.c (REENTRANT_NAME): Remove call to
  1095. _res_hconf_init.
  1096. * resolv/res_hconf.h (_res_hconf_init): Declare as hidden.
  1097. * resolv/res_init.c (__res_vinit): Call _res_hconf_init.
  1098. * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove call to
  1099. _res_hconf_init.
  1100. 2017-06-26 Joseph Myers <joseph@codesourcery.com>
  1101. * sysdeps/ia64/Implies: Add ieee754/float128.
  1102. * sysdeps/ia64/bits/floatn.h: New file.
  1103. * sysdeps/ia64/float128-abi.h: Likewise.
  1104. * manual/math.texi (Mathematics): Document support for _Float128
  1105. on ia64.
  1106. * sysdeps/ia64/Makefile [$(subdir) = math] (CPPFLAGS): Append to
  1107. Makefile variable.
  1108. * sysdeps/ia64/fpu/e_sqrtf128.c: New file.
  1109. * sysdeps/ia64/fpu/k_rem_pio2.c: Remove file.
  1110. * sysdeps/ia64/fpu/sfp-machine.h: New file. Based on libgcc.
  1111. * sysdeps/ia64/math-tests.h: New file.
  1112. * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): Also define
  1113. based on TEST_COND_binary128 for [__ia64__].
  1114. * sysdeps/unix/sysv/linux/ia64/libc.abilist: Update.
  1115. * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise,
  1116. [BZ #21457]
  1117. * sysdeps/arm/sys/ucontext.h (struct ucontext): Rename to struct
  1118. ucontext_t.
  1119. * sysdeps/generic/sys/ucontext.h (struct ucontext): Likewise.
  1120. * sysdeps/i386/sys/ucontext.h (struct ucontext): Likewise.
  1121. * sysdeps/m68k/sys/ucontext.h (struct ucontext): Likewise.
  1122. * sysdeps/mips/sys/ucontext.h (struct ucontext): Likewise.
  1123. * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (struct
  1124. ucontext): Likewise.
  1125. * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (struct ucontext):
  1126. Likewise.
  1127. * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (struct ucontext):
  1128. Likewise.
  1129. * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (struct ucontext):
  1130. Likewise.
  1131. * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (struct ucontext):
  1132. Likewise.
  1133. * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (struct ucontext):
  1134. Likewise.
  1135. * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (struct ucontext):
  1136. Likewise.
  1137. * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (struct ucontext):
  1138. Likewise.
  1139. * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (struct
  1140. ucontext): Likewise.
  1141. * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (struct ucontext):
  1142. Likewise.
  1143. * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (struct ucontext):
  1144. Likewise.
  1145. * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct ucontext):
  1146. Likewise.
  1147. * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (struct ucontext):
  1148. Likewise.
  1149. * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (struct ucontext):
  1150. Likewise.
  1151. * sysdeps/powerpc/powerpc32/backtrace.c (struct
  1152. rt_signal_frame_32): Likewise.
  1153. * sysdeps/powerpc/powerpc64/backtrace.c (struct signal_frame_64):
  1154. Likewise.
  1155. * sysdeps/unix/sysv/linux/aarch64/kernel_rt_sigframe.h (struct
  1156. kernel_rt_sigframe): Likewise.
  1157. * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT):
  1158. Likewise.
  1159. * sysdeps/unix/sysv/linux/arm/register-dump.h (register_dump):
  1160. Likewise.
  1161. * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h (SIGCONTEXT):
  1162. Likewise.
  1163. * sysdeps/unix/sysv/linux/hppa/profil-counter.h
  1164. (__profil_counter): Likewise.
  1165. * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
  1166. (SIGCONTEXT): Likewise.
  1167. * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
  1168. kernel_rt_sigframe): Likewise.
  1169. * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h (struct
  1170. kernel_rt_sigframe): Likewise.
  1171. * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h (SIGCONTEXT):
  1172. Likewise.
  1173. * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext):
  1174. Likewise.
  1175. * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
  1176. (__start_context): Likewise.
  1177. * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h (SIGCONTEXT):
  1178. Likewise.
  1179. * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
  1180. Likewise.
  1181. * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
  1182. Likewise.
  1183. * sysdeps/i386/Implies: Add ieee754/float128.
  1184. * sysdeps/x86_64/Implies: Likewise.
  1185. * sysdeps/x86/bits/floatn.h: New file.
  1186. * sysdeps/x86/float128-abi.h: Likewise.
  1187. * manual/math.texi (Mathematics): Document support for _Float128
  1188. on x86_64 and x86.
  1189. * sysdeps/i386/fpu/fenv_private.h: Include <bits/floatn.h>.
  1190. (math_opt_barrier): Do not put _Float128 values in floating-point
  1191. registers.
  1192. (math_force_eval): Likewise.
  1193. [__x86_64__] (SET_RESTORE_ROUNDF128): New macro.
  1194. * sysdeps/x86/fpu/Makefile [$(subdir) = math] (CPPFLAGS): Append
  1195. to Makefile variable.
  1196. * sysdeps/x86/fpu/e_sqrtf128.c: New file.
  1197. * sysdeps/x86/fpu/sfp-machine.h: Likewise. Based on libgcc.
  1198. * sysdeps/x86/math-tests.h: New file.
  1199. * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): New macro.
  1200. * math/libm-test-getpayload.inc (getpayload_test_data): Use
  1201. XFAIL_FLOAT128_PAYLOAD.
  1202. * math/libm-test-setpayload.inc (setpayload_test_data): Likewise.
  1203. * math/libm-test-totalorder.inc (totalorder_test_data): Likewise.
  1204. * math/libm-test-totalordermag.inc (totalordermag_test_data):
  1205. Likewise.
  1206. * sysdeps/unix/sysv/linux/i386/libc.abilist: Update.
  1207. * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
  1208. * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
  1209. * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
  1210. * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
  1211. * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
  1212. * sysdeps/i386/fpu/libm-test-ulps: Likewise.
  1213. * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
  1214. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  1215. 2017-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  1216. [BZ #21512]
  1217. * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Call exit
  1218. syscall instead of jump to _exit.
  1219. (CLONE_VM_BIT): Remove unused define.
  1220. (CLONE_VM): Likewise.
  1221. (CLONE_THREAD_BIT): Likewise.
  1222. (CLONE_THREAD): Likewise.
  1223. * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
  1224. (CLONE_VM): Remove unused define.
  1225. * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
  1226. (CLONE_VM): Remove unused define.
  1227. (CLONE_THREAD): Likewise.
  1228. * sysdeps/unix/sysv/linux/i386/clone.S (CLONE_VM): Likewise.
  1229. * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Call exit
  1230. syscall instead of jump to _exit.
  1231. * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
  1232. * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
  1233. (CLONE_VM): Remove unused define.
  1234. (CLONE_THREAD): Likewise.
  1235. * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
  1236. (CLONE_VM): Remove unused define.
  1237. * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
  1238. Likewise.
  1239. (CLONE_VM): Remove unused define.
  1240. (CLONE_THREAD): Likewise.
  1241. * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
  1242. Likewise.
  1243. (CLONE_VM): Remove unused define.
  1244. (CLONE_THREAD): Likewise.
  1245. * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
  1246. * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
  1247. (CLONE_VM): Remove unused define.
  1248. * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
  1249. (CLONE_VM): Remove unused define.
  1250. * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
  1251. * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
  1252. (CLONE_VM): Remove unused define.
  1253. * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-clone3.
  1254. * sysdeps/unix/sysv/linux/tst-clone3.c: New file.
  1255. 2017-06-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  1256. Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  1257. * manual/math.texi (Mathematics): Mention the enabling of float128
  1258. for powerpc64le.
  1259. * sysdeps/powerpc/bits/floatn.h: New file.
  1260. * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
  1261. * sysdeps/powerpc/fpu/math_private.h:
  1262. (__ieee754_sqrtf128): New inline override.
  1263. * sysdeps/powerpc/powerpc64le/Implies-before: New file.
  1264. * sysdeps/powerpc/powerpc64le/Makefile: New file.
  1265. * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: New file.
  1266. * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: New file.
  1267. * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: New file.
  1268. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
  1269. Updated.
  1270. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
  1271. Likewise.
  1272. * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h:
  1273. New file.
  1274. 2017-06-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  1275. * sysdeps/powerpc/powerpc64le/configure.ac: Check for POWER8.
  1276. * sysdeps/powerpc/powerpc64le/configure: Update.
  1277. 2017-06-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  1278. Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  1279. * INSTALL: Regenerate.
  1280. * manual/install.texi (Recommended Tools for Compilation): Mention
  1281. the powerpc64le-specific requirement in the manual.
  1282. * sysdeps/powerpc/powerpc64le/configure.ac: New file with checks
  1283. for the compiler features required for building float128.
  1284. * sysdeps/powerpc/powerpc64le/configure: New, auto-generated file.
  1285. 2017-06-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  1286. * malloc/tst-alloc_buffer.c (test_misaligned): Cast to char
  1287. before comparing with another char.
  1288. 2017-06-25 Rical Jasan <ricaljasan@pacific.net>
  1289. * manual/math.texi: Fix a grammatical error.
  1290. 2017-06-24 Florian Weimer <fweimer@redhat.com>
  1291. [BZ #21295]
  1292. * resolv/tst-resolv-basic.c (do_test): Add new test cases.
  1293. 2017-06-24 Dmitry Bilunov <kmeaw@kmeaw.com>
  1294. [BZ #21295]
  1295. * sysdeps/posix/getaddrinfo.c (convert_hostent_to_gaih_addrtuple):
  1296. Append addresses at the end of the list.
  1297. 2017-06-23 H.J. Lu <hongjiu.lu@intel.com>
  1298. [BZ #21666]
  1299. * misc/regexp.c (loc1): Add __attribute__ ((nocommon));
  1300. (loc2): Likewise.
  1301. (locs): Likewise.
  1302. 2017-06-23 Florian Weimer <fweimer@redhat.com>
  1303. [BZ #16637]
  1304. inet_pton: Reject invalid IPv6 addresses with many leading zeros.
  1305. * resolv/inet_pton.c (inet_pton6): Count number of hexadecimal
  1306. digits between colons.
  1307. * resolv/tst-inet_pton.c (test_cases): Adjust test expectations.
  1308. 2017-05-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  1309. Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
  1310. * include/sched.h (__sched_get_priority_max): Add libc hidden proto.
  1311. (__sched_get_prioriry_min): Likewise.
  1312. * include/sys/mman.h (__mmap): Likewise.
  1313. (__mmap64): Likewise.
  1314. (__munmap): Likewise.
  1315. (__mprotect): Likewise.
  1316. * include/termios.h (__tcsetattr): Likewise.
  1317. * include/time.h (__nanosleep): Use hidden_proto instead of
  1318. libc_hidden_proto.
  1319. * posix/nanosleep.c (__nanosleep): Likewise.
  1320. * misc/Versions (libc): Export __mmap, __munmap, __mprotect,
  1321. __sched_get_priority_min, and __sched_get_priority_max under
  1322. GLIBC_PRIVATE.
  1323. * nptl/allocatestack.c (__free_stacks): Use internal definition for
  1324. libc symbols.
  1325. (change_stack_perm): Likewise.
  1326. (change_stack_perm): Likewise.
  1327. (allocate_stack): Likewise.
  1328. * sysdeps/posix/gethostname.c: Likewise.
  1329. * nptl/tpp.c (__init_sched_fifo_prio): Likewise.
  1330. * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
  1331. * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
  1332. * nptl/pthreadP.h (__pthread_mutex_timedlock): Add definition.
  1333. (__pthread_key_delete): Likewise.
  1334. (__pthread_detach): Likewise.
  1335. (__pthread_cancel): Likewise.
  1336. (__pthread_mutex_trylock): Likewise.
  1337. (__pthread_mutexattr_init): Likewise.
  1338. (__pthread_mutexattr_settype): Likewise.
  1339. * nptl/pthread_cancel.c (pthread_cancel): Change to internal name and
  1340. create alias for exported one.
  1341. * nptl/pthread_join.c (pthread_join): Likewise.
  1342. * nptl/pthread_detach.c (pthread_detach): Likewise.
  1343. * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
  1344. * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
  1345. * nptl/pthread_create.c: Change static requirements for pthread
  1346. symbols.
  1347. * nptl/pthread_equal.c (__pthread_equal): Change strong alias to weak
  1348. for internal definition.
  1349. * nptl/pthread_exit.c (__pthread_exit): Likewise.
  1350. * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
  1351. * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
  1352. * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Likewise.
  1353. * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
  1354. * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
  1355. * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
  1356. * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock): Likewise.
  1357. * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likwise.
  1358. * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
  1359. Likewise.
  1360. * nptl/pthread_self.c (__pthread_self): Likewise.
  1361. * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
  1362. * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
  1363. * misc/mmap.c (__mmap): Add internal symbol definition.
  1364. * misc/mmap.c (__mmap64): Likewise.
  1365. * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
  1366. * sysdeps/unix/sysv/linux/mmap64.c (__mmap): Likewise.
  1367. (__mmap64): Likewise.
  1368. * sysdeps/unix/sysv/linux/i386/Versions (libc) [GLIBC_PRIVATE):
  1369. Add __uname.
  1370. 2017-06-23 Joseph Myers <joseph@codesourcery.com>
  1371. * sysdeps/i386/fpu/libm-test-ulps: Update.
  1372. * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
  1373. * libm-test-support.c (check_float_internal): Clear exceptions at
  1374. end of function.
  1375. (check_int): Likewise.
  1376. (check_long): Likewise.
  1377. (check_bool): Likewise.
  1378. (check_longlong): Likewise.
  1379. (check_intmax_t): Likewise.
  1380. (check_uintmax_t): Likewise.
  1381. * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed):
  1382. Do not declare.
  1383. * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC &&
  1384. __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here,
  1385. redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)].
  1386. 2017-06-23 H.J. Lu <hongjiu.lu@intel.com>
  1387. * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
  1388. Replace movzbl and orl with movb.
  1389. 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  1390. * manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx.
  1391. (Error Reporting by Mathematical Functions): Document HUGE_VAL_FN
  1392. and HUGE_VAL_FNx.
  1393. (Absolute Value): Document fabsfN, fabsfNx, cabsfN, cabsfNx.
  1394. Rephrase the paragraph that mentions that fabs, fabsf, and fabsl
  1395. are in math.h, to avoid having to list the _FloatN and _FloatNx
  1396. variants as well. Likewise for the cabs functions.
  1397. (Normalization Functions): Document frexpfN, frexpfNx, ldexpfN,
  1398. ldexpfNx, scalbnfN, scalbnfNx, scalblnfN, scalblnfNx.
  1399. Mention that _FloatN and _FloatNx variants of scalbn and scalbln
  1400. come from TS 18661-3, since this section explicitly states that
  1401. these functions come from BSD.
  1402. (Rounding Functions): Document ceilfN, ceilfNx, floorfN, floorfNx,
  1403. truncfN, truncfNx, rintfN, rintfNx, nearbyintfN, nearbyintfNx,
  1404. roundfN, roundfNx, roundevenfN, roundevenfNx, lrintfN, lrintfNx,
  1405. llrintfN, llrintfNx, lroundfN, lroundfNx, llroundfN, llroundfNx,
  1406. fromfpfN, fromfpfNx, ufromfpfN, ufromfpfNx, fromfpxfN, fromfpxfNx,
  1407. ufromfpxfN, ufromfpxfNx, modffN, modffNx.
  1408. (Remainder Functions): Document fmodfN, fmodfNx, remainderfN,
  1409. remainderfNx.
  1410. (Setting and modifying single bits of FP values): Document
  1411. copysignfN, copysignfNx, nextafterfN, nextafterfNx, nextupfN,
  1412. nextupfNx, nextdownfN, nextdownfNx, nanfN, nanfNx, canonicalizefN,
  1413. canonicalizefNx, getpayloadfN, getpayloadfNx, setpayloadfN,
  1414. setpayloadfNx, setpayloadsigfN, setpayloadsigfNx.
  1415. (Floating-Point Comparison Functions): Document totalorderfN,
  1416. totalorderfNx, totalordermagfN, totalordermagfNx.
  1417. (Miscellaneous FP arithmetic functions): Document fminfN, fminfNx,
  1418. fmaxfN, fmaxfNx, fminmagfN, fminmagfNx, fmaxmagfN, fmaxmagfNx,
  1419. fdimfN, fdimfNx, fmafN, fmafNx.
  1420. (Complex Numbers): Document the complex types: _FloatN complex and
  1421. _FloatNx complex.
  1422. (rojections, Conjugates, and Decomposing of Complex Numbers):
  1423. Document crealfN, crealfNx, cimagfN, cimagfNx, conjfN, conjfNx,
  1424. cargfN, cargfNx, cprojfN, cprojfNx.
  1425. * manual/math.texi (Mathematics): Mention that the _FloatN and
  1426. _FloatNx variants of the math functions come from TS 18661-3,
  1427. unless otherwise stated.
  1428. (Predefined Mathematical Constants): Document the _FloatN and
  1429. _FloatNx variants of the macros prefixed with M_.
  1430. (Trigonometric Functions): Document sinfN, sinfNx, cosfN, cosfNx,
  1431. tanfN, tanfNx, sincosfN, sincosfNx, csinfN, csinfNx, ccosfN,
  1432. ccosfNx, ctanfN, ctanfNx.
  1433. (Inverse Trigonometric Functions): Document asinfN, asinfNx,
  1434. acosfN, acosfNx, atanfN, atanfNx, atan2fN, atan2fNx.
  1435. (Exponentiation and Logarithms): Document expfN, expfNx, exp2fN,
  1436. exp2fNx, exp10fN, exp10fNx, logfN, logfNx, log10fN, log10fNx,
  1437. log2fN, log2fNx, logbfN, logbfNx, ilogbfN, ilogbfNx, llogbfN,
  1438. llogbfNx, powfN, powfNx, sqrtfN, sqrtfNx, cbrtfN, cbrtfNx, hypotfN,
  1439. hypotfNx, expm1fN, expm1fNx, log1pfN, log1pfNx, cexpfN, cexpfNx,
  1440. clogfN, clogfNx, clog10fN, clog10fNx, csqrtfN, csqrtfNx, cpowfN,
  1441. cpowfNx.
  1442. (Hyperbolic Functions): sinhfN, sinhfNx, coshfN, coshfNx, tanhfN,
  1443. tanhfNx, csinhfN, csinhfNx, ccoshfN, ccoshfNx, ctanhfN, ctanhfNx,
  1444. asinhfN, asinhfNx, acoshfN, acoshfNx, atanhfN, atanhfNx, casinhfN,
  1445. casinhfNx, cacoshfN, cacoshfNx, catanhfN, catanhfNx.
  1446. (Special Functions): Document erffN, erffNx, erfcfN, erfcfNx,
  1447. lgammafN, lgammafNx, lgammarfN_r, lgammafNx_r, tgammafN, tgammafNx,
  1448. j0fN, j0fNx, j1fN, j1fNx, jnfN, jnfNx, y0fN, y0fNx, y1fN, y1fNx,
  1449. ynfN, ynfNx.
  1450. 2017-06-23 Florian Weimer <fweimer@redhat.com>
  1451. * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): Fix typo in comment.
  1452. 2017-06-23 Florian Weimer <fweimer@redhat.com>
  1453. * resolv/res_libc.c: Reformat to GNU style.
  1454. 2017-06-23 Florian Weimer <fweimer@redhat.com>
  1455. * resolv/resolv-internal.h (__res_initstamp): Declare.
  1456. * resolv/res_init.c (__res_initstamp): Remove hidden attribute.
  1457. It is implied by the declaration.
  1458. * resolv/res_libc.c (__res_initstamp): Remove declaration.
  1459. 2017-06-23 Florian Weimer <fweimer@redhat.com>
  1460. [BZ #21662]
  1461. * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
  1462. Use only 24 bits of the register before the subtraction.
  1463. * string/test-memcmp.c (check1): Check with different lengths.
  1464. 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  1465. * sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add
  1466. $(libio-mtsafe) to get the value of IO_MTSAFE_IO.
  1467. 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  1468. * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
  1469. Enable generation of float128 entries on the error table.
  1470. 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  1471. * include/float.h: Include libc-header-start.h to get the
  1472. definition of __GLIBC_USE.
  1473. 2017-06-23 Paul A. Clarke <pc@us.ibm.com>
  1474. * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing
  1475. rearranged code and doubles float types.
  1476. 2017-06-23 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
  1477. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change
  1478. s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/.
  1479. 2017-06-23 Paul A. Clarke <pc@us.ibm.com>
  1480. * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
  1481. to errno, and simplify remaining related code.
  1482. 2017-06-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  1483. * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
  1484. PPC_FEATURE2_SCV.
  1485. * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
  1486. and darn.
  1487. 2017-06-23 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  1488. * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
  1489. the implementation-specific function name and remove unneeded macros
  1490. definition.
  1491. * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
  1492. function name if not defined and pass as parameter to macros
  1493. accordingly.
  1494. 2017-06-23 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  1495. * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
  1496. (libm-sysdep_routines): Add s_llroundf-ppc64.
  1497. * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
  1498. (__llroundf): Define as strong alias of __llround.
  1499. (llroundf): Define as weak alias of __llround.
  1500. (__lroundf): Define as strong alias of __llround.
  1501. (lroundf): Define as weak alias of __llround.
  1502. * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
  1503. * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
  1504. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
  1505. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
  1506. * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
  1507. * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
  1508. * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
  1509. 2017-06-22 Joseph Myers <joseph@codesourcery.com>
  1510. * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
  1511. [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
  1512. * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
  1513. (MATH_TESTS_TG): New macro.
  1514. (SNAN_TESTS_float128): Likewise.
  1515. (ROUNDING_TESTS_float128): Likewise.
  1516. (EXCEPTION_TESTS_float128): Likewise.
  1517. (SNAN_TESTS): Define using MATH_TESTS_TG.
  1518. (ROUNDING_TESTS): Likewise.
  1519. (EXCEPTION_TESTS): Likewise.
  1520. * sysdeps/ieee754/float128/float128_private.h
  1521. [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
  1522. pass it to SET_RESTORE_ROUNDF128.
  1523. * sysdeps/ieee754/float128/float128_private.h: Include
  1524. <ieee754.h>.
  1525. * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
  1526. typeof to argument passed to __builtin_types_compatible_p.
  1527. (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
  1528. * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
  1529. <errno.h>.
  1530. * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
  1531. * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
  1532. * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
  1533. * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
  1534. * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
  1535. * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
  1536. * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
  1537. * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
  1538. * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
  1539. * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
  1540. * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
  1541. * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
  1542. * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
  1543. * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
  1544. * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
  1545. * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
  1546. * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
  1547. * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
  1548. * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
  1549. * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
  1550. * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
  1551. * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
  1552. * sysdeps/ieee754/float128/strtof128_l.c: Include
  1553. <bits/types/locale_t.h> instead of <xlocale.h>.
  1554. * sysdeps/ieee754/float128/wcstof128.c: Likewise.
  1555. * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
  1556. 2017-06-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
  1557. * benchtests/scripts/benchout_strings.schema.json: New file.
  1558. * benchtests/scripts/compare_strings.py: New file.
  1559. * benchtests/bench-memcpy-large.c: Include json-lib.h.
  1560. (do_one_test): Print json.
  1561. (do_test): Likewise.
  1562. (test_main): Likewise.
  1563. * benchtests/bench-memcpy-random.c: Include json-lib.h.
  1564. (do_one_test): Print json.
  1565. (do_test): Likewise.
  1566. (test_main): Likewise.
  1567. * benchtests/bench-memcpy.c: Include json-lib.h.
  1568. (do_one_test): Print json.
  1569. (do_test): Likewise.
  1570. (test_main): Likewise.
  1571. * benchtests/json-lib.h: Include inttypes.h.
  1572. (json_attr_int, json_attr_int, json_element_string,
  1573. json_element_int, json_element_uint): New functions.
  1574. * benchtests/json-lib.c: (json_attr_int, json_attr_int,
  1575. json_element_string, json_element_int, json_element_uint): New
  1576. functions.
  1577. 2017-06-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  1578. * manual/arith.texi (Remainder Functions): Describe remainder as
  1579. primary and drem as an alternative name. Change the comment on
  1580. remainder to ISO, since it is defined in ISO C99.
  1581. 2017-06-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  1582. * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
  1583. macro expansion.
  1584. (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
  1585. 2017-06-22 Mike FABIAN <mfabian@redhat.com>
  1586. [BZ #21533]
  1587. * include/stdc-predef.h (__STDC_ISO_10646__): Update to
  1588. 201706L for Unicode 10.0.
  1589. 2017-06-21 Benjamin Cama <b.cama@kerlink.fr>
  1590. [BZ #21657]
  1591. * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
  1592. on node-local addresses.
  1593. * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
  1594. 2017-06-21 Florian Weimer <fweimer@redhat.com>
  1595. * intl/loadmsgcat.c: Remove alloca support.
  1596. (_nl_load_domain): Use calloc instead of alloca.
  1597. 2017-04-21 Florian Weimer <fweimer@redhat.com>
  1598. * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
  1599. (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
  1600. alloc_buffer_copy_bytes, alloc_buffer_copy_string,
  1601. alloc_buffer_create_failure.
  1602. * malloc/Versions (__libc_alloc_buffer_alloc_array)
  1603. (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
  1604. (__libc_alloc_buffer_copy_string)
  1605. (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
  1606. * malloc/alloc_buffer_alloc_array.c: New file.
  1607. * malloc/alloc_buffer_allocate.c: Likewise.
  1608. * malloc/alloc_buffer_copy_bytes.c: Likewise.
  1609. * malloc/alloc_buffer_copy_string.c: Likewise.
  1610. * malloc/alloc_buffer_create_failure.c: Likewise.
  1611. * malloc/tst-alloc_buffer.c: Likewise.
  1612. 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
  1613. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  1614. strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
  1615. strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
  1616. strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
  1617. * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
  1618. * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
  1619. * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
  1620. * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
  1621. * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
  1622. * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
  1623. * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
  1624. * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
  1625. * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
  1626. * sysdeps/x86_64/multiarch/strncase.c: Likewise.
  1627. * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
  1628. * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
  1629. * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
  1630. * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
  1631. * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
  1632. * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
  1633. * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
  1634. * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
  1635. * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
  1636. * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
  1637. * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
  1638. * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
  1639. (STRCMP_SSE42): New. Defined to __strcmp_sse42 if not defined.
  1640. [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
  1641. "locale-defines.h".
  1642. (UPDATE_STRNCMP_COUNTER): New.
  1643. (SECTION): Likewise.
  1644. (GLABEL): Likewise.
  1645. (LABEL): Likewise.
  1646. * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
  1647. for libc.a.
  1648. 2017-06-21 Joseph Myers <joseph@codesourcery.com>
  1649. [BZ #21622]
  1650. * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
  1651. Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
  1652. __USE_MISC].
  1653. (SA_NODEFER): Likewise.
  1654. (SA_RESETHAND): Likewise.
  1655. 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
  1656. * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
  1657. * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
  1658. Remove security_level on all fields.
  1659. * manual/tunables.texi: Replace ifunc with hwcaps.
  1660. * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
  1661. Renamed to ..
  1662. (TUNABLE_CALLBACK (set_hwcaps)): This.
  1663. (init_cpu_features): Updated.
  1664. * sysdeps/x86/cpu-features.h (cpu_features): Change type of
  1665. data_cache_size, data_cache_size and non_temporal_threshold to
  1666. unsigned long int.
  1667. * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
  1668. (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
  1669. (TUNABLE_CALLBACK (set_hwcaps)): This. Update comments. Don't
  1670. use DEFAULT_STRLEN.
  1671. 2017-06-21 Florian Weimer <fweimer@redhat.com>
  1672. * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
  1673. asprintf to construct an absolute pathname.
  1674. 2017-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  1675. * misc/tst-preadvwritev2-common.c: New file.
  1676. * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
  1677. * misc/tst-preadvwritev64v2.c (do_test): Likewise.
  1678. 2017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
  1679. * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
  1680. annotation.
  1681. (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
  1682. 2017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
  1683. * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
  1684. hidden __GI__dl_argv symbol.
  1685. 2017-06-21 Florian Weimer <fweimer@redhat.com>
  1686. * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
  1687. to parse addresses with IPv6 scope IDs.
  1688. 2017-06-21 Florian Weimer <fweimer@redhat.com>
  1689. Add the __inet_pton_length helper function.
  1690. * resolv/resolv-internal.h (__inet_pton_length): Declare.
  1691. * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
  1692. Add length argument.
  1693. (__inet_pton): New function.
  1694. (inet_pton4): Add length argument.
  1695. (hex_digit_value): New function.
  1696. (inet_pton6): Add length argument. Call hex_digit_value. Use
  1697. memmove and memset to fill :: gap.
  1698. * resolv/Makefile (tests, tsts-static, tests-internal): Add
  1699. tst-inet_pton.
  1700. * resolv/tst-inet_pton.c: New file.
  1701. * support/Makefile (libsupport-routines): Add xmprotect.
  1702. * support/xunistd.h (xmprotect): Declare.
  1703. * support/xmprotect.c: New file.
  1704. 2017-06-21 Florian Weimer <fweimer@redhat.com>
  1705. Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
  1706. * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
  1707. (call_gai, check_ai): New functions.
  1708. (expect_failure, expect_success): Use them. Add logging.
  1709. 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  1710. * sysdeps/powerpc/powerpc64/multiarch/Makefile
  1711. (sysdep_routines): Add memchr_power8.
  1712. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  1713. (memchr): Add __memchr_power8 to list of memchr functions.
  1714. * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
  1715. * sysdeps/powerpc/powerpc64/multiarch/memchr.c
  1716. (memchr): Add __memchr_power8 to ifunc list.
  1717. * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
  1718. 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  1719. * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
  1720. (__llrintf): Define as strong alias of __llrint.
  1721. (llrintf): Define as weak alias of __llrint.
  1722. (__lrintf): Define as strong alias of __llrint.
  1723. (lrintf): Define as weak alias of __llrint.
  1724. * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
  1725. * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
  1726. * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Remove file content.
  1727. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
  1728. 2017-06-20 Zack Weinberg <zackw@panix.com>
  1729. [BZ #2489]
  1730. * bits/signum-generic.h: Renamed from bits/signum.h.
  1731. Add proper multiple include guard and misuse check.
  1732. Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
  1733. Move definition of SIGIO to "archaic names for compatibility" section.
  1734. * bits/signum.h: New file which just includes bits/signum-generic.h.
  1735. * sysdeps/unix/bsd/bits/signum.h
  1736. * sysdeps/unix/sysv/linux/bits/signum.h
  1737. * sysdeps/unix/sysv/linux/alpha/bits/signum.h
  1738. * sysdeps/unix/sysv/linux/hppa/bits/signum.h
  1739. * sysdeps/unix/sysv/linux/mips/bits/signum.h
  1740. * sysdeps/unix/sysv/linux/sparc/bits/signum.h
  1741. Just include <bits/signum-generic.h> and then add or adjust
  1742. signal constants. Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
  1743. * signal/Makefile: Install bits/signum-generic.h.
  1744. * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
  1745. * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
  1746. universal. Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
  1747. * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
  1748. * sysdeps/unix/sysv/linux/Makefile: Run it.
  1749. 2017-06-20 Zack Weinberg <zackw@panix.com>
  1750. * locale/xlocale.h: Rename to...
  1751. * locale/bits/types/__locale_t.h: ...here. Adjust commentary.
  1752. Only define struct __locale_struct and __locale_t, not locale_t.
  1753. * locale/bits/types/locale_t.h: New file; define locale_t here.
  1754. * locale/Makefile (headers): Update to match.
  1755. * include/xlocale.h: Delete wrapper.
  1756. * include/bits/types/__locale_t.h: New wrapper.
  1757. * include/bits/types/locale_t.h: New wrapper.
  1758. * ctype/ctype.h, include/printf.h, include/time.h
  1759. * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
  1760. * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
  1761. * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
  1762. Correct outdated comments regarding the standardization status of
  1763. the functions that take locale_t arguments.
  1764. * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
  1765. * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
  1766. * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
  1767. * sysdeps/ieee754/ldbl-64-128/strtold_l.c
  1768. * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
  1769. * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
  1770. Don't include xlocale.h. If necessary, include locale.h instead.
  1771. * stdlib/strtold_l.c: Unconditionally include wchar.h.
  1772. * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
  1773. * include/monetary.h, include/stdlib.h, include/time.h
  1774. * include/wchar.h, locale/duplocale.c, locale/freelocale.c
  1775. * locale/global-locale.c, locale/langinfo.h, locale/locale.h
  1776. * locale/localeinfo.h, locale/newlocale.c
  1777. * locale/nl_langinfo_l.c, locale/uselocale.c
  1778. * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
  1779. * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
  1780. * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
  1781. * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
  1782. * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
  1783. * string/strcasecmp.c, string/strcoll_l.c, string/string.h
  1784. * string/strings.h, string/strncase.c, string/strxfrm_l.c
  1785. * sysdeps/ieee754/float128/strtof128_l.c
  1786. * sysdeps/ieee754/float128/wcstof128.c
  1787. * sysdeps/ieee754/float128/wcstof128_l.c
  1788. * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
  1789. * sysdeps/ieee754/ldbl-64-128/strtold_l.c
  1790. * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
  1791. * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
  1792. * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
  1793. * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
  1794. * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
  1795. * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
  1796. * sysdeps/x86_64/strcasecmp_l-nonascii.c
  1797. * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
  1798. * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
  1799. * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
  1800. * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
  1801. * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
  1802. * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
  1803. * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
  1804. * wctype/towctrans_l.c, wctype/wcfuncs_l.c
  1805. * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
  1806. Change all uses of __locale_t to locale_t.
  1807. 2017-06-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  1808. * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
  1809. for !__OFF_T_MATCHES_OFF64_T.
  1810. * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
  1811. implementation based on open64.
  1812. * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
  1813. * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
  1814. 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
  1815. * elf/dl-tunables.list: Move x86 specific tunables to ...
  1816. * sysdeps/x86/dl-tunables.list: Here. New file.
  1817. 2017-06-20 Joseph Myers <joseph@codesourcery.com>
  1818. [BZ #21635]
  1819. * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
  1820. [$(subdir) = conform] (conformtest-xfail-conds): New variable.
  1821. * conform/data/signal.h-data (uc_mcontext): XFAIL for
  1822. powerpc32-linux.
  1823. * conform/data/ucontext.h-data (uc_mcontext): Likewise.
  1824. [BZ #21634]
  1825. * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
  1826. (conformtest-xfail-conds): New variable.
  1827. * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
  1828. * conform/data/ucontext.h-data (uc_sigmask): Likewise.
  1829. 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
  1830. * benchtests/powf-inputs: Add reduced trace from wrf.
  1831. 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
  1832. Erich Elsen <eriche@google.com>
  1833. * elf/dl-tunables.list (tune): Add ifunc,
  1834. x86_non_temporal_threshold,
  1835. x86_data_cache_size and x86_shared_cache_size.
  1836. * manual/tunables.texi: Document glibc.tune.ifunc,
  1837. glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
  1838. and glibc.tune.x86_non_temporal_threshold.
  1839. * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
  1840. * sysdeps/x86/cpu-tunables.c: Likewise.
  1841. * sysdeps/x86/cacheinfo.c
  1842. (init_cacheinfo): Check and get data cache size, shared cache
  1843. size and non temporal threshold from cpu_features.
  1844. * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
  1845. New.
  1846. [HAVE_TUNABLES] Include <unistd.h>.
  1847. [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
  1848. [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
  1849. [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
  1850. IFUNC selection, data cache size, shared cache size and non
  1851. temporal threshold.
  1852. * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
  1853. shared_cache_size and non_temporal_threshold.
  1854. 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
  1855. * benchtests/README: Describe workload feature.
  1856. * benchtests/bench-skeleton.c (main): Add support for
  1857. benchmarking traces from workloads.
  1858. 2017-06-20 Zack Weinberg <zackw@panix.com>
  1859. * string/string.h (__mempcpy_inline): Delete.
  1860. * sysdeps/x86_64/multiarch/mempcpy.c
  1861. * sysdeps/x86_64/multiarch/stpcpy.c:
  1862. Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
  1863. before including string.h.
  1864. 2017-06-20 Paul A. Clarke <pc@us.ibm.com>
  1865. * benchtests/Makefile (bench-math): Add powf.
  1866. * benchtests/powf-inputs: New file.
  1867. 2017-06-20 Zack Weinberg <zackw@panix.com>
  1868. * bits/string.h, string/bits/string.h
  1869. * sysdeps/aarch64/bits/string.h
  1870. * sysdeps/m68k/m680x0/m68020/bits/string.h
  1871. * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
  1872. * sysdeps/x86/bits/string.h: Delete file.
  1873. * string/string.h: Don't include bits/string.h.
  1874. * string/bits/string3.h: Rename to bits/string_fortified.h.
  1875. No need to undef various symbols that the removed headers
  1876. might have defined as macros.
  1877. * string/Makefile (headers): Remove bits/string.h, change
  1878. bits/string3.h to bits/string_fortified.h.
  1879. * string/string-inlines.c: Update commentary. Remove definitions
  1880. of various macros that nothing looks at anymore. Don't directly
  1881. include bits/string.h. Set _STRING_INLINE_unaligned here, based on
  1882. compiler-predefined macros.
  1883. * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
  1884. _is_ defined, provide internal hidden alias __strncat.
  1885. * include/string.h: Declare internal hidden alias __strncat.
  1886. Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
  1887. not defined.
  1888. * include/bits/string3.h: Rename to bits/string_fortified.h,
  1889. update to match above.
  1890. * sysdeps/i386/string-inlines.c: Define compat symbols for
  1891. everything formerly defined by sysdeps/x86/bits/string.h.
  1892. Make existing definitions into compat symbols as well.
  1893. Remove some no-longer-necessary messing around with macros.
  1894. * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
  1895. * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
  1896. * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
  1897. * sysdeps/s390/multiarch/mempcpy.c
  1898. No need to define _HAVE_STRING_ARCH_mempcpy.
  1899. Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
  1900. * sysdeps/i386/i686/multiarch/strncat-c.c
  1901. * sysdeps/s390/multiarch/strncat-c.c
  1902. * sysdeps/x86_64/multiarch/strncat-c.c
  1903. Define STRNCAT_PRIMARY. Don't change definition of libc_hidden_def.
  1904. 2017-06-20 Rical Jasan <ricaljasan@pacific.net>
  1905. * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
  1906. (LDBL_DIG): Likewise.
  1907. (LDBL_MIN_EXP): Likewise.
  1908. (LDBL_MIN_10_EXP): Likewise.
  1909. (LDBL_MAX_EXP): Likewise.
  1910. (LDBL_MAX_10_EXP): Likewise.
  1911. (LDBL_MAX): Likewise.
  1912. (LDBL_MIN): Likewise.
  1913. (LDBL_EPSILON): Likewise.
  1914. (FLT_ROUNDS): Change standard from ISO to C90.
  1915. (FLT_RADIX): Likewise.
  1916. (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
  1917. (FLT_DIG, DBL_DIG): Likewise.
  1918. (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
  1919. (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
  1920. (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
  1921. (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
  1922. (FLT_MAX, DBL_MAX): Likewise.
  1923. (FLT_MIN, DBL_MIN): Likewise.
  1924. (FLT_EPSILON, DBL_EPSILON): Likewise.
  1925. 2017-06-19 Joseph Myers <joseph@codesourcery.com>
  1926. * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
  1927. [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
  1928. [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
  1929. * sysdeps/mips/math-tests.h
  1930. [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
  1931. conditional code.
  1932. 2017-06-19 Florian Weimer <fweimer@redhat.com>
  1933. * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
  1934. It cannot change while __libc_setlocale_lock is acquired.
  1935. 2017-06-19 Florian Weimer <fweimer@redhat.com>
  1936. * elf/rtld.c (audit_list_string): New variable.
  1937. (audit_list): Update comment.
  1938. (struct audit_list_iter): Define.
  1939. (audit_list_iter_init, audit_list_iter_next): New function.
  1940. (dl_main): Use struct audit_list_iter to process audit modules.
  1941. (process_dl_audit): Call dso_name_valid_for_suid.
  1942. (process_envvars): Set audit_list_string instead of calling
  1943. process_dl_audit.
  1944. 2017-06-19 Florian Weimer <fweimer@redhat.com>
  1945. * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
  1946. (dso_name_valid_for_suid): New function.
  1947. (handle_ld_preload): Likewise.
  1948. (dl_main): Call it. Remove alloca.
  1949. 2017-06-19 Joseph Myers <joseph@codesourcery.com>
  1950. [BZ #21625]
  1951. * posix/sys/wait.h (strust rusage forward declaration): Change
  1952. [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
  1953. !__USE_XOPEN2K].
  1954. (wait3): Likewise.
  1955. * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
  1956. * configure: Regenerated.
  1957. * manual/install.texi (Tools for Compilation): Document
  1958. requirement for GCC 4.9 or later.
  1959. * INSTALL: Regenerated.
  1960. 2017-06-19 Florian Weimer <fweimer@redhat.com>
  1961. [BZ #21624]
  1962. CVE-2017-1000366
  1963. * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
  1964. __libc_enable_secure.
  1965. 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
  1966. [BZ #21539]
  1967. * NEWS: Mention s390 ptrace request changes.
  1968. * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
  1969. (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
  1970. PTRACE_SETFPREGS): Remove enum constant.
  1971. (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
  1972. Remove defines.
  1973. (PTRACE_SINGLEBLOCK): New enum constant.
  1974. (PT_STEPBLOCK): New define.
  1975. (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
  1976. PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
  1977. PTRACE_TE_ABORT_RAND): New enum constant and define.
  1978. * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
  1979. * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
  1980. New file.
  1981. * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
  1982. 2017-06-16 Florian Weimer <fweimer@redhat.com>
  1983. * resolv/res_init.c (res_vinit_1): Use getline to read from the
  1984. configuration file.
  1985. (__res_vinit): Adjust.
  1986. 2017-06-19 Florian Weimer <fweimer@redhat.com>
  1987. * resolv/res_init.c (res_vinit_1): New function.
  1988. (__res_vinit): Call it. Handle file open and memory allocation
  1989. failures.
  1990. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
  1991. erno from __res_maybe_init failure.
  1992. (_nss_dns_gethostbyname4_r): Likewise.
  1993. (_nss_dns_gethostbyaddr2_r): Likewise.
  1994. * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
  1995. (_nss_dns_getnetbyaddr_r): Likewise.
  1996. 2017-06-19 Florian Weimer <fweimer@redhat.com>
  1997. * resolv/res_init.c: Reformat to GNU style.
  1998. 2017-06-19 Florian Weimer <fweimer@redhat.com>
  1999. * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
  2000. (is_sort_mask): New function.
  2001. (__res_vinit): Use it.
  2002. 2017-06-19 Florian Weimer <fweimer@redhat.com>
  2003. * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
  2004. conditionals.
  2005. 2017-06-19 Florian Weimer <fweimer@redhat.com>
  2006. * resolv/res-close.c: New file.
  2007. * resolv/res_init.c (__res_iclose, res_nclose)
  2008. (res_thread_freeres): Remove definitions.
  2009. * resolv/Makefile (routines): Add res-close.
  2010. 2017-06-19 Florian Weimer <fweimer@redhat.com>
  2011. * resolv/res_randomid.c: New file.
  2012. * resolv/res_init.c (res_randomid): Remove definition.
  2013. * resolv/Makefile (routines): Add res_randomid.
  2014. 2017-06-19 Florian Weimer <fweimer@redhat.com>
  2015. * include/resolv.h (__res_vinit): Declare as hidden.
  2016. * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
  2017. * resolv/res_libc.c (res_init): Likewise.
  2018. 2017-06-19 Joseph Myers <joseph@codesourcery.com>
  2019. [BZ #21457]
  2020. * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
  2021. _libc_xmmreg): Use __ctx in defining field.
  2022. [BZ #21597]
  2023. * signal/signal.h (siginterrupt): Make declaration conditional on
  2024. [__USE_XOPEN_EXTENDED || __USE_MISC].
  2025. [BZ #21584]
  2026. * signal/signal.h: Make includes of <bits/sigstack.h> and
  2027. <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
  2028. __USE_MISC].
  2029. (sigaltstack): Make declaration conditional on
  2030. [__USE_XOPEN_EXTENDED || __USE_MISC].
  2031. [BZ #21575]
  2032. * resource/bits/types/struct_rusage.h: New file.
  2033. * include/bits/types/struct_rusage.h: Likewise.
  2034. * bits/resource.h (struct rusage): Include
  2035. <bits/types/struct_rusage.h> instead of defining here.
  2036. * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
  2037. Likewise.
  2038. * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
  2039. Likewise.
  2040. * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
  2041. Likewise.
  2042. * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
  2043. Likewise.
  2044. * resource/Makefile (headers): Add bits/types/struct_rusage.h.
  2045. * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
  2046. Include <bits/types/struct_rusage.h>
  2047. 2017-06-19 Florian Weimer <fweimer@redhat.com>
  2048. * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
  2049. 2017-06-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
  2050. * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
  2051. 2017-06-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  2052. * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
  2053. 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
  2054. [BZ #21537]
  2055. * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
  2056. Check SHARED instead of PIC.
  2057. (SYSCALL_PIC_SETUP): Add missing semicolons.
  2058. * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
  2059. Check SHARED instead of PIC.
  2060. * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
  2061. (__makecontext_ret): Adjust code to jump to exit.
  2062. 2017-06-19 Christian Borntraeger <borntraeger@de.ibm.com>
  2063. * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
  2064. Simplify code by always using SVC 0 instead of EX.
  2065. * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
  2066. 2017-06-16 H.J. Lu <hongjiu.lu@intel.com>
  2067. * elf/Versions (ld): Remove _dl_out_of_memory.
  2068. 2017-06-16 Joseph Myers <joseph@codesourcery.com>
  2069. * timezone/private.h: Update from tzcode 2017b.
  2070. * timezone/tzfile.h: Likewise.
  2071. * timezone/tzselect.ksh: Likewise.
  2072. * timezone/zdump.c: Likewise.
  2073. * timezone/zic.c: Likewise.
  2074. * timezone/Makefile (tz-cflags): Add -D_ISOMAC
  2075. -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
  2076. * time/tzset.c (SECSPERDAY): New macro.
  2077. 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
  2078. * manual/string.texi (strdup): Complete header and standards
  2079. annotation.
  2080. (strncpy): Likewise.
  2081. 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
  2082. * manual/arith.texi (FP_NAN): Add or complete header and standard
  2083. annotations.
  2084. (FP_INFINITE): Likewise.
  2085. (FP_ZERO): Likewise.
  2086. (FP_SUBNORMAL): Likewise.
  2087. (FP_NORMAL): Likewise.
  2088. (SNAN): Likewise.
  2089. (SNANL): Likewise.
  2090. (totalorderf): Likewise.
  2091. (totalorderl): Likewise.
  2092. (totalordermagf): Likewise.
  2093. (totalordermagl): Likewise.
  2094. (_Complex_I): Likewise.
  2095. (I): Likewise.
  2096. 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
  2097. * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
  2098. standard annotation.
  2099. (ARGP_HELP_SHORT_USAGE): Likewise.
  2100. (ARGP_HELP_SEE): Likewise.
  2101. (ARGP_HELP_LONG): Likewise.
  2102. (ARGP_HELP_PRE_DOC): Likewise.
  2103. (ARGP_HELP_POST_DOC): Likewise.
  2104. (ARGP_HELP_DOC): Likewise.
  2105. (ARGP_HELP_BUG_ADDR): Likewise.
  2106. (ARGP_HELP_LONG_ONLY): Likewise.
  2107. (ARGP_HELP_EXIT_ERR): Likewise.
  2108. (ARGP_HELP_EXIT_OK): Likewise.
  2109. (ARGP_HELP_STD_ERR): Likewise.
  2110. (ARGP_HELP_STD_USAGE): Likewise.
  2111. (ARGP_HELP_STD_HELP): Likewise.
  2112. 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
  2113. * manual/Makefile: Generate summary.texi with summary.pl. Force
  2114. use of the C locale. Update Perl dependency comment.
  2115. * manual/header.texi: Update reference to summary.awk.
  2116. * manual/macros.texi: Refer authors to `summary.pl --help'.
  2117. * manual/summary.awk: Remove file.
  2118. * manual/summary.pl: New file. Generate summary.texi, and check
  2119. for @standards-related syntax errors.
  2120. * manual/argp.texi: Convert header and standards @comments to
  2121. @standards.
  2122. * manual/arith.texi: Likewise.
  2123. * manual/charset.texi: Likewise.
  2124. * manual/conf.texi: Likewise.
  2125. * manual/creature.texi: Likewise.
  2126. * manual/crypt.texi: Likewise.
  2127. * manual/ctype.texi: Likewise.
  2128. * manual/debug.texi: Likewise.
  2129. * manual/errno.texi: Likewise.
  2130. * manual/filesys.texi: Likewise.
  2131. * manual/getopt.texi: Likewise.
  2132. * manual/job.texi: Likewise.
  2133. * manual/lang.texi: Likewise.
  2134. * manual/llio.texi: Likewise.
  2135. * manual/locale.texi: Likewise.
  2136. * manual/math.texi: Likewise.
  2137. * manual/memory.texi: Likewise.
  2138. * manual/message.texi: Likewise.
  2139. * manual/pattern.texi: Likewise.
  2140. * manual/pipe.texi: Likewise.
  2141. * manual/process.texi: Likewise.
  2142. * manual/resource.texi: Likewise.
  2143. * manual/search.texi: Likewise.
  2144. * manual/setjmp.texi: Likewise.
  2145. * manual/signal.texi: Likewise.
  2146. * manual/socket.texi: Likewise.
  2147. * manual/startup.texi: Likewise.
  2148. * manual/stdio.texi: Likewise.
  2149. * manual/string.texi: Likewise.
  2150. * manual/sysinfo.texi: Likewise.
  2151. * manual/syslog.texi: Likewise.
  2152. * manual/terminal.texi: Likewise.
  2153. * manual/threads.texi: Likewise.
  2154. * manual/time.texi: Likewise.
  2155. * manual/users.texi: Likewise.
  2156. 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
  2157. * manual/macros.texi (@standards): New macro. Provide placeholder
  2158. for header and standards annotations.
  2159. (@standardsx): New macro. Likewise, for lists of @*x elements.
  2160. 2017-06-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  2161. * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
  2162. * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
  2163. rule.
  2164. * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
  2165. sync_file_range.
  2166. * support/support_test_main.c (support_test_main): Use optstring
  2167. member for option string in getopt_long.
  2168. * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
  2169. (CMDLINE_OPTSTRING): New define.
  2170. * support/test-driver.h (test_config): Add optstring member.
  2171. 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
  2172. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  2173. strcspn-sse2, strpbrk-sse2 and strspn-sse2.
  2174. * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
  2175. Check USE_AS_STRPBRK instead of STRPBRK_P.
  2176. * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
  2177. * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
  2178. * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
  2179. * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
  2180. * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
  2181. * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
  2182. * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
  2183. * sysdeps/x86_64/multiarch/strspn.c: Likewise.
  2184. * sysdeps/x86_64/multiarch/strcspn.S: Removed.
  2185. * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
  2186. * sysdeps/x86_64/multiarch/strspn.S: Likewise.
  2187. * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
  2188. and "#endif".
  2189. 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
  2190. * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
  2191. * sysdeps/x86_64/multiarch/wcscpy.c: New file.
  2192. 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
  2193. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  2194. strcat-sse2.
  2195. * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
  2196. * sysdeps/x86_64/multiarch/strcat.c: Likewise.
  2197. * sysdeps/x86_64/multiarch/strncat.c: Likewise.
  2198. * sysdeps/x86_64/multiarch/strcat.S: Removed.
  2199. * sysdeps/x86_64/multiarch/strncat.S: Likewise.
  2200. 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
  2201. Erich Elsen <eriche@google.com>
  2202. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  2203. memcmp-sse2.
  2204. * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
  2205. * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
  2206. * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
  2207. * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
  2208. * sysdeps/x86_64/multiarch/memcmp.S: Removed.
  2209. * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
  2210. 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
  2211. Erich Elsen <eriche@google.com>
  2212. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  2213. memset-sse2-unaligned-erms, and memset_chk-nonshared.
  2214. * sysdeps/x86_64/multiarch/ifunc-impl-list.c
  2215. (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
  2216. Update comments.
  2217. * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
  2218. * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
  2219. * sysdeps/x86_64/multiarch/memset.c: Likewise.
  2220. * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
  2221. * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
  2222. * sysdeps/x86_64/multiarch/memset.S: Removed.
  2223. * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
  2224. * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
  2225. (__memset_chk_erms): New function.
  2226. 2017-06-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
  2227. * configure.ac(--enable-tunables): Enable by default.
  2228. * configure: Regenerate.
  2229. * NEWS: Mention change.
  2230. * manual/install.texi (enable-tunables): Adjust documentation.
  2231. * INSTALL: Regenerate.
  2232. 2017-06-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  2233. [BZ #18988]
  2234. * benchtests/thread_create-inputs: New file.
  2235. * benchtests/thread_create-source.c: Likewise.
  2236. * support/xpthread_attr_setguardsize.c: Likewise.
  2237. * support/Makefile (libsupport-routines): Add
  2238. xpthread_attr_setguardsize object.
  2239. * support/xthread.h: Add xpthread_attr_setguardsize prototype.
  2240. * benchtests/Makefile (bench-pthread): Add thread_create.
  2241. * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
  2242. then mprotect the required area.
  2243. (guard_position): New function.
  2244. (setup_stack_prot): Likewise.
  2245. 2017-06-14 H.J. Lu <hongjiu.lu@intel.com>
  2246. Erich Elsen <eriche@google.com>
  2247. Adhemerval Zanella <adhemerval.zanella@linaro.org>
  2248. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  2249. memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
  2250. mempcpy_chk-nonshared and memmove_chk-nonshared.
  2251. * sysdeps/x86_64/multiarch/ifunc-impl-list.c
  2252. (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
  2253. __memcpy_chk_erms and __mempcpy_chk_erms. Update comments.
  2254. * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
  2255. * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
  2256. * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
  2257. * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
  2258. * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
  2259. * sysdeps/x86_64/multiarch/memmove.c: Likewise.
  2260. * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
  2261. * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
  2262. * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
  2263. * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
  2264. * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
  2265. * sysdeps/x86_64/multiarch/memcpy.S: Removed.
  2266. * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
  2267. * sysdeps/x86_64/multiarch/memmove.S: Likewise.
  2268. * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
  2269. * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
  2270. * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
  2271. * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
  2272. (__mempcpy_chk_erms): New function.
  2273. (__memmove_chk_erms): Likewise.
  2274. (__memcpy_chk_erms): New alias.
  2275. 2017-06-14 Florian Weimer <fweimer@redhat.com>
  2276. * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
  2277. * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
  2278. 2017-06-14 Zack Weinberg <zackw@panix.com>
  2279. * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
  2280. Reorganize file. Declare errno here. When __ASSEMBLER__ is
  2281. defined, don't declare anything other than the E-constants.
  2282. * include/errno.h: Change conditional for exposing internal
  2283. declarations to (not _ISOMAC and not __ASSEMBLER__).
  2284. * bits/errno.h: Remove logic for __need_Emath. Document
  2285. requirements for a port-specific bits/errno.h.
  2286. * sysdeps/unix/sysv/linux/bits/errno.h
  2287. * sysdeps/unix/sysv/linux/alpha/bits/errno.h
  2288. * sysdeps/unix/sysv/linux/hppa/bits/errno.h
  2289. * sysdeps/unix/sysv/linux/mips/bits/errno.h
  2290. * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
  2291. Add multiple-include guard and check against improper inclusion.
  2292. Remove __need_Emath logic. Don't declare errno here. Ensure all
  2293. constants are defined as simple integer literals. Consistent
  2294. formatting.
  2295. * sysdeps/mach/hurd/errnos.awk: Likewise. Only define error_t and
  2296. enum __error_t_codes if __ASSEMBLER__ is not defined.
  2297. * sysdeps/mach/hurd/bits/errno.h: Regenerate.
  2298. * argp/argp.h, string/argz.h: Don't define __need_error_t before
  2299. including errno.h.
  2300. * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
  2301. * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
  2302. * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
  2303. * sysdeps/x86_64/fpu/s_cosf.S
  2304. * sysdeps/x86_64/fpu/s_sincosf.S
  2305. * sysdeps/x86_64/fpu/s_sinf.S:
  2306. Just include errno.h; don't define __need_Emath or include
  2307. bits/errno.h directly.
  2308. 2017-06-14 Zack Weinberg <zackw@panix.com>
  2309. * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
  2310. * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
  2311. * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
  2312. * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
  2313. for IOV_MAX.
  2314. * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
  2315. Don't install bits/uio.h.
  2316. * misc/sys/uio.h: Don't include bits/uio.h. Do include
  2317. bits/types/struct_iovec.h and bits/uio_lim.h. Set UIO_MAXIOV
  2318. based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
  2319. * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
  2320. and __need_IOV_MAX. Don't define IOV_MAX at all.
  2321. * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
  2322. * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
  2323. Include bits/types/struct_iovec.h, not bits/uio.h.
  2324. Use __ssize_t, not ssize_t, in function prototypes.
  2325. Don't use hard TAB for double space after period in comments.
  2326. 2017-06-14 Alan Modra <amodra@gmail.com>
  2327. * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
  2328. * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
  2329. refsym and sym parameters. Adjust callers.
  2330. * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
  2331. * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
  2332. * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
  2333. * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
  2334. * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
  2335. * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
  2336. * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
  2337. * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
  2338. * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
  2339. * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
  2340. * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
  2341. Likewise.
  2342. * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
  2343. * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
  2344. * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
  2345. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
  2346. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
  2347. * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
  2348. * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
  2349. * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
  2350. (_dl_reloc_overflow): Increase buffser size. Formatting.
  2351. * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
  2352. Delete reloc param, add refsym and sym. Check optimized plt
  2353. call stubs for localentry:0 functions. Adjust callers.
  2354. (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
  2355. and sym parameters. Adjust callers.
  2356. (_dl_reloc_overflow): Move attribute.
  2357. (_dl_error_localentry): Declare.
  2358. * elf/dl-runtime.c (_dl_fixup): Save original sym. Pass
  2359. refsym and sym to elf_machine_fixup_plt.
  2360. * elf/testobj6.c (preload): Call printf.
  2361. 2017-06-14 Alan Modra <amodra@gmail.com>
  2362. * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
  2363. (NOPS, ENTRY_3): New macros.
  2364. (ENTRY): Rewrite.
  2365. (ENTRY_TOCLESS): Define.
  2366. (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
  2367. EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
  2368. * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
  2369. * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
  2370. * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
  2371. * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
  2372. * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
  2373. * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
  2374. * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
  2375. * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
  2376. * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
  2377. * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
  2378. * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
  2379. * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
  2380. * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
  2381. * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
  2382. * sysdeps/powerpc/powerpc64/memset.S: Likewise.
  2383. * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
  2384. * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
  2385. * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
  2386. * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
  2387. * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
  2388. * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
  2389. * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
  2390. * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
  2391. * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
  2392. * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
  2393. * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
  2394. * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
  2395. * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
  2396. * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
  2397. * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
  2398. * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
  2399. * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
  2400. * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
  2401. * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
  2402. * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
  2403. * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
  2404. * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
  2405. * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
  2406. * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
  2407. * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
  2408. * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
  2409. * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
  2410. * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
  2411. * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
  2412. * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
  2413. * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
  2414. * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
  2415. * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
  2416. * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
  2417. * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
  2418. * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
  2419. * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
  2420. * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
  2421. * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
  2422. * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
  2423. * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
  2424. * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
  2425. * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
  2426. * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
  2427. * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
  2428. * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
  2429. * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
  2430. * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
  2431. * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
  2432. * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
  2433. Likewise.
  2434. * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
  2435. * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
  2436. * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
  2437. * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
  2438. * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
  2439. * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
  2440. * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
  2441. * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
  2442. * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
  2443. * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
  2444. * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
  2445. * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
  2446. * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
  2447. * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
  2448. * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
  2449. * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
  2450. * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
  2451. * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
  2452. * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
  2453. * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
  2454. * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
  2455. * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
  2456. * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
  2457. * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
  2458. * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
  2459. * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
  2460. * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
  2461. * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
  2462. * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
  2463. * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
  2464. * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier. Don't
  2465. add nop when SHARED.
  2466. * sysdeps/powerpc/powerpc64/start.S: Fix comment.
  2467. * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
  2468. define.
  2469. (ENTRY_TOCLESS): Define.
  2470. * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
  2471. * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
  2472. * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
  2473. 2017-06-14 Alan Modra <amodra@gmail.com>
  2474. * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
  2475. MEMSET_is_local.
  2476. * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
  2477. * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
  2478. * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
  2479. Define MEMSET.
  2480. * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
  2481. STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
  2482. * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise. Don't add
  2483. nop after local calls.
  2484. * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
  2485. Don't add nop after local call.
  2486. * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise. Add missing
  2487. CALL_MCOUNT.
  2488. 2017-06-14 Alan Modra <amodra@gmail.com>
  2489. * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
  2490. (FUNC_LABEL): Rename from DOT_LABEL.
  2491. (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
  2492. Use .p2align rather than .align.
  2493. (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
  2494. (ABORT_TRANSACTION): Likewise.
  2495. (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
  2496. particularly at end. Add semicolon at invocation as necessary.
  2497. (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
  2498. (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
  2499. * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
  2500. END): Adjust to suit.
  2501. 2017-06-14 Alan Modra <amodra@gmail.com>
  2502. * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
  2503. FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
  2504. (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
  2505. FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
  2506. FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
  2507. * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
  2508. uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
  2509. 2017-06-14 Alan Modra <amodra@gmail.com>
  2510. * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
  2511. (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
  2512. 2017-06-13 Gordana Cmiljanovic <gordana.cmiljanovic@imgtec.com>
  2513. [BZ #21548]
  2514. * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
  2515. 8 and use it when copying general purpose registers.
  2516. * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
  2517. * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
  2518. mips o32.
  2519. * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
  2520. new test for mips o32.
  2521. * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
  2522. 8 and use it when copying general purpose registers.
  2523. * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
  2524. 2017-06-13 Florian Weimer <fweimer@redhat.com>
  2525. * configure.ac (find_cxx_header): Suppress compiler error message.
  2526. 2017-06-13 Florian Weimer <fweimer@redhat.com>
  2527. * malloc/dynarray-skeleton.c: List begin/end as defined functions.
  2528. (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
  2529. * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
  2530. begin/end.
  2531. * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
  2532. dynarray_int_end.
  2533. (test_str): Test dynarray_str_begin, dynarray_str_end.
  2534. 2017-06-13 H.J. Lu <hongjiu.lu@intel.com>
  2535. [BZ #21573]
  2536. * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
  2537. $(common-objpfx)bits/std_abs.h.
  2538. [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
  2539. New target.
  2540. * config.make.in (c++-bits-std_abs-h): New.
  2541. * configure.ac (find_cxx_header): Use "\,$1," with sed.
  2542. (CXX_BITS_STD_ABS_H): New.
  2543. (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
  2544. * configure: Regenerated.
  2545. 2017-06-13 Zack Weinberg <zackw@panix.com>
  2546. * posix/bits/cpu-set.h: Correct indentation of preprocessor
  2547. directives.
  2548. 2017-06-12 Zack Weinberg <zackw@panix.com>
  2549. * bits/sched.h: Remove __need_schedparam logic and replace with a
  2550. normal multiple-include guard. Change field name in struct
  2551. sched_param from __sched_priority to sched_priority. Delete
  2552. everything under #ifndef __cpu_set_t_defined.
  2553. * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. Also sync with
  2554. kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
  2555. * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
  2556. For compatibility, #define sched_priority to itself, and #define
  2557. __sched_priority as sched_priority.
  2558. * posix/bits/cpu-set.h: New file containing, verbatim, the code
  2559. that was under #ifndef __cpu_set_t_defined in
  2560. sysdeps/unix/sysv/linux/bits/sched.h.
  2561. * include/bits/cpu-set.h: New wrapper.
  2562. * posix/Makefile: Install bits/cpu-set.h.
  2563. 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  2564. Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  2565. Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  2566. * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
  2567. (%all_floats_pfx): Add macro prefix for float128 (FLT128).
  2568. * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
  2569. * math/libm-test-isfinite.inc (finite_test): Likewise.
  2570. * math/libm-test-lgamma.inc (gamma_test): Likewise.
  2571. * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
  2572. (nexttoward_test_data}: Likewise.
  2573. * math/libm-test-remainder.inc (drem_test): Likewise.
  2574. * math/libm-test-scalb.inc (scalb_test): Likewise.
  2575. (scalb_test_data): Likewise.
  2576. * math/libm-test-significand.inc (significand_test): Likewise.
  2577. (significand_test_data): Likewise.
  2578. * math/libm-test-support.c (check_complex): Replace __complex__
  2579. FLOAT with CFLOAT to get the support for old compiler.
  2580. * math/libm-test-support.h (check_complex): Likewise.
  2581. * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
  2582. * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
  2583. * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
  2584. * math/test-float128.h: New file.
  2585. * math/test-math-floatn.h: New file.
  2586. 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  2587. * include/float.h: Allow the definition of macros prefixed with
  2588. FLT128 even if _ISOMAC is defined, but provided that
  2589. __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
  2590. 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  2591. * manual/math.texi (Mathematics): Add description for _FloatN and
  2592. _FloatNx types and mentions that they are not support in glibc for
  2593. any architecture, so far.
  2594. * manual/arith.texi (wcstof, wcstold): Replace the mention to
  2595. stdlib.h with wchar.h.
  2596. (Parsing of Floats): Add descriptions for strtofN and wcstofN.
  2597. (Printing of Floats): Add description for strfromfN.
  2598. 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  2599. Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  2600. Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  2601. * include/gmp.h (__mpn_construct_float128): New declaration.
  2602. * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
  2603. (__strtof128_l): New declaration.
  2604. (__strtof128_nan): Likewise.
  2605. (__wcstof128_nan): Likewise.
  2606. (__strtof128_internal): Likewise.
  2607. (____strtof128_l_internal): Likewise.
  2608. * include/wchar.h: Include bits/floatn.h for _Float128 tests.
  2609. (__wcstof128_l): New declaration.
  2610. (__wcstof128_internal): Likewise.
  2611. * stdlib/Makefile (bug-strtod2): Link libm too.
  2612. * stdlib/stdlib.h (strtof128): New declaration.
  2613. (strtof128_l): Likewise.
  2614. * stdlib/tst-strtod-nan-locale-main.c: Updated to use
  2615. tst-strtod.h macros to ensure float128 gets tested too.
  2616. * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
  2617. * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
  2618. tests.
  2619. (IF_FLOAT128): New macro.
  2620. (GEN_TEST_STRTOD): Update to optionally include _Float128 in
  2621. the tests.
  2622. (STRTOD_TEST_FOREACH): Likewise.
  2623. * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
  2624. wcstof128 functions into libc.
  2625. * sysdeps/ieee754/float128/Versions: Add exports for the above
  2626. new functions.
  2627. * sysdeps/ieee754/float128/mpn2float128.c: New file.
  2628. * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
  2629. * sysdeps/ieee754/float128/strtof128.c: New file.
  2630. * sysdeps/ieee754/float128/strtof128_l.c: New file.
  2631. * sysdeps/ieee754/float128/strtof128_nan.c: New file.
  2632. * sysdeps/ieee754/float128/wcstof128.c: New file.
  2633. * sysdeps/ieee754/float128/wcstof128_l.c: New file.
  2634. * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
  2635. * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
  2636. (CFLAGS-wcstof128_l): Likewise.
  2637. * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
  2638. (wcstof128): New declaration.
  2639. (wcstof128_l): Likewise.
  2640. 2017-06-12 Joseph Myers <joseph@codesourcery.com>
  2641. [BZ #21552]
  2642. * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
  2643. not [__USE_XOPEN].
  2644. * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
  2645. [BZ #21550]
  2646. * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
  2647. 2017-06-12 H.J. Lu <hongjiu.lu@intel.com>
  2648. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  2649. strcpy-sse2 and stpcpy-sse2.
  2650. * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
  2651. * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
  2652. * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
  2653. * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
  2654. * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
  2655. * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
  2656. * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
  2657. * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
  2658. * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
  2659. * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
  2660. * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
  2661. * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
  2662. (libc_hidden_def): Always defined as empty.
  2663. * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
  2664. Always Defined as empty.
  2665. 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
  2666. * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
  2667. 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
  2668. [BZ #15105]
  2669. [BZ #19463]
  2670. * include/string.h: Add internal redirect for __stpcpy.
  2671. * string/Makefile: Remove bits/string2.h.
  2672. * string/string.h: Update comment.
  2673. * string/string-inlines.c: Remove bits/string2.h include and comment.
  2674. * string/bits/string2.h: Remove file.
  2675. 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
  2676. * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
  2677. * sunrpc/clnt_gen.c (clnt_create): Likewise.
  2678. * sunrpc/des_impl.c (_des_crypt): Likewise.
  2679. * sunrpc/key_call.c (key_gendes): Likewise.
  2680. * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
  2681. * sunrpc/svc_simple.c (universal): Likewise.
  2682. * sunrpc/svc_tcp.c (svctcp_create): Likewise.
  2683. * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
  2684. * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
  2685. 2017-06-10 Zack Weinberg <zackw@panix.com>
  2686. * stdlib/errno.h: Correct an outdated comment.
  2687. 2017-06-09 Paul A. Clarke <pc@us.ibm.com>
  2688. * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
  2689. Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
  2690. CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
  2691. * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
  2692. New file. Invoke newly supported sysconf values for powerpc,
  2693. and report results. If none are supported, report so.
  2694. * sysdeps/unix/sysv/linux/powerpc/Makefile (tests): Add new test,
  2695. tst-sysconf.
  2696. 2017-06-09 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  2697. * include/sys/auxv.h (__getauxval): Add a prototype and its
  2698. libc_hidden_proto.
  2699. * misc/getauxval.c (__getauxval): Use libc_hidden_def.
  2700. 2017-06-09 Joseph Myers <joseph@codesourcery.com>
  2701. [BZ #21561]
  2702. * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
  2703. [__USE_XOPEN_EXTENDED].
  2704. (id_t): Likewise.
  2705. (include of <bits/types/siginfo_t.h): Likewise.
  2706. (waitid): Likewise.
  2707. * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
  2708. on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
  2709. (WEXITED): Likewise.
  2710. (WCONTINUED): Likewise.
  2711. (WNOWAIT): Likewise.
  2712. * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
  2713. (test-xfail-XPG4/sys/wait.h/conform): Likewise.
  2714. (test-xfail-POSIX/sys/wait.h/conform): Likewise.
  2715. * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
  2716. libc.so PLT entry optional.
  2717. (__gtsf2): Likewise.
  2718. (__unorddf2): Likewise.
  2719. (__unordsf2): Likewise.
  2720. * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
  2721. New optional libc.so PLT entry.
  2722. [BZ #21554]
  2723. * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
  2724. not [__USE_XOPEN].
  2725. [BZ #21560]
  2726. * posix/sys/wait.h: Condition include of <signal.h> on
  2727. [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]. Include <bits/types.h>
  2728. unconditionally.
  2729. [!__pid_t_defined] (pid_t): Define typedef.
  2730. 2017-06-09 Zack Weinberg <zackw@panix.com>
  2731. * include/errno.h (__errno_location): Use __attribute_const__
  2732. instead of bare __attribute__.
  2733. 2017-06-09 Zack Weinberg <zackw@panix.com>
  2734. * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
  2735. (common-generated): Add libc-modules.h and libc-modules.stmp in a
  2736. more appropriate location. Also add dl-tunable-list.h and
  2737. dl-tunable-list.stmp.
  2738. 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
  2739. * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
  2740. 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
  2741. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  2742. strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
  2743. * sysdeps/x86_64/multiarch/ifunc-impl-list.c
  2744. (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
  2745. __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
  2746. * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
  2747. * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
  2748. * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
  2749. * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
  2750. * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
  2751. * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
  2752. 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
  2753. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  2754. memrchr-sse2 and memrchr-avx2.
  2755. * sysdeps/x86_64/multiarch/ifunc-impl-list.c
  2756. (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
  2757. __memrchr_sse2.
  2758. * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
  2759. * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
  2760. * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
  2761. 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
  2762. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  2763. strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
  2764. wcschr-sse2 and wcschr-avx2.
  2765. * sysdeps/x86_64/multiarch/ifunc-impl-list.c
  2766. (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
  2767. __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
  2768. __wcschr_sse2.
  2769. * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
  2770. * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
  2771. * sysdeps/x86_64/multiarch/strchr.c: Likewise.
  2772. * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
  2773. * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
  2774. * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
  2775. * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
  2776. * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
  2777. * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
  2778. * sysdeps/x86_64/multiarch/strchr.S: Removed.
  2779. 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
  2780. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  2781. strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
  2782. wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
  2783. * sysdeps/x86_64/multiarch/ifunc-impl-list.c
  2784. (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
  2785. __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
  2786. __wcslen_sse2 and __wcsnlen_avx2.
  2787. * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
  2788. * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
  2789. * sysdeps/x86_64/multiarch/strlen.c: Likewise.
  2790. * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
  2791. * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
  2792. * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
  2793. * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
  2794. * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
  2795. * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
  2796. * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
  2797. * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
  2798. (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
  2799. vzeroupper is preferred and AVX unaligned load is fast.
  2800. 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
  2801. * sysdeps/x86_64/memchr.S (MEMCHR): New. Depending on if
  2802. USE_AS_WMEMCHR is defined.
  2803. (PCMPEQ): Likewise.
  2804. (memchr): Renamed to ...
  2805. (MEMCHR): This. Support wmemchr if USE_AS_WMEMCHR is defined.
  2806. Replace pcmpeqb with PCMPEQ.
  2807. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  2808. memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
  2809. wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
  2810. * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
  2811. * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
  2812. * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
  2813. * sysdeps/x86_64/multiarch/memchr.c: Likewise.
  2814. * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
  2815. * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
  2816. * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
  2817. * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
  2818. * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
  2819. * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
  2820. * sysdeps/x86_64/multiarch/ifunc-impl-list.c
  2821. (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
  2822. __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
  2823. __wmemchr_sse2.
  2824. 2017-06-09 Florian Weimer <fweimer@redhat.com>
  2825. * malloc/Makefile (test-srcs): Remove tst-dynarray,
  2826. tst-dynarray-fail.
  2827. 2017-06-09 Florian Weimer <fweimer@redhat.com>
  2828. Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
  2829. * support/support_test_verify_impl.c
  2830. (support_test_verify_exit_impl): Split from
  2831. support_test_verify_impl.
  2832. * support/check.h (TEST_VERIFY): Drop status argument from
  2833. support_test_verify_impl call.
  2834. (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
  2835. (support_test_verify_impl): Remove status argument.
  2836. (support_test_verify_exit_impl): Declare.
  2837. 2017-06-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
  2838. * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
  2839. mention of magic numbers in comments.
  2840. (_dl_procinfo): Fix undefined behavior
  2841. 2017-06-08 Joseph Myers <joseph@codesourcery.com>
  2842. * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
  2843. [XPG4].
  2844. (WEXITED): Likewise.
  2845. (WSTOPPED): Likewise.
  2846. (WCONTINUED): Likewise.
  2847. (WNOHANG): Likewise.
  2848. (WNOWAIT): Likewise.
  2849. (idtype_t): Likewise.
  2850. (P_ALL): Likewise.
  2851. (P_PID): Likewise.
  2852. (P_PGID): Likewise.
  2853. (id_t): Likewise.
  2854. (siginfo_t): Likewise.
  2855. (wait3): Likewise.
  2856. (waitid): Likewise.
  2857. (signal.h): Do not allow header for [XPG4].
  2858. (sys/resource.h): Likewise.
  2859. (si_*): Do not allow for [XPG4].
  2860. (W*): Likewise.
  2861. (P_*): Likewise.
  2862. (BUS_): Likewise.
  2863. (CLD_): Likewise.
  2864. (FPE_): Likewise.
  2865. (ILL_): Likewise.
  2866. (POLL_): Likewise.
  2867. (SEGV_): Likewise.
  2868. (SI_): Likewise.
  2869. (TRAP_): Likewise.
  2870. * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
  2871. variable.
  2872. 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
  2873. [BZ #21528]
  2874. * elf/dl-minimal.c (__strtoul_internal): Removed.
  2875. (strtoul): Likewise.
  2876. * elf/dl-misc.c (_dl_strtoul): New function.
  2877. * elf/dl-tunables.c (tunables_strtoul): Removed.
  2878. (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
  2879. * elf/rtld.c (process_envvars): Likewise.
  2880. * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
  2881. Likewise.
  2882. * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
  2883. 2017-06-08 Zack Weinberg <zackw@panix.com>
  2884. * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
  2885. * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
  2886. * wcsmbs/bits/types/wint_t.h: New single-type definition files.
  2887. * wctype/bits/wctype-wchar.h: New file holding declarations shared
  2888. between wctype.h and wchar.h.
  2889. * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
  2890. Install them.
  2891. * include/bits/types/FILE.h, include/bits/types/__FILE.h
  2892. * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
  2893. * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
  2894. New wrappers.
  2895. * include/stdio.h, include/wchar.h, include/wctype.h:
  2896. No need to handle __need macros.
  2897. * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
  2898. * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
  2899. * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
  2900. * wcsmbs/wchar.h, wctype/wctype.h
  2901. * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
  2902. Use the new files instead of __need macros.
  2903. 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
  2904. * string/test-memrchr.c (test_main): Add tests for len == 0
  2905. and tests for positions close to the beginning, which are
  2906. equivalent to positions close to the end for memchr.
  2907. 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
  2908. * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
  2909. comments.
  2910. * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
  2911. instead of wmemset.h.
  2912. * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
  2913. * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
  2914. * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
  2915. 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  2916. * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
  2917. spec->info.is_binary128 to zero.
  2918. * stdio-common/printf.h (printf_info): Add new member is_binary128
  2919. to indicate that the number being converted to string is compatible
  2920. with the IEC 60559 binary128 format.
  2921. * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
  2922. _Float128 numbers.
  2923. * stdio-common/printf_fphex.c: Include ieee754_float128.h and
  2924. ldbl-128/printf_fphex_macros.h
  2925. (__printf_fphex): Add code to deal with _Float128 numbers.
  2926. * stdio-common/printf_size.c (__printf_size): Likewise.
  2927. * stdio-common/vfprintf.c (process_arg): Initialize member
  2928. info.is_binary128 to zero.
  2929. * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
  2930. * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
  2931. (strfromf128): New declaration.
  2932. * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
  2933. to one.
  2934. * sysdeps/ieee754/float128/Makefile: Add strfromf128.
  2935. * sysdeps/ieee754/float128/Versions: Likewise.
  2936. * sysdeps/ieee754/float128/strfromf128.c: New file.
  2937. 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  2938. * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
  2939. ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
  2940. (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
  2941. * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
  2942. (PRINT_FPHEX): New function-like macro that can be used for long
  2943. double, as well as for _Float128
  2944. 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  2945. * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
  2946. (__printf_fp_l): Use the new macro to avoid duplicating code.
  2947. * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
  2948. (__printf_fphex): Use the new macro to avoid duplicating code.
  2949. * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
  2950. (__printf_size): Use the new macro to avoid duplicating code.
  2951. 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  2952. * include/gmp.h: Include bits/floatn.h
  2953. (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
  2954. * stdlib/gmp-impl.h: Also check if alloca is not defined before
  2955. including stack-alloc.h. It could have been defined by other header
  2956. which not necessarily defines HAVE_ALLOCA.
  2957. * sysdeps/ieee754/float128/Makefile: New file.
  2958. * sysdeps/ieee754/float128/float1282mpn.c: New file.
  2959. * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
  2960. redefining __mpn_extract_long_double to __mpn_extract_float128, then
  2961. redefine __mpn_extract_long_double to __mpn_extract_float128.
  2962. * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
  2963. _Float128 to allow float128_private.h overrides.
  2964. 2017-06-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  2965. * stdlib/fpioconst.h: Include bits/floatn.h.
  2966. (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
  2967. power of ten table should be.
  2968. (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
  2969. * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
  2970. to include larger tables when _Float128 support is enabled.
  2971. (_fpioconst_pow10): Likewise.
  2972. 2017-06-07 Joseph Myers <joseph@codesourcery.com>
  2973. * include/bits/types/clock_t.h: Use #include <path> instead of
  2974. #include "../../path".
  2975. * include/bits/types/clockid_t.h: Likewise.
  2976. * include/bits/types/struct_iovec.h: Likewise.
  2977. * include/bits/types/struct_itimerspec.h: Likewise.
  2978. * include/bits/types/struct_osockaddr.h: Likewise.
  2979. * include/bits/types/struct_sigstack.h: Likewise.
  2980. * include/bits/types/struct_timespec.h: Likewise.
  2981. * include/bits/types/struct_timeval.h: Likewise.
  2982. * include/bits/types/struct_tm.h: Likewise.
  2983. * include/bits/types/time_t.h: Likewise.
  2984. * include/bits/types/timer_t.h: Likewise.
  2985. [BZ #14096]
  2986. * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
  2987. America/New_York.
  2988. 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
  2989. * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
  2990. into ...
  2991. * sysdeps/x86_64/multiarch/wcsnlen.c: Here. Don't include
  2992. ifunc-sse4_1.h.
  2993. 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
  2994. * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
  2995. Remove check for NULL 'buf'.
  2996. * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
  2997. 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
  2998. * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
  2999. include test-skeleton.c.
  3000. Include support/check.h and support/test-driver.c.
  3001. 2017-06-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
  3002. * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
  3003. (_dl_aarch64_cap_flags): New array.
  3004. * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
  3005. (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
  3006. functions.
  3007. * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
  3008. * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
  3009. Likewise.
  3010. * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
  3011. up hwcap and hwcap_mask.
  3012. * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
  3013. (init_cpu_features): Use glibc.tune.hwcap_mask.
  3014. * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
  3015. * elf/dl-hwcaps.h: New file.
  3016. * elf/dl-hwcaps.c: Include it.
  3017. (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
  3018. glibc.tune.hwcap_mask.
  3019. * elf/dl-cache.c: Include dl-hwcaps.h.
  3020. (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
  3021. glibc.tune.hwcap_mask.
  3022. * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
  3023. * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
  3024. _dl_hwcap_mask.
  3025. * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
  3026. _dl_hwcap_mask.
  3027. (process_envvars)[HAVE_TUNABLES]: Likewise.
  3028. * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
  3029. Likewise.
  3030. * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
  3031. initialize dl_hwcap_mask when tunables are enabled.
  3032. * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
  3033. guard.
  3034. * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
  3035. * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
  3036. * scripts/gen-tunables.awk: Include dl-procinfo.h.
  3037. * manual/tunables.texi: Document glibc.tune.hwcap_mask.
  3038. * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
  3039. * elf/dl-tunables.c: Likewise.
  3040. (do_tunable_update_val): New function.
  3041. (__tunable_set_val): New function.
  3042. (__tunable_get_val): Call CB only if the tunable was externally
  3043. initialized.
  3044. (tunables_strtoul): Replace strval with initialized.
  3045. * elf/dl-tunables.h (strval): Replace with a bool initialized.
  3046. (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
  3047. prevent collision.
  3048. (__tunable_set_val): New function.
  3049. (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
  3050. (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
  3051. (TUNABLE_SET_VAL): Remove.
  3052. (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
  3053. * README.tunables: Document the new macros.
  3054. * malloc/arena.c (ptmalloc_init): Adjust.
  3055. 2017-06-06 H.J. Lu <hongjiu.lu@intel.com>
  3056. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  3057. wcsnlen-sse4_1 and wcsnlen-c.
  3058. * sysdeps/x86_64/multiarch/ifunc-impl-list.c
  3059. (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
  3060. __wcsnlen_sse2.
  3061. * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
  3062. * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
  3063. * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
  3064. * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
  3065. * sysdeps/x86_64/wcsnlen.S: Removed.
  3066. 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
  3067. * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
  3068. * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
  3069. * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
  3070. * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
  3071. 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
  3072. * NEWS: Mention new spinlock implementation.
  3073. * include/atomic.h:
  3074. (__atomic_val_bysize): Cast type to omit volatile qualifier.
  3075. (atomic_exchange_acq): Likewise.
  3076. (atomic_load_relaxed): Likewise.
  3077. (ATOMIC_EXCHANGE_USES_CAS): Check definition.
  3078. * nptl/pthread_spin_init.c (pthread_spin_init):
  3079. Use atomic_store_relaxed.
  3080. * nptl/pthread_spin_lock.c (pthread_spin_lock):
  3081. Use C11-like atomic macros.
  3082. * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
  3083. Likewise.
  3084. * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
  3085. Use atomic_store_release.
  3086. * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
  3087. * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
  3088. * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
  3089. * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
  3090. * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
  3091. * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
  3092. * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
  3093. * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
  3094. * sysdeps/alpha/atomic-machine.h: Likewise.
  3095. * sysdeps/arm/atomic-machine.h: Likewise.
  3096. * sysdeps/i386/atomic-machine.h: Likewise.
  3097. * sysdeps/ia64/atomic-machine.h: Likewise.
  3098. * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
  3099. * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
  3100. * sysdeps/microblaze/atomic-machine.h: Likewise.
  3101. * sysdeps/mips/atomic-machine.h: Likewise.
  3102. * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
  3103. * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
  3104. * sysdeps/s390/atomic-machine.h: Likewise.
  3105. * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
  3106. * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
  3107. * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
  3108. * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
  3109. * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
  3110. * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
  3111. * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
  3112. * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
  3113. * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
  3114. * sysdeps/x86_64/atomic-machine.h: Likewise.
  3115. 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
  3116. * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
  3117. and use it instead of dl_x86_cpu_features.
  3118. (handle_intel): Replace maxidx with cpu_features. Pass
  3119. cpu_features to intel_check_word.
  3120. (__cache_sysconf): Pass cpu_features to handle_intel.
  3121. (init_cacheinfo): Likewise. Use cpu_features instead of
  3122. dl_x86_cpu_features.
  3123. 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
  3124. * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
  3125. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  3126. memcmp-avx2 and wmemcmp-avx2.
  3127. * sysdeps/x86_64/multiarch/ifunc-impl-list.c
  3128. (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
  3129. * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
  3130. * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
  3131. * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
  3132. 2 machines if AVX unaligned load is fast and vzeroupper is
  3133. preferred.
  3134. * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
  3135. 2 machines if AVX unaligned load is fast and vzeroupper is
  3136. preferred.
  3137. 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
  3138. * include/wchar.h (__wmemset_chk): New.
  3139. * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
  3140. to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
  3141. (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
  3142. (WMEMSET_CHK_SYMBOL): Likewise.
  3143. (WMEMSET_SYMBOL): Likewise.
  3144. (__wmemset): Add hidden definition.
  3145. (wmemset): Add weak hidden definition.
  3146. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  3147. wmemset_chk-nonshared.
  3148. * sysdeps/x86_64/multiarch/ifunc-impl-list.c
  3149. (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
  3150. __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
  3151. __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
  3152. and __wmemset_chk_avx512_unaligned.
  3153. * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
  3154. (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
  3155. (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
  3156. (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
  3157. (WMEMSET_SYMBOL): Likewise.
  3158. * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
  3159. (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
  3160. (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
  3161. (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
  3162. (WMEMSET_SYMBOL): Likewise.
  3163. * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
  3164. (WMEMSET_CHK_SYMBOL): New.
  3165. (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
  3166. (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
  3167. * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
  3168. (libc_hidden_builtin_def): Also define __GI_wmemset and
  3169. __GI___wmemset.
  3170. (weak_alias): New.
  3171. * sysdeps/x86_64/multiarch/wmemset.c: New file.
  3172. * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
  3173. * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
  3174. * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
  3175. * sysdeps/x86_64/wmemset.c: Likewise.
  3176. * sysdeps/x86_64/wmemset_chk.c: Likewise.
  3177. 2017-06-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  3178. H.J. Lu <hongjiu.lu@intel.com>
  3179. * sysdeps/x86/init-arch.h (PASTER1): New.
  3180. (EVALUATOR1): Likewise.
  3181. (PASTER2): Likewise.
  3182. (EVALUATOR2): Likewise.
  3183. (REDIRECT_NAME): Likewise.
  3184. (OPTIMIZE): Likewise.
  3185. (IFUNC_SELECTOR): Likewise.
  3186. 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
  3187. * sysdeps/x86_64/strlen.S (PMINU): New.
  3188. (PCMPEQ): Likewise.
  3189. (SHIFT_RETURN): Likewise.
  3190. (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
  3191. (strlen): Add SHIFT_RETURN before ret. Replace pcmpeqb and
  3192. pminub with PCMPEQ and PMINU.
  3193. * sysdeps/x86_64/wcsnlen.S: New file.
  3194. 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
  3195. * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
  3196. the lower 32 bits. Remove redundant instructions.
  3197. 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
  3198. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
  3199. 0 as the high part of offset.
  3200. * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
  3201. 2017-06-05 Joseph Myers <joseph@codesourcery.com>
  3202. [BZ #21538]
  3203. * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
  3204. [__USE_UNIX98].
  3205. * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
  3206. * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
  3207. Likewise.
  3208. * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
  3209. * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
  3210. * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
  3211. * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
  3212. Likewise.
  3213. [BZ #21517]
  3214. * bits/types/stack_t.h (stack_t): Remove struct tag.
  3215. * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
  3216. Likewise.
  3217. * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
  3218. Likewise.
  3219. * debug/segfault.c (install_handler): Use stack_t instead of
  3220. struct sigaltstack.
  3221. * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
  3222. * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
  3223. * include/signal.h (__sigaltstack): Likwise.
  3224. * signal/sigaltstack.c (__sigaltstack): Likewise.
  3225. * signal/signal.h (sigaltstack): Likewise.
  3226. * sysdeps/mach/hurd/i386/signal-defines.sym
  3227. (SIGALTSTACK__SS_SP__OFFSET): Likewise.
  3228. (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
  3229. (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
  3230. * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
  3231. * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
  3232. * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
  3233. elf_prstatus): Likewise.
  3234. * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
  3235. Likewise.
  3236. * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
  3237. Likewise.
  3238. * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
  3239. Likewise.
  3240. * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
  3241. elf_prstatus): Likewise.
  3242. * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
  3243. Likewise.
  3244. * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
  3245. Likewise.
  3246. 2017-06-04 Zack Weinberg <zackw@panix.com>
  3247. * sysdeps/gnu/errlist.c: Regenerate.
  3248. 2017-06-04 H.J. Lu <hongjiu.lu@intel.com>
  3249. * benchtests/bench-memchr.c (do_test): Print out both length
  3250. and position.
  3251. (test_main): Also test the position close to the beginning for
  3252. memrchr.
  3253. 2017-06-04 Zack Weinberg <zackw@panix.com>
  3254. * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
  3255. * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
  3256. * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
  3257. * nis/nis_destroygroup.c, nis/nis_domain_of.c
  3258. * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
  3259. * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
  3260. * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
  3261. * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
  3262. * nis/nis_print_group_entry.c, nis/nis_remove.c
  3263. * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
  3264. * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
  3265. * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
  3266. * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
  3267. * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
  3268. * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
  3269. * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
  3270. * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
  3271. * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
  3272. * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
  3273. * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
  3274. * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
  3275. * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
  3276. * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
  3277. * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
  3278. * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
  3279. * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
  3280. * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
  3281. * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
  3282. * sunrpc/xdr_stdio.c: Include shlib-compat.h.
  3283. * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
  3284. abi-versions.h as well as shlib-compat.h.
  3285. * sunrpc/get_myaddr.c: Remove obsolete comment.
  3286. * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
  3287. * sunrpc/rpc_thread.c: Include libc-lock.h only once.
  3288. * resolv/res_libc.c: Include shlib-compat.h only once.
  3289. 2017-06-03 Florian Weimer <fweimer@redhat.com>
  3290. * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
  3291. of strdup.
  3292. 2017-06-02 H.J. Lu <hongjiu.lu@intel.com>
  3293. * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
  3294. Set to the 3/4 of the total shared cache size.
  3295. 2017-06-02 Rical Jasan <ricaljasan@pacific.net>
  3296. * manual/errno.texi: Remove redundant error strings.
  3297. * manual/macros.texi (@errno): Render the error string in every
  3298. description.
  3299. 2017-06-02 Joseph Myers <joseph@codesourcery.com>
  3300. [BZ #21543]
  3301. * signal/signal.h: Only include <bits/types/sigevent_t.h> and
  3302. <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
  3303. [__USE_XOPEN_EXTENDED].
  3304. 2017-06-02 Florian Weimer <fweimer@redhat.com>
  3305. * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
  3306. strdupa.
  3307. (getcanonname): Use __strdup instead of strdup.
  3308. 2017-06-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  3309. * misc/Makefile (CFLAGS-preadv2.c): New rule.
  3310. (CFLAGS-preadv64v2.c): Likewise.
  3311. (CFLAGS-pwritev2.c): Likewise.
  3312. (CFLAGS-pwritev64v2.c): Likewise.
  3313. 2017-06-02 Florian Weimer <fweimer@redhat.com>
  3314. Test res_init with several configuration files.
  3315. * resolv/Makefile [build-shared] (tests-internal): Add
  3316. tst-resolv-res_init, tst-resolv-res_init-thread.
  3317. (tst-resolv-res_init): Link against libdl, libresolv.
  3318. (tst-resolv-res_init-thread): Link against libdl, libresolv,
  3319. libpthread.
  3320. * resolv/tst-resolv-res_init.c: New file.
  3321. * resolv/tst-resolv-res_init-skeleton.c: Likewise.
  3322. * resolv/tst-resolv-res_init-thread.c: Likewise.
  3323. * support/Makefile (libsupport-routines): Add support-xstat,
  3324. support_can_chroot, support_capture_subprocess_check,
  3325. support_isolate_in_subprocess, support_shared_allocate,
  3326. support_write_file_string, xchroot, xmkdir, xopen.
  3327. * support/capture_subprocess.h (enum support_capture_allow): Define.
  3328. (support_capture_subprocess_check): Declare.
  3329. * support/namespace.h (support_can_chroot)
  3330. (support_isolate_in_subprocess): Declare.
  3331. * support/support-xstat.c: New file.
  3332. * support/support.h (support_shared_allocate, support_shared_free)
  3333. (support_write_file_string): Declare.
  3334. * support/support_can_chroot.c: New file.
  3335. * support/support_capture_subprocess_check.c: Likewise.
  3336. * support/support_isolate_in_subprocess.c: Likewise.
  3337. * support/support_shared_allocate.c: Likewise.
  3338. * support/support_write_file_string.c: Likewise.
  3339. * support/xchroot.c: Likwise.
  3340. * support/xmkdir.c: Likwise.
  3341. * support/xopen.c: Likwise.
  3342. * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
  3343. 2017-06-02 Florian Weimer <fweimer@redhat.com>
  3344. * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
  3345. (gaih_inet): Remove malloc_canonbuf variable. Call getcanonname.
  3346. 2017-06-02 Florian Weimer <fweimer@redhat.com>
  3347. * malloc/Makefile (routines): Add dynarray_at_failure,
  3348. dynarray_emplace_enlarge, dynarray_finalize.
  3349. (tests-internal): Add tst-dynarray, tst-dynarray-fail,
  3350. tst-dynarray-at-fail.
  3351. (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
  3352. (tests-special): Add tst-dynarray-mem.out,
  3353. tst-dynarray-mem-fail.out.
  3354. (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
  3355. (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
  3356. mtrace.
  3357. * malloc/Versions (__libc_dynarray_at_failure)
  3358. (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
  3359. (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
  3360. GLIBC_PRIVATE.
  3361. * malloc/dynarray.h: New file.
  3362. * malloc/dynarray-skeleton.c: Likewise.
  3363. * malloc/dynarray_at_failure.c: Likewise.
  3364. * malloc/dynarray_emplace_enlarge.c: Likewise.
  3365. * malloc/dynarray_finalize.c: Likewise.
  3366. * malloc/dynarray_resize.c: Likewise.
  3367. * malloc/dynarray_resize_clear.c: Likewise.
  3368. * malloc/tst-dynarray.c: Likewise.
  3369. * malloc/tst-dynarray-fail.c: Likewise.
  3370. * malloc/tst-dynarray-at-fail.c: Likewise.
  3371. * malloc/tst-dynarray-shared.h: Likewise.
  3372. * support/Makefile (libsupport-routines): Add
  3373. support_capture_subprocess, xdup2, xpipe.
  3374. (tests): Add tst-support_capture_subprocess.
  3375. * support/capture_subprocess.h: New file.
  3376. * support/support_capture_subprocess.c: Likewise.
  3377. * support/tst-support_capture_subprocess.c: Likewise.
  3378. * support/xdup2.c: Likewise.
  3379. * support/xpipe.c: Likewise.
  3380. * support/xunistd.h (xdup2, xpipe): Declare.
  3381. 2017-06-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  3382. * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
  3383. macros MAX and MIN.
  3384. 2017-06-01 Joseph Myers <joseph@codesourcery.com>
  3385. * conform/data/signal.h-data (sa_sigaction): Do not expect for
  3386. [XPG4].
  3387. (SA_SIGINFO): Likewise.
  3388. (SA_ONSTACK): Likewise.
  3389. (SA_RESETHAND): Likewise.
  3390. (SA_RESTART): Likewise.
  3391. (SA_NOCLDWAIT): Likewise.
  3392. (SA_NODEFER): Likewise.
  3393. (SS_ONSTACK): Likewise.
  3394. (SS_DISABLE): Likewise.
  3395. (MINSIGSTKSZ): Likewise.
  3396. (SIGSTKSZ): Likewise.
  3397. (ucontext_t): Likewise.
  3398. (stack_t): Likewise.
  3399. (struct sigstack): Likewise.
  3400. (SI_USER): Do not expect for [XPG4 || XPG42].
  3401. (SI_QUEUE): Likewise.
  3402. (SI_TIMER): Likewise.
  3403. (SI_ASYNCIO): Likewise.
  3404. (SI_MESGQ): Likewise.
  3405. (bsd_signal): Do not expect for [XPG4].
  3406. (killpg): Likewise.
  3407. (sigaltstack): Likewise.
  3408. (sighold): Likewise.
  3409. (sigignore): Likewise.
  3410. (siginterrupt): Likewise.
  3411. (sigpause): Likewise.
  3412. (sigrelse): Likewise.
  3413. (sigset): Likewise.
  3414. (sigwait): Do not expect for [XPG4 || XPG42].
  3415. 2017-06-01 Zack Weinberg <zackw@panix.com>
  3416. [BZ #21514]
  3417. * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
  3418. pointing to the generated file in <builddir>/misc/bits/syscall.h.
  3419. 2017-06-01 Joseph Myers <joseph@codesourcery.com>
  3420. [BZ #21457]
  3421. * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
  3422. NGREG to __NGREG if [__USE_MISC].
  3423. (gregset_t): Define using __NGREG.
  3424. (__ctx): New macro.
  3425. (mcontext_t): Use __ctx in defining fields.
  3426. * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
  3427. define NGREG to __NGREG if [__USE_MISC].
  3428. (gregset_t): Define using __NGREG.
  3429. (__ctx): New macro.
  3430. (__ctxt): Likewise.
  3431. (fpregset_t): Use __ctx and __ctxt in defining fields.
  3432. (mcontext_t): Likewise.
  3433. * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
  3434. define NGREG to __NGREG if [__USE_MISC].
  3435. (gregset_t): Define using __NGREG.
  3436. (__ctx): New macro.
  3437. (mcontext_t): Use __ctx in defining fields.
  3438. * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
  3439. define NGREG to __NGREG if [__USE_MISC].
  3440. (gregset_t): Define using __NGREG.
  3441. (__ctx): New macro.
  3442. (fpregset_t): Use __ctx in defining fields.
  3443. (mcontext_t): Likewise.
  3444. * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
  3445. __NGREG and define NGREG to __NGREG if [__USE_MISC].
  3446. (gregset_t): Define using __NGREG.
  3447. (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
  3448. [__USE_MISC].
  3449. (fpregset_t): Define using __NFPREG.
  3450. * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
  3451. __NGREG and define NGREG to __NGREG if [__USE_MISC].
  3452. (gregset_t): Define using __NGREG.
  3453. (__ctx): New macro.
  3454. (fpregset_t): Use __ctx in defining fields.
  3455. (mcontext_t): Likewise.
  3456. * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
  3457. __NGREG and define NGREG to __NGREG if [__USE_MISC].
  3458. (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
  3459. [__USE_MISC].
  3460. (gregset_t): Define using __NGREG.
  3461. (__ctx): New macro.
  3462. (fpregset_t): Use __ctx in defining fields.
  3463. (mcontext_t): Likewise.
  3464. * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
  3465. (mcontext_t): Use __ctx in defining fields.
  3466. * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
  3467. macro.
  3468. [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
  3469. __NGREG if [__USE_MISC].
  3470. [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
  3471. [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
  3472. (mcontext_t): Likewise.
  3473. [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
  3474. __NGREG if [__USE_MISC].
  3475. [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
  3476. to __NFPREG if [__USE_MISC].
  3477. [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
  3478. to __NVRREG if [__USE_MISC].
  3479. [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
  3480. [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
  3481. [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
  3482. [__WORDSIZE != 32] (vrregset_t): Likewise.
  3483. [__WORDSIZE != 32] (mcontext_t): Likewise.
  3484. * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
  3485. (__psw_t): Use __ctx in defining fields.
  3486. (NGREG): Rename to __NGREG and define NGREG to __NGREG if
  3487. [__USE_MISC].
  3488. (gregset_t): Define using __NGREG.
  3489. (fpreg_t): Use __ctx in defining fields.
  3490. (fpregset_t): Likewise.
  3491. (mcontext_t): Likewise.
  3492. * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
  3493. __NGREG and define NGREG to __NGREG if [__USE_MISC].
  3494. (gregset_t): Define using __NGREG.
  3495. (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
  3496. [__USE_MISC].
  3497. (fpregset_t): Define using __NFPREG.
  3498. (__ctx): New macro.
  3499. (mcontext_t): Use __ctx in defining fields.
  3500. * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
  3501. [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
  3502. __NGREG if [__USE_MISC].
  3503. [__x86_64__] (gregset_t): Define using __NGREG.
  3504. [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
  3505. [__x86_64__] (struct _libc_fpstate): Likewise.
  3506. [__x86_64__] (mcontext_t): Likewise.
  3507. [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
  3508. __NGREG if [__USE_MISC].
  3509. [!__x86_64__] (gregset_t): Define using __NGREG.
  3510. [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
  3511. [!__x86_64__] (struct _libc_fpstate): Likewise.
  3512. [!__x86_64__] (mcontext_t): Likewise.
  3513. 2017-06-01 Zack Weinberg <zackw@panix.com>
  3514. * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
  3515. alpha/pt-vfork.S. Provide own compat shim for vfork and __vfork.
  3516. * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
  3517. * sysdeps/unix/sysv/linux/microblaze/localplt.data:
  3518. libpthread.so no longer references __errno_location.
  3519. 2017-05-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  3520. * NEWS: Add note about pwritev2 and preadv2 inclusion.
  3521. * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
  3522. pwritev64v2.
  3523. (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
  3524. * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
  3525. pwritev64v2.
  3526. * misc/preadv2.c: New file.
  3527. * misc/preadv64v2.c: Likewise.
  3528. * misc/pwritev2.c: Likewise.
  3529. * misc/pwritev64v2.c: Likewise.
  3530. * misc/tst-preadvwritev2.c: Likewise.
  3531. * misc/tst-preadvwritev64v2.c: Likewise.
  3532. * manual/llio.texi: Add preadv2 and pwritev2 documentation.
  3533. * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
  3534. prototype.
  3535. [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
  3536. [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
  3537. [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
  3538. * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
  3539. (PWRITEV): Likewise.
  3540. (do_test_with_offset): Use PREADV and PWRITEV macros and check for
  3541. ENOSYS.
  3542. * nptl/tst-cancel4.c (tf_pwritev2): New test.
  3543. (tf_preadv2): Likewise.
  3544. (tf_fsync): Add tf_pwritev2 and tf_preadv2.
  3545. * sysdeps/posix/preadv2.c: Likewise.
  3546. * sysdeps/posix/preadv64v2.c: Likewise.
  3547. * sysdeps/posix/pwritev2.c: Likewise.
  3548. * sysdeps/posix/pwritev64v2.c: Likewise.
  3549. * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
  3550. support in kernel.
  3551. * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
  3552. * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
  3553. * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
  3554. * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
  3555. * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
  3556. * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
  3557. * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
  3558. * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
  3559. * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
  3560. support flags on Linux.
  3561. * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
  3562. preadv2, preadv64v2, pwritev2, pwritev64v2.
  3563. * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
  3564. * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
  3565. * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
  3566. * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
  3567. * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
  3568. * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
  3569. Likewise.
  3570. * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
  3571. Likewise.
  3572. * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
  3573. Likewise.
  3574. * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
  3575. Likewise.
  3576. * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
  3577. Likewise.
  3578. * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
  3579. Likewise.
  3580. * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
  3581. Likewise.
  3582. * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
  3583. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
  3584. (GLIBC_2.26): Likewise.
  3585. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
  3586. (GLIBC_2.26): Likewise.
  3587. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
  3588. Likewise.
  3589. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
  3590. (GLIBC_2.26): Likewise.
  3591. * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
  3592. Likewise.
  3593. * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
  3594. Likewise.
  3595. * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
  3596. * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
  3597. Likewise.
  3598. * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
  3599. Likewise.
  3600. * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
  3601. Likewise.
  3602. * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
  3603. Likewise.
  3604. * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
  3605. Likewise.
  3606. * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
  3607. Likewise.
  3608. * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
  3609. Likewise.
  3610. 2017-05-31 Andreas Schwab <schwab@suse.de>
  3611. * nptl/tst-fork3.c: Include <support/test-driver.c>.
  3612. (main): Rename to do_test and make static.
  3613. 2017-05-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
  3614. * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
  3615. ARCH_INIT_CPU_FEATURES.
  3616. (LIBC_START_MAIN): Call it.
  3617. * sysdeps/unix/sysv/linux/aarch64/libc-start.c
  3618. (__libc_start_main): Remove.
  3619. (ARCH_INIT_CPU_FEATURES): New macro.
  3620. * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
  3621. (ARCH_INIT_CPU_FEATURES): New macro.
  3622. 2017-05-30 Dennis Wölfing <denniswoelfing@gmx.de>
  3623. Rüdiger Sonderfeld <ruediger@c-plusplus.de>
  3624. * include/stdlib.h (__libc_reallocarray): New declaration.
  3625. * malloc/Makefile (routines): Add reallocarray.
  3626. (tests): Add tst-reallocarray.c.
  3627. * malloc/Versions: Add reallocarray and __libc_reallocarray.
  3628. * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
  3629. function.
  3630. * malloc/malloc.h (reallocarray): New declaration.
  3631. * stdlib/stdlib.h (reallocarray): Likewise.
  3632. * malloc/reallocarray.c: New file.
  3633. * malloc/tst-reallocarray.c: New test file.
  3634. * manual/memory.texi: Document reallocarray.
  3635. * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
  3636. * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
  3637. * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
  3638. * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
  3639. * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
  3640. * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
  3641. * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
  3642. * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
  3643. * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
  3644. * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
  3645. * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
  3646. * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
  3647. * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
  3648. * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
  3649. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
  3650. Likewise.
  3651. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
  3652. Likewise.
  3653. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
  3654. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
  3655. * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
  3656. * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
  3657. * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
  3658. * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
  3659. * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
  3660. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
  3661. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
  3662. * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
  3663. * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
  3664. * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
  3665. 2017-05-30 H.J. Lu <hongjiu.lu@intel.com>
  3666. * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
  3667. the lower 32 bits.
  3668. 2017-05-29 Andreas Schwab <schwab@linux-m68k.org>
  3669. * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
  3670. $(build-pie-default) = yes]: Define.
  3671. 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
  3672. * string/test-memchr.c (test_main): Add tests for n == 0.
  3673. 2017-05-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  3674. * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
  3675. nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
  3676. (tests-internal): ... here.
  3677. 2017-05-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
  3678. H.J. Lu <hongjiu.lu@intel.com>
  3679. * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
  3680. * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
  3681. (__tunable_set_val): Likewise.
  3682. 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
  3683. * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
  3684. dl-tunables.list in subdirectories.
  3685. 2017-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  3686. Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  3687. Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  3688. * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
  3689. (SNANF128): New macro.
  3690. * math/e_sqrtf128.c: New file.
  3691. * math/s_fmaxmag_template.c: Include math_private.h in order to
  3692. make inline expansion of fabs128().
  3693. * math/s_fminmag_template.c: Likewise.
  3694. * sysdeps/ieee754/float128/e_acosf128.c: New file.
  3695. * sysdeps/ieee754/float128/e_acoshf128.c: New file.
  3696. * sysdeps/ieee754/float128/e_asinf128.c: New file.
  3697. * sysdeps/ieee754/float128/e_atan2f128.c: New file.
  3698. * sysdeps/ieee754/float128/e_atanhf128.c: New file.
  3699. * sysdeps/ieee754/float128/e_coshf128.c: New file.
  3700. * sysdeps/ieee754/float128/e_exp10f128.c: New file.
  3701. * sysdeps/ieee754/float128/e_expf128.c: New file.
  3702. * sysdeps/ieee754/float128/e_fmodf128.c: New file.
  3703. * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
  3704. * sysdeps/ieee754/float128/e_hypotf128.c: New file.
  3705. * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
  3706. * sysdeps/ieee754/float128/e_j0f128.c: New file.
  3707. * sysdeps/ieee754/float128/e_j1f128.c: New file.
  3708. * sysdeps/ieee754/float128/e_jnf128.c: New file.
  3709. * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
  3710. * sysdeps/ieee754/float128/e_log10f128.c: New file.
  3711. * sysdeps/ieee754/float128/e_log2f128.c: New file.
  3712. * sysdeps/ieee754/float128/e_logf128.c: New file.
  3713. * sysdeps/ieee754/float128/e_powf128.c: New file.
  3714. * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
  3715. * sysdeps/ieee754/float128/e_remainderf128.c: New file.
  3716. * sysdeps/ieee754/float128/e_scalbf128.c: New file.
  3717. * sysdeps/ieee754/float128/e_sinhf128.c: New file.
  3718. * sysdeps/ieee754/float128/float128_private.h: New file.
  3719. * sysdeps/ieee754/float128/gamma_productf128.c: New file.
  3720. * sysdeps/ieee754/float128/ieee754_float128.h: New file.
  3721. * sysdeps/ieee754/float128/k_cosf128.c: New file.
  3722. * sysdeps/ieee754/float128/k_sincosf128.c: New file.
  3723. * sysdeps/ieee754/float128/k_sinf128.c: New file.
  3724. * sysdeps/ieee754/float128/k_tanf128.c: New file.
  3725. * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
  3726. * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
  3727. * sysdeps/ieee754/float128/s_asinhf128.c: New file.
  3728. * sysdeps/ieee754/float128/s_atanf128.c: New file.
  3729. * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
  3730. * sysdeps/ieee754/float128/s_ceilf128.c: New file.
  3731. * sysdeps/ieee754/float128/s_copysignf128.c: New file.
  3732. * sysdeps/ieee754/float128/s_cosf128.c: New file.
  3733. * sysdeps/ieee754/float128/s_erff128.c: New file.
  3734. * sysdeps/ieee754/float128/s_expm1f128.c: New file.
  3735. * sysdeps/ieee754/float128/s_fabsf128.c: New file.
  3736. * sysdeps/ieee754/float128/s_finitef128.c: New file.
  3737. * sysdeps/ieee754/float128/s_floorf128.c: New file.
  3738. * sysdeps/ieee754/float128/s_fmaf128.c: New file.
  3739. * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
  3740. * sysdeps/ieee754/float128/s_frexpf128.c: New file.
  3741. * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
  3742. * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
  3743. * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
  3744. * sysdeps/ieee754/float128/s_isinff128.c: New file.
  3745. * sysdeps/ieee754/float128/s_isnanf128.c: New file.
  3746. * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
  3747. * sysdeps/ieee754/float128/s_llrintf128.c: New file.
  3748. * sysdeps/ieee754/float128/s_llroundf128.c: New file.
  3749. * sysdeps/ieee754/float128/s_log1pf128.c: New file.
  3750. * sysdeps/ieee754/float128/s_logbf128.c: New file.
  3751. * sysdeps/ieee754/float128/s_lrintf128.c: New file.
  3752. * sysdeps/ieee754/float128/s_lroundf128.c: New file.
  3753. * sysdeps/ieee754/float128/s_modff128.c: New file.
  3754. * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
  3755. * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
  3756. * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
  3757. * sysdeps/ieee754/float128/s_nextupf128.c: New file.
  3758. * sysdeps/ieee754/float128/s_remquof128.c: New file.
  3759. * sysdeps/ieee754/float128/s_rintf128.c: New file.
  3760. * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
  3761. * sysdeps/ieee754/float128/s_roundf128.c: New file.
  3762. * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
  3763. * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
  3764. * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
  3765. * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
  3766. * sysdeps/ieee754/float128/s_signbitf128.c: New file.
  3767. * sysdeps/ieee754/float128/s_significandf128.c: New file.
  3768. * sysdeps/ieee754/float128/s_sincosf128.c: New file.
  3769. * sysdeps/ieee754/float128/s_sinf128.c: New file.
  3770. * sysdeps/ieee754/float128/s_tanf128.c: New file.
  3771. * sysdeps/ieee754/float128/s_tanhf128.c: New file.
  3772. * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
  3773. * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
  3774. * sysdeps/ieee754/float128/s_truncf128.c: New file.
  3775. * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
  3776. * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
  3777. * sysdeps/ieee754/float128/t_sincosf128.c: New file.
  3778. * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
  3779. * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
  3780. (__iscanonicalf128): Define as a macro.
  3781. 2017-05-24 Steve Ellcey <sellcey@caviumnetworks.com>
  3782. * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
  3783. (memmove): Use MEMMOVE for name.
  3784. (memcpy): Use MEMCPY for name. Change internal labels
  3785. to external labels.
  3786. * sysdeps/aarch64/multiarch/Makefile: New file.
  3787. * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
  3788. * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
  3789. * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
  3790. * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
  3791. * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
  3792. * sysdeps/aarch64/multiarch/memmove.c: Likewise.
  3793. 2017-05-24 Siddhesh Poyarekar <siddhesh@sourceware.org>
  3794. * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
  3795. (_dl_arm_cap_flags): Fix array subscript.
  3796. * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
  3797. Fix count.
  3798. 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
  3799. * sysdeps/x86/cacheinfo.c: Skip if not in libc.
  3800. 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
  3801. * sysdeps/x86/cacheinfo.c (is_intel): Removed.
  3802. (is_amd): Likewise.
  3803. (max_cpuid): Likewise.
  3804. (__cache_sysconf): Use __get_cpu_features to get cpu_features.
  3805. (init_cacheinfo): Likewise.
  3806. 2017-05-23 Joseph Myers <joseph@codesourcery.com>
  3807. [BZ #21511]
  3808. * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
  3809. [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
  3810. (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
  3811. !__USE_XOPEN2K) || __USE_MISC].
  3812. * conform/data/signal.h-data (struct sigstack): Expect type only
  3813. if [!XOPEN2K8 && !POSIX2008].
  3814. (sigstack): Expect function only if [XPG42 || UNIX98].
  3815. [BZ #21457]
  3816. * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
  3817. <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
  3818. <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
  3819. <bits/types/__sigset_t.h>.
  3820. (ucontext_t): Use sigset_t instead of __sigset_t.
  3821. * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
  3822. <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
  3823. <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
  3824. <bits/types/__sigset_t.h>.
  3825. (ucontext_t): Use sigset_t instead of __sigset_t.
  3826. * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
  3827. <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
  3828. <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
  3829. <bits/types/__sigset_t.h>.
  3830. (ucontext_t): Use sigset_t instead of __sigset_t.
  3831. * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
  3832. <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
  3833. <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
  3834. <bits/types/__sigset_t.h>.
  3835. (ucontext_t): Use sigset_t instead of __sigset_t.
  3836. * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
  3837. <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
  3838. <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
  3839. <bits/types/__sigset_t.h>.
  3840. (ucontext_t): Use sigset_t instead of __sigset_t.
  3841. * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
  3842. <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
  3843. <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
  3844. <bits/types/__sigset_t.h>.
  3845. (ucontext_t): Use sigset_t instead of __sigset_t.
  3846. * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
  3847. <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
  3848. <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
  3849. <bits/types/__sigset_t.h>.
  3850. (ucontext_t): Use sigset_t instead of __sigset_t.
  3851. * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
  3852. <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
  3853. <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
  3854. <bits/types/__sigset_t.h>.
  3855. (ucontext_t): Use sigset_t instead of __sigset_t.
  3856. * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
  3857. <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
  3858. <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
  3859. <bits/types/__sigset_t.h>.
  3860. (ucontext_t): Use sigset_t instead of __sigset_t.
  3861. * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
  3862. <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
  3863. <bits/ss_flags.h>. Include <bits/types/sigset_t.h>.
  3864. * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
  3865. <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
  3866. <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
  3867. <bits/types/__sigset_t.h>.
  3868. (ucontext_t): Use sigset_t instead of __sigset_t.
  3869. * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
  3870. <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
  3871. <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
  3872. <bits/types/__sigset_t.h>.
  3873. (ucontext_t): Use sigset_t instead of __sigset_t.
  3874. * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
  3875. <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
  3876. <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
  3877. <bits/types/__sigset_t.h>.
  3878. (ucontext_t): Use sigset_t instead of __sigset_t.
  3879. * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
  3880. <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
  3881. <bits/ss_flags.h>.
  3882. * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
  3883. <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
  3884. <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
  3885. <bits/types/__sigset_t.h>.
  3886. (ucontext_t): Use sigset_t instead of __sigset_t.
  3887. * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
  3888. <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
  3889. <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
  3890. <bits/types/__sigset_t.h>.
  3891. (ucontext_t): Use sigset_t instead of __sigset_t.
  3892. * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
  3893. <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
  3894. <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
  3895. <bits/types/__sigset_t.h>.
  3896. (ucontext_t): Use sigset_t instead of __sigset_t.
  3897. * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
  3898. <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
  3899. <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
  3900. <bits/types/__sigset_t.h>.
  3901. (ucontext_t): Use sigset_t instead of __sigset_t.
  3902. * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
  3903. <bits/types.h>.
  3904. * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
  3905. <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
  3906. <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
  3907. <bits/types/__sigset_t.h>.
  3908. (ucontext_t): Use sigset_t instead of __sigset_t.
  3909. 2017-05-22 Zack Weinberg <zackw@panix.com>
  3910. * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
  3911. (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
  3912. bits/siginfo-arch.h, only if not already defined.
  3913. * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
  3914. (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
  3915. (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
  3916. Likewise.
  3917. * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
  3918. * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
  3919. * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
  3920. * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
  3921. * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
  3922. Unconditionally define __SI_* macros.
  3923. 2017-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  3924. [BZ #21393]
  3925. * libio/freopen.c (freopen): Avoid dup already opened file descriptor
  3926. and add a check for dup3 failure.
  3927. * libio/freopen64.c (freopen64): Likewise.
  3928. * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
  3929. libsupport.
  3930. (do_test_bz21398): New test.
  3931. * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
  3932. 2017-05-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
  3933. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
  3934. Remove invalid comment.
  3935. 2017-05-21 Zack Weinberg <zackw@panix.com>
  3936. * signal/Makefile (headers): Add bits/types/sigval_t.h.
  3937. 2017-05-20 Zack Weinberg <zackw@panix.com>
  3938. * bits/sigevent-consts.h
  3939. * bits/siginfo-consts.h
  3940. * bits/types/__sigset_t.h
  3941. * bits/types/sigevent_t.h
  3942. * bits/types/siginfo_t.h
  3943. * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
  3944. * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
  3945. * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
  3946. * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
  3947. * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
  3948. New system-dependent bits headers.
  3949. * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
  3950. * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
  3951. * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
  3952. * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
  3953. * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
  3954. * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
  3955. * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
  3956. * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
  3957. * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
  3958. New Linux-only system-dependent bits headers.
  3959. * signal/bits/types/sig_atomic_t.h
  3960. * signal/bits/types/sigset_t.h
  3961. * signal/bits/types/sigval_t.h:
  3962. New non-system-dependent bits headers.
  3963. * sysdeps/generic/sigsetops.h
  3964. * sysdeps/unix/sysv/linux/sigsetops.h:
  3965. New internal headers.
  3966. * include/bits/types/sig_atomic_t.h
  3967. * include/bits/types/sigset_t.h
  3968. * include/bits/types/sigval_t.h:
  3969. New wrappers.
  3970. * signal/sigsetops.h
  3971. * bits/siginfo.h
  3972. * bits/sigset.h
  3973. * sysdeps/unix/sysv/linux/bits/siginfo.h
  3974. * sysdeps/unix/sysv/linux/bits/sigset.h
  3975. * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
  3976. * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
  3977. * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
  3978. * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
  3979. * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
  3980. * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
  3981. Deleted.
  3982. * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
  3983. Update lists of installed headers.
  3984. * posix/bits/types.h: Define __sig_atomic_t here.
  3985. * signal/signal.h: Use the new bits headers; no need to handle
  3986. __need_sig_atomic_t nor __need_sigset_t. Don't use __sigmask
  3987. to define sigmask.
  3988. * include/signal.h: No need to handle __need_sig_atomic_t
  3989. nor __need_sigset_t. Don't define __sigemptyset.
  3990. * io/sys/poll.h, setjmp/setjmp.h
  3991. * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
  3992. * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
  3993. * sysdeps/mach/hurd/i386/bits/sigcontext.h
  3994. * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
  3995. * sysdeps/pthread/bits/sigthread.h
  3996. * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
  3997. * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
  3998. * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
  3999. * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
  4000. * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
  4001. * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
  4002. * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
  4003. * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
  4004. * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
  4005. * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
  4006. Use bits/types/__sigset_t.h.
  4007. * misc/sys/select.h, posix/spawn.h
  4008. * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
  4009. * sysdeps/unix/sysv/linux/sys/epoll.h
  4010. * sysdeps/unix/sysv/linux/sys/signalfd.h:
  4011. Use bits/types/sigset_t.h.
  4012. * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
  4013. * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
  4014. * socket/sys/socket.h: Don't include bits/sigset.h.
  4015. * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
  4016. * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
  4017. * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
  4018. * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
  4019. * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
  4020. * sysdeps/unix/sysv/linux/nptl-signals.h:
  4021. Include sigsetops.h.
  4022. * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
  4023. * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
  4024. * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
  4025. __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
  4026. now return no value.
  4027. * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
  4028. Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
  4029. "sigsetops.h".
  4030. * signal/sigsetops.c: Explicitly define __sigismember,
  4031. __sigaddset, and __sigdelset as compatibility symbols.
  4032. * signal/Versions: Correct commentary on __sigpause,
  4033. __sigaddset, __sigdelset, __sigismember.
  4034. * inet/rcmd.c: Include sigsetops.h. Convert old code using
  4035. __sigblock/__sigsetmask to use __sigprocmask and friends.
  4036. * resolv/resolv.h: Remove __need_res_state logic.
  4037. Move definition of res_state and related constants to ...
  4038. * resolv/bits/types/res_state.h: ...this new file.
  4039. * resolv/Makefile: Install bits/types/res_state.h.
  4040. * include/bits/types/res_state.h: New wrapper.
  4041. * include/list.h: Remove __need_list_t logic.
  4042. Move definition of list_t to ...
  4043. * include/list_t.h: ...this new file.
  4044. * nptl/descr.h: Include list_t.h and bits/types/res_state.h
  4045. instead of list.h and resolv.h.
  4046. * resolv/resolv.h: Remove __need_res_state logic.
  4047. Move definition of res_state and related constants to ...
  4048. * resolv/bits/types/res_state.h: ...this new file.
  4049. * resolv/Makefile: Install bits/types/res_state.h.
  4050. * include/bits/types/res_state.h: New wrapper.
  4051. * include/list.h: Remove __need_list_t logic.
  4052. Move definition of list_t to ...
  4053. * include/list_t.h: ...this new file.
  4054. * nptl/descr.h: Include list_t.h and bits/types/res_state.h
  4055. instead of list.h and resolv.h.
  4056. 2017-05-20 H.J. Lu <hongjiu.lu@intel.com>
  4057. * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
  4058. 2017-05-20 Zack Weinberg <zackw@panix.com>
  4059. * sysdeps/arm/sysdep.h
  4060. (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
  4061. * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
  4062. * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
  4063. * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
  4064. * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
  4065. * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
  4066. * sysdeps/arm/armv6t2/strlen.S
  4067. * sysdeps/arm/armv7/multiarch/memcpy_impl.S
  4068. * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
  4069. * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
  4070. * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
  4071. * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
  4072. Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
  4073. 2017-05-20 Zack Weinberg <zackw@panix.com>
  4074. Remove the NaCl port.
  4075. * sysdeps/arm/nacl: Remove directory and contents.
  4076. * sysdeps/nacl: Remove directory and contents.
  4077. * abi-tags: Remove .*-.*-nacl.* entry.
  4078. 2017-05-19 Rical Jasan <ricaljasan@pacific.net>
  4079. * manual/errno.texi: Convert @comment-based errno documentation to
  4080. @errno.
  4081. * manual/macros.texi (@errno): New macro. Consolidate errors,
  4082. their values, and messages, adding the error string to the Concept
  4083. Index. Provide a warning in the comment about external (to the
  4084. manual) dependencies.
  4085. * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
  4086. * sysdeps/mach/hurd/errnos.awk: Likewise.
  4087. 2017-05-19 Joseph Myers <joseph@codesourcery.com>
  4088. * bits/ss_flags.h: New file.
  4089. * bits/types/stack_t.h: Likewise.
  4090. * include/bits/types/struct_sigstack.h: Likewise.
  4091. * signal/bits/types/struct_sigstack.h: Likewise.
  4092. * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
  4093. * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
  4094. * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
  4095. * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
  4096. bits/types/stack_t.h and bits/ss_flags.h.
  4097. * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
  4098. Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
  4099. <bits/ss_flags.h>.
  4100. * bits/sigstack.h (struct sigstack): Remove.
  4101. (stack_t): Likewise.
  4102. (SS_ONSTACK): Likewise.
  4103. (SS_DISABLE): Likewise.
  4104. * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
  4105. (struct sigstack): Likewise.
  4106. (stack_t): Likewise.
  4107. (SS_ONSTACK): Likewise.
  4108. (SS_DISABLE): Likewise.
  4109. * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
  4110. Likewise.
  4111. (stack_t): Likewise.
  4112. (SS_ONSTACK): Likewise.
  4113. (SS_DISABLE): Likewise.
  4114. * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
  4115. Likewise.
  4116. (stack_t): Likewise.
  4117. (SS_ONSTACK): Likewise.
  4118. (SS_DISABLE): Likewise.
  4119. * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
  4120. * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
  4121. Likewise.
  4122. (stack_t): Likewise.
  4123. (SS_ONSTACK): Likewise.
  4124. (SS_DISABLE): Likewise.
  4125. * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
  4126. (struct sigstack): Likewise.
  4127. (stack_t): Likewise.
  4128. (SS_ONSTACK): Likewise.
  4129. (SS_DISABLE): Likewise.
  4130. * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
  4131. Likewise.
  4132. (stack_t): Likewise.
  4133. (SS_ONSTACK): Likewise.
  4134. (SS_DISABLE): Likewise.
  4135. * sysdeps/arm/sys/ucontext.h: Include
  4136. <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
  4137. <bits/ss_flags.h>.
  4138. * sysdeps/generic/sys/ucontext.h: Likewise.
  4139. * sysdeps/i386/sys/ucontext.h: Likewise.
  4140. * sysdeps/m68k/sys/ucontext.h: Likewise.
  4141. * sysdeps/mips/sys/ucontext.h: Likewise.
  4142. * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
  4143. * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
  4144. * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
  4145. * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
  4146. * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
  4147. * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
  4148. * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
  4149. * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
  4150. * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
  4151. * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
  4152. * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
  4153. * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
  4154. * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
  4155. * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
  4156. * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
  4157. 2017-05-19 H.J. Lu <hongjiu.lu@intel.com>
  4158. * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
  4159. "edx + ecx - 16" to avoid possible addition overflow.
  4160. * sysdeps/x86_64/memchr.S (memchr): Likewise.
  4161. 2017-05-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  4162. * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
  4163. (CFLAGS-splice.c): Likewise.
  4164. (CFLAGS-open_by_handle_at.c): Likewise.
  4165. * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
  4166. (CFLAGS-splice.c): Likewise.
  4167. (CFLAGS-open_by_handle_at.c): Likewise.
  4168. 2017-05-19 Joseph Myers <joseph@codesourcery.com>
  4169. * scripts/versions.awk: Generate ldbl-compat-choose.h.
  4170. * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
  4171. <ldbl-compat-choose.h>.
  4172. (maybe_long_double_symbol): New macro.
  4173. [!declare_mgen_alias] (declare_mgen_alias): Use
  4174. maybe_long_double_symbol.
  4175. * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
  4176. * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
  4177. * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
  4178. * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
  4179. * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
  4180. * Makerules [$(build-shared) = yes && !avoid-generated]
  4181. (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
  4182. [$(build-shared) = yes && !avoid-generated]
  4183. ($(common-objpfx)ldbl-compat-choose.h): New target.
  4184. * scripts/versions.awk: Generate first-versions.h.
  4185. * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
  4186. <first-versions.h>.
  4187. (LDOUBLE_cabsl_libm_version): Remove macro.
  4188. (LDOUBLE_cargl_libm_version): Likewise.
  4189. (LDOUBLE_cimagl_libm_version): Likewise.
  4190. (LDOUBLE_conjl_libm_version): Likewise.
  4191. (LDOUBLE_creall_libm_version): Likewise.
  4192. (LDOUBLE_cacosl_libm_version): Likewise.
  4193. (LDOUBLE_cacoshl_libm_version): Likewise.
  4194. (LDOUBLE_ccosl_libm_version): Likewise.
  4195. (LDOUBLE_ccoshl_libm_version): Likewise.
  4196. (LDOUBLE_casinl_libm_version): Likewise.
  4197. (LDOUBLE_csinl_libm_version): Likewise.
  4198. (LDOUBLE_casinhl_libm_version): Likewise.
  4199. (LDOUBLE_csinhl_libm_version): Likewise.
  4200. (LDOUBLE_catanl_libm_version): Likewise.
  4201. (LDOUBLE_catanhl_libm_version): Likewise.
  4202. (LDOUBLE_ctanl_libm_version): Likewise.
  4203. (LDOUBLE_ctanhl_libm_version): Likewise.
  4204. (LDOUBLE_cexpl_libm_version): Likewise.
  4205. (LDOUBLE_clogl_libm_version): Likewise.
  4206. (LDOUBLE_cprojl_libm_version): Likewise.
  4207. (LDOUBLE_csqrtl_libm_version): Likewise.
  4208. (LDOUBLE_cpowl_libm_version): Likewise.
  4209. (LDOUBLE_clog10l_libm_version): Likewise.
  4210. (LDOUBLE___clog10l_libm_version): Likewise.
  4211. (LDOUBLE_fdiml_libm_version): Likewise.
  4212. (LDOUBLE_fmaxl_libm_version): Likewise.
  4213. (LDOUBLE_fminl_libm_version): Likewise.
  4214. (LDOUBLE_ilogbl_libm_version): Likewise.
  4215. (LDOUBLE_nanl_libm_version): Likewise.
  4216. [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
  4217. FIRST_VERSION_libm_* macros.
  4218. [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
  4219. * Makerules [$(build-shared) = yes && !avoid-generated]
  4220. (before-compile): Add $(common-objpfx)first-versions.h.
  4221. [$(build-shared) = yes && !avoid-generated]
  4222. ($(common-objpfx)first-versions.h): New target.
  4223. ($(common-objpfx)sysd-versions): Depend on and change to rule for
  4224. building $(common-objpfx)versions.stmp.
  4225. 2017-05-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  4226. * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
  4227. * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
  4228. * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
  4229. auto-generation list.
  4230. * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
  4231. * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
  4232. * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
  4233. from auto-generation list.
  4234. * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
  4235. open_by_handle_at.
  4236. (CFLAGS-open_by_handle_at.c): New flag.
  4237. * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
  4238. * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
  4239. file.
  4240. * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
  4241. * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
  4242. (CFLAGS-splice.c): New flag.
  4243. * sysdeps/unix/sysv/linux/splice.c: New file.
  4244. * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
  4245. auto-generation syscall list.
  4246. * misc/Makefile (CFLAGS-splice.c): New rule.
  4247. * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
  4248. * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
  4249. auto-generation syscall list.
  4250. * sysdeps/unix/sysv/linux/vmsplice.c: New file.
  4251. * misc/Makefile (CFLAGS-vmsplice.c): New rule.
  4252. * misc/Makefile (CFLAGS-fsync.c): New flag.
  4253. * nptl/Makefile (CFLAGS-fsync.c): Likewise.
  4254. * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
  4255. syscall list.
  4256. * sysdeps/unix/sysv/linux/fsync.c: New file.
  4257. * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
  4258. (__errno_location): Remove.
  4259. * misc/Makefile (CFLAGS-fdatasync.c): New rule.
  4260. * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
  4261. * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
  4262. list.
  4263. * sysdeps/unix/sysv/linux/fdatasync.c: New file.
  4264. * misc/Makefile (CFLAGS-msync.c): New rule.
  4265. * nptl/Makefile (CFLAGS-msync.c): Likewise.
  4266. * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
  4267. * sysdeps/unix/sysv/linux/msync.c: New file.
  4268. * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
  4269. * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
  4270. * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
  4271. * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
  4272. (CFLAGS-sigsuspend.c): Remove rule.
  4273. * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
  4274. (CFLAGS-tee.c): New rule.
  4275. * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
  4276. auto-generated list.
  4277. * sysdeps/unix/sysv/linux/tee.c: New file.
  4278. * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
  4279. * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
  4280. * sysdeps/unix/sysv/linux/nanosleep.c: New file.
  4281. * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
  4282. auto-generated list.
  4283. * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
  4284. auto-generated list.
  4285. * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
  4286. * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
  4287. * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
  4288. * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
  4289. * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
  4290. * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
  4291. * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
  4292. * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
  4293. (__NR_pause): Undefine.
  4294. * sysdeps/unix/sysv/linux/pause.c: New file.
  4295. * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
  4296. auto-generation list.
  4297. * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
  4298. Remove rule.
  4299. * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
  4300. 2017-05-18 H.J. Lu <hongjiu.lu@intel.com>
  4301. * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
  4302. comments.
  4303. 2017-05-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
  4304. * elf/Makefile (tst-env-setuid-ENV): Reduce value of
  4305. LD_HWCAP_MASK.
  4306. 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
  4307. * manual/conf.texi: Convert @tables of annotated @items to
  4308. @vtables.
  4309. * manual/lang.texi: Likewise.
  4310. * manual/pattern.texi: Likewise.
  4311. * manual/resource.texi: Likewise.
  4312. * manual/socket.texi: Likewise.
  4313. 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
  4314. * manual/crypt.texi: Move a comment out of an @*x list.
  4315. * manual/filesys.texi: Refactor some comments, one of which looks
  4316. like a standard. Fix incorrectly separated standards.
  4317. * manual/locale.texi: Invert an annotation.
  4318. * manual/resource.texi: Fix incorrectly separated standards.
  4319. * manual/time.texi: Refactor a @vtable that obscures an
  4320. annotation.
  4321. * manual/users.texi: Refactor multiple headers to occupy a single
  4322. @comment.
  4323. 2017-05-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  4324. * sysdeps/powerpc/powerpc64/multiarch/Makefile
  4325. (sysdep_routines): Add memcmp-power8.
  4326. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  4327. (memcmp): Add __memcmp_power8 to list of memcmp functions.
  4328. * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
  4329. (memcmp): Add __memcmp_power8 to ifunc list.
  4330. * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
  4331. * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
  4332. 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  4333. Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  4334. * math/math.h (__MATH_TG): Extend the conditions to add
  4335. _Float128 support.
  4336. * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
  4337. 2017-05-17 Paul A. Clarke <pc@us.ibm.com>
  4338. * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
  4339. [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
  4340. s_cosf-ppc64.
  4341. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
  4342. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
  4343. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
  4344. * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
  4345. 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  4346. * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
  4347. (gen-libm-calls): Add e_exp2F to use the template.
  4348. * math/e_exp2l.c: Rename to math/e_exp2_template.c.
  4349. * math/e_exp2_template.c: New file, renamed from
  4350. math/e_exp2l.c, and made into a template.
  4351. * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
  4352. 2017-05-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
  4353. * elf/dl-tunable-types.h (tunable_type_code_t): New type
  4354. TUNABLE_TYPE_UINT_64.
  4355. * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
  4356. Simplify computation of overflow.
  4357. (tunable_set_val_if_valid_range_signed,
  4358. tunable_set_val_if_valid_range_unsigned): Remove and replace
  4359. with this...
  4360. (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
  4361. (tunable_initialize): Adjust. Add uint64_t support.
  4362. (__tunable_set_val): Add uint64_t support.
  4363. * README.tunables: Document it.
  4364. * scripts/gen-tunables.awk: Recognize 'default' keyword in
  4365. dl-tunables.list.
  4366. * README.tunables: Document it.
  4367. 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  4368. * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
  4369. * sysdeps/posix/preadv64.c: Likewise.
  4370. * sysdeps/unix/sysv/linux/preadv.c: Likewise.
  4371. * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
  4372. * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
  4373. * sysdeps/posix/pwritev64.c: Likewise.
  4374. * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
  4375. * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
  4376. * sysdeps/posix/preadv_common.c: New file.
  4377. * sysdeps/posix/pwritev_common.c: Likewise.
  4378. 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  4379. * sysdeps/generic/math-type-macros-float128.h
  4380. (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
  4381. wrapper templates.
  4382. 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  4383. Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  4384. * include/complex.h (__kernel_casinhf128): New declaration.
  4385. * include/float.h: New file.
  4386. * include/math.h (__finitef128): Add a hidden def.
  4387. (__isinff128): Likewise.
  4388. (__isnanf128): Likewise.
  4389. (__fpclassify): Likewise.
  4390. (__issignalling): Likewise.
  4391. (__expf128): Likewise.
  4392. (__expm1f128): Likewise.
  4393. * sysdeps/generic/fix-fp-int-convert-overflow.h:
  4394. (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
  4395. (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
  4396. * sysdeps/generic/math-type-macros-float128.h: New file.
  4397. * sysdeps/generic/math_private.h: Include bits/floatn.h and
  4398. math_private_calls.h for _Float128.
  4399. (__isinff128): New inline implementation used when GCC < 7.0,
  4400. since in this case __builtin_isinf_sign is broken.
  4401. (fabsf128): New inline implementation that calls the builtin.
  4402. (__EXPR_FLT128): New macro.
  4403. (min_of_type): Optionally include _Float128 types too.
  4404. * sysdeps/generic/math_private_calls.h (__kernel_sincos):
  4405. Declare for _Float128.
  4406. (__kernel_rem_pio2): Likewise.
  4407. * sysdeps/ieee754/ldbl-opt/s_sin.c:
  4408. (__DECL_SIMD_sincos_disablef128): New macro.
  4409. 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  4410. * math/math.h: Include bits/math-finite.h for float128.
  4411. (__MATH_DECLARING_FLOATN): Define to control declaration of
  4412. float128 functions.
  4413. * math/bits/math-finite.h (pow10): Do not declare for float128.
  4414. (gamma): Likewise.
  4415. (scalb): Likewise.
  4416. 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  4417. Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  4418. * bits/floatn.h: New file.
  4419. * bits/huge_val_flt128.h: Likewise.
  4420. * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
  4421. (__DECL_SIMD_sinf128): Likewise.
  4422. (__DECL_SIMD_sincosf128): Likewise.
  4423. (__DECL_SIMD_logf128): Likewise.
  4424. (__DECL_SIMD_expf128): Likewise.
  4425. (__DECL_SIMD_powf128): Likewise.
  4426. * math/Makefile (headers): Install bits/floatn.h and
  4427. bits/huge_val_flt128.h.
  4428. * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
  4429. defined.
  4430. * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
  4431. (isnan, gamma, nexttoward, scalb): Only define if not
  4432. __MATH_DECLARING_FLOATN.
  4433. (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
  4434. (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
  4435. (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
  4436. _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
  4437. * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
  4438. Include bits/cmathcalls.h to get the declarations of _Float128
  4439. versions of complex functions.
  4440. [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
  4441. Define macro.
  4442. * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
  4443. Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
  4444. get the declarations of _Float128 versions of math functions.
  4445. (__MATH_DECLARING_FLOATN): New macro to control declaration of
  4446. _FloatN types.
  4447. [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
  4448. is type-generic, so use it without __MATH_TG.
  4449. [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
  4450. _Float128 type on GCC < 7.0. Explicitly call __isinff128 for
  4451. _Float128 type and GCC < 7.0, otherwise use the builtin.
  4452. [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
  4453. (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
  4454. (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
  4455. New _GNU_SOURCE enabled macros.
  4456. 2017-05-12 Joseph Myers <joseph@codesourcery.com>
  4457. * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
  4458. (signbitf): Likewise.
  4459. * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
  4460. Likewise.
  4461. (signbitl): Likewise.
  4462. * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
  4463. Likewise.
  4464. * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
  4465. (signbitl): Likewise.
  4466. * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
  4467. 2017-05-12 Florian Weimer <fweimer@redhat.com>
  4468. [BZ #21386]
  4469. * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
  4470. parent PID. The assertion in the child is incorrect with PID
  4471. namespaces.
  4472. 2017-05-12 Joseph Myers <joseph@codesourcery.com>
  4473. * sysdeps/unix/sysv/linux/kernel-features.h
  4474. (__ASSUME_STATFS_F_FLAGS): Remove macro.
  4475. * sysdeps/unix/sysv/linux/internal_statvfs.c
  4476. [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
  4477. 2017-05-11 Zack Weinberg <zackw@panix.com>
  4478. * Makerules: New subdir configuration variables 'tests-internal'
  4479. and 'test-internal-extras'. Test files in these categories will
  4480. still be compiled with MODULE_NAME=nonlib. Test files in the
  4481. existing categories (tests, xtests, test-srcs, test-extras) are
  4482. now compiled with MODULE_NAME=testsuite.
  4483. New subdir configuration variable 'modules-names-tests'. Files
  4484. which are in both 'modules-names' and 'modules-names-tests' will
  4485. be compiled with MODULE_NAME=testsuite instead of
  4486. MODULE_NAME=extramodules.
  4487. (gen-as-const-headers): Move to tests-internal.
  4488. (do-tests-clean, common-mostlyclean): Support tests-internal.
  4489. * Makeconfig (built-modules): Add testsuite.
  4490. * Makefile: Change libof-check-installed-headers-c and
  4491. libof-check-installed-headers-cxx to 'testsuite'.
  4492. * Rules: Likewise. Support tests-internal.
  4493. * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
  4494. Remove extra-modules.mk.
  4495. * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
  4496. * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
  4497. PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
  4498. very top of the file and rationalize their order.
  4499. If MODULE_NAME is not defined at all, define IS_IN to always be
  4500. false, and don't define _ISOMAC.
  4501. If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
  4502. true, define _ISOMAC and suppress everything else in this file,
  4503. starting with the inclusion of config.h.
  4504. Do check for inappropriate definitions of __OPTIMIZE__ and
  4505. __FAST_MATH__ here, but only if _ISOMAC is not defined.
  4506. Correct some out-of-date commentary.
  4507. * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
  4508. and _Mlong_double_ before including math.h.
  4509. * include/string.h: If _ISOMAC is defined, don't expose
  4510. _STRING_ARCH_unaligned. Move a comment to a more appropriate
  4511. location.
  4512. * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
  4513. * include/time.h, include/unistd.h, include/wchar.h: No need to
  4514. check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
  4515. * misc/sys/cdefs.h (__NTHNL): New macro.
  4516. * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
  4517. (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
  4518. * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
  4519. defined, for HAVE_TUNABLES.
  4520. * inet/tst-checks-posix.c: No need to define _ISOMAC.
  4521. * intl/tst-gettext2.c: Provide own definition of N_.
  4522. * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
  4523. * math/test-signgam-main.c: No need to define _ISOMAC.
  4524. * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
  4525. * stdlib/tst-strtod1i.c: ...this new file.
  4526. * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
  4527. Split tests of __strtod_internal to...
  4528. * stdlib/tst-strtod5i.c: ...this new file.
  4529. * string/test-string.h: Include stdint.h. Duplicate definition of
  4530. inhibit_loop_to_libcall here (from libc-symbols.h).
  4531. * string/test-strstr.c: Provide dummy definition of
  4532. libc_hidden_builtin_def when including strstr.c.
  4533. * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
  4534. mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
  4535. * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
  4536. Don't include init-arch.h.
  4537. * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
  4538. Don't include init-arch.h.
  4539. * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
  4540. tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
  4541. unload, unload2, circleload1, neededtest, neededtest2,
  4542. neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
  4543. tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
  4544. tst-stackguard1, tst-_dl_addr_inside_object, and all of the
  4545. ifunc tests to tests-internal.
  4546. Don't add $(modules-names) to test-extras.
  4547. * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
  4548. Add tst-deadline to tests-static-internal.
  4549. * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
  4550. tests-internal.
  4551. * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
  4552. * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
  4553. tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
  4554. tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
  4555. tst-sem12-static, and tst-stackguard1-static to tests-internal.
  4556. Link tests-internal with libpthread also.
  4557. Don't add $(modules-names) to test-extras.
  4558. * nss/Makefile: Move tst-field to tests-internal.
  4559. * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
  4560. tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
  4561. * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
  4562. tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
  4563. tests-internal.
  4564. * sunrpc/Makefile: Move tst-svc_register to tests-internal.
  4565. * sysdeps/powerpc/Makefile: Move test-get_hwcap and
  4566. test-get_hwcap-static to tests-internal.
  4567. * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
  4568. tests-internal.
  4569. * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
  4570. modules-names-tests.
  4571. 2017-05-11 Zack Weinberg <zackw@panix.com>
  4572. * libio/libio.h: Condition dummy definition of _IO_lock_t on
  4573. _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
  4574. non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
  4575. _IO_funlockfile, and _IO_ftrylockfile. Only define
  4576. _IO_cleanup_region_start and _IO_cleanup_region_end if not
  4577. already defined.
  4578. * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
  4579. _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
  4580. appropriately.
  4581. * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
  4582. Define _IO_lock_t_defined after defining _IO_lock_t.
  4583. 2016-05-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  4584. * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
  4585. void* for argument type and use VDSO_SYMBOL macro.
  4586. (is_sigtramp_address_rt): Likewise.
  4587. (__backtrace): Setup expected frame pointer address for signal
  4588. handling.
  4589. * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
  4590. void* for argumetn type and use VSDO_SYMBOL macro.
  4591. (__backtrace): Setup expected frame pointer address for signal
  4592. handling.
  4593. * sysdeps/unix/sysv/linux/writev.c: New file.
  4594. * sysdeps/unix/sysv/linux/readv.c: New file.
  4595. * include/unistd.h (write): Add hidden proto.
  4596. * io/Makefile (CFLAGS-write.c): New define.
  4597. * nptl/Makefile (CFLAGS-write.c): Likewise.
  4598. * sysdeps/unix/sysv/linux/write.c: New file.
  4599. [BZ #21428]
  4600. * include/unistd.h (read): Add hidden proto.
  4601. * io/Makefile (CFLAGS-read.c): New define.
  4602. * nptl/Makefile (CFLAGS-read.c): Likewise.
  4603. * sysdeps/unix/sysv/linux/read.c: New file.
  4604. * io/Makefile (CFLAGS-creat.c): New rule.
  4605. (CFLAGS-creat64.c): Likewise.
  4606. * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
  4607. * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
  4608. * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
  4609. * sysdeps/unix/sysv/linux/creat.c: New file.
  4610. * sysdeps/unix/sysv/linux/creat64.c: Likewise.
  4611. * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
  4612. auto-generated list.
  4613. * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
  4614. * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
  4615. * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
  4616. * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
  4617. * sysdeps/unix/sysv/linux/open.c: New file.
  4618. * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
  4619. iff __WORDSIZE != 64 and use __NR_openat when available.
  4620. * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
  4621. from auto-generated list.
  4622. * nptl/Makefile (CFLAGS-close.c): New flag.
  4623. * sysdeps/unix/sysv/linux/close.c: New file.
  4624. 2017-05-11 DJ Delorie <dj@redhat.com>
  4625. * MAINTAINERS: New. Points to wiki.
  4626. 2017-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
  4627. * scripts/gen-tunables.awk: Add attribute_relro to
  4628. tunable_list.
  4629. 2017-05-11 Joseph Myers <joseph@codesourcery.com>
  4630. [BZ #21457]
  4631. * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
  4632. (R1): Likewise.
  4633. (R2): Likewise.
  4634. (R3): Likewise.
  4635. (R4): Likewise.
  4636. (R5): Likewise.
  4637. (R6): Likewise.
  4638. (R7): Likewise.
  4639. (R8): Likewise.
  4640. (R9): Likewise.
  4641. (R10): Likewise.
  4642. (R11): Likewise.
  4643. (R12): Likewise.
  4644. (R13): Likewise.
  4645. (R14): Likewise.
  4646. (R15): Likewise.
  4647. * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
  4648. (REG_FS): Likewise.
  4649. (REG_ES): Likewise.
  4650. (REG_DS): Likewise.
  4651. (REG_EDI): Likewise.
  4652. (REG_ESI): Likewise.
  4653. (REG_EBP): Likewise.
  4654. (REG_ESP): Likewise.
  4655. (REG_EBX): Likewise.
  4656. (REG_EDX): Likewise.
  4657. (REG_ECX): Likewise.
  4658. (REG_EAX): Likewise.
  4659. (REG_TRAPNO): Likewise.
  4660. (REG_ERR): Likewise.
  4661. (REG_EIP): Likewise.
  4662. (REG_CS): Likewise.
  4663. (REG_EFL): Likewise.
  4664. (REG_UESP): Likewise.
  4665. (REG_SS): Likewise.
  4666. * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
  4667. (R_D1): Likewise.
  4668. (R_D2): Likewise.
  4669. (R_D3): Likewise.
  4670. (R_D4): Likewise.
  4671. (R_D5): Likewise.
  4672. (R_D6): Likewise.
  4673. (R_D7): Likewise.
  4674. (R_A0): Likewise.
  4675. (R_A1): Likewise.
  4676. (R_A2): Likewise.
  4677. (R_A3): Likewise.
  4678. (R_A4): Likewise.
  4679. (R_A5): Likewise.
  4680. (R_A6): Likewise.
  4681. (R_A7): Likewise.
  4682. (R_SP): Likewise.
  4683. (R_PC): Likewise.
  4684. (R_PS): Likewise.
  4685. (fpregset_t): Likewise.
  4686. (MCONTEXT_VERSION): Likewise.
  4687. * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
  4688. (CTX_AT): Likewise.
  4689. (CTX_V0): Likewise.
  4690. (CTX_V1): Likewise.
  4691. (CTX_A0): Likewise.
  4692. (CTX_A1): Likewise.
  4693. (CTX_A2): Likewise.
  4694. (CTX_A3): Likewise.
  4695. (CTX_T0): Likewise.
  4696. (CTX_T1): Likewise.
  4697. (CTX_T2): Likewise.
  4698. (CTX_T3): Likewise.
  4699. (CTX_T4): Likewise.
  4700. (CTX_T5): Likewise.
  4701. (CTX_T6): Likewise.
  4702. (CTX_T7): Likewise.
  4703. (CTX_S0): Likewise.
  4704. (CTX_S1): Likewise.
  4705. (CTX_S2): Likewise.
  4706. (CTX_S3): Likewise.
  4707. (CTX_S4): Likewise.
  4708. (CTX_S5): Likewise.
  4709. (CTX_S6): Likewise.
  4710. (CTX_S7): Likewise.
  4711. (CTX_T8): Likewise.
  4712. (CTX_T9): Likewise.
  4713. (CTX_K0): Likewise.
  4714. (CTX_K1): Likewise.
  4715. (CTX_GP): Likewise.
  4716. (CTX_SP): Likewise.
  4717. (CTX_S8): Likewise.
  4718. (CTX_RA): Likewise.
  4719. (CTX_MDLO): Likewise.
  4720. (CTX_MDHI): Likewise.
  4721. (CTX_CAUSE): Likewise.
  4722. (CTX_EPC): Likewise.
  4723. * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
  4724. inclusion of <sys/procfs.h> on [__USE_MISC].
  4725. (greg_t): Condition on [__USE_MISC].
  4726. (gregset_t): Likewise.
  4727. (fpregset_t): Likewise.
  4728. * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
  4729. (NGREG): Likewise.
  4730. (gregset_t): Likewise.
  4731. (REG_R0): Likewise.
  4732. (REG_R1): Likewise.
  4733. (REG_R2): Likewise.
  4734. (REG_R3): Likewise.
  4735. (REG_R4): Likewise.
  4736. (REG_R5): Likewise.
  4737. (REG_R6): Likewise.
  4738. (REG_R7): Likewise.
  4739. (REG_R8): Likewise.
  4740. (REG_R9): Likewise.
  4741. (REG_R10): Likewise.
  4742. (REG_R11): Likewise.
  4743. (REG_R12): Likewise.
  4744. (REG_R13): Likewise.
  4745. (REG_R14): Likewise.
  4746. (REG_R15): Likewise.
  4747. (struct _libc_fpstate): Likewise.
  4748. (fpregset_t): Likewise.
  4749. * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
  4750. (NFPREG): Likewise.
  4751. (gregset_t): Likewise.
  4752. (fpregset_t): Likewise.
  4753. * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
  4754. (R_D1): Likewise.
  4755. (R_D2): Likewise.
  4756. (R_D3): Likewise.
  4757. (R_D4): Likewise.
  4758. (R_D5): Likewise.
  4759. (R_D6): Likewise.
  4760. (R_D7): Likewise.
  4761. (R_A0): Likewise.
  4762. (R_A1): Likewise.
  4763. (R_A2): Likewise.
  4764. (R_A3): Likewise.
  4765. (R_A4): Likewise.
  4766. (R_A5): Likewise.
  4767. (R_A6): Likewise.
  4768. (R_A7): Likewise.
  4769. (R_SP): Likewise.
  4770. (R_PC): Likewise.
  4771. (R_PS): Likewise.
  4772. (fpregset_t): Likewise.
  4773. (MCONTEXT_VERSION): Likewise.
  4774. * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
  4775. Likewise.
  4776. * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
  4777. (REG_R1): Likewise.
  4778. (REG_R2): Likewise.
  4779. (REG_R3): Likewise.
  4780. (REG_R4): Likewise.
  4781. (REG_R5): Likewise.
  4782. (REG_R6): Likewise.
  4783. (REG_R7): Likewise.
  4784. (REG_R8): Likewise.
  4785. (REG_R9): Likewise.
  4786. (REG_R10): Likewise.
  4787. (REG_R11): Likewise.
  4788. (REG_R12): Likewise.
  4789. (REG_R13): Likewise.
  4790. (REG_R14): Likewise.
  4791. (REG_R15): Likewise.
  4792. * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
  4793. of <arch/abi.h> on [__USE_MISC].
  4794. (greg_t): Condition on [__USE_MISC].
  4795. (NGREG): Likewise.
  4796. (gregset_t): Likewise.
  4797. 2017-05-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  4798. * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
  4799. (__pthread_rwlock_arch_t): Remove __data definition.
  4800. * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
  4801. (__pthread_rwlock_arch_t): Likewise.
  4802. 2017-05-11 Florian Weimer <fweimer@redhat.com>
  4803. * resolv/inet_pton.c: Reformat in GNU style. Remove
  4804. internal_function on static functions.
  4805. 2017-05-11 Florian Weimer <fweimer@redhat.com>
  4806. * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
  4807. from format_ai_flags.
  4808. (format_ai_flags): New function. Incorporate flag formatting code
  4809. from format_ai_one.
  4810. (format_ai_canonname): New function.
  4811. (format_ai_one): Remove flags parameter.
  4812. (format_ai_family): Likewise.
  4813. (support_format_addrinfo): Call format_ai_flags,
  4814. format_ai_canonname.
  4815. * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
  4816. check_ai.
  4817. (check_ai): Call check_ai_hints.
  4818. (do_test): Add AI_CANONNAME tests.
  4819. 2017-05-11 Florian Weimer <fweimer@redhat.com>
  4820. * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
  4821. (gaih_inet): Likewise.
  4822. 2017-05-10 Andreas Schwab <schwab@suse.de>
  4823. * nptl/tst-fork1.c: Include <support/test-driver.c>.
  4824. (main): Rename to do_test and make static.
  4825. 2017-05-10 Joseph Myers <joseph@codesourcery.com>
  4826. * string/rawmemchr.c: Include <libc-diag.h>.
  4827. (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
  4828. with size (size_t)-1.
  4829. 2017-05-09 Joseph Myers <joseph@codesourcery.com>
  4830. * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
  4831. * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
  4832. * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
  4833. * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
  4834. [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
  4835. * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
  4836. [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
  4837. * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
  4838. [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
  4839. * sysdeps/unix/sysv/linux/kernel-features.h
  4840. (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
  4841. socket syscalls.
  4842. (__ASSUME_RECVMMSG_SYSCALL): Likewise.
  4843. (__ASSUME_SENDMMSG_SYSCALL): Likewise.
  4844. * sysdeps/unix/sysv/linux/i386/kernel-features.h
  4845. (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
  4846. (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
  4847. * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
  4848. (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
  4849. * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
  4850. (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
  4851. * sysdeps/unix/sysv/linux/sh/kernel-features.h
  4852. (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
  4853. * sysdeps/unix/sysv/linux/sparc/kernel-features.h
  4854. (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
  4855. (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
  4856. (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
  4857. 2017-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  4858. * posix/Makefile (headers): Add pthreadtypes-arch.h and
  4859. thread-shared-types.h.
  4860. * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
  4861. specific thread definition.
  4862. * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
  4863. * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
  4864. * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
  4865. * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
  4866. * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
  4867. * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
  4868. * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
  4869. * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
  4870. * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
  4871. * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
  4872. * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
  4873. * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
  4874. * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
  4875. * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
  4876. * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
  4877. thread definition between POSIX and C11.
  4878. * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
  4879. * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
  4880. * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
  4881. * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
  4882. * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
  4883. * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
  4884. * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
  4885. * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
  4886. * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
  4887. * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
  4888. * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
  4889. * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
  4890. * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
  4891. * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
  4892. * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
  4893. * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
  4894. definitions shared across all architectures.
  4895. 2017-05-09 Joseph Myers <joseph@codesourcery.com>
  4896. * sysdeps/unix/sysv/linux/kernel-features.h
  4897. (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
  4898. (__ASSUME_SENDMMSG): Likewise.
  4899. (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
  4900. * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
  4901. sendmmsg syscall if that can be assumed to be present, socketcall
  4902. otherwise, with no fallback for runtime failure.
  4903. * sysdeps/unix/sysv/linux/kernel-features.h
  4904. (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
  4905. (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
  4906. (__ASSUME_RECVMMSG): Likewise.
  4907. * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
  4908. recvmmsg syscall if it can be assumed to be present, socketcall
  4909. otherwise, with no fallback for runtime failure.
  4910. 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  4911. Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  4912. * bits/libc-header-start.h:
  4913. (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
  4914. * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
  4915. * manual/creature.texi: Likewise.
  4916. 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  4917. Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  4918. * math/Makefile:
  4919. (type-float128-suffix): New variable
  4920. (type-float128-routines): Likewise
  4921. (type-float128-yes): Likewise
  4922. (types): Append float128 if supported
  4923. (types-basic): New variable to control the use of templates for
  4924. float, double, and long double, but not for float128 or newer types.
  4925. (type-basic-foreach): Likewise.
  4926. * sysdeps/ieee754/float128/Makeconfig: New file.
  4927. * sysdeps/ieee754/float128/Versions: New file.
  4928. 2017-05-09 Joseph Myers <joseph@codesourcery.com>
  4929. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
  4930. Remove macro.
  4931. * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
  4932. prlimit64 is always available and does not give an ENOSYS error.
  4933. * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
  4934. unconditional.
  4935. [!__NR_prlimit64]: Remove conditional code.
  4936. * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
  4937. prlimit64 is always available and does not give an ENOSYS error.
  4938. * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
  4939. 2017-05-09 Zack Weinberg <zackw@panix.com>
  4940. * sunrpc/tst-xdrmem2.c: Include stdint.h.
  4941. 2017-05-09 Florian Weimer <fweimer@redhat.com>
  4942. [BZ #21474]
  4943. * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
  4944. (__res_maybe_init): Likewise.
  4945. 2017-05-09 Zack Weinberg <zackw@panix.com>
  4946. * extra-modules.mk: Delete file.
  4947. * cppflags-iterator.mk: Rename to ...
  4948. * libof-iterator.mk: ...this. Adjust comments.
  4949. * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
  4950. * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
  4951. * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
  4952. Use libof-iterator.mk instead of cppflags-iterator.mk or
  4953. extra-modules.mk.
  4954. * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
  4955. extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
  4956. 2017-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
  4957. * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
  4958. 2017-05-08 Carlos O'Donell <carlos@redhat.com>
  4959. * stdio-common/vfprintf.c (EXTSIZ): Define.
  4960. (vfprintf): Use EXTSIZ.
  4961. (printf_positional): Likewise.
  4962. 2017-05-08 Joseph Myers <joseph@codesourcery.com>
  4963. * sysdeps/unix/sysv/linux/kernel-features.h
  4964. (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
  4965. * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
  4966. <kernel-features.h>.
  4967. (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
  4968. * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
  4969. (__ASSUME_GETCPU_SYSCALL): Remove macro.
  4970. 2017-05-08 Florian Weimer <fweimer@redhat.com>
  4971. Prevent multiple deletion of temporary files.
  4972. * support/temp_file.c (struct temp_name_list): Add owner member.
  4973. (add_temp_file): Record owner.
  4974. (support_delete_temp_files): Delete file only if owner matches.
  4975. * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
  4976. (do_prepare): Use create_temp_file instead of add_temp_file.
  4977. Initialize temp_fd1, temp_fd2.
  4978. (do_test): Use global temp_fd1, temp_fd2 variables. Let the test
  4979. framework remove the temporary files.
  4980. * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
  4981. (do_prepare): Use create_temp_file instead of add_temp_file.
  4982. Initialize temp_fd1, temp_fd2, temp_fd3.
  4983. (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables. Let
  4984. the test framework remove the temporary files.
  4985. * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
  4986. deletion.
  4987. * posix/tst-pathconf.c (do_test): Do not call rmdir on the
  4988. temporary directory. It is removed by the test framework.
  4989. * dirent/tst-scandir.c (do_test): Likewise.
  4990. 2017-05-08 Florian Weimer <fweimer@redhat.com>
  4991. Delete temporary files in LIFO order.
  4992. * support/temp_file.c (struct temp_name_list): Replace q member
  4993. with next.
  4994. (add_temp_file): Add new file to front of linked list.
  4995. (support_delete_temp_files): Use next member.
  4996. (support_print_temp_files): Likewise.
  4997. 2017-05-08 Florian Weimer <fweimer@redhat.com>
  4998. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
  4999. sys/ultrasound.h.
  5000. * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
  5001. 2017-05-08 Joseph Myers <joseph@codesourcery.com>
  5002. * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
  5003. Remove.
  5004. * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
  5005. * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
  5006. (arch_minimum_kernel): Remove.
  5007. * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
  5008. * README: Update statement about Linux kernel requirements.
  5009. 2017-05-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  5010. * manual/llio.texi: Add preadv and pwritev documentation.
  5011. 2017-05-04 Joseph Myers <joseph@codesourcery.com>
  5012. [BZ #21455]
  5013. * bits/stdint-intn.h: New file.
  5014. * bits/stdint-uintn.h: Likewise.
  5015. * stdlib/Makefile (headers): Add bits/stdint-intn.h and
  5016. bits/stdint-uintn.h.
  5017. * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
  5018. <stdint.h>.
  5019. * posix/sys/types.h: Include <bits/stdint-intn.h>.
  5020. (__int8_t_defined): Do not define here.
  5021. (int8_t): Likewise.
  5022. (int16_t): Likewise.
  5023. (int32_t): Likewise.
  5024. (int64_t): Likewise.
  5025. [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
  5026. * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
  5027. <stdint.h>.
  5028. * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
  5029. * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
  5030. <bits/stdint-uintn.h>.
  5031. (int8_t): Do not define here.
  5032. (int16_t): Likewise.
  5033. (int32_t): Likewise.
  5034. (int64_t): Likewise.
  5035. (uint8_t): Likewise.
  5036. (uint16_t): Likewise.
  5037. (uint32_t): Likewise.
  5038. (uint64_t): Likewise.
  5039. * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
  5040. variable.
  5041. (test-xfail-XPG42/netdb.h/conform): Likewise.
  5042. (test-xfail-XPG42/netinet/in.h/conform): Likewise.
  5043. (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
  5044. (test-xfail-UNIX98/netdb.h/conform): Likewise.
  5045. (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
  5046. 2017-05-04 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  5047. * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
  5048. * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
  5049. the above.
  5050. * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
  5051. * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
  5052. 2017-05-04 Joseph Myers <joseph@codesourcery.com>
  5053. [BZ #21445]
  5054. * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
  5055. [BZ #21457]
  5056. * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
  5057. [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
  5058. __glibc_reserved1.
  5059. * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
  5060. (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
  5061. (struct _fpxreg): Likewise.
  5062. [!__x86_64__] (struct _fpstate): Rename field reserved to
  5063. __glibc_reserved1. Rename field padding to __glibc_reserved2.
  5064. [__x86_64__] (struct _fpstate): Rename field padding to
  5065. __glibc_reserved1.
  5066. (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
  5067. Rename field reserved2 to __glibc_reserved2.
  5068. * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
  5069. [__x86_64__] (struct _libc_fpxreg): Rename field padding to
  5070. __glibc_reserved1.
  5071. [__x86_64__] (struct _libc_fpstate): Rename field padding to
  5072. __glibc_reserved1.
  5073. 2017-05-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  5074. * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
  5075. variable name.
  5076. 2017-05-03 H.J. Lu <hongjiu.lu@intel.com>
  5077. [BZ #21391]
  5078. * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
  5079. Only call init_cpu_features.
  5080. [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
  5081. * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
  5082. * sysdeps/i386/dl-procinfo.h: Removed.
  5083. * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
  5084. <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>. Include
  5085. <sysdeps/x86/dl-procinfo.h>.
  5086. (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
  5087. * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
  5088. Include <sysdeps/x86/dl-procinfo.h> instead of
  5089. <sysdeps/generic/dl-procinfo.h>.
  5090. * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
  5091. (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
  5092. * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
  5093. (bit_cpu_MOVBE): Likewise.
  5094. (bit_cpu_BMI1): Likewise.
  5095. (bit_cpu_BMI2): Likewise.
  5096. (index_cpu_BMI1): Likewise.
  5097. (index_cpu_BMI2): Likewise.
  5098. (index_cpu_LZCNT): Likewise.
  5099. (index_cpu_MOVBE): Likewise.
  5100. (index_cpu_POPCNT): Likewise.
  5101. (reg_BMI1): Likewise.
  5102. (reg_BMI2): Likewise.
  5103. (reg_LZCNT): Likewise.
  5104. (reg_MOVBE): Likewise.
  5105. (reg_POPCNT): Likewise.
  5106. * sysdeps/x86/dl-hwcap.h: New file.
  5107. * sysdeps/x86/dl-procinfo.h: Likewise.
  5108. * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
  5109. (_dl_x86_platforms): Likewise.
  5110. 2017-05-03 DJ Delorie <dj@redhat.com>
  5111. [BZ #21411]
  5112. * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
  5113. 2017-05-03 Phil Blundell <pb@pbcl.net>
  5114. * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
  5115. comments.
  5116. 2017-05-03 Carlos O'Donell <carlos@redhat.com>
  5117. [BZ #20116]
  5118. * nptl/pthread_create.c: Expand comments to describe
  5119. semaphore-like and mutex-like uses of PD->lock.
  5120. 2017-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  5121. * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
  5122. * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
  5123. * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
  5124. auto-generation list.
  5125. * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
  5126. epoll_wait.
  5127. * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
  5128. Remove epoll_wait.
  5129. * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
  5130. osf_select.
  5131. * sysdeps/unix/sysv/linux/alpha/select.c: New file.
  5132. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
  5133. osf_select from auto-generation list.
  5134. * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
  5135. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
  5136. * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
  5137. * sysdeps/unix/sysv/linux/select.c: New file.
  5138. * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
  5139. * sysdeps/unix/sysv/linux/poll.c: New file.
  5140. * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
  5141. auto-generation list.
  5142. 2017-05-03 Joseph Myers <joseph@codesourcery.com>
  5143. * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
  5144. New macro.
  5145. 2017-05-02 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
  5146. [BZ #21179]
  5147. * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
  5148. R_SPARC_REGISTER relocations.
  5149. 2017-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  5150. * include/unistd.h (__pread): Add libc_hidden_proto.
  5151. (__pread64): Likewise.
  5152. (__pwrite): Likewise.
  5153. * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
  5154. (__pread64): Remove.
  5155. * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
  5156. * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
  5157. * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
  5158. 2017-05-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  5159. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  5160. 2017-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  5161. * nptl/tst-cancel4-common.c: Use libsupport.
  5162. * nptl/tst-cancel4-common.h: Likewise.
  5163. * nptl/tst-cancel4.c (tf_read): Likewise.
  5164. (tf_readv): Likewise.
  5165. (tf_write): Likewise.
  5166. (tf_writev): Likewise.
  5167. (tf_sleep): Likewise.
  5168. (tf_usleep): Likewise.
  5169. (tf_nanosleep): Likewise.
  5170. (tf_select): Likewise.
  5171. (tf_pselect): Likewise.
  5172. (tf_poll): Likewise.
  5173. (tf_ppoll): Likewise.
  5174. (tf_wait): Likewise.
  5175. (tf_waitpid): Likewise.
  5176. (tf_waitid): Likewise.
  5177. (tf_sigpause): Likewise.
  5178. (tf_sigsuspend): Likewise.
  5179. (tf_sigwait): Likewise.
  5180. (tf_sigwaitinfo): Likewise.
  5181. (tf_sigtimedwait): Likewise.
  5182. (tf_pause): Likewise.
  5183. (tf_accept): Likewise.
  5184. (tf_send): Likewise.
  5185. (tf_recv): Likewise.
  5186. (tf_recvfrom): Likewise.
  5187. (tf_recvmsg): Likewise.
  5188. (tf_open): Likewise.
  5189. (tf_close): Likewise.
  5190. (tf_pread): Likewise.
  5191. (tf_pwrite): Likewise.
  5192. (tf_preadv): Likewise.
  5193. (tf_pwritev): Likewise.
  5194. (tf_fsync): Likewise.
  5195. (tf_fdatasync): Likewise.
  5196. (tf_msync): Likewise.
  5197. (tf_sendto): Likewise.
  5198. (tf_sendmsg): Likewise.
  5199. (tf_creat): Likewise.
  5200. (tf_connect): Likewise.
  5201. (tf_tcdrain): Likewise.
  5202. (tf_msgrcv): Likewise.
  5203. (tf_msgsnd): Likewise.
  5204. * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
  5205. * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
  5206. * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
  5207. expected arguments.
  5208. (do_test): Adapt to use libsupport.
  5209. 2017-05-01 Joseph Myers <joseph@codesourcery.com>
  5210. * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
  5211. * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
  5212. (PF_MAX): Set to 44.
  5213. (AF_SMC): New macro.
  5214. * scripts/build-many-glibcs.py (Context.checkout): Default Linux
  5215. kernel version to 4.11.
  5216. 2017-04-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  5217. [BZ #21280]
  5218. * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
  5219. signal of subnormals and adjust the exponent of power of 2 down
  5220. when low part has opposite sign.
  5221. 2017-04-28 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  5222. * sysdeps/powerpc/powerpc64le/Implies: New file.
  5223. * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
  5224. * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
  5225. * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
  5226. * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
  5227. * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
  5228. * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
  5229. * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
  5230. * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
  5231. * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
  5232. * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
  5233. * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
  5234. * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
  5235. * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
  5236. * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
  5237. * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
  5238. * sysdeps/powerpc/preconfigure: New file.
  5239. * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
  5240. * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
  5241. 2017-04-28 Joseph Myers <joseph@codesourcery.com>
  5242. * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
  5243. inclusion.
  5244. * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
  5245. Remove.
  5246. 2017-04-27 Joseph Myers <joseph@codesourcery.com>
  5247. * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
  5248. (XPG3): Rename standard to XPG4.
  5249. * conform/Makefile: Likewise.
  5250. * conform/list-header-symbols.pl: Likewise.
  5251. * conform/data/aio.h-data: Likewise.
  5252. * conform/data/arpa/inet.h-data: Likewise.
  5253. * conform/data/complex.h-data: Likewise.
  5254. * conform/data/ctype.h-data: Likewise.
  5255. * conform/data/dlfcn.h-data: Likewise.
  5256. * conform/data/fcntl.h-data: Likewise.
  5257. * conform/data/fenv.h-data: Likewise.
  5258. * conform/data/float.h-data: Likewise.
  5259. * conform/data/fmtmsg.h-data: Likewise.
  5260. * conform/data/ftw.h-data: Likewise.
  5261. * conform/data/grp.h-data: Likewise.
  5262. * conform/data/inttypes.h-data: Likewise.
  5263. * conform/data/iso646.h-data: Likewise.
  5264. * conform/data/langinfo.h-data: Likewise.
  5265. * conform/data/libgen.h-data: Likewise.
  5266. * conform/data/limits.h-data: Likewise.
  5267. * conform/data/locale.h-data: Likewise.
  5268. * conform/data/math.h-data: Likewise.
  5269. * conform/data/mqueue.h-data: Likewise.
  5270. * conform/data/ndbm.h-data: Likewise.
  5271. * conform/data/net/if.h-data: Likewise.
  5272. * conform/data/netdb.h-data: Likewise.
  5273. * conform/data/netinet/in.h-data: Likewise.
  5274. * conform/data/poll.h-data: Likewise.
  5275. * conform/data/pthread.h-data: Likewise.
  5276. * conform/data/pwd.h-data: Likewise.
  5277. * conform/data/sched.h-data: Likewise.
  5278. * conform/data/search.h-data: Likewise.
  5279. * conform/data/semaphore.h-data: Likewise.
  5280. * conform/data/signal.h-data: Likewise.
  5281. * conform/data/spawn.h-data: Likewise.
  5282. * conform/data/stdbool.h-data: Likewise.
  5283. * conform/data/stdint.h-data: Likewise.
  5284. * conform/data/stdio.h-data: Likewise.
  5285. * conform/data/stdlib.h-data: Likewise.
  5286. * conform/data/string.h-data: Likewise.
  5287. * conform/data/strings.h-data: Likewise.
  5288. * conform/data/stropts.h-data: Likewise.
  5289. * conform/data/sys/mman.h-data: Likewise.
  5290. * conform/data/sys/resource.h-data: Likewise.
  5291. * conform/data/sys/select.h-data: Likewise.
  5292. * conform/data/sys/socket.h-data: Likewise.
  5293. * conform/data/sys/stat.h-data: Likewise.
  5294. * conform/data/sys/statvfs.h-data: Likewise.
  5295. * conform/data/sys/time.h-data: Likewise.
  5296. * conform/data/sys/timeb.h-data: Likewise.
  5297. * conform/data/sys/types.h-data: Likewise.
  5298. * conform/data/sys/uio.h-data: Likewise.
  5299. * conform/data/sys/un.h-data: Likewise.
  5300. * conform/data/sys/wait.h-data: Likewise.
  5301. * conform/data/syslog.h-data: Likewise.
  5302. * conform/data/termios.h-data: Likewise.
  5303. * conform/data/tgmath.h-data: Likewise.
  5304. * conform/data/time.h-data: Likewise.
  5305. * conform/data/ucontext.h-data: Likewise.
  5306. * conform/data/unistd.h-data: Likewise.
  5307. * conform/data/utmpx.h-data: Likewise.
  5308. * conform/data/varargs.h-data: Likewise.
  5309. * conform/data/wchar.h-data: Likewise.
  5310. * conform/data/wctype.h-data: Likewise.
  5311. 2017-04-26 Joseph Myers <joseph@codesourcery.com>
  5312. * scripts/build-many-glibcs.py (Context.checkout): Default gcc
  5313. version to 7 branch.
  5314. 2017-04-25 Uroš Bizjak <ubizjak@gmail.com>
  5315. * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
  5316. earlyclobber to output operand of sqrt insn.
  5317. (__ieee754_sqrtf): Ditto.
  5318. 2017-04-25 Joseph Myers <joseph@codesourcery.com>
  5319. [BZ #21426]
  5320. * misc/bits/types/struct_iovec.h: New file.
  5321. * misc/Makefile (headers): Add bits/types/struct_iovec.h.
  5322. * include/bits/types/struct_iovec.h: New file.
  5323. * bits/uio.h (struct iovec): Replace by inclusion of
  5324. <bits/types/struct_iovec.h>.
  5325. * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
  5326. * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
  5327. of <sys/uio.h>.
  5328. * nptl/tst-cancel4.c: Include <sys/uio.h>
  5329. * posix/test-errno.c: Likewise.
  5330. * support/resolv_test.c: Likewise.
  5331. * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
  5332. Remove.
  5333. (test-xfail-POSIX2008/netdb.h/conform): Likewise.
  5334. (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
  5335. (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
  5336. * conform/data/sys/socket.h-data (*_t): Allow.
  5337. 2017-04-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  5338. * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
  5339. assignment.
  5340. 2017-04-24 Daurnimator <quae@daurnimator.com>
  5341. Adhemerval Zanella <adhemerval.zanella@linaro.org>
  5342. [BZ #21340]
  5343. * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
  5344. * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
  5345. * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
  5346. valid flags.
  5347. * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
  5348. * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
  5349. POSIX_SPAWN_SETSID.
  5350. * sysdeps/posix/spawni.c (__spawni): Likewise.
  5351. * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
  5352. * NEWS: Add note about POSIX_SPAWN_SETSID support.
  5353. 2017-04-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  5354. * sysdeps/generic/math_private.h: Move the declaration of many
  5355. functions to sysdeps/generic/math_private_calls.h.
  5356. * sysdeps/generic/math_private_calls.h: New file with the
  5357. declarations of the functions removed from math_private.h
  5358. macroized by floating-point type.
  5359. 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
  5360. * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
  5361. * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
  5362. folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
  5363. (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
  5364. FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
  5365. TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
  5366. 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
  5367. * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
  5368. * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
  5369. folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
  5370. (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
  5371. FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
  5372. New Define.
  5373. 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
  5374. * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
  5375. * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
  5376. folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
  5377. (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
  5378. FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
  5379. TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
  5380. 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
  5381. * sysdeps/s390/multiarch/ifunc-resolve.h
  5382. (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
  5383. * sysdeps/s390/multiarch/8bit-generic.c
  5384. (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
  5385. define ifunc resolvers.
  5386. 2017-04-21 Florian Weimer <fweimer@redhat.com>
  5387. [BZ #20424]
  5388. * manual/memory.texi (Replacing malloc): New section.
  5389. (Allocating Storage For Program Data): Reference it.
  5390. (The GNU Allocator): Likewise.
  5391. 2017-04-20 Joseph Myers <joseph@codesourcery.com>
  5392. * stdlib/Versions (__strtod_internal): List explicitly, not as
  5393. wildcard.
  5394. (__strtof_internal): Likewise.
  5395. (__strtold_internal): Likewise.
  5396. (__strtol_internal): Likewise.
  5397. (__strtoll_internal): Likewise.
  5398. (__strtoul_internal): Likewise.
  5399. (__strtoull_internal): Likewise.
  5400. (__strtoq_internal): Likewise.
  5401. (__strtouq_internal): Likewise.
  5402. * wcsmbs/Versions (__wcstod_internal): Likewise.
  5403. (__wcstof_internal): Likewise.
  5404. (__wcstold_internal): Likewise.
  5405. (__wcstol_internal): Likewise.
  5406. (__wcstoll_internal): Likewise.
  5407. (__wcstoul_internal): Likewise.
  5408. (__wcstoull_internal): Likewise.
  5409. 2017-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  5410. * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
  5411. struct timespec definition.
  5412. 2017-04-19 Florian Weimer <fweimer@redhat.com>
  5413. * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
  5414. 2017-04-19 Florian Weimer <fweimer@redhat.com>
  5415. * inet/rcmd.c (rresvport_af): Fix typo in comment.
  5416. * inet/rexec.c (rexec_af): Likewise.
  5417. 2017-04-19 Zack Weinberg <zackw@panix.com>
  5418. * posix/tst-mmap-offset.c: Include stdint.h.
  5419. * resolv/tst-ns_name_compress.c: Include string.h.
  5420. * resolv/tst-resolv-edns.c: Include resolv.h.
  5421. 2017-04-19 Florian Weimer <fweimer@redhat.com>
  5422. * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
  5423. with __glibc_likely.
  5424. * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
  5425. Replace __builtin_expect with __glibc_unlikely.
  5426. * resolv/res_init.c (__res_vinit): Likewise.
  5427. * resolv/res_query.c (__libc_res_nquery): Likewise.
  5428. * resolv/res_send.c (__libc_res_nsend): Likewise.
  5429. 2017-04-19 Florian Weimer <fweimer@redhat.com>
  5430. [BZ #15722]
  5431. * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
  5432. with SOCK_CLOEXEC.
  5433. * resolv/res_send.c (send_vc, reopen): Likewise.
  5434. * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
  5435. * sysdeps/unix/sysv/linux/check_native.c (__check_native):
  5436. Likewise.
  5437. * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
  5438. * inet/rexec.c (rexec_af): Add comment.
  5439. * inet/rcmd.c (rresvport_af): Likewise.
  5440. 2017-04-19 Florian Weimer <fweimer@redhat.com>
  5441. * nscd/connections.c (have_accept4): Removed definition.
  5442. (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
  5443. accept4 works.
  5444. * manual/install.texi (Linux): Require at least kernel 3.2.18 for
  5445. ia64 because that was the first version with accept4 support.
  5446. * support/Makefile (libsupport-routines): Add xaccept4.
  5447. * support/xsocket.h (xaccept4): Declare.
  5448. * support/xaccept4.c: New file.
  5449. * socket/tst-accept4.c: New file.
  5450. * socket/Makefile (tests): Add tst-accept4.
  5451. * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
  5452. definition.
  5453. * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
  5454. comment.
  5455. * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
  5456. implementation is available.
  5457. (accept4): Use the system call if available, otherwise use the
  5458. socket call.
  5459. * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
  5460. Set to 3.2.18.
  5461. * sysdeps/unix/sysv/linux/ia64/kernel-features.h
  5462. (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
  5463. accept4 is unconditionally available in later 3.2 stable kernels.
  5464. (__ASSUME_ACCEPT4_SYSCALL): Define.
  5465. * sysdeps/unix/sysv/linux/kernel-features.h
  5466. (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
  5467. definitions.
  5468. * sysdeps/unix/sysv/linux/i386/kernel-features.h
  5469. (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
  5470. 2017-04-18 Joseph Myers <joseph@codesourcery.com>
  5471. * conform/Makefile (tests-special): Do not make addition of
  5472. $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
  5473. (generated): Do not make addition of $(conformtest-header-base)
  5474. conditional on [$(cross-compiling) = no].
  5475. [BZ #21267]
  5476. * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
  5477. if defined by <asm/socket.h> and not previously defined.
  5478. (IOCSIZE_SHIFT): Likewise.
  5479. (IOC_IN): Likewise.
  5480. (IOC_INOUT): Likewise.
  5481. (IOC_OUT): Likewise.
  5482. 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
  5483. [BZ #21396]
  5484. * sysdeps/x86/cpu-features.c (init_cpu_features): Set
  5485. Prefer_No_AVX512 if AVX512ER isn't available.
  5486. * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
  5487. (index_arch_Prefer_No_AVX512): Likewise.
  5488. * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
  5489. AVX512 version if Prefer_No_AVX512 is set.
  5490. * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
  5491. Likewise.
  5492. * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
  5493. * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
  5494. Likewise.
  5495. * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
  5496. * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
  5497. Likewise.
  5498. * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
  5499. * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
  5500. Likewise.
  5501. 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
  5502. * sysdeps/x86/cpu-features.c (init_cpu_features): Set
  5503. Prefer_No_VZEROUPPER if AVX512ER is available.
  5504. * sysdeps/x86/cpu-features.h
  5505. (bit_cpu_AVX512PF): New.
  5506. (bit_cpu_AVX512ER): Likewise.
  5507. (bit_cpu_AVX512CD): Likewise.
  5508. (bit_cpu_AVX512BW): Likewise.
  5509. (bit_cpu_AVX512VL): Likewise.
  5510. (index_cpu_AVX512PF): Likewise.
  5511. (index_cpu_AVX512ER): Likewise.
  5512. (index_cpu_AVX512CD): Likewise.
  5513. (index_cpu_AVX512BW): Likewise.
  5514. (index_cpu_AVX512VL): Likewise.
  5515. (reg_AVX512PF): Likewise.
  5516. (reg_AVX512ER): Likewise.
  5517. (reg_AVX512CD): Likewise.
  5518. (reg_AVX512BW): Likewise.
  5519. (reg_AVX512VL): Likewise.
  5520. 2017-04-18 Florian Weimer <fweimer@redhat.com>
  5521. * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
  5522. O_CLOEXEC is defined.
  5523. * include/fcntl.h (__have_o_cloexec): Remove declaration.
  5524. * io/Makefile (aux): Remove.
  5525. * io/have_o_cloexec.c: Remove file.
  5526. * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
  5527. defined and works.
  5528. * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
  5529. defined.
  5530. * login/utmp_file.c (O_flags): Remove definition.
  5531. (setutent_file): Use O_CLOEXEC instead of O_flags. Assume that
  5532. O_CLOEXEC works.
  5533. (pututline_file): Likewise.
  5534. * malloc/mtrace.c: Assume that O_CLOEXEC works.
  5535. * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
  5536. definition.
  5537. (internal_setgrent): Assume that O_CLOEXEC works.
  5538. * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
  5539. Remove definition.
  5540. (internal_setgrent): Assume that O_CLOEXEC works.
  5541. * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
  5542. definition.
  5543. (internal_setpwent): Assume that O_CLOEXEC works.
  5544. * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
  5545. definition.
  5546. (internal_setspent): Assume that O_CLOEXEC works.
  5547. * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
  5548. (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS. Assume that
  5549. O_CLOEXEC is defined and works.
  5550. * nss/Makefile (libnss_files-routines): Remove
  5551. files-have_o_cloexec.
  5552. * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
  5553. defined.
  5554. * nss/nss_files/files-XXX.c (internal_setent): Assume that
  5555. O_CLOEXEC is defined and works.
  5556. * nss/nss_files/files-alias.c (internal_setent): Likewise.
  5557. * nss/nss_files/files-have_o_cloexec.c: Remove.
  5558. * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
  5559. defined.
  5560. * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
  5561. and works.
  5562. * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
  5563. definition.
  5564. * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
  5565. * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
  5566. * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
  5567. (__opendirat, __opendir): Adjust opendir_oflags call.
  5568. (check_have_o_cloexec): Remove.
  5569. (__alloc_dir): Assume that O_CLOEXEC is defined and works.
  5570. * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
  5571. defined.
  5572. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
  5573. Remove definition.
  5574. 2017-04-18 Florian Weimer <fweimer@redhat.com>
  5575. * include/unistd.h (__have_dup3): Remove declaration.
  5576. * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
  5577. dup3 is available.
  5578. * libio/freopen64.c (freopen64): Likewise.
  5579. * socket/Makefile (aux): Remove have_sock_cloexec.
  5580. * socket/have_sock_cloexec.c: Remove file.
  5581. * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
  5582. definition.
  5583. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
  5584. Likewise.
  5585. * sysdeps/nacl/kernel-features.h: Update comment.
  5586. 2017-04-18 Florian Weimer <fweimer@redhat.com>
  5587. * include/unistd.h (__have_pipe2): Remove declaration.
  5588. * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
  5589. * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
  5590. available.
  5591. * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
  5592. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
  5593. Remove definition.
  5594. 2017-04-18 Florian Weimer <fweimer@redhat.com>
  5595. * malloc/malloc.c (cfree): Turn into compat symbol.
  5596. (__cfree): Remove alias.
  5597. * stdlib/stdlib.h (cfree): Remove declaration.
  5598. * malloc/malloc.h (cfree): Likewise.
  5599. * manual/memory.texi (Freeing after Malloc): Remove cfree.
  5600. * malloc/Versions (GLIBC_2.26): Add.
  5601. 2017-04-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  5602. * sysdeps/powerpc/powerpc64/multiarch/Makefile
  5603. (sysdep_routines): Add strrchr-power8.
  5604. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  5605. (strrchr): Add __strrchr_power8 to list of strrchr functions.
  5606. * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
  5607. * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
  5608. (strrchr): Add __strrchr_power8 to ifunc list.
  5609. * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
  5610. 2017-04-17 Rabin Vincent <rabinv@axis.com>
  5611. [BZ #21357]
  5612. * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
  5613. Call free() outside of mutex.
  5614. 2017-04-13 Florian Weimer <fweimer@redhat.com>
  5615. * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
  5616. is defined.
  5617. * elf/rtld.c (process_envvars): Likewise.
  5618. * sysdeps/posix/shm_open.c (shm_open): Likewise.
  5619. * elf/dl-profile.c (EXTRA_FLAGS): Remove definition. Use
  5620. O_NOFOLLOW directly.
  5621. * gmon/gmon.c (O_NOFOLLOW): Remove definition.
  5622. 2017-04-13 Florian Weimer <fweimer@redhat.com>
  5623. [BZ #21369]
  5624. Remove EDNS fallback.
  5625. * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
  5626. handling.
  5627. * resolv/res_send.c (send_dg): Likewise.
  5628. * resolv/tst-resolv-edns.c (response): Handle "formerr." and
  5629. "tcp." prefixes.
  5630. (do_test): Send a "formerr."-prefixed query in an attempt to
  5631. trigger EDNS fallback.
  5632. 2017-04-13 Florian Weimer <fweimer@redhat.com>
  5633. [BZ #21361]
  5634. Limit EDNS buffer size to 1200 bytes.
  5635. * include/resolv.h (__res_nopt): Remove declaration.
  5636. * resolv/Makefile (tests): tst-resolv-edns.
  5637. (tst-resolv-edns): Link with -lresolv, -lpthread.
  5638. * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
  5639. interval [512, 1200].
  5640. * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
  5641. we can resize the buffer.
  5642. * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
  5643. (__res_nopt): Declare.
  5644. * resolv/tst-resolv-edns.c: New file.
  5645. * resolv/resolv_test.h (struct resolv_edns_info): Define.
  5646. (struct resolv_response_context): Add edns member.
  5647. * resolv/resolv_test.c (struct query_info): Add edns member.
  5648. (parse_query): Extract EDNS information from the query.
  5649. (server_thread_udp_process_one): Propagate EDNS data.
  5650. (server_thread_tcp_client): Likewise.
  5651. 2017-04-13 Florian Weimer <fweimer@redhat.com>
  5652. [BZ #21359]
  5653. * resolv/ns_name.c (ns_name_pack): Do not require an additional
  5654. byte in the destination buffer. Avoid out-of-bounds pointer
  5655. arithmetic.
  5656. * resolv/Makefile (tests): Add tst-ns_name_compress.
  5657. (tst-ns_name_compress): Link with -lresolv.
  5658. * resolv/tst-ns_name_compress.c: New file.
  5659. * resolv/tst-resolv-basic.c (LONG_NAME): Define.
  5660. (response): Recognize LONG_NAME.
  5661. (do_test): Add LONG_NAME tests.
  5662. * resolv/tst-ns_name.c (run_test_case): Fix expected data check
  5663. for ns_name_unpack. Add tests for ns_name_pton and
  5664. ns_name_compress.
  5665. 2017-04-13 Florian Weimer <fweimer@redhat.com>
  5666. * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
  5667. (res_nisourserver): Remove definition.
  5668. (p_section, res_npquery, res_nisourserver): Remove declaration.
  5669. (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
  5670. * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
  5671. ... here.
  5672. * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
  5673. <resolv.h>.
  5674. * resolv/res_query.c: Likewise.
  5675. * resolv/res_debug.c (p_section): Define as static.
  5676. 2017-04-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  5677. * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
  5678. strncat-power8.
  5679. * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
  5680. __strncat_power8 to ifunc list.
  5681. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  5682. (strncat): Add __strncat_power8 to list of strncat functions.
  5683. * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
  5684. 2017-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  5685. [BZ #21270]
  5686. * posix/tst-mmap-offset.c (do_prepare): New function.
  5687. (do_test): Rename to do_test_bz18877 and use FAIL_RET.
  5688. (do_test_bz21270): New function.
  5689. * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
  5690. * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
  5691. * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
  5692. * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
  5693. * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
  5694. * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
  5695. * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
  5696. * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
  5697. * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
  5698. * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
  5699. * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
  5700. * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
  5701. * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
  5702. * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
  5703. * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
  5704. * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
  5705. * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
  5706. * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
  5707. * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
  5708. * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
  5709. * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
  5710. * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
  5711. * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
  5712. from auto-generation list.
  5713. * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
  5714. * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
  5715. * sysdeps/unix/sysv/linux/mmap.c: New file.
  5716. * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
  5717. offsets and support for mmap2 syscall.
  5718. * posix/globtest.sh: Add cleanup routine on trap 0.
  5719. 2017-04-11 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
  5720. * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
  5721. implementation-specific function name and remove unneeded
  5722. macros definition.
  5723. * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
  5724. * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
  5725. * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
  5726. name if not defined and pass as parameter to macros accordingly.
  5727. * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
  5728. * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
  5729. * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
  5730. implementation-specific function name and remove unneeded
  5731. macros definition.
  5732. * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
  5733. * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
  5734. * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
  5735. * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
  5736. * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
  5737. * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
  5738. * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
  5739. name if not defined and pass as parameter to macros accordingly.
  5740. * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
  5741. * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
  5742. * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
  5743. * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
  5744. * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
  5745. * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
  5746. * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
  5747. implementation-specific function name and remove unneeded macros
  5748. definition.
  5749. * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
  5750. * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
  5751. * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
  5752. function name if not defined and pass as parameter to macros
  5753. accordingly.
  5754. * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
  5755. * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
  5756. * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
  5757. implementation-specific function name and remove unneeded macros
  5758. definition.
  5759. * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
  5760. * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
  5761. * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
  5762. * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
  5763. * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
  5764. not defined and pass as parameter to macros accordingly.
  5765. * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
  5766. * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
  5767. * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
  5768. * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
  5769. * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
  5770. strcasestr implementation name and remove unneeded macros definition.
  5771. * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
  5772. strstr implementation name and remove unneeded macros definition.
  5773. * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
  5774. name if not defined and pass as parameter to macros accordingly.
  5775. * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
  5776. * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
  5777. implementation-specific function name and remove unneeded macros
  5778. definition.
  5779. * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
  5780. * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
  5781. * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
  5782. * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
  5783. * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
  5784. * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
  5785. function name if not defined and pass as parameter to macros
  5786. accordingly.
  5787. * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
  5788. * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
  5789. * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
  5790. * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
  5791. * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
  5792. the strlen implementation name and remove unneeded macros definition.
  5793. * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
  5794. * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
  5795. * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
  5796. the strnlen implementation name and remove unneeded macros definition.
  5797. * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
  5798. name if not defined and pass as parameter to macros accordingly.
  5799. * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
  5800. * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
  5801. * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
  5802. * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
  5803. the implementation-specific function name and remove unneeded
  5804. macros definition.
  5805. * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
  5806. * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
  5807. * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
  5808. * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
  5809. * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
  5810. * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
  5811. * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
  5812. * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
  5813. * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
  5814. * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
  5815. name if not defined and pass as parameter to macros accordingly.
  5816. * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
  5817. * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
  5818. * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
  5819. * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
  5820. * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
  5821. * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
  5822. * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
  5823. * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
  5824. * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
  5825. implementation-specific function name and remove unneeded macros
  5826. definition.
  5827. * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
  5828. * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
  5829. * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
  5830. * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
  5831. * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
  5832. * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
  5833. function name if not defined.
  5834. * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
  5835. * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
  5836. 2017-04-11 Paul Clarke <pc@us.ibm.com>
  5837. * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
  5838. AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
  5839. AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New. Add auxvec
  5840. identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
  5841. 2017-04-11 Florian Weimer <fweimer@redhat.com>
  5842. Zack Weinberg <zackw@panix.com>
  5843. * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
  5844. readdir64 as thread-safe. Update warning about readdir_r.
  5845. 2017-04-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  5846. * sysdeps/unix/sysv/linux/x86/Implies: New file.
  5847. * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
  5848. * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
  5849. * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
  5850. * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
  5851. * sysdeps/x86/bits/pthreadtypes.h: Move to ...
  5852. * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
  5853. 2017-04-10 H.J. Lu <hongjiu.lu@intel.com>
  5854. * sysdeps/i386/dl-procinfo.c: Include
  5855. <sysdeps/x86/dl-procinfo.c>.
  5856. * sysdeps/x86_64/dl-procinfo.c: Likewise.
  5857. * sysdeps/x86/dl-procinfo.c: New file.
  5858. 2017-04-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  5859. * sysdeps/generic/math_private.h: Remove declarations of
  5860. many functions that are already declared in math.h.
  5861. * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
  5862. declaration for __frexpl.
  5863. * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
  5864. the declarations for __scalbnl and fabsl.
  5865. 2017-04-09 Dmitry V. Levin <ldv@altlinux.org>
  5866. [BZ #20831]
  5867. * elf/dl-map-segments.h (_dl_map_segments): Check for failure
  5868. of __mprotect to change protection on the excess portion
  5869. to disallow all access.
  5870. 2017-04-07 H.J. Lu <hongjiu.lu@intel.com>
  5871. * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
  5872. HAS_CPU_FEATURE to check for SSE.
  5873. * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
  5874. * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
  5875. * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
  5876. * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
  5877. * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
  5878. * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
  5879. * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
  5880. * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
  5881. * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
  5882. * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
  5883. * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
  5884. * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
  5885. * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
  5886. * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
  5887. (index_cpu_SSE): Likewise.
  5888. (reg_SSE): Likewise.
  5889. 2017-04-07 Paul Eggert <eggert@cs.ucla.edu>
  5890. * posix/getopt1.c: Include <config.h>, not "config.h".
  5891. 2017-04-07 Zack Weinberg <zackw@panix.com>
  5892. * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
  5893. * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
  5894. Mention in top-of-file boilerplate that these files are shared
  5895. with gnulib.
  5896. * posix/getopt.h, posix/bits/getopt_posix.h:
  5897. Mention in top-of-file boilerplate that these files are NOT shared
  5898. with gnulib, unlike the rest of the getopt implementation.
  5899. * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
  5900. New files, intended to be shared with gnulib.
  5901. * posix/bits/getopt_posix.h:
  5902. New file, not intended to be shared with gnulib.
  5903. * posix/getopt.h: Now just includes features.h,
  5904. bits/getopt_core.h, and bits/getopt_ext.h. Will
  5905. no longer be shared with gnulib.
  5906. * include/bits/getopt_core.h, include/bits/getopt_ext.h
  5907. * include/bits/getopt_posix.h: New wrappers.
  5908. * posix/Makefile: Install new headers.
  5909. * posix/unistd.h, libio/stdio.h:
  5910. Include bits/getopt_posix.h instead of getopt.h.
  5911. * include/libc-symbols.h: For gnulib compatibility, define
  5912. _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
  5913. _GL_ATTRIBUTE_CONST.
  5914. * posix/getopt.c (_getopt_initialize): Mark argc and argv
  5915. parameters with _GL_UNUSED.
  5916. * posix/getopt.c: When used standalone, define __libc_use_alloca
  5917. as always false and alloca to abort if called.
  5918. (process_long_option): Rewrite handling of ambiguous long options
  5919. to use a single boolean vector, not a linked list; use
  5920. __libc_use_alloca to decide whether to allocate this using alloca.
  5921. * posix/tst-getopt_long1.c: Adjust text of expected error message.
  5922. * posix/getopt.c (process_long_option): New function split out
  5923. from _getopt_internal_r.
  5924. (_getopt_internal_r): Replace both copies of the long-option
  5925. processing code with calls to process_long_option.
  5926. * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
  5927. (do_test): Differentiate argv[0] in the two subtests.
  5928. * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
  5929. * posix/getopt.c (_getopt_internal_r): Move some initialization code...
  5930. (_getopt_initialize): ...here. Don't set d->__posixly_correct.
  5931. * posix/getopt.h: Add backup definition of __nonnull for
  5932. consistency with gnulib. Define __getopt_argv_const to const
  5933. if not already defined.
  5934. (getopt): Update doc comment from gnulib. Prototype
  5935. unconditionally. Add __nonnull annotation.
  5936. (__posix_getopt): Add __nonnull annotation.
  5937. (getopt_long, getopt_long_only): Use __getopt_argv_const in
  5938. prototypes for consistency with gnulib. Add __nonnull
  5939. annotations.
  5940. * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
  5941. (getopt_internal): Change 'argv' argument to type 'char **'.
  5942. Remove now-unnecessary casts.
  5943. (getopt, __posix_getopt): Eliminate repetition with a macro.
  5944. Cast 'argv' to 'char **' when calling _getopt_internal.
  5945. * posix/getopt1.c (getopt_long, getopt_long_only):
  5946. Use __getopt_argv_const for consistency with gnulib.
  5947. Cast 'argv' to 'char **' when calling _getopt_internal.
  5948. (_getopt_long_r, _getopt_long_only_r):
  5949. Change 'argv' argument to type 'char **'.
  5950. (main): Constify 'long_options'.
  5951. * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
  5952. (_getopt_long_r, _getopt_long_only_r):
  5953. Change 'argv' argument to type 'char **'.
  5954. * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
  5955. (locked_vfxprintf): New helper function. Handle arbitrary
  5956. multibyte strings, not just ASCII.
  5957. * include/stdio.h: Declare __fxprintf_nocancel.
  5958. * posix/getopt.c: When _LIBC is defined, define fprintf to
  5959. __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
  5960. to _IO_funlockfile. When neither _LIBC nor
  5961. _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
  5962. funlockfile as no-ops.
  5963. (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
  5964. the standalone error-printing code can now be used for libc as
  5965. well. Add an flockfile/funlockfile pair around one case where
  5966. the error message is printed in several chunks. Don't use fputc.
  5967. * posix/tst-getopt-cancel.c: New test.
  5968. * posix/Makefile: Run it.
  5969. * posix/getopt.c (_getopt_internal_r): Don't increment
  5970. d->optind a second time when reporting ambiguous -W options.
  5971. * posix/getopt_int.h: Include getopt.h.
  5972. Use impl-namespace names for all arguments to _getopt_internal and
  5973. _getopt_internal_r.
  5974. Declare __ordering enum outside the struct.
  5975. Harmonize comments with gnulib.
  5976. * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
  5977. ELIDE_CODE logic entirely. Move inclusion of stdlib.h to
  5978. #ifdef TEST block and make unconditional. Do not define NULL.
  5979. * posix/getopt.c: Partial merge from gnulib, covering the
  5980. initial includes and global declarations, commentary, and
  5981. a couple of semantically-neutral code changes.
  5982. * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
  5983. Use '...' instead of `...' for quotation marks inside
  5984. comments and strings.
  5985. * config.h.in (USE_NONOPTION_FLAGS): Remove.
  5986. * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
  5987. * sysdeps/mach/hurd/i386/init-first.c: Likewise.
  5988. * posix/getopt_int.h: Likewise.
  5989. * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
  5990. __libc_argc and __libc_argv externs, which were only used by
  5991. #ifdef USE_NONOPTION_FLAGS blocks.
  5992. * posix/getopt_init.c: Remove file.
  5993. * posix/Makefile (routines): Remove getopt_init.
  5994. * include/getopt.h: Don't declare __getopt_initialize_environment.
  5995. * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
  5996. a comment.
  5997. 2017-04-07 Florian Weimer <fweimer@redhat.com>
  5998. * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
  5999. 2017-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  6000. * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
  6001. * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
  6002. to __wrap_.udiv.
  6003. * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
  6004. * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
  6005. * sysdeps/i386/symbol-hacks.h: New file.
  6006. * sysdeps/m68k/symbol-hacks.h: New file.
  6007. * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
  6008. * sysdeps/s390/s390-32/symbol-hacks.h: New file.
  6009. * sysdeps/unix/sysv/linux/i386/Makefile
  6010. [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
  6011. [$(subdir) = csu] (sysdep-only-routines): Likewise.
  6012. [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
  6013. * sysdeps/unix/sysv/linux/m68k/Makefile
  6014. [$(subdir) = csu] (sysdep_routines): Likewise.
  6015. [$(subdir) = csu] (sysdep-only-routines): Likewise.
  6016. [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
  6017. * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
  6018. [$(subdir) = csu] (sysdep_routines): Likewise.
  6019. [$(subdir) = csu] (sysdep-only-routines): Likewise.
  6020. [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
  6021. * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
  6022. [$(subdir) = csu] (sysdep_routines): Likewise.
  6023. [$(subdir) = csu] (sysdep-only-routines): Likewise.
  6024. [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
  6025. * sysdeps/wordsize-32/Makefile: Remove file.
  6026. * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
  6027. * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
  6028. 2017-04-05 H.J. Lu <hongjiu.lu@intel.com>
  6029. * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
  6030. (TEST_FUNCTION_ARGV): New.
  6031. 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
  6032. * elf/next.c: Import support/test-driver.c instead of
  6033. test-skeleton.c and delete TEST_FUNCTION macro definition.
  6034. * elf/nodelete.c: Likewise.
  6035. * elf/order2.c: Likewise.
  6036. * elf/tst-_dl_addr_inside_object.c: Likewise.
  6037. * elf/tst-addr1.c: Likewise.
  6038. * elf/tst-align.c: Likewise.
  6039. * elf/tst-align2.c: Likewise.
  6040. * elf/tst-audit11.c: Likewise.
  6041. * elf/tst-audit12.c: Likewise.
  6042. * elf/tst-audit2.c: Likewise.
  6043. * elf/tst-audit9.c: Likewise.
  6044. * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
  6045. * elf/tst-deep1.c: Likewise.
  6046. * elf/tst-dl-iter-static.c: Likewise.
  6047. * elf/tst-dlmodcount.c: Likewise.
  6048. * elf/tst-dlmopen1.c: Likewise.
  6049. * elf/tst-dlmopen2.c: Likewise.
  6050. * elf/tst-dlmopen3.c: Likewise.
  6051. * elf/tst-dlopen-aout.c: Likewise.
  6052. * elf/tst-dlopenrpath.c: Likewise.
  6053. * elf/tst-dlsym-error.c: Likewise.
  6054. * elf/tst-execstack-needed.c: Likewise.
  6055. * elf/tst-execstack-prog.c: Likewise.
  6056. * elf/tst-execstack.c: Likewise.
  6057. * elf/tst-global1.c: Likewise.
  6058. * elf/tst-gnu2-tls1.c: Likewise.
  6059. * elf/tst-latepthread.c: Likewise.
  6060. * elf/tst-leaks1.c: Likewise.
  6061. * elf/tst-linkall-static.c: Likewise.
  6062. (do_test): New function.
  6063. * elf/tst-nodelete-opened.c: Likewise.
  6064. * elf/tst-nodelete.cc: Likewise.
  6065. * elf/tst-nodelete2.c: Likewise.
  6066. * elf/tst-noload.c: Likewise.
  6067. * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
  6068. * elf/tst-order-main.c: Likewise.
  6069. * elf/tst-pathopt.c: Likewise.
  6070. * elf/tst-pie2.c: Likewise.
  6071. * elf/tst-piemod1.c: Likewise.
  6072. * elf/tst-prelink.c: Likewise.
  6073. * elf/tst-protected1a.c: Likewise.
  6074. * elf/tst-protected1b.c: Likewise.
  6075. * elf/tst-ptrguard1.c: Likewise, import getopt.h,
  6076. and define _GNU_SOURCE macro.
  6077. (cmdline_process_function): New function.
  6078. * elf/tst-relsort1.c: Likewise.
  6079. * elf/tst-stackguard1.c: Likewise, import getopt.h,
  6080. and define _GNU_SOURCE macro.
  6081. (cmdline_process_function): New function.
  6082. * elf/tst-thrlock.c: Likewise.
  6083. * elf/tst-tls-dlinfo.c: Likewise.
  6084. * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
  6085. * elf/tst-tls1.c: Likewise.
  6086. * elf/tst-tls10.c: Likewise.
  6087. * elf/tst-tls11.c: Likewise.
  6088. * elf/tst-tls12.c: Likewise.
  6089. * elf/tst-tls13.c: Likewise.
  6090. * elf/tst-tls14.c: Likewise.
  6091. * elf/tst-tls15.c: Likewise.
  6092. * elf/tst-tls16.c: Likewise.
  6093. * elf/tst-tls17.c: Likewise.
  6094. * elf/tst-tls18.c: Likewise.
  6095. * elf/tst-tls19.c: Likewise.
  6096. * elf/tst-tls2.c: Likewise.
  6097. * elf/tst-tls3.c: Likewise.
  6098. * elf/tst-tls4.c: Likewise.
  6099. * elf/tst-tls5.c: Likewise.
  6100. * elf/tst-tls6.c: Likewise.
  6101. * elf/tst-tls7.c: Likewise.
  6102. * elf/tst-tls8.c: Likewise.
  6103. * elf/tst-tls9.c: Likewise.
  6104. * elf/tst-tlsalign-extern.c: Likewise.
  6105. * elf/tst-tlsalign.c: Likewise.
  6106. * elf/tst-unique1.c: Likewise.
  6107. * elf/tst-unique2.c: Likewise.
  6108. * elf/vismain.c: Likewise.
  6109. 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
  6110. * string/test-strnlen.c (do_page_tests): New function
  6111. to check length of strings ending at the page boundary.
  6112. (test_main): Added call to the do_page_tests function.
  6113. 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
  6114. Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  6115. * sysdeps/powerpc/powerpc64/multiarch/Makefile
  6116. (sysdep_routines): Add strnlen-power8.
  6117. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  6118. (strnlen): Add __strnlen_power8 to list of strnlen functions.
  6119. * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
  6120. * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
  6121. (__strnlen): Add __strnlen_power8 to ifunc list.
  6122. * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
  6123. 2017-04-04 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
  6124. * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
  6125. the TEST_FUNCTION macro definition.
  6126. * wcsmbs/tst-mbrtowc2.c: Likewise.
  6127. * wcsmbs/tst-mbsrtowcs.c: Likewise.
  6128. * wcsmbs/tst-wchar-h.c: Likewise.
  6129. * wcsmbs/tst-wcpncpy.c: Likewise.
  6130. * wcsmbs/tst-wcrtomb.c: Likewise.
  6131. * wcsmbs/tst-wcsnlen.c: Likewise.
  6132. * wcsmbs/tst-wcstof.c: Likewise.
  6133. 2017-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  6134. * nptl/pthread_create.c (START_THREAD_DEFN): Remove
  6135. CALL_THREAD_FCT macro usage.
  6136. * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
  6137. * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
  6138. * sysdeps/x86_64/32/nptl/tls.h: Remove file.
  6139. * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
  6140. * sysdeps/unix/sysv/linux/arm/kernel-features.h
  6141. (__ASSUME_REQUEUE_PI): Likewise.
  6142. * sysdeps/unix/sysv/linux/kernel-features.h
  6143. (__ASSUME_REQUEUE_PI): Likewise.
  6144. * sysdeps/unix/sysv/linux/m68k/kernel-features.h
  6145. (__ASSUME_REQUEUE_PI): Likewise.
  6146. * sysdeps/unix/sysv/linux/mips/kernel-features.h
  6147. (__ASSUME_REQUEUE_PI): Likewise.
  6148. * sysdeps/unix/sysv/linux/sparc/kernel-features.h
  6149. (__ASSUME_REQUEUE_PI): Likewise.
  6150. 2017-04-04 Florian Weimer <fweimer@redhat.com>
  6151. * resolv/tst-resolv-canonname.c: New file.
  6152. * resolv/Makefile (tests): Add tst-resolv-canonname.
  6153. (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
  6154. 2017-04-04 Florian Weimer <fweimer@redhat.com>
  6155. * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
  6156. Declare.
  6157. * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
  6158. (NS_MAXCDNAME): Remove definition.
  6159. (__ns_name_ntop, __ns_name_unpack): Remove declaration.
  6160. * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
  6161. (NS_MAXCDNAME): Remove definition.
  6162. (__ns_name_ntop, __ns_name_unpack): Remove declaration.
  6163. 2017-04-04 Florian Weimer <fweimer@redhat.com>
  6164. * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
  6165. call whose result is not used.
  6166. 2017-04-04 Florian Weimer <fweimer@redhat.com>
  6167. * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
  6168. * resolv/Makefile (tests): Add tst-ns_name.
  6169. (tst-ns_name): Link with -lresolv.
  6170. (tst-ns_name.out): Depend on the input data file.
  6171. 2017-04-04 Stefan Liebler <stli@linux.vnet.ibm.com>
  6172. * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
  6173. Clobber also r14.
  6174. 2017-04-03 Mike Frysinger <vapier@gentoo.org>
  6175. [BZ #21253]
  6176. * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
  6177. slack space by 32KiB.
  6178. 2017-04-01 Wladimir van der Laan <laanwj@gmail.com>
  6179. [BZ #21338]
  6180. * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
  6181. instead of incorrect do_set_arena_test
  6182. 2017-03-31 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  6183. * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
  6184. * math/bits/math-finite.h: Likewise.
  6185. 2017-03-31 Slava Barinov <v.barinov@samsung.com>
  6186. [BZ #21289]
  6187. * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
  6188. 2017-03-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  6189. * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
  6190. non expected inotify_add_watch and quotactl return.
  6191. 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  6192. * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
  6193. to int32_t.
  6194. * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
  6195. as returning int32_t.
  6196. 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  6197. * math/math.h: Include bits/math-finite.h once per
  6198. floating-point type.
  6199. * math/bits/math-finite.h: Macroize all declarations by
  6200. floating-point type.
  6201. 2017-03-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  6202. [BZ #21182]
  6203. * string/test-memchr.c (do_test): Add BZ#21182 checks for address
  6204. near end of a page.
  6205. * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
  6206. overflow calculation.
  6207. 2017-03-28 Steve Ellcey <sellcey@caviumnetworks.com>
  6208. * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
  6209. (IMPL) Call with 1 instead of 0 as argument.
  6210. 2017-03-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  6211. * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
  6212. * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
  6213. * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
  6214. * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
  6215. * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
  6216. * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
  6217. * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
  6218. * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
  6219. * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
  6220. * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
  6221. * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
  6222. * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
  6223. * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
  6224. * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
  6225. * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
  6226. * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
  6227. * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
  6228. * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
  6229. * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
  6230. * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
  6231. * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
  6232. * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
  6233. * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
  6234. * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
  6235. * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
  6236. * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
  6237. * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
  6238. * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
  6239. * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
  6240. * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
  6241. * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
  6242. * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
  6243. * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
  6244. * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
  6245. * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
  6246. * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
  6247. * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
  6248. * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
  6249. * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
  6250. * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
  6251. * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
  6252. * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
  6253. * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
  6254. * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
  6255. * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
  6256. * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
  6257. * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
  6258. * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
  6259. * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
  6260. * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
  6261. * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
  6262. * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
  6263. * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
  6264. * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
  6265. * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
  6266. * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
  6267. INLINE_SYSCALL_ERROR_RETURN_VALUE.
  6268. * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
  6269. * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
  6270. defined.
  6271. * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
  6272. __NR_setgroups32 if defined.
  6273. * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
  6274. if defined.
  6275. * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
  6276. __NR_setresgid32 is defined.
  6277. * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
  6278. __NR_setresuid32 if defined.
  6279. * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
  6280. __NR_setreuid32 if defined.
  6281. * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
  6282. defined.
  6283. * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
  6284. * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
  6285. * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
  6286. * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
  6287. * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
  6288. * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
  6289. * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
  6290. * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
  6291. * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
  6292. * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
  6293. * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
  6294. * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
  6295. * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
  6296. * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
  6297. * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
  6298. * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
  6299. * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
  6300. * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
  6301. * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
  6302. * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
  6303. * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
  6304. * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
  6305. * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
  6306. * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
  6307. * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
  6308. * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
  6309. * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
  6310. * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
  6311. * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
  6312. * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
  6313. * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
  6314. * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
  6315. * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
  6316. * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
  6317. * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
  6318. * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
  6319. * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
  6320. * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
  6321. * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
  6322. * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
  6323. * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
  6324. * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
  6325. * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
  6326. * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
  6327. * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
  6328. * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
  6329. * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
  6330. * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
  6331. * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
  6332. * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
  6333. * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
  6334. * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
  6335. * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
  6336. * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
  6337. * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
  6338. * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
  6339. INLINE_SYSCALL_ERROR_RETURN_VALUE.
  6340. * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
  6341. * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
  6342. defined.
  6343. * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
  6344. __NR_setgroups32 if defined.
  6345. * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
  6346. if defined.
  6347. * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
  6348. __NR_setresgid32 is defined.
  6349. * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
  6350. __NR_setresuid32 if defined.
  6351. * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
  6352. __NR_setreuid32 if defined.
  6353. * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
  6354. defined.
  6355. 2017-03-27 Joseph Myers <joseph@codesourcery.com>
  6356. [BZ #21277]
  6357. * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
  6358. unconditionally.
  6359. (IMAXBEL): Likewise.
  6360. (IUTF8): Likewise.
  6361. 2017-03-27 Szabolcs Nagy <szabolcs.nagy@arm.com>
  6362. * sysdeps/aarch64/libm-test-ulps: Update.
  6363. 2017-03-24 Sunyeop Lee <sunyeop97@gmail.com>
  6364. * README.tunables: Updated descriptions.
  6365. * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
  6366. * scripts/gen-tunables.awk: Updated the code related to the
  6367. commit.
  6368. 2017-03-23 Wilco Dijkstra <wdijkstr@arm.com>
  6369. * benchtests/Makefile (string-benchset): Add memcpy-random.
  6370. * benchtests/bench-memcpy-random.c: New file.
  6371. 2017-03-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  6372. * stdio-common/printf.h (register_printf_modifier): Change the
  6373. order of __wur and __THROW.
  6374. (register_printf_type): Likewise.
  6375. 2017-03-23 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
  6376. * string/test-string.h (TEST_FUNCTION): Use test_main instead of
  6377. test_main ().
  6378. (CMDLINE_PROCESS): Use function instead of defined macro.
  6379. * debug/test-strcpy_chk.c: Import support/test-driver.c and also
  6380. <suppport/support.h> to use set_fortify_handler().
  6381. * string/bug-envz1.c: Import support/test-driver.c instead of
  6382. test-skeleton.c.
  6383. * string/bug-strcoll2.c: Likewise.
  6384. * string/bug-strtok1.c: Likewise.
  6385. * string/stratcliff.c: Likewise.
  6386. * string/test-ffs.c: Likewise.
  6387. * string/test-memccpy.c: Likewise.
  6388. * string/test-memchr.c: Likewise.
  6389. * string/test-memcmp.c: Likewise.
  6390. * string/test-memcpy.c: Likewise.
  6391. * string/test-memmem.c: Likewise.
  6392. * string/test-memmove.c: Likewise.
  6393. * string/test-memrchr.c: Likewise.
  6394. * string/test-memset.c: Likewise.
  6395. * string/test-rawmemchr.c: Likewise.
  6396. * string/test-strcasecmp.c: Likewise.
  6397. * string/test-strcasestr.c: Likewise.
  6398. * string/test-strcat.c: Likewise.
  6399. * string/test-strchr.c: Likewise.
  6400. * string/test-strcmp.c: Likewise.
  6401. * string/test-strcpy.c: Likewise.
  6402. * string/test-string.h: Likewise.
  6403. * string/test-strlen.c: Likewise.
  6404. * string/test-strncasecmp.c: Likewise.
  6405. * string/test-strncat.c: Likewise.
  6406. * string/test-strncmp.c: Likewise.
  6407. * string/test-strncpy.c: Likewise.
  6408. * string/test-strnlen.c: Likewise.
  6409. * string/test-strpbrk.c: Likewise.
  6410. * string/test-strrchr.c: Likewise.
  6411. * string/test-strspn.c: Likewise.
  6412. * string/test-strstr.c: Likewise.
  6413. * string/tst-bswap.c: Likewise.
  6414. * string/tst-cmp.c: Likewise.
  6415. * string/tst-endian.c: Likewise.
  6416. * string/tst-inlcall.c: Likewise.
  6417. * string/tst-strcoll-overflow.c: Likewise.
  6418. * string/tst-strfry.c: Likewise.
  6419. * string/tst-strlen.c: Likewise.
  6420. * string/tst-strtok.c: Likewise.
  6421. * string/tst-strtok_r.c: Likewise.
  6422. * string/tst-strxfrm.c: Likewise.
  6423. * string/tst-strxfrm2.c: Likewise.
  6424. * string/tst-svc.c: Likewise.
  6425. * string/tst-svc2.c: Likewise.
  6426. 2017-03-22 Zack Weinberg <zackw@panix.com>
  6427. * stdio-common/bug25.c: Include stdlib.h.
  6428. * support/tst-support_format_dns_packet.c: Include stdio.h,
  6429. stdlib.h, and string.h.
  6430. * support/tst-support_record_failure.c: Include string.h.
  6431. * support/tst-support_record_failure-2.sh: Adjust line number
  6432. expectations and correct a typo in an error message.
  6433. 2017-03-21 H.J. Lu <hongjiu.lu@intel.com>
  6434. [BZ #21258]
  6435. * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
  6436. Define only if _dl_runtime_resolve is defined to
  6437. _dl_runtime_resolve_sse_vex.
  6438. * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
  6439. Fallthrough to _dl_runtime_resolve_sse_vex.
  6440. 2017-03-21 Joseph Myers <joseph@codesourcery.com>
  6441. * INSTALL: Regenerated.
  6442. 2017-03-21 Thorsten Kukuk <kukuk@suse.com>
  6443. * config.h.in: Add LINK_OBSOLETE_NSL.
  6444. * config.make.in: Add build-obsolete-nsl.
  6445. * configure.ac: Add obsolete-nsl option.
  6446. * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
  6447. * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
  6448. * include/rpcsvc/nislib.h: Likewise.
  6449. * include/rpcsvc/ypclnt.h: Likewise.
  6450. * manual/install.texi: Document --enable-obsolete-nsl.
  6451. * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
  6452. * nis/nis_add.c: Replace libnsl_hidden_def with
  6453. libnsl_hidden_nolink_def.
  6454. * nis/nis_addmember.c: Likewise.
  6455. * nis/nis_call.c: Likewise.
  6456. * nis/nis_clone_obj.c: Likewise.
  6457. * nis/nis_defaults.c: Likeise.
  6458. * nis/nis_domain_of_r.c: Likewise.
  6459. * nis/nis_error.c: Likewise.
  6460. * nis/nis_file.c: Likewise.
  6461. * nis/nis_free.c: Likewise.
  6462. * nis_local_names.c: Likewise.
  6463. * nis/nis_lookup.c: Likewise.
  6464. * nis/nis_modify.c: Likewise.
  6465. * nis/nis_print.c: Likewise.
  6466. * nis/nis_remove.c: Likewise.
  6467. * nis/nis_table.c: Likewise.
  6468. * nis/nis_util.c: Likewise.
  6469. * nis/nis_xdr.c: Likewise.
  6470. * nis/yp_xdr.c: Likewise.
  6471. * nis/ypclnt.c: Likewise.
  6472. * nis/ypupdate_xdr.c: Likewise.
  6473. * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
  6474. * nis/nis_clone_dir.c: Likewise.
  6475. * nis/nis_clone_res.c: Likewise.
  6476. * nis/nis_creategroup.c: Likewise.
  6477. * nis/nis_destroygroup.c: Likewise.
  6478. * nis/nis_domain_of.c: Likewise.
  6479. * nis/nis_getservlist.c: Likewise.
  6480. * nis/nis_ismember.c: Likewise.
  6481. * nis/nis_mkdir.c: Likewise.
  6482. * nis/nis_ping.c: Likewise.
  6483. * nis/nis_print_group_entry.c: Likewise.
  6484. * nis/nis_removemember.c: Likewise.
  6485. * nis/nis_rmdir.c: Likewise.
  6486. * nis/nis_server.c: Likewise.
  6487. * nis/nis_subr.c: Likewise.
  6488. * nis/nis_verifygroup.c: Likewise.
  6489. 2017-03-21 Stefan Liebler <stli@linux.vnet.ibm.com>
  6490. * malloc/tst-interpose-aux.c (check_for_allocations):
  6491. Move compiler barrier before free.
  6492. 2017-03-20 Joseph Myers <joseph@codesourcery.com>
  6493. [BZ #21279]
  6494. * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
  6495. [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
  6496. * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
  6497. x86_64-x32-linux.
  6498. (mq_attr.mq_maxmsg): Likewise.
  6499. (mq_attr.mq_msgsize): Likewise.
  6500. (mq_attr.mq_curmsgs): Likewise.
  6501. [BZ #21278]
  6502. * sysdeps/unix/sysv/linux/mips/mips32/Makefile
  6503. [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
  6504. * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
  6505. mips-o32-linux.
  6506. [BZ #21268]
  6507. * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
  6508. if [__USE_MISC]
  6509. (NL3): Likewise.
  6510. 2017-03-20 Mike Frysinger <vapier@gentoo.org>
  6511. [BZ #21275]
  6512. * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
  6513. __stack to __stackbase.
  6514. (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
  6515. checks so we can include defined(__ia64__) first.
  6516. 2017-03-19 Christian Brauner <christian.brauner@ubuntu.com>
  6517. * sysdeps/unix/sysv/linux/ttyname.h: New file.
  6518. * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
  6519. (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
  6520. Call is_pty when the link does not exist or does not match, fail
  6521. with ENODEV when it returns true.
  6522. * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
  6523. (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
  6524. Call is_pty when the link does not exist or does not match, fail
  6525. with ENODEV when it returns true.
  6526. 2017-03-18 Joseph Myers <joseph@codesourcery.com>
  6527. [BZ #16437]
  6528. * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
  6529. [$(subdir) = conform] (conformtest-xfail-conds): New variable.
  6530. * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
  6531. x86_64-x32-linux.
  6532. * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
  6533. * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
  6534. * conform/data/time.h-data (timespec.tv_nsec): Likewise.
  6535. [BZ #21261]
  6536. * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
  6537. [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
  6538. names for all fields.
  6539. * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
  6540. for jmp_buf field renaming.
  6541. (_JMPBUF_UNWINDS_ADJ): Likewise.
  6542. * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
  6543. with allow-header.
  6544. 2017-03-17 Chris Evans <scarybeasts@gmail.com>
  6545. * malloc/malloc.c (unlink): Add consistency check between size and
  6546. next->prev->size, to further harden against 1-byte overflows.
  6547. 2017-03-17 H.J. Lu <hongjiu.lu@intel.com>
  6548. * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
  6549. CPU_FEATURES_CPU_P.
  6550. 2017-03-17 Joseph Myers <joseph@codesourcery.com>
  6551. [BZ #21259]
  6552. * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
  6553. unconditionally, not just for [__USE_MISC].
  6554. [BZ #17786]
  6555. * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
  6556. * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
  6557. mips-o32-linux.
  6558. [BZ #21260]
  6559. * sysdeps/unix/sysv/linux/alpha/Makefile
  6560. [$(subdir) = conform] (conformtest-xfail-conds): New variable.
  6561. * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
  6562. * conform/conformtest.pl ($cross): New variable.
  6563. (--cross): New command-line option.
  6564. (runtest): Skip test execution when cross-compiling.
  6565. * conform/Makefile (conformtest-cross): New variable.
  6566. ($(conformtest-header-tests)): Pass $(conformtest-cross) to
  6567. conformtest.pl.
  6568. * conform/conformtest.pl ($xfail_str): New variable.
  6569. (--xfail=): New command-line option.
  6570. (top level): Handle expectations starting xfail[cond]-.
  6571. * conform/Makefile (conformtest-xfail): New variable.
  6572. ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
  6573. conformtest.pl.
  6574. 2017-03-16 Joseph Myers <joseph@codesourcery.com>
  6575. * conform/conformtest.pl: Use compilation instead of execution
  6576. tests for testing values of constants and usability in #if.
  6577. 2017-03-16 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  6578. * math/auto-libm-test-in: Mark some catan and catanh as
  6579. xfail-rounding:ibm128-libgcc.
  6580. * math/auto-libm-test-out-catan: Regenerate.
  6581. * math/auto-libm-test-out-catanh: Likewise.
  6582. 2017-03-16 Joseph Myers <joseph@codesourcery.com>
  6583. * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
  6584. (__END_NAMESPACE_STD): Likewise.
  6585. (__USING_NAMESPACE_STD): Likewise.
  6586. (__BEGIN_NAMESPACE_C99): Likewise.
  6587. (__END_NAMESPACE_C99): Likewise.
  6588. (__USING_NAMESPACE_C99): Likewise.
  6589. * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
  6590. undefine macro.
  6591. (_Mdouble_END_NAMESPACE): Likewise.
  6592. * ctype/ctype.h: Do not handle C++ namespaces.
  6593. * libio/bits/stdio-ldbl.h: Likewise.
  6594. * libio/stdio.h: Likewise.
  6595. * locale/locale.h: Likewise.
  6596. * math/bits/mathcalls.h: Likewise.
  6597. * setjmp/setjmp.h: Likewise.
  6598. * signal/signal.h: Likewise.
  6599. * stdlib/bits/stdlib-float.h: Likewise.
  6600. * stdlib/bits/stdlib-ldbl.h: Likewise.
  6601. * stdlib/stdlib.h: Likewise.
  6602. * string/string.h: Likewise.
  6603. * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
  6604. * time/bits/types/clock_t.h: Likewise.
  6605. * time/bits/types/struct_tm.h: Likewise.
  6606. * time/bits/types/time_t.h: Likewise.
  6607. * time/time.h: Likewise.
  6608. * wcsmbs/bits/wchar-ldbl.h: Likewise.
  6609. * wcsmbs/uchar.h: Likewise.
  6610. * wcsmbs/wchar.h: Likewise.
  6611. [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
  6612. * wctype/wctype.h: Do not handle C++ namespaces.
  6613. * scripts/begin-end-check.pl: Remove.
  6614. * Makefile (installed-headers): Likewise.
  6615. (tests-special): Do not add $(objpfx)begin-end-check.out.
  6616. ($(objpfx)begin-end-check.out): Remove.
  6617. 2017-03-15 Steve Ellcey <sellcey@caviumnetworks.com>
  6618. Adhemerval Zanella <adhemerval.zanella@linaro.org>
  6619. * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
  6620. (DL_PLATFORM_INIT): New define.
  6621. (dl_platform_init): New function.
  6622. * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
  6623. * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
  6624. * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
  6625. * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
  6626. * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
  6627. 2017-03-15 Mike Frysinger <vapier@gentoo.org>
  6628. * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
  6629. instead of PIC.
  6630. 2017-03-15 Joseph Myers <joseph@codesourcery.com>
  6631. [BZ #21094]
  6632. * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
  6633. 24+24+24-bit pi for wider range of values around pi/2.
  6634. * math/auto-libm-test-in: Add more tests of cos and tan.
  6635. * math/auto-libm-test-out-cos: Regenerated.
  6636. * math/auto-libm-test-out-tan: Likewise.
  6637. 2017-03-15 John David Anglin <danglin@gcc.gnu.org>
  6638. * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
  6639. (RTLD_START): Don't record stack end address in _dl_start_user.
  6640. 2017-03-15 Alexey Neyman <stilor@att.net>
  6641. [BZ #21088]
  6642. * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
  6643. around definitions match those around use.
  6644. 2017-03-15 Alexey Neyman <stilor@att.net>
  6645. * configure.ac: Avoid empty subexpression in grep.
  6646. * configure: Regenerate.
  6647. 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  6648. * posix/test-errno.c (do_test): Initialize setsockopt optlen.
  6649. * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
  6650. * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
  6651. (test_wrp_rv): Fix format.
  6652. (test_wrp_rv2): New macro.
  6653. (do_test): Handle mlock return on 64 bits kernels with 32 bits
  6654. binaries.
  6655. 2017-03-15 Joseph Myers <joseph@codesourcery.com>
  6656. * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
  6657. Use a union when storing pointers.
  6658. (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
  6659. cast result when passing to INIT_VEC_PTRS_LOOP.
  6660. (VECTOR_WRAPPER_fFF_3): Likewise.
  6661. (VECTOR_WRAPPER_fFF_4): Likewise.
  6662. 2017-03-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  6663. * include/bits/mathcalls-helper-functions.h: New file.
  6664. * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
  6665. * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
  6666. (__isinf, __isnan, __issignaling, __signbit): Move declarations to
  6667. math/bits/mathcalls-helper-functions.h.
  6668. * math/bits/mathcalls-helper-functions.h: New file.
  6669. * math/math.h: Include bits/mathcalls-helper-functions.h for
  6670. float, double, and long double.
  6671. 2017-03-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  6672. * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
  6673. instead of feraiseexcept.
  6674. 2017-03-15 Florian Weimer <fweimer@redhat.com>
  6675. [BZ #21243]
  6676. * support/temp_file.c (support_delete_temp_files): Add comment
  6677. about ignored errors.
  6678. 2017-03-15 Florian Weimer <fweimer@redhat.com>
  6679. [BZ #21244]
  6680. * support/xclose.c: New file.
  6681. * support/Makefile (libsupport-routines): Add xclose.
  6682. * support/xunistd.h (xclose): Declare.
  6683. * support/resolv_test.c (server_thread_tcp_client)
  6684. (server_thread_tcp, make_server_sockets, resolv_test_start)
  6685. (resolv_test_end): Call xclose instead of close.
  6686. * support/support_enter_network_namespace.c
  6687. (support_enter_network_namespace): Likewise.
  6688. * support/support_run_diff.c (write_to_temp_file): Likewise.
  6689. 2017-03-15 Florian Weimer <fweimer@redhat.com>
  6690. * support/support_format_dns_packet.c (support_format_dns_packet):
  6691. Handle CNAME records in the response. Extract RDATA names from
  6692. rdata, not the whole packet. Check AAAA record length.
  6693. * support/tst-support_format_dns_packet.c: New file.
  6694. * support/Makefile (tests): Add tst-support_format_dns_packet.
  6695. (tst-support_format_dns_packet): Link against libresolv.
  6696. 2017-03-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  6697. [BZ #21232]
  6698. * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
  6699. posix_fadvise64 weak_alias for static build.
  6700. 2017-03-14 Andreas Schwab <schwab@suse.de>
  6701. * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
  6702. * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
  6703. (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
  6704. * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
  6705. * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
  6706. (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
  6707. * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
  6708. * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
  6709. 2017-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
  6710. * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
  6711. posix error code.
  6712. * sysdeps/mach/hurd/recv.c (__recv): Likewise.
  6713. 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  6714. * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
  6715. no_isolate usage for SH.
  6716. 2017-03-13 Wilco Dijkstra <wdijkstr@arm.com>
  6717. [BZ #15105]
  6718. [BZ #19463]
  6719. * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
  6720. * inet/rcmd.c (rcmd_af): Likewise.
  6721. * inet/rexec.c (rexec_af): Likewise.
  6722. * intl/dcigettext.c (_LIBC): Likewise.
  6723. * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
  6724. * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
  6725. * locale/setlocale.c (setlocale): Likewise.
  6726. * posix/spawn_faction_addopen.c
  6727. (posix_spawn_file_actions_addopen): Likewise.
  6728. * stdlib/putenv.c (putenv): Use __strndup.
  6729. * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
  6730. * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
  6731. * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
  6732. (__Need_M_And_C) Remove define/undef.
  6733. * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
  6734. (__malloc_and_calloc_defined): Remove define.
  6735. * string/bits/string2.h (__strdup): Remove define.
  6736. (strdup): Likewise.
  6737. (__strndup): Likewise.
  6738. (strndup): Likewise.
  6739. 2017-03-13 Joseph Myers <joseph@codesourcery.com>
  6740. * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
  6741. macro.
  6742. (IPV6_ADDR_PREFERENCES): Likewise.
  6743. (IPV6_MINHOPCOUNT): Likewise.
  6744. (IPV6_ORIGDSTADDR): Likewise.
  6745. (IPV6_RECVORIGDSTADDR): Likewise.
  6746. (IPV6_TRANSPARENT): Likewise.
  6747. (IPV6_UNICAST_IF): Likewise.
  6748. (IPV6_RECVFRAGSIZE): Likewise.
  6749. 2017-03-13 Thorsten Kukuk <kukuk@suse.com>
  6750. * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
  6751. 2017-03-12 Alexey Neyman <stilor@att.net>
  6752. * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
  6753. in R_SH_DIR32 case is always false when inlined from
  6754. dl-conflict.c. Ifdef out to prevent GCC from insertin an
  6755. 2016-03-12 Marko Myllynen <myllynen@redhat.com>
  6756. * sysdeps/unix/sysv/linux/alpha/kernel-features.h
  6757. (__ASSUME_RECV_SYSCALL): Replace duplicate by
  6758. __ASSUME_SEND_SYSCALL.
  6759. 2017-03-11 Thorsten Kukuk <kukuk@suse.com>
  6760. * sunrpc/Makefile: don't build and install rpcsvc header
  6761. files, rpcgen and librpcsvc.a by default.
  6762. 2017-03-10 Stefan Liebler <stli@linux.vnet.ibm.com>
  6763. * math/auto-libm-test-out-catan: Regenerated.
  6764. * math/auto-libm-test-out-catanh: Likewise.
  6765. * sysdeps/s390/fpu/libm-test-ulps: Likewise.
  6766. 2017-03-09 Joseph Myers <joseph@codesourcery.com>
  6767. * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
  6768. for long double with corrected test expectations.
  6769. 2016-03-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  6770. * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
  6771. Define.
  6772. * sysdeps/unix/sysv/linux/aarch64/sysdep.h
  6773. (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
  6774. * sysdeps/unix/sysv/linux/nios2/sysdep.h
  6775. (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
  6776. * sysdeps/unix/sysv/linux/tile/sysdep.h
  6777. (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
  6778. * sysdeps/unix/sysv/linux/alpha/kernel-features.h
  6779. (__ASSUME_RECV_SYSCALL): Define.
  6780. * sysdeps/unix/sysv/linux/arm/kernel-features.h
  6781. (__ASSUME_RECV_SYSCALL): Likewise.
  6782. * sysdeps/unix/sysv/linux/hppa/kernel-features.h
  6783. (__ASSUME_RECV_SYSCALL): Likewise.
  6784. * sysdeps/unix/sysv/linux/ia64/kernel-features.h
  6785. (__ASSUME_RECV_SYSCALL): Likewise.
  6786. * sysdeps/unix/sysv/linux/mips/kernel-features.h
  6787. (__ASSUME_RECV_SYSCALL): Likewise.
  6788. * sysdeps/unix/sysv/linux/i386/kernel-features.h
  6789. (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
  6790. * sysdeps/unix/sysv/linux/m68k/kernel-features.h
  6791. (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
  6792. * sysdeps/unix/sysv/linux/s390/kernel-features.h
  6793. (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
  6794. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
  6795. auto-generation list.
  6796. * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
  6797. * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
  6798. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
  6799. * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
  6800. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
  6801. * sysdeps/unix/sysv/linux/send.c: Simplify includes.
  6802. (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
  6803. __ASSUME_SENDTO_SYSCALL.
  6804. * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
  6805. * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
  6806. * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
  6807. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
  6808. auto-generation list.
  6809. * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
  6810. * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
  6811. * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
  6812. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
  6813. * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
  6814. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
  6815. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
  6816. * sysdeps/unix/sysv/linux/kernel-features.h
  6817. (__ASSUME_SENDTO_SYSCALL): Define by default.
  6818. * sysdeps/unix/sysv/linux/i386/kernel-features.h
  6819. (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
  6820. __NR_sendto.
  6821. * sysdeps/unix/sysv/linux/m68k/kernel-features.h
  6822. (__ASSUME_SENDTO_SYSCALL): Likewise.
  6823. * sysdeps/unix/sysv/linux/s390/kernel-features.h
  6824. (__ASSUME_SENDTO_SYSCALL): Likewise.
  6825. * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
  6826. (__ASSUME_SENDTO_SYSCALL): Remove definition.
  6827. * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
  6828. (__ASSUME_SENDTO_SYSCALL): Likewise.
  6829. * sysdeps/unix/sysv/linux/sh/kernel-features.h:
  6830. (__ASSUME_SENDTO_SYSCALL): Likewise.
  6831. * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
  6832. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
  6833. auto-generation list.
  6834. * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
  6835. * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
  6836. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
  6837. * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
  6838. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
  6839. * sysdeps/unix/sysv/linux/alpha/kernel-features.h
  6840. (__ASSUME_RECV_SYSCALL): New define.
  6841. * sysdeps/unix/sysv/linux/arm/kernel-features.h
  6842. (__ASSUME_RECV_SYSCALL): Likewise.
  6843. * sysdeps/unix/sysv/linux/hppa/kernel-features.h
  6844. (__ASSUME_RECV_SYSCALL): Likewise.
  6845. * sysdeps/unix/sysv/linux/ia64/kernel-features.h
  6846. (__ASSUME_RECV_SYSCALL): Likewise.
  6847. * sysdeps/unix/sysv/linux/mips/kernel-features.h
  6848. (__ASSUME_RECV_SYSCALL): Likewise.
  6849. * sysdeps/unix/sysv/linux/i386/kernel-features.h
  6850. (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
  6851. * sysdeps/unix/sysv/linux/m68k/kernel-features.h
  6852. (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
  6853. * sysdeps/unix/sysv/linux/s390/kernel-features.h
  6854. (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
  6855. * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
  6856. * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
  6857. * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
  6858. * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
  6859. (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
  6860. __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
  6861. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
  6862. auto-generation list.
  6863. * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
  6864. * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
  6865. * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
  6866. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
  6867. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
  6868. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
  6869. * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
  6870. * sysdeps/unix/sysv/linux/i386/kernel-features.h
  6871. (__ASSUME_RECVFROM_SYSCALL): Define by default.
  6872. * sysdeps/unix/sysv/linux/kernel-features.h
  6873. (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
  6874. __NR_recvfrom.
  6875. * sysdeps/unix/sysv/linux/m68k/kernel-features.h
  6876. (__ASSUME_RECVFROM_SYSCALL): Likewise.
  6877. * sysdeps/unix/sysv/linux/s390/kernel-features.h
  6878. (__ASSUME_RECVFROM_SYSCALL): Likewise.
  6879. * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
  6880. (__ASSUME_RECVFROM_SYSCALL): Remove definition.
  6881. * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
  6882. (__ASSUME_RECVFROM_SYSCALL): Likewise.
  6883. * sysdeps/unix/sysv/linux/sh/kernel-features.h
  6884. (__ASSUME_RECVFROM_SYSCALL): Likewise.
  6885. * sysdeps/unix/sysv/linux/sparc/kernel-features.h
  6886. (__ASSUME_RECVFROM_SYSCALL): Likewise.
  6887. * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
  6888. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
  6889. auto-generation list.
  6890. * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
  6891. * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
  6892. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
  6893. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
  6894. * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
  6895. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
  6896. * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
  6897. * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
  6898. * sysdeps/unix/sysv/linux/kernel-features.h
  6899. (__ASSUME_CONNECT_SYSCALL): Define.
  6900. * sysdeps/unix/sysv/linux/i386/kernel-features.h
  6901. (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
  6902. * sysdeps/unix/sysv/linux/m68k/kernel-features.h
  6903. (__ASSUME_CONNECT_SYSCALL): Likewise.
  6904. * sysdeps/unix/sysv/linux/s390/kernel-features.h
  6905. (__ASSUME_CONNECT_SYSCALL): Likewise.
  6906. * sysdeps/unix/sysv/linux/sparc/kernel-features.h
  6907. (__ASSUME_CONNECT_SYSCALL): Likewise.
  6908. * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
  6909. __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
  6910. * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
  6911. auto-generation list.
  6912. * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
  6913. * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
  6914. * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
  6915. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
  6916. * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
  6917. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
  6918. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
  6919. * sysdeps/unix/sysv/linux/i386/kernel-features.h
  6920. (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
  6921. (__ASSUME_ACCEPT_SYSCALL): Undefine.
  6922. * sysdeps/unix/sysv/linux/kernel-features.h
  6923. (__ASSUME_ACCEPT_SYSCALL): New define.
  6924. * sysdeps/unix/sysv/linux/m68k/kernel-features.h
  6925. (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
  6926. (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
  6927. * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
  6928. (__ASSUME_ACCEPT_SYSCALL): Define.
  6929. * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
  6930. (__ASSUME_ACCEPT_SYSCALL): Undefine.
  6931. * sysdeps/unix/sysv/linux/s390/kernel-features.h
  6932. (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
  6933. (__ASSUME_ACCEPT_SYSCALL): Undefine.
  6934. * sysdeps/unix/sysv/linux/sh/kernel-features.h
  6935. (__ASSUME_ACCEPT_SYSCALL): Undefine.
  6936. * sysdeps/unix/sysv/linux/sparc/kernel-features.h
  6937. (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
  6938. 2017-03-08 Yury Norov <ynorov@caviumnetworks.com>
  6939. Zack Weinberg <zackw@panix.com>
  6940. * posix/test-errno.c: New file.
  6941. * posix/Makefile (tests): Add test-errno.
  6942. * sysdeps/unix/sysv/linux/test-errno.c: New file.
  6943. * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
  6944. 2017-03-08 Stefan Liebler <stli@linux.vnet.ibm.com>
  6945. * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
  6946. 2017-03-07 Florian Weimer <fweimer@redhat.com>
  6947. * time/tzset.c (compute_offset): Open-code min macro.
  6948. (min, max, sign): Remove.
  6949. 2017-03-07 Florian Weimer <fweimer@redhat.com>
  6950. [BZ #15576]
  6951. Remove TZNAME_MAX limit from sysconf.
  6952. * include/time.h (__tzname_cur_max, __tzname_max): Remove
  6953. declaration.
  6954. * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
  6955. compute_tzname_max.
  6956. (compute_tzname_max): Remove.
  6957. * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
  6958. (update_vars): Do not update __tzname_cur_max.
  6959. (tzset_internal): Remove argument.
  6960. (__tzset): Adjust call to tzset_internal.
  6961. (__tz_convert): Likewise.
  6962. * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
  6963. * sysdeps/posix/sysconf.c (__sysconf): Likewise.
  6964. * manual/conf.texi (Sysconf Definition): Update comment.
  6965. 2017-03-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
  6966. [BZ #21209]
  6967. * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
  6968. AT_SECURE processes.
  6969. * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
  6970. * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
  6971. (test_child): Likewise.
  6972. * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
  6973. 2017-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  6974. * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
  6975. 2017-03-06 Stefan Liebler <stli@linux.vnet.ibm.com>
  6976. * sysdeps/s390/atomic-machine.h
  6977. (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
  6978. (__arch_compare_and_exchange_val_8_acq,
  6979. __arch_compare_and_exchange_val_16_acq,
  6980. __arch_compare_and_exchange_val_32_acq,
  6981. __arch_compare_and_exchange_val_64_acq):
  6982. Delete macro.
  6983. (atomic_compare_and_exchange_val_acq,
  6984. atomic_compare_and_exchange_val_rel,
  6985. atomic_compare_and_exchange_bool_acq,
  6986. catomic_compare_and_exchange_bool_acq,
  6987. atomic_exchange_acq, atomic_exchange_rel,
  6988. atomic_exchange_and_add_acq,
  6989. atomic_exchange_and_add_rel,
  6990. catomic_exchange_and_add, atomic_or_val,
  6991. atomic_or, catomic_or, atomic_bit_test_set,
  6992. atomic_and_val, atomic_and, catomic_and):
  6993. Define macros with help of C11 atomic builtins.
  6994. 2017-03-03 Justus Winter <justus@gnupg.org>
  6995. * sysdeps/mach/hurd/ftruncate64.c: New file.
  6996. * sysdeps/mach/hurd/truncate64.c: Likewise.
  6997. 2017-03-03 Florian Weimer <fweimer@redhat.com>
  6998. * time/tzfile.c (NOID): Do not define.
  6999. * time/tzset.c (NOID): Likewise.
  7000. 2017-03-03 Florian Weimer <fweimer@redhat.com>
  7001. * time/tzset.c (compute_offset): Remove __attribute_noinline__.
  7002. 2017-03-02 Florian Weimer <fweimer@redhat.com>
  7003. * elf/get-dynamic-info.h: Remove header file inclusion guard.
  7004. 2017-03-02 Florian Weimer <fweimer@redhat.com>
  7005. [BZ #21015]
  7006. * manual/install.texi (Configuring and compiling): Document
  7007. --enable-bind-now.
  7008. * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
  7009. (build-shlib-helper): Use $(LDFLAGS-lib.so).
  7010. (format.lds): Likewise.
  7011. [bind-now] (LDFLAGS-c.so): Remove.
  7012. * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
  7013. be R_X86_64_GLOB_DAT.
  7014. * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
  7015. relocation can be R_386_GLOB_DAT.
  7016. * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
  7017. relocaiton can be R_ALPHA_GLOB_DAT.
  7018. * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
  7019. 2017-03-01 Zack Weinberg <zackw@panix.com>
  7020. * include/libc-pointer-arith.h: New file. Define
  7021. cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
  7022. PTR_ALIGN_DOWN here.
  7023. * include/libc-internal.h: Definitions of above macros
  7024. moved from here. Don't include libc-diag.h anymore either.
  7025. * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
  7026. Don't include libc-internal.h.
  7027. * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
  7028. * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
  7029. * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
  7030. * string/strcoll_l.c, sysdeps/nacl/brk.c
  7031. * sysdeps/unix/clock_settime.c
  7032. * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
  7033. * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
  7034. * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
  7035. * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
  7036. Don't include libc-internal.h.
  7037. * elf/get-dynamic-info.h, iconv/loop.c
  7038. * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
  7039. * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
  7040. * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
  7041. * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
  7042. * sysdeps/ieee754/dbl-64/e_lgamma_r.c
  7043. * sysdeps/ieee754/dbl-64/k_rem_pio2.c
  7044. * sysdeps/ieee754/flt-32/e_lgammaf_r.c
  7045. * sysdeps/ieee754/flt-32/k_rem_pio2f.c
  7046. * sysdeps/ieee754/ldbl-128/k_tanl.c
  7047. * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
  7048. * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
  7049. * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
  7050. Include libc-diag.h instead of libc-internal.h.
  7051. * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
  7052. * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
  7053. * malloc/malloc.c, sysdeps/i386/nptl/tls.h
  7054. * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
  7055. * sysdeps/unix/sysv/linux/spawni.c
  7056. * sysdeps/x86_64/nptl/tls.h:
  7057. Include libc-pointer-arith.h instead of libc-internal.h.
  7058. * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
  7059. * sysdeps/x86_64/atomic-machine.h:
  7060. Add multiple include guard.
  7061. * nss/tst-cancel-getpwuid_r.c: Include nss.h.
  7062. * string/strcasestr.c: No need to include config.h.
  7063. * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
  7064. sys/auxv.h. Don't include sysdep.h.
  7065. * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
  7066. * dlfcn/tst-dladdr.c: Don't include ldsodefs.h. Don't use
  7067. DL_LOOKUP_ADDRESS.
  7068. * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
  7069. LDBL_MANT_DIG is greater than DBL_MANT_DIG.
  7070. * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
  7071. sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
  7072. of ARTIFICIAL_LIMIT.
  7073. * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
  7074. declaration of __clone2.
  7075. 2017-02-28 Florian Weimer <fweimer@redhat.com>
  7076. * scripts/backport-support.sh (latest_commit): New file.
  7077. 2017-02-28 Florian Weimer <fweimer@redhat.com>
  7078. [BZ #20257]
  7079. * inet/Makefile (routines): Add deadline.
  7080. (tests-static): Add tst-deadline.
  7081. * inet/net-internal.h (struct deadline_current_time)
  7082. (__deadline_current_time, struct deadline, __deadline_is_infinite)
  7083. (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
  7084. (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
  7085. * inet/deadline.c: New file.
  7086. * inet/tst-deadline.c: Likewise.
  7087. * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
  7088. tst-udp-timeout, tst-udp-garbage.
  7089. (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
  7090. explicitly.
  7091. (tst-udp-garbage): Likewise. Also link against thread library.
  7092. * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
  7093. struct layout is part of the ABI.
  7094. (clntudp_call): Rework timeout handling.
  7095. * sunrpc/tst-udp-garbage.c: New file.
  7096. * sunrpc/tst-udp-nonblocking.c: Likewise.
  7097. * sunrpc/tst-udp-timeout.c: Likewise.
  7098. 2017-02-28 Florian Weimer <fweimer@redhat.com>
  7099. [BZ #5010]
  7100. * sunrpc/svc.c (svc_is_mapped): Remove.
  7101. (svc_unregister): Obtain mapped status while the service is still
  7102. registered.
  7103. * sunrpc/Makefile [have-thread-library] (tests): Add
  7104. tst-svc_register.
  7105. (tst-svc_register): Link against libc.so explicitly and the thread
  7106. library.
  7107. * sunrpc/tst-svc_register.c: New file.
  7108. 2017-02-28 Andreas Schwab <schwab@linux-m68k.org>
  7109. * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
  7110. * sysdeps/pthread/bits/sigthread.h: Likewise.
  7111. 2017-02-27 Florian Weimer <fweimer@redhat.com>
  7112. [BZ #21115]
  7113. * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
  7114. * sunrpc/Makefile (tests): Add tst-udp-error.
  7115. (tst-udp-error): Link against libc.so explicitly.
  7116. * sunrpc/tst-udp-error: New file.
  7117. 2017-02-25 Zack Weinberg <zackw@panix.com>
  7118. * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
  7119. __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
  7120. * sysdeps/generic/math_ldbl.h
  7121. * sysdeps/ia64/fpu/math_ldbl.h
  7122. * sysdeps/ieee754/ldbl-128/math_ldbl.h
  7123. * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
  7124. * sysdeps/ieee754/ldbl-96/math_ldbl.h
  7125. * sysdeps/powerpc/fpu/math_ldbl.h
  7126. * sysdeps/x86_64/fpu/math_ldbl.h:
  7127. Allow direct inclusion. Use uintNN_t instead of u_intNN_t.
  7128. Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
  7129. LITTLE_ENDIAN. Include endian.h and/or stdint.h if necessary.
  7130. Add copyright notices.
  7131. * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
  7132. Don't use EXTRACT_WORDS64.
  7133. * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
  7134. * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
  7135. * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
  7136. * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
  7137. Include math_ldbl.h, not math_private.h.
  7138. 2017-02-25 Zack Weinberg <zackw@panix.com>
  7139. * include/libc-diag.h: New file. Define ignore_value,
  7140. DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
  7141. DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
  7142. * include/libc-internal.h: Definitions of above macros moved from
  7143. here. Include libc-diag.h. Add copyright notice.
  7144. * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
  7145. * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
  7146. * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
  7147. * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
  7148. * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
  7149. * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
  7150. * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
  7151. * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
  7152. Include libc-diag.h instead of libc-internal.h.
  7153. * stdlib/tst-environ.c: Include libc-diag.h. Suppress -Wnonnull for
  7154. call to unsetenv (NULL).
  7155. * nptl/tst-mutex1.c: Include libc-diag.h. Suppress -Wnonnull for
  7156. call to pthread_mutexattr_destroy (NULL).
  7157. 2017-02-25 Zack Weinberg <zackw@panix.com>
  7158. * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
  7159. * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
  7160. __GLIBC_USE (DEPRECATED_GETS). Update comments to indicate
  7161. gets was removed from C++ in C++14.
  7162. * include/stdio.h: Remove redundant declaration of gets.
  7163. * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
  7164. be declared, since we are testing it.
  7165. * stdio-common/Makefile (tst-gets.c): Compile with
  7166. -Wno-deprecated-declarations.
  7167. * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
  7168. (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
  7169. (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
  7170. Compile with -Wno-deprecated-declarations.
  7171. 2017-02-24 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  7172. * math/libm-test-support.c (check_ulp): Use LIT() around literal
  7173. numbers.
  7174. 2017-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
  7175. * resolv/tst-resolv-qtypes.c (domain):
  7176. Change type to const pointer to const char.
  7177. 2017-02-24 Joseph Myers <joseph@codesourcery.com>
  7178. * math/Makefile (libm-tests-generated): Remove variable.
  7179. (libm-tests-base-normal): New variable.
  7180. (libm-tests-base-finite): Likewise.
  7181. (libm-tests-base-inline): Likewise.
  7182. (libm-tests-base): Likewise.
  7183. (libm-tests-normal): Likewise.
  7184. (libm-tests-finite): Likewise.
  7185. (libm-tests-inline): Likewise.
  7186. (libm-tests-vector): Likewise.
  7187. (libm-tests): Define in terms of these new variables.
  7188. (libm-tests-for-type): New variable.
  7189. (libm-tests.o): Move definition.
  7190. (tests): Move addition of $(libm-tests).
  7191. (generated): Update for new and removed libm test files.
  7192. ($(objpfx)libm-test.c): Remove target.
  7193. ($(objpfx)libm-have-vector-test.h): Likewise.
  7194. (CFLAGS-test-double-vlen2.c): Remove variable.
  7195. (CFLAGS-test-double-vlen4.c): Likewise.
  7196. (CFLAGS-test-double-vlen8.c): Likewise.
  7197. (CFLAGS-test-float-vlen4.c): Likewise.
  7198. (CFLAGS-test-float-vlen8.c): Likewise.
  7199. (CFLAGS-test-float-vlen16.c): Likewise.
  7200. (CFLAGS-test-float.c): Likewise.
  7201. (CFLAGS-test-float-finite.c): Likewise.
  7202. (CFLAGS-libm-test-support-float.c): Likewise.
  7203. (CFLAGS-test-double.c): Likewise.
  7204. (CFLAGS-test-double-finite.c): Likewise.
  7205. (CFLAGS-libm-test-support-double.c): Likewise.
  7206. (CFLAGS-test-ldouble.c): Likewise.
  7207. (CFLAGS-test-ldouble-finite.c): Likewise.
  7208. (CFLAGS-libm-test-support-ldouble.c): Likewise.
  7209. (libm-test-inline-cflags): New variable.
  7210. (CFLAGS-test-ifloat.c): Remove variable.
  7211. (CFLAGS-test-idouble.c): Likewise.
  7212. (CFLAGS-test-ildouble.c): Likewise.
  7213. ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
  7214. dependencies.
  7215. ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
  7216. ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
  7217. ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
  7218. ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
  7219. ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
  7220. Likewise.
  7221. (dependencies on libm-test-support-*.o): Remove.
  7222. ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
  7223. rules using iterators.
  7224. ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
  7225. Likewise.
  7226. ($(objpfx)libm-test-support-$(o).o): Likewise.
  7227. ($(addprefix $(objpfx),$(filter-out $(tests-static)
  7228. $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
  7229. instead.
  7230. ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
  7231. define rule instead.
  7232. * math/README.libm-test: Update.
  7233. * math/libm-test-acos.inc: Include libm-test-driver.c.
  7234. (do_test): New function.
  7235. * math/libm-test-acosh.inc: Include libm-test-driver.c.
  7236. (do_test): New function.
  7237. * math/libm-test-asin.inc: Include libm-test-driver.c.
  7238. (do_test): New function.
  7239. * math/libm-test-asinh.inc: Include libm-test-driver.c.
  7240. (do_test): New function.
  7241. * math/libm-test-atan.inc: Include libm-test-driver.c.
  7242. (do_test): New function.
  7243. * math/libm-test-atan2.inc: Include libm-test-driver.c.
  7244. (do_test): New function.
  7245. * math/libm-test-atanh.inc: Include libm-test-driver.c.
  7246. (do_test): New function.
  7247. * math/libm-test-cabs.inc: Include libm-test-driver.c.
  7248. (do_test): New function.
  7249. * math/libm-test-cacos.inc: Include libm-test-driver.c.
  7250. (do_test): New function.
  7251. * math/libm-test-cacosh.inc: Include libm-test-driver.c.
  7252. (do_test): New function.
  7253. * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
  7254. (do_test): New function.
  7255. * math/libm-test-carg.inc: Include libm-test-driver.c.
  7256. (do_test): New function.
  7257. * math/libm-test-casin.inc: Include libm-test-driver.c.
  7258. (do_test): New function.
  7259. * math/libm-test-casinh.inc: Include libm-test-driver.c.
  7260. (do_test): New function.
  7261. * math/libm-test-catan.inc: Include libm-test-driver.c.
  7262. (do_test): New function.
  7263. * math/libm-test-catanh.inc: Include libm-test-driver.c.
  7264. (do_test): New function.
  7265. * math/libm-test-cbrt.inc: Include libm-test-driver.c.
  7266. (do_test): New function.
  7267. * math/libm-test-ccos.inc: Include libm-test-driver.c.
  7268. (do_test): New function.
  7269. * math/libm-test-ccosh.inc: Include libm-test-driver.c.
  7270. (do_test): New function.
  7271. * math/libm-test-ceil.inc: Include libm-test-driver.c.
  7272. (do_test): New function.
  7273. * math/libm-test-cexp.inc: Include libm-test-driver.c.
  7274. (do_test): New function.
  7275. * math/libm-test-cimag.inc: Include libm-test-driver.c.
  7276. (do_test): New function.
  7277. * math/libm-test-clog.inc: Include libm-test-driver.c.
  7278. (do_test): New function.
  7279. * math/libm-test-clog10.inc: Include libm-test-driver.c.
  7280. (do_test): New function.
  7281. * math/libm-test-conj.inc: Include libm-test-driver.c.
  7282. (do_test): New function.
  7283. * math/libm-test-copysign.inc: Include libm-test-driver.c.
  7284. (do_test): New function.
  7285. * math/libm-test-cos.inc: Include libm-test-driver.c.
  7286. (do_test): New function.
  7287. * math/libm-test-cosh.inc: Include libm-test-driver.c.
  7288. (do_test): New function.
  7289. * math/libm-test-cpow.inc: Include libm-test-driver.c.
  7290. (do_test): New function.
  7291. * math/libm-test-cproj.inc: Include libm-test-driver.c.
  7292. (do_test): New function.
  7293. * math/libm-test-creal.inc: Include libm-test-driver.c.
  7294. (do_test): New function.
  7295. * math/libm-test-csin.inc: Include libm-test-driver.c.
  7296. (do_test): New function.
  7297. * math/libm-test-csinh.inc: Include libm-test-driver.c.
  7298. (do_test): New function.
  7299. * math/libm-test-csqrt.inc: Include libm-test-driver.c.
  7300. (do_test): New function.
  7301. * math/libm-test-ctan.inc: Include libm-test-driver.c.
  7302. (do_test): New function.
  7303. * math/libm-test-ctanh.inc: Include libm-test-driver.c.
  7304. (do_test): New function.
  7305. * math/libm-test-erf.inc: Include libm-test-driver.c.
  7306. (do_test): New function.
  7307. * math/libm-test-erfc.inc: Include libm-test-driver.c.
  7308. (do_test): New function.
  7309. * math/libm-test-exp.inc: Include libm-test-driver.c.
  7310. (do_test): New function.
  7311. * math/libm-test-exp10.inc: Include libm-test-driver.c.
  7312. (do_test): New function.
  7313. * math/libm-test-exp2.inc: Include libm-test-driver.c.
  7314. (do_test): New function.
  7315. * math/libm-test-expm1.inc: Include libm-test-driver.c.
  7316. (do_test): New function.
  7317. * math/libm-test-fabs.inc: Include libm-test-driver.c.
  7318. (do_test): New function.
  7319. * math/libm-test-fdim.inc: Include libm-test-driver.c.
  7320. (do_test): New function.
  7321. * math/libm-test-floor.inc: Include libm-test-driver.c.
  7322. (do_test): New function.
  7323. * math/libm-test-fma.inc: Include libm-test-driver.c.
  7324. (do_test): New function.
  7325. * math/libm-test-fmax.inc: Include libm-test-driver.c.
  7326. (do_test): New function.
  7327. * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
  7328. (do_test): New function.
  7329. * math/libm-test-fmin.inc: Include libm-test-driver.c.
  7330. (do_test): New function.
  7331. * math/libm-test-fminmag.inc: Include libm-test-driver.c.
  7332. (do_test): New function.
  7333. * math/libm-test-fmod.inc: Include libm-test-driver.c.
  7334. (do_test): New function.
  7335. * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
  7336. (do_test): New function.
  7337. * math/libm-test-frexp.inc: Include libm-test-driver.c.
  7338. (do_test): New function.
  7339. * math/libm-test-fromfp.inc: Include libm-test-driver.c.
  7340. (do_test): New function.
  7341. * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
  7342. (do_test): New function.
  7343. * math/libm-test-getpayload.inc: Include libm-test-driver.c.
  7344. (do_test): New function.
  7345. * math/libm-test-hypot.inc: Include libm-test-driver.c.
  7346. (do_test): New function.
  7347. * math/libm-test-ilogb.inc: Include libm-test-driver.c.
  7348. (do_test): New function.
  7349. * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
  7350. (do_test): New function.
  7351. * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
  7352. (do_test): New function.
  7353. * math/libm-test-isfinite.inc: Include libm-test-driver.c.
  7354. (do_test): New function.
  7355. * math/libm-test-isgreater.inc: Include libm-test-driver.c.
  7356. (do_test): New function.
  7357. * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
  7358. (do_test): New function.
  7359. * math/libm-test-isinf.inc: Include libm-test-driver.c.
  7360. (do_test): New function.
  7361. * math/libm-test-isless.inc: Include libm-test-driver.c.
  7362. (do_test): New function.
  7363. * math/libm-test-islessequal.inc: Include libm-test-driver.c.
  7364. (do_test): New function.
  7365. * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
  7366. (do_test): New function.
  7367. * math/libm-test-isnan.inc: Include libm-test-driver.c.
  7368. (do_test): New function.
  7369. * math/libm-test-isnormal.inc: Include libm-test-driver.c.
  7370. (do_test): New function.
  7371. * math/libm-test-issignaling.inc: Include libm-test-driver.c.
  7372. (do_test): New function.
  7373. * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
  7374. (do_test): New function.
  7375. * math/libm-test-isunordered.inc: Include libm-test-driver.c.
  7376. (do_test): New function.
  7377. * math/libm-test-iszero.inc: Include libm-test-driver.c.
  7378. (do_test): New function.
  7379. * math/libm-test-j0.inc: Include libm-test-driver.c.
  7380. (do_test): New function.
  7381. * math/libm-test-j1.inc: Include libm-test-driver.c.
  7382. (do_test): New function.
  7383. * math/libm-test-jn.inc: Include libm-test-driver.c.
  7384. (do_test): New function.
  7385. * math/libm-test-lgamma.inc: Include libm-test-driver.c.
  7386. (do_test): New function.
  7387. * math/libm-test-llogb.inc: Include libm-test-driver.c.
  7388. (do_test): New function.
  7389. * math/libm-test-llrint.inc: Include libm-test-driver.c.
  7390. (do_test): New function.
  7391. * math/libm-test-llround.inc: Include libm-test-driver.c.
  7392. (do_test): New function.
  7393. * math/libm-test-log.inc: Include libm-test-driver.c.
  7394. (do_test): New function.
  7395. * math/libm-test-log10.inc: Include libm-test-driver.c.
  7396. (do_test): New function.
  7397. * math/libm-test-log1p.inc: Include libm-test-driver.c.
  7398. (do_test): New function.
  7399. * math/libm-test-log2.inc: Include libm-test-driver.c.
  7400. (do_test): New function.
  7401. * math/libm-test-logb.inc: Include libm-test-driver.c.
  7402. (do_test): New function.
  7403. * math/libm-test-lrint.inc: Include libm-test-driver.c.
  7404. (do_test): New function.
  7405. * math/libm-test-lround.inc: Include libm-test-driver.c.
  7406. (do_test): New function.
  7407. * math/libm-test-modf.inc: Include libm-test-driver.c.
  7408. (do_test): New function.
  7409. * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
  7410. (do_test): New function.
  7411. * math/libm-test-nextafter.inc: Include libm-test-driver.c.
  7412. (do_test): New function.
  7413. * math/libm-test-nextdown.inc: Include libm-test-driver.c.
  7414. (do_test): New function.
  7415. * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
  7416. (do_test): New function.
  7417. * math/libm-test-nextup.inc: Include libm-test-driver.c.
  7418. (do_test): New function.
  7419. * math/libm-test-pow.inc: Include libm-test-driver.c.
  7420. (do_test): New function.
  7421. * math/libm-test-remainder.inc: Include libm-test-driver.c.
  7422. (do_test): New function.
  7423. * math/libm-test-remquo.inc: Include libm-test-driver.c.
  7424. (do_test): New function.
  7425. * math/libm-test-rint.inc: Include libm-test-driver.c.
  7426. (do_test): New function.
  7427. * math/libm-test-round.inc: Include libm-test-driver.c.
  7428. (do_test): New function.
  7429. * math/libm-test-roundeven.inc: Include libm-test-driver.c.
  7430. (do_test): New function.
  7431. * math/libm-test-scalb.inc: Include libm-test-driver.c.
  7432. (do_test): New function.
  7433. * math/libm-test-scalbln.inc: Include libm-test-driver.c.
  7434. (do_test): New function.
  7435. * math/libm-test-scalbn.inc: Include libm-test-driver.c.
  7436. (do_test): New function.
  7437. * math/libm-test-setpayload.inc: Include libm-test-driver.c.
  7438. (do_test): New function.
  7439. * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
  7440. (do_test): New function.
  7441. * math/libm-test-signbit.inc: Include libm-test-driver.c.
  7442. (do_test): New function.
  7443. * math/libm-test-significand.inc: Include libm-test-driver.c.
  7444. (do_test): New function.
  7445. * math/libm-test-sin.inc: Include libm-test-driver.c.
  7446. (do_test): New function.
  7447. * math/libm-test-sincos.inc: Include libm-test-driver.c.
  7448. (do_test): New function.
  7449. * math/libm-test-sinh.inc: Include libm-test-driver.c.
  7450. (do_test): New function.
  7451. * math/libm-test-sqrt.inc: Include libm-test-driver.c.
  7452. (do_test): New function.
  7453. * math/libm-test-tan.inc: Include libm-test-driver.c.
  7454. (do_test): New function.
  7455. * math/libm-test-tanh.inc: Include libm-test-driver.c.
  7456. (do_test): New function.
  7457. * math/libm-test-tgamma.inc: Include libm-test-driver.c.
  7458. (do_test): New function.
  7459. * math/libm-test-totalorder.inc: Include libm-test-driver.c.
  7460. (do_test): New function.
  7461. * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
  7462. (do_test): New function.
  7463. * math/libm-test-trunc.inc: Include libm-test-driver.c.
  7464. (do_test): New function.
  7465. * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
  7466. (do_test): New function.
  7467. * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
  7468. (do_test): New function.
  7469. * math/libm-test-y0.inc: Include libm-test-driver.c.
  7470. (do_test): New function.
  7471. * math/libm-test-y1.inc: Include libm-test-driver.c.
  7472. (do_test): New function.
  7473. * math/libm-test-yn.inc: Include libm-test-driver.c.
  7474. (do_test): New function.
  7475. * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
  7476. (HAVE_VECTOR): Remove macro.
  7477. (START): Do not call HAVE_VECTOR.
  7478. * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
  7479. * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
  7480. * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
  7481. * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
  7482. * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
  7483. * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
  7484. * math/test-math-vector.h (FUNC_TEST): New macro.
  7485. (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
  7486. * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
  7487. (double-vlen4-funcs): Likewise.
  7488. (double-vlen4-avx2-funcs): Likewise.
  7489. (double-vlen8-funcs): Likewise.
  7490. (float-vlen4-funcs): Likewise.
  7491. (float-vlen8-funcs): Likewise.
  7492. (float-vlen8-avx2-funcs): Likewise.
  7493. (float-vlen16-funcs): Likewise.
  7494. (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
  7495. (CFLAGS-test-float-vlen8-avx2.c): Likewise.
  7496. * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
  7497. macro.
  7498. (TEST_VECTOR_sin): Likewise.
  7499. (TEST_VECTOR_sincos): Likewise.
  7500. (TEST_VECTOR_log): Likewise.
  7501. (TEST_VECTOR_exp): Likewise.
  7502. (TEST_VECTOR_pow): Likewise.
  7503. * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
  7504. Likewise.
  7505. (TEST_VECTOR_sin): Likewise.
  7506. (TEST_VECTOR_sincos): Likewise.
  7507. (TEST_VECTOR_log): Likewise.
  7508. (TEST_VECTOR_exp): Likewise.
  7509. (TEST_VECTOR_pow): Likewise.
  7510. * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
  7511. Likewise.
  7512. (TEST_VECTOR_sinf): Likewise.
  7513. (TEST_VECTOR_sincosf): Likewise.
  7514. (TEST_VECTOR_logf): Likewise.
  7515. (TEST_VECTOR_expf): Likewise.
  7516. (TEST_VECTOR_powf): Likewise.
  7517. * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
  7518. Likewise.
  7519. (TEST_VECTOR_sinf): Likewise.
  7520. (TEST_VECTOR_sincosf): Likewise.
  7521. (TEST_VECTOR_logf): Likewise.
  7522. (TEST_VECTOR_expf): Likewise.
  7523. (TEST_VECTOR_powf): Likewise.
  7524. * math/gen-libm-have-vector-test.sh: Remove file.
  7525. * math/libm-test.inc: Likewise.
  7526. * math/libm-test-support-double.c: Likewise.
  7527. * math/libm-test-support-float.c: Likewise.
  7528. * math/libm-test-support-ldouble.c: Likewise.
  7529. * math/test-double-finite.c: Likewise.: Likewise.
  7530. * math/test-double.c: Likewise.
  7531. * math/test-float-finite.c: Likewise.
  7532. * math/test-float.c: Likewise.
  7533. * math/test-idouble.c: Likewise.
  7534. * math/test-ifloat.c: Likewise.
  7535. * math/test-ildouble.c: Likewise.
  7536. * math/test-ldouble-finite.c: Likewise.
  7537. * math/test-ldouble.c: Likewise.
  7538. * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
  7539. * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
  7540. * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
  7541. * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
  7542. * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
  7543. * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
  7544. * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
  7545. * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
  7546. * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
  7547. * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
  7548. 2017-02-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  7549. Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  7550. * math/Makefile: Add wrappers to gen-libm-calls.
  7551. * math/w_acos_template.c: New file.
  7552. * math/w_acosh_template.c: Likewise.
  7553. * math/w_asin_template.c: Likewise.
  7554. * math/w_atan2_template.c: Likewise.
  7555. * math/w_atanh_template.c: Likewise.
  7556. * math/w_cosh_template.c: Likewise.
  7557. * math/w_exp10_template.c: Likewise.
  7558. * math/w_exp2_template.c: Likewise.
  7559. * math/w_exp_template.c: Likewise.
  7560. * math/w_fmod_template.c: Likewise.
  7561. * math/w_hypot_template.c: Likewise.
  7562. * math/w_j0_template.c: Likewise.
  7563. * math/w_j1_template.c: Likewise.
  7564. * math/w_jn_template.c: Likewise.
  7565. * math/w_lgamma_r_template.c: Likewise.
  7566. * math/w_lgamma_template.c: Likewise.
  7567. * math/w_log10_template.c: Likewise.
  7568. * math/w_log2_template.c: Likewise.
  7569. * math/w_log_template.c: Likewise.
  7570. * math/w_pow_template.c: Likewise.
  7571. * math/w_remainder_template.c: Likewise.
  7572. * math/w_sinh_template.c: Likewise.
  7573. * math/w_sqrt_template.c: Likewise.
  7574. * math/w_tgamma_template.c: Likewise.: Likewise.
  7575. * sysdeps/generic/math-type-macros-double.h
  7576. (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
  7577. the new wrappers.
  7578. * sysdeps/generic/math-type-macros-float.h: Likewise.
  7579. * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
  7580. 2017-02-22 Joseph Myers <joseph@codesourcery.com>
  7581. * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
  7582. New enum constant and macro.
  7583. * scripts/build-many-glibcs.py (Context.checkout): Default Linux
  7584. kernel version to 4.10.
  7585. 2017-02-21 Joseph Myers <joseph@codesourcery.com>
  7586. * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
  7587. 2017-02-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  7588. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  7589. 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
  7590. * sysdeps/powerpc/tst-set_ppr.c: New file.
  7591. Implement test cases for __ppc_set_ppr_* functions.
  7592. * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
  7593. in the list of tests.
  7594. 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
  7595. * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
  7596. instead of test-skeleton.c.
  7597. (do_test): Replaced pthread_create and pthread_join with
  7598. xpthread_create and xpthread_join. Use TEST_VERIFY_EXIT macro.
  7599. Removed unneeded status variable.
  7600. * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
  7601. instead of test-skeleton.c.
  7602. * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
  7603. 2017-02-20 Mike FABIAN <mfabian@redhat.com>
  7604. [BZ #20313]
  7605. * include/stdc-predef.h (__STDC_ISO_10646__): Update to
  7606. 201605L, for Unicode 9.
  7607. 2017-02-20 Joseph Myers <joseph@codesourcery.com>
  7608. * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
  7609. (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
  7610. (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
  7611. (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
  7612. (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
  7613. (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
  7614. 2017-02-19 Zack Weinberg <zackw@panix.com>
  7615. * rt/tst-mqueue4.c: Include stdint.h.
  7616. 2017-02-17 Joseph Myers <joseph@codesourcery.com>
  7617. * sysdeps/arm/libm-test-ulps: Update.
  7618. * sysdeps/mips/mips32/libm-test-ulps: Likewise.
  7619. * sysdeps/mips/mips64/libm-test-ulps: Likewise.
  7620. * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
  7621. 2017-01-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  7622. [BZ #21029]
  7623. * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
  7624. * sysdeps/unix/sysv/linux/i386/Makefile
  7625. [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
  7626. (uses-6-syscall-arguments): Remove.
  7627. [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
  7628. [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
  7629. [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
  7630. [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
  7631. [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
  7632. [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
  7633. [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
  7634. [$(subdir) = misc] (cflags-pselect.o): Likewise.
  7635. [$(subdir) = misc] (cflags-pselect.os): Likewise.
  7636. [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
  7637. [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
  7638. [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
  7639. [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
  7640. [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
  7641. [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
  7642. [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
  7643. [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
  7644. [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
  7645. [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
  7646. [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
  7647. [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
  7648. [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
  7649. [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
  7650. [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
  7651. [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
  7652. Likewise.
  7653. [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
  7654. Likewise.
  7655. [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
  7656. Likewise.
  7657. [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
  7658. Likewise.
  7659. [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
  7660. [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
  7661. [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
  7662. [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
  7663. * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
  7664. ebp on inline assembly.
  7665. * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
  7666. * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
  7667. Set if CAN_USE_REGISTER_ASM_EBP is set.
  7668. 2017-02-17 H.J. Lu <hongjiu.lu@intel.com>
  7669. * sysdeps/x86/cpu-features.c (init_cpu_features): Use
  7670. index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
  7671. 2017-02-17 Joseph Myers <joseph@codesourcery.com>
  7672. * math/auto-libm-test-in: Add tests of catan and catanh.
  7673. * math/auto-libm-test-out-catan: New generated file.
  7674. * math/auto-libm-test-out-catanh: Likewise.
  7675. * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
  7676. Move tests with finite inputs, except divide-by-zero cases, to
  7677. auto-libm-test-in.
  7678. * math/libm-test-catanh.inc (catanh_test_data): Likewise.
  7679. * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
  7680. (libm-test-funcs-noauto): Remove catan and catanh.
  7681. * sysdeps/i386/fpu/libm-test-ulps: Update.
  7682. * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
  7683. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  7684. * math/auto-libm-test-in: Add tests of casin and casinh.
  7685. * math/auto-libm-test-out-casin: New generated file.
  7686. * math/auto-libm-test-out-casinh: Likewise.
  7687. * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
  7688. Move tests with finite inputs to auto-libm-test-in.
  7689. * math/libm-test-casinh.inc (casinh_test_data): Likewise.
  7690. * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
  7691. (libm-test-funcs-noauto): Remove casin and casinh.
  7692. * sysdeps/i386/fpu/libm-test-ulps: Update.
  7693. * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
  7694. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  7695. * math/auto-libm-test-in: Add tests of cacos and cacosh.
  7696. * math/auto-libm-test-out-cacos: New generated file.
  7697. * math/auto-libm-test-out-cacosh: Likewise.
  7698. * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
  7699. Move tests with finite inputs to auto-libm-test-in.
  7700. * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
  7701. * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
  7702. (libm-test-funcs-noauto): Remove cacos and cacosh.
  7703. * sysdeps/i386/fpu/libm-test-ulps: Update.
  7704. * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
  7705. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  7706. Revert:
  7707. 2017-02-16 Zack Weinberg <zackw@panix.com>
  7708. * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
  7709. Don't include init-arch.h.
  7710. * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
  7711. Don't include init-arch.h.
  7712. 2017-02-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  7713. [BZ #21171]
  7714. * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
  7715. +Inf and raise divide-by-zero when x is negative.
  7716. * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
  7717. * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
  7718. * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Return
  7719. -Inf and raise divide-by-zero when x = +-0.
  7720. * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
  7721. * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
  7722. * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
  7723. * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
  7724. * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
  7725. * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
  7726. * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
  7727. 2017-02-16 Zack Weinberg <zackw@panix.com>
  7728. * scripts/build-many-glibcs.py (bot_build_mail): If the
  7729. bot_config does not contain all of the necessary email-
  7730. related settings, just print a warning and continue.
  7731. 2017-02-16 Zack Weinberg <zackw@panix.com>
  7732. * crypt/md5.h: Test _LIBC with #if defined, not #if.
  7733. * dirent/opendir-tst1.c: Include sys/stat.h.
  7734. * dirent/tst-fdopendir.c: Include sys/stat.h.
  7735. * dirent/tst-fdopendir2.c: Include stdlib.h.
  7736. * dirent/tst-scandir.c: Include stdbool.h.
  7737. * elf/tst-auditmod1.c: Include link.h and stddef.h.
  7738. * elf/tst-tls15.c: Include stdlib.h.
  7739. * elf/tst-tls16.c: Include stdlib.h.
  7740. * elf/tst-tls17.c: Include stdlib.h.
  7741. * elf/tst-tls18.c: Include stdlib.h.
  7742. * iconv/tst-iconv6.c: Include endian.h.
  7743. * iconvdata/bug-iconv11.c: Include limits.h.
  7744. * io/test-utime.c: Include stdint.h.
  7745. * io/tst-faccessat.c: Include sys/stat.h.
  7746. * io/tst-fchmodat.c: Include sys/stat.h.
  7747. * io/tst-fchownat.c: Include sys/stat.h.
  7748. * io/tst-fstatat.c: Include sys/stat.h.
  7749. * io/tst-futimesat.c: Include sys/stat.h.
  7750. * io/tst-linkat.c: Include sys/stat.h.
  7751. * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
  7752. * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
  7753. * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
  7754. * io/tst-openat.c: Include stdbool.h.
  7755. * io/tst-readlinkat.c: Include sys/stat.h.
  7756. * io/tst-renameat.c: Include sys/stat.h.
  7757. * io/tst-symlinkat.c: Include sys/stat.h.
  7758. * io/tst-unlinkat.c: Include stdbool.h.
  7759. * libio/bug-memstream1.c: Include stdlib.h.
  7760. * libio/bug-wmemstream1.c: Include stdlib.h.
  7761. * libio/tst-fwrite-error.c: Include stdlib.h.
  7762. * libio/tst-memstream1.c: Include stdlib.h.
  7763. * libio/tst-memstream2.c: Include stdlib.h.
  7764. * libio/tst-memstream3.c: Include stdlib.h.
  7765. * malloc/tst-interpose-aux.c: Include stdint.h.
  7766. * misc/tst-preadvwritev-common.c: Include sys/stat.h.
  7767. * nptl/tst-basic7.c: Include limits.h.
  7768. * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
  7769. * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
  7770. * nptl/tst-cancel4_1.c: Include stddef.h.
  7771. * nptl/tst-cancel4_2.c: Include stddef.h.
  7772. * nptl/tst-cond16.c: Include limits.h.
  7773. Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
  7774. * nptl/tst-cond18.c: Include limits.h.
  7775. Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
  7776. * nptl/tst-cond4.c: Include stdint.h.
  7777. * nptl/tst-cond6.c: Include stdint.h.
  7778. * nptl/tst-stack2.c: Include limits.h.
  7779. * nptl/tst-stackguard1.c: Include stddef.h.
  7780. * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
  7781. * nptl/tst-tls4moda.c: Include stddef.h.
  7782. Don't include stdio.h, unistd.h, or tls.h.
  7783. * nptl/tst-tls4modb.c: Include stddef.h.
  7784. Don't include stdio.h, unistd.h, or tls.h.
  7785. * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
  7786. * posix/tst-getaddrinfo2.c: Include stdio.h.
  7787. * posix/tst-getaddrinfo5.c: Include stdio.h.
  7788. * posix/tst-pathconf.c: Include sys/stat.h.
  7789. * posix/tst-posix_fadvise-common.c: Include stdint.h.
  7790. * posix/tst-preadwrite-common.c: Include sys/stat.h.
  7791. * posix/tst-regex.c: Include stdint.h.
  7792. Don't include spawn.h or spawn_int.h.
  7793. * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
  7794. * posix/tst-vfork3.c: Include sys/stat.h.
  7795. * resolv/tst-bug18665-tcp.c: Include stdlib.h.
  7796. * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
  7797. * resolv/tst-resolv-search.c: Include stdlib.h.
  7798. * stdio-common/tst-fmemopen2.c: Include stdint.h.
  7799. * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
  7800. * stdlib/test-canon.c: Include sys/stat.h.
  7801. * stdlib/tst-tls-atexit.c: Include stdbool.h.
  7802. * string/test-memchr.c: Include stdint.h.
  7803. * string/tst-cmp.c: Include stdint.h.
  7804. * sysdeps/pthread/tst-timer.c: Include stdint.h.
  7805. * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
  7806. * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
  7807. * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
  7808. Don't include init-arch.h.
  7809. * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
  7810. Don't include init-arch.h.
  7811. * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
  7812. * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
  7813. * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
  7814. * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
  7815. * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
  7816. * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
  7817. * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
  7818. * time/clocktest.c: Include stdint.h.
  7819. * time/tst-posixtz.c: Include stdint.h.
  7820. * timezone/tst-timezone.c: Include stdint.h.
  7821. 2017-02-16 Zack Weinberg <zackw@panix.com>
  7822. * string/string.h [__USE_MISC]: Include strings.h.
  7823. (__bzero, bcmp, bcopy, bzero, index, rindex)
  7824. (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
  7825. (ffs, ffsl, ffsll): Don't declare.
  7826. * string/strings.h: Do not suppress the file if string.h has
  7827. already been included.
  7828. (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
  7829. annotations.
  7830. (index, rindex): Define inline forwarders even if
  7831. __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
  7832. (ffs): Use __attribute_const__.
  7833. (ffsl, ffsll): Declare here.
  7834. (strcasecmp_l, strncasecmp_l): Correct comments; these functions
  7835. have now been standardized.
  7836. * include/string.h (__bzero): Declare here.
  7837. * bits/types.h: Move to posix/bits.
  7838. * include/bits/types.h: New wrapper.
  7839. 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
  7840. * string/bits/string2.h (strcmp): Remove define.
  7841. (__strcmp_cg): Likewise.
  7842. (strncmp): Likewise.
  7843. 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
  7844. * include/string.h: Add __cplusplus check.
  7845. 2017-02-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  7846. [BZ #21134]
  7847. * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
  7848. "divide by zero" exception when the input is zero.
  7849. * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
  7850. * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
  7851. * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
  7852. * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
  7853. * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
  7854. 2017-02-15 Joseph Myers <joseph@codesourcery.com>
  7855. * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
  7856. and include ...
  7857. * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here. New file.
  7858. * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
  7859. to, and include ...
  7860. * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here. New
  7861. file.
  7862. * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
  7863. and include ...
  7864. * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here. New file.
  7865. * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
  7866. and include ...
  7867. * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here. New file.
  7868. * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
  7869. and include ...
  7870. * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here. New file.
  7871. * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
  7872. and include ...
  7873. * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here. New file.
  7874. * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
  7875. to, and include ...
  7876. * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here. New file.
  7877. * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
  7878. and include ...
  7879. * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here. New file.
  7880. 2017-02-14 Joseph Myers <joseph@codesourcery.com>
  7881. * math/libm-test-support.h: Do not include <math-tests-arch.h>
  7882. here.
  7883. * math/libm-test-support.c (libm_test_init): Do not call
  7884. INIT_ARCH_EXT here.
  7885. * math/libm-test-driver.c: Include <math-tests-arch.h>.
  7886. (main): Call INIT_ARCH_EXT.
  7887. 2017-02-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  7888. [BZ #21130]
  7889. * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
  7890. with the "invalid" exception raised when x is -Inf.
  7891. * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
  7892. 2017-02-10 Wilco Dijkstra <wdijkstr@arm.com>
  7893. * string/bits/string2.h (strchr): Remove define.
  7894. 2017-02-09 H.J. Lu <hongjiu.lu@intel.com>
  7895. * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
  7896. tst-avx512.
  7897. (test-extras): Add tst-avx-aux and tst-avx512-aux.
  7898. (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
  7899. (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
  7900. ($(objpfx)tst-sse): New rule.
  7901. ($(objpfx)tst-avx): Likewise.
  7902. ($(objpfx)tst-avx512): Likewise.
  7903. (CFLAGS-tst-avx-aux.c): New.
  7904. (CFLAGS-tst-avxmod.c): Likewise.
  7905. (CFLAGS-tst-avx512-aux.c): Likewise.
  7906. (CFLAGS-tst-avx512mod.c): Likewise.
  7907. * sysdeps/x86_64/tst-avx-aux.c: New file.
  7908. * sysdeps/x86_64/tst-avx.c: Likewise.
  7909. * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
  7910. * sysdeps/x86_64/tst-avx512.c: Likewise.
  7911. * sysdeps/x86_64/tst-avx512mod.c: Likewise.
  7912. * sysdeps/x86_64/tst-avxmod.c: Likewise.
  7913. * sysdeps/x86_64/tst-sse.c: Likewise.
  7914. * sysdeps/x86_64/tst-ssemod.c: Likewise.
  7915. 2017-02-09 Joseph Myers <joseph@codesourcery.com>
  7916. * math/auto-libm-test-in: Add more tests of csin and csinh.
  7917. * math/auto-libm-test-out-csin: Regenerated.
  7918. * math/auto-libm-test-out-csinh: Likewise.
  7919. * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
  7920. auto-libm-test-in.
  7921. * math/libm-test-csinh.inc (csinh_test_data): Likewise.
  7922. 2017-02-09 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  7923. * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
  7924. libm-compat-calls-auto.
  7925. (libm-compat-calls): Likewise.
  7926. (libm-compat-calls-auto): Rename to libm-compat-calls and add
  7927. w_lgamma_compatF and k_standardF (merged from the items above).
  7928. (libm-routines): Use libm-compat-calls, instead of
  7929. libm-compat-calls-auto, with type-foreach.
  7930. 2017-02-09 Joseph Myers <joseph@codesourcery.com>
  7931. * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
  7932. macro.
  7933. * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
  7934. (CFLAGS-test-ifloat.c): ... this. Remove
  7935. -U__LIBC_INTERNAL_MATH_INLINES.
  7936. * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
  7937. (CFLAGS-test-idouble.c): ... this. Remove
  7938. -U__LIBC_INTERNAL_MATH_INLINES.
  7939. * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
  7940. (CFLAGS-test-ildouble.c): ... this. Remove
  7941. -U__LIBC_INTERNAL_MATH_INLINES.
  7942. 2017-02-08 Joseph Myers <joseph@codesourcery.com>
  7943. * math/libm-test-support.c: New file. Content from
  7944. math/libm-test-driver.c.
  7945. * math/libm-test-support.h: Likewise.
  7946. * math/libm-test-support-double.c: New file.
  7947. * math/libm-test-support-float.c: Likewise.
  7948. * math/libm-test-support-ldouble.c: Likewise.
  7949. * math/libm-test-driver.c: Remove main comment and header
  7950. includes. Include libm-test-support.h.
  7951. [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
  7952. (flag_test_errno): Remove static.
  7953. (flag_test_exceptions): Likewise.
  7954. (flag_test_finite): Likewise.
  7955. (flag_test_inline): Likewise.
  7956. (flag_test_mathvec): Likewise.
  7957. (test_msg): Likewise.
  7958. (NO_EXCEPTION): Remove.
  7959. (INVALID_EXCEPTION): Likewise.
  7960. (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
  7961. (OVERFLOW_EXCEPTION): Likewise.
  7962. (UNDERFLOW_EXCEPTION): Likewise.
  7963. (INEXACT_EXCEPTION): Likewise.
  7964. (INVALID_EXCEPTION_OK): Likewise.
  7965. (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
  7966. (OVERFLOW_EXCEPTION_OK): Likewise.
  7967. (UNDERFLOW_EXCEPTION_OK): Likewise.
  7968. (NO_INEXACT_EXCEPTION): Likewise.
  7969. (EXCEPTIONS_OK): Likewise.
  7970. (IGNORE_ZERO_INF_SIGN): Likewise.
  7971. (TEST_NAN_SIGN): Likewise.
  7972. (TEST_NAN_PAYLOAD): Likewise.
  7973. (NO_TEST_INLINE): Likewise.
  7974. (XFAIL_TEST): Likewise.
  7975. (ERRNO_UNCHANGED): Likewise.
  7976. (ERRNO_EDOM): Likewise.
  7977. (ERRNO_ERANGE): Likewise.
  7978. (IGNORE_RESULT): Likewise.
  7979. (NON_FINITE): Likewise.
  7980. (TEST_SNAN): Likewise.
  7981. (NO_TEST_MATHVEC): Likewise.
  7982. (__CONCATX): Likewise.
  7983. (TYPE_MIN): Likewise.
  7984. (TYPE_TRUE_MIN): Likewise.
  7985. (TYPE_MAX): Likewise.
  7986. (MIN_EXP): Likewise.
  7987. (MAX_EXP): Likewise.
  7988. (MANT_DIG): Likewise.
  7989. (FSTR_MAX): Likewise.
  7990. (ulp_idx): Likewise.
  7991. (qtype_str): Remove static.
  7992. (TEST_COND_binary32): Remove.
  7993. (TEST_COND_binary64): Likewise.
  7994. (TEST_COND_binary128): Likewise.
  7995. (TEST_COND_ibm128): Likewise.
  7996. (TEST_COND_intel96): Likewise.
  7997. (TEST_COND_m68k96): Likewise.
  7998. (TEST_COND_ibm128_libgcc): Likewise.
  7999. (XFAIL_IBM128_LIBGCC): Likewise.
  8000. (PAYLOAD_DIG): Likewise.
  8001. (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
  8002. (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
  8003. (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
  8004. (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
  8005. (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
  8006. (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
  8007. (TEST_COND_long32): Likewise.
  8008. (TEST_COND_long64): Likewise.
  8009. (TEST_COND_before_rounding): Likewise.
  8010. (TEST_COND_after_rounding): Likewise.
  8011. (ulps_file_name): Likewise.
  8012. (ulps_file): Likewise.
  8013. (output_ulps): Likewise.
  8014. (output_dir): Likewise.
  8015. (noErrors): Likewise.
  8016. (noTests): Likewise.
  8017. (noExcTests): Likewise.
  8018. (noErrnoTests): Likewise.
  8019. (verbose): Likewise.
  8020. (output_max_error): Likewise.
  8021. (output_points): Likewise.
  8022. (ignore_max_ulp): Likewise.
  8023. (max_error): Likewise.
  8024. (real_max_error): Likewise.
  8025. (imag_max_error): Likewise.
  8026. (prev_max_error): Likewise.
  8027. (prev_real_max_error): Likewise.
  8028. (prev_imag_max_error): Likewise.
  8029. (max_valid_error): Likewise.
  8030. (TYPE_DECIMAL_DIG): Likewise.
  8031. (TYPE_HEX_DIG): Likewise.
  8032. (fmt_ftostr): Likewise.
  8033. (compare_ulp_data): Likewise.
  8034. (find_ulps): Likewise.
  8035. (init_max_error): Likewise.
  8036. (set_max_error): Likewise.
  8037. (print_float): Likewise.
  8038. (print_screen): Likewise.
  8039. (print_screen_max_error): Likewise.
  8040. (update_stats): Likewise.
  8041. (print_function_ulps): Likewise.
  8042. (print_complex_function_ulps): Likewise.
  8043. (fpstack_test): Likewise.
  8044. (print_max_error): Likewise.
  8045. (print_complex_max_error): Likewise.
  8046. (test_single_exception): Likewise.
  8047. (test_exceptions): Likewise.
  8048. (test_single_errno): Likewise.
  8049. (test_errno): Likewise.
  8050. (ULPDIFF): Likewise.
  8051. (ulp): Likewise.
  8052. (check_float_internal): Likewise.
  8053. (check_float): Likewise.
  8054. (check_complex): Likewise.
  8055. (check_int): Likewise.
  8056. (check_long): Likewise.
  8057. (check_bool): Likewise.
  8058. (check_longlong): Likewise.
  8059. (check_intmax_t): Likewise.
  8060. (check_uintmax_t): Likewise.
  8061. (enable_test): Likewise.
  8062. (matherr): Likewise.
  8063. (initialize): Likewise.
  8064. (options): Likewise.
  8065. (doc): Remove static.
  8066. (argp): Likewise.
  8067. (parse_opt): Remove.
  8068. (check_ulp): Likewise.
  8069. (libm_test_init): Likewise.
  8070. (libm_test_finish): Likewise.
  8071. * math/Makefile (libm-test-support): New variable.
  8072. (test-extras): Add libm-test-support files.
  8073. (extra-test-objs): Likewise.
  8074. (CFLAGS-libm-test-support-float.c): New variable.
  8075. (CFLAGS-libm-test-support-double.c): Likewise.
  8076. (CFLAGS-libm-test-support-ldouble.c): Likewise.
  8077. ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
  8078. libm-test-support objects.
  8079. 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  8080. * math/Makefile (libm-calls): Move w_exp...
  8081. (libm-compat-calls-auto): Here.
  8082. * math/w_expl.c: Add suffix "_compat" to filename.
  8083. * sysdeps/ia64/fpu/w_expl.c: Likewise.
  8084. * sysdeps/ia64/fpu/w_expf.c: Likewise.
  8085. * sysdeps/ia64/fpu/w_exp.c: Likewise.
  8086. * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
  8087. * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
  8088. * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
  8089. * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
  8090. * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
  8091. * math/w_expl_compat.c: New file, copied from above.
  8092. * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
  8093. * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
  8094. * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
  8095. * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
  8096. * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
  8097. * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
  8098. * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
  8099. * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
  8100. * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
  8101. to filename.
  8102. * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
  8103. * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
  8104. copied from above and adjusted for the new filenames.
  8105. * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
  8106. 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  8107. * math/Makefile (libm-calls): Move w_lgammaF...
  8108. (libm-compat-calls-auto): Here.
  8109. * math/w_lgamma.c: Add suffix "_compat2" to filename.
  8110. * math/w_lgammaf.c: Likewise.
  8111. * math/w_lgammal.c: Likewise.
  8112. * math/w_lgamma_compat2.c: New file, copied from above.
  8113. * math/w_lgammaf_compat2.c: Likewise.
  8114. * math/w_lgammal_compat2.c: Likewise.
  8115. 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  8116. * math/Makefile (libm-calls): Move w_lgammaF_r...
  8117. (libm-compat-calls-auto): Here.
  8118. * math/w_lgamma_r.c: Add suffix "_compat" to filename.
  8119. * math/w_lgammaf_r.c: Likewise.
  8120. * math/w_lgammal_r.c: Likewise.
  8121. * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
  8122. * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
  8123. * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
  8124. * math/w_lgamma_r_compat.c: New file, copied from above.
  8125. * math/w_lgammaf_r_compat.c: Likewise.
  8126. * math/w_lgammal_r_compat.c: Likewise.
  8127. * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
  8128. * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
  8129. * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
  8130. * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
  8131. to filename.
  8132. * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
  8133. * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
  8134. copied from above and adjusted for the new filenames.
  8135. * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
  8136. 2017-02-08 Yury Norov <ynorov@caviumnetworks.com>
  8137. * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
  8138. calculation in SYSCALL_ERROR_HANDLER().
  8139. 2017-02-08 Rical Jasan <ricaljasan@pacific.net>
  8140. * manual/contrib.texi: Fix typo.
  8141. 2017-02-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
  8142. [BZ #21109]
  8143. * elf/dl-tunable-types.h (tunable_callback_t): Accept
  8144. tunable_val_t as argument.
  8145. * elf/dl-tunables.c (__tunable_set_val): Add comment.
  8146. * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
  8147. argument.
  8148. (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
  8149. 2017-02-08 Kir Kolyshkin <kir@openvz.org>
  8150. * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
  8151. Add PTRACE_EVENT_STOP.
  8152. * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
  8153. * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
  8154. * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
  8155. * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
  8156. * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
  8157. * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
  8158. 2017-02-07 Joseph Myers <joseph@codesourcery.com>
  8159. * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
  8160. * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
  8161. * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
  8162. * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
  8163. * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
  8164. * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
  8165. * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
  8166. * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
  8167. * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
  8168. * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
  8169. [BZ #21112]
  8170. * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
  8171. 12 bits zero.
  8172. (cp_l): Update for new value of cp_h.
  8173. * math/auto-libm-test-in: Add another test of pow.
  8174. * math/auto-libm-test-out-pow: Regenerated.
  8175. 2017-02-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
  8176. * manual/contrib.texi: Fix typo.
  8177. 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  8178. [BZ #15998]
  8179. * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
  8180. (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
  8181. * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
  8182. 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  8183. * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
  8184. STRCHR as __strchr_power8.
  8185. * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
  8186. strlen as __strlen_power8.
  8187. 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  8188. * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
  8189. unaligned load for shorter strings.
  8190. * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
  8191. 2017-02-06 Joseph Myers <joseph@codesourcery.com>
  8192. * math/libm-test-driver.c (flag_test_errno): New variable.
  8193. (flag_test_exceptions): Likewise.
  8194. (flag_test_finite): Likewise.
  8195. (flag_test_inline): Likewise.
  8196. (flag_test_mathvec): Likewise.
  8197. (test_msg): Likewise.
  8198. (ulp_idx): Likewise.
  8199. (qtype_str): Likewise.
  8200. (ULP_IDX): Remove macro.
  8201. (QTYPE_STR): Likewise.
  8202. (find_ulps): Use ulp_idx not ULP_IDX.
  8203. (print_function_ulps): Use qtype_str, printed with %s, not
  8204. QTYPE_STR, printed with concatentation to format string.
  8205. (print_complex_function_ulps): Likewise.
  8206. (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
  8207. (test_errno): Use flag_test_errno not TEST_ERRNO.
  8208. (enable_test): Use flag_test_inline, flag_test_finite and
  8209. flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
  8210. TEST_MATHVEC.
  8211. (libm_test_init): New function. Factored out of main.
  8212. (libm_test_finish): Likewise.
  8213. (main): Call libm_test_init and libm_test_finish and move most
  8214. code to those functions.
  8215. * math/libm-test-driver.c (STRX): New macro.
  8216. (STR): Likewise.
  8217. (STR_FLOAT): Likewise.
  8218. (STR_VEC_LEN): Likewise.
  8219. (TEST_MSG): Likewise. Define here instead of expecting to be
  8220. defined by including file.
  8221. * math/test-double-finite.c (TEST_MSG): Remove macro.
  8222. * math/test-double-vlen2.h (TEST_MSG): Likewise.
  8223. * math/test-double-vlen4.h (TEST_MSG): Likewise.
  8224. * math/test-double-vlen8.h (TEST_MSG): Likewise.
  8225. * math/test-double.c (TEST_MSG): Likewise.
  8226. * math/test-float-finite.c (TEST_MSG): Likewise.
  8227. * math/test-float-vlen16.h (TEST_MSG): Likewise.
  8228. * math/test-float-vlen4.h (TEST_MSG): Likewise.
  8229. * math/test-float-vlen8.h (TEST_MSG): Likewise.
  8230. * math/test-float.c (TEST_MSG): Likewise.
  8231. * math/test-idouble.c (TEST_MSG): Likewise.
  8232. * math/test-ifloat.c (TEST_MSG): Likewise.
  8233. * math/test-ildouble.c (TEST_MSG): Likewise.
  8234. * math/test-ldouble-finite.c (TEST_MSG): Likewise.
  8235. * math/test-ldouble.c (TEST_MSG): Likewise.
  8236. * math/libm-test.inc: Move all tests of individual functions to
  8237. libm-test-*.inc and #include libm-test-*.c files.
  8238. (acos_test_data): Remove.
  8239. (acos_test): Likewise.
  8240. (acosh_test_data): Likewise.
  8241. (acosh_test): Likewise.
  8242. (asin_test_data): Likewise.
  8243. (asin_test): Likewise.
  8244. (asinh_test_data): Likewise.
  8245. (asinh_test): Likewise.
  8246. (atan_test_data): Likewise.
  8247. (atan_test): Likewise.
  8248. (atanh_test_data): Likewise.
  8249. (atanh_test): Likewise.
  8250. (atan2_test_data): Likewise.
  8251. (atan2_test): Likewise.
  8252. (cabs_test_data): Likewise.
  8253. (cabs_test): Likewise.
  8254. (cacos_test_data): Likewise.
  8255. (cacos_test): Likewise.
  8256. (cacosh_test_data): Likewise.
  8257. (cacosh_test): Likewise.
  8258. (canonicalize_test_data): Likewise.
  8259. (canonicalize_test): Likewise.
  8260. (carg_test_data): Likewise.
  8261. (carg_test): Likewise.
  8262. (casin_test_data): Likewise.
  8263. (casin_test): Likewise.
  8264. (casinh_test_data): Likewise.
  8265. (casinh_test): Likewise.
  8266. (catan_test_data): Likewise.
  8267. (catan_test): Likewise.
  8268. (catanh_test_data): Likewise.
  8269. (catanh_test): Likewise.
  8270. (cbrt_test_data): Likewise.
  8271. (cbrt_test): Likewise.
  8272. (ccos_test_data): Likewise.
  8273. (ccos_test): Likewise.
  8274. (ccosh_test_data): Likewise.
  8275. (ccosh_test): Likewise.
  8276. (ceil_test_data): Likewise.
  8277. (ceil_test): Likewise.
  8278. (cexp_test_data): Likewise.
  8279. (cexp_test): Likewise.
  8280. (cimag_test_data): Likewise.
  8281. (cimag_test): Likewise.
  8282. (clog_test_data): Likewise.
  8283. (clog_test): Likewise.
  8284. (clog10_test_data): Likewise.
  8285. (clog10_test): Likewise.
  8286. (conj_test_data): Likewise.
  8287. (conj_test): Likewise.
  8288. (copysign_test_data): Likewise.
  8289. (copysign_test): Likewise.
  8290. (cos_test_data): Likewise.
  8291. (cos_test): Likewise.
  8292. (cosh_test_data): Likewise.
  8293. (cosh_test): Likewise.
  8294. (cpow_test_data): Likewise.
  8295. (cpow_test): Likewise.
  8296. (cproj_test_data): Likewise.
  8297. (cproj_test): Likewise.
  8298. (creal_test_data): Likewise.
  8299. (creal_test): Likewise.
  8300. (csin_test_data): Likewise.
  8301. (csin_test): Likewise.
  8302. (csinh_test_data): Likewise.
  8303. (csinh_test): Likewise.
  8304. (csqrt_test_data): Likewise.
  8305. (csqrt_test): Likewise.
  8306. (ctan_test_data): Likewise.
  8307. (ctan_test): Likewise.
  8308. (ctanh_test_data): Likewise.
  8309. (ctanh_test): Likewise.
  8310. (erf_test_data): Likewise.
  8311. (erf_test): Likewise.
  8312. (erfc_test_data): Likewise.
  8313. (erfc_test): Likewise.
  8314. (exp_test_data): Likewise.
  8315. (exp_test): Likewise.
  8316. (exp10_test_data): Likewise.
  8317. (exp10_test): Likewise.
  8318. (pow10_test): Likewise.
  8319. (exp2_test_data): Likewise.
  8320. (exp2_test): Likewise.
  8321. (expm1_test_data): Likewise.
  8322. (expm1_test): Likewise.
  8323. (fabs_test_data): Likewise.
  8324. (fabs_test): Likewise.
  8325. (fdim_test_data): Likewise.
  8326. (fdim_test): Likewise.
  8327. (floor_test_data): Likewise.
  8328. (floor_test): Likewise.
  8329. (fma_test_data): Likewise.
  8330. (fma_test): Likewise.
  8331. (fmax_test_data): Likewise.
  8332. (fmax_test): Likewise.
  8333. (fmaxmag_test_data): Likewise.
  8334. (fmaxmag_test): Likewise.
  8335. (fmin_test_data): Likewise.
  8336. (fmin_test): Likewise.
  8337. (fminmag_test_data): Likewise.
  8338. (fminmag_test): Likewise.
  8339. (fmod_test_data): Likewise.
  8340. (fmod_test): Likewise.
  8341. (fpclassify_test_data): Likewise.
  8342. (fpclassify_test): Likewise.
  8343. (frexp_test_data): Likewise.
  8344. (frexp_test): Likewise.
  8345. (fromfp_test_data): Likewise.
  8346. (fromfp_test): Likewise.
  8347. (fromfpx_test_data): Likewise.
  8348. (fromfpx_test): Likewise.
  8349. (getpayload_test_data): Likewise.
  8350. (getpayload_test): Likewise.
  8351. (hypot_test_data): Likewise.
  8352. (hypot_test): Likewise.
  8353. (ilogb_test_data): Likewise.
  8354. (ilogb_test): Likewise.
  8355. (iscanonical_test_data): Likewise.
  8356. (iscanonical_test): Likewise.
  8357. (iseqsig_test_data): Likewise.
  8358. (iseqsig_test): Likewise.
  8359. (isfinite_test_data): Likewise.
  8360. (isfinite_test): Likewise.
  8361. (finite_test): Likewise.
  8362. (isgreater_test_data): Likewise.
  8363. (isgreater_test): Likewise.
  8364. (isgreaterequal_test_data): Likewise.
  8365. (isgreaterequal_test): Likewise.
  8366. (isinf_test_data): Likewise.
  8367. (isinf_test): Likewise.
  8368. (isless_test_data): Likewise.
  8369. (isless_test): Likewise.
  8370. (islessequal_test_data): Likewise.
  8371. (islessequal_test): Likewise.
  8372. (islessgreater_test_data): Likewise.
  8373. (islessgreater_test): Likewise.
  8374. (isnan_test_data): Likewise.
  8375. (isnan_test): Likewise.
  8376. (isnormal_test_data): Likewise.
  8377. (isnormal_test): Likewise.
  8378. (issignaling_test_data): Likewise.
  8379. (issignaling_test): Likewise.
  8380. (issubnormal_test_data): Likewise.
  8381. (issubnormal_test): Likewise.
  8382. (isunordered_test_data): Likewise.
  8383. (isunordered_test): Likewise.
  8384. (iszero_test_data): Likewise.
  8385. (iszero_test): Likewise.
  8386. (j0_test_data): Likewise.
  8387. (j0_test): Likewise.
  8388. (j1_test_data): Likewise.
  8389. (j1_test): Likewise.
  8390. (jn_test_data): Likewise.
  8391. (jn_test): Likewise.
  8392. (lgamma_test_data): Likewise.
  8393. (lgamma_test): Likewise.
  8394. (gamma_test): Likewise.
  8395. (llogb_test_data): Likewise.
  8396. (llogb_test): Likewise.
  8397. (lrint_test_data): Likewise.
  8398. (lrint_test): Likewise.
  8399. (llrint_test_data): Likewise.
  8400. (llrint_test): Likewise.
  8401. (log_test_data): Likewise.
  8402. (log_test): Likewise.
  8403. (log10_test_data): Likewise.
  8404. (log10_test): Likewise.
  8405. (log1p_test_data): Likewise.
  8406. (log1p_test): Likewise.
  8407. (log2_test_data): Likewise.
  8408. (log2_test): Likewise.
  8409. (logb_test_data): Likewise.
  8410. (logb_test): Likewise.
  8411. (lround_test_data): Likewise.
  8412. (lround_test): Likewise.
  8413. (llround_test_data): Likewise.
  8414. (llround_test): Likewise.
  8415. (modf_test_data): Likewise.
  8416. (modf_test): Likewise.
  8417. (nearbyint_test_data): Likewise.
  8418. (nearbyint_test): Likewise.
  8419. (nextafter_test_data): Likewise.
  8420. (nextafter_test): Likewise.
  8421. (nextup_test_data): Likewise.
  8422. (nextup_test): Likewise.
  8423. (nextdown_test_data): Likewise.
  8424. (nextdown_test): Likewise.
  8425. (nexttoward_test_data): Likewise.
  8426. (nexttoward_test): Likewise.
  8427. (pow_test_data): Likewise.
  8428. (pow_test): Likewise.
  8429. (remainder_test_data): Likewise.
  8430. (remainder_test): Likewise.
  8431. (drem_test): Likewise.
  8432. (remquo_test_data): Likewise.
  8433. (remquo_test): Likewise.
  8434. (rint_test_data): Likewise.
  8435. (rint_test): Likewise.
  8436. (round_test_data): Likewise.
  8437. (round_test): Likewise.
  8438. (roundeven_test_data): Likewise.
  8439. (roundeven_test): Likewise.
  8440. (scalb_test_data): Likewise.
  8441. (scalb_test): Likewise.
  8442. (scalbn_test_data): Likewise.
  8443. (scalbn_test): Likewise.
  8444. (ldexp_test): Likewise.
  8445. (scalbln_test_data): Likewise.
  8446. (scalbln_test): Likewise.
  8447. (setpayload_test_data): Likewise.
  8448. (setpayload_test): Likewise.
  8449. (setpayloadsig_test_data): Likewise.
  8450. (setpayloadsig_test): Likewise.
  8451. (signbit_test_data): Likewise.
  8452. (signbit_test): Likewise.
  8453. (sin_test_data): Likewise.
  8454. (sin_test): Likewise.
  8455. (sincos_test_data): Likewise.
  8456. (sincos_test): Likewise.
  8457. (sinh_test_data): Likewise.
  8458. (sinh_test): Likewise.
  8459. (sqrt_test_data): Likewise.
  8460. (sqrt_test): Likewise.
  8461. (tan_test_data): Likewise.
  8462. (tan_test): Likewise.
  8463. (tanh_test_data): Likewise.
  8464. (tanh_test): Likewise.
  8465. (tgamma_test_data): Likewise.
  8466. (tgamma_test): Likewise.
  8467. (totalorder_test_data): Likewise.
  8468. (totalorder_test): Likewise.
  8469. (totalordermag_test_data): Likewise.
  8470. (totalordermag_test): Likewise.
  8471. (trunc_test_data): Likewise.
  8472. (trunc_test): Likewise.
  8473. (ufromfp_test_data): Likewise.
  8474. (ufromfp_test): Likewise.
  8475. (ufromfpx_test_data): Likewise.
  8476. (ufromfpx_test): Likewise.
  8477. (y0_test_data): Likewise.
  8478. (y0_test): Likewise.
  8479. (y1_test_data): Likewise.
  8480. (y1_test): Likewise.
  8481. (yn_test_data): Likewise.
  8482. (yn_test): Likewise.
  8483. (significand_test_data): Likewise.
  8484. (significand_test): Likewise.
  8485. * math/Makefile (auto-libm-test-out-files): Remove variable.
  8486. (libm-test-funcs-noauto): New variable.
  8487. (libm-test-funcs-all): Likewise.
  8488. (libm-test-c-auto): Likewise.
  8489. (libm-test-c-noauto): Likewise.
  8490. (libm-tests-generated): Add $(libm-test-c-auto) and
  8491. $(libm-test-c-noauto).
  8492. (generated): Do not add auto-libm-test-out.
  8493. (libm-test-c-auto-obj): New variable.
  8494. (libm-test-c-noauto-obj): Likewise.
  8495. ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
  8496. ($(libm-test-c-noauto-obj)): New static pattern rule.
  8497. ($(libm-test-c-auto-obj)): Likewise.
  8498. (libm-test-incs): New variable.
  8499. ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
  8500. and pass it to gen-libm-have-vector-test.sh.
  8501. * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
  8502. be passed on command line.
  8503. * math/libm-test-acos.inc: New file. Content from
  8504. math/libm-test.inc.
  8505. * math/libm-test-acosh.inc: Likewise.
  8506. * math/libm-test-asin.inc: Likewise.
  8507. * math/libm-test-asinh.inc: Likewise.
  8508. * math/libm-test-atan.inc: Likewise.
  8509. * math/libm-test-atan2.inc: Likewise.
  8510. * math/libm-test-atanh.inc: Likewise.
  8511. * math/libm-test-cabs.inc: Likewise.
  8512. * math/libm-test-cacos.inc: Likewise.
  8513. * math/libm-test-cacosh.inc: Likewise.
  8514. * math/libm-test-canonicalize.inc: Likewise.
  8515. * math/libm-test-carg.inc: Likewise.
  8516. * math/libm-test-casin.inc: Likewise.
  8517. * math/libm-test-casinh.inc: Likewise.
  8518. * math/libm-test-catan.inc: Likewise.
  8519. * math/libm-test-catanh.inc: Likewise.
  8520. * math/libm-test-cbrt.inc: Likewise.
  8521. * math/libm-test-ccos.inc: Likewise.
  8522. * math/libm-test-ccosh.inc: Likewise.
  8523. * math/libm-test-ceil.inc: Likewise.
  8524. * math/libm-test-cexp.inc: Likewise.
  8525. * math/libm-test-cimag.inc: Likewise.
  8526. * math/libm-test-clog.inc: Likewise.
  8527. * math/libm-test-clog10.inc: Likewise.
  8528. * math/libm-test-conj.inc: Likewise.
  8529. * math/libm-test-copysign.inc: Likewise.
  8530. * math/libm-test-cos.inc: Likewise.
  8531. * math/libm-test-cosh.inc: Likewise.
  8532. * math/libm-test-cpow.inc: Likewise.
  8533. * math/libm-test-cproj.inc: Likewise.
  8534. * math/libm-test-creal.inc: Likewise.
  8535. * math/libm-test-csin.inc: Likewise.
  8536. * math/libm-test-csinh.inc: Likewise.
  8537. * math/libm-test-csqrt.inc: Likewise.
  8538. * math/libm-test-ctan.inc: Likewise.
  8539. * math/libm-test-ctanh.inc: Likewise.
  8540. * math/libm-test-erf.inc: Likewise.
  8541. * math/libm-test-erfc.inc: Likewise.
  8542. * math/libm-test-exp.inc: Likewise.
  8543. * math/libm-test-exp10.inc: Likewise.
  8544. * math/libm-test-exp2.inc: Likewise.
  8545. * math/libm-test-expm1.inc: Likewise.
  8546. * math/libm-test-fabs.inc: Likewise.
  8547. * math/libm-test-fdim.inc: Likewise.
  8548. * math/libm-test-floor.inc: Likewise.
  8549. * math/libm-test-fma.inc: Likewise.
  8550. * math/libm-test-fmax.inc: Likewise.
  8551. * math/libm-test-fmaxmag.inc: Likewise.
  8552. * math/libm-test-fmin.inc: Likewise.
  8553. * math/libm-test-fminmag.inc: Likewise.
  8554. * math/libm-test-fmod.inc: Likewise.
  8555. * math/libm-test-fpclassify.inc: Likewise.
  8556. * math/libm-test-frexp.inc: Likewise.
  8557. * math/libm-test-fromfp.inc: Likewise.
  8558. * math/libm-test-fromfpx.inc: Likewise.
  8559. * math/libm-test-getpayload.inc: Likewise.
  8560. * math/libm-test-hypot.inc: Likewise.
  8561. * math/libm-test-ilogb.inc: Likewise.
  8562. * math/libm-test-iscanonical.inc: Likewise.
  8563. * math/libm-test-iseqsig.inc: Likewise.
  8564. * math/libm-test-isfinite.inc: Likewise.
  8565. * math/libm-test-isgreater.inc: Likewise.
  8566. * math/libm-test-isgreaterequal.inc: Likewise.
  8567. * math/libm-test-isinf.inc: Likewise.
  8568. * math/libm-test-isless.inc: Likewise.
  8569. * math/libm-test-islessequal.inc: Likewise.
  8570. * math/libm-test-islessgreater.inc: Likewise.
  8571. * math/libm-test-isnan.inc: Likewise.
  8572. * math/libm-test-isnormal.inc: Likewise.
  8573. * math/libm-test-issignaling.inc: Likewise.
  8574. * math/libm-test-issubnormal.inc: Likewise.
  8575. * math/libm-test-isunordered.inc: Likewise.
  8576. * math/libm-test-iszero.inc: Likewise.
  8577. * math/libm-test-j0.inc: Likewise.
  8578. * math/libm-test-j1.inc: Likewise.
  8579. * math/libm-test-jn.inc: Likewise.
  8580. * math/libm-test-lgamma.inc: Likewise.
  8581. * math/libm-test-llogb.inc: Likewise.
  8582. * math/libm-test-llrint.inc: Likewise.
  8583. * math/libm-test-llround.inc: Likewise.
  8584. * math/libm-test-log.inc: Likewise.
  8585. * math/libm-test-log10.inc: Likewise.
  8586. * math/libm-test-log1p.inc: Likewise.
  8587. * math/libm-test-log2.inc: Likewise.
  8588. * math/libm-test-logb.inc: Likewise.
  8589. * math/libm-test-lrint.inc: Likewise.
  8590. * math/libm-test-lround.inc: Likewise.
  8591. * math/libm-test-modf.inc: Likewise.
  8592. * math/libm-test-nearbyint.inc: Likewise.
  8593. * math/libm-test-nextafter.inc: Likewise.
  8594. * math/libm-test-nextdown.inc: Likewise.
  8595. * math/libm-test-nexttoward.inc: Likewise.
  8596. * math/libm-test-nextup.inc: Likewise.
  8597. * math/libm-test-pow.inc: Likewise.
  8598. * math/libm-test-remainder.inc: Likewise.
  8599. * math/libm-test-remquo.inc: Likewise.
  8600. * math/libm-test-rint.inc: Likewise.
  8601. * math/libm-test-round.inc: Likewise.
  8602. * math/libm-test-roundeven.inc: Likewise.
  8603. * math/libm-test-scalb.inc: Likewise.
  8604. * math/libm-test-scalbln.inc: Likewise.
  8605. * math/libm-test-scalbn.inc: Likewise.
  8606. * math/libm-test-setpayload.inc: Likewise.
  8607. * math/libm-test-setpayloadsig.inc: Likewise.
  8608. * math/libm-test-signbit.inc: Likewise.
  8609. * math/libm-test-significand.inc: Likewise.
  8610. * math/libm-test-sin.inc: Likewise.
  8611. * math/libm-test-sincos.inc: Likewise.
  8612. * math/libm-test-sinh.inc: Likewise.
  8613. * math/libm-test-sqrt.inc: Likewise.
  8614. * math/libm-test-tan.inc: Likewise.
  8615. * math/libm-test-tanh.inc: Likewise.
  8616. * math/libm-test-tgamma.inc: Likewise.
  8617. * math/libm-test-totalorder.inc: Likewise.
  8618. * math/libm-test-totalordermag.inc: Likewise.
  8619. * math/libm-test-trunc.inc: Likewise.
  8620. * math/libm-test-ufromfp.inc: Likewise.
  8621. * math/libm-test-ufromfpx.inc: Likewise.
  8622. * math/libm-test-y0.inc: Likewise.
  8623. * math/libm-test-y1.inc: Likewise.
  8624. * math/libm-test-yn.inc: Likewise.
  8625. * math/README.libm-test: Update.
  8626. * math/gen-auto-libm-tests.c: Update comment about use of program.
  8627. (generate_output): Add argument FUNCTION.
  8628. (main): Require extra argument. Pass function name to
  8629. generate_output.
  8630. * math/Makefile (generated): Add auto-libm-test-out.
  8631. (libm-test-funcs-auto): New variable.
  8632. (auto-libm-test-out-files): New variable.
  8633. ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
  8634. Concatenate those files to form $(objpfx)auto-libm-test-out and
  8635. use it as input to gen-libm-test.pl.
  8636. * math/README.libm-test: Update.
  8637. * math/auto-libm-test-out: Remove.
  8638. * math/auto-libm-test-out-acos: New generated file.
  8639. * math/auto-libm-test-out-acosh: Likewise.
  8640. * math/auto-libm-test-out-asin: Likewise.
  8641. * math/auto-libm-test-out-asinh: Likewise.
  8642. * math/auto-libm-test-out-atan: Likewise.
  8643. * math/auto-libm-test-out-atan2: Likewise.
  8644. * math/auto-libm-test-out-atanh: Likewise.
  8645. * math/auto-libm-test-out-cabs: Likewise.
  8646. * math/auto-libm-test-out-carg: Likewise.
  8647. * math/auto-libm-test-out-cbrt: Likewise.
  8648. * math/auto-libm-test-out-ccos: Likewise.
  8649. * math/auto-libm-test-out-ccosh: Likewise.
  8650. * math/auto-libm-test-out-cexp: Likewise.
  8651. * math/auto-libm-test-out-clog: Likewise.
  8652. * math/auto-libm-test-out-clog10: Likewise.
  8653. * math/auto-libm-test-out-cos: Likewise.
  8654. * math/auto-libm-test-out-cosh: Likewise.
  8655. * math/auto-libm-test-out-cpow: Likewise.
  8656. * math/auto-libm-test-out-csin: Likewise.
  8657. * math/auto-libm-test-out-csinh: Likewise.
  8658. * math/auto-libm-test-out-csqrt: Likewise.
  8659. * math/auto-libm-test-out-ctan: Likewise.
  8660. * math/auto-libm-test-out-ctanh: Likewise.
  8661. * math/auto-libm-test-out-erf: Likewise.
  8662. * math/auto-libm-test-out-erfc: Likewise.
  8663. * math/auto-libm-test-out-exp: Likewise.
  8664. * math/auto-libm-test-out-exp10: Likewise.
  8665. * math/auto-libm-test-out-exp2: Likewise.
  8666. * math/auto-libm-test-out-expm1: Likewise.
  8667. * math/auto-libm-test-out-fma: Likewise.
  8668. * math/auto-libm-test-out-hypot: Likewise.
  8669. * math/auto-libm-test-out-j0: Likewise.
  8670. * math/auto-libm-test-out-j1: Likewise.
  8671. * math/auto-libm-test-out-jn: Likewise.
  8672. * math/auto-libm-test-out-lgamma: Likewise.
  8673. * math/auto-libm-test-out-log: Likewise.
  8674. * math/auto-libm-test-out-log10: Likewise.
  8675. * math/auto-libm-test-out-log1p: Likewise.
  8676. * math/auto-libm-test-out-log2: Likewise.
  8677. * math/auto-libm-test-out-pow: Likewise.
  8678. * math/auto-libm-test-out-sin: Likewise.
  8679. * math/auto-libm-test-out-sincos: Likewise.
  8680. * math/auto-libm-test-out-sinh: Likewise.
  8681. * math/auto-libm-test-out-sqrt: Likewise.
  8682. * math/auto-libm-test-out-tan: Likewise.
  8683. * math/auto-libm-test-out-tanh: Likewise.
  8684. * math/auto-libm-test-out-tgamma: Likewise.
  8685. * math/auto-libm-test-out-y0: Likewise.
  8686. * math/auto-libm-test-out-y1: Likewise.
  8687. * math/auto-libm-test-out-yn: Likewise.
  8688. * math/Makefile (generated): Do not include libm-test.stmp.
  8689. ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
  8690. on $(objpfx)libm-test.stmp.
  8691. ($(objpfx)libm-test.stmp): Remove rule.
  8692. ($(objpfx)libm-test-ulps.h): New rule.
  8693. ($(objpfx)libm-test.c): Likewise.
  8694. ($(objpfx)libm-have-vector-test.h): Likewise.
  8695. ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
  8696. individual generated files, not libm-test.stmp.
  8697. * math/gen-libm-test.pl ($output_dir): Remove variable.
  8698. ($srcdir): Likewise.
  8699. ($opt_a): New variable.
  8700. ($opt_c): Likewise.
  8701. ($opt_C): Likewise.
  8702. ($opt_H): Likewise.
  8703. (-n): Make option take argument and use it as NewUlps output.
  8704. (-a): New option. Use its argument for auto-libm-test-out input.
  8705. (-c): New option. Use its argument for libm-test.inc input.
  8706. (-C): New option. Use its argument for libm-test.c output.
  8707. (-H): New option. Use its argument for libm-test-ulps.h output.
  8708. (top level): Only process inputs needed to generate outputs
  8709. specified by command-line options. Only generate outputs
  8710. specified by command-line options.
  8711. * math/README.libm-test: Update example gen-libm-test.pl command.
  8712. * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
  8713. commands.
  8714. (regen-ulps): Likewise.
  8715. 2017-02-06 Wilco Dijkstra <wdijkstr@arm.com>
  8716. * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
  8717. * include/string.h (index): Remove define.
  8718. (rindex): Likewise.
  8719. * misc/getttyent.c (__getttyent): Rename index to strchr.
  8720. * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
  8721. * sunrpc/rpc_main.c (mkfile_output): Likewise.
  8722. 2017-02-06 Joseph Myers <joseph@codesourcery.com>
  8723. * math/libm-test-driver.c: New file. Based on math/libm-test.inc.
  8724. * math/libm-test.inc: Move all contents, other than tests of
  8725. individual functions, to libm-test-driver.c.
  8726. [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
  8727. [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
  8728. [!FE_UPWARD] (FE_UPWARD): Likewise.
  8729. [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
  8730. (NO_EXCEPTION): Likewise.
  8731. (INVALID_EXCEPTION): Likewise.
  8732. (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
  8733. (OVERFLOW_EXCEPTION): Likewise.
  8734. (UNDERFLOW_EXCEPTION): Likewise.
  8735. (INEXACT_EXCEPTION): Likewise.
  8736. (INVALID_EXCEPTION_OK): Likewise.
  8737. (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
  8738. (OVERFLOW_EXCEPTION_OK): Likewise.
  8739. (UNDERFLOW_EXCEPTION_OK): Likewise.
  8740. (NO_INEXACT_EXCEPTION): Likewise.
  8741. (EXCEPTIONS_OK): Likewise.
  8742. (IGNORE_ZERO_INF_SIGN): Likewise.
  8743. (TEST_NAN_SIGN): Likewise.
  8744. (TEST_NAN_PAYLOAD): Likewise.
  8745. (NO_TEST_INLINE): Likewise.
  8746. (XFAIL_TEST): Likewise.
  8747. (ERRNO_UNCHANGED): Likewise.
  8748. (ERRNO_EDOM): Likewise.
  8749. (ERRNO_ERANGE): Likewise.
  8750. (IGNORE_RESULT): Likewise.
  8751. (NON_FINITE): Likewise.
  8752. (TEST_SNAN): Likewise.
  8753. (NO_TEST_MATHVEC): Likewise.
  8754. (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
  8755. (__CONCATX): Likewise.
  8756. (TYPE_MIN): Likewise.
  8757. (TYPE_TRUE_MIN): Likewise.
  8758. (TYPE_MAX): Likewise.
  8759. (MIN_EXP): Likewise.
  8760. (MAX_EXP): Likewise.
  8761. (MANT_DIG): Likewise.
  8762. (FSTR_MAX): Likewise.
  8763. (ULP_IDX): Likewise.
  8764. (QTYPE_STR): Likewise.
  8765. (TEST_COND_binary32): Likewise.
  8766. (TEST_COND_binary64): Likewise.
  8767. (TEST_COND_binary128): Likewise.
  8768. (TEST_COND_ibm128): Likewise.
  8769. (TEST_COND_intel96): Likewise.
  8770. (TEST_COND_m68k96): Likewise.
  8771. (TEST_COND_ibm128_libgcc): Likewise.
  8772. (XFAIL_IBM128_LIBGCC): Likewise.
  8773. (PAYLOAD_DIG): Likewise.
  8774. (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
  8775. (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
  8776. (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
  8777. (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
  8778. (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
  8779. (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
  8780. (TEST_COND_long32): Likewise.
  8781. (TEST_COND_long64): Likewise.
  8782. (TEST_COND_before_rounding): Likewise.
  8783. (TEST_COND_after_rounding): Likewise.
  8784. (lit_pi_3_m_4_d): Likewise.
  8785. (lit_pi_3_m_4_ln10_m_d): Likewise.
  8786. (lit_pi_2_ln10_m_d): Likewise.
  8787. (lit_pi_4_ln10_m_d): Likewise.
  8788. (lit_pi_ln10_d): Likewise.
  8789. (lit_pi_2_d): Likewise.
  8790. (lit_pi_4_d): Likewise.
  8791. (lit_pi): Likewise.
  8792. (lit_e): Likewise.
  8793. (ulps_file_name): Likewise.
  8794. (ulps_file): Likewise.
  8795. (output_ulps): Likewise.
  8796. (output_dir): Likewise.
  8797. (noErrors): Likewise.
  8798. (noTests): Likewise.
  8799. (noExcTests): Likewise.
  8800. (noErrnoTests): Likewise.
  8801. (verbose): Likewise.
  8802. (output_max_error): Likewise.
  8803. (output_points): Likewise.
  8804. (ignore_max_ulp): Likewise.
  8805. (plus_zero): Likewise.
  8806. (minus_zero): Likewise.
  8807. (plus_infty): Likewise.
  8808. (minus_infty): Likewise.
  8809. (qnan_value_pl): Likewise.
  8810. (qnan_value): Likewise.
  8811. (snan_value_pl): Likewise.
  8812. (snan_value): Likewise.
  8813. (max_value): Likewise.
  8814. (min_value): Likewise.
  8815. (min_subnorm_value): Likewise.
  8816. (snan_value_ld): Likewise.
  8817. (max_error): Likewise.
  8818. (real_max_error): Likewise.
  8819. (imag_max_error): Likewise.
  8820. (prev_max_error): Likewise.
  8821. (prev_real_max_error): Likewise.
  8822. (prev_imag_max_error): Likewise.
  8823. (max_valid_error): Likewise.
  8824. (TYPE_DECIMAL_DIG): Likewise.
  8825. (TYPE_HEX_DIG): Likewise.
  8826. (fmt_ftostr): Likewise.
  8827. (compare_ulp_data): Likewise.
  8828. (find_ulps): Likewise.
  8829. (init_max_error): Likewise.
  8830. (set_max_error): Likewise.
  8831. (print_float): Likewise.
  8832. (print_screen): Likewise.
  8833. (print_screen_max_error): Likewise.
  8834. (update_stats): Likewise.
  8835. (print_function_ulps): Likewise.
  8836. (print_complex_function_ulps): Likewise.
  8837. (fpstack_test): Likewise.
  8838. (print_max_error): Likewise.
  8839. (print_complex_max_error): Likewise.
  8840. (test_single_exception): Likewise.
  8841. (test_exceptions): Likewise.
  8842. (test_single_errno): Likewise.
  8843. (test_errno): Likewise.
  8844. (ULPDIFF): Likewise.
  8845. (ulp): Likewise.
  8846. (check_float_internal): Likewise.
  8847. (check_float): Likewise.
  8848. (check_complex): Likewise.
  8849. (check_int): Likewise.
  8850. (check_long): Likewise.
  8851. (check_bool): Likewise.
  8852. (check_longlong): Likewise.
  8853. (check_intmax_t): Likewise.
  8854. (check_uintmax_t): Likewise.
  8855. (enable_test): Likewise.
  8856. (struct test_f_f_data): Likewise.
  8857. (struct test_ff_f_data): Likewise.
  8858. (struct test_fj_f_data): Likewise.
  8859. (struct test_fi_f_data): Likewise.
  8860. (struct test_fl_f_data): Likewise.
  8861. (struct test_if_f_data): Likewise.
  8862. (struct test_fff_f_data): Likewise.
  8863. (struct test_fiu_M_data): Likewise.
  8864. (struct test_fiu_U_data): Likewise.
  8865. (struct test_c_f_data): Likewise.
  8866. (struct test_f_f1_data): Likewise.
  8867. (struct test_fF_f1_data): Likewise.
  8868. (struct test_ffI_f1_data): Likewise.
  8869. (struct test_c_c_data): Likewise.
  8870. (struct test_cc_c_data): Likewise.
  8871. (struct test_f_i_data): Likewise.
  8872. (struct test_ff_i_data): Likewise.
  8873. (struct test_f_l_data): Likewise.
  8874. (struct test_f_L_data): Likewise.
  8875. (struct test_fFF_11_data): Likewise.
  8876. (struct test_Ff_b1_data): Likewise.
  8877. (IF_ROUND_INIT_): Likewise.
  8878. (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
  8879. (IF_ROUND_INIT_FE_TONEAREST): Likewise.
  8880. (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
  8881. (IF_ROUND_INIT_FE_UPWARD): Likewise.
  8882. (ROUND_RESTORE_): Likewise.
  8883. (ROUND_RESTORE_FE_DOWNWARD): Likewise.
  8884. (ROUND_RESTORE_FE_TONEAREST): Likewise.
  8885. (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
  8886. (ROUND_RESTORE_FE_UPWARD): Likewise.
  8887. (RM_): Likewise.
  8888. (RM_FE_DOWNWARD): Likewise.
  8889. (RM_FE_TONEAREST): Likewise.
  8890. (RM_FE_TOWARDZERO): Likewise.
  8891. (RM_FE_UPWARD): Likewise.
  8892. (COMMON_TEST_SETUP): Likewise.
  8893. (EXTRA_OUTPUT_TEST_SETUP): Likewise.
  8894. (COMMON_TEST_CLEANUP): Likewise.
  8895. (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
  8896. (RUN_TEST_f_f): Likewise.
  8897. (RUN_TEST_LOOP_f_f): Likewise.
  8898. (RUN_TEST_fp_f): Likewise.
  8899. (RUN_TEST_LOOP_fp_f): Likewise.
  8900. (RUN_TEST_2_f): Likewise.
  8901. (RUN_TEST_LOOP_2_f): Likewise.
  8902. (RUN_TEST_ff_f): Likewise.
  8903. (RUN_TEST_LOOP_ff_f): Likewise.
  8904. (RUN_TEST_LOOP_fj_f): Likewise.
  8905. (RUN_TEST_fi_f): Likewise.
  8906. (RUN_TEST_LOOP_fi_f): Likewise.
  8907. (RUN_TEST_fl_f): Likewise.
  8908. (RUN_TEST_LOOP_fl_f): Likewise.
  8909. (RUN_TEST_if_f): Likewise.
  8910. (RUN_TEST_LOOP_if_f): Likewise.
  8911. (RUN_TEST_fff_f): Likewise.
  8912. (RUN_TEST_LOOP_fff_f): Likewise.
  8913. (RUN_TEST_fiu_M): Likewise.
  8914. (RUN_TEST_LOOP_fiu_M): Likewise.
  8915. (RUN_TEST_fiu_U): Likewise.
  8916. (RUN_TEST_LOOP_fiu_U): Likewise.
  8917. (RUN_TEST_c_f): Likewise.
  8918. (RUN_TEST_LOOP_c_f): Likewise.
  8919. (RUN_TEST_f_f1): Likewise.
  8920. (RUN_TEST_LOOP_f_f1): Likewise.
  8921. (RUN_TEST_fF_f1): Likewise.
  8922. (RUN_TEST_LOOP_fF_f1): Likewise.
  8923. (RUN_TEST_fI_f1): Likewise.
  8924. (RUN_TEST_LOOP_fI_f1): Likewise.
  8925. (RUN_TEST_ffI_f1_mod8): Likewise.
  8926. (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
  8927. (RUN_TEST_Ff_b1): Likewise.
  8928. (RUN_TEST_LOOP_Ff_b1): Likewise.
  8929. (RUN_TEST_Ffp_b1): Likewise.
  8930. (RUN_TEST_LOOP_Ffp_b1): Likewise.
  8931. (RUN_TEST_c_c): Likewise.
  8932. (RUN_TEST_LOOP_c_c): Likewise.
  8933. (RUN_TEST_cc_c): Likewise.
  8934. (RUN_TEST_LOOP_cc_c): Likewise.
  8935. (RUN_TEST_f_i): Likewise.
  8936. (RUN_TEST_LOOP_f_i): Likewise.
  8937. (RUN_TEST_f_i_tg): Likewise.
  8938. (RUN_TEST_LOOP_f_i_tg): Likewise.
  8939. (RUN_TEST_ff_b): Likewise.
  8940. (RUN_TEST_LOOP_ff_b): Likewise.
  8941. (RUN_TEST_ff_i_tg): Likewise.
  8942. (RUN_TEST_LOOP_ff_i_tg): Likewise.
  8943. (RUN_TEST_f_b): Likewise.
  8944. (RUN_TEST_LOOP_f_b): Likewise.
  8945. (RUN_TEST_f_b_tg): Likewise.
  8946. (RUN_TEST_LOOP_f_b_tg): Likewise.
  8947. (RUN_TEST_f_l): Likewise.
  8948. (RUN_TEST_LOOP_f_l): Likewise.
  8949. (RUN_TEST_f_L): Likewise.
  8950. (RUN_TEST_LOOP_f_L): Likewise.
  8951. (RUN_TEST_fFF_11): Likewise.
  8952. (RUN_TEST_LOOP_fFF_11): Likewise.
  8953. (VEC_SUFF): Likewise.
  8954. (STR_CONCAT): Likewise.
  8955. (STR_CON3): Likewise.
  8956. (HAVE_VECTOR): Likewise.
  8957. (START): Likewise.
  8958. (END): Likewise.
  8959. (END_COMPLEX): Likewise.
  8960. (ALL_RM_TEST): Likewise.
  8961. (matherr): Likewise.
  8962. (initialize): Likewise.
  8963. (options): Likewise.
  8964. (doc): Likewise.
  8965. (parse_opt): Likewise.
  8966. (argp): Likewise.
  8967. (check_ulp): Likewise.
  8968. (main): Likewise.
  8969. (do_test): New function. Call tests of individual functions
  8970. previously called from main.
  8971. * math/libm-test.inc: Remove comment listing functions tested and
  8972. not tested.
  8973. 2016-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  8974. * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
  8975. (allocate_stack): Remove COLORING_INCREMENT usage.
  8976. * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
  8977. * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
  8978. 2017-02-06 Joseph Myers <joseph@codesourcery.com>
  8979. * manual/libm-err-tab.pl (@all_functions): Change to
  8980. %all_functions. Initialize as empty.
  8981. (parse_ulps): Add to %all_functions based on functions found in
  8982. ulps files. Ignore results for non-default rounding modes and
  8983. vector functions.
  8984. (print_platforms): Use %all_platforms.
  8985. * manual/math.texi (Errors in Math Functions): Document omissions
  8986. from the table.
  8987. * math/Makefile (before-compile): Remove.
  8988. 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
  8989. [BZ #21075]
  8990. * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
  8991. unused assignment.
  8992. * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
  8993. 2017-02-06 Stefan Liebler <stli@linux.vnet.ibm.com>
  8994. * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
  8995. Add __glibc_unlikely hint.
  8996. 2017-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  8997. [BZ #16640]
  8998. * sysdeps/i386/i686/strtok.S: Remove file.
  8999. * sysdeps/i386/i686/strtok_r.S: Likewise.
  9000. * sysdeps/i386/strtok.S: Likewise.
  9001. * sysdeps/i386/strtok_r.S: Likewise.
  9002. * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
  9003. * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
  9004. * sysdeps/x86_64/strtok.S: Likewise.
  9005. * sysdeps/x86_64/strtok_r.S: Likewise.
  9006. * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
  9007. * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
  9008. * sysdeps/unix/sysv/linux/mips/kernel-features.h
  9009. (__ASSUME_FADVISE64_AS_64_64): Define.
  9010. * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
  9011. !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
  9012. [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
  9013. __ALIGNMENT_ARG usage.
  9014. [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
  9015. __NR_fadvise64_64 if it is not defined.
  9016. 2017-02-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
  9017. * version.h (RELEASE): Set to "development"
  9018. (VERSION): Set to 2.25.90.
  9019. * NEWS: Add 2.26 section.
  9020. * version.h (RELEASE): Set to "stable"
  9021. (VERSION): Set to 2.25.
  9022. * include/features.h (__GLIBC_MINOR__): Set to 25.
  9023. * manual/contrib.texi: Add more contributors from this release
  9024. and past releases.
  9025. * NEWS (2.25): Add list of bugs fixed.
  9026. * NEWS: Add missing news items.
  9027. 2017-02-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
  9028. * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
  9029. parent if child exited in that manner. Print WEXITSTATUS
  9030. instead of the raw status.
  9031. (do_test_prep): Rename to do_test.
  9032. (do_test): Return the result of run_executable_sgid.
  9033. (TEST_FUNCTION_ARGV): Adjust.
  9034. 2017-02-03 Alexandre Oliva <aoliva@redhat.com>
  9035. Florian Weimer <fweimer@redhat.com>
  9036. Carlos O'Donell <carlos@redhat.com>
  9037. [BZ #20915]
  9038. * elf/dl-reloc.c (_dl_nothread_init_static_tls):
  9039. Do not initialize DTV.
  9040. * nptl/allocatestack.c (init_one_static_tls): Likewise.
  9041. 2017-02-03 David S. Miller <davem@davemloft.net>
  9042. * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
  9043. * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
  9044. * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
  9045. * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
  9046. * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
  9047. * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
  9048. * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
  9049. * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
  9050. * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
  9051. (libm-sysdep_routines): Update.
  9052. * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
  9053. * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
  9054. * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
  9055. * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
  9056. * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
  9057. * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
  9058. * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
  9059. * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
  9060. * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
  9061. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
  9062. Likewise.
  9063. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
  9064. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
  9065. Likewise.
  9066. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
  9067. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
  9068. Likewise.
  9069. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
  9070. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
  9071. Likewise.
  9072. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
  9073. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
  9074. (libm-sysdep_routines): Update.
  9075. 2017-02-02 H.J. Lu <hongjiu.lu@intel.com>
  9076. * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
  9077. _dl_fatal_printf with _dl_error_printf for IFUNC relocation
  9078. against unrelocated shared library.
  9079. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
  9080. 2017-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
  9081. * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
  9082. * elf/tst-env-setuid-tunables.c
  9083. (test_child_tunables)[!HAVE_TUNABLES]: Verify that
  9084. GLIBC_TUNABLES is removed in a setgid process.
  9085. [BZ #21073]
  9086. * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
  9087. * elf/dl-tunables.c (tunables_strdup): Remove.
  9088. (get_next_env): Also return the previous envp.
  9089. (parse_tunables): Erase tunables of category
  9090. TUNABLES_SECLEVEL_SXID_ERASE.
  9091. (maybe_enable_malloc_check): Make MALLOC_CHECK_
  9092. TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
  9093. (__tunables_init)[TUNABLES_FRONTEND ==
  9094. TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
  9095. after parsing.
  9096. [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
  9097. tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
  9098. * elf/dl-tunables.h (struct _tunable): Change member is_secure
  9099. to security_level.
  9100. * elf/dl-tunables.list: Add security_level annotations for all
  9101. tunables.
  9102. * scripts/gen-tunables.awk: Recognize and generate enum values
  9103. for security_level.
  9104. * elf/tst-env-setuid.c: New test case.
  9105. * elf/tst-env-setuid-tunables: new test case.
  9106. * elf/Makefile (tests-static): Add them.
  9107. 2017-02-01 Richard Henderson <rth@twiddle.net>
  9108. * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
  9109. adjusting the byte count.
  9110. 2017-02-01 Andreas Schwab <schwab@linux-m68k.org>
  9111. * conform/Makefile (linknamespace-libs): Define.
  9112. * sysdeps/m68k/m680x0/m68020/atomic-machine.h
  9113. (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
  9114. (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
  9115. operands.
  9116. 2017-01-31 Chung-Lin Tang <cltang@codesourcery.com>
  9117. * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
  9118. 2017-01-30 H.J. Lu <hongjiu.lu@intel.com>
  9119. [BZ #21081]
  9120. * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
  9121. (L(stosb)): Add VZEROUPPER before ret.
  9122. 2016-01-28 Carlos O'Donell <carlos@redhat.com>
  9123. Alexey Makhalov <amakhalov@vmware.com>
  9124. Florian Weimer <fweimer@redhat.com>
  9125. [BZ #20116]
  9126. * nptl/pthread_create.c: Document concurrency notes.
  9127. Enhance thread creation notes.
  9128. (create_thread): Use bool *stopped_start.
  9129. (START_THREAD_DEFN): Comment ownership of PD.
  9130. (__pthread_create_2_1): Add local bool stopped_start and use
  9131. that instead of pd->stopped_start where appropriate.
  9132. * nptl/createthread.c (create_thread): Use bool *stopped_start.
  9133. * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
  9134. * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
  9135. * nptl/tst-create-detached.c: New file.
  9136. * nptl/Makefile (tests): Add tst-create-detached.
  9137. * nptl/pthread_getschedparam.c (__pthread_getschedparam):
  9138. Reference the enhanced thread creation notes.
  9139. * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
  9140. * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
  9141. * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
  9142. (__pthread_current_priority): Likewise.
  9143. * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
  9144. xpthread_attr_init, xpthread_attr_setdetachstate, and
  9145. xpthread_attr_setstacksize.
  9146. * support/xpthread_attr_destroy.c: New file.
  9147. * support/xpthread_attr_init.c: New file.
  9148. * support/xpthread_attr_setdetachstate.c: New file.
  9149. * support/xpthread_attr_setstacksize.c: New file.
  9150. * support/xthread.h: Define prototypes for xpthread_attr_destroy
  9151. xpthread_attr_init, xpthread_attr_setdetachstate, and
  9152. xpthread_attr_setstacksize.
  9153. 2017-01-27 Florian Weimer <fweimer@redhat.com>
  9154. * nptl/Makefile (tests): Add tst-robust-fork.
  9155. * nptl/tst-robust-fork.c: New file.
  9156. * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
  9157. xpthread_mutex_consistent, xpthread_mutex_destroy,
  9158. xpthread_mutex_init, xpthread_mutexattr_destroy,
  9159. xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
  9160. xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
  9161. xpthread_mutexattr_settype.
  9162. * support/xmmap.c: New file.
  9163. * support/xmunmap.c: Likewise.
  9164. * support/xpthread_mutex_consistent.c: Likewise.
  9165. * support/xpthread_mutex_destroy.c: Likewise.
  9166. * support/xpthread_mutex_init.c: Likewise.
  9167. * support/xpthread_mutexattr_destroy.c: Likewise.
  9168. * support/xpthread_mutexattr_init.c: Likewise.
  9169. * support/xpthread_mutexattr_setprotocol.c: Likewise.
  9170. * support/xpthread_mutexattr_setpshared.c: Likewise.
  9171. * support/xpthread_mutexattr_setrobust.c: Likewise.
  9172. * support/xpthread_mutexattr_settype.c: Likewise.
  9173. * support/xthread.h (xpthread_mutexattr_destroy)
  9174. (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
  9175. (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
  9176. (xpthread_mutexattr_settype, xpthread_mutex_init)
  9177. (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
  9178. * support/xunistd.h (xmmap, xmunmap): Likewise.
  9179. 2017-01-25 Florian Weimer <fweimer@redhat.com>
  9180. * string/Makefile (xtests): Add comment.
  9181. (LOCALES): Add en_GB.UTF-8.
  9182. (tst-strcoll-overflow.out): Depend on generated locales.
  9183. * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
  9184. (SIZE, TIMEOUT): Update comments.
  9185. (do_test): Define as static. Fail test if setlocale fails.
  9186. Return EXIT_UNSUPPORTED if insufficient memory. Enhance output
  9187. messages.
  9188. (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
  9189. TIMEOUT at 300 seconds should be enough to run this test
  9190. successfully.
  9191. 2017-01-24 Jakub Jelinek <jakub@redhat.com>
  9192. * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
  9193. /* FALLTHRU */ comments.
  9194. 2017-01-24 James Clarke <jrtc27@jrtc27.com>
  9195. [BZ #21053]
  9196. * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
  9197. constants instead of the old R* ones.
  9198. * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
  9199. * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
  9200. (NGREG): ... to this, to fit in with other architectures.
  9201. (gpregset_t): Use new NGREG macro.
  9202. [__USE_GNU]: Remove condition; all architectures other than tile
  9203. are unconditional.
  9204. (R*): Rename to REG_R*.
  9205. 2017-01-20 DJ Delorie <dj@redhat.com>
  9206. * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
  9207. (tunable_set_val_if_valid_range_signed) ... this, and ...
  9208. (tunable_set_val_if_valid_range_unsigned) ... this.
  9209. (tunable_initialize): Call the correct one of the above based on type.
  9210. 2017-01-20 Joseph Myers <joseph@codesourcery.com>
  9211. * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
  9212. * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
  9213. * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
  9214. * sysdeps/microblaze/libm-test-ulps: Likewise.
  9215. * sysdeps/sh/libm-test-ulps: Likewise.
  9216. * math/README.libm-test: Update list of characters for input and
  9217. output types.
  9218. 2017-01-20 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  9219. * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
  9220. (__lll_unlock_elision): Fix adapt_count decrement.
  9221. 2017-01-14 Martin Galvan <martingalvan@sourceware.org>
  9222. * README.pretty-printers (Known issues): Warn about printers not
  9223. always covering everything.
  9224. * nptl/nptl-printers.py (MutexPrinter): Change output.
  9225. * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
  9226. 2017-01-20 Stefan Liebler <stli@linux.vnet.ibm.com>
  9227. * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
  9228. * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
  9229. * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
  9230. (__lll_lock_elision): Do not test futex before starting a
  9231. transaction. Use __glibc_likely instead of __builtin_expect.
  9232. * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
  9233. (__lll_trylock_elision): Do not test futex before starting a
  9234. transaction. Use __glibc_likely instead of __builtin_expect.
  9235. 2017-01-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
  9236. * po/Makefile (update-translations): New target.
  9237. 2017-01-19 Joseph Myers <joseph@codesourcery.com>
  9238. [BZ #21061]
  9239. * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
  9240. 2017-01-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
  9241. * elf/dl-tunables (get_next_env): Always advance envp.
  9242. * stdlib/tst-empty-env.c: New test case.
  9243. * stdlib/Makefile (tests): Use it.
  9244. 2017-01-19 Joseph Myers <joseph@codesourcery.com>
  9245. [BZ #21047]
  9246. * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
  9247. name for instruction.
  9248. [!__SOFTFP__] (_FPU_SETCW): Likewise.
  9249. 2017-01-18 Joseph Myers <joseph@codesourcery.com>
  9250. * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
  9251. for make install.
  9252. 2017-01-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
  9253. * po/bg.po: Merge from Translation Project.
  9254. * po/fr.po: Likewise.
  9255. * po/ko.po: Likewise.
  9256. * po/nl.po: Likewise.
  9257. * po/sv.po: Likewise.
  9258. 2017-01-18 Joseph Myers <joseph@codesourcery.com>
  9259. * manual/install.texi (Tools for Compilation): Update GCC version
  9260. known to work to build glibc.
  9261. * INSTALL: Regenerated.
  9262. 2017-01-17 Stefan Liebler <stli@linux.vnet.ibm.com>
  9263. [BZ #21006]
  9264. * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
  9265. 2017-01-16 Joseph Myers <joseph@codesourcery.com>
  9266. [BZ #21045]
  9267. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
  9268. (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
  9269. to __sigprocmask.
  9270. 2017-01-16 Chris Metcalf <cmetcalf@mellanox.com>
  9271. * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
  9272. wrap-around.
  9273. * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
  9274. * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
  9275. 2016-01-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
  9276. * NEWS: Fix typo.
  9277. 2016-01-13 Torvald Riegel <triegel@redhat.com>
  9278. * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
  9279. barriers and comments.
  9280. * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
  9281. * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
  9282. * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
  9283. 2016-01-13 Torvald Riegel <triegel@redhat.com>
  9284. [BZ #19402]
  9285. * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
  9286. mutexes.
  9287. 2016-01-13 Torvald Riegel <triegel@redhat.com>
  9288. [BZ #20985]
  9289. * nptl/Makefile: Adapt.
  9290. * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
  9291. (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
  9292. * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
  9293. (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
  9294. (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
  9295. * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
  9296. lll_robust* functions and adapt.
  9297. * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
  9298. * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
  9299. __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
  9300. __lll_robust_timedlock, __lll_robust_unlock): Remove.
  9301. * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
  9302. lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
  9303. * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
  9304. lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
  9305. * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
  9306. __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
  9307. __lll_robust_timedlock, __lll_robust_unlock): Remove.
  9308. * nptl/lowlevelrobustlock.c: Remove file.
  9309. * nptl/lowlevelrobustlock.sym: Likewise.
  9310. * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
  9311. * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
  9312. 2017-01-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  9313. * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
  9314. 2017-01-12 Siddhesh Poyarekar <siddhesh@sourceware.org>
  9315. * po/cs.po: Merge translations from the Translation Project.
  9316. * po/de.po: Likewise.
  9317. * po/pl.po: Likewise.
  9318. * po/ru.po: Likewise.
  9319. * po/tr.po: Likewise.
  9320. * po/uk.po: Likewise.
  9321. * po/vi.po: Likewise.
  9322. * po/zh_CN.po: Likewise.
  9323. 2017-01-12 Joseph Myers <joseph@codesourcery.com>
  9324. * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
  9325. * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
  9326. object.
  9327. 2017-01-11 Joseph Myers <joseph@codesourcery.com>
  9328. [BZ #16458]
  9329. * bits/uintn-identity.h: New file.
  9330. * inet/netinet/in.h: Include <bits/uintn-identity.h>.
  9331. [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
  9332. [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
  9333. [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
  9334. [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
  9335. * string/endian.h: Include <bits/uintn-identity.h>.
  9336. [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
  9337. __uint16_identity.
  9338. [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
  9339. [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
  9340. __uint32_identity.
  9341. [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
  9342. [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
  9343. __uint64_identity.
  9344. [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
  9345. [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
  9346. __uint16_identity.
  9347. [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
  9348. [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
  9349. __uint32_identity.
  9350. [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
  9351. [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
  9352. __uint64_identity.
  9353. [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
  9354. * string/Makefile (headers): Add bits/uintn-identity.h.
  9355. (tests): Add test-endian-types.
  9356. * string/test-endian-types.c: New file.
  9357. * inet/Makefile (tests): Add test-hnto-types.
  9358. * inet/test-hnto-types.c: New file.
  9359. 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
  9360. * po/be.po: Update from Translation Project.
  9361. * po/bg.po: Likewise.
  9362. * po/ca.po: Likewise.
  9363. * po/cs.po: Likewise.
  9364. * po/da.po: Likewise.
  9365. * po/de.po: Likewise.
  9366. * po/el.po: Likewise.
  9367. * po/eo.po: Likewise.
  9368. * po/es.po: Likewise.
  9369. * po/fi.po: Likewise.
  9370. * po/fr.po: Likewise.
  9371. * po/gl.po: Likewise.
  9372. * po/hr.po: Likewise.
  9373. * po/hu.po: Likewise.
  9374. * po/ia.po: Likewise.
  9375. * po/id.po: Likewise.
  9376. * po/it.po: Likewise.
  9377. * po/ja.po: Likewise.
  9378. * po/ko.po: Likewise.
  9379. * po/lt.po: Likewise.
  9380. * po/nb.po: Likewise.
  9381. * po/nl.po: Likewise.
  9382. * po/pl.po: Likewise.
  9383. * po/pt_BR.po: Likewise.
  9384. * po/ru.po: Likewise.
  9385. * po/rw.po: Likewise.
  9386. * po/sk.po: Likewise.
  9387. * po/sl.po: Likewise.
  9388. * po/sv.po: Likewise.
  9389. * po/tr.po: Likewise.
  9390. * po/uk.po: Likewise.
  9391. * po/vi.po: Likewise.
  9392. * po/zh_CN.po: Likewise.
  9393. * po/zh_TW.po: Likewise.
  9394. 2017-01-11 Joseph Myers <joseph@codesourcery.com>
  9395. * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
  9396. -Wformat-truncation instead of -Wformat-length.
  9397. * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
  9398. * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
  9399. GCC 7.
  9400. * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
  9401. (do_test): Ignore -Wformat-truncation for GCC 7.
  9402. * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
  9403. buffer used to print long int value.
  9404. * elf/sotruss-lib.c (init): Increase space allocated for pid by
  9405. one byte. Print it with %ld, cast to long int.
  9406. 2017-01-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
  9407. * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
  9408. (re.fullmatch, subprocess.run): Likewise.
  9409. 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
  9410. * po/libc.pot: Regenerate.
  9411. 2016-01-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
  9412. * elf/dl-tunables.c (tunables_unsetenv): Remove function.
  9413. (min_strlen): Likewise.
  9414. (disable_tunable): Likewise.
  9415. (maybe_disable_malloc_check): Rename to
  9416. maybe_enable_malloc_check.
  9417. (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
  9418. if /etc/suid-debug file exists.
  9419. (__tunables_init): Update caller.
  9420. * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
  9421. secure.
  9422. 2016-01-10 Torvald Riegel <triegel@redhat.com>
  9423. * nptl/DESIGN-rwlock.txt: Remove.
  9424. * nptl/lowlevelrwlock.sym: Remove.
  9425. * nptl/Makefile: Add new tests.
  9426. * nptl/pthread_rwlock_common.c: New file. Contains the new rwlock.
  9427. * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
  9428. (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
  9429. PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
  9430. PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
  9431. PTHREAD_RWLOCK_FUTEX_USED): New.
  9432. * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
  9433. implementation.
  9434. * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
  9435. (__pthread_rwlock_rdlock): Adapt.
  9436. * nptl/pthread_rwlock_timedrdlock.c
  9437. (pthread_rwlock_timedrdlock): Adapt.
  9438. * nptl/pthread_rwlock_timedwrlock.c
  9439. (pthread_rwlock_timedwrlock): Adapt.
  9440. * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
  9441. * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
  9442. * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
  9443. * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
  9444. (__pthread_rwlock_wrlock): Adapt.
  9445. * nptl/tst-rwlock10.c: Adapt.
  9446. * nptl/tst-rwlock11.c: Adapt.
  9447. * nptl/tst-rwlock17.c: New file.
  9448. * nptl/tst-rwlock18.c: New file.
  9449. * nptl/tst-rwlock19.c: New file.
  9450. * nptl/tst-rwlock2b.c: New file.
  9451. * nptl/tst-rwlock8.c: Adapt.
  9452. * nptl/tst-rwlock9.c: Adapt.
  9453. * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
  9454. * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
  9455. * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
  9456. * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
  9457. * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
  9458. * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
  9459. * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
  9460. * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
  9461. * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
  9462. * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
  9463. * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
  9464. * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
  9465. * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
  9466. (pthread_rwlock_t): Adapt.
  9467. * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
  9468. (pthread_rwlock_t): Adapt.
  9469. * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
  9470. * nptl/nptl-printers.py (): Adapt.
  9471. * nptl/nptl_lock_constants.pysym: Adapt.
  9472. * nptl/test-rwlock-printers.py: Adapt.
  9473. * nptl/test-rwlockattr-printers.c: Adapt.
  9474. * nptl/test-rwlockattr-printers.py: Adapt.
  9475. 2017-01-10 Joseph Myers <joseph@codesourcery.com>
  9476. * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
  9477. (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
  9478. (fma_test_data): Likewise.
  9479. (hypot_test_data): Likewise.
  9480. (log1p_test_data): Likewise.
  9481. (modf_test_data): Likewise.
  9482. (pow_test_data): Likewise.
  9483. (remainder_test_data): Likewise.
  9484. (remquo_test_data): Likewise.
  9485. (scalb_test_data): Likewise.
  9486. (scalbn_test_data): Likewise.
  9487. (scalbln_test_data): Likewise.
  9488. * math/gen-libm-test.pl (parse_args): Transform
  9489. XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
  9490. on the rounding mode.
  9491. 2017-01-09 Joseph Myers <joseph@codesourcery.com>
  9492. * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
  9493. xfail-rounding:ibm128-libgcc automatically to tests overflowing
  9494. and those that can underflow to zero.
  9495. * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
  9496. add others.
  9497. * math/auto-libm-test-out: Regenerated.
  9498. * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
  9499. supported.
  9500. (feholdexcept_tests): Skip tests requiring exceptions or rounding
  9501. modes support if not supported.
  9502. * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
  9503. Add libc.so PLT entry.
  9504. (__tls_get_addr): Make ld.so PLT entry optional.
  9505. 2017-01-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  9506. * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
  9507. * string/bits/string3.h: ... here.
  9508. 2017-01-05 Joseph Myers <joseph@codesourcery.com>
  9509. [BZ #21028]
  9510. * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
  9511. * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
  9512. if EXCEPTION_TESTS returns false.
  9513. 2017-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  9514. [BZ #20558]
  9515. * string/bits/string3.h [__USE_MISC] (bcopy): Move to
  9516. strings_fortified.h.
  9517. [__USE_MISC] (bzero): Likewise.
  9518. [__USE_MISC] (explicit_bzero): Likewise.
  9519. * string/strings.h: Include strings_fortified.h.
  9520. * string/Makefile (headers): Add strings_fortified.h.
  9521. * string/bits/strings_fortified.h: New file.
  9522. * include/bits/strings_fortified.h: Likewise.
  9523. 2017-01-05 Joseph Myers <joseph@codesourcery.com>
  9524. * elf/tst-tls13.c (TIMEOUT): Remove.
  9525. * iconvdata/tst-loading.c (TIMEOUT): Likewise.
  9526. * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
  9527. * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
  9528. * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
  9529. * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
  9530. [BZ #21026]
  9531. * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
  9532. (readahead): New syscall entry.
  9533. 2017-01-04 Joseph Myers <joseph@codesourcery.com>
  9534. * string/tester.c (test_strncat): Disable -Wstringop-overflow=
  9535. around tests of strncat with large sizes.
  9536. * malloc/tst-malloc.c: Include <libc-internal.h>.
  9537. (do_test): Disable -Walloc-size-larger-than= around tests of
  9538. malloc with negative sizes.
  9539. * malloc/tst-mcheck.c: Include <libc-internal.h>.
  9540. (do_test): Disable -Walloc-size-larger-than= around tests of
  9541. malloc and realloc with negative sizes.
  9542. * malloc/tst-realloc.c: Include <libc-internal.h>.
  9543. (do_test): Disable -Walloc-size-larger-than= around tests of
  9544. realloc with negative sizes.
  9545. * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
  9546. (init_max_error) [TEST_COND_ibm128]: Increase maximum error
  9547. allowed to 16 ulps.
  9548. * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
  9549. ibm128-libgcc. XFAIL more tests for ibm128-libgcc.
  9550. * math/auto-libm-test-out: Regenerated.
  9551. 2017-01-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  9552. * math/Makefile (libm-calls): Move wrappers...
  9553. (libm-compat-call-auto): Here.
  9554. (libm-routines): Add items in libm-compat-calls-auto.
  9555. * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
  9556. the filenames of the wrappers that have been renamed.
  9557. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
  9558. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
  9559. * math/w_acos.c: Add _compat suffix to filename.
  9560. * math/w_acosf.c: Likewise.
  9561. * math/w_acosh.c: Likewise.
  9562. * math/w_acoshf.c: Likewise.
  9563. * math/w_acoshl.c: Likewise.
  9564. * math/w_acosl.c: Likewise.
  9565. * math/w_asin.c: Likewise.
  9566. * math/w_asinf.c: Likewise.
  9567. * math/w_asinl.c: Likewise.
  9568. * math/w_atan2.c: Likewise.
  9569. * math/w_atan2f.c: Likewise.
  9570. * math/w_atan2l.c: Likewise.
  9571. * math/w_atanh.c: Likewise.
  9572. * math/w_atanhf.c: Likewise.
  9573. * math/w_atanhl.c: Likewise.
  9574. * math/w_cosh.c: Likewise.
  9575. * math/w_coshf.c: Likewise.
  9576. * math/w_coshl.c: Likewise.
  9577. * math/w_exp10.c: Likewise.
  9578. * math/w_exp10f.c: Likewise.
  9579. * math/w_exp10l.c: Likewise.
  9580. * math/w_exp2.c: Likewise.
  9581. * math/w_exp2f.c: Likewise.
  9582. * math/w_exp2l.c: Likewise.
  9583. * math/w_fmod.c: Likewise.
  9584. * math/w_fmodf.c: Likewise.
  9585. * math/w_fmodl.c: Likewise.
  9586. * math/w_hypot.c: Likewise.
  9587. * math/w_hypotf.c: Likewise.
  9588. * math/w_hypotl.c: Likewise.
  9589. * math/w_j0.c: Likewise.
  9590. * math/w_j0f.c: Likewise.
  9591. * math/w_j0l.c: Likewise.
  9592. * math/w_j1.c: Likewise.
  9593. * math/w_j1f.c: Likewise.
  9594. * math/w_j1l.c: Likewise.
  9595. * math/w_jn.c: Likewise.
  9596. * math/w_jnf.c: Likewise.
  9597. * math/w_jnl.c: Likewise.
  9598. * math/w_log10.c: Likewise.
  9599. * math/w_log10f.c: Likewise.
  9600. * math/w_log10l.c: Likewise.
  9601. * math/w_log2.c: Likewise.
  9602. * math/w_log2f.c: Likewise.
  9603. * math/w_log2l.c: Likewise.
  9604. * math/w_log.c: Likewise.
  9605. * math/w_logf.c: Likewise.
  9606. * math/w_logl.c: Likewise.
  9607. * math/w_pow.c: Likewise.
  9608. * math/w_powf.c: Likewise.
  9609. * math/w_powl.c: Likewise.
  9610. * math/w_remainder.c: Likewise.
  9611. * math/w_remainderf.c: Likewise.
  9612. * math/w_remainderl.c: Likewise.
  9613. * math/w_scalb.c: Likewise.
  9614. * math/w_scalbf.c: Likewise.
  9615. * math/w_scalbl.c: Likewise.
  9616. * math/w_sinh.c: Likewise.
  9617. * math/w_sinhf.c: Likewise.
  9618. * math/w_sinhl.c: Likewise.
  9619. * math/w_sqrt.c: Likewise.
  9620. * math/w_sqrtf.c: Likewise.
  9621. * math/w_sqrtl.c: Likewise.
  9622. * math/w_tgamma.c: Likewise.
  9623. * math/w_tgammaf.c: Likewise.
  9624. * math/w_tgammal.c: Likewise.
  9625. * math/w_acos_compat.c: New file copied from above and
  9626. adjusted for new #includes path
  9627. * math/w_acosf_compat.c: Likewise.
  9628. * math/w_acosh_compat.c: Likewise.
  9629. * math/w_acoshf_compat.c: Likewise.
  9630. * math/w_acoshl_compat.c: Likewise.
  9631. * math/w_acosl_compat.c: Likewise.
  9632. * math/w_asin_compat.c: Likewise.
  9633. * math/w_asinf_compat.c: Likewise.
  9634. * math/w_asinl_compat.c: Likewise.
  9635. * math/w_atan2_compat.c: Likewise.
  9636. * math/w_atan2f_compat.c: Likewise.
  9637. * math/w_atan2l_compat.c: Likewise.
  9638. * math/w_atanh_compat.c: Likewise.
  9639. * math/w_atanhf_compat.c: Likewise.
  9640. * math/w_atanhl_compat.c: Likewise.
  9641. * math/w_cosh_compat.c: Likewise.
  9642. * math/w_coshf_compat.c: Likewise.
  9643. * math/w_coshl_compat.c: Likewise.
  9644. * math/w_exp10_compat.c: Likewise.
  9645. * math/w_exp10f_compat.c: Likewise.
  9646. * math/w_exp10l_compat.c: Likewise.
  9647. * math/w_exp2_compat.c: Likewise.
  9648. * math/w_exp2f_compat.c: Likewise.
  9649. * math/w_exp2l_compat.c: Likewise.
  9650. * math/w_fmod_compat.c: Likewise.
  9651. * math/w_fmodf_compat.c: Likewise.
  9652. * math/w_fmodl_compat.c: Likewise.
  9653. * math/w_hypot_compat.c: Likewise.
  9654. * math/w_hypotf_compat.c: Likewise.
  9655. * math/w_hypotl_compat.c: Likewise.
  9656. * math/w_j0_compat.c: Likewise.
  9657. * math/w_j0f_compat.c: Likewise.
  9658. * math/w_j0l_compat.c: Likewise.
  9659. * math/w_j1_compat.c: Likewise.
  9660. * math/w_j1f_compat.c: Likewise.
  9661. * math/w_j1l_compat.c: Likewise.
  9662. * math/w_jn_compat.c: Likewise.
  9663. * math/w_jnf_compat.c: Likewise.
  9664. * math/w_jnl_compat.c: Likewise.
  9665. * math/w_log10_compat.c: Likewise.
  9666. * math/w_log10f_compat.c: Likewise.
  9667. * math/w_log10l_compat.c: Likewise.
  9668. * math/w_log2_compat.c: Likewise.
  9669. * math/w_log2f_compat.c: Likewise.
  9670. * math/w_log2l_compat.c: Likewise.
  9671. * math/w_log_compat.c: Likewise.
  9672. * math/w_logf_compat.c: Likewise.
  9673. * math/w_logl_compat.c: Likewise.
  9674. * math/w_pow_compat.c: Likewise.
  9675. * math/w_powf_compat.c: Likewise.
  9676. * math/w_powl_compat.c: Likewise.
  9677. * math/w_remainder_compat.c: Likewise.
  9678. * math/w_remainderf_compat.c: Likewise.
  9679. * math/w_remainderl_compat.c: Likewise.
  9680. * math/w_scalb_compat.c: Likewise.
  9681. * math/w_scalbf_compat.c: Likewise.
  9682. * math/w_scalbl_compat.c: Likewise.
  9683. * math/w_sinh_compat.c: Likewise.
  9684. * math/w_sinhf_compat.c: Likewise.
  9685. * math/w_sinhl_compat.c: Likewise.
  9686. * math/w_sqrt_compat.c: Likewise.
  9687. * math/w_sqrtf_compat.c: Likewise.
  9688. * math/w_sqrtl_compat.c: Likewise.
  9689. * math/w_tgamma_compat.c: Likewise.
  9690. * math/w_tgammaf_compat.c: Likewise.
  9691. * math/w_tgammal_compat.c: Likewise.
  9692. * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
  9693. * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
  9694. * sysdeps/ia64/fpu/w_acosl.c: Likewise.
  9695. * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
  9696. * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
  9697. * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
  9698. * sysdeps/ia64/fpu/w_acosf.c: Likewise.
  9699. * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
  9700. * sysdeps/ia64/fpu/w_sinh.c: Likewise.
  9701. * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
  9702. * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
  9703. * sysdeps/ia64/fpu/w_scalb.c: Likewise.
  9704. * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
  9705. * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
  9706. * sysdeps/ia64/fpu/w_remainder.c: Likewise.
  9707. * sysdeps/ia64/fpu/w_powl.c: Likewise.
  9708. * sysdeps/ia64/fpu/w_powf.c: Likewise.
  9709. * sysdeps/ia64/fpu/w_pow.c: Likewise.
  9710. * sysdeps/ia64/fpu/w_logl.c: Likewise.
  9711. * sysdeps/ia64/fpu/w_logf.c: Likewise.
  9712. * sysdeps/ia64/fpu/w_log2l.c: Likewise.
  9713. * sysdeps/ia64/fpu/w_log2f.c: Likewise.
  9714. * sysdeps/ia64/fpu/w_log2.c: Likewise.
  9715. * sysdeps/ia64/fpu/w_log10l.c: Likewise.
  9716. * sysdeps/ia64/fpu/w_log10f.c: Likewise.
  9717. * sysdeps/ia64/fpu/w_log10.c: Likewise.
  9718. * sysdeps/ia64/fpu/w_log.c: Likewise.
  9719. * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
  9720. * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
  9721. * sysdeps/ia64/fpu/w_hypot.c: Likewise.
  9722. * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
  9723. * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
  9724. * sysdeps/ia64/fpu/w_fmod.c: Likewise.
  9725. * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
  9726. * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
  9727. * sysdeps/ia64/fpu/w_exp2.c: Likewise.
  9728. * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
  9729. * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
  9730. * sysdeps/ia64/fpu/w_exp10.c: Likewise.
  9731. * sysdeps/ia64/fpu/w_coshl.c: Likewise.
  9732. * sysdeps/ia64/fpu/w_coshf.c: Likewise.
  9733. * sysdeps/ia64/fpu/w_cosh.c: Likewise.
  9734. * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
  9735. * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
  9736. * sysdeps/ia64/fpu/w_atanh.c: Likewise.
  9737. * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
  9738. * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
  9739. * sysdeps/ia64/fpu/w_atan2.c: Likewise.
  9740. * sysdeps/ia64/fpu/w_asinl.c: Likewise.
  9741. * sysdeps/ia64/fpu/w_asinf.c: Likewise.
  9742. * sysdeps/ia64/fpu/w_asin.c: Likewise.
  9743. * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
  9744. * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
  9745. * sysdeps/ia64/fpu/w_acosh.c: Likewise.
  9746. * sysdeps/ia64/fpu/w_acos.c: Likewise.
  9747. * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
  9748. * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
  9749. * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
  9750. * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
  9751. * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
  9752. * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
  9753. * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
  9754. * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
  9755. * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
  9756. * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
  9757. * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
  9758. * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
  9759. * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
  9760. * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
  9761. * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
  9762. * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
  9763. * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
  9764. * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
  9765. * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
  9766. * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
  9767. * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
  9768. * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
  9769. * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
  9770. * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
  9771. * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
  9772. * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
  9773. * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
  9774. * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
  9775. * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
  9776. * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
  9777. * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
  9778. * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
  9779. * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
  9780. * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
  9781. * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
  9782. * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
  9783. * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
  9784. * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
  9785. * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
  9786. * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
  9787. * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
  9788. * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
  9789. * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
  9790. * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
  9791. * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
  9792. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
  9793. Likewise.
  9794. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
  9795. Likewise.
  9796. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
  9797. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
  9798. Likewise.
  9799. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
  9800. Likewise.
  9801. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
  9802. * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
  9803. * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
  9804. * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
  9805. * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
  9806. * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
  9807. * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
  9808. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
  9809. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
  9810. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
  9811. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
  9812. * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
  9813. * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
  9814. * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
  9815. * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
  9816. * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
  9817. and adjusted for new #includes path
  9818. * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
  9819. * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
  9820. * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
  9821. * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
  9822. * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
  9823. * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
  9824. * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
  9825. * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
  9826. * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
  9827. * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
  9828. * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
  9829. * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
  9830. * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
  9831. * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
  9832. * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
  9833. * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
  9834. * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
  9835. * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
  9836. * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
  9837. * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
  9838. * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
  9839. * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
  9840. * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
  9841. * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
  9842. * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
  9843. * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
  9844. * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
  9845. * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
  9846. * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
  9847. * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
  9848. * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
  9849. * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
  9850. * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
  9851. * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
  9852. * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
  9853. * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
  9854. * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
  9855. * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
  9856. * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
  9857. * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
  9858. * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
  9859. * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
  9860. * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
  9861. * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
  9862. * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
  9863. * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
  9864. * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
  9865. * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
  9866. * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
  9867. * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
  9868. * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
  9869. * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
  9870. * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
  9871. * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
  9872. * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
  9873. * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
  9874. * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
  9875. * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
  9876. * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
  9877. * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
  9878. * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
  9879. * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
  9880. * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
  9881. * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
  9882. * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
  9883. * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
  9884. * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
  9885. * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
  9886. * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
  9887. * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
  9888. * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
  9889. * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
  9890. * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
  9891. * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
  9892. * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
  9893. * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
  9894. * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
  9895. * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
  9896. * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
  9897. * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
  9898. * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
  9899. * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
  9900. * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
  9901. * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
  9902. * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
  9903. * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
  9904. * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
  9905. * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
  9906. * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
  9907. * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
  9908. * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
  9909. * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
  9910. * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
  9911. * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
  9912. * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
  9913. * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
  9914. * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
  9915. * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
  9916. * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
  9917. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
  9918. Likewise.
  9919. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
  9920. Likewise.
  9921. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
  9922. Likewise.
  9923. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
  9924. Likewise.
  9925. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
  9926. Likewise.
  9927. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
  9928. Likewise.
  9929. * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
  9930. * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
  9931. * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
  9932. * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
  9933. * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
  9934. * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
  9935. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
  9936. Likewise.
  9937. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
  9938. Likewise.
  9939. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
  9940. Likewise.
  9941. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
  9942. Likewise.
  9943. * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
  9944. * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
  9945. * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
  9946. * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
  9947. 2017-01-04 Joseph Myers <joseph@codesourcery.com>
  9948. * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
  9949. __jmp_buf_internal_tag.
  9950. * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
  9951. preserve NaN payload if [__mips_nan2008].
  9952. * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
  9953. [BZ #21022]
  9954. * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
  9955. 2017-01-03 Joseph Myers <joseph@codesourcery.com>
  9956. * sysdeps/i386/fpu/libm-test-ulps: Update.
  9957. 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  9958. * sysdeps/ia64/strcat.c: Remove file.
  9959. * sysdeps/powerpc/strcat.c: Likewise.
  9960. * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
  9961. C implementation.
  9962. * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
  9963. * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
  9964. 2017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  9965. Steven Munroe <sjmunroe@us.ibm.com>
  9966. Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  9967. [BZ #20822]
  9968. * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
  9969. (__lll_lock_elision): Access adapt_count via C11 atomics.
  9970. * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
  9971. (__lll_trylock_elision): Likewise.
  9972. * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
  9973. (__lll_unlock_elision): Update adapt_count variable inside the
  9974. critical section using C11 atomics.
  9975. 2017-01-03 Joseph Myers <joseph@codesourcery.com>
  9976. * math/test-fenvinline.c (do_test): Disable tests of raised
  9977. exceptions if !EXCEPTION_TESTS (FLOAT).
  9978. 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  9979. [BZ #19390]
  9980. * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
  9981. maximum string size.
  9982. * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
  9983. in pointer addition.
  9984. * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
  9985. Likewise.
  9986. 2017-01-03 Joseph Myers <joseph@codesourcery.com>
  9987. * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
  9988. passed to tst-ldconfig-X.sh.
  9989. 2017-01-03 Martin Galvan <martingalvan@sourceware.org>
  9990. * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
  9991. 2017-01-02 Joseph Myers <joseph@codesourcery.com>
  9992. [BZ #21019]
  9993. * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
  9994. New syscall entry.
  9995. * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
  9996. * io/test-lfs.c (do_test): Test offset returned from lseek64 and
  9997. lseek.
  9998. * scripts/build-many-glibcs.py (Context.add_all_configs): Add
  9999. power4 glibc for powerpc-linux-gnu.
  10000. 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  10001. * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
  10002. semctl.
  10003. 2017-01-02 Joseph Myers <joseph@codesourcery.com>
  10004. * math/test-nearbyint-except.c: Include <stdbool.h>.
  10005. (any_supported): New variable.
  10006. (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
  10007. set any_supported.
  10008. (do_test): Return 77 if no floating-point type supported
  10009. exceptions.
  10010. * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
  10011. condition on [__mips_hard_float].
  10012. 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  10013. [BZ #21014]
  10014. * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
  10015. in pointer addition.
  10016. * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
  10017. 2017-01-02 Torvald Riegel <triegel@redhat.com>
  10018. * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
  10019. new condvar.
  10020. 2017-01-02 Joseph Myers <joseph@codesourcery.com>
  10021. * scripts/build-many-glibcs.py (Context.checkout): Default
  10022. binutils version to 2.28 branch.
  10023. 2017-01-01 Florian Weimer <fweimer@redhat.com>
  10024. * support/support_format_netent.c (support_format_netent): Work
  10025. around alpha struct netent definition difference.
  10026. 2017-01-01 Florian Weimer <fweimer@redhat.com>
  10027. * support/xwrite.c (xwrite): Use %td for pointer difference.
  10028. 2017-01-01 Florian Weimer <fweimer@redhat.com>
  10029. * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
  10030. have-tunables only.
  10031. (tests-static): Add tst-malloc-usable-static-tunables for
  10032. have-tunables only.
  10033. 2017-01-01 Joseph Myers <joseph@codesourcery.com>
  10034. * scripts/config.guess: Update to version 2017-01-01.
  10035. * scripts/config.sub: Update to version 2017-01-01.
  10036. * NEWS: Update copyright dates.
  10037. * catgets/gencat.c (print_version): Likewise.
  10038. * csu/version.c (banner): Likewise.
  10039. * debug/catchsegv.sh: Likewise.
  10040. * debug/pcprofiledump.c (print_version): Likewise.
  10041. * debug/xtrace.sh (do_version): Likewise.
  10042. * elf/ldconfig.c (print_version): Likewise.
  10043. * elf/ldd.bash.in: Likewise.
  10044. * elf/pldd.c (print_version): Likewise.
  10045. * elf/sotruss.sh: Likewise.
  10046. * elf/sprof.c (print_version): Likewise.
  10047. * iconv/iconv_prog.c (print_version): Likewise.
  10048. * iconv/iconvconfig.c (print_version): Likewise.
  10049. * locale/programs/locale.c (print_version): Likewise.
  10050. * locale/programs/localedef.c (print_version): Likewise.
  10051. * login/programs/pt_chown.c (print_version): Likewise.
  10052. * malloc/memusage.sh (do_version): Likewise.
  10053. * malloc/memusagestat.c (print_version): Likewise.
  10054. * malloc/mtrace.pl: Likewise.
  10055. * manual/libc.texinfo: Likewise.
  10056. * nptl/version.c (banner): Likewise.
  10057. * nscd/nscd.c (print_version): Likewise.
  10058. * nss/getent.c (print_version): Likewise.
  10059. * nss/makedb.c (print_version): Likewise.
  10060. * posix/getconf.c (main): Likewise.
  10061. * scripts/test-installation.pl: Likewise.
  10062. * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
  10063. * All files with FSF copyright notices: Update copyright dates
  10064. using scripts/update-copyrights.
  10065. * intl/plural.c: Regenerated.
  10066. * locale/programs/charmap-kw.h: Likewise.
  10067. * locale/programs/locfile-kw.h: Likewise.
  10068. 2016-12-31 Florian Weimer <fweimer@redhat.com>
  10069. [BZ #20593]
  10070. Update DNS RR type definitions.
  10071. * scripts/gen-rrtypes.py: New file.
  10072. * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
  10073. BIND-internal RR type not used on the Internet. Add ns_t_ds,
  10074. ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
  10075. ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
  10076. ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
  10077. ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
  10078. ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
  10079. ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
  10080. ns_t_ta, ns_t_dlv.
  10081. * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
  10082. (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
  10083. (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
  10084. (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
  10085. (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
  10086. (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
  10087. Define.
  10088. * resolv/res_debug.c (__p_type_syms): Update comment. Remove
  10089. entry for ns_t_zxfr.
  10090. 2016-12-31 Florian Weimer <fweimer@redhat.com>
  10091. [BZ #18784]
  10092. CVE-2015-5180
  10093. * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
  10094. T_UNSPEC. Adjust value.
  10095. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
  10096. * resolv/res_query.c (__libc_res_nquery): Likewise.
  10097. * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
  10098. QTYPEs.
  10099. * resolv/tst-resolv-qtypes.c: New file.
  10100. * resolv/Makefile (xtests): Add tst-resolv-qtypes.
  10101. (tst-resolv-qtypes): Link against libresolv and libpthread.
  10102. 2016-12-31 Florian Weimer <fweimer@redhat.com>
  10103. * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
  10104. 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
  10105. * manual/tunables.texi: New chapter.
  10106. * manual/Makefile (chapters): Add it.
  10107. * manual/probes.texi (@node): Point to the Tunables chapter.
  10108. * Makeconfig (have-tunables): Check for non-negative instead
  10109. of positive.
  10110. * configure.ac: Add 'valstring' as a valid value for
  10111. --enable-tunables.
  10112. * configure: Regenerate.
  10113. * elf/Makefile (have-tunables): Check for non-negative instead
  10114. of positive.
  10115. (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
  10116. dl-tunables.c.
  10117. * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
  10118. TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
  10119. (tunables_strdup): Likewise.
  10120. (disable_tunables): Likewise.
  10121. (parse_tunables): Likewise.
  10122. (__tunables_init): Process GLIBC_TUNABLES envvar only when.
  10123. TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
  10124. * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
  10125. (TUNABLES_FRONTEND_yes): New macro, define as
  10126. TUNABLES_FRONTEND_valstring by default.
  10127. * manual/install.texi: Document new acceptable values for
  10128. --enable-tunables.
  10129. * INSTALL: Regenerate.
  10130. * config.make.in (have-loop-to-function): Define.
  10131. * elf/Makefile (CFLAGS-dl-tunables.c): Add
  10132. -fno-tree-loop-distribute-patterns.
  10133. * elf/dl-tunables.c: Include libc-internals.h.
  10134. (GLIBC_TUNABLES): New macro.
  10135. (tunables_strdup): New function.
  10136. (parse_tunables): New function.
  10137. (min_strlen): New function.
  10138. (__tunables_init): Use the new functions and macro.
  10139. (disable_tunable): Disable tunable from GLIBC_TUNABLES.
  10140. * malloc/tst-malloc-usable-tunables.c: New test case.
  10141. * malloc/tst-malloc-usable-static-tunables.c: New test case.
  10142. * malloc/Makefile (tests, tests-static): Add tests.
  10143. * manual/install.texi: Add --enable-tunables option.
  10144. * INSTALL: Regenerate.
  10145. * README.tunables: New file.
  10146. * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
  10147. (before-compile): Generate dl-tunable-list.h early.
  10148. * config.h.in: Add HAVE_TUNABLES.
  10149. * config.make.in: Add have-tunables.
  10150. * configure.ac: Add --enable-tunables option.
  10151. * configure: Regenerate.
  10152. * csu/init-first.c (__libc_init_first): Move
  10153. __libc_init_secure earlier...
  10154. * csu/init-first.c (LIBC_START_MAIN):... to here.
  10155. Include dl-tunables.h, libc-internal.h.
  10156. (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
  10157. binaries.
  10158. * elf/Makefile (dl-routines): Add dl-tunables.
  10159. * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
  10160. namespace.
  10161. * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
  10162. only when !HAVE_TUNABLES.
  10163. * elf/rtld.c (process_envvars): Likewise.
  10164. * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
  10165. (_dl_sysdep_start): Call __tunables_init.
  10166. * elf/dl-tunable-types.h: New file.
  10167. * elf/dl-tunables.c: New file.
  10168. * elf/dl-tunables.h: New file.
  10169. * elf/dl-tunables.list: New file.
  10170. * malloc/tst-malloc-usable-static.c: New test case.
  10171. * malloc/Makefile (tests-static): Add it.
  10172. * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
  10173. Define TUNABLE_NAMESPACE.
  10174. (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
  10175. (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
  10176. callback functions.
  10177. (ptmalloc_init): Set tunable values.
  10178. * scripts/gen-tunables.awk: New file.
  10179. * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
  10180. (_dl_sysdep_start): Call __tunables_init.
  10181. 2016-12-31 Florian Weimer <fweimer@redhat.com>
  10182. * resolv/resolv.h (RES_BLAST): Deprecate.
  10183. * resolv/res_debug.c (p_option): Remove RES_BLAST.
  10184. * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
  10185. to RES_BLAST.
  10186. 2016-12-27 Florian Weimer <fweimer@redhat.com>
  10187. [BZ #19582]
  10188. Deprecate RES_USE_INET6.
  10189. * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
  10190. (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
  10191. (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
  10192. RES_USE_INET6.
  10193. * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
  10194. (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
  10195. (_nss_nisplus_gethostbyaddr_r): Likewise.
  10196. * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
  10197. of res_use_inet6.
  10198. * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
  10199. instead of RES_USE_INET6.
  10200. * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
  10201. * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
  10202. (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
  10203. Likewise.
  10204. * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
  10205. (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
  10206. Likewise.
  10207. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
  10208. (_nss_dns_gethostbyname_r): Likewise.
  10209. (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
  10210. alternate RES_USE_INET6 handling.
  10211. * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
  10212. instead of RES_USE_INET6.
  10213. * resolv/res_init.c (res_setoptions): Likewise.
  10214. * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
  10215. * resolv/resolv-internal.h: New file.
  10216. * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
  10217. make the deprecation warning non-fatal.
  10218. * resolv/README (Using the resolver in multi-threaded code): Drop
  10219. reference to RES_USE_INET6.
  10220. * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
  10221. DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
  10222. 2016-12-31 Florian Weimer <fweimer@redhat.com>
  10223. * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
  10224. tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
  10225. tst-resolv-search.
  10226. (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
  10227. (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
  10228. with libresolv and libpthread.
  10229. * resolv/tst-bug18665.c: New file.
  10230. * resolv/tst-bug18665-tcp: Likewise.
  10231. * resolv/tst-res_use_inet6: Likewise.
  10232. * resolv/tst-resolv-basic: Likewise.
  10233. * resolv/tst-resolv-network: Likewise.
  10234. * resolv/tst-resolv-search: Likewise.
  10235. * support/Makefile (libsupport-routines): Add check_addrinfo,
  10236. check_dns_packet, check_hostent, check_netent, resolv_test,
  10237. support_format_address_family, support_format_addrinfo,
  10238. support_format_dns_packet, support_format_herrno,
  10239. support_format_hostent, support_format_netent, support_run_diff,
  10240. xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
  10241. xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
  10242. xstrdup, xwrite.
  10243. * support/check_addrinfo.c: New file.
  10244. * support/check_dns_packet.c: Likewise.
  10245. * support/check_hostent.c: Likewise.
  10246. * support/check_netent.c: Likewise.
  10247. * support/check_nss.h: Likewise.
  10248. * support/format_nss.h: Likewise.
  10249. * support/resolv_test.c: Likewise.
  10250. * support/resolv_test.h: Likewise.
  10251. * support/run_diff.h: Likewise.
  10252. * support/support_format_address_family.c: Likewise.
  10253. * support/support_format_addrinfo.c: Likewise.
  10254. * support/support_format_dns_packet.c: Likewise.
  10255. * support/support_format_herrno.c: Likewise.
  10256. * support/support_format_hostent.c: Likewise.
  10257. * support/support_format_netent.c: Likewise.
  10258. * support/support_run_diff.c: Likewise.
  10259. * support/xaccept.c: Likewise.
  10260. * support/xbind.c: Likewise.
  10261. * support/xconnect.c: Likewise.
  10262. * support/xfclose.c: Likewise.
  10263. * support/xfopen.c: Likewise.
  10264. * support/xgetsockname.c: Likewise.
  10265. * support/xlisten.c: Likewise.
  10266. * support/xmemstream.c: Likewise.
  10267. * support/xmemstream.h: Likewise.
  10268. * support/xpoll.c: Likewise.
  10269. * support/xpthread_once.c: Likewise.
  10270. * support/xrecvfrom.c: Likewise.
  10271. * support/xsendto.c: Likewise.
  10272. * support/xsetsockopt.c: Likewise.
  10273. * support/xstdio.h: Likewise.
  10274. * support/xstrdup.c: Likewise.
  10275. * support/support.h (xstrdup): Declare.
  10276. * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
  10277. (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
  10278. * support/xthread.h (xpthread_once): Likwise.
  10279. * support/xunistd.h (xwrite): Declare.
  10280. 2016-12-31 Florian Weimer <fweimer@redhat.com>
  10281. * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
  10282. (test_verbose): Declare.
  10283. * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
  10284. * support/support_test_main.c (default_options): Likewise.
  10285. (usage, support_test_main): Handle 'v'.
  10286. (test_verbose): Define.
  10287. * support/tst-support_record_failure.c (do_test): Use
  10288. test_verbose.
  10289. * support/tst-support_record_failure-2.sh (different_status): Add
  10290. --verbose test.
  10291. 2016-12-31 Florian Weimer <fweimer@redhat.com>
  10292. * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
  10293. test failures are recorded.
  10294. * support/check.c (support_print_failure_impl): Call
  10295. support_record_failure.
  10296. (support_exit_failure_impl): Call support_record_failure if status
  10297. indicates failure.
  10298. * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
  10299. * support/xasprintf.c (xasprintf): Likewise.
  10300. * support/xfork.c (xfork): Likewise.
  10301. * support/xpthread_check_return.c (xpthread_check_return):
  10302. Likewise.
  10303. * support/xsocket.c (xsocket): Likeweise.
  10304. * support/xwaitpid.c (xwaitpid): Likewise.
  10305. * support/support_record_failure.c (struct test_failures): Adjust
  10306. to coding style.
  10307. * support/support_test_verify_impl.c (support_test_verify_impl):
  10308. Adjust error messages.
  10309. * support/tst-support_record_failure-2.sh (different_status):
  10310. Adjust error messages.
  10311. 2016-12-31 Florian Weimer <fweimer@redhat.com>
  10312. * support/namespace.h: New file.
  10313. * support/support_become_root.c: Likewise.
  10314. * support/support_enter_network_namespace.c: Likewise.
  10315. * support/tst-support-namespace.c: Likewise.
  10316. * support/xsocket.c: Likewise.
  10317. * support/xsocket.h: Likewise.
  10318. * support/Makefile (libsupport-routines): Add support_become_root,
  10319. support_enter_network_namespace, xsocket.
  10320. (tests): Add tst-support-namespace.
  10321. 2016-12-31 Florian Weimer <fweimer@redhat.com>
  10322. [BZ #17252]
  10323. * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
  10324. __USE_GNU.
  10325. 2016-12-31 Torvald Riegel <triegel@redhat.com>
  10326. [BZ #13165]
  10327. * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
  10328. use new algorithm.
  10329. * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
  10330. * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
  10331. * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
  10332. * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
  10333. (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
  10334. (__condvar_confirm_wakeup, __condvar_cancel_waiting,
  10335. __condvar_cleanup_waiting, __condvar_dec_grefs,
  10336. __pthread_cond_wait_common): New.
  10337. (__condvar_cleanup): Remove.
  10338. * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
  10339. * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
  10340. Likewise.
  10341. * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
  10342. Likewise.
  10343. * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
  10344. * nptl/tst-cond1.c: Add comment.
  10345. * nptl/tst-cond20.c (do_test): Adapt.
  10346. * nptl/tst-cond22.c (do_test): Likewise.
  10347. * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
  10348. structure.
  10349. * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
  10350. * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
  10351. * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
  10352. * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
  10353. Likewise.
  10354. * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
  10355. * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
  10356. * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
  10357. * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
  10358. * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
  10359. * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
  10360. Likewise.
  10361. * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
  10362. Likewise.
  10363. * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
  10364. * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
  10365. (COND_CLOCK_BITS): Adapt.
  10366. * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
  10367. * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
  10368. __PTHREAD_COND_SHARED_MASK): New.
  10369. * nptl/nptl-printers.py (CLOCK_IDS): Remove.
  10370. (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
  10371. * nptl/nptl_lock_constants.pysym: Adapt.
  10372. * nptl/test-cond-printers.py: Adapt.
  10373. * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
  10374. cond_compat_check_and_clear): Adapt.
  10375. * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
  10376. * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
  10377. (__pthread_cond_timedwait): ... and move here.
  10378. * nptl/DESIGN-condvar.txt: Remove file.
  10379. * nptl/lowlevelcond.sym: Likewise.
  10380. * nptl/pthread_cond_timedwait.c: Likewise.
  10381. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
  10382. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
  10383. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
  10384. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
  10385. * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
  10386. * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
  10387. * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
  10388. * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
  10389. * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
  10390. * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
  10391. * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
  10392. * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
  10393. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
  10394. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
  10395. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
  10396. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
  10397. 2016-12-31 Joseph Myers <joseph@codesourcery.com>
  10398. * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
  10399. (fromfp): New declaration.
  10400. [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
  10401. [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
  10402. [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
  10403. * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
  10404. [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
  10405. [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
  10406. [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
  10407. [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
  10408. * math/math.h: Include <bits/types.h>.
  10409. [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
  10410. constant and macro.
  10411. (FP_INT_DOWNWARD): Likewise.
  10412. (FP_INT_TOWARDZERO): Likewise.
  10413. (FP_INT_TONEARESTFROMZERO): Likewise.
  10414. (FP_INT_TONEAREST): Likewise.
  10415. * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
  10416. (fromfpf): Likewise.
  10417. (fromfpl): Likewise.
  10418. (ufromfp): Likewise.
  10419. (ufromfpf): Likewise.
  10420. (ufromfpl): Likewise.
  10421. (fromfpx): Likewise.
  10422. (fromfpxf): Likewise.
  10423. (fromfpxl): Likewise.
  10424. (ufromfpx): Likewise.
  10425. (ufromfpxf): Likewise.
  10426. (ufromfpxl): Likewise.
  10427. * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
  10428. s_fromfpxF and s_ufromfpxF.
  10429. * math/gen-fromfp-tests.py: New file.
  10430. * math/gen-fromfp-tests-inputs: Likewise.
  10431. * math/libm-test.inc: Include <stdint.h>
  10432. (check_intmax_t): New function.
  10433. (check_uintmax_t): Likewise.
  10434. (struct test_fiu_M_data): New type.
  10435. (struct test_fiu_U_data): Likewise.
  10436. (RUN_TEST_fiu_M): New macro.
  10437. (RUN_TEST_LOOP_fiu_M): Likewise.
  10438. (RUN_TEST_fiu_U): Likewise.
  10439. (RUN_TEST_LOOP_fiu_U): Likewise.
  10440. (fromfp_test_data): New array.
  10441. (fromfp_test): New function.
  10442. (fromfpx_test_data): New array.
  10443. (fromfpx_test): New function.
  10444. (ufromfp_test_data): New array.
  10445. (ufromfp_test): New function.
  10446. (ufromfpx_test_data): New array.
  10447. (ufromfpx_test): New function.
  10448. (main): Call fromfp_test, fromfpx_test, ufromfp_test and
  10449. ufromfpx_test.
  10450. * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
  10451. characters.
  10452. * math/test-tgmath-ret.c: Include <stdint.h>.
  10453. (rm): New variable.
  10454. (width): Likewise.
  10455. (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
  10456. called function.
  10457. (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
  10458. CHECK_RET_CONST_TYPE.
  10459. (CHECK_RET_CONST_DOUBLE): Likewise.
  10460. (CHECK_RET_CONST_LDOUBLE): Likewise.
  10461. (CHECK_RET_CONST): Take extra arguments and pass them to calls
  10462. macros.
  10463. (fromfp): New CHECK_RET_CONST call.
  10464. (ufromfp): Likewise.
  10465. (fromfpx): Likewise.
  10466. (ufromfpx): Likewise.
  10467. (do_test): Call check_return_fromfp, check_return_ufromfp,
  10468. check_return_fromfpx and check_return_ufromfpx.
  10469. * math/test-tgmath.c: Include <stdint.h>
  10470. (NCALLS): Increase to 138.
  10471. (F(compile_test)): Initialize i. Call fromfp functions.
  10472. (F(fromfp)): New function.
  10473. (F(fromfpx)): Likewise.
  10474. (F(ufromfp)): Likewise.
  10475. (F(ufromfpx)): Likewise.
  10476. * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
  10477. FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
  10478. FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
  10479. ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
  10480. ufromfpxl.
  10481. * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
  10482. ufromfp and ufromfpx.
  10483. * math/fromfp.h: New file.
  10484. * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
  10485. * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
  10486. * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
  10487. * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
  10488. * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
  10489. * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
  10490. * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
  10491. * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
  10492. * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
  10493. * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
  10494. * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
  10495. * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
  10496. * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
  10497. * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
  10498. * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
  10499. * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
  10500. * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
  10501. * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
  10502. * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
  10503. * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
  10504. * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
  10505. * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
  10506. * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
  10507. * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
  10508. * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
  10509. * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
  10510. ufromfp, fromfpx and ufromfpx.
  10511. (CFLAGS-nldbl-fromfp.c): New variable.
  10512. (CFLAGS-nldbl-fromfpx.c): Likewise.
  10513. (CFLAGS-nldbl-ufromfp.c): Likewise.
  10514. (CFLAGS-nldbl-ufromfpx.c): Likewise.
  10515. * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
  10516. * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
  10517. * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
  10518. * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
  10519. * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
  10520. * sysdeps/nacl/libm.abilist: Update.
  10521. * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
  10522. * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
  10523. * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
  10524. * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
  10525. * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
  10526. * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
  10527. * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
  10528. * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
  10529. * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
  10530. * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
  10531. * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
  10532. * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
  10533. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
  10534. Likewise.
  10535. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
  10536. Likewise.
  10537. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
  10538. Likewise.
  10539. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
  10540. Likewise.
  10541. * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
  10542. * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
  10543. * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
  10544. * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
  10545. * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
  10546. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
  10547. Likewise.
  10548. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
  10549. Likewise.
  10550. * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
  10551. * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
  10552. * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
  10553. 2016-12-30 Florian Weimer <fweimer@redhat.com>
  10554. * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
  10555. compat-gethnamaddr.
  10556. (CPPFLAGS): Remove.
  10557. * resolv/gethnamaddr.c: Rename ...
  10558. * resolv/compat-gethnamaddr.c: ... to this file.
  10559. (_endhtent): Make static.
  10560. (res_gethostbyname): Renamed from gethostbyname. Turn into compat
  10561. symbol.
  10562. (res_gethostbyname2): Renamed from gethostbyname2. Turn into
  10563. compat symbol.
  10564. (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
  10565. symbol.
  10566. (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
  10567. Turn into compat symbol.
  10568. * include/resolv.h (_endhtent): Remove declaration.
  10569. 2016-12-30 Joseph Myers <joseph@codesourcery.com>
  10570. * bits/types.h (__intmax_t): New typedef.
  10571. (__uintmax_t): Likewise.
  10572. * sysdeps/generic/stdint.h: Include <bits/types.h>.
  10573. (intmax_t): Define using __intmax_t.
  10574. (uintmax_t): Define using __uintmax_t.
  10575. * support/Makefile (tests-special): Make definition conditional on
  10576. [$(run-built-tests) = yes].
  10577. ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
  10578. on [$(run-built-tests) = yes].
  10579. 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
  10580. * Rules (tests): Add tests-printers-programs to tests to be
  10581. built.
  10582. 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  10583. * sysvipc/Makefile (tests): Add test-sysvshm.
  10584. * sysvipc/test-sysvshm.c: New file.
  10585. * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
  10586. * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
  10587. * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
  10588. * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
  10589. * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
  10590. * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
  10591. * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
  10592. Likewise.
  10593. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
  10594. Likewise.
  10595. * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
  10596. * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
  10597. is defined.
  10598. * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
  10599. * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
  10600. * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
  10601. * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
  10602. * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
  10603. * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
  10604. * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
  10605. Likewise.
  10606. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
  10607. Likewise.
  10608. * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
  10609. * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
  10610. defined.
  10611. * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
  10612. oldshmctl.
  10613. * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
  10614. * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
  10615. * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
  10616. * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
  10617. * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
  10618. * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
  10619. * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
  10620. Likewise.
  10621. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
  10622. Likewise.
  10623. * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
  10624. * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
  10625. * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
  10626. * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
  10627. * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
  10628. implementation.
  10629. * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
  10630. if it is defined.
  10631. * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
  10632. * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
  10633. * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
  10634. * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
  10635. * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
  10636. * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
  10637. * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
  10638. Likewise.
  10639. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
  10640. Likewise.
  10641. * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
  10642. * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
  10643. Define to __NR_osf_shmat.
  10644. * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
  10645. defined.
  10646. * sysvipc/Makefile (tests): Add test-sysvsem.
  10647. * sysvipc/test-sysvsem.c: New file.
  10648. * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
  10649. * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
  10650. * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
  10651. Likewise.
  10652. * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
  10653. * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
  10654. * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
  10655. Likewise.
  10656. * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
  10657. Likewise.
  10658. * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
  10659. * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
  10660. * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
  10661. add a comment about s390 syscall difference from default one.
  10662. * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
  10663. syscall if it is defined.
  10664. * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
  10665. * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
  10666. * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
  10667. * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
  10668. * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
  10669. * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
  10670. * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
  10671. Likewise.
  10672. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
  10673. Likewise.
  10674. * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
  10675. * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
  10676. defined.
  10677. * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
  10678. * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
  10679. * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
  10680. * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
  10681. * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
  10682. * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
  10683. * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
  10684. Likewise.
  10685. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
  10686. Likewise.
  10687. * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
  10688. * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
  10689. if it is defined.
  10690. * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
  10691. oldsemctl.
  10692. * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
  10693. * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
  10694. * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
  10695. * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
  10696. * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
  10697. implementation.
  10698. * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
  10699. syscall if it is defined.
  10700. * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
  10701. * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
  10702. * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
  10703. * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
  10704. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
  10705. Likewise.
  10706. * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
  10707. * sysvipc/Makefile (tests): Add test-sysvmsg.
  10708. * sysvipc/test-sysvmsg.c: New file.
  10709. * support/check.h (FAIL_UNSUPPORTED): New define.
  10710. * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
  10711. * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
  10712. * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
  10713. * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
  10714. * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
  10715. * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
  10716. * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
  10717. Likewise.
  10718. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
  10719. Likewise.
  10720. * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
  10721. * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
  10722. define.
  10723. * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
  10724. * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
  10725. * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
  10726. * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
  10727. * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
  10728. * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
  10729. * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
  10730. Likewise.
  10731. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
  10732. Likewise.
  10733. * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
  10734. * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
  10735. if defined.
  10736. * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
  10737. * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
  10738. * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
  10739. * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
  10740. * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
  10741. * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
  10742. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
  10743. Likewise.
  10744. * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
  10745. * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
  10746. Likewise.
  10747. * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
  10748. if defined.
  10749. * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
  10750. * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
  10751. oldmsgctl.
  10752. * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
  10753. * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
  10754. * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
  10755. * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
  10756. * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
  10757. * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
  10758. * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
  10759. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
  10760. Likewise.
  10761. * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
  10762. * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
  10763. implementation.
  10764. * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
  10765. if defined.
  10766. * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
  10767. * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
  10768. definition and define its own.
  10769. * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
  10770. * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
  10771. * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
  10772. * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
  10773. * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
  10774. definitions to common header.
  10775. * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
  10776. operation from ipc_ops.h.
  10777. * sysdeps/unix/sysv/linux/kernel-features.h
  10778. (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
  10779. * sysdeps/unix/sysv/linux/i386/kernel-features.h
  10780. (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
  10781. * sysdeps/unix/sysv/linux/m68k/kernel-features.h
  10782. (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
  10783. * sysdeps/unix/sysv/linux/mips/kernel-features.h
  10784. (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
  10785. * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
  10786. (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
  10787. * sysdeps/unix/sysv/linux/s390/kernel-features.h
  10788. (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
  10789. * sysdeps/unix/sysv/linux/sh/kernel-features.h
  10790. (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
  10791. * sysdeps/unix/sysv/linux/sparc/kernel-features.h
  10792. (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
  10793. 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  10794. * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
  10795. overflow in pointer addition.
  10796. 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  10797. * sysdeps/powerpc/powerpc64/multiarch/Makefile
  10798. (sysdep_routines): Add strchr-power8 and strchrnul_power8.
  10799. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  10800. (strchr): Add __strchr_power8 to list of strchr functions.
  10801. (strchrnul): Add __strchrnul_power8 to list of strchr functions.
  10802. * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
  10803. * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
  10804. * sysdeps/powerpc/powerpc64/multiarch/strchr.c
  10805. (strchr): Add __strchr_power8 to ifunc list.
  10806. * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
  10807. (__strchrnul): Add __strchrnul_power8 to ifunc list.
  10808. * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
  10809. * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
  10810. 2016-12-28 Florian Weimer <fweimer@redhat.com>
  10811. * support/Makefile (libsupport-routines): Add
  10812. support_test_verify_impl, support_record_failure, xfork, xwaitpid.
  10813. (tests): Add tst-support_record_failure.
  10814. (tests-special): tst-support_record_failure-2.
  10815. (tst-support_record_failure-2.out): Depend on
  10816. tst-support_record_failure-2.sh and tst-support_record_failure.
  10817. * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
  10818. (support_test_verify_impl, support_record_failure)
  10819. (support_report_failure, support_report_failure_reset): Declare.
  10820. * support/support_test_main.c (adjust_exit_status): New function.
  10821. (support_test_main): Call it to incorporate record test failures.
  10822. * support/support_test_verify_impl.c: New file.
  10823. * support/support_record_failure.c: Likewise.
  10824. * support/tst-support_record_failure.c: Likewise.
  10825. * support/tst-support_record_failure-2.sh: Likewise.
  10826. * support/xunistd.h: Likewise.
  10827. * support/xfork.c: Likewise.
  10828. * support/xwaitpid.c: Likewise.
  10829. 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
  10830. * scripts/check-c++-types.sh: Add comments.
  10831. 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
  10832. [BZ #19514]
  10833. * resolv/res_send.c: Fix typo in comment.
  10834. * sysdeps/i386/i386-mcount.S: Likewise.
  10835. * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
  10836. * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
  10837. * sysdeps/sparc/sparc-mcount.S: Likewise.
  10838. 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  10839. * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
  10840. * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
  10841. * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
  10842. * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
  10843. * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
  10844. * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
  10845. * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
  10846. * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
  10847. 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  10848. * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
  10849. 2016-12-27 Florian Weimer <fweimer@redhat.com>
  10850. [BZ #17252]
  10851. * posix/unistd.h (getentropy): Declare.
  10852. 2016-12-27 Florian Weimer <fweimer@redhat.com>
  10853. * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
  10854. Remove.
  10855. * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
  10856. (cmd): Remove spoof, nospoof, spoofalert.
  10857. (parse_line): Ignore spoof-related lines.
  10858. (do_init): Do not process RESOLV_SPOOF_CHECK.
  10859. 2016-12-27 Florian Weimer <fweimer@redhat.com>
  10860. [BZ #20964]
  10861. sunrpc: Always obtain AF_INET addresses from NSS.
  10862. * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
  10863. * sunrpc/rpc_gethostbyname.c: New file.
  10864. * sunrpc/Makefile (routines): Add it.
  10865. * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
  10866. * sunrpc/clnt_simp.c (callrpc): Likewise.
  10867. * sunrpc/getrpcport.c (getrpcport): Likewise.
  10868. 2016-12-27 Florian Weimer <fweimer@redhat.com>
  10869. * sunrpc/rpcinfo.c: Remove.
  10870. * sunrpc/Makefile: Remove comments referring to rpcinfo.
  10871. 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  10872. [BZ #19387]
  10873. * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
  10874. addition.
  10875. * string/test-memchr.c (do_test): Remove alignment limitation.
  10876. (test_main): Add test that trigger BZ #19387.
  10877. 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
  10878. [BZ #7065]
  10879. Enable stack protectore if requested by ./configure.
  10880. * Makeconfig (+stack-protector): New variable.
  10881. (+cflags): Use it.
  10882. 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
  10883. [BZ #7065]
  10884. * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
  10885. * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
  10886. (__rt_sigreturn_stub): Use inhibit_stack_protector.
  10887. * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
  10888. (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
  10889. 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
  10890. [BZ #7065]
  10891. * login/Makefile (pt_chown-cflags): Remove.
  10892. * nscd/Makefile (CFLAGS-nscd): Likewise.
  10893. * resolv/Makefile (CFLAGS-libresolv): Likewise.
  10894. 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
  10895. [BZ #7065]
  10896. * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
  10897. non-libc-linking testcase.
  10898. 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
  10899. Adhemerval Zanella <adhemerval.zanella@linaro.org>
  10900. Florian Weimer <fweimer@redhat.com>
  10901. [BZ #7065]
  10902. PLT avoidance for __stack_chk_fail*.
  10903. * debug/Makefile (CFLAGS-stack_chk_fail.c)
  10904. (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
  10905. * debug/stack_chk_fail.c (__stack_chk_fail): Add
  10906. __stack_chk_fail_local alias.
  10907. * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
  10908. (__stack_chk_fail): Turn into hidden reference to
  10909. __stack_chk_fail_local.
  10910. 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
  10911. [BZ #7065]
  10912. * configure.ac: Add check for unsupported stack-protection level.
  10913. (libc_cv_predef_stack_protector): Remove.
  10914. (no_ssp): New variable.
  10915. (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
  10916. (stack_protector): Set to -fno-stack-protector similarly.
  10917. (libc_cv_ld_gnu_indirect_function): Use no_ssp.
  10918. (libc_cv_asm_set_directive): Likewise.
  10919. (libc_cv_protected_data): Likewise.
  10920. (libc_cv_z_combreloc): Likewise.
  10921. (libc_cv_hashstyle): Likewise.
  10922. (libc_cv_has_glob_dat): Likewise.
  10923. (libc_cv_output_format): Likewise.
  10924. (libc_cv_output_format): Likewise.
  10925. (libc_cv_ehdr_start): Likewise.
  10926. * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
  10927. (LIBC_LINKER_FEATURE): Likewise.
  10928. (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
  10929. 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
  10930. [BZ #7065]
  10931. * elf/Makefile (dummy-stack-chk-fail): New.
  10932. (librtld.map): Use it.
  10933. 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
  10934. [BZ #7065]
  10935. Compile the dynamic linker without stack protection.
  10936. * elf/Makefile (elide-stack-protector): New.
  10937. (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
  10938. (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
  10939. * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
  10940. * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
  10941. 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
  10942. [BZ #7065]
  10943. * config.make.in (have-ssp, no-stack-protector): New.
  10944. * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
  10945. * misc/Makefile (CFLAGS-sbrk.o): Likewise.
  10946. (CFLAGS-sbrk.op): Likewise.
  10947. (CFLAGS-brk.o): Likewise.
  10948. (CFLAGS-brk.op): Likewise.
  10949. * string/Makefile (CFLAGS-memcpy.c): Likewise.
  10950. (CFLAGS-wordcopy.c): Likewise.
  10951. 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
  10952. [BZ #7065]
  10953. * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
  10954. * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
  10955. * include/libc-symbols.h (inhibit_stack_protector): New macro.
  10956. (__ifunc_resolver): Use it.
  10957. * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
  10958. inhibit_stack_protector.
  10959. * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
  10960. * elf/ifuncmain7.c (foo_ifunc): Likewise.
  10961. * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
  10962. (foo_protected_ifunc): Likewise.
  10963. * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
  10964. (foo_protected_ifunc): Likewise.
  10965. * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
  10966. * sysdeps/nacl/nacl_interface_query.c
  10967. (nacl_interface_query_ifunc): Likewise.
  10968. * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
  10969. * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
  10970. Likewise.
  10971. * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
  10972. * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
  10973. the generated vDSO syscall resolver.
  10974. 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
  10975. Florian Weimer <fweimer@redhat.com>
  10976. [BZ #7065]
  10977. Initialize the stack guard earlier when linking statically.
  10978. * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
  10979. (__pthread_initialize_minimal): Declare.
  10980. * csu/libc-start.c (__pthread_initialize_minimal): Remove
  10981. declaration.
  10982. (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
  10983. stack canary and apply_irel initialization up. Call
  10984. __pthread_initialize_minimal only if linked in.
  10985. * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
  10986. constant values.
  10987. (__pthread_initialize_minimal): Remove.
  10988. * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
  10989. (__pthread_initialize_minimal_internal): Do not call
  10990. __libc_setup_tls.
  10991. 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
  10992. [BZ #7065]
  10993. * configure.ac (libc_cv_ssp): Move up.
  10994. (libc_cv_ssp_strong): Likewise.
  10995. (libc_cv_ssp_all): New.
  10996. (stack_protector): Augment, adding -fstack-protector-all.
  10997. (no_stack_protector): New.
  10998. (STACK_PROTECTOR_LEVEL): New.
  10999. (AC_ARG_ENABLE(stack-protector)): New configure flag.
  11000. * manual/install.texi (--enable-stack-protector): Document it.
  11001. * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
  11002. 2016-12-24 Carlos O'Donell <carlos@redhat.com>
  11003. * README.pretty-printers: Must specify CPPFLAGS-* also.
  11004. * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
  11005. (CPPFLAGS-test-mutex-printers.c): Define.
  11006. (CPPFLAGS-test-condattr-printers.c): Define.
  11007. (CPPFLAGS-test-cond-printers.c): Define.
  11008. (CPPFLAGS-test-rwlockattr-printers.c): Define.
  11009. (CPPFLAGS-test-rwlock-printers.c): Define.
  11010. * nss/Makefile [ifeq (yes,$(have-thread-library))]
  11011. (tests): Add tst-cancel-getpwuid_r.
  11012. * nss/tst-cancel-getpwuid_r.c: New file.
  11013. [BZ #11941]
  11014. * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
  11015. Remove assert (map->l_init_called); if DF_1_NODELETE is set.
  11016. * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
  11017. tst-nodelete-dlclose.
  11018. (modules-names): Add tst-nodelete-dlclose-dso and
  11019. tst-nodelete-dlclose-plugin.
  11020. ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
  11021. ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
  11022. ($(objpfx)tst-nodelete-dlclose): Define.
  11023. ($(objpfx)tst-nodelete-dlclose.out): Define.
  11024. 2016-12-23 Florian Weimer <fweimer@redhat.com>
  11025. * scripts/test_printers_common.py: Log GDB output in case of
  11026. Python detection failure.
  11027. 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
  11028. * configure.ac: Check for python3 or python.
  11029. * configure: Regenerated.
  11030. * config.make.in (PYTHON): New variable.
  11031. * benchtests/Makefile: Don't define PYTHON.
  11032. (bench): Define target only if PYTHON was defined.
  11033. * Rules: Don't define PYTHON.
  11034. Define pretty printer targets only if PYTHON was defined.
  11035. (tests-printers): Add to tests-unsupported if PYTHON is not
  11036. found.
  11037. (python-flags, python-invoke): Remove.
  11038. (tests-printers-out): Use PYTHON instead of python-invoke.
  11039. 2016-12-21 Joseph Myers <joseph@codesourcery.com>
  11040. [BZ #20978]
  11041. * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
  11042. Compare name == NULL, not name != NULL.
  11043. * manual/texinfo.tex: Update to version 2016-09-18.18 with
  11044. trailing whitespace removed.
  11045. * scripts/config.guess: Update to version 2016-10-02.
  11046. * scripts/config.sub: Update to version 2016-11-19.
  11047. * scripts/install-sh: Update to version 2016-01-11.22.
  11048. * scripts/mkinstalldirs: Update to version 2016-01-11.22.
  11049. * scripts/move-if-change: Update to version 2016-01-11 22:04.
  11050. 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
  11051. * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
  11052. (do_one_test) Restore original string so iteration works.
  11053. * string/string-inlines.c (do_test): Create better input strings.
  11054. (test_main) Reduce number of testruns.
  11055. * string/string-inlines.c (__old_strsep_1c): New function.
  11056. (__old_strsep_2c): Likewise.
  11057. (__old_strsep_3c): Likewise.
  11058. * string/strsep.c (__strsep): Remove case of small delim string.
  11059. Call strcspn directly rather than strpbrk.
  11060. * string/bits/string2.h (__strsep): Remove define.
  11061. (__strsep_1c): Remove.
  11062. (__strsep_2c): Remove.
  11063. (__strsep_3c): Remove.
  11064. (strsep): Remove.
  11065. * sysdeps/unix/sysv/linux/internal_statvfs.c
  11066. (__statvfs_getflags): Rename to __strsep.
  11067. 2016-12-21 Florian Weimer <fweimer@redhat.com>
  11068. * csu/libc-tls.c (_dl_tls_setup): Remove.
  11069. * elf/dl-tls.c (_dl_tls_setup): Likewise.
  11070. * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
  11071. * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
  11072. 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
  11073. [BZ #7065]
  11074. * sysdeps/x86_64/Makefile [$(subdir) = elf]
  11075. (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
  11076. 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
  11077. Florian Weimer <fweimer@redhat.com>
  11078. [BZ #7065]
  11079. * csu/Makefile (tests): Empty assignment and document it.
  11080. (tests-static): Remove.
  11081. * csu/tst-empty.c: Move to...
  11082. * misc/tst-empty.c: ... here. Switch to new test driver.
  11083. * csu/tst-atomic.c: Move to...
  11084. * misc/tst-atomic.c: ... here. Switch to new test driver.
  11085. * csu/tst-atomic-long.c: Move to...
  11086. * misc/tst-atomic-long.c: ... here.
  11087. * misc/Makefile (tests): Add tst-empty, tst-atomic,
  11088. tst-atomic-long.
  11089. (tests-static): Add tst-empty.
  11090. 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
  11091. * manual/nss.texi: Change incorrect @vtable to @table.
  11092. * manual/arith.texi: Convert @tables of variables to @vtables
  11093. and remove unnecessary indexing.
  11094. * manual/filesys.texi: Likewise.
  11095. * manual/llio.texi: Likewise.
  11096. * manual/memory.texi: Likewise.
  11097. * manual/process.texi: Likewise.
  11098. * manual/resource.texi: Likewise.
  11099. * manual/search.texi: Likewise.
  11100. * manual/signal.texi: Likewise.
  11101. * manual/socket.texi: Likewise.
  11102. * manual/stdio.texi: Likewise.
  11103. * manual/sysinfo.texi: Likewise.
  11104. * manual/syslog.texi: Likewise.
  11105. * manual/terminal.texi: Likewise.
  11106. * manual/time.texi: Likewise.
  11107. * manual/users.texi: Likewise.
  11108. 2016-12-21 Joseph Myers <joseph@codesourcery.com>
  11109. * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
  11110. (roundeven): New declaration.
  11111. * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
  11112. macro.
  11113. * math/Versions (roundeven): New libm symbol at version
  11114. GLIBC_2.25.
  11115. (roundevenf): Likewise.
  11116. (roundevenl): Likewise.
  11117. * math/Makefile (libm-calls): Add s_roundevenF.
  11118. * math/libm-test.inc (roundeven_test_data): New array.
  11119. (roundeven_test): New function.
  11120. (main): Call roundeven_test.
  11121. * math/test-tgmath.c (NCALLS): Increase to 134.
  11122. (F(compile_test)): Call roundeven.
  11123. (F(roundeven)): New function.
  11124. * manual/arith.texi (Rounding Functions): Document roundeven,
  11125. roundevenf and roundevenl.
  11126. * manual/libm-err-tab.pl (@all_functions): Add roundeven.
  11127. * include/math.h (roundeven): Use libm_hidden_proto.
  11128. * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
  11129. * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
  11130. * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
  11131. * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
  11132. * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
  11133. * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
  11134. * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
  11135. roundeven.
  11136. (CFLAGS-nldbl-roundeven.c): New variable.
  11137. * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
  11138. * sysdeps/nacl/libm.abilist: Update.
  11139. * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
  11140. * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
  11141. * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
  11142. * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
  11143. * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
  11144. * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
  11145. * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
  11146. * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
  11147. * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
  11148. * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
  11149. * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
  11150. * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
  11151. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
  11152. Likewise.
  11153. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
  11154. Likewise.
  11155. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
  11156. Likewise.
  11157. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
  11158. Likewise.
  11159. * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
  11160. * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
  11161. * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
  11162. * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
  11163. * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
  11164. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
  11165. Likewise.
  11166. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
  11167. Likewise.
  11168. * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
  11169. * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
  11170. * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
  11171. 2016-12-20 Joseph Myers <joseph@codesourcery.com>
  11172. * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
  11173. preprocessor indentation inside #if.
  11174. 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  11175. * math/libm-test.inc (fmt_ftostr): New function.
  11176. (print_float, check_float_internal): Replace some uses of
  11177. FTOSTR with uses of fmt_ftostr.
  11178. (print_max_error, print_complex_max_error, print_function_ulps)
  11179. (print_complex_function_ulps): Remove uses of the macros
  11180. PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
  11181. * math/test-double.h (FTOSTR): Define to strfromd.
  11182. (PRINTF_EXPR): Delete.
  11183. (PRINTF_XEXPR): Likewise.
  11184. (PRINTF_NEXPR): Likewise.
  11185. * math/test-float.h (FTOSTR): Define to strfromf.
  11186. (PRINTF_EXPR): Delete.
  11187. (PRINTF_XEXPR): Likewise.
  11188. (PRINTF_NEXPR): Likewise.
  11189. * math/test-ldouble.h (FTOSTR): Define to strfroml.
  11190. (PRINTF_EXPR): Delete.
  11191. (PRINTF_XEXPR): Likewise.
  11192. (PRINTF_NEXPR): Likewise.
  11193. 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
  11194. * sysdeps/unix/sysv/linux/s390/lowlevellock.h
  11195. (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
  11196. * sysdeps/unix/sysv/linux/s390/elision-lock.c:
  11197. (__lll_lock_elision): Decrement adapt_count while unlocking
  11198. instead of before locking.
  11199. * sysdeps/unix/sysv/linux/s390/elision-trylock.c
  11200. (__lll_trylock_elision): Likewise.
  11201. * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
  11202. (__lll_unlock_elision): Likewise.
  11203. 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
  11204. * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
  11205. * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
  11206. Use __libc_tbegin_retry macro.
  11207. 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
  11208. * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
  11209. Add -msoft-float.
  11210. * sysdeps/unix/sysv/linux/s390/htm.h: New File.
  11211. * sysdeps/unix/sysv/linux/s390/elision-lock.c:
  11212. Use __libc_t* transaction macros instead of __builtin_t*.
  11213. * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
  11214. * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
  11215. 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
  11216. * sysdeps/unix/sysv/linux/s390/elision-lock.c
  11217. (__lll_lock_elision): Use atomics to load / store adapt_count.
  11218. * sysdeps/unix/sysv/linux/s390/elision-trylock.c
  11219. (__lll_trylock_elision): Likewise.
  11220. 2016-12-20 Florian Weimer <fweimer@redhat.com>
  11221. Do not require memset elimination in explicit_bzero test.
  11222. * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
  11223. (enum test_expectation): Add NO_EXPECTATIONS.
  11224. (subtests): NO_EXPECTATIONS for ordinary clear.
  11225. (check_test_buffer): Handle NO_EXPECTATIONS.
  11226. * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
  11227. 2016-12-20 Joseph Myers <joseph@codesourcery.com>
  11228. * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
  11229. (fmaxmag): New declaration.
  11230. (fminmag): Likewise.
  11231. * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
  11232. macro.
  11233. [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
  11234. * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
  11235. (fmaxmagf): Likewise.
  11236. (fmaxmagl): Likewise.
  11237. (fminmag): Likewise.
  11238. (fminmagf): Likewise.
  11239. (fminmagl): Likewise.
  11240. * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
  11241. * math/s_fmaxmag_template.c: New file.
  11242. * math/s_fminmag_template.c: Likewise.
  11243. * math/libm-test.inc (fmaxmag_test_data): New array.
  11244. (fmaxmag_test): New function.
  11245. (fminmag_test_data): New array.
  11246. (fminmag_test): New function.
  11247. (main): Call fmaxmag_test and fminmag_test.
  11248. * math/test-tgmath.c (NCALLS): Increase to 132.
  11249. (F(compile_test)): Call fmaxmag and fminmag.
  11250. (F(fminmag)): New function.
  11251. (F(fmaxmag)): Likewise.
  11252. * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
  11253. fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
  11254. * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
  11255. fminmag.
  11256. * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
  11257. * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
  11258. * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
  11259. * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
  11260. * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
  11261. and fminmag.
  11262. (CFLAGS-nldbl-fmaxmag.c): New variable.
  11263. (CFLAGS-nldbl-fminmag.c): Likewise.
  11264. * sysdeps/nacl/libm.abilist: Update.
  11265. * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
  11266. * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
  11267. * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
  11268. * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
  11269. * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
  11270. * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
  11271. * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
  11272. * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
  11273. * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
  11274. * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
  11275. * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
  11276. * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
  11277. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
  11278. Likewise.
  11279. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
  11280. Likewise.
  11281. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
  11282. Likewise.
  11283. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
  11284. Likewise.
  11285. * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
  11286. * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
  11287. * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
  11288. * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
  11289. * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
  11290. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
  11291. Likewise.
  11292. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
  11293. Likewise.
  11294. * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
  11295. * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
  11296. * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
  11297. 2016-12-19 Torvald Riegel <triegel@redhat.com>
  11298. [BZ #20973]
  11299. * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
  11300. wake-up in robust mutexes.
  11301. * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
  11302. 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  11303. * benchtests/Makefile (bench-math): Add fminf and fmaxf.
  11304. (CFLAGS-bench-fmaxf.c): New rule.
  11305. (CFLAGS-bench-fminf.c): Likewise.
  11306. * benchtests/fmaxf-inputs: New file.
  11307. * benchtests/fminf-inputs: Likewise.
  11308. * benchtests/Makefile (bench-math): Add fmin and fmax.
  11309. (CFLAGS-bench-fmax.c): New rule.
  11310. (CFLAGS-bench-fmin.c): Likewise.
  11311. * benchtests/fmax-inputs: New file.
  11312. * benchtests/fmin-inputs: Likewise.
  11313. * benchtests/bench-string.h (TEST_FUNCTION): Use name without
  11314. parenthesis.
  11315. (CMDLINE_PROCESS): Define using function instead of macro.
  11316. * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
  11317. of test-skeleton.
  11318. * benchtests/bench-memchr.c: Likewise.
  11319. * benchtests/bench-memcmp.c: Likewise.
  11320. * benchtests/bench-memcpy-large.c: Likewise.
  11321. * benchtests/bench-memcpy.c: Likewise.
  11322. * benchtests/bench-memmem.c: Likewise.
  11323. * benchtests/bench-memmove-large.c: Likewise.
  11324. * benchtests/bench-memmove.c: Likewise.
  11325. * benchtests/bench-memset-large.c: Likewise.
  11326. * benchtests/bench-memset.c: Likewise.
  11327. * benchtests/bench-rawmemchr.c: Likewise.
  11328. * benchtests/bench-strcasecmp.c: Likewise.
  11329. * benchtests/bench-strcasestr.c: Likewise.
  11330. * benchtests/bench-strcat.c: Likewise.
  11331. * benchtests/bench-strchr.c: Likewise.
  11332. * benchtests/bench-strcmp.c: Likewise.
  11333. * benchtests/bench-strcpy.c: Likewise.
  11334. * benchtests/bench-strcpy_chk.c: Likewise.
  11335. * benchtests/bench-strlen.c: Likewise.
  11336. * benchtests/bench-strncasecmp.c: Likewise.
  11337. * benchtests/bench-strncmp.c: Likewise.
  11338. * benchtests/bench-strncpy.c: Likewise.
  11339. * benchtests/bench-strnlen.c: Likewise.
  11340. * benchtests/bench-strpbrk.c: Likewise.
  11341. * benchtests/bench-strrchr.c: Likewise.
  11342. * benchtests/bench-strsep.c: Likewise.
  11343. * benchtests/bench-strspn.c: Likewise.
  11344. * benchtests/bench-strstr.c: Likewise.
  11345. * benchtests/bench-strtok.c: Likewise.
  11346. 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
  11347. * sysdeps/x86/cpu-features.c (get_common_indeces): Add
  11348. stepping identification.
  11349. (init_cpu_features): Add handle of Haswell.
  11350. 2016-11-25 Jim Meyering <meyering@fb.com>
  11351. [BZ #20386]
  11352. Let gcc detect assert(a = 1) errors.
  11353. * assert/assert.h (assert): Rewrite, retaining the old definintion
  11354. when required, but otherwise putting the expression as-is in an "if"
  11355. expression (hence, with no added parentheses) within a statement
  11356. expression.
  11357. 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
  11358. * benchtests/Makefile (binaries-benchset): Depend on libsupport
  11359. DSO.
  11360. 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
  11361. * Rules (python-flags, python-invoke): New.
  11362. ($(test-printers-out)): Use $(python-flags).
  11363. 2016-12-16 Joseph Myers <joseph@codesourcery.com>
  11364. * manual/arith.texi (Math Error Reporting): Document that sNaN
  11365. arguments are not considered domain errors.
  11366. 2016-12-16 Zack Weinberg <zackw@panix.com>
  11367. Florian Weimer <fweimer@redhat.com>
  11368. Nick Mathewson <nickm@torproject.org>
  11369. * string/explicit_bzero.c: New routine.
  11370. * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
  11371. * string/Makefile (routines, strop-tests, tests): Add them.
  11372. * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
  11373. * string/string.h [__USE_MISC]: Declare explicit_bzero.
  11374. * debug/explicit_bzero_chk.c: New routine.
  11375. * debug/Makefile (routines): Add it.
  11376. * debug/tst-chk1.c: Test fortification of explicit_bzero.
  11377. * string/bits/string3.h: Fortify explicit_bzero.
  11378. * manual/string.texi: Document explicit_bzero.
  11379. * NEWS: Mention addition of explicit_bzero.
  11380. * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
  11381. data before returning, using explicit_bzero.
  11382. * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
  11383. * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
  11384. * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
  11385. * include/string.h: Redirect internal uses of explicit_bzero
  11386. to __explicit_bzero_chk[_internal].
  11387. * string/Versions [GLIBC_2.25]: Add explicit_bzero.
  11388. * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
  11389. * sysdeps/arm/nacl/libc.abilist
  11390. * sysdeps/unix/sysv/linux/aarch64/libc.abilist
  11391. * sysdeps/unix/sysv/linux/alpha/libc.abilist
  11392. * sysdeps/unix/sysv/linux/arm/libc.abilist
  11393. * sysdeps/unix/sysv/linux/hppa/libc.abilist
  11394. * sysdeps/unix/sysv/linux/i386/libc.abilist
  11395. * sysdeps/unix/sysv/linux/ia64/libc.abilist
  11396. * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
  11397. * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
  11398. * sysdeps/unix/sysv/linux/microblaze/libc.abilist
  11399. * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
  11400. * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
  11401. * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
  11402. * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
  11403. * sysdeps/unix/sysv/linux/nios2/libc.abilist
  11404. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
  11405. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
  11406. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
  11407. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
  11408. * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
  11409. * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
  11410. * sysdeps/unix/sysv/linux/sh/libc.abilist
  11411. * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
  11412. * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
  11413. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
  11414. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
  11415. * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
  11416. * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
  11417. * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
  11418. Add entries for explicit_bzero and __explicit_bzero_chk.
  11419. 2016-12-16 Joseph Myers <joseph@codesourcery.com>
  11420. * math/fenv.h
  11421. [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
  11422. (FE_SNANS_ALWAYS_SIGNAL): New macro.
  11423. * math/test-fe-snans-always-signal.c: New file.
  11424. * math/Makefile (tests): Add test-fe-snans-always-signal.
  11425. (CFLAGS-test-fe-snans-always-signal.c): New variable.
  11426. * manual/arith.texi (Infinity and NaN): Document
  11427. FE_SNANS_ALWAYS_SIGNAL.
  11428. 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  11429. * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
  11430. bracket.
  11431. 2016-12-16 Joseph Myers <joseph@codesourcery.com>
  11432. * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
  11433. before calling execv.
  11434. 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  11435. [BZ #20971]
  11436. * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
  11437. overflow in pointer addition.
  11438. * string/test-memchr.c (do_test): Add an argument to pass as
  11439. the size on memchr.
  11440. (test_main): Add check for SIZE_MAX.
  11441. 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  11442. * math/Makefile (gen-libm-calls): Remove w_scalblnF.
  11443. (libm-calls): Add w_scalblnF.
  11444. * math/w_scalbln.c: Remove.
  11445. * math/w_scalblnf.c: Likewise.
  11446. * math/w_scalblnl.c: Likewise.
  11447. * math/w_scalbln_template.c: New file with type-generic
  11448. implementation based on math/w_scalbln.c.
  11449. * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
  11450. * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
  11451. 2016-12-15 Joseph Myers <joseph@codesourcery.com>
  11452. [BZ #20947]
  11453. * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
  11454. either is a signaling NaN.
  11455. * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
  11456. follow fmaxl more closely.
  11457. * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
  11458. when either is a signaling NaN.
  11459. * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
  11460. * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
  11461. * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
  11462. * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
  11463. * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
  11464. * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
  11465. * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
  11466. * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
  11467. (fmin_test_data): Likewise.
  11468. 2016-12-15 Andreas Schwab <schwab@suse.de>
  11469. * support/support_test_main.c (support_test_main): Don't shadow
  11470. file-local variable test_pid.
  11471. 2016-12-15 Joseph Myers <joseph@codesourcery.com>
  11472. [BZ #20947]
  11473. * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
  11474. either is a signaling NaN.
  11475. * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
  11476. 2016-12-14 Joseph Myers <joseph@codesourcery.com>
  11477. [BZ #20947]
  11478. * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
  11479. when either is a signaling NaN.
  11480. * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
  11481. * bits/long-double.h: New file.
  11482. * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
  11483. * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
  11484. * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
  11485. * sysdeps/mips/bits/long-double.h: Likewise.
  11486. * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
  11487. * math/Makefile (headers): Add bits/long-double.h.
  11488. * misc/sys/cdefs.h: Include <bits/long-double.h>.
  11489. * stdlib/strtold.c: Include <bits/long-double.h> instead of
  11490. <bits/wordsize.h>.
  11491. * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
  11492. [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
  11493. * math/math.h: Do not include <bits/mathdef.h>.
  11494. * sysdeps/aarch64/bits/mathdef.h: Remove file.
  11495. * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
  11496. inclusion.
  11497. * sysdeps/ia64/bits/mathdef.h: Remove file.
  11498. * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
  11499. * sysdeps/mips/bits/mathdef.h: Likewise.
  11500. * sysdeps/powerpc/bits/mathdef.h: Likewise.
  11501. * sysdeps/s390/bits/mathdef.h: Likewise.
  11502. * sysdeps/sparc/bits/mathdef.h: Likewise.
  11503. * sysdeps/x86/bits/mathdef.h: Likewise.
  11504. * sysdeps/s390/s390-32/bits/wordsize.h
  11505. [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
  11506. conditional code.
  11507. * sysdeps/s390/s390-64/bits/wordsize.h
  11508. [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
  11509. Likewise.
  11510. * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
  11511. [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
  11512. Likewise.
  11513. * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
  11514. [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
  11515. Likewise.
  11516. * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
  11517. [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
  11518. Likewise.
  11519. * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
  11520. <linux/falloc.h>.
  11521. (FALLOC_FL_KEEP_SIZE): Remove.
  11522. (FALLOC_FL_PUNCH_HOLE): Likewise.
  11523. (FALLOC_FL_COLLAPSE_RANGE): Likewise.
  11524. (FALLOC_FL_ZERO_RANGE): Likewise.
  11525. 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  11526. * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
  11527. 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  11528. * sysdeps/unix/sysv/linux/renameat.c: New file.
  11529. * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
  11530. * sysdeps/unix/sysv/linux/rename.c: New file.
  11531. * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
  11532. 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
  11533. * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
  11534. * string/strtok.c (strtok): Change to tailcall __strtok_r.
  11535. * string/strtok_r.c (__strtok_r): Optimize for performance.
  11536. * string/string-inlines.c (__old_strtok_r_1c): New function.
  11537. * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
  11538. 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  11539. * math/Makefile (gen-libm-calls): Add w_log1pF.
  11540. (libm-calls): Remove w_log1pF.
  11541. * math/w_log1p.c: Remove.
  11542. * math/w_log1pf.c: Likewise.
  11543. * math/w_log1pl.c: Likewise.
  11544. * math/w_log1p_template.c: New file with type-generic
  11545. implementation based on math/w_log1p.c.
  11546. * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
  11547. * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
  11548. 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
  11549. * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
  11550. 2016-12-14 Joseph Myers <joseph@codesourcery.com>
  11551. * scripts/build-many-glibcs.py (Context.checkout): Default Linux
  11552. kernel version to 4.9.
  11553. 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
  11554. * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
  11555. ($(inst_libdir)/libm.a): Fix rule to create the target only.
  11556. 2016-12-13 Andreas Schwab <schwab@suse.de>
  11557. * sysdeps/powerpc/dl-procinfo.c: Don't define
  11558. _dl_powerpc_platforms.
  11559. * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
  11560. constants instead of referencing _dl_powerpc_platforms.
  11561. (_dl_platform_string): Remove.
  11562. 2016-12-13 Florian Weimer <fweimer@redhat.com>
  11563. * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
  11564. 2016-12-13 Florian Weimer <fweimer@redhat.com>
  11565. * Rules (binaries-shared-tests, binaries-pie-tests)
  11566. (binaries-static-tests): Link with $(link-extra-libs-tests).
  11567. * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
  11568. Remove $(link-extra-libs-tests).
  11569. 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  11570. * sysdeps/powerpc/powerpc64/multiarch/Makefile
  11571. (sysdep_routines): Add strncmp_power9.
  11572. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  11573. (strncmp): Add __strncmp_power9 to list of strncmp functions.
  11574. * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
  11575. * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
  11576. (strncmp): Add __strncmp_power9 to ifunc list.
  11577. * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
  11578. 2016-12-12 Florian Weimer <fweimer@redhat.com>
  11579. [BZ #17252]
  11580. Add getentropy, getrandom.
  11581. * stdlib/sys/random.h: New file.
  11582. (headers): Add it.
  11583. * stdlib/Makefile (routines): Add getentropy, getrandom.
  11584. (tests): Add tst-getrandom.
  11585. * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
  11586. * stdlib/getentropy.c: New file.
  11587. * stdlib/getrandom.c: Likewise.
  11588. * stdlib/tst-getrandom.c: Likewise.
  11589. * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
  11590. * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
  11591. * manual/crypt.texi (Unpredictable Bytes): New section.
  11592. * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
  11593. * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
  11594. * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
  11595. * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
  11596. * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
  11597. * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
  11598. * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
  11599. * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
  11600. * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
  11601. * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
  11602. * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
  11603. * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
  11604. * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
  11605. * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
  11606. * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
  11607. * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
  11608. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
  11609. Likewise.
  11610. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
  11611. Likewise.
  11612. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
  11613. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
  11614. * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
  11615. * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
  11616. * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
  11617. * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
  11618. * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
  11619. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
  11620. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
  11621. * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
  11622. * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
  11623. * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
  11624. 2016-12-10 Florian Weimer <fweimer@redhat.com>
  11625. [BZ #20956]
  11626. * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
  11627. as additional compiler barriers.
  11628. * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
  11629. (fn2, do_test): Declare with external linkage.
  11630. * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
  11631. (do_test): Declare with external linkage.
  11632. * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
  11633. (do_test): Declare with external linkage.
  11634. * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
  11635. (do_test): Declare with external linkage.
  11636. 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
  11637. * support/support_test_main.c (support_test_main): Use correct
  11638. timeout.
  11639. 2016-12-09 Carlos O'Donell <carlos@redhat.com>
  11640. Florian Weimer <fweimer@redhat.com>
  11641. [BZ #16421]
  11642. * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
  11643. and __u6_addr32 members.
  11644. (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
  11645. (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
  11646. (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
  11647. Use __u6_addr32.
  11648. * inet/tst-checks.c: Use <support/test-driver.c>
  11649. * inet/tst-checks-posix.c: New file.
  11650. * inet/Makefile (tests): Add it.
  11651. (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
  11652. 2016-12-09 Florian Weimer <fweimer@redhat.com>
  11653. New subdirectory support for build and test infrastructure.
  11654. * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
  11655. setting install-lib.
  11656. * Makeconfig (link-extra-libs-tests): Define.
  11657. (+link-pie-tests, +link-static-tests, +link-tests): Use
  11658. link-extra-libs-tests.
  11659. (rpath-dirs, all-subdirs): Add support.
  11660. (built-modules): Add libsupport.
  11661. (libsupport): Define.
  11662. * support: New directory.
  11663. * support/Makefile: New file.
  11664. * support/check.c: Likewise.
  11665. * support/check.h: Likewise.
  11666. * support/delayed_exit.c: Likewise.
  11667. * support/ignore_stderr.c: Likewise.
  11668. * support/oom_error.c: Likewise.
  11669. * support/set_fortify_handler.c: Likewise.
  11670. * support/support.h: Likewise.
  11671. * support/temp_file-internal.h: Likewise.
  11672. * support/temp_file.c: Likewise.
  11673. * support/test-driver.c: Likewise.
  11674. * support/test-driver.h: Likewise.
  11675. * support/test_main.c: Likewise.
  11676. * support/write_message.c: Likewise.
  11677. * support/xasprintf.c: Likewise.
  11678. * support/xcalloc.c: Likewise.
  11679. * support/xmalloc.c: Likewise.
  11680. * support/xpthread_barrier_destroy.c: Likewise.
  11681. * support/xpthread_barrier_init.c: Likewise.
  11682. * support/xpthread_barrier_wait.c: Likewise.
  11683. * support/xpthread_cancel.c: Likewise.
  11684. * support/xpthread_check_return.c: Likewise.
  11685. * support/xpthread_cond_wait.c: Likewise.
  11686. * support/xpthread_create.c: Likewise.
  11687. * support/xpthread_detach.c: Likewise.
  11688. * support/xpthread_join.c: Likewise.
  11689. * support/xpthread_mutex_lock.c: Likewise.
  11690. * support/xpthread_mutex_unlock.c: Likewise.
  11691. * support/xpthread_sigmask.c: Likewise.
  11692. * support/xpthread_spin_lock.c: Likewise.
  11693. * support/xpthread_spin_unlock.c: Likewise.
  11694. * support/xrealloc.c: Likewise.
  11695. * support/xsignal.h: Likewise.
  11696. * support/xthread.h: Likewise.
  11697. * support_tempfile.h: Likewise.
  11698. * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
  11699. (TEST_DATA_LIMIT): Remove unused macro.
  11700. (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
  11701. <support/check.h>.
  11702. (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
  11703. (ignore_stderr, set_fortify_handler): Remove. Now in
  11704. <support/support.h>.
  11705. (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
  11706. (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
  11707. (xpthread_barrier_wait, xpthread_create, xpthread_detach)
  11708. (xpthread_join): Remove. Now in <support/xthread.h>.
  11709. (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
  11710. Introduce legacy wrappers.
  11711. * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
  11712. * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
  11713. (write_message): Remove.
  11714. * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
  11715. test-skeleton.c.
  11716. * io/test-open-tmpfile: Likewise.
  11717. * io/tst-posix_fallocate-common.c: Likewise.
  11718. * libio/tst-fseek.c: Likewise.
  11719. * malloc/tst-malloc-backtrace.c: Likewise.
  11720. * malloc/tst-malloc-fork-deadlock.c: Likewise.
  11721. * malloc/tst-malloc-thread-exit.c: Likewise.
  11722. * nptl/tst-cancel7.c: Likewise.
  11723. * nptl/tst-cleanup0.c: Likewise.
  11724. * posix/tst-posix_fadvise-common.c: Likewise.
  11725. * rt/tst-shm.c: Likewise.
  11726. * time/bug-getdate1.c: Likewise.
  11727. * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
  11728. * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
  11729. * elf/Makefile (tst-piemod1.so): Link against libsupport.
  11730. 2016-12-08 Joseph Myers <joseph@codesourcery.com>
  11731. * Rules [$(run-built-tests) != no] (tests-expected): Add
  11732. $(tests-printers).
  11733. (tests): Do not pass $(tests-printers) to merge-test-results.sh.
  11734. 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
  11735. [BZ #20539]
  11736. * math/Makefile (install-lib-ldscripts): Add libm.a.
  11737. (install_subdir): Remove.
  11738. (install-others): Add.
  11739. ($(inst_libdir)/libm.a): Add rule for installation as
  11740. linker script.
  11741. * Makerules (install-lib.a): Filter out install-lib-ldscripts.
  11742. 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
  11743. * INSTALL: Regenerated.
  11744. * Makeconfig: Add comments and whitespace to make the control flow
  11745. clearer.
  11746. (+link-printers-tests, +link-pie-printers-tests,
  11747. CFLAGS-printers-tests, installed-rtld-LDFLAGS,
  11748. built-rtld-LDFLAGS, link-libc-rpath,
  11749. link-libc-tests-after-rpath-link,
  11750. link-libc-printers-tests): New.
  11751. (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
  11752. link-libc-tests): Use the new variables as required.
  11753. * Makerules ($(py-const)): New rule.
  11754. generated: Add $(py-const).
  11755. * README.pretty-printers: New file.
  11756. * Rules (tests-printers-programs, tests-printers-out, py-env): New.
  11757. (others): Depend on $(py-const).
  11758. (tests): Depend on $(tests-printers-programs) or
  11759. $(tests-printers-out),
  11760. as required. Pass $(tests-printers) to merge-test-results.sh.
  11761. * manual/install.texi: Add requirements for testing the pretty
  11762. printers.
  11763. * nptl/Makefile (gen-py-const-headers, pretty-printers,
  11764. tests-printers, CFLAGS-test-mutexattr-printers.c
  11765. CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
  11766. CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
  11767. CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
  11768. * nptl/nptl-printers.py: New file.
  11769. * nptl/nptl_lock_constants.pysym: Likewise.
  11770. * nptl/test-cond-printers.c: Likewise.
  11771. * nptl/test-cond-printers.py: Likewise.
  11772. * nptl/test-condattr-printers.c: Likewise.
  11773. * nptl/test-condattr-printers.py: Likewise.
  11774. * nptl/test-mutex-printers.c: Likewise.
  11775. * nptl/test-mutex-printers.py: Likewise.
  11776. * nptl/test-mutexattr-printers.c: Likewise.
  11777. * nptl/test-mutexattr-printers.py: Likewise.
  11778. * nptl/test-rwlock-printers.c: Likewise.
  11779. * nptl/test-rwlock-printers.py: Likewise.
  11780. * nptl/test-rwlockattr-printers.c: Likewise.
  11781. * nptl/test-rwlockattr-printers.py: Likewise.
  11782. * scripts/gen-py-const.awk: Likewise.
  11783. * scripts/test_printers_common.py: Likewise.
  11784. * scripts/test_printers_exceptions.py: Likewise.
  11785. 2016-12-07 Joseph Myers <joseph@codesourcery.com>
  11786. * scripts/build-many-glibcs.py (Context.__init__): Take strip
  11787. argument.
  11788. (Glibc.build_glibc): Strip installed shared libraries if
  11789. requested.
  11790. (get_parser): Add --strip option.
  11791. (main): Update Context call.
  11792. 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  11793. Dominik Vogt <vogt@linux.vnet.ibm.com>
  11794. [BZ #20847]
  11795. * posix/execvpe.c (maybe_script_execute): Remove write past allocated
  11796. array bounds for else branch.
  11797. (__execvpe): Style fixes.
  11798. * posix/tst-vfork3.c (run_script): New function.
  11799. (create_script): Likewise.
  11800. (do_test): Use run_script internal function.
  11801. (do_prepare): Use create_script internal function.
  11802. 2016-12-07 Andreas Schwab <schwab@suse.de>
  11803. * sysdeps/unix/sysv/linux/x86/elision-conf.h
  11804. (__elision_available): Don't declare.
  11805. * sysdeps/unix/sysv/linux/x86/elision-conf.c
  11806. (__elision_available): Don't define.
  11807. (elision_init): Don't set __elision_available.
  11808. 2016-12-07 Joseph Myers <joseph@codesourcery.com>
  11809. [BZ #20940]
  11810. * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
  11811. return Inf for arguments Inf and sNaN.
  11812. * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
  11813. * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
  11814. Likewise.
  11815. * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
  11816. Likewise.
  11817. * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
  11818. * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
  11819. for arguments Inf and sNaN. When returning a NaN, compute it by
  11820. arithmetic on the arguments.
  11821. * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
  11822. * math/libm-test.inc (hypot_test_data): Add tests of sNaN
  11823. arguments.
  11824. 2016-12-06 Joseph Myers <joseph@codesourcery.com>
  11825. [BZ #20916]
  11826. * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
  11827. arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
  11828. to compute result.
  11829. * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
  11830. * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
  11831. 2016-12-05 Torvald Riegel <triegel@redhat.com>
  11832. * include/atomic.h (__atomic_check_size_ls): New.
  11833. (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
  11834. atomic_store_release): Use it.
  11835. * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
  11836. (elision_adapt, ELIDE_LOCK): Use atomics.
  11837. * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
  11838. atomics and improve code comments.
  11839. * sysdeps/unix/sysv/linux/x86/elision-trylock.c
  11840. (__lll_trylock_elision): Likewise.
  11841. 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
  11842. * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
  11843. programs.
  11844. 2016-12-02 Joseph Myers <joseph@codesourcery.com>
  11845. [BZ #20916]
  11846. * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
  11847. for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
  11848. arguments to compute result.
  11849. * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
  11850. 1 for arguments (sNaN, 0) or (1, sNaN).
  11851. * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
  11852. * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
  11853. [BZ #20919]
  11854. * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
  11855. NaN first argument when raised to power 0.
  11856. * math/w_pow.c (__pow): Do not check for NaN or zero results from
  11857. raising to power zero.
  11858. * math/w_powf.c (__powf): Likewise.
  11859. * math/w_powl.c (__powl): Likewise.
  11860. * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
  11861. pow (0, 0) or pow (NaN, 0).
  11862. 2016-12-02 Carlos O'Donell <carlos@redhat.com>
  11863. [BZ #20918]
  11864. * configure.ac: Test for static NSS cryptographic libraries and set
  11865. libc_cv_static_nss_crypt.
  11866. * configure: Regenerate.
  11867. * config.make.in (static-nss-crypt): Define.
  11868. * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
  11869. [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
  11870. (CFLAGS-tst-linkall-static.c): Define.
  11871. ($(objpfx)tst-linkall-static): Remove libcrypt.a.
  11872. [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
  11873. ($(objpfx)tst-linkall-static): Define.
  11874. [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
  11875. * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
  11876. 2016-12-02 Florian Weimer <fweimer@redhat.com>
  11877. * elf/Makefile [build-shared] (tests): Add tst-latepthread.
  11878. (one-hundred, tst-tls-many-dynamic-modules): Define.
  11879. (modules-names): Add $(tst-tls-many-dynamic-modules).
  11880. (tst-tls-manydynamic%mod.os): Build with special preprocessor
  11881. macros.
  11882. (tst-tls-manydynamic): Link against libdl, libpthread.
  11883. (tst-tls-manydynamic.out): The test needs the test modules at run
  11884. time.
  11885. * elf/tst-tls-manydynamic.c: New file.
  11886. * elf/tst-tls-manydynamic.h: Likewise.
  11887. * elf/tst-tls-manydynamicmod.c: Likewise.
  11888. 2016-12-02 Florian Weimer <fweimer@redhat.com>
  11889. * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
  11890. (TLS_DTV_UNALLOCATED): Add.
  11891. * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
  11892. offsets.
  11893. 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
  11894. * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
  11895. 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
  11896. * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
  11897. Add -fno-optimize-sibling-calls.
  11898. 2016-12-02 Joseph Myers <joseph@codesourcery.com>
  11899. * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
  11900. New declaration.
  11901. * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
  11902. macro.
  11903. * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
  11904. New macro.
  11905. [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
  11906. [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
  11907. * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
  11908. (llogbf): Likewise.
  11909. (llogbl): Likewise.
  11910. * math/Makefile (gen-libm-calls): Add w_llogbF.
  11911. (tests): Add test-fp-llogb-constants.
  11912. * math/w_llogb_template.c: New file. Based on
  11913. math/w_ilogb_template.c.
  11914. * math/libm-test.inc (llogb_test_data): New array.
  11915. (llogb_test): New function.
  11916. (main): Call llogb_test.
  11917. * math/test-fp-llogb-constants.c: New file. Based on
  11918. math/test-fp-ilogb-constants.c.
  11919. * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
  11920. (do_test): Call check_return_llogb.
  11921. * math/test-tgmath.c (NCALLS): Increase to 126.
  11922. (F(compile_test)): Call llogb.
  11923. (F(llogb)): New function.
  11924. * manual/math.texi (Exponents and Logarithms): Document llogb,
  11925. llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
  11926. * manual/libm-err-tab.pl (@all_functions): Add llogb.
  11927. * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
  11928. * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
  11929. * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
  11930. (CFLAGS-nldbl-llogb.c): New variable.
  11931. * sysdeps/nacl/libm.abilist: Update.
  11932. * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
  11933. * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
  11934. * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
  11935. * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
  11936. * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
  11937. * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
  11938. * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
  11939. * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
  11940. * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
  11941. * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
  11942. * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
  11943. * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
  11944. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
  11945. Likewise.
  11946. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
  11947. Likewise.
  11948. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
  11949. Likewise.
  11950. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
  11951. Likewise.
  11952. * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
  11953. * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
  11954. * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
  11955. * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
  11956. * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
  11957. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
  11958. Likewise.
  11959. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
  11960. Likewise.
  11961. * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
  11962. * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
  11963. * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
  11964. 2016-12-01 Joseph Myers <joseph@codesourcery.com>
  11965. * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
  11966. _Float128 instead of long double.
  11967. * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
  11968. * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
  11969. * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
  11970. * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
  11971. * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
  11972. * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
  11973. * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
  11974. * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
  11975. * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
  11976. * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
  11977. Likewise.
  11978. 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  11979. * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
  11980. Remove redirection to __strrchr_ppc.
  11981. 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  11982. * sysdeps/powerpc/powerpc64/multiarch/Makefile
  11983. (sysdep_routines): Add strcmp_power9.
  11984. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  11985. (strcmp): Add __strcmp_power9 to list of strcmp functions.
  11986. * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
  11987. * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
  11988. (strcmp): Add __strcmp_power9 to ifunc list.
  11989. * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
  11990. 2016-12-01 Joseph Myers <joseph@codesourcery.com>
  11991. * bits/fp-logb.h: New file.
  11992. * sysdeps/ia64/bits/fp-logb.h: Likewise.
  11993. * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
  11994. * sysdeps/x86/bits/fp-logb.h: Likewise.
  11995. * math/Makefile (headers): Add bits/fp-logb.h.
  11996. * math/math.h: Include <bits/fp-logb.h>.
  11997. [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
  11998. [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
  11999. * bits/mathdef.h (FP_ILOGB0): Remove.
  12000. (FP_ILOGBNAN): Likewise.
  12001. * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
  12002. (FP_ILOGBNAN): Likewise.
  12003. * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
  12004. (FP_ILOGBNAN): Likewise.
  12005. * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
  12006. (FP_ILOGBNAN): Likewise.
  12007. * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
  12008. (FP_ILOGBNAN): Likewise.
  12009. * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
  12010. (FP_ILOGBNAN): Likewise.
  12011. * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
  12012. (FP_ILOGBNAN): Likewise.
  12013. * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
  12014. (FP_ILOGBNAN): Likewise.
  12015. * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
  12016. (FP_ILOGBNAN): Likewise.
  12017. * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
  12018. (FP_ILOGBNAN): Likewise.
  12019. * scripts/build-many-glibcs.py: Add bot to usage message. Import
  12020. time module.
  12021. (Context.__init__): Initialize self.logsdir_old.
  12022. (Context.run_builds): Handle bot action.
  12023. (Context.bot_cycle): Copy logs directory before running builds.
  12024. (Context.bot_run_self): Take argument for whether to check
  12025. subprocess result. Flush stdout before running subprocess.
  12026. (Context.bot): New function.
  12027. (get_parser): Allow bot action.
  12028. 2016-11-30 Joseph Myers <joseph@codesourcery.com>
  12029. * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
  12030. Import email.mime.text, email.utils and smtplib modules.
  12031. (Context.__init__): Initialize self.bot_config_json.
  12032. (Context.run_builds): Handle bot-cycle action.
  12033. (Context.load_bot_config_json): New function.
  12034. (Context.part_build_old): Likewise.
  12035. (Context.bot_cycle): Likewise.
  12036. (Context.bot_build_mail): Likewise.
  12037. (Context.bot_run_self): Likewise.
  12038. (get_parser): Allow bot-cycle action.
  12039. 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  12040. * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
  12041. Remove redirection to __stpcpy_ppc.
  12042. 2016-11-30 Florian Weimer <fweimer@redhat.com>
  12043. Remove __libc_memalign from ld.so because it is unused.
  12044. * elf/dl-minimal.c: Update comment on the malloc implementation.
  12045. (malloc): Renamed from __libc_memalign, replacing the original
  12046. malloc implementation. Replace the align parameter with
  12047. MALLOC_ALIGNMENT.
  12048. * elf/Versions (ld): Update comment and remove __libc_memalign.
  12049. * sysdeps/nacl/ld.abilist: Likewise.
  12050. * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
  12051. * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
  12052. * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
  12053. * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
  12054. * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
  12055. * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
  12056. * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
  12057. * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
  12058. * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
  12059. * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
  12060. * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
  12061. * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
  12062. * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
  12063. * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
  12064. * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
  12065. * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
  12066. * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
  12067. * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
  12068. * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
  12069. * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
  12070. * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
  12071. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
  12072. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
  12073. * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
  12074. * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
  12075. * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
  12076. * sysdeps/generic/localplt.data (ld.so): Likewise.
  12077. * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
  12078. * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
  12079. * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
  12080. * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
  12081. * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
  12082. * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
  12083. * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
  12084. * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
  12085. * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
  12086. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
  12087. (ld.so): Likewise.
  12088. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
  12089. (ld.so): Likewise.
  12090. * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
  12091. Likewise.
  12092. * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
  12093. * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
  12094. * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
  12095. * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
  12096. * sysdeps/x86_64/localplt.data (ld.so): Likewise.
  12097. 2016-11-30 Florian Weimer <fweimer@redhat.com>
  12098. [BZ #16628]
  12099. Implement _dl_catch_error, _dl_signal_error in libc.so.
  12100. * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
  12101. (catch_hook): Define as thread-local or regular variable,
  12102. depending on DL_ERROR_BOOTSTRAP.
  12103. (CATCH_HOOK): Remove.
  12104. (dl_signal_error, _dl_catch_error): Use
  12105. catch_hook. Add hidden definition for libc.
  12106. (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
  12107. for DL_ERROR_BOOTSTRAP only.
  12108. * elf/dl-error.c: New file.
  12109. * elf/dl-error-minimal.c: Likewise.
  12110. * elf/tst-latepthread.c: Likewise.
  12111. * elf/tst-latepthreadmod.c: Likewise.
  12112. * elf/Makefile (routines): Add dl-error.
  12113. (dl-routines): Remove dl-error.
  12114. (rtld-routines): Add dl-error-minimal.
  12115. [build-shared] (tests): Add tst-latepthread.
  12116. (module-names): Add tst-latepthreadmod.
  12117. (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
  12118. symbol.
  12119. (tst-latepthreadmod.so): Link against libpthread.
  12120. (tst-latepthread): Link against libdbl.
  12121. * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
  12122. _dl_catch_error.
  12123. [ld] (GLIBC_PRIVATE): Likewise.
  12124. * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
  12125. * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
  12126. * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
  12127. directly.
  12128. * elf/dl-tsd.c: Remove file.
  12129. * elf/rtld.c (_rtld_global_ro): Remove initializers for
  12130. _dl_catch_error, _dl_signal_error.
  12131. (_dl_initial_error_catch_tsd): Remove definition.
  12132. (do_preload): Remove initialization of dl_error_catch_tsd.
  12133. * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
  12134. * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
  12135. * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
  12136. * dlfcn/dlopen.c (dlopen_doit): Likewise.
  12137. * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
  12138. set dl_error_catch_tsd.
  12139. * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
  12140. _dl_error_catch_tsd member.
  12141. (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
  12142. members.
  12143. (_dl_initial_error_catch_tsd): Remove declaration.
  12144. (_dl_dprintf): Provide definition for use outside of ld.so.
  12145. [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
  12146. (_dl_signal_error, _dl_catch_error): Make public. Add hidden
  12147. prototype for libc.
  12148. * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
  12149. _dl_catch_error.
  12150. * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
  12151. * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
  12152. * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
  12153. * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
  12154. * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
  12155. * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
  12156. * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
  12157. * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
  12158. Likewise.
  12159. * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
  12160. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
  12161. (ld.so): Likewise.
  12162. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
  12163. (ld.so): Likewise.
  12164. * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
  12165. Likewise.
  12166. * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
  12167. * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
  12168. * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
  12169. Likewise.
  12170. * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
  12171. Likewise.
  12172. * sysdeps/x86_64/localplt.data (ld.so): Likewise.
  12173. 2016-11-30 Florian Weimer <fweimer@redhat.com>
  12174. [BZ #4099]
  12175. * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
  12176. _IO_BUFSIZ (8192).
  12177. 2016-11-30 Carlos O'Donell <carlos@redhat.com>
  12178. * PROJECTS: Remove file.
  12179. 2016-11-29 Florian Weimer <fweimer@redhat.com>
  12180. * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
  12181. 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
  12182. Steve Ellcey <sellcey@caviumnetworks.com>
  12183. * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
  12184. fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
  12185. * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
  12186. fxstatat.
  12187. * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
  12188. lxstat.
  12189. * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
  12190. * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
  12191. * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
  12192. * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
  12193. an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
  12194. * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
  12195. __xstat.
  12196. 2016-11-29 Florian Weimer <fweimer@redhat.com>
  12197. * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
  12198. Define.
  12199. * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
  12200. definition.
  12201. 2016-11-29 Florian Weimer <fweimer@redhat.com>
  12202. * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
  12203. version and turn into strong alias. Remove compat symbol.
  12204. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
  12205. (__longjmp): Remove.
  12206. 2016-11-29 Joseph Myers <joseph@codesourcery.com>
  12207. * bits/fp-fast.h: New file.
  12208. * sysdeps/aarch64/bits/fp-fast.h: Likewise.
  12209. * sysdeps/powerpc/bits/fp-fast.h: Likewise.
  12210. * math/Makefile (headers): Add bits/fp-fast.h.
  12211. * math/math.h: Include <bits/fp-fast.h>.
  12212. * bits/mathdef.h (FP_FAST_FMA): Remove.
  12213. (FP_FAST_FMAF): Likewise.
  12214. (FP_FAST_FMAL): Likewise.
  12215. * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
  12216. (FP_FAST_FMAF): Likewise.
  12217. * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
  12218. (FP_FAST_FMAF): Likewise.
  12219. * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
  12220. (FP_FAST_FMAF): Likewise.
  12221. (FP_FAST_FMAL): Likewise.
  12222. * sysdeps/arm/bits/mathdef.h: Remove file.
  12223. * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
  12224. * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
  12225. * sysdeps/tile/bits/mathdef.h: Likewise.
  12226. 2016-11-28 Joseph Myers <joseph@codesourcery.com>
  12227. * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
  12228. * math/w_ilogb.c: Remove.
  12229. * math/w_ilogbf.c: Likewise.
  12230. * math/w_ilogbl.c: Likewise.
  12231. * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
  12232. * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
  12233. * math/Makefile (gen-libm-calls): Add w_ilogbF.
  12234. (libm-calls): Remove w_ilogbF.
  12235. * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
  12236. (LDOUBLE_ilogbl_libm_version): New macro.
  12237. * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
  12238. * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
  12239. [!__STRICT_ANSI__ && !__cplusplus].
  12240. 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
  12241. [BZ #20750]
  12242. * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
  12243. of PIC.
  12244. 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
  12245. Yury Norov <ynorov@caviumnetworks.com>
  12246. Steve Ellcey <sellcey@caviumnetworks.com>
  12247. * sysdeps/aarch64/crti.S: Add include of sysdep.h.
  12248. (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
  12249. * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
  12250. (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
  12251. * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
  12252. (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
  12253. elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
  12254. elf_machine_lazy_rel): Add ifdef's for ILP32 support.
  12255. * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
  12256. _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
  12257. _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
  12258. to get correct reg name for ILP32.
  12259. * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
  12260. (RELA_SIZE): New Macro.
  12261. (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
  12262. to support ILP32.
  12263. * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
  12264. cast for ILP32 mode.
  12265. * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
  12266. * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
  12267. * sysdeps/aarch64/memset.S (__memset): Ditto.
  12268. * sysdeps/aarch64/strchr.S (strchr): Ditto.
  12269. * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
  12270. * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
  12271. * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
  12272. * sysdeps/aarch64/strlen.S (__strlen): Ditto.
  12273. * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
  12274. * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
  12275. * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
  12276. * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
  12277. * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
  12278. * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
  12279. * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
  12280. change PTR_MANGLE call to use register numbers instead of names.
  12281. * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
  12282. * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
  12283. ILP32 mode, change PTR_MANGLE calls to use register numbers.
  12284. * sysdeps/aarch64/start.S (_start): Ditto.
  12285. * sysdeps/aarch64/nptl/bits/pthreadtypes.h
  12286. (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
  12287. (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
  12288. __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
  12289. __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
  12290. __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
  12291. __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
  12292. Make defined values dependent on __ILP32__.
  12293. * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
  12294. (sem_t): Change __align type.
  12295. * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
  12296. PTR_SIZE): New Macros.
  12297. (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
  12298. * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
  12299. Set when in ILP32 mode.
  12300. (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
  12301. * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
  12302. Set elf flags for ILP32.
  12303. (add_system_dir): Set ILP32 library directories.
  12304. * sysdeps/unix/sysv/linux/aarch64/init-first.c
  12305. (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
  12306. * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
  12307. (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
  12308. * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
  12309. New Macros.
  12310. * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
  12311. 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
  12312. * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
  12313. only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
  12314. * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
  12315. 2016-11-28 Joseph Myers <joseph@codesourcery.com>
  12316. * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
  12317. <asm/cachectl.h>.
  12318. 2016-11-27 Zack Weinberg <zackw@panix.com>
  12319. * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
  12320. * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
  12321. 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
  12322. * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
  12323. error_t to fix usage in C++ programs.
  12324. 2016-11-26 Joseph Myers <joseph@codesourcery.com>
  12325. * scripts/build-many-glibcs.py: Import datetime module.
  12326. (Context.__init__): Load JSON build state. Initialize list of
  12327. status logs.
  12328. (Context.run_builds): Update saved build state.
  12329. (Context.add_makefile_cmdlist): Update list of status logs.
  12330. (Context.load_build_state_json): New function.
  12331. (Context.store_build_state_json): Likewise.
  12332. (Context.clear_last_build_state): Likewise.
  12333. (Context.update_build_state): Likewise.
  12334. (CommandList.status_logs): Likewise.
  12335. 2016-11-25 Joseph Myers <joseph@codesourcery.com>
  12336. * scripts/build-many-glibcs.py (Context.__init__): Save text of
  12337. script being executed.
  12338. (Context.get_script_text): New function.
  12339. (Context.exec_self): Likewise.
  12340. (Context.checkout): Re-exec script if changed by checkout process.
  12341. 2016-11-24 Joseph Myers <joseph@codesourcery.com>
  12342. * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
  12343. (setpayloadsig): New declaration.
  12344. * math/Versions (setpayloadsig): New libm symbol at version
  12345. GLIBC_2.25.
  12346. (setpayloadsigf): Likewise.
  12347. (setpayloadsigl): Likewise.
  12348. * math/Makefile (libm-calls): Add s_setpayloadsigF.
  12349. * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
  12350. (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
  12351. (setpayloadsig_test_data): New array.
  12352. (setpayloadsig_test): New function.
  12353. (main): Call setpayloadsig_test.
  12354. * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
  12355. setpayloadsigf and setpayloadsigl.
  12356. * manual/libm-err-tab.pl: Update comment on interfaces without
  12357. ulps tabulated.
  12358. * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
  12359. * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
  12360. * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
  12361. * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
  12362. * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
  12363. * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
  12364. * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
  12365. setpayloadsig.
  12366. (CFLAGS-nldbl-setpayloadsig.c): New variable.
  12367. * sysdeps/nacl/libm.abilist: Update.
  12368. * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
  12369. * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
  12370. * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
  12371. * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
  12372. * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
  12373. * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
  12374. * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
  12375. * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
  12376. * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
  12377. * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
  12378. * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
  12379. * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
  12380. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
  12381. Likewise.
  12382. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
  12383. Likewise.
  12384. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
  12385. Likewise.
  12386. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
  12387. Likewise.
  12388. * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
  12389. * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
  12390. * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
  12391. * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
  12392. * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
  12393. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
  12394. Likewise.
  12395. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
  12396. Likewise.
  12397. * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
  12398. * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
  12399. * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
  12400. * scripts/build-many-glibcs.py: Import json module.
  12401. (Context.__init__): Take replace_sources argument. Load
  12402. versions.json.
  12403. (Context.load_versions_json): New function.
  12404. (Context.store_json): Likewise.
  12405. (Context.store_versions_json): Likewise.
  12406. (Context.set_component_version): Likewise.
  12407. (Context.checkout): Update versions.json. Check for and handle
  12408. changes of version. Prefer previously explicitly specified
  12409. version to default version.
  12410. (Context.checkout_vcs): Return a revision identifier.
  12411. (Context.git_checkout): Likewise.
  12412. (Context.gcc_checkout): Likewise.
  12413. (get_parser): Add --replace-sources option.
  12414. (main): Pass replace_sources argument to Context call.
  12415. 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  12416. [BZ #651]
  12417. * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
  12418. * nptl/allocatestack.c (allocate_stack): Likewise.
  12419. (__reclaim_stacks): Likewise.
  12420. (setxid_signal_thread): Obtain pid through syscall.
  12421. * nptl/nptl-init.c (sigcancel_handler): Likewise.
  12422. (sighandle_setxid): Likewise.
  12423. * nptl/pthread_cancel.c (pthread_cancel): Likewise.
  12424. * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
  12425. * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
  12426. Likewise.
  12427. * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
  12428. * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
  12429. comment.
  12430. * sysdeps/unix/sysv/linux/getpid.c: Remove file.
  12431. * nptl/descr.h (struct pthread): Change comment about pid value.
  12432. * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
  12433. pid assert.
  12434. * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
  12435. Do not set pid value.
  12436. * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
  12437. pid cache check.
  12438. * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
  12439. * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
  12440. * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
  12441. * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
  12442. * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
  12443. * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
  12444. * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
  12445. * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
  12446. * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
  12447. * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
  12448. * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
  12449. * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
  12450. * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
  12451. * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
  12452. * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
  12453. * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
  12454. * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
  12455. * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
  12456. * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
  12457. * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
  12458. * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
  12459. * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
  12460. * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
  12461. * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
  12462. * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
  12463. * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
  12464. * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
  12465. * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
  12466. * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
  12467. * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
  12468. * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
  12469. * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
  12470. * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
  12471. * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
  12472. * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
  12473. * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
  12474. * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
  12475. * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
  12476. * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
  12477. * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
  12478. * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
  12479. * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
  12480. * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
  12481. * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
  12482. * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
  12483. * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
  12484. * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
  12485. * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
  12486. * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
  12487. * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
  12488. * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
  12489. * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
  12490. * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
  12491. * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
  12492. struct access.
  12493. (clone_test): Remove function.
  12494. (do_test): Rewrite to take in consideration pid is not cached anymore.
  12495. 2016-11-24 Joseph Myers <joseph@codesourcery.com>
  12496. * bits/flt-eval-method.h: New file.
  12497. * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
  12498. * sysdeps/s390/bits/flt-eval-method.h: Likewise.
  12499. * sysdeps/x86/bits/flt-eval-method.h: Likewise.
  12500. * math/Makefile (headers): Add bits/flt-eval-method.h.
  12501. * math/math.h: Include <bits/flt-eval-method.h>.
  12502. [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
  12503. [__USE_ISOC99] (double_t): Likewise.
  12504. * bits/mathdef.h (float_t): Remove.
  12505. (double_t): Likewise.
  12506. * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
  12507. (double_t): Likewise.
  12508. * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
  12509. (double_t): Likewise.
  12510. * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
  12511. (double_t): Likewise.
  12512. * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
  12513. (double_t): Likewise.
  12514. * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
  12515. (double_t): Likewise.
  12516. * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
  12517. (double_t): Likewise.
  12518. * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
  12519. (double_t): Likewise.
  12520. * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
  12521. (double_t): Likewise.
  12522. * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
  12523. (double_t): Likewise.
  12524. * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
  12525. (double_t): Likewise.
  12526. * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
  12527. (double_t): Likewise.
  12528. * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
  12529. (double_t): Likewise.
  12530. * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
  12531. (double_t): Likewise.
  12532. 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
  12533. * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
  12534. instead of PIC.
  12535. 2016-11-23 Joseph Myers <joseph@codesourcery.com>
  12536. [BZ #20859]
  12537. * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
  12538. (-0x7fffffff) instead of 0x80000001.
  12539. * math/test-fp-ilogb-constants.c: New file.
  12540. * math/Makefile (tests): Add test-fp-ilogb-constants.
  12541. 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
  12542. * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
  12543. (_init): Use it in place of hardcoded R_MIPS_JALR.
  12544. * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
  12545. (_init): Use it in place of hardcoded R_MIPS_JALR.
  12546. * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
  12547. (_init): Use it in place of hardcoded R_MIPS_JALR.
  12548. 2016-11-23 Joseph Myers <joseph@codesourcery.com>
  12549. [BZ #20787]
  12550. * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
  12551. [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
  12552. (double_t): Do not define to double if [__x86_64__] when
  12553. __FLT_EVAL_METHOD__ is nonzero.
  12554. * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
  12555. * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
  12556. * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
  12557. test-flt-eval-method-387 and test-flt-eval-method-sse.
  12558. [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
  12559. variable.
  12560. [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
  12561. 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
  12562. * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
  12563. use of -fno-isolate-erroneous-paths options for tilepro.
  12564. 2016-11-23 Florian Weimer <fweimer@redhat.com>
  12565. * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
  12566. structure initialization is no longer needed.
  12567. 2016-11-23 Joseph Myers <joseph@codesourcery.com>
  12568. [BZ #20855]
  12569. * bits/mathdef.h (float_t): Define to float.
  12570. * math/test-flt-eval-method.c: New file.
  12571. * math/Makefile (tests): Add test-flt-eval-method.
  12572. (CFLAGS-test-flt-eval-method.c): New variable.
  12573. 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
  12574. * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
  12575. and __fstatfs. Make them aliases of __fstatfs64 if
  12576. STATFS_IS_STATFS64 is set to non-zero.
  12577. * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
  12578. and __statfs64.
  12579. * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
  12580. define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
  12581. * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
  12582. for __statfs and statfs.
  12583. * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
  12584. to 0.
  12585. * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
  12586. * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
  12587. * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
  12588. * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
  12589. * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
  12590. * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
  12591. * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
  12592. * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
  12593. * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
  12594. * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
  12595. * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
  12596. * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
  12597. 2016-11-22 Andreas Schwab <schwab@suse.de>
  12598. * misc/mkstemp.c: Include <fcntl.h>.
  12599. * misc/mkstemps.c: Likewise.
  12600. * misc/mkostemp.c: Likewise.
  12601. * misc/mkostemps.c: Likewise.
  12602. 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
  12603. [BZ #20847]
  12604. * posix/execvpe.c (maybe_script_execute): Remove write past allocated
  12605. array bounds.
  12606. (__execvpe): Likewise.
  12607. 2016-11-22 Joseph Myers <joseph@codesourcery.com>
  12608. * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
  12609. -fno-isolate-erroneous-paths options for tilepro.
  12610. 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
  12611. * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
  12612. to 0 when in 32 bit mode.
  12613. * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
  12614. * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
  12615. * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
  12616. * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
  12617. * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
  12618. * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
  12619. * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
  12620. XSTAT_IS_XSTAT64 test.
  12621. * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
  12622. * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
  12623. * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
  12624. * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
  12625. * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
  12626. * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
  12627. * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
  12628. * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
  12629. * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
  12630. * sysdeps/unix/sysv/linux/xstat.c: Ditto.
  12631. * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
  12632. 2016-11-19 Joseph Myers <joseph@codesourcery.com>
  12633. * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
  12634. (setpayload): New declaration.
  12635. * math/Versions (setpayload): New libm symbol at version
  12636. GLIBC_2.25.
  12637. (setpayloadf): Likewise.
  12638. (setpayloadl): Likewise.
  12639. * math/Makefile (libm-calls): Add s_setpayloadF.
  12640. * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
  12641. test_Ff_b1_data.
  12642. (RUN_TEST_Ff_b1): New macro.
  12643. (RUN_TEST_LOOP_Ff_b1): Likewise.
  12644. (canonicalize_test_data): Update type.
  12645. (setpayload_test_data): New array.
  12646. (setpayload_test): New function.
  12647. (main): Call setpayload_test.
  12648. * manual/arith.texi (FP Bit Twiddling): Document setpayload,
  12649. setpayloadf and setpayloadl.
  12650. * manual/libm-err-tab.pl: Update comment on interfaces without
  12651. ulps tabulated.
  12652. * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
  12653. * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
  12654. * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
  12655. Likewise.
  12656. * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
  12657. * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
  12658. * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
  12659. * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
  12660. * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
  12661. * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
  12662. * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
  12663. * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
  12664. * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
  12665. * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
  12666. setpayload.
  12667. (CFLAGS-nldbl-setpayload.c): New variable.
  12668. * sysdeps/nacl/libm.abilist: Update.
  12669. * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
  12670. * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
  12671. * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
  12672. * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
  12673. * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
  12674. * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
  12675. * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
  12676. * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
  12677. * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
  12678. * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
  12679. * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
  12680. * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
  12681. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
  12682. Likewise.
  12683. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
  12684. Likewise.
  12685. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
  12686. Likewise.
  12687. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
  12688. Likewise.
  12689. * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
  12690. * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
  12691. * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
  12692. * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
  12693. * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
  12694. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
  12695. Likewise.
  12696. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
  12697. Likewise.
  12698. * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
  12699. * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
  12700. * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
  12701. 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  12702. * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
  12703. * include/unistd.h: Extend comment about __access_noerrno return
  12704. semantics.
  12705. * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
  12706. (access_common): Correct typo for EACCES.
  12707. 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
  12708. * sysdeps/tile/math-tests.h: New file.
  12709. * sysdeps/unix/sysv/linux/tile/set_dataplane.c
  12710. (__old_set_dataplane): Rename from set_dataplane and make a
  12711. compatibility symbol.
  12712. * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
  12713. * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
  12714. sys/dataplane.h.
  12715. 2016-11-18 Joseph Myers <joseph@codesourcery.com>
  12716. * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
  12717. script quote words in command output to log suitably for input to
  12718. the shell.
  12719. 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
  12720. Maciej W. Rozycki <macro@imgtec.com>
  12721. * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
  12722. `.Lno_weak_fn' label.
  12723. * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
  12724. * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
  12725. 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  12726. Yury Norov <ynorov@caviumnetworks.com>
  12727. * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
  12728. * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
  12729. (__RLIM_T_MATCHES_RLIM64_T): Likewise.
  12730. * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
  12731. (__RLIM_T_MATCHES_RLIM64_T): Likewise.
  12732. * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
  12733. (__RLIM_T_MATCHES_RLIM64_T): Likewise.
  12734. * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
  12735. [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
  12736. * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
  12737. (__RLIM_T_MATCHES_RLIM64_T): Likewise.
  12738. * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
  12739. (sysdep_routines): Remove oldgetrlimit64.
  12740. * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
  12741. (sysdep_routines): Likewise.
  12742. * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
  12743. (sysdep_routines): Likewise.
  12744. * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
  12745. [$(subdir) = resource] (sysdep_routines): Likewise.
  12746. * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
  12747. [$(subdir) = resource] (sysdep_routines): Likewise.
  12748. * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
  12749. * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
  12750. * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
  12751. * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
  12752. * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
  12753. * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
  12754. * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
  12755. * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
  12756. * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
  12757. * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
  12758. * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
  12759. * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
  12760. * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
  12761. * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
  12762. * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
  12763. * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
  12764. * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
  12765. setrlimit and getrlimit.
  12766. * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
  12767. * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
  12768. * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
  12769. * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
  12770. * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
  12771. * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
  12772. * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
  12773. * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
  12774. * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
  12775. * sysdeps/unix/sysv/linux/getrlimit.c: New file.
  12776. * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
  12777. * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
  12778. * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
  12779. __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
  12780. (__old_getrlimit64): Add compatibility symbol.
  12781. * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
  12782. 2016-11-17 Joseph Myers <joseph@codesourcery.com>
  12783. * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
  12784. newly built gmp, mpfr and mpc.
  12785. * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
  12786. 2016-11-16 Joseph Myers <joseph@codesourcery.com>
  12787. * conform/Makefile (linknamespace-libs): Rename to
  12788. linknamespace-libs-thr.
  12789. (linknamespace-libs-posix): New variable.
  12790. (linknamespace-libs-xsi): Likewise.
  12791. (linknamespace-libs-XPG3): Include libcrypt.a.
  12792. (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
  12793. (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
  12794. (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
  12795. (linknamespace-libs-XOPEN2K): Likewise.
  12796. (linknamespace-libs-XOPEN2K8): Likewise.
  12797. (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
  12798. [BZ #20829]
  12799. * stdio-common/Versions (__snprintf): Add to version
  12800. GLIBC_PRIVATE.
  12801. * include/stdio.h (__snprintf): Use libc_hidden_proto.
  12802. * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
  12803. * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
  12804. of snprintf.
  12805. * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
  12806. 2016-11-16 Zack Weinberg <zackw@panix.com>
  12807. * string/string.h: Remove obsolete comment stating that
  12808. strcoll_l and strxfrm_l have not yet been standardized.
  12809. 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  12810. * hurd/hurd.h (__hurd_fail_noerrno): New function.
  12811. * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
  12812. __access_noerrno.
  12813. * io/access.c (__access_noerrno): New function.
  12814. * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
  12815. (hurd_fail_seterrno): Likewise.
  12816. (access_common): Likewise.
  12817. (__access_noerrno): Likewise.
  12818. * sysdeps/nacl/access.c (__access_noerrno): Likewise.
  12819. * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
  12820. * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
  12821. macro.
  12822. 2016-11-16 Joseph Myers <joseph@codesourcery.com>
  12823. * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
  12824. Only declare fpregs if [__SH_FPU_ANY__].
  12825. 2016-11-15 Joseph Myers <joseph@codesourcery.com>
  12826. * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
  12827. Make code unconditional.
  12828. [!(__SH4__ || __SH4A__)]: Remove conditional code.
  12829. 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
  12830. * manual/sysinfo.texi (S_APPEND): Delete.
  12831. (S_IMMUTABLE): Likewise.
  12832. 2016-11-15 Denis Kaganovich <mahatma@eu.by>
  12833. Magnus Granberg <zorry@gentoo.org>
  12834. Mike Frysinger <vapier@gentoo.org>
  12835. [BZ #20662]
  12836. * configure.ac (libc_cv_predef_stack_protector): Also check for
  12837. __stack_chk_fail_local symbols.
  12838. * configure: Regenerated.
  12839. 2016-11-15 Florian Weimer <fweimer@redhat.com>
  12840. * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
  12841. (libc_hidden_def): Remove redefinition.
  12842. (__sigsetjmp): Add hidden definition.
  12843. * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
  12844. (libc_hidden_def): Remove redefinition.
  12845. (__sigsetjmp): Add hidden definition.
  12846. 2016-11-14 Joseph Myers <joseph@codesourcery.com>
  12847. * scripts/build-many-glibcs.py (os.path): Do not import.
  12848. (Context): Inherit explicitly from object. Remove blank line
  12849. between class and docstring.
  12850. (Config): Likewise.
  12851. (Glibc): Likewise.
  12852. (Command): Likewise.
  12853. (CommandList): Likewise.
  12854. (Context.write_files): Store chmod mode in a variable.
  12855. * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
  12856. LIBC_SLIBDIR_RTLDDIR for tilegx32.
  12857. * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
  12858. 2016-11-14 Zack Weinberg <zackw@panix.com>
  12859. * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
  12860. creating or re-creating it.
  12861. * string/bits/string2.h: Fix typo in comment.
  12862. 2016-11-14 Zack Weinberg <zackw@panix.com>
  12863. * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
  12864. (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
  12865. (__SYSMACROS_FST_IMPL_TEMPL): Delete.
  12866. (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
  12867. of redirected function names.
  12868. * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
  12869. as well. Document that MESSAGE must be a single string literal.
  12870. 2016-11-11 Joseph Myers <joseph@codesourcery.com>
  12871. * scripts/build-many-glibcs.py: New file.
  12872. * stdlib/bug-getcontext.c: Include <libc-internal.h>.
  12873. (do_test): Disable -Wmaybe-uninitialized around uses of
  12874. except_mask.
  12875. * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
  12876. 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
  12877. * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
  12878. (atomic_store_release): Provide tilepro-specific implementations.
  12879. 2016-11-10 Joseph Myers <joseph@codesourcery.com>
  12880. * math/math.h (__MATH_TG): New macro.
  12881. [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
  12882. [__USE_ISOC99] (signbit): Likewise.
  12883. [__USE_ISOC99] (isfinite): Likewise.
  12884. [__USE_ISOC99] (isnan): Likewise.
  12885. [__USE_ISOC99] (isinf): Likewise.
  12886. [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
  12887. [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
  12888. [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
  12889. __MATH_TG and __MATH_EVAL_FMT2.
  12890. * sysdeps/generic/math_private.h (fabs_tg): Define using
  12891. __MATH_TG.
  12892. * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
  12893. [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
  12894. [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
  12895. [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
  12896. * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
  12897. macro.
  12898. (__iscanonical): Likewise.
  12899. (iscanonical): Define using __MATH_TG.
  12900. 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  12901. * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
  12902. guards.
  12903. * sysdeps/unix/sysv/linux/access.c: New file.
  12904. * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
  12905. 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
  12906. * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
  12907. and __WORDSIZE32_PTRDIFF_LONG.
  12908. 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
  12909. * sysdeps/aarch64/libm-test-ulps: Regenerated.
  12910. 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  12911. * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
  12912. * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
  12913. * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
  12914. * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
  12915. * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
  12916. * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
  12917. * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
  12918. * sysdeps/unix/sysv/linux/truncate.c: New file.
  12919. * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
  12920. INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
  12921. * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
  12922. Remove.
  12923. * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
  12924. Likewise.
  12925. * posix/tst-truncate-common.c: New file.
  12926. * posix/tst-truncate.c: Use tst-truncate-common.c.
  12927. * posix/tst-truncate64.c: Likewise and add LFS tests.
  12928. * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
  12929. * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
  12930. * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
  12931. * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
  12932. * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
  12933. * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
  12934. * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
  12935. * sysdeps/unix/sysv/linux/ftruncate.c: New file.
  12936. * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
  12937. INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
  12938. [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
  12939. * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
  12940. Remove.
  12941. * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
  12942. Likewise.
  12943. 2016-11-08 Joseph Myers <joseph@codesourcery.com>
  12944. [BZ #20790]
  12945. * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
  12946. to MAXLINESIZE.
  12947. * sunrpc/bug20790.x: New file.
  12948. * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
  12949. variable.
  12950. [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
  12951. [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
  12952. * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
  12953. * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
  12954. * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
  12955. optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
  12956. calloc, realloc, free, memalign and __libc_memalign rather than
  12957. making them optional.
  12958. * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
  12959. for libc.so.
  12960. 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  12961. * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
  12962. ptw-lseek64.
  12963. * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
  12964. * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
  12965. Likewise.
  12966. * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
  12967. * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
  12968. * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
  12969. * sysdeps/unix/sysv/linux/llseek.c: Remove file.
  12970. * sysdeps/unix/sysv/linux/lseek.c: New file.
  12971. * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
  12972. * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
  12973. __libc_lseek64 from auto-generation.
  12974. * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
  12975. * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
  12976. 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  12977. * nptl/tst-basic1.c (tf, do_test): Use write_message.
  12978. * nptl/tst-cleanup1.c (do_test): Likewise.
  12979. * nptl/tst-cleanup3.c (do_test): Likewise.
  12980. * nptl/tst-key1.c (do_test): Likewise.
  12981. * nptl/tst-key2.c (tf, do_test): Likewise.
  12982. * nptl/tst-key3.c (tf, do_test): Likewise.
  12983. * nptl/tst-stdio1.c (do_test): Likewise.
  12984. * nptl/tst-stdio2.c (do_test): Likewise.
  12985. * nptl/tst-kill3.c (handler): Use write_message in place of write.
  12986. * nptl/tst-kill6.c (handler): Likewise.
  12987. * nptl/tst-tls2.c (CB): Likewise.
  12988. * nptl/tst-tls3.c (CB): Likewise.
  12989. 2016-11-07 Joseph Myers <joseph@codesourcery.com>
  12990. * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
  12991. 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
  12992. Steve Ellcey <sellcey@caviumnetworks.com>
  12993. * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
  12994. __ASSUME_ST_INO_64_BIT as 0
  12995. * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
  12996. * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
  12997. over the code where __ASSUME_ST_INO_64_BIT is used.
  12998. * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
  12999. * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
  13000. * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
  13001. 2016-11-07 Florian Weimer <fweimer@redhat.com>
  13002. * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
  13003. Document ABI exposure of the __kind offset.
  13004. * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
  13005. Mention reason for the __kind offset exposure in the ABI.
  13006. * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
  13007. Likewise.
  13008. * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
  13009. Likewise.
  13010. * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
  13011. Likewise.
  13012. * sysdeps/microblaze/nptl/bits/pthreadtypes.h
  13013. (struct __pthread_mutex_s): Likewise.
  13014. * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
  13015. Likewise.
  13016. * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
  13017. Likewise.
  13018. * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
  13019. Likewise.
  13020. * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
  13021. Likewise.
  13022. * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
  13023. Likewise.
  13024. * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
  13025. Likewise.
  13026. * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
  13027. (struct __pthread_mutex_s): Likewise.
  13028. * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
  13029. (struct __pthread_mutex_s): Likewise.
  13030. * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
  13031. Likewise.
  13032. 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
  13033. * test-skeleton.c: Document do_test usage.
  13034. 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
  13035. * iconv/gconv.h (__gconv_info): Define __data element using a
  13036. zero-length array.
  13037. 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
  13038. * math/test-tgmath2.c: Split up test function.
  13039. 2016-11-04 Joseph Myers <joseph@codesourcery.com>
  13040. * Rules (tests-expected): New variable, depending on
  13041. $(run-built-tests).
  13042. (tests): Pass $(tests-expected) to merge-test-results.sh, not
  13043. $(tests).
  13044. * Rules [$(run-built-tests) = no] (tests): Do not depend on
  13045. $(tests-unsupported).
  13046. 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  13047. * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
  13048. (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
  13049. 2016-11-04 Joseph Myers <joseph@codesourcery.com>
  13050. [BZ #20768]
  13051. * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
  13052. __fegetenv instead of fegetenv.
  13053. [BZ #14139]
  13054. * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
  13055. (find_files): Obtain platform name from libm-test-ulps-name and
  13056. store in %pplatforms.
  13057. (canonicalize_platform): Remove.
  13058. (print_platforms): Use $pplatforms directly.
  13059. (by_platforms): Do not allow for platforms missing from
  13060. %pplatforms.
  13061. * sysdeps/aarch64/libm-test-ulps-name: New file.
  13062. * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
  13063. * sysdeps/arm/libm-test-ulps-name: Likewise.
  13064. * sysdeps/generic/libm-test-ulps-name: Likewise.
  13065. * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
  13066. * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
  13067. * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
  13068. * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
  13069. * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
  13070. * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
  13071. * sysdeps/microblaze/libm-test-ulps-name: Likewise.
  13072. * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
  13073. * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
  13074. * sysdeps/nios2/libm-test-ulps-name: Likewise.
  13075. * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
  13076. * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
  13077. * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
  13078. * sysdeps/sh/libm-test-ulps-name: Likewise.
  13079. * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
  13080. * sysdeps/tile/libm-test-ulps-name: Likewise.
  13081. * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
  13082. * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
  13083. * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
  13084. (test-xfail-check-execstack): New variable.
  13085. * sysdeps/mips/localplt.data: New file.
  13086. 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
  13087. Steve Ellcey <sellcey@caviumnetworks.com>
  13088. * bits/wordsize.h: Add documentation.
  13089. * sysdeps/aarch64/bits/wordsize.h : New file
  13090. * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
  13091. definitions.
  13092. (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
  13093. * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
  13094. with #if instead of #ifdef.
  13095. * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
  13096. * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
  13097. __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
  13098. Add or change defines.
  13099. * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
  13100. * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
  13101. * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
  13102. * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
  13103. * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
  13104. * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
  13105. * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
  13106. * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
  13107. * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
  13108. * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
  13109. * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
  13110. * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
  13111. * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
  13112. * sysdeps/x86/bits/wordsize.h: Likewise.
  13113. 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
  13114. Kevin Petit <kevin.petit@arm.com>
  13115. * sysdeps/aarch64/memchr.S (__memchr): New file.
  13116. 2016-11-04 Joseph Myers <joseph@codesourcery.com>
  13117. * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
  13118. 2016-11-03 Joseph Myers <joseph@codesourcery.com>
  13119. [BZ #19398]
  13120. * conform/Makefile ($(linknamespace-header-tests)): Also depend on
  13121. $(linknamespace-symlists-tests).
  13122. 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
  13123. * time/tst-strptime2.c: Ignore -Wformat-length warning.
  13124. 2016-11-02 Florian Weimer <fweimer@redhat.com>
  13125. Carlos O'Donell <carlos@redhat.com>
  13126. [Bug #20729]
  13127. * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
  13128. change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
  13129. for -Os related change.
  13130. 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
  13131. * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
  13132. 2016-11-01 Joseph Myers <joseph@codesourcery.com>
  13133. [BZ #19673]
  13134. * manual/math.texi (Exponents and Logarithms): Correct description
  13135. of clog10.
  13136. 2016-10-31 Carlos O'Donell <carlos@redhat.com>
  13137. [Bz #20729]
  13138. * locale/weight.h: Include libc-internal.h.
  13139. * locale/weightwc.h: Likewise.
  13140. * nptl/nptl_dbP.h: Likewise.
  13141. 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
  13142. * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
  13143. when it is MACH_PORT_NULL.
  13144. 2016-10-31 Andreas Schwab <schwab@suse.de>
  13145. [BZ #20707]
  13146. * posix/glob.c (glob): Initialize pglob before checking for
  13147. GLOB_BRACE. Don't call glob recursively if pattern contains no
  13148. valid brace expression despite GLOB_BRACE.
  13149. * posix/globtest.sh: Test it.
  13150. 2016-10-28 Carlos O'Donell <carlos@redhat.com>
  13151. [BZ #20729]
  13152. * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
  13153. Define.
  13154. * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
  13155. -Wmaybe-uninitialized for BODY macro only for -Os compiles.
  13156. * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
  13157. for seq2.back_us and seq1.back_us only for -Os compiles.
  13158. * locale/weightwc.h (findix): Likewise.
  13159. * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
  13160. DB_GET_FIELD_ADDRESS only for -Os compiles.
  13161. * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
  13162. for slen only for -Os compiles.
  13163. * string/strcoll_l.c (get_next_seq): Ignore
  13164. -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
  13165. for -Os compiles.
  13166. * elf/Makefile (CFALGS-tst-linkall-static): Remove.
  13167. * include/crypt.h: New file.
  13168. 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  13169. * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
  13170. from test-skeleton.c.
  13171. (statclass): Replace calls to write with calls to write_message.
  13172. 2016-10-28 Joseph Myers <joseph@codesourcery.com>
  13173. * math/math.h
  13174. [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
  13175. New macro.
  13176. [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
  13177. Likewise.
  13178. [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
  13179. Likewise.
  13180. * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
  13181. SNANL.
  13182. * math/test-double.h (snan_value_MACRO): New macro.
  13183. * math/test-float.h (snan_value_MACRO): Likewise.
  13184. * math/test-ldouble.h (snan_value_MACRO): Likewise.
  13185. * math/libm-test.inc (issignaling_test_data): Add tests of
  13186. snan_value_MACRO.
  13187. 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  13188. * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
  13189. behavior when eliding a lock not held by the current thread.
  13190. * sysdeps/powerpc/nptl/elide.h: Likewise.
  13191. 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  13192. [BZ #20728]
  13193. * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
  13194. branch to _exit() by a function call.
  13195. 2016-10-28 Florian Weimer <fweimer@redhat.com>
  13196. * malloc/malloc.c: Update chunk layout comments.
  13197. (chunk_main_arena): Update comment.
  13198. 2016-10-28 Florian Weimer <fweimer@redhat.com>
  13199. * crypt/sha256.c, crypt/sha256-block.c,
  13200. sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
  13201. sha256_process_block to __sha256_process_block.
  13202. * crypt/sha512.c, crypt/sha512-block.c,
  13203. sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
  13204. sha512_process_block to __sha512_process_block.
  13205. 2016-10-28 Carlos O'Donell <carlos@redhat.com>
  13206. * elf/Makefile (CFLAGS-tst-linkall-static): Define.
  13207. * math/test-nan-overflow.c: Include stdlib.h for malloc.
  13208. 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
  13209. [BZ #20019]
  13210. * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
  13211. definition in unrelocated shared library.
  13212. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
  13213. 2016-10-28 Florian Weimer <fweimer@redhat.com>
  13214. [BZ #20729]
  13215. Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
  13216. * sysdeps/unix/sysv/linux/i386/Makefile
  13217. (uses-6-syscall-arguments): Define.
  13218. [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
  13219. (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
  13220. (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
  13221. [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
  13222. Likewise.
  13223. [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
  13224. (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
  13225. (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
  13226. (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
  13227. (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
  13228. (CFLAGS-fallocate64.os): Likewise.
  13229. [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
  13230. (CFLAGS-pthread_rwlock_timedrdlock.os)
  13231. (CFLAGS-pthread_rwlock_timedwrlock.o)
  13232. (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
  13233. (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
  13234. (CFLAGS-sem_timedwait.os): Likewise.
  13235. 2016-10-28 Florian Weimer <fweimer@redhat.com>
  13236. * elf/tst-linkall-static.c: New file.
  13237. * elf/Makefile (tests-static): Add tst-linkall-static.
  13238. (tst-linkall-static): Link against static libraries.
  13239. 2016-10-27 Florian Weimer <fweimer@redhat.com>
  13240. * malloc/malloc.c (sysmalloc): Initialize previous size field of
  13241. mmaped chunks.
  13242. 2016-10-28 Florian Weimer <fweimer@redhat.com>
  13243. * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
  13244. members to mchunk_prev_size, mchunk_size.
  13245. (chunk_main_arena): Reverse sense and rename from
  13246. chunk_non_main_arena.
  13247. (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
  13248. mchunk_size instead of size.
  13249. (set_non_main_arena): Define.
  13250. (chunksize): Use chunksize_nomask instead of direct member access.
  13251. (chunksize_nomask): Define.
  13252. (next_chunk): Use chunksize instead of direct member access.
  13253. (prev_size, set_prev_size): Define.
  13254. (prev_chunk): Use prev_size instead of direct member access.
  13255. (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
  13256. (inuse_bit_at_offset, set_inuse_bit_at_offset)
  13257. (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
  13258. (mchunk_prev_size, mchunk_size): Poison tokens.
  13259. (unlink): Use chunksize_nomask, prev_size accessors.
  13260. (do_check_remalloced_chunk): Use chunk_main_arena accessor.
  13261. (do_check_free_chunk): Use prev_size accessor.
  13262. (sysmalloc): Use set_prev_size, set_head accessors.
  13263. (munmap_chunk, mremap_chunk): Use prev_size accessor.
  13264. (__libc_free): Use chunksize_nomask accessor.
  13265. (_int_malloc): Use set_non_main_arena, chunksize_nomask,
  13266. chunk_main_arena accessors.
  13267. (_int_free): Use chunksize_nomask, prev_size accessors.
  13268. (malloc_consolidate): Use chunksize, prev_size accessors.
  13269. (_int_realloc): Use chunksize_nomask accessor.
  13270. (_int_memalign): Use set_prev_size accessor.
  13271. (__malloc_info): Use chunksize_nomask accessor.
  13272. * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
  13273. accessors.
  13274. * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
  13275. (heap_trim): Use chunksize_nomask, prev_size accessors.
  13276. 2016-10-28 Joseph Myers <joseph@codesourcery.com>
  13277. [BZ #19380]
  13278. * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
  13279. for inexact results.
  13280. * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
  13281. of inexact result where mpfr_subnormalize is the only inexact
  13282. step.
  13283. * stdlib/tst-strtod-round-data.h: Regenerated.
  13284. * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
  13285. Define to 0.
  13286. (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
  13287. 2016-10-27 David S. Miller <davem@davemloft.net>
  13288. * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
  13289. 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
  13290. * malloc/malloc.c (do_set_mallopt_check): New function.
  13291. (do_set_mmap_threshold): Likewise.
  13292. (do_set_mmaps_max): Likewise.
  13293. (do_set_top_pad): Likewise.
  13294. (do_set_perturb_byte): Likewise.
  13295. (do_set_trim_threshold): Likewise.
  13296. (do_set_arena_max): Likewise.
  13297. (do_set_arena_test): Likewise.
  13298. (__libc_mallopt): Use them.
  13299. 2016-10-26 Joseph Myers <joseph@codesourcery.com>
  13300. * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
  13301. (canonicalize): New declaration.
  13302. * math/Versions (canonicalize): New libm symbol at version
  13303. GLIBC_2.25.
  13304. (canonicalizef): Likewise.
  13305. (canonicalizel): Likewise.
  13306. * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
  13307. * math/s_canonicalize_template.c: New file.
  13308. * math/libm-test.inc: Update comment on functions tested and
  13309. testing of NaN payloads.
  13310. (TEST_NAN_PAYLOAD): New macro.
  13311. (NO_TEST_INLINE): Update value.
  13312. (XFAIL_TEST): Likewise.
  13313. (ERRNO_UNCHANGED): Likewise.
  13314. (ERRNO_EDOM): Likewise.
  13315. (ERRNO_ERANGE): Likewise.
  13316. (IGNORE_RESULT): Likewise.
  13317. (NON_FINITE): Likewise.
  13318. (TEST_SNAN): Likewise.
  13319. (NO_TEST_MATHVEC): Likewise.
  13320. (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
  13321. (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
  13322. (struct test_Ffp_b1_data): New type.
  13323. (RUN_TEST_Ffp_b1): New macro.
  13324. (RUN_TEST_LOOP_Ffp_b1): Likewise.
  13325. (canonicalize_test_data): New array.
  13326. (canonicalize_test): New function.
  13327. (main): Call canonicalize_test.
  13328. * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
  13329. canonicalizef and canonicalizel.
  13330. * manual/libm-err-tab.pl: Update comment on interfaces without
  13331. ulps tabulated.
  13332. * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
  13333. * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
  13334. * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
  13335. canonicalize.
  13336. (CFLAGS-nldbl-canonicalize.c): New variable.
  13337. * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
  13338. to ...
  13339. * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
  13340. ... here.
  13341. (do_test): Also test canonicalizel.
  13342. * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
  13343. test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
  13344. * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
  13345. file.
  13346. * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
  13347. Use libm_hidden_def.
  13348. * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
  13349. * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
  13350. (do_test): Also test canonicalizel.
  13351. * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
  13352. test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
  13353. * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
  13354. * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
  13355. libm_hidden_def.
  13356. * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
  13357. macro.
  13358. * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
  13359. (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
  13360. * sysdeps/nacl/libm.abilist: Update.
  13361. * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
  13362. * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
  13363. * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
  13364. * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
  13365. * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
  13366. * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
  13367. * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
  13368. * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
  13369. * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
  13370. * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
  13371. * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
  13372. * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
  13373. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
  13374. Likewise.
  13375. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
  13376. Likewise.
  13377. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
  13378. Likewise.
  13379. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
  13380. Likewise.
  13381. * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
  13382. * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
  13383. * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
  13384. * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
  13385. * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
  13386. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
  13387. Likewise.
  13388. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
  13389. Likewise.
  13390. * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
  13391. * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
  13392. * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
  13393. * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
  13394. * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
  13395. getpayload.
  13396. (CFLAGS-nldbl-getpayload.c): New variable.
  13397. 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  13398. * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
  13399. integer from the format string.
  13400. 2016-10-26 Florian Weimer <fweimer@redhat.com>
  13401. [BZ #19473]
  13402. * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
  13403. declarations.
  13404. * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
  13405. weak aliases.
  13406. * malloc/hooks.c (__malloc_get_state): Remove definition.
  13407. (malloc_get_state): New stub implementation as
  13408. compatibility symbol.
  13409. (malloc_set_state): Rename from __malloc_set_state. Turn into
  13410. compat symbol.
  13411. * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
  13412. malloc_set_state.
  13413. * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
  13414. 2016-10-26 Florian Weimer <fweimer@redhat.com>
  13415. * iconvdata/iso646.c (enum variant): Drop illegal_var.
  13416. (names): Turn into concatenation of strings.
  13417. (gconv_init): Adapt iteration over names.
  13418. 2016-10-26 Florian Weimer <fweimer@redhat.com>
  13419. * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
  13420. make const.
  13421. * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
  13422. * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
  13423. * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
  13424. * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
  13425. character in sbconv.
  13426. * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
  13427. * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
  13428. * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
  13429. 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
  13430. * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
  13431. * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
  13432. (M_TRIM_THRESHOLD): Likewise.
  13433. * manual/memory.texi (M_ARENA_TEST): Add documentation.
  13434. (M_ARENA_MAX): Likewise.
  13435. * malloc/malloc.c: Remove obsolete comment.
  13436. * manual/memory.texi: Add environment variable alternatives to
  13437. setting mallopt parameters.
  13438. 2016-10-26 Carlos O'Donell <carlos@redhat.com>
  13439. * include/atomic.h
  13440. [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
  13441. (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
  13442. 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  13443. * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
  13444. * stdlib/tst-strfrom.h: New file.
  13445. * stdlib/tst-strfrom.c: New file.
  13446. * stdlib/tst-strfrom-locale.c: New file.
  13447. * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
  13448. * stdlib/bug-strtod2.c: Likewise.
  13449. * stdlib/tst-strtod-round-skeleton.c: Likewise.
  13450. * stdlib/tst-strtod6.c: Likewise.
  13451. * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
  13452. 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  13453. * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
  13454. * manual/arith.texi: Document strfromd, strfromf, strfroml.
  13455. * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
  13456. * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
  13457. * stdlib/stdlib.h (strfromd): New declaration.
  13458. (strfromf): Likewise.
  13459. (strfroml): Likewise.
  13460. * stdlib/strfrom-skeleton.c: New file. Generic implementation for
  13461. strfrom.
  13462. * stdlib/strfromd.c: New file.
  13463. * stdlib/strfromf.c: Likewise.
  13464. * stdlib/strfroml.c: Likewise.
  13465. * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
  13466. * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
  13467. * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
  13468. * sysdeps/arm/nacl/libc.abilist: Update.
  13469. * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
  13470. * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
  13471. * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
  13472. * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
  13473. * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
  13474. * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
  13475. * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
  13476. * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
  13477. * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
  13478. * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
  13479. * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
  13480. * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
  13481. * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
  13482. * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
  13483. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
  13484. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
  13485. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
  13486. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
  13487. * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
  13488. * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
  13489. * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
  13490. * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
  13491. * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
  13492. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
  13493. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
  13494. * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
  13495. * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
  13496. * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
  13497. 2016-10-25 Joseph Myers <joseph@codesourcery.com>
  13498. * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
  13499. instead of cmpli.
  13500. * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
  13501. instead of cmpli.
  13502. 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
  13503. * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
  13504. * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
  13505. * sysdeps/unix/sysv/linux/xstat.c: Likewise.
  13506. * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
  13507. * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
  13508. * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
  13509. 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  13510. * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
  13511. * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
  13512. * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
  13513. SYSCALL_LL64_PRW.
  13514. * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
  13515. * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
  13516. __ASSUME_PRW_DUMMY_ARG.
  13517. * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
  13518. * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
  13519. * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
  13520. * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
  13521. * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
  13522. SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
  13523. 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
  13524. * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
  13525. 2016-10-22 Florian Weimer <fweimer@redhat.com>
  13526. * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
  13527. "C++", to override a potential extern "C" directive around the
  13528. header file inclusion.
  13529. 2016-10-21 Joseph Myers <joseph@codesourcery.com>
  13530. * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
  13531. 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  13532. * sysdeps/powerpc/fpu/fenv_private.h:
  13533. (_FPU_MASK_ALL): Rename to...
  13534. (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
  13535. XE FPSCR bits.
  13536. (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
  13537. (_FPU_MASK_ROUNDING): Rename to...
  13538. (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
  13539. NI bits.
  13540. (_FPU_MASK_EXCEPT_ROUND): Rename to...
  13541. (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
  13542. bits and rounding bits.
  13543. (__libc_feholdbits_ppc): New inline function to mask, set,
  13544. and pontentially clear FSPCR bits, and change MSR[FE] bits.
  13545. (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
  13546. (libc_feholdexcept_setround_ppc): Likewise.
  13547. (__libc_femergeenv_ppc): New function to dynamically mask both
  13548. old and new FP environments and merge.
  13549. (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
  13550. (libc_feresetround_ppc): Likewise.
  13551. (libc_feupdateenv_test_ppc): Likewise.
  13552. (libc_feupdateenv_ppc): Likewise.
  13553. (libc_feholdsetround_ppc_ctx): Fix usage to include masking
  13554. of ISA RN bits, and update macro names.
  13555. (libc_feholdexcept_setround_ppc_ctx): Remove as it is
  13556. effectively the same as the previously mentioned function.
  13557. (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
  13558. usage with fe_resetround_ppc.
  13559. (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
  13560. to be used.
  13561. (libc_feholdexcept_setround_ctxf): Likewise.
  13562. (libc_feholdexcept_setround_ctxl): Likewise.
  13563. 2016-10-21 Florian Weimer <fweimer@redhat.com>
  13564. [BZ #20715]
  13565. * math/math.h [__cplusplus] (iszero): Define as function template.
  13566. * math/Makefile [CXX] (tests): Add test-math-iszero.
  13567. (CFLAGS-test-math-iszero.cc): Set.
  13568. * math/test-math-iszero.cc: New file.
  13569. 2016-10-20 Joseph Myers <joseph@codesourcery.com>
  13570. [BZ #20660]
  13571. * sysdeps/arm/e_sqrt.c: New file.
  13572. * sysdeps/arm/e_sqrtf.c: Likewise.
  13573. 2016-10-19 Joseph Myers <joseph@codesourcery.com>
  13574. [BZ #20718]
  13575. * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
  13576. not use floating-point comparisons to test sign.
  13577. * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
  13578. Likewise.
  13579. * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
  13580. (getpayload): New declaration.
  13581. * math/Versions (getpayload): New libm symbol at version
  13582. GLIBC_2.25.
  13583. (getpayloadf): Likewise.
  13584. (getpayloadl): Likewise.
  13585. * math/Makefile (libm-calls): Add s_getpayloadF.
  13586. * math/libm-test.inc: Include <nan-high-order-bit.h>.
  13587. (struct test_f_f_data): Add comment.
  13588. (RUN_TEST_fp_f): New macro.
  13589. (RUN_TEST_LOOP_fp_f): Likewise.
  13590. (getpayload_test_data): New array.
  13591. (getpayload_test): New function.
  13592. (main): Call getpayload_test.
  13593. * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
  13594. descriptor.
  13595. * manual/arith.texi (FP Bit Twiddling): Document getpayload,
  13596. getpayloadf and getpayloadl.
  13597. * manual/libm-err-tab.pl: Update comment on interfaces without
  13598. ulps tabulated.
  13599. * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
  13600. * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
  13601. * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
  13602. * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
  13603. * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
  13604. * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
  13605. * sysdeps/nacl/libm.abilist: Update.
  13606. * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
  13607. * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
  13608. * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
  13609. * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
  13610. * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
  13611. * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
  13612. * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
  13613. * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
  13614. * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
  13615. * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
  13616. * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
  13617. * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
  13618. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
  13619. Likewise.
  13620. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
  13621. Likewise.
  13622. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
  13623. Likewise.
  13624. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
  13625. Likewise.
  13626. * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
  13627. * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
  13628. * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
  13629. * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
  13630. * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
  13631. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
  13632. Likewise.
  13633. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
  13634. Likewise.
  13635. * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
  13636. * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
  13637. * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
  13638. 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  13639. * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
  13640. tst-fallocate{64}.
  13641. * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
  13642. on syscall return.
  13643. 2016-10-17 Carlos O'Donell <carlos@redhat.com>
  13644. [BZ #20689]
  13645. * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
  13646. usable.
  13647. 2016-10-17 Joseph Myers <joseph@codesourcery.com>
  13648. * sysdeps/generic/nan-high-order-bit.h: New file.
  13649. * sysdeps/hppa/nan-high-order-bit.h: Likewise.
  13650. * sysdeps/mips/nan-high-order-bit.h: Likewise.
  13651. * sysdeps/hppa/math_private.h: Remove file.
  13652. * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
  13653. not define here.
  13654. * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
  13655. <nan-high-order-bit.h>.
  13656. [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
  13657. * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
  13658. <nan-high-order-bit.h>.
  13659. [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
  13660. * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
  13661. <nan-high-order-bit.h>.
  13662. [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
  13663. * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
  13664. <nan-high-order-bit.h>.
  13665. [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
  13666. * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
  13667. <nan-high-order-bit.h>.
  13668. [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
  13669. * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
  13670. <nan-high-order-bit.h>.
  13671. [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
  13672. * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
  13673. <nan-high-order-bit.h>.
  13674. [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
  13675. * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
  13676. <nan-high-order-bit.h>.
  13677. [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
  13678. * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
  13679. <nan-high-order-bit.h>.
  13680. [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
  13681. * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
  13682. <nan-high-order-bit.h>.
  13683. [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
  13684. * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
  13685. <nan-high-order-bit.h>.
  13686. [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
  13687. * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
  13688. <nan-high-order-bit.h>.
  13689. [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
  13690. * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
  13691. <nan-high-order-bit.h>.
  13692. [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
  13693. * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
  13694. <nan-high-order-bit.h>.
  13695. [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
  13696. * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
  13697. <nan-high-order-bit.h>.
  13698. [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
  13699. * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
  13700. <nan-high-order-bit.h>.
  13701. [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
  13702. * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
  13703. <nan-high-order-bit.h>.
  13704. [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
  13705. * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
  13706. <nan-high-order-bit.h>.
  13707. [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
  13708. 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
  13709. * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
  13710. 2016-09-22 John David Anglin <dave.anglin@bell.net>
  13711. * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
  13712. abort-instr.h.
  13713. (EFAULT): Remove conditional define.
  13714. (ENOSYS): Likewise.
  13715. (atomic_compare_and_exchange_val_acq): Use instruction nullification
  13716. instead of conditional branch instructions.
  13717. 2016-10-15 Joseph Myers <joseph@codesourcery.com>
  13718. * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
  13719. (totalordermag): New declaration.
  13720. * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
  13721. New macro.
  13722. * math/Versions (totalordermag): New libm symbol at version
  13723. GLIBC_2.25.
  13724. (totalordermagf): Likewise.
  13725. (totalordermagl): Likewise.
  13726. * math/Makefile (libm-calls): Add s_totalordermagF.
  13727. * math/libm-test.inc (totalordermag_test_data): New array.
  13728. (totalordermag_test): New function.
  13729. (main): Call totalordermag_test.
  13730. * math/test-tgmath.c (NCALLS): Increase to 125.
  13731. (F(compile_test)): Call totalordermag.
  13732. (F(totalordermag)): New function.
  13733. * manual/arith.texi (FP Comparison Functions): Document
  13734. totalordermag, totalordermagf and totalordermagl.
  13735. * manual/libm-err-tab.pl: Update comment on interfaces without
  13736. ulps tabulated.
  13737. * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
  13738. * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
  13739. * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
  13740. * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
  13741. * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
  13742. * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
  13743. * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
  13744. * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
  13745. totalordermag.
  13746. (CFLAGS-nldbl-totalordermag.c): New variable.
  13747. * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
  13748. (do_test): Also test totalordermagl.
  13749. * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
  13750. Likewise.
  13751. * sysdeps/nacl/libm.abilist: Update.
  13752. * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
  13753. * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
  13754. * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
  13755. * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
  13756. * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
  13757. * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
  13758. * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
  13759. * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
  13760. * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
  13761. * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
  13762. * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
  13763. * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
  13764. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
  13765. Likewise.
  13766. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
  13767. Likewise.
  13768. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
  13769. Likewise.
  13770. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
  13771. Likewise.
  13772. * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
  13773. * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
  13774. * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
  13775. * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
  13776. * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
  13777. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
  13778. Likewise.
  13779. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
  13780. Likewise.
  13781. * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
  13782. * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
  13783. * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
  13784. 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
  13785. * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
  13786. boolean.
  13787. 2016-10-13 Joseph Myers <joseph@codesourcery.com>
  13788. * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
  13789. raising FE_INVALID with feraisexcept in case where part of
  13790. argument is infinite, subtract that part of argument from itself.
  13791. * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
  13792. * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
  13793. * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
  13794. 2016-10-12 Joseph Myers <joseph@codesourcery.com>
  13795. * math/libm-test.inc (totalorder_test_data): Add more tests.
  13796. 2016-10-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  13797. * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
  13798. Undefine weak_alias and add a comment why mips64 require
  13799. versioning.
  13800. 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
  13801. [BZ #20647]
  13802. * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
  13803. maximum CPUID level is less than 2.
  13804. 2016-10-12 Joseph Myers <joseph@codesourcery.com>
  13805. * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
  13806. (totalorder): New declaration.
  13807. * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
  13808. New macro.
  13809. * math/Versions (totalorder): New libm symbol at version
  13810. GLIBC_2.25.
  13811. (totalorderf): Likewise.
  13812. (totalorderl): Likewise.
  13813. * math/Makefile (libm-calls): Add s_totalorderF.
  13814. * math/gen-libm-test.pl (parse_args): Escape quotes in test name
  13815. string.
  13816. * math/libm-test.inc (PAYLOAD_DIG): New macro.
  13817. (qnan_value_pl): Likewise.
  13818. (snan_value_pl): Likewise.
  13819. (qnan_value): Define using qnan_value_pl.
  13820. (snan_value): Define using snan_value_pl.
  13821. (struct test_ff_i_data): Add comment about which tests use this
  13822. structure.
  13823. (RUN_TEST_ff_b): New macro.
  13824. (RUN_TEST_LOOP_ff_b): Likewise.
  13825. (totalorder_test_data): New array.
  13826. (totalorder_test): New function.
  13827. (main): Call totalorder_test.
  13828. * math/test-tgmath.c (NCALLS): Increase to 122.
  13829. (F(compile_test)): Call totalorder.
  13830. (F(totalorder)): New function.
  13831. * manual/arith.texi (FP Comparison Functions): Document
  13832. totalorder, totalorderf and totalorderl.
  13833. * manual/libm-err-tab.pl: Update comment on interfaces without
  13834. ulps tabulated.
  13835. * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
  13836. * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
  13837. * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
  13838. * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
  13839. * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
  13840. * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
  13841. * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
  13842. * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
  13843. totalorder.
  13844. (CFLAGS-nldbl-totalorder.c): New variable.
  13845. * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
  13846. file.
  13847. * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
  13848. Add test-totalorderl-ldbl-128ibm.
  13849. * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
  13850. * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
  13851. test-totalorderl-ldbl-96.
  13852. * sysdeps/nacl/libm.abilist: Update.
  13853. * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
  13854. * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
  13855. * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
  13856. * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
  13857. * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
  13858. * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
  13859. * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
  13860. * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
  13861. * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
  13862. * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
  13863. * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
  13864. * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
  13865. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
  13866. Likewise.
  13867. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
  13868. Likewise.
  13869. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
  13870. Likewise.
  13871. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
  13872. Likewise.
  13873. * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
  13874. * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
  13875. * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
  13876. * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
  13877. * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
  13878. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
  13879. Likewise.
  13880. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
  13881. Likewise.
  13882. * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
  13883. * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
  13884. * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
  13885. 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  13886. * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
  13887. * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
  13888. * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
  13889. * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
  13890. remove ENOSYS implementation.
  13891. * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
  13892. Consolidate all Linux implementations.
  13893. 2016-10-11 Florian Weimer <fweimer@redhat.com>
  13894. * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
  13895. * resolv/herror.c (herror): Cast away const-ness.
  13896. * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
  13897. (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
  13898. 2016-10-11 Joseph Myers <joseph@codesourcery.com>
  13899. * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
  13900. instead of M_NAN + M_NAN.
  13901. * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
  13902. 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
  13903. * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
  13904. unused variable 'p'.
  13905. 2016-10-09 Alan Modra <amodra@gmail.com>
  13906. Andreas Schwab <schwab@linux-m68k.org>
  13907. [BZ #20554]
  13908. * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
  13909. [PIC && !SHARED]: Set up PIC register for PLT call.
  13910. 2016-10-07 Joseph Myers <joseph@codesourcery.com>
  13911. * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
  13912. conditional on value of [__FLT_EVAL_METHOD__].
  13913. * math/test-iseqsig-excess-precision.c: New file.
  13914. * math/Makefile (tests): Add test-iseqsig-excess-precision.
  13915. 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  13916. * math/s_iseqsig_template.c: Include math-private.h.
  13917. * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
  13918. * posix/tst-posix_fadvise.c: New file.
  13919. * posix/tst-posix_fadvise64.c: Likewise.
  13920. * posix/tst-posix_fadvise-common.c: Likewise.
  13921. * sysdeps/unix/sysv/linux/arm/kernel-features.h
  13922. (__ASSUME_FADVISE64_64_6ARG): Define.
  13923. * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
  13924. [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
  13925. * sysdeps/unix/sysv/linux/tile/kernel-features.h
  13926. [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
  13927. * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
  13928. * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
  13929. * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
  13930. * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
  13931. * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
  13932. * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
  13933. * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
  13934. * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
  13935. * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
  13936. * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
  13937. Likewise.
  13938. * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
  13939. * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
  13940. * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
  13941. (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
  13942. Alias to __posix_fadvise64_l32.
  13943. (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
  13944. Add compat definition to posix_fadvise64.
  13945. (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
  13946. Add versioned definition to posix_fadvise64.
  13947. * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
  13948. __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
  13949. __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
  13950. * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
  13951. __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
  13952. * io/Makefile (tests): Add tst-posix_fallocate and
  13953. tst-posix_fallocate64.
  13954. * io/tst-posix_fallocate-common.c: New file.
  13955. * io/tst-posix_fallocate.c: Likewise.
  13956. * io/tst-posix_fallocate64.c: Likewise.
  13957. * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
  13958. file.
  13959. * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
  13960. Likewise.
  13961. * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
  13962. * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
  13963. Likewise.
  13964. * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
  13965. * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
  13966. * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
  13967. SYSCALL_LL to pass both offset and len arguments.
  13968. * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
  13969. Likewise.
  13970. * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
  13971. __libc_pwrite64 alias used by posix_fallocate64.
  13972. * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
  13973. tst-fallocate64.
  13974. * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
  13975. * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
  13976. * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
  13977. * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
  13978. * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
  13979. * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
  13980. * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
  13981. * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
  13982. * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
  13983. * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
  13984. macro on offset argument.
  13985. * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
  13986. SYSCALL_LL64 on offset argument.
  13987. * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
  13988. tst-fallocate64.
  13989. * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
  13990. * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
  13991. * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
  13992. * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
  13993. * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
  13994. * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
  13995. * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
  13996. * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
  13997. * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
  13998. * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
  13999. macro on offset argument.
  14000. * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
  14001. SYSCALL_LL64 on offset argument.
  14002. * test-skeleton.c (FAIL_RET): Add macro.
  14003. (FAIL_EXIT): Likewise.
  14004. (FAIL_EXIT1): Likewise.
  14005. (_FAIL): Likewise.
  14006. 2016-10-07 Florian Weimer <fweimer@redhat.com>
  14007. [BZ #20629]
  14008. resolv: Remove RES_USEBSTRING and its implementation.
  14009. * resolv/resolv.h (RES_USEBSTRING): Remove.
  14010. * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
  14011. (digitvalue, encode_bitstring, decode_bitstring): Remove.
  14012. (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
  14013. (labellen): Remove extended label types support.
  14014. * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
  14015. * resolv/res_init.c (res_setoptions): Likewise.
  14016. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
  14017. 2016-10-07 Florian Weimer <fweimer@redhat.com>
  14018. resolv: Remove RES_NOIP6DOTINT and its implementation.
  14019. * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
  14020. (RES_NOIP6DOTINT): Remove.
  14021. * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
  14022. handling.
  14023. * resolv/res_debug.c (p_option): Likewise.
  14024. * resolv/res_init.c (res_setoptions): Likewise.
  14025. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
  14026. 2016-10-07 Florian Weimer <fweimer@redhat.com>
  14027. resolv: Deprecate unimplemented flags.
  14028. * misc/sys/cdefs.h (__glibc_macro_warning1)
  14029. (__glibc_macro_warning): Define.
  14030. * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
  14031. (RES_KEEPTSIG): Mark as deprecated.
  14032. * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
  14033. RES_NOCHECKNAME, RES_KEEPTSIG.
  14034. * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
  14035. 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
  14036. * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
  14037. * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
  14038. Use strong_alias to create symbols for glibc verison 2.19.
  14039. 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
  14040. * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
  14041. 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
  14042. * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
  14043. 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
  14044. * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
  14045. 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
  14046. * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
  14047. Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
  14048. in header for using it as type for ifunc function because __GI_* symbols
  14049. for ppc32 do not target the ifunc symbols.
  14050. * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
  14051. 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
  14052. * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
  14053. Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
  14054. libc_ifunc_hidden_def.
  14055. * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
  14056. * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
  14057. Redirect ifunced function in header for using it as type of ifunc'ed
  14058. function. Redefine libc_hidden_def to use fallback non ifunc'ed
  14059. function for __GI_* symbol.
  14060. * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
  14061. * include/libc-symbols.h
  14062. (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
  14063. 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
  14064. [BZ #20478]
  14065. * sysdeps/s390/multiarch/ifunc-resolve.h
  14066. (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
  14067. to create ifunc symbols.
  14068. (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
  14069. , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
  14070. * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
  14071. for using it as type for ifunc function.
  14072. * sysdeps/s390/multiarch/mempcpy.c: Likewise.
  14073. * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
  14074. * sysdeps/s390/multiarch/stpcpy.c: Likewise.
  14075. * sysdeps/s390/multiarch/stpncpy.c: Likewise.
  14076. * sysdeps/s390/multiarch/strcat.c: Likewise.
  14077. * sysdeps/s390/multiarch/strchr.c: Likewise.
  14078. * sysdeps/s390/multiarch/strcmp.c: Likewise.
  14079. * sysdeps/s390/multiarch/strcpy.c: Likewise.
  14080. * sysdeps/s390/multiarch/strcspn.c: Likewise.
  14081. * sysdeps/s390/multiarch/strlen.c: Likewise.
  14082. * sysdeps/s390/multiarch/strncmp.c: Likewise.
  14083. * sysdeps/s390/multiarch/strncpy.c: Likewise.
  14084. * sysdeps/s390/multiarch/strnlen.c: Likewise.
  14085. * sysdeps/s390/multiarch/strpbrk.c: Likewise.
  14086. * sysdeps/s390/multiarch/strrchr.c: Likewise.
  14087. * sysdeps/s390/multiarch/strspn.c: Likewise.
  14088. * sysdeps/s390/multiarch/wcschr.c: Likewise.
  14089. * sysdeps/s390/multiarch/wcscmp.c: Likewise.
  14090. * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
  14091. * sysdeps/s390/multiarch/wcsspn.c: Likewise.
  14092. * sysdeps/s390/multiarch/wmemchr.c: Likewise.
  14093. * sysdeps/s390/multiarch/wmemset.c: Likewise.
  14094. * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
  14095. * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
  14096. * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
  14097. * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
  14098. * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
  14099. * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
  14100. 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
  14101. * include/libc-symbols.h (__ifunc_resolver):
  14102. New macro is used by __ifunc* macros.
  14103. (__ifunc): New macro uses gcc attribute ifunc or inline assembly
  14104. depending on HAVE_GCC_IFUNC.
  14105. (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
  14106. (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
  14107. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
  14108. Redirect ifunced function in header for using as type for ifunc function.
  14109. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
  14110. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
  14111. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
  14112. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
  14113. * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
  14114. * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
  14115. * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
  14116. * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
  14117. * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
  14118. * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
  14119. * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
  14120. * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
  14121. * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
  14122. * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
  14123. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
  14124. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
  14125. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
  14126. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
  14127. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
  14128. * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
  14129. * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
  14130. * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
  14131. * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
  14132. * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
  14133. * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
  14134. * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
  14135. * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
  14136. * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
  14137. * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
  14138. * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
  14139. * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
  14140. * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
  14141. * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
  14142. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
  14143. Add libc_hidden_def() and use libc_ifunc_hidden() macro
  14144. instead of libc_ifunc() macro.
  14145. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
  14146. * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
  14147. 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
  14148. * config.h.in (HAVE_GCC_IFUNC): New undef.
  14149. * configure.ac: Add check if gcc supports attribute ifunc feature.
  14150. * configure: Regenerated.
  14151. * manual/install.texi: Add recommendation for gcc with
  14152. indirect-function support.
  14153. * INSTALL: Regenerated.
  14154. 2016-10-06 Joseph Myers <joseph@codesourcery.com>
  14155. * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
  14156. macro.
  14157. * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
  14158. (__iseqsig): New declaration.
  14159. * math/s_iseqsig_template.c: New file.
  14160. * math/Versions (__iseqsigf): New libm symbol at version
  14161. GLIBC_2.25.
  14162. (__iseqsig): Likewise.
  14163. (__iseqsigl): Likewise.
  14164. * math/libm-test.inc (iseqsig_test_data): New array.
  14165. (iseqsig_test): New function.
  14166. (main): Call iseqsig_test.
  14167. * math/Makefile (gen-libm-calls): Add s_iseqsigF.
  14168. * manual/arith.texi (FP Comparison Functions): Document iseqsig.
  14169. * manual/libm-err-tab.pl: Update comment on interfaces without
  14170. ulps tabulated.
  14171. * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
  14172. * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
  14173. * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
  14174. * sysdeps/nacl/libm.abilist: Update.
  14175. * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
  14176. * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
  14177. * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
  14178. * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
  14179. * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
  14180. * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
  14181. * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
  14182. * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
  14183. * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
  14184. * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
  14185. * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
  14186. * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
  14187. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
  14188. Likewise.
  14189. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
  14190. Likewise.
  14191. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
  14192. Likewise.
  14193. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
  14194. Likewise.
  14195. * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
  14196. * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
  14197. * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
  14198. * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
  14199. * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
  14200. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
  14201. Likewise.
  14202. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
  14203. Likewise.
  14204. * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
  14205. * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
  14206. * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
  14207. 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
  14208. * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
  14209. do_sincos_2, sloww, sloww1): Update comments.
  14210. * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
  14211. do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
  14212. * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
  14213. K boolean and rename it.
  14214. (__sin): Adjust.
  14215. (__cos): Adjust.
  14216. 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
  14217. Siddhesh Poyarekar <siddhesh@sourceware.org>
  14218. * manual/nss.texi: Fix typos in the manual.
  14219. 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
  14220. * manual/contrib.texi: Fix typos in the manual.
  14221. * manual/maint.texi: Fix typos in the manual.
  14222. * manual/install.texi: Fix typos in the manual.
  14223. * INSTALL: Regenerated.
  14224. * manual/lang.texi: Fix typos in the manual.
  14225. * manual/probes.texi: Fix typos in the manual.
  14226. * manual/threads.texi: Fix typos in the manual.
  14227. * manual/debug.texi: Fix typos in the manual.
  14228. * manual/crypt.texi: Fix typos in the manual.
  14229. * manual/conf.texi: Fix typos in the manual.
  14230. * manual/sysinfo.texi: Fix typos in the manual.
  14231. * manual/users.texi: Fix typos in the manual.
  14232. * manual/job.texi: Fix typos in the manual.
  14233. * manual/process.texi: Fix typos in the manual.
  14234. * manual/argp.texi: Fix typos in the manual.
  14235. * manual/getopt.texi: Likewise.
  14236. * manual/startup.texi: Likewise.
  14237. * manual/signal.texi: Fix typos in the manual.
  14238. * manual/setjmp.texi: Fix typos in the manual.
  14239. * manual/resource.texi: Fix typos in the manual.
  14240. * manual/time.texi: Fix typos in the manual.
  14241. * manual/arith.texi: Fix typos in the manual.
  14242. * manual/math.texi: Fix typos in the manual.
  14243. * manual/syslog.texi: Fix typos in the manual.
  14244. * manual/terminal.texi: Fix typos in the manual.
  14245. * manual/socket.texi: Fix typos in the manual.
  14246. * manual/filesys.texi: Fix typos in the manual.
  14247. * manual/llio.texi: Fix typos in the manual.
  14248. * manual/stdio.text: Fix typos in the manual.
  14249. 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
  14250. * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
  14251. instead of K1.
  14252. * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
  14253. SHIFT_QUADRANT and make it bool.
  14254. (do_sincos_2): Likewise.
  14255. (sloww): Likewise.
  14256. (sloww1): Likewise.
  14257. (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
  14258. (__cos): Likewise.
  14259. 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  14260. * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
  14261. 2016-10-04 Joseph Myers <joseph@codesourcery.com>
  14262. * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
  14263. Define to __WORDSIZE, not conditional on [LONG_MAX ==
  14264. 0x7fffffffL].
  14265. [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
  14266. 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  14267. * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
  14268. inline by __inline__.
  14269. (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
  14270. (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
  14271. (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
  14272. * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
  14273. sigset_t from signal.h.
  14274. * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
  14275. which is already required.
  14276. 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
  14277. * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
  14278. 2016-10-03 Joseph Myers <joseph@codesourcery.com>
  14279. * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
  14280. (struct tcp_repair_window): New type.
  14281. 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  14282. * libio/tst-memstream3.c: Include string.h.
  14283. 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  14284. [BZ #18241]
  14285. [BZ #20181]
  14286. * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
  14287. * libio/memstream.c (_IO_mem_sync): Only append a null byte if
  14288. write position is at the end the buffer.
  14289. * libio/wmemstream.c (_IO_wmem_sync): Likewise.
  14290. * libio/strops.c (_IO_str_switch_to_get_mode): New function.
  14291. (_IO_str_seekoff): Set correct offset from negative displacement and
  14292. set EINVAL for invalid ones.
  14293. * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
  14294. buffer length.
  14295. (_IO_wstr_switch_to_get_mode): New function.
  14296. (_IO_wstr_seekoff): Set correct offset from negative displacement and
  14297. set EINVAL for invalid ones.
  14298. * libio/tst-memstream3.c: New file.
  14299. * libio/tst-wmemstream3.c: Likewise.
  14300. * manual/examples/memstrm.c: Remove warning when priting size_t.
  14301. 2016-09-30 Joseph Myers <joseph@codesourcery.com>
  14302. * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
  14303. macro to use __builtin_fma.
  14304. * sysdeps/x86_64/fpu/dla.h: Remove file.
  14305. * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
  14306. [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
  14307. [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
  14308. 2016-09-30 Carlos O'Donell <carlos@redhat.com>
  14309. [BZ #20292]
  14310. * elf/Makefile (routines): Add dl-addr-obj.
  14311. [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
  14312. tst-_dl_addr_inside_object.
  14313. [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
  14314. [ifeq (yesyes,$(have-fpie)$(build-shared))]
  14315. ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
  14316. [ifeq (yesyes,$(have-fpie)$(build-shared))]
  14317. (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
  14318. * elf/dl-addr.c: Remove _dl_addr_inside_object function.
  14319. * elf/dl-open.c: Likewise.
  14320. * elf/dl-addr-obj.c: New file.
  14321. * elf/tst-_dl_addr_inside_object.c: New file.
  14322. 2016-09-30 Joseph Myers <joseph@codesourcery.com>
  14323. * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
  14324. <bits/iscanonical.h>.
  14325. * bits/iscanonical.h: New file.
  14326. * math/s_iscanonicall.c: Likewise.
  14327. * math/Versions (__iscanonicall): New libm symbol at version
  14328. GLIBC_2.25.
  14329. * math/libm-test.inc (iscanonical_test_data): New array.
  14330. (iscanonical_test): New function.
  14331. (main): Call iscanonical_test.
  14332. * math/Makefile (headers): Add bits/iscanonical.h.
  14333. (type-ldouble-routines): Add s_iscanonicall.
  14334. * manual/arith.texi (Floating Point Classes): Document
  14335. iscanonical.
  14336. * manual/libm-err-tab.pl: Update comment on interfaces without
  14337. ulps tabulated.
  14338. * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
  14339. * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
  14340. * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
  14341. Likewise.
  14342. * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
  14343. test-iscanonical-ldbl-128ibm.
  14344. * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
  14345. * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
  14346. * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
  14347. * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
  14348. * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
  14349. * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
  14350. * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
  14351. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
  14352. Likewise.
  14353. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
  14354. Likewise.
  14355. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
  14356. Likewise.
  14357. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
  14358. Likewise.
  14359. * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
  14360. * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
  14361. 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  14362. * string/bits/string3.h: Remove C++ style comments.
  14363. 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
  14364. * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
  14365. instead of ternary condition.
  14366. (do_sincos_2): Likewise.
  14367. (__sin): Likewise.
  14368. (__cos): Likewise.
  14369. (slow): Likewise.
  14370. (sloww): Likewise.
  14371. (sloww1): Likewise.
  14372. (bsloww): Likewise.
  14373. (bsloww1): Likewise.
  14374. * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
  14375. instead of ternary condition.
  14376. (do_sin_slow): Likewise.
  14377. (do_sincos_1): Likewise.
  14378. (do_sincos_2): Likewise.
  14379. (__cos): Likewise.
  14380. (sloww): Likewise.
  14381. (sloww1): Likewise.
  14382. (sloww2): Likewise.
  14383. (bsloww): Likewise.
  14384. (bsloww1): Likewise.
  14385. (bsloww2): Likewise.
  14386. * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
  14387. check from here...
  14388. (slow2): ... and here...
  14389. (__sin): ... to here.
  14390. 2016-09-28 Joseph Myers <joseph@codesourcery.com>
  14391. * math/math.h
  14392. [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
  14393. Cast argument to its own type.
  14394. * math/test-iszero-excess-precision.c: New file.
  14395. * math/Makefile (tests): Add test-iszero-excess-precision.
  14396. (CFLAGS-test-iszero-excess-precision.c): New variable.
  14397. 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
  14398. * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
  14399. field, add err field.
  14400. (__spawni_child): Report error through err member instead of pipe.
  14401. (__spawnix): Likewise.
  14402. 2016-09-28 Zack Weinberg <zackw@panix.com>
  14403. * scripts/check-installed-headers.sh: Generalize treatment of
  14404. sys/elf.h to all target architectures.
  14405. * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
  14406. deleted typedef ucontext_t.
  14407. 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  14408. * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
  14409. (__INTERNAL_SYSCALL1): Likewise.
  14410. (__INTERNAL_SYSCALL2): Likewise.
  14411. (__INTERNAL_SYSCALL3): Likewise.
  14412. (__INTERNAL_SYSCALL4): Likewise.
  14413. (__INTERNAL_SYSCALL5): Likewise.
  14414. (__INTERNAL_SYSCALL6): Likewise.
  14415. (__INTERNAL_SYSCALL7): Likewise.
  14416. (__INTERNAL_SYSCALL_NARGS_X): Likewise.
  14417. (__INTERNAL_SYSCALL_NARGS): Likewise.
  14418. (__INTERNAL_SYSCALL_DISP): Likewise.
  14419. (INTERNAL_SYSCALL_CALL): Likewise.
  14420. (__SYSCALL0): Rename to __INLINE_SYSCALL0.
  14421. (__SYSCALL1): Rename to __INLINE_SYSCALL1.
  14422. (__SYSCALL2): Rename to __INLINE_SYSCALL2.
  14423. (__SYSCALL3): Rename to __INLINE_SYSCALL3.
  14424. (__SYSCALL4): Rename to __INLINE_SYSCALL4.
  14425. (__SYSCALL5): Rename to __INLINE_SYSCALL5.
  14426. (__SYSCALL6): Rename to __INLINE_SYSCALL6.
  14427. (__SYSCALL7): Rename to __INLINE_SYSCALL7.
  14428. (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
  14429. (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
  14430. (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
  14431. (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
  14432. (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
  14433. 2016-09-23 Joseph Myers <joseph@codesourcery.com>
  14434. * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
  14435. macro.
  14436. * math/libm-test.inc (iszero_test_data): New array.
  14437. (iszero_test): New function.
  14438. (main): Call iszero_test.
  14439. * manual/arith.texi (Floating Point Classes): Document iszero.
  14440. * manual/libm-err-tab.pl: Update comment on interfaces without
  14441. ulps tabulated.
  14442. 2016-09-23 Zack Weinberg <zackw@panix.com>
  14443. * scripts/check-installed-headers.sh: New script.
  14444. * Rules: In each directory that defines header files to be installed,
  14445. run check-installed-headers.sh on them as a special test.
  14446. * Makefile: Likewise for the headers installed at top level.
  14447. * include/aliases.h, include/alloca.h, include/argz.h
  14448. * include/arpa/nameser.h, include/arpa/nameser_compat.h
  14449. * include/elf.h, include/envz.h, include/err.h
  14450. * include/execinfo.h, include/fpu_control.h, include/getopt.h
  14451. * include/gshadow.h, include/ifaddrs.h, include/libintl.h
  14452. * include/link.h, include/malloc.h, include/mcheck.h
  14453. * include/mntent.h, include/netinet/ether.h
  14454. * include/nss.h, include/obstack.h, include/printf.h
  14455. * include/pty.h, include/resolv.h, include/rpc/auth.h
  14456. * include/rpc/auth_des.h, include/rpc/auth_unix.h
  14457. * include/rpc/clnt.h, include/rpc/des_crypt.h
  14458. * include/rpc/key_prot.h, include/rpc/netdb.h
  14459. * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
  14460. * include/rpc/pmap_rmt.h, include/rpc/rpc.h
  14461. * include/rpc/rpc_msg.h, include/rpc/svc.h
  14462. * include/rpc/svc_auth.h, include/rpc/xdr.h
  14463. * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
  14464. * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
  14465. * include/rpcsvc/ypupd.h, include/shadow.h
  14466. * include/stdio_ext.h, include/sys/epoll.h
  14467. * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
  14468. * include/sys/prctl.h, include/sys/profil.h
  14469. * include/sys/statfs.h, include/sys/sysctl.h
  14470. * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
  14471. * sysdeps/arm/nacl/include/bits/setjmp.h
  14472. * sysdeps/mips/include/sys/asm.h
  14473. * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
  14474. * sysdeps/unix/sysv/linux/include/sys/timex.h
  14475. * sysdeps/x86/fpu/include/bits/fenv.h:
  14476. Add #ifndef _ISOMAC guard around internal declarations.
  14477. Add multiple-inclusion guard if not already present.
  14478. 2016-09-23 Zack Weinberg <zackw@panix.com>
  14479. * sysdeps/generic/sys/ucontext.h
  14480. * sysdeps/arm/sys/ucontext.h
  14481. * sysdeps/i386/sys/ucontext.h
  14482. * sysdeps/m68k/sys/ucontext.h
  14483. * sysdeps/mips/sys/ucontext.h
  14484. * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
  14485. * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
  14486. * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
  14487. * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
  14488. * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
  14489. * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
  14490. * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
  14491. * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
  14492. * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
  14493. * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
  14494. * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
  14495. * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
  14496. * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
  14497. * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
  14498. Include both bits/sigcontext.h and bits/sigstack.h.
  14499. Fix grammar error in comment, if present.
  14500. * bits/sigstack.h
  14501. * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
  14502. * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
  14503. * sysdeps/unix/sysv/linux/bits/sigstack.h
  14504. * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
  14505. * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
  14506. * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
  14507. * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
  14508. * bits/sigcontext.h
  14509. * sysdeps/mach/hurd/i386/bits/sigcontext.h
  14510. * sysdeps/unix/sysv/linux/bits/sigcontext.h
  14511. * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
  14512. * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
  14513. Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
  14514. as well as signal.h, if this was not already allowed. Request
  14515. definition of size_t if necessary. Minimize semantically-null
  14516. differences across files.
  14517. 2016-09-23 Zack Weinberg <zackw@panix.com>
  14518. * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
  14519. Remove all logic conditional on __need macros. Move all the
  14520. conditionally defined types to their own headers...
  14521. * time/bits/types/clock_t.h: Define clock_t here.
  14522. * time/bits/types/clockid_t.h: Define clockid_t here.
  14523. * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
  14524. * time/bits/types/struct_timespec.h: Define struct timespec here.
  14525. * time/bits/types/struct_timeval.h: Define struct timeval here.
  14526. * time/bits/types/struct_tm.h: Define struct tm here.
  14527. * time/bits/types/time_t.h: Define time_t here.
  14528. * time/bits/types/timer_t.h: Define timer_t here.
  14529. * time/Makefile: Install the new headers.
  14530. * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
  14531. * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
  14532. * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
  14533. * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
  14534. * sysdeps/unix/sysv/linux/alpha/bits/resource.h
  14535. * sysdeps/unix/sysv/linux/alpha/sys/acct.h
  14536. * sysdeps/unix/sysv/linux/bits/resource.h
  14537. * sysdeps/unix/sysv/linux/bits/timex.h
  14538. * sysdeps/unix/sysv/linux/mips/bits/resource.h
  14539. * sysdeps/unix/sysv/linux/net/ppp_defs.h
  14540. * sysdeps/unix/sysv/linux/sparc/bits/resource.h
  14541. * sysdeps/unix/sysv/linux/sys/acct.h
  14542. * sysdeps/unix/sysv/linux/sys/timerfd.h
  14543. * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
  14544. * time/sys/time.h, time/sys/timeb.h
  14545. Use the new bits/types headers.
  14546. * include/time.h: Remove __need logic.
  14547. * include/bits/time.h
  14548. * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
  14549. * include/bits/types/time_t.h, include/bits/types/timer_t.h
  14550. * include/bits/types/struct_itimerspec.h
  14551. * include/bits/types/struct_timespec.h
  14552. * include/bits/types/struct_timeval.h
  14553. * include/bits/types/struct_tm.h:
  14554. New wrapper headers.
  14555. 2016-09-23 Zack Weinberg <zackw@panix.com>
  14556. * sysdeps/mach/hurd/net/if_ppp.h
  14557. * sysdeps/unix/sysv/linux/net/if_ppp.h:
  14558. Only define struct ifpppstatsreq and struct ifpppcstatsreq
  14559. if __USE_MISC is defined, to ensure struct ifreq is declared.
  14560. * inet/netinet/ether.h: Condition all function prototypes
  14561. on __USE_MISC, to ensure struct ether_addr is declared.
  14562. * socket/bits/types/struct_osockaddr.h: New header.
  14563. * include/bits/types/struct_osockaddr.h: New wrapper.
  14564. * socket/Makefile: Install the new header.
  14565. * socket/sys/socket.h, inet/protocols/talkd.h:
  14566. Refer to bits/types/struct_osockaddr.h for the definition of
  14567. struct osockaddr.
  14568. 2016-09-23 Zack Weinberg <zackw@panix.com>
  14569. * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
  14570. * inet/protocols/routed.h, inet/protocols/talkd.h
  14571. * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
  14572. * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
  14573. * sysdeps/generic/netinet/if_ether.h
  14574. * sysdeps/generic/netinet/in_systm.h
  14575. * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
  14576. * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
  14577. * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
  14578. * sysdeps/mach/hurd/net/if_arp.h
  14579. * sysdeps/mach/hurd/net/if_ppp.h
  14580. * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
  14581. * sysdeps/unix/sysv/linux/bits/in.h
  14582. * sysdeps/unix/sysv/linux/net/ethernet.h
  14583. * sysdeps/unix/sysv/linux/net/if_arp.h
  14584. * sysdeps/unix/sysv/linux/net/if_ppp.h
  14585. * sysdeps/unix/sysv/linux/net/if_shaper.h
  14586. * sysdeps/unix/sysv/linux/net/route.h
  14587. * sysdeps/unix/sysv/linux/netinet/if_ether.h
  14588. * sysdeps/unix/sysv/linux/netinet/if_fddi.h
  14589. * sysdeps/unix/sysv/linux/netinet/if_tr.h
  14590. * sysdeps/unix/sysv/linux/netipx/ipx.h
  14591. * sysdeps/unix/sysv/linux/sys/acct.h
  14592. * include/arpa/nameser.h, include/resolv.h:
  14593. Change all uses of u_char to unsigned char,
  14594. u_short and ushort to unsigned short, u_int and uint to unsigned int,
  14595. u_long and ulong to unsigned long, u_int8_t to uint8_t,
  14596. u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
  14597. and u_int64_t and u_quad_t to uint64_t.
  14598. * mach/sys/reboot.h: Remove two casts of integer literals
  14599. to the types they already have.
  14600. * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
  14601. * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
  14602. * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
  14603. from referring to 'unsigned char' to 'uint8_t' for consistency with
  14604. the macro definition below.
  14605. * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
  14606. * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
  14607. * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
  14608. * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
  14609. * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
  14610. * sysdeps/unix/sysv/linux/sys/acct.h
  14611. * include/arpa/nameser.h, include/resolv.h:
  14612. Fix indentation disrupted by mechanical edits.
  14613. * inet/protocols/talkd.h, resolv/arpa/nameser.h
  14614. * sysdeps/generic/netinet/in_systm.h
  14615. * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
  14616. * sysdeps/gnu/netinet/udp.h
  14617. * sysdeps/unix/sysv/linux/net/ethernet.h
  14618. * sysdeps/unix/sysv/linux/net/if_arp.h
  14619. * sysdeps/unix/sysv/linux/net/if_ppp.h
  14620. * sysdeps/unix/sysv/linux/net/if_shaper.h
  14621. * sysdeps/unix/sysv/linux/netinet/if_fddi.h
  14622. * sysdeps/unix/sysv/linux/netinet/if_tr.h
  14623. * sysdeps/unix/sysv/linux/netipx/ipx.h
  14624. * sysdeps/unix/sysv/linux/sys/acct.h
  14625. Include stdint.h for uintNN_t definitions.
  14626. Don't include sys/cdefs.h, features.h, or asm/types.h directly.
  14627. 2016-09-23 Zack Weinberg <zackw@panix.com>
  14628. * rpcsvc/nislib.h: Include rpcsvc/nis.h.
  14629. * sysdeps/unix/sysv/linux/netrose/rose.h:
  14630. Include sys/socket.h and netax25/ax25.h.
  14631. * inet/netinet/icmp6.h, inet/netinet/ip6.h
  14632. * resolv/arpa/nameser_compat.h:
  14633. Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
  14634. * sysdeps/unix/sysv/linux/sys/quota.h:
  14635. Use __caddr_t instead of caddr_t.
  14636. * sysdeps/unix/sysv/linux/sys/timerfd.h:
  14637. Use __clockid_t instead of clockid_t.
  14638. * sysvipc/sys/ipc.h: Remove unnecessary #warning.
  14639. * argp/argp.h: Check whether _LIBC is defined before expanding it.
  14640. * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
  14641. expanding it.
  14642. * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
  14643. Define __glibc_c99_flexarr_available to 1 when the compiler
  14644. supports C99-compatible flexible array members, 0 otherwise.
  14645. * sysdeps/unix/sysv/linux/bits/socket.h
  14646. * sysdeps/mach/hurd/bits/socket.h
  14647. * bits/socket.h: Use __glibc_c99_flexarr_available in
  14648. definitions of struct cmsghdr and CMSG_DATA.
  14649. 2016-09-23 Florian Weimer <fweimer@redhat.com>
  14650. * manual/nss.texi (NSS Modules Interface): Adjust function return
  14651. type to enum nss_status. Document errnop argument. Clarify
  14652. h_errnop semantics. Fix cross-reference formatting.
  14653. (NSS Module Function Internals): Mention that *errnop needs to be
  14654. set on failure, but not to zero.
  14655. 2016-09-23 Florian Weimer <fweimer@redhat.com>
  14656. * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
  14657. (get_random_name): New functions.
  14658. (check_wrapper_flags_mode): Use linkat to give the new file a name
  14659. determined by get_random_name.
  14660. (do_test): Add calls to test open64 and openat64.
  14661. 2016-09-23 Florian Weimer <fweimer@redhat.com>
  14662. * test-skeleton.c: Remove #include <stdarg.h>.
  14663. 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
  14664. [BZ #19826]
  14665. * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
  14666. initialization of static TLS entries.
  14667. * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
  14668. * nptl/allocatestack.c (init_one_static_tls): Likewise.
  14669. 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
  14670. * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
  14671. _hurd_malloc_fork_prepare.
  14672. (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
  14673. (malloc_fork_child): Rename to _hurd_malloc_fork_child.
  14674. (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
  14675. (_hurd_fork_parent_hook): Drop malloc_fork_parent.
  14676. (_hurd_fork_child_hook): Drop malloc_fork_child.
  14677. * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
  14678. _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
  14679. * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
  14680. after locking locks (notably hurd_dtable_lock). Call
  14681. _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
  14682. before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
  14683. __malloc_fork_unlock_child.
  14684. * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
  14685. 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
  14686. * soft-fp/extendhftf2.c: New.
  14687. * soft-fp/fixhfti.c: Likewise.
  14688. * soft-fp/fixunshfti.c: Likewise.
  14689. * soft-fp/floattihf.c: Likewise.
  14690. * soft-fp/floatuntihf.c: Likewise.
  14691. * soft-fp/half.h: Likewise.
  14692. * soft-fp/trunctfhf2.c: Likewise.
  14693. 2016-09-21 Joseph Myers <joseph@codesourcery.com>
  14694. * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
  14695. macro.
  14696. * math/libm-test.inc (issubnormal_test_data): New array.
  14697. (issubnormal_test): New function.
  14698. * manual/arith.texi (Floating Point Classes): Document
  14699. issubnormal.
  14700. * manual/libm-err-tab.pl: Update comment on interfaces without
  14701. ulps tabulated.
  14702. * sysdeps/generic/stdint.h: Define
  14703. __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
  14704. <bits/libc-header-start.h> instead of including <features.h>.
  14705. [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
  14706. [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
  14707. [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
  14708. [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
  14709. [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
  14710. [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
  14711. [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
  14712. [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
  14713. [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
  14714. [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
  14715. [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
  14716. [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
  14717. [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
  14718. [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
  14719. [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
  14720. [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
  14721. [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
  14722. [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
  14723. [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
  14724. [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
  14725. [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
  14726. [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
  14727. [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
  14728. [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
  14729. [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
  14730. [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
  14731. [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
  14732. [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
  14733. [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
  14734. [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
  14735. [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
  14736. [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
  14737. [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
  14738. * manual/arith.texi (Integers): Document these macros for types
  14739. specified by width properties.
  14740. * manual/lang.texi (Width of Type): Document these macros for
  14741. other standard typedefs.
  14742. * stdlib/tst-width-stdint.c: New file.
  14743. * stdlib/Makefile (tests): Add tst-width-stdint.
  14744. 2016-09-21 Florian Weimer <fweimer@redhat.com>
  14745. [BZ #20016]
  14746. * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
  14747. * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
  14748. Move ...
  14749. * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
  14750. ... here, as compatibility symbols in a new file.
  14751. * resolv/Makefile (libresolv-routines): Add compat-hooks.
  14752. * resolv/res_init.c (__res_vinit): Adjust member names.
  14753. * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
  14754. * resolv/resolv.h (res_sendhookact, res_send_qhook)
  14755. (res_send_rhook): Remove.
  14756. (struct __res_state): Rename qhook, rhook members.
  14757. 2016-09-21 Florian Weimer <fweimer@redhat.com>
  14758. malloc: Use __libc_lock wrappers.
  14759. * malloc/arena.c (list_lock, free_list_lock): Define using
  14760. __libc_lock_define_initialized.
  14761. (arena_lock): Adjust formatting.
  14762. * malloc/malloc.c (struct malloc_state): Define mutex using
  14763. __libc_lock_define.
  14764. * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
  14765. (mutex_lock, mutex_trylock, mutex_unlock): Remove.
  14766. * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
  14767. (mutex_unlock, mutex_trylock): Remove.
  14768. (__pthread_initialize): Remove unused macro.
  14769. * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
  14770. (mutex_unlock, mutex_trylock): Remove.
  14771. 2016-09-21 Florian Weimer <fweimer@redhat.com>
  14772. [BZ #20592]
  14773. Remove RR type classification macros.
  14774. * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
  14775. (ns_t_udp_p, ns_t_xfr_p): Remove.
  14776. 2016-09-21 Florian Weimer <fweimer@redhat.com>
  14777. Remove misleading version information.
  14778. * resolv/arpa/nameser.h (__NAMESER): Remove.
  14779. * resolv/arpa/nameser_compat.h (__BIND): Remove.
  14780. 2016-09-21 Florian Weimer <fweimer@redhat.com>
  14781. Remove the always-defined BIND_4_COMPAT macro.
  14782. * resolv/arpa/nameser.h: Unconditionally include
  14783. <arpa/nameser_compat.h>.
  14784. (BIND_4_COMPAT): Remove.
  14785. * resolv/res_comp.c: Do not check BIND_4_COMPAT.
  14786. 2016-09-21 Florian Weimer <fweimer@redhat.com>
  14787. [BZ #20591]
  14788. Remove obsolete DNSSEC support.
  14789. * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
  14790. (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
  14791. (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
  14792. (ns_verify_tcp, ns_verify_tcp_init): Remove.
  14793. (ns_cert_types): Add comment.
  14794. * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
  14795. separately.
  14796. (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
  14797. (dst_s_dns_key_id): Remove.
  14798. * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
  14799. variables.
  14800. 2016-09-21 Florian Weimer <fweimer@redhat.com>
  14801. [BZ #20524]
  14802. * manual/string.texi (String/Array Comparison): Clarify the
  14803. strverscmp behavior.
  14804. 2016-09-21 Florian Weimer <fweimer@redhat.com>
  14805. * test-skeleton.c (xasprintf): Add function.
  14806. * io/tst-open-tmpfile.c: New test.
  14807. * io/Makefile (tests): Add it.
  14808. 2016-09-21 Florian Weimer <fweimer@redhat.com>
  14809. Avoid running $(CXX) during build to obtain header file paths.
  14810. * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
  14811. * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
  14812. * Makerules (cstdlib, cmath): Remove variables. Use
  14813. $(c++-cstdlib-header), $(c++-cmath-header) instead.
  14814. * configure: Regenerate.
  14815. 2016-09-21 Florian Weimer <fweimer@redhat.com>
  14816. * Makeconfig (all-object-suffixes): Include .op only if
  14817. $(build-profile).
  14818. 2016-09-21 Florian Weimer <fweimer@redhat.com>
  14819. * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
  14820. conditionals. Do not define PATH_MAX.
  14821. 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  14822. * posix/Makefile (tests): Add tst-spawn3.
  14823. * posix/tst-spawn3.c: New file.
  14824. * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
  14825. if it is already opened for open action.
  14826. * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
  14827. all signals when executing the clone vfork child.
  14828. (SIGALL_SET): Remove macro.
  14829. * nptl/Makefile (tests): Add tst-exec5.
  14830. * nptl/tst-exec5.c: New file.
  14831. * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
  14832. asynchronous cancellation.
  14833. 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
  14834. * hurd/exc2signal.c: #include <hurd/signal.h>
  14835. (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
  14836. 'sigcode', 'error' parameters with 'detail' parameter. Fix code
  14837. accordingly.
  14838. * mach/mach_error.c (mach_error): Fix old-style function definition.
  14839. * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
  14840. 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  14841. * math/Makefile (libm-calls): Remove s_nanF.
  14842. (gen-libm-calls): Add s_nanF.
  14843. * math/s_nan.c: Refactor into ...
  14844. * math/s_nan_template.c: New file.
  14845. * math/s_nanf.c: Removed.
  14846. * math/s_nanl.c: Removed.
  14847. * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
  14848. * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
  14849. * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
  14850. (LDOUBLE_nanl_libm_version): New macro.
  14851. * sysdeps/generic/math-type-macros-double.h:
  14852. (M_STRTO_NAN): New macro.
  14853. * sysdeps/generic/math-type-macros-float.h: Likewise.
  14854. * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
  14855. * sysdeps/generic/math-type-macros.h: Document
  14856. M_STRTO_NAN.
  14857. 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  14858. * math/s_nanf.c: Remove __nanf undef.
  14859. * math/s_nan.c: Remove __nan undef.
  14860. * math/s_nanl.c: Remove __nanl undef.
  14861. * sysdeps/generic/math_private.h (__nan): Remove macro
  14862. override.
  14863. (__nanf): Likewise.
  14864. (__nanl): Likewise.
  14865. 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  14866. * math/Makefile (gen-all-calls): New variable.
  14867. (generated): Replace gen-libm-calls with gen-all-calls.
  14868. (gen-libm-templates.stmp): Likewise. Also, ensure
  14869. the output directory exists or is created and add
  14870. dependency on the Makefile.
  14871. (calls): Move s_ldexpF into gen-calls.
  14872. (gen-calls): New variable.
  14873. * math/s_ldexpf.c: Removed.
  14874. * math/s_ldexpl.c: Removed.
  14875. * math/s_ldexp.c: Refactored into ...
  14876. * math/s_ldexp_template.c: New file.
  14877. * sysdeps/generic/math-type-macros-double.h: Remove
  14878. redundant fall-through definition of declare_mgen_alias.
  14879. (declare_mgen_alias_2): New macro.
  14880. * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
  14881. New macro for function aliased to two exported symbols.
  14882. * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
  14883. new template file.
  14884. sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
  14885. 2016-09-20 Florian Weimer <fweimer@redhat.com>
  14886. * Makeconfig (all-object-suffixes): Remove .og.
  14887. * Makerules (elide-routines.og): Remove.
  14888. * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
  14889. * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
  14890. * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
  14891. 2016-09-20 Florian Weimer <fweimer@redhat.com>
  14892. * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
  14893. .os objects.
  14894. 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  14895. [BZ #20615]
  14896. * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
  14897. fpu directory by non-fpu.
  14898. * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
  14899. on non-fpu directory from a fpu directory.
  14900. 2016-09-19 Joseph Myers <joseph@codesourcery.com>
  14901. * include/limits.h: Define
  14902. __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
  14903. <bits/libc-header-start.h> instead of including <features.h>.
  14904. [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
  14905. [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
  14906. [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
  14907. [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
  14908. [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
  14909. [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
  14910. [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
  14911. [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
  14912. [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
  14913. [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
  14914. [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
  14915. * manual/lang.texi (Width of Type): Document these macros.
  14916. * stdlib/tst-width.c: New file.
  14917. * stdlib/Makefile (tests): Add tst-width.
  14918. 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
  14919. * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
  14920. * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
  14921. 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  14922. * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
  14923. * sysdeps/sparc/sparc32/sem_open.c: Remove file.
  14924. * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
  14925. 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  14926. [BZ #18243]
  14927. * rt/Makefile (test): Add tst-shm-cancel.
  14928. * rt/tst-shm-cancel.c: New file.
  14929. * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
  14930. [BZ #18243]
  14931. * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
  14932. * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
  14933. definition.
  14934. * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
  14935. uncontended case.
  14936. * nptl/sem_wait.c (__new_sem_wait): Likewise.
  14937. * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
  14938. (tf): Fix check for uncontended case.
  14939. (do_test): Likewise.
  14940. * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
  14941. (tf): Fix check for uncontended case.
  14942. (do_test): Likewise.
  14943. * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
  14944. (tf): Fix check for uncontended case.
  14945. (do_test): Likewise.
  14946. * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
  14947. (tf): Fix check for uncontended case.
  14948. (do_test): Likewise.
  14949. * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
  14950. * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
  14951. [BZ #15765]
  14952. * nptl/Makefile (tests): Add tst-sem16.
  14953. * nptl/tst-sem16.c: New file.
  14954. * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
  14955. * nptl/sem_open.c (sem_open): Init pad value to 0.
  14956. * sysdeps/sparc/sparc32/sem_open.c: Remove file.
  14957. * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
  14958. 2016-09-15 Florian Weimer <fweimer@redhat.com>
  14959. [BZ #20611]
  14960. * inet/Makefile (routines): Add inet6_scopeid_pton.
  14961. (tests): Add tst-inet6_scopeid_pton.
  14962. * inet/inet6_scopeid_pton.c: New file.
  14963. * inet/net-internal.h: Likewise.
  14964. * inet/tst-inet6_scopeid_pton.c: New test.
  14965. * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
  14966. * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
  14967. * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
  14968. 2016-09-14 Florian Weimer <fweimer@redhat.com>
  14969. Remove support for compiling wrappers with PTW.
  14970. * sysdeps/nptl/Makeconfig: Drop ptw- support.
  14971. * nptl/Makefile (pthread-compat-wrappers): Define.
  14972. (libpthread-routines): Use pthread-compat-wrappers.
  14973. * sysdeps/unix/sysv/linux/alpha/Makefile
  14974. (libpthread-routines, libpthread-shared-only-routines): Remove
  14975. ptw- prefix.
  14976. * sysdeps/s390/nptl/Makefile
  14977. (libpthread-routines, libpthread-shared-only-routines): Likewise.
  14978. * sysdeps/ia64/nptl/Makefile
  14979. (libpthread-routines, libpthread-shared-only-routines): Likewise.
  14980. * sysdeps/nacl/Makefile (libpthread-routines): Use
  14981. pthread-compat-wrappers to filter the routines list instead of the
  14982. ptw- prefix.
  14983. 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  14984. * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
  14985. with L() and remove explicit suffix, convert real literals
  14986. which can be equivalentally substituted with integers, and
  14987. transform -L(x) to L(-x).
  14988. * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
  14989. * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
  14990. * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
  14991. * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
  14992. * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
  14993. * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
  14994. * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
  14995. * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
  14996. * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
  14997. * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
  14998. * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
  14999. * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
  15000. * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
  15001. * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
  15002. * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
  15003. * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
  15004. * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
  15005. * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
  15006. * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
  15007. * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
  15008. * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
  15009. * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
  15010. * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
  15011. * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
  15012. * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
  15013. * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
  15014. * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
  15015. * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
  15016. * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
  15017. * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
  15018. * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
  15019. * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
  15020. * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
  15021. * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
  15022. * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
  15023. * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
  15024. * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
  15025. * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
  15026. * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
  15027. * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
  15028. * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
  15029. * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
  15030. * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
  15031. * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
  15032. * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
  15033. * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
  15034. * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
  15035. * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
  15036. * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
  15037. * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
  15038. 2016-09-13 Florian Weimer <fweimer@redhat.com>
  15039. * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
  15040. 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
  15041. * malloc/Makefile (tests): Remove individual static test names
  15042. and just add all of tests-static.
  15043. * csu/libc-start.c (__libc_csu_irel): Remove declaration.
  15044. 2016-09-07 Joseph Myers <joseph@codesourcery.com>
  15045. * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
  15046. file.
  15047. * sysdeps/sparc/fpu/fegetmode.c: New file.
  15048. * sysdeps/sparc/fpu/fesetmode.c: Likewise.
  15049. * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
  15050. * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
  15051. * sysdeps/s390/fpu/fegetmode.c: New file.
  15052. * sysdeps/s390/fpu/fesetmode.c: Likewise.
  15053. * sysdeps/powerpc/fpu/fegetmode.c: New file.
  15054. * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
  15055. * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
  15056. * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
  15057. * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
  15058. * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
  15059. * sysdeps/mips/fpu/fegetmode.c: New file.
  15060. * sysdeps/mips/fpu/fesetmode.c: Likewise.
  15061. * sysdeps/m68k/fpu/fegetmode.c: New file.
  15062. * sysdeps/m69k/fpu/fesetmode.c: Likewise.
  15063. * sysdeps/ia64/fpu/fegetmode.c: New file.
  15064. * sysdeps/ia64/fpu/fesetmode.c: Likewise.
  15065. * sysdeps/hppa/fpu/fegetmode.c: New file.
  15066. * sysdeps/hppa/fpu/fesetmode.c: Likewise.
  15067. * sysdeps/arm/fegetmode.c: New file.
  15068. * sysdeps/arm/fesetmode.c: Likewise.
  15069. * sysdeps/alpha/fpu/fegetmode.c: New file.
  15070. * sysdeps/alpha/fpu/fesetmode.c: Likewise.
  15071. * sysdeps/aarch64/fpu/fegetmode.c: New file.
  15072. * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
  15073. * math/fegetmode.c: New file.
  15074. * math/fesetmode.c: Likewise.
  15075. * sysdeps/i386/fpu/fegetmode.c: Likewise.
  15076. * sysdeps/i386/fpu/fesetmode.c: Likewise.
  15077. * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
  15078. * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
  15079. * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
  15080. [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
  15081. declaration.
  15082. [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
  15083. * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
  15084. typedef.
  15085. [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
  15086. * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
  15087. (femode_t): New typedef.
  15088. [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
  15089. * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
  15090. (femode_t): New typedef.
  15091. [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
  15092. * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
  15093. (femode_t): New typedef.
  15094. [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
  15095. * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
  15096. (femode_t): New typedef.
  15097. [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
  15098. * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
  15099. (femode_t): New typedef.
  15100. [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
  15101. * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
  15102. (femode_t): New typedef.
  15103. [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
  15104. * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
  15105. (femode_t): New typedef.
  15106. [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
  15107. * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
  15108. (femode_t): New typedef.
  15109. [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
  15110. * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
  15111. (femode_t): New typedef.
  15112. [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
  15113. * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
  15114. (femode_t): New typedef.
  15115. [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
  15116. declaration.
  15117. [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
  15118. * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
  15119. (femode_t): New typedef.
  15120. [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
  15121. * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
  15122. (femode_t): New typedef.
  15123. [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
  15124. * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
  15125. (femode_t): New typedef.
  15126. [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
  15127. * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
  15128. (femode_t): New typedef.
  15129. [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
  15130. * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
  15131. (femode_t): New typedef.
  15132. [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
  15133. * manual/arith.texi (FE_DFL_MODE): Document macro.
  15134. (fegetmode): Document function.
  15135. (fesetmode): Likewise.
  15136. * math/Versions (fegetmode): New libm symbol at version
  15137. GLIBC_2.25.
  15138. (fesetmode): Likewise.
  15139. * math/Makefile (libm-support): Add fegetmode and fesetmode.
  15140. (tests): Add test-femode and test-femode-traps.
  15141. * math/test-femode-traps.c: New file.
  15142. * math/test-femode.c: Likewise.
  15143. * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
  15144. alias for __fe_dfl_env.
  15145. * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
  15146. * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
  15147. (__fe_dfl_mode): Likewise.
  15148. * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
  15149. version GLIBC_2.25.
  15150. * sysdeps/nacl/libm.abilist: Update.
  15151. * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
  15152. * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
  15153. * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
  15154. * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
  15155. * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
  15156. * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
  15157. * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
  15158. * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
  15159. * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
  15160. * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
  15161. * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
  15162. * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
  15163. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
  15164. Likewise.
  15165. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
  15166. Likewise.
  15167. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
  15168. Likewise.
  15169. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
  15170. Likewise.
  15171. * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
  15172. * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
  15173. * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
  15174. * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
  15175. * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
  15176. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
  15177. Likewise.
  15178. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
  15179. Likewise.
  15180. * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
  15181. * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
  15182. * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
  15183. 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
  15184. [BZ #20495]
  15185. [BZ #20508]
  15186. * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
  15187. processors, set Use_dl_runtime_resolve_slow and set
  15188. Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
  15189. * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
  15190. New.
  15191. (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
  15192. (index_arch_Use_dl_runtime_resolve_opt): Likewise.
  15193. (index_arch_Use_dl_runtime_resolve_slow): Likewise.
  15194. * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
  15195. _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
  15196. if Use_dl_runtime_resolve_opt is set. Use
  15197. _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
  15198. * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
  15199. (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
  15200. (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
  15201. * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
  15202. New.
  15203. (_dl_runtime_resolve_opt): Likewise.
  15204. (_dl_runtime_profile): Define only if _dl_runtime_profile is
  15205. defined.
  15206. 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
  15207. * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
  15208. __libc_memalign with "+ RELA R_390_GLOB_DAT".
  15209. 2016-09-06 Florian Weimer <fweimer@redhat.com>
  15210. Convert malloc to __libc_lock. Automated part, using this Perl
  15211. s/// command:
  15212. s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
  15213. \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
  15214. * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
  15215. conversion.
  15216. 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
  15217. * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
  15218. (linknamespace-symlists-tests): Likewise.
  15219. (linknamespace-header-tests): Likewise.
  15220. 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
  15221. [BZ #19810]
  15222. * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
  15223. * elf/tst-noload.c: New test case.
  15224. * elf/Makefile (tests): Add tst-noload.
  15225. 2016-09-02 Roland McGrath <roland@hack.frob.com>
  15226. * sysdeps/nacl/dup.c: Add libc_hidden_def.
  15227. * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
  15228. not any more.
  15229. * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
  15230. 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
  15231. * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
  15232. (do_cos_slow): Likewise.
  15233. (do_sin): Likewise.
  15234. (do_sin_slow): Likewise.
  15235. (slow): Likewise.
  15236. (slow1): Likewise.
  15237. (slow2): Likewise.
  15238. (sloww): Likewise.
  15239. (sloww1): Likewise.
  15240. (sloww2): Likewise.
  15241. (bsloww): Likewise.
  15242. (bsloww1): Likewise.
  15243. (bsloww2): Likewise.
  15244. (cslow2): Likewise.
  15245. * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
  15246. * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
  15247. arguments. Consolidate input partitioning from callers here.
  15248. (do_cos_slow): Likewise.
  15249. (do_sin): Likewise.
  15250. (do_sin_slow): Likewise.
  15251. (do_sincos_1): Remove the no longer necessary input partitioning.
  15252. (do_sincos_2): Likewise.
  15253. (__sin): Likewise.
  15254. (__cos): Likewise.
  15255. (slow1): Likewise.
  15256. (slow2): Likewise.
  15257. (sloww1): Likewise.
  15258. (sloww2): Likewise.
  15259. (bsloww1): Likewise.
  15260. (bsloww2): Likewise.
  15261. (cslow2): Likewise.
  15262. 2016-09-02 Florian Weimer <fweimer@redhat.com>
  15263. * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
  15264. MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
  15265. outside of allocated array.
  15266. 2016-09-02 Florian Weimer <fweimer@redhat.com>
  15267. * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
  15268. instead of MB_CUR_MAX to avoid variable-length array.
  15269. 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  15270. * math/Makefile (libm-calls): Remove k_rem_pio2F.
  15271. (type-double-routines): Add k_rem_pio2.
  15272. (type-float-routines): Add k_rem_pio2f.
  15273. * sysdeps/generic/math_private.h:
  15274. (__kernel_rem_pio2l): Removed.
  15275. * math/k_rem_pio2l.c: Removed.
  15276. * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
  15277. * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
  15278. * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
  15279. * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
  15280. 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  15281. * math/Makefile (gen-libm-calls): Add s_fmin
  15282. (libm-calls): Remove above.
  15283. * math/s_fmin.c: Refactor into ...
  15284. * math/s_fmin_template.c: New file.
  15285. * math/s_fminf.c: Removed.
  15286. * math/s_fminl.c: Removed.
  15287. * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
  15288. (LDOUBLE_fmin_libm_version): New macro.
  15289. * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
  15290. * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
  15291. 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  15292. * math/Makefile: (gen-libm-calls): Add s_fmax.
  15293. (libm-calls): Remove above.
  15294. * math/s_fmax.c: Refactor into ...
  15295. * math/s_fmax_template.c: New file.
  15296. * math/s_fmaxf.c: Removed.
  15297. * math/s_fmaxl.c: Removed.
  15298. * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
  15299. (LDOUBLE_fmaxl_libm_version): New macro.
  15300. * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
  15301. * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
  15302. * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
  15303. s_fmin.c to pick the aarch64 version of the file.
  15304. * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
  15305. * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
  15306. 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  15307. * math/Makefile: (gen-libm-calls): Add s_nextdown.
  15308. (libm-calls): Remove above.
  15309. * math/s_nextdown.c: Refactor into ...
  15310. * math/s_nextdown_template.c: New file.
  15311. * math/s_nextdownf.c: Removed.
  15312. * math/s_nextdownl.c: Removed.
  15313. * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
  15314. 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  15315. * math/Makefile (gen-libm-calls): Add s_fdim.
  15316. (libm-calls): Move to above.
  15317. * math/s_fdim.c: Renamed and refactored into to ...
  15318. * math/s_fdim_template.c: New file.
  15319. * math/s_fdiml.c: Removed.
  15320. * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
  15321. * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
  15322. * sysdeps/generic/math-type-macros-double.h:
  15323. (declare_mgen_alias): Don't declare if already declared.
  15324. * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
  15325. Likewise.
  15326. * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
  15327. (declare_mgen_alias): Don't declare if already declared.
  15328. (M_LIBM_NEED_COMPAT): Likewise.
  15329. (declare_mgen_libm_compat): Likewise.
  15330. (LDOUBLE_fdiml_libm_version): New macro.
  15331. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
  15332. Include math/s_fdim.c now that ldbl-opt version is not needed.
  15333. (declare_mgen_alias): New macro to disable aliasing.
  15334. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
  15335. (declare_mgen_alias): Likewise.
  15336. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
  15337. (declare_mgen_alias): Likewise.
  15338. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
  15339. (declare_mgen_alias): Likewise.
  15340. (M_LIBM_NEED_COMPAT): Likewise.
  15341. 2016-09-01 Florian Weimer <fweimer@redhat.com>
  15342. [BZ #20525]
  15343. * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
  15344. Include <linux/quota.h>.
  15345. (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
  15346. and btodb.
  15347. (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
  15348. (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
  15349. (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
  15350. (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
  15351. (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
  15352. (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
  15353. (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
  15354. (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
  15355. types.
  15356. * sysdeps/unix/sysv/linux/tst-quota.c: New test.
  15357. * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
  15358. 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  15359. * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
  15360. (gammal_positive): Fix spacing.
  15361. (__ieee754_gammal_r): Likewise.
  15362. 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  15363. * sysdeps/ieee754/ldbl-128/math_ldbl.h:
  15364. (_Float128): Define as long double, always.
  15365. (L): Apply long double type suffix, always.
  15366. * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
  15367. _Float128, excepting comments.
  15368. * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
  15369. * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
  15370. * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
  15371. * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
  15372. * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
  15373. * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
  15374. * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
  15375. * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
  15376. * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
  15377. * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
  15378. * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
  15379. * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
  15380. * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
  15381. * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
  15382. * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
  15383. * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
  15384. * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
  15385. * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
  15386. * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
  15387. * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
  15388. * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
  15389. * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
  15390. * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
  15391. * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
  15392. * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
  15393. * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
  15394. * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
  15395. * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
  15396. * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
  15397. * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
  15398. * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
  15399. * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
  15400. * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
  15401. * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
  15402. * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
  15403. * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
  15404. * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
  15405. * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
  15406. * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
  15407. * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
  15408. * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
  15409. * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
  15410. * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
  15411. * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
  15412. * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
  15413. * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
  15414. * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
  15415. * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
  15416. * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
  15417. * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
  15418. * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
  15419. * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
  15420. * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
  15421. * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
  15422. * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
  15423. * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
  15424. * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
  15425. * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
  15426. * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
  15427. * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
  15428. * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
  15429. * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
  15430. * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
  15431. * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
  15432. * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
  15433. * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
  15434. * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
  15435. * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
  15436. * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
  15437. _Float128, and include math_private.h.
  15438. * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
  15439. * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
  15440. long double semantics.
  15441. (_Float128): Likewise.
  15442. * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
  15443. * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
  15444. * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
  15445. * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
  15446. 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
  15447. * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
  15448. * sysdeps/s390/configure.ac: Add test for z196 zarch support.
  15449. * sysdeps/s390/configure: Regenerated.
  15450. * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
  15451. instruction for raising over-/underflow if z196 zarch is supported
  15452. by default.
  15453. * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
  15454. 2016-08-30 Svante Signell <svante.signell@gmail.com>
  15455. * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
  15456. it point to a dumb buffer for RPC to fill it.
  15457. 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
  15458. * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
  15459. instead of if/else.
  15460. (do_sin_slow): Likewise.
  15461. (do_sincos_1): Use fabs instead of if/else.
  15462. (do_sincos_2): Likewise.
  15463. (__sin): Likewise.
  15464. (__cos): Likewise.
  15465. (slow2): Likewise.
  15466. (sloww): Likewise.
  15467. (sloww1): Likewise. Drop argument M.
  15468. (sloww2): Use fabs instead of if/else.
  15469. (bsloww): Likewise.
  15470. (bsloww1): Likewise.
  15471. (bsloww2): Likewise.
  15472. * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
  15473. fall through comment.
  15474. (do_sincos_1): Likewise.
  15475. * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
  15476. Consolidate switch cases 0 and 2.
  15477. 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  15478. * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
  15479. (libm-calls): Remove the above.
  15480. * math/s_cexp_template.c: Update using type-generic macros.
  15481. * math/s_clog10_template.c: Likewise.
  15482. * math/s_cpow_template.c: Likewise.
  15483. * math/s_clog_template.c: Likewise.
  15484. * math/s_cproj_template.c: Likewise.
  15485. * math/s_csqrt_template.c: Likewise.
  15486. * math/s_cexp.c: Removed.
  15487. * math/s_cexpf.c: Removed.
  15488. * math/s_cexpl.c: Removed.
  15489. * math/s_clog10.c: Removed.
  15490. * math/s_clog10f.c: Removed.
  15491. * math/s_clog10l.c: Removed.
  15492. * math/s_cpow.c: Removed.
  15493. * math/s_cpowf.c: Removed.
  15494. * math/s_cpowl.c: Removed.
  15495. * math/s_clog.c: Removed.
  15496. * math/s_clogf.c: Removed.
  15497. * math/s_clogl.c: Removed.
  15498. * math/s_cproj.c: Removed.
  15499. * math/s_cprojf.c: Removed.
  15500. * math/s_cprojl.c: Removed.
  15501. * math/s_csqrt.c: Removed.
  15502. * math/s_csqrtf.c: Removed.
  15503. * math/s_csqrtl.c: Removed.
  15504. * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
  15505. * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
  15506. * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
  15507. * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
  15508. * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
  15509. * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
  15510. * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
  15511. * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
  15512. * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
  15513. * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
  15514. * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
  15515. * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
  15516. * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
  15517. * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
  15518. * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
  15519. * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
  15520. * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
  15521. * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
  15522. version.
  15523. * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
  15524. * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
  15525. * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
  15526. * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
  15527. 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  15528. * s_cexp_template.c: Copy of s_cexp.c.
  15529. * s_clog_template.c: Copy of s_clog.c.
  15530. * s_clog10_template.c: Copy of s_clog10.c.
  15531. * s_cpow_template.c: Copy of s_cpow.c.
  15532. * s_cproj_template.c: Copy of s_cproj.c.
  15533. * s_csqrt_template.c: Copy of s_csqrt.c.
  15534. 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  15535. [BZ #20517]
  15536. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
  15537. Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
  15538. exported.
  15539. 2016-08-29 Joseph Myers <joseph@codesourcery.com>
  15540. * math/fetestexceptflag.c: New file.
  15541. * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
  15542. Stefan Liebler.
  15543. * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
  15544. (fetestexceptflag): New function declaration.
  15545. * manual/arith.texi (fetestexceptflag): Document function.
  15546. * math/Versions (fetestexceptflag): New libm symbol at version
  15547. GLIBC_2.25.
  15548. * math/Makefile (libm-support): Add fetestexceptflag.
  15549. (tests): Add test-fetestexceptflag.
  15550. * math/test-fetestexceptflag.c: New file.
  15551. * sysdeps/nacl/libm.abilist: Update.
  15552. * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
  15553. * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
  15554. * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
  15555. * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
  15556. * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
  15557. * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
  15558. * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
  15559. * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
  15560. * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
  15561. * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
  15562. * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
  15563. * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
  15564. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
  15565. Likewise.
  15566. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
  15567. Likewise.
  15568. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
  15569. Likewise.
  15570. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
  15571. Likewise.
  15572. * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
  15573. * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
  15574. * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
  15575. * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
  15576. * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
  15577. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
  15578. Likewise.
  15579. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
  15580. Likewise.
  15581. * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
  15582. * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
  15583. * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
  15584. 2016-08-26 Florian Weimer <fweimer@redhat.com>
  15585. [BZ #20432]
  15586. Avoid strong references to malloc-internal symbols when linking
  15587. statically, to support statically interposed mallocs.
  15588. * include/libc-symbols.h (call_function_static_weak): New macro.
  15589. * malloc/Makefile (tests): Add tst-interpose-nothread,
  15590. tst-interpose-thread, tst-interpose-static-nothread,
  15591. tst-interpose-static-thread.
  15592. (tests-static): Add tst-interpose-static-nothread,
  15593. tst-interpose-static-thread.
  15594. (extra-tests-objs): Add tst-interpose-aux-nothread.o,
  15595. tst-interpose-aux-thread.o.
  15596. (test-extras): Add tst-interpose-aux-nothread,
  15597. tst-interpose-aux-thread.
  15598. (tst-interpose-nothread, tst-interpose-static-nothread): Link with
  15599. tst-interpose-aux-nothread.o.
  15600. (tst-interpose-thread, tst-interpose-static-thread): Link with
  15601. tst-interpose-aux-thread.o and libthread.
  15602. * malloc/tst-interpose-aux-nothread.c: New file.
  15603. * malloc/tst-interpose-aux-thread.c: Likewise.
  15604. * malloc/tst-interpose-aux.c: Likewise.
  15605. * malloc/tst-interpose-aux.h: Likewise.
  15606. * malloc/tst-interpose-nothread.c: Likewise.
  15607. * malloc/tst-interpose-skeleton.c: Likewise.
  15608. * malloc/tst-interpose-static-nothread.c: Likewise.
  15609. * malloc/tst-interpose-static-thread.c: Likewise.
  15610. * malloc/tst-interpose-thread.c: Likewise.
  15611. * nptl/tst-tls3-malloc.c: Use new interposed malloc.
  15612. * sysdeps/mach/hurd/fork.c (__fork): Only call
  15613. __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
  15614. __malloc_fork_unlock_child if defined.
  15615. * sysdeps/nptl/fork.c (__libc_fork): Likewise.
  15616. 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  15617. * test-skeleton.c (delayed_exit_thread): Add initializer on struct
  15618. timespec C99 designated initialization.
  15619. 2016-08-26 Florian Weimer <fweimer@redhat.com>
  15620. [BZ #19946]
  15621. Avoid expected SIGALRM signals.
  15622. * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
  15623. (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
  15624. (xpthread_create, xpthread_detach, xpthread_join)
  15625. (delayed_exit_thread, delayed_exit): New functions.
  15626. * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
  15627. (tf): Use xpthread_cond_wait.
  15628. (do_test): Likewise. Replace alarm with delayed_exit.
  15629. * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
  15630. (do_test): Call delayed_exit. Report failure.
  15631. * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
  15632. (do_test): Call delayed_exit.
  15633. * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
  15634. (do_test): Call delayed_exit. Use xpthread_join. Report error.
  15635. * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
  15636. (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
  15637. error.
  15638. * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
  15639. (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
  15640. error.
  15641. * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
  15642. (do_test): Call delayed_exit.
  15643. * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
  15644. (do_test): Call delayed_exit.
  15645. * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
  15646. (do_test): Call delayed_exit instead of alarm. Use
  15647. xpthread_mutex_lock.
  15648. * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
  15649. (do_test): Call delayed_exit instead of alarm. Use
  15650. xpthread_mutex_lock.
  15651. * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
  15652. (do_test): Call delayed_exit instead of alarm.
  15653. * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
  15654. (do_test): Call delayed_exit instead of alarm. Use
  15655. xpthread_spin_lock.
  15656. * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
  15657. (do_test): Call delayed_exit instead of alarm. Use
  15658. xpthread_join.
  15659. 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
  15660. * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
  15661. adjust CFA when allocating register save area on re-aligned
  15662. stack.
  15663. 2016-08-26 Florian Weimer <fweimer@redhat.com>
  15664. * string/tst-cmp.c: New test.
  15665. * string/Makefile (tests): Add it.
  15666. 2016-08-25 Mark Wielaard <mark@klomp.org>
  15667. * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
  15668. USE_MALLOC_LOW_BIT. Define pointer/value accessors.
  15669. (check_tree_recurse): Use newly defined accessors.
  15670. (check_tree): Likewise.
  15671. (maybe_split_for_insert): Likewise.
  15672. (__tfind): Likewise.
  15673. (__tdelete): Likewise.
  15674. (trecurse): Likewise.
  15675. (tdestroy_recurse): Likewise.
  15676. (__tsearch): Likewise. And add asserts for malloc alignment.
  15677. (__twalk): Cast root to node in case CHECK_TREE is defined.
  15678. 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
  15679. * scripts/check-local-headers.sh (exclude): Add mach_debug/.
  15680. 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  15681. * math/Makefile (libm-gen-calls): Add
  15682. catan, catanh, ctan, ctanh.
  15683. (libm-calls): Remove the above.
  15684. * math/s_catan_template.c: Update using type-generic macros.
  15685. * math/s_catanh_template.c: Likewise.
  15686. * math/s_ctan_template.c: Likewise.
  15687. * math/s_ctanh_template.c: Likewise.
  15688. * math/s_catanf.c: Removed.
  15689. * math/s_catan.c: Removed.
  15690. * math/s_catanl.c: Removed.
  15691. * math/s_catanhf.c: Removed.
  15692. * math/s_catanh.c: Removed.
  15693. * math/s_catanhl.c: Removed.
  15694. * math/s_ctanf.c: Removed.
  15695. * math/s_ctan.c: Removed.
  15696. * math/s_ctanl.c: Removed.
  15697. * math/s_ctanhf.c: Removed.
  15698. * math/s_ctanh.c: Removed.
  15699. * math/s_ctanhl.c: Removed.
  15700. * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
  15701. * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
  15702. * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
  15703. * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
  15704. * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
  15705. * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
  15706. * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
  15707. * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
  15708. * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
  15709. * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
  15710. 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  15711. * s_catan_template.c: Copy of s_catan.c.
  15712. * s_catanh_template.c: Copy of s_catanh.c.
  15713. * s_ctan_template.c: Copy of s_ctan.c.
  15714. * s_ctanh_template.c: Copy of s_ctanh.c.
  15715. 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  15716. * math/Makefile (gen-libm-calls): Move
  15717. casin, casinh, csin, csinh here.
  15718. (libm-calls): Remove the above.
  15719. * math/s_casin_template.c: Update using type-generic macros.
  15720. * math/s_casinh_template.c: Likewise.
  15721. * math/s_csin_template.c: Likewise.
  15722. * math/s_csinh_template.c: Likewise.
  15723. * math/k_casinh_template.c: Likewise.
  15724. * math/s_casinf.c: Removed.
  15725. * math/s_casin.c: Removed.
  15726. * math/s_casinl.c: Removed.
  15727. * math/s_casinh.c: Removed.
  15728. * math/s_casinhf.c: Removed.
  15729. * math/s_casinhl.c: Removed.
  15730. * math/s_csin.c: Removed.
  15731. * math/s_csinf.c: Removed.
  15732. * math/s_csinl.c: Removed.
  15733. * math/s_csinh.c: Removed.
  15734. * math/s_csinhf.c: Removed.
  15735. * math/s_csinhl.c: Removed.
  15736. * math/k_casinh.c: Removed.
  15737. * math/k_casinhf.c: Removed.
  15738. * math/k_casinhl.c: Removed.
  15739. * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
  15740. * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
  15741. * sysdeps/alpha/fpu/s_csinf.c: Likewise.
  15742. * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
  15743. * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
  15744. * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
  15745. * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
  15746. * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
  15747. * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
  15748. * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
  15749. * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
  15750. * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
  15751. * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
  15752. * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
  15753. * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
  15754. * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
  15755. * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
  15756. * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
  15757. * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
  15758. * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
  15759. 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  15760. * s_casin_template.c: Copy of s_casin.c.
  15761. * s_casinh_template.c: Copy of s_casinh.c.
  15762. * s_csin_template.c: Copy of s_csin.c.
  15763. * s_csinh_template.c: Copy of s_csinh.c.
  15764. * k_casinh_template.c: Copy of k_casinh.c.
  15765. 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
  15766. * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
  15767. 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  15768. * sysdeps/ieee754/ldbl-128/gamma_productl.c:
  15769. (mul_split) Remove, rename as mul_splitl, remove
  15770. redundant float.h include, and include via mul_splitl.h
  15771. * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
  15772. * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
  15773. * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
  15774. * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
  15775. * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
  15776. * math/mul_splitl.h: New file.
  15777. * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
  15778. Move into mul_split.h, and remove redundant float.h include.
  15779. * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
  15780. * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
  15781. * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
  15782. * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
  15783. * math/mul_split.h: New file.
  15784. 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  15785. * math/Makefile (libm-gen-calls): Move
  15786. s_cacos, s_cacosh, s_ccos, s_ccosh from ...
  15787. (libm-calls): Remove above.
  15788. * math/s_cacos_template.c: Update using type-generic macros.
  15789. * math/s_cacosh_template.c: Likewise.
  15790. * math/s_ccos_template.c: Likewise.
  15791. * math/s_ccosh_template.c: Likewise.
  15792. * math/s_cacosf.c: Removed.
  15793. * math/s_cacos.c: Removed.
  15794. * math/s_cacosl.c: Removed.
  15795. * math/s_cacoshf.c: Removed.
  15796. * math/s_cacosh.c: Removed.
  15797. * math/s_cacoshl.c: Removed.
  15798. * math/s_ccosf.c: Removed.
  15799. * math/s_ccos.c: Removed.
  15800. * math/s_ccosl.c: Removed.
  15801. * math/s_ccoshf.c: Removed.
  15802. * math/s_ccosh.c: Removed.
  15803. * math/s_ccoshl.c: Removed.
  15804. * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
  15805. * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
  15806. * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
  15807. * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
  15808. * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
  15809. * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
  15810. * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
  15811. * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
  15812. * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
  15813. * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
  15814. * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
  15815. * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
  15816. * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
  15817. * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
  15818. 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  15819. * s_cacos_template.c: Copy of s_cacos.c.
  15820. * s_cacosh_template.c: Copy of s_cacosh.c.
  15821. * s_ccos_template.c: Copy of s_ccos.c.
  15822. * s_ccosh_template.c: Copy of s_ccosh.c.
  15823. 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  15824. * stdlib/tst-strtod-round-skeleton.c:
  15825. Refactored from tst-strtod-round.c.
  15826. (L_): New macro to apply literal modifier.
  15827. (FNPFX): New macro to select str or wcs prefix.
  15828. (CHAR): New macro to choose wchar_t or char.
  15829. (STRM): New macro to choose printf for tested character type.
  15830. (STRTO): New macro to choose appropriate string -> real function.
  15831. (FNPFXS): Stringitized version of FNPFX.
  15832. (STR): Support for above macro.
  15833. (STRX): Likewise.
  15834. (TEST): Update with above macros.
  15835. (test): Likewise.
  15836. (GEN_ONE_TEST): Likewise.
  15837. (test_in_one_mode): Likewise.
  15838. * stdlib/tst-strtod-round.c: New file.
  15839. * wcsmbs/tst-wcstod-round.c: New file.
  15840. * wcsmbs/Makefile: (tests): Add tst-wcstod-round
  15841. (tst-wcstod-round): Add libm depencency for fesetround.
  15842. 2016-08-19 Zack Weinberg <zackw@panix.com>
  15843. * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
  15844. 2016-08-18 Torvald Riegel <triegel@redhat.com>
  15845. [BZ #20477]
  15846. * resolv/res_hconf.c (do_init): Use atomic access.
  15847. * resolv/res_hconf.h: Add comments.
  15848. * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
  15849. * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
  15850. * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
  15851. 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
  15852. * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
  15853. Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
  15854. * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
  15855. Likewise.
  15856. 2016-08-18 Florian Weimer <fweimer@redhat.com>
  15857. [BZ #16907]
  15858. * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
  15859. (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
  15860. * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
  15861. (__attribute__): Remove definition.
  15862. 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  15863. * sysdeps/ieee754/ldbl-128/e_asinl.c:
  15864. Remove unused sqrtl declaration.
  15865. 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  15866. * math/Makefile: (gen-libm-templates.stmp): New rule.
  15867. (libm-calls): Move carg conj cimag and cabs into ...
  15868. (gen-libm-calls): New variable.
  15869. (generated): Inform Make objects from gen-libm-calls
  15870. may be generated.
  15871. * sysdeps/generic/math-type-macros.h: New file.
  15872. * sysdeps/generic/math-type-macros-float.h: Likewise.
  15873. * sysdeps/generic/math-type-macros-double.h: Likewise.
  15874. * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
  15875. * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
  15876. * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
  15877. * math/cabs.c: Refactor into
  15878. * math/cabs_template.c: new file.
  15879. * math/cabsf.c: Removed.
  15880. * math/cabsl.c: Removed.
  15881. * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
  15882. * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
  15883. * math/carg.c: Refactor into
  15884. * math/carg_template.c: new file.
  15885. * math/cargf.c: Removed.
  15886. * math/cargl.c: Removed.
  15887. * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
  15888. * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
  15889. * math/conj.c: Refactor into
  15890. * math/conj_template.c: new file.
  15891. * math/conjf.c: Removed.
  15892. * math/conjl.c: Removed.
  15893. * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
  15894. * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
  15895. * math/cimag.c: Refactor into
  15896. * math/cimag_template.c: new file.
  15897. * math/cimagf.c: Removed.
  15898. * math/cimagl.c: Removed.
  15899. * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
  15900. * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
  15901. * math/cimag.c: Refactor into
  15902. * math/cimag_template.c: new file.
  15903. * math/cimagf.c: Removed.
  15904. * math/cimagl.c: Removed.
  15905. * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
  15906. * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
  15907. 2016-08-17 Florian Weimer <fweimer@redhat.com>
  15908. Reduce time to expected nptl/tst-once5 failure.
  15909. * nptl/tst-once5.cc (TIMEOUT): Define.
  15910. 2016-08-17 Florian Weimer <fweimer@redhat.com>
  15911. [BZ #20452]
  15912. Avoid additional copies of objects in libc.a in static libraries.
  15913. * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
  15914. Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
  15915. * sysdeps/mips/Makefile (librt-shared-only-routines): Add
  15916. rt-sysdep.
  15917. * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
  15918. Add nptl-sysdep.
  15919. * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
  15920. Add ptw-sysdep.
  15921. * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
  15922. rt-sysdep.
  15923. * sysdeps/unix/sysv/linux/alpha/Makefile
  15924. (libpthread-shared-only-routines): Add ptw-sysdep,
  15925. ptw-sigprocmask, ptw-rt_sigaction.
  15926. * sysdeps/unix/sysv/linux/ia64/Makefile
  15927. (librt-shared-only-routines): Add rt-sysdep.
  15928. * sysdeps/unix/sysv/linux/i386/Makefile
  15929. (libpthread-shared-only-routines): Add libc-do-syscall.
  15930. * sysdeps/unix/sysv/linux/microblaze/Makefile
  15931. (libpthread-shared-only-routines): Add sysdep.
  15932. * sysdeps/unix/sysv/linux/powerpc/Makefile
  15933. (librt-shared-only-routines): Add rt-sysdep.
  15934. (libpthread-shared-only-routines): Add sysdep.
  15935. * sysdeps/unix/sysv/linux/s390/Makefile
  15936. (librt-shared-only-routines): Add rt-sysdep.
  15937. * sysdeps/unix/sysv/linux/sparc/Makefile
  15938. (librt-shared-only-routines): Add rt-sysdep.
  15939. (libpthread-shared-only-routines): Add sysdep.
  15940. * sysdeps/unix/sysv/linux/tile/Makefile
  15941. (libpthread-shared-only-routines): Likewise.
  15942. 2016-08-16 Joseph Myers <joseph@codesourcery.com>
  15943. * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
  15944. Mask implicit bit out of unpacked value.
  15945. [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
  15946. [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
  15947. [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
  15948. * sysdeps/sparc/fpu/fesetexcept.c: New file.
  15949. * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
  15950. * sysdeps/s390/fpu/fesetexcept.c: New file.
  15951. * sysdeps/powerpc/fpu/fesetexcept.c: New file.
  15952. * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
  15953. * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
  15954. * sysdeps/mips/fpu/fesetexcept.c: New file.
  15955. * sysdeps/m68k/fpu/fesetexcept.c: New file.
  15956. * sysdeps/ia64/fpu/fesetexcept.c: New file.
  15957. * sysdeps/hppa/fpu/fesetexcept.c: New file.
  15958. * sysdeps/arm/fesetexcept.c: New file.
  15959. * sysdeps/alpha/fpu/fesetexcept.c: New file.
  15960. * sysdeps/aarch64/fpu/fesetexcept.c: New file.
  15961. * math/fesetexcept.c: New file.
  15962. * sysdeps/i386/fpu/fesetexcept.c: Likewise.
  15963. * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
  15964. * math/fenv.h: Define
  15965. __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
  15966. <bits/libc-header-start.h> instead of including <features.h>.
  15967. [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
  15968. declaration.
  15969. * manual/arith.texi (fesetexcept): Document function.
  15970. * math/Versions (fesetexcept): New libm symbol at version
  15971. GLIBC_2.25.
  15972. * math/Makefile (libm-support): Add fesetexcept.
  15973. (tests): Add test-fesetexcept and test-fesetexcept-traps.
  15974. * math/test-fesetexcept.c: New file.
  15975. * math/test-fesetexcept-traps.c: Likewise.
  15976. * sysdeps/nacl/libm.abilist: Update.
  15977. * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
  15978. * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
  15979. * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
  15980. * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
  15981. * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
  15982. * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
  15983. * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
  15984. * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
  15985. * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
  15986. * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
  15987. * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
  15988. * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
  15989. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
  15990. Likewise.
  15991. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
  15992. Likewise.
  15993. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
  15994. Likewise.
  15995. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
  15996. Likewise.
  15997. * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
  15998. * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
  15999. * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
  16000. * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
  16001. * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
  16002. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
  16003. Likewise.
  16004. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
  16005. Likewise.
  16006. * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
  16007. * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
  16008. * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
  16009. 2016-08-16 Florian Weimer <fweimer@redhat.com>
  16010. * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
  16011. New.
  16012. (do_test): Apply default_stack_size_in_mb if not set.
  16013. * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
  16014. 2016-08-15 Andreas Schwab <schwab@suse.de>
  16015. [BZ #20435]
  16016. CVE-2016-6323
  16017. * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
  16018. as .cantunwind.
  16019. 2016-08-12 Joseph Myers <joseph@codesourcery.com>
  16020. * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
  16021. comment from fraiseexcpt.c.
  16022. * math/test-fexcept.c (feraiseexcept_exact): New function.
  16023. (test_set): Call feraiseexcept_exact instead of feraiseexcept.
  16024. (test_except): Likewise.
  16025. 2016-08-10 Joseph Myers <joseph@codesourcery.com>
  16026. [BZ #20455]
  16027. * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
  16028. all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
  16029. to be restored.
  16030. * math/test-fexcept-traps.c: New file.
  16031. * math/test-fexcept.c: Likewise.
  16032. * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
  16033. * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
  16034. macro.
  16035. * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
  16036. (EXCEPTION_SET_FORCES_TRAP): Likewise.
  16037. 2016-08-09 Torvald Riegel <triegel@redhat.com>
  16038. * include/atomic.h (atomic_fetch_and_relaxed,
  16039. atomic_fetch_and_release, atomic_fetch_or_release,
  16040. atomic_fetch_xor_release): New.
  16041. 2016-08-06 Christian Seiler <christian@iwakd.de>
  16042. [BZ #20444]
  16043. * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
  16044. MACH_PORT_NULL.
  16045. 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
  16046. * math/s_fdim.c: Avoid alias renamed.
  16047. * math/s_fdimf.c: Likewise.
  16048. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
  16049. [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
  16050. Add s_fdimf-vis3, s_fdim-vis3.
  16051. (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
  16052. (CFLAGS-s_fdim-vis3.c): Likewise.
  16053. sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
  16054. sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
  16055. 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
  16056. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
  16057. [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
  16058. Remove s_fdimf-vis3, s_fdim-vis3.
  16059. * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
  16060. * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
  16061. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
  16062. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
  16063. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
  16064. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
  16065. * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
  16066. * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
  16067. * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
  16068. * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
  16069. 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
  16070. * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
  16071. * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
  16072. -Wa,-Av9a -mvis.
  16073. 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  16074. * math/gen-libm-test.pl (apply_lit): Rewrite to apply
  16075. LIT() to individual constants in simple expressions
  16076. after splitting on spaces.
  16077. (_apply_lit): Rename replaced version, and use it to
  16078. apply to what appears to be a token.
  16079. * math/libm-test.inc: Fix many, many issues with
  16080. spacing.
  16081. 2016-08-05 Joseph Myers <joseph@codesourcery.com>
  16082. * math/math.h: Move comment about <bits/mathdef.h> definitions
  16083. above inclusion of <bits/mathdef.h>. Do not mention
  16084. FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
  16085. 2016-08-05 Torvald Riegel <triegel@redhat.com>
  16086. * include/atomic.h (atomic_exchange_relaxed): New.
  16087. 2016-08-04 Joseph Myers <joseph@codesourcery.com>
  16088. * math/e_scalb.c: Do not include <fenv.h>.
  16089. (invalid_fn): Do calculation resulting in NaN instead of raising
  16090. FE_INVALID and returning a NaN explicitly.
  16091. * math/e_scalbf.c: Do not include <fenv.h>.
  16092. (invalid_fn): Do calculation resulting in NaN instead of raising
  16093. FE_INVALID and returning a NaN explicitly.
  16094. * math/e_scalbl.c: Do not include <fenv.h>.
  16095. (invalid_fn): Do calculation resulting in NaN instead of raising
  16096. FE_INVALID and returning a NaN explicitly.
  16097. 2016-08-04 Carlos O'Donell <carlos@redhat.com>
  16098. * po/de.po: Updated from Translation Project.
  16099. * po/fi.po: Likewise.
  16100. * po/sv.po: Likewise.
  16101. 2016-08-04 Florian Weimer <fweimer@redhat.com>
  16102. [BZ #20452]
  16103. Use sysdep.o from libc.a in static libraries.
  16104. * sysdeps/unix/sysv/linux/i386/Makefile
  16105. (libpthread-shared-only-routines): Add sysdep.
  16106. (librt-shared-only-routines): Likewise.
  16107. 2016-08-03 Joseph Myers <joseph@codesourcery.com>
  16108. * math/tgmath.h (nextdown): Define if
  16109. [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
  16110. (nextup): Likewise.
  16111. * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
  16112. macro.
  16113. * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
  16114. Document.
  16115. * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
  16116. Document macro.
  16117. * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
  16118. (exp10f): Likewise.
  16119. (exp10l): Likewise.
  16120. * math/bits/mathcalls.h (exp10): Declare if
  16121. [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
  16122. * manual/arith.texi (nextup): Fix typo in last change.
  16123. 2016-08-03 Zack Weinberg <zackw@panix.com>
  16124. [BZ #19239]
  16125. * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
  16126. * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
  16127. define major, minor, and makedev to issue deprecation warnings on use.
  16128. If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
  16129. previously-activated deprecation warnings for these macros and prevent
  16130. subsequent inclusions of this header from having any effect.
  16131. * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
  16132. including <sys/sysmacros.h>, and undefine it again afterward.
  16133. 2016-08-03 Zack Weinberg <zackw@panix.com>
  16134. * sysdeps/generic/sys/sysmacros.h: Delete file.
  16135. * sysdeps/unix/sysv/linux/makedev.c: Delete file.
  16136. * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
  16137. * bits/sysmacros.h: ... here; this encoding is now the generic
  16138. encoding. Now defines only the following macros:
  16139. __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
  16140. __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
  16141. __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
  16142. * misc/sys/sysmacros.h, misc/makedev.c: New files that use
  16143. bits/sysmacros.h and the above new macros to generate the
  16144. public implementations of major, minor, and makedev.
  16145. * misc/tst-makedev.c: New test.
  16146. * include/sys/sysmacros.h: New wrapper.
  16147. * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
  16148. (routines): Add makedev.
  16149. (tests): Add tst-makedev.
  16150. * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
  16151. gnu_dev_makedev.
  16152. * posix/Makefile (headers): Remove sys/sysmacros.h.
  16153. * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
  16154. * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
  16155. gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
  16156. * sysdeps/unix/sysv/linux/aarch64/libc.abilist
  16157. * sysdeps/unix/sysv/linux/alpha/libc.abilist
  16158. * sysdeps/unix/sysv/linux/arm/libc.abilist
  16159. * sysdeps/unix/sysv/linux/hppa/libc.abilist
  16160. * sysdeps/unix/sysv/linux/i386/libc.abilist
  16161. * sysdeps/unix/sysv/linux/ia64/libc.abilist
  16162. * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
  16163. * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
  16164. * sysdeps/unix/sysv/linux/microblaze/libc.abilist
  16165. * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
  16166. * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
  16167. * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
  16168. * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
  16169. * sysdeps/unix/sysv/linux/nios2/libc.abilist
  16170. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
  16171. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
  16172. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
  16173. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
  16174. * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
  16175. * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
  16176. * sysdeps/unix/sysv/linux/sh/libc.abilist
  16177. * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
  16178. * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
  16179. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
  16180. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
  16181. * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
  16182. * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
  16183. * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
  16184. Add GLIBC_2.25.
  16185. * include/features.h (__glibc_clang_prereq): New macro.
  16186. * misc/sys/cdefs.h (__glibc_clang_has_extension)
  16187. (__attribute_deprecated_msg__): New macros.
  16188. 2016-08-03 Joseph Myers <joseph@codesourcery.com>
  16189. * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
  16190. macro.
  16191. * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
  16192. * manual/arith.texi (issignaling): Document as ISO from TS
  16193. 18661-1:2014.
  16194. (nextup): Likewise.
  16195. (nextupf): Likewise.
  16196. (nextupl): Likewise.
  16197. (nextdown): Likewise.
  16198. (nextdownf): Likewise.
  16199. (nextdownl): Likewise.
  16200. * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
  16201. macro.
  16202. * math/math.h: Define
  16203. __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
  16204. <bits/libc-header-start.h> instead of including <features.h>.
  16205. (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
  16206. [__USE_GNU].
  16207. * math/bits/mathcalls.h (nextdown): Declare if
  16208. [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
  16209. (nextup): Likewise.
  16210. (__issignaling): Likewise.
  16211. 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  16212. * s_ccoshf.c (__ccoshf): Remove FE_INVALID
  16213. check, and remove __glibc_likely hint
  16214. from FP_INFINITE check.
  16215. * s_csinhf.c (__csinhf): Likewise.
  16216. * s_ccoshl.c (__ccoshl): Remove __glibc_likely
  16217. hint from FP_INFINITE check.
  16218. * s_csinhl.c (__csinhl): Likewise.
  16219. 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  16220. * math/Makefile (libm-calls): Insert F placeholder into
  16221. object names. Move w_lgamma_compat* routines into
  16222. (libm-compat-calls): New variable.
  16223. (libm-compat-calls-ldouble-yes): New variable.
  16224. (calls): Insert F placeholder.
  16225. (generated): Redefine using new type-foreach macro call.
  16226. (routines): Likewise.
  16227. (types): New variable to hold a list of symbolic names
  16228. for each type supported by the target machine.
  16229. (libm-routines): Redefine using new types variable.
  16230. (type-foreach): macro to replace fooF with the
  16231. appropriately suffixed foo for each types.
  16232. (type-ldouble-suffix): New variable.
  16233. (type-ldouble-routines): Likewise.
  16234. (type-ldouble-yes): Likewise.
  16235. (type-double-suffix): Likewise.
  16236. (type-double-routines): Likewise.
  16237. (type-float-suffix): Likewise.
  16238. (type-float-routines): Likewise.
  16239. (dbl-only-routines): Remove.
  16240. (long-c-yes): Likewise.
  16241. (long-m-routines): Likewise.
  16242. (long-m-support): Likewise.
  16243. (long-m-yes): Likewise.
  16244. (test-longdouble-yes): Likewise.
  16245. (test-float.o): Simplify by increasing the scope of the
  16246. recipe which adds libm-test.stmp to the vector types.
  16247. (test-ifloat.o): Likewise.
  16248. (test-float-finite.o): Likewise.
  16249. (test-double.o): Likewise
  16250. (test-idouble.o): Likewise.
  16251. (test-double-finite.o): Likewise.
  16252. (test-ldouble.o): Likewise
  16253. (test-ildoubl.o): Likewise.
  16254. (test-ldouble-finite.o): Likewise.
  16255. (libm-tests): Redefine type tests using foreach and the
  16256. list of types in types.
  16257. (CPPFLAGS-test-ildoubl.c): Rename to
  16258. (CPPFLAGS-test-ildouble.c): New variable
  16259. * math/test-ildoubl.c: Rename to
  16260. * math/test-ildouble.c: New file.
  16261. 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  16262. * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
  16263. Use fabsl instead of fabs.
  16264. * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
  16265. Likewise.
  16266. * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
  16267. Add long double suffix to constant to ensure proper
  16268. promotion to long double.
  16269. 2016-08-03 Tom Tromey <tom@tromey.com>
  16270. [BZ #20311]
  16271. * nptl_db/Makefile (headers): Add proc_service.h.
  16272. * nptl_db/proc_service.h: Add include guard. Use
  16273. __BEGIN/__END_DECLS.
  16274. (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
  16275. (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
  16276. arguments.
  16277. 2016-08-03 Florian Weimer <fweimer@redhat.com>
  16278. [BZ #17730]
  16279. Avoid using memalign for TCB allocations.
  16280. * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
  16281. (_dl_allocate_tls_storage): Use malloc and manual alignment.
  16282. Avoid alignment gap in the TLS_DTV_AT_TP case.
  16283. (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
  16284. determine the pointer to free.
  16285. * nptl/tst-tls3-malloc.c: New test.
  16286. * nptl/Makefile (tests): Add it.
  16287. (tst-tls3-malloc): Link with libdl, libpthread.
  16288. (LDFLAGS-tst-tls3-malloc): Set.
  16289. (tst-tls3-malloc.out): Depend on DSO used in test.
  16290. 2016-08-03 Florian Weimer <fweimer@redhat.com>
  16291. [BZ #17730]
  16292. Avoid using memalign for TLS allocations.
  16293. * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
  16294. is_static member with to_free member.
  16295. (union dtv): Use struct dtv_pointer.
  16296. * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
  16297. dtv_pointer instead of is_static.
  16298. * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
  16299. (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
  16300. instead of val.
  16301. (allocate_dtv_entry): New function.
  16302. (allocate_and_init): Return struct dtv_pointer. Call
  16303. allocate_dtv_entry instead of __libc_memalign.
  16304. (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
  16305. instead of val.
  16306. (tls_get_addr_tail): Set to_free member of struct dtv_pointer
  16307. instead of is_static. Adjust call to allocate_and_init.
  16308. * nptl/allocatestack.c (get_cached_stack): Free to_free member of
  16309. struct dtv_pointer instead of val.
  16310. 2016-08-03 Florian Weimer <fweimer@redhat.com>
  16311. * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
  16312. (MALLOC_ALIGN_MASK): Move ...
  16313. * malloc/malloc-internal.h: ... to here.
  16314. * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
  16315. 2016-08-03 Joseph Myers <joseph@codesourcery.com>
  16316. * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
  16317. (UDP_ENCAP_GTP1U): Likewise.
  16318. * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
  16319. (PF_MAX): Update value.
  16320. (AF_QIPCRTR): New macro.
  16321. 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
  16322. * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
  16323. * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
  16324. * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
  16325. * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
  16326. [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
  16327. Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
  16328. s_truncf-vis3, s_trunc-vis3.
  16329. (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
  16330. (CFLAGS-s_ceil-vis3.c): Likewise.
  16331. (CFLAGS-s_floorf-vis3.c): Likewise.
  16332. (CFLAGS-s_floor-vis3.c): Likewise.
  16333. (CFLAGS-s_truncf-vis3.c): Likewise.
  16334. (CFLAGS-s_trunc-vis3.c): Likewise.
  16335. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
  16336. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
  16337. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
  16338. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
  16339. * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
  16340. * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
  16341. * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
  16342. * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
  16343. * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
  16344. * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
  16345. * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
  16346. * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
  16347. 2016-08-02 David S. Miller <davem@davemloft.net>
  16348. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
  16349. (__nearbyint_vis3): Don't check for sNaN before float register is
  16350. loaded with the incoming argument.
  16351. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
  16352. (__nearbyintf_vis3): Likewise.
  16353. * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
  16354. Likewise.
  16355. * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
  16356. Likewise.
  16357. * string/test-strncmp.c (do_test_limit): Make sure the test data
  16358. stream is aligned as required for the type "CHAR".
  16359. (do_test): Likewise.
  16360. 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
  16361. * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
  16362. by beq instructions jumping to the end of the function.
  16363. * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
  16364. clobber list. Use "i" constraint instead of "X".
  16365. (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
  16366. of "X".
  16367. 2016-08-02 Joseph Myers <joseph@codesourcery.com>
  16368. * bits/libc-header-start.h: New file.
  16369. * Makefile (headers): Add bits/libc-header-start.h.
  16370. * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
  16371. (__GLIBC_USE): New macro.
  16372. * libio/stdio.h: Define
  16373. __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
  16374. <bits/libc-header-start.h> instead of including <features.h>.
  16375. (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
  16376. (open_memstream): Likewise.
  16377. (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
  16378. (__asprintf): Likewise.
  16379. (asprintf): Likewise.
  16380. (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
  16381. (getdelim): Likewise.
  16382. (getline): Likewise.
  16383. * string/string.h: Define
  16384. __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
  16385. <bits/libc-header-start.h> instead of including <features.h>.
  16386. (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
  16387. (strndup): Likewise.
  16388. * wcsmbs/wchar.h: Define
  16389. __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
  16390. <bits/libc-header-start.h> instead of including <features.h>.
  16391. (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
  16392. * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
  16393. 2016-08-02 Florian Weimer <fweimer@redhat.com>
  16394. Support linking against compatibility symbols, for use in tests.
  16395. * include/libc-symbols.h (symbol_version_reference): New macro.
  16396. (symbol_version): Use it.
  16397. * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
  16398. (compat_symbol): Use compat_symbol_reference.
  16399. (compat_symbol_1, compat_symbol_2): Remove.
  16400. (compat_symbol_reference, compat_symbol_reference_1)
  16401. (compat_symbol_reference_2): New macro. Use
  16402. symbol_version_reference.
  16403. 2016-08-02 Florian Weimer <fweimer@redhat.com>
  16404. [BZ #19469]
  16405. * malloc/Makefile (CPPFLAGS): Compile tests with
  16406. -DTEST_NO_MALLOPT.
  16407. * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
  16408. 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
  16409. [BZ #20033]
  16410. * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
  16411. finite version.
  16412. * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
  16413. * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
  16414. * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
  16415. * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
  16416. * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
  16417. * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
  16418. * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
  16419. * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
  16420. * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
  16421. * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
  16422. * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
  16423. * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
  16424. * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
  16425. * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
  16426. * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
  16427. * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
  16428. * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
  16429. * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
  16430. * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
  16431. * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
  16432. * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
  16433. * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
  16434. * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
  16435. * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
  16436. in zero power.
  16437. 2016-08-02 Florian Weimer <fweimer@redhat.com>
  16438. [BZ #20370]
  16439. * malloc/arena.c (get_free_list): Update comment. Assert that
  16440. arenas on the free list have no attached threads.
  16441. (remove_from_free_list): New function.
  16442. (reused_arena): Call it.
  16443. 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
  16444. * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
  16445. when it is a NaN.
  16446. [_IEEE_FP_INEXACT] Remove.
  16447. * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
  16448. * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
  16449. when it is a NaN.
  16450. [_IEEE_FP_INEXACT] Remove.
  16451. * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
  16452. * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
  16453. when it is a NaN.
  16454. * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
  16455. * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
  16456. when its absolute value is greater than 0x1.0p52.
  16457. [_IEEE_FP_INEXACT] Remove.
  16458. * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
  16459. when its absolute value is greater than 0x1.0p23.
  16460. [_IEEE_FP_INEXACT] Remove.
  16461. 2016-08-01 Carlos O'Donell <carlos@redhat.com>
  16462. * version.h (RELEASE): Set to "development"
  16463. (VERSION): Set to 2.24.90.
  16464. * NEWS: Add 2.25 section.
  16465. * version.h (RELEASE): Set to "stable"
  16466. (VERSION): Set to 2.24.
  16467. * include/features.h (__GLIBC_MINOR__): Set to 24.
  16468. * NEWS: Add 2.24 fixed bugs.
  16469. * po/libc.pot: Regenerate.
  16470. 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
  16471. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
  16472. [$(subdir) = math] (libm-sysdep_routines): Remove.
  16473. [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
  16474. Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
  16475. s_truncf-vis3, s_trunc-vis3.
  16476. * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
  16477. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
  16478. file.
  16479. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
  16480. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
  16481. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
  16482. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
  16483. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
  16484. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
  16485. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
  16486. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
  16487. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
  16488. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
  16489. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
  16490. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
  16491. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
  16492. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
  16493. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
  16494. * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
  16495. * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
  16496. * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
  16497. * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
  16498. * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
  16499. * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
  16500. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
  16501. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
  16502. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
  16503. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
  16504. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
  16505. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
  16506. * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
  16507. * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
  16508. * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
  16509. * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
  16510. * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
  16511. * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
  16512. * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
  16513. * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
  16514. * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
  16515. * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
  16516. * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
  16517. * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
  16518. * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
  16519. * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
  16520. * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
  16521. * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
  16522. 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
  16523. [BZ #20384]
  16524. * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
  16525. test-double-libmvec-sincos-avx-main.o,
  16526. test-double-libmvec-sincos-avx2-main.o,
  16527. test-double-libmvec-sincos-main.o,
  16528. test-float-libmvec-sincosf-avx-main.o,
  16529. test-float-libmvec-sincosf-avx2-main.o and
  16530. test-float-libmvec-sincosf-main.o.
  16531. test-float-libmvec-sincosf-avx512-main.o.
  16532. ($(objpfx)test-double-libmvec-sincos): Also link with
  16533. $(objpfx)test-double-libmvec-sincos-main.o.
  16534. ($(objpfx)test-double-libmvec-sincos-avx): Also link with
  16535. $(objpfx)test-double-libmvec-sincos-avx-main.o.
  16536. ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
  16537. $(objpfx)test-double-libmvec-sincos-avx2-main.o.
  16538. ($(objpfx)test-float-libmvec-sincosf): Also link with
  16539. $(objpfx)test-float-libmvec-sincosf-main.o.
  16540. ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
  16541. $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
  16542. [$(config-cflags-avx512) == yes] (extra-test-objs): Add
  16543. test-double-libmvec-sincos-avx512-main.o and
  16544. ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
  16545. $(objpfx)test-double-libmvec-sincos-avx512-main.o.
  16546. ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
  16547. $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
  16548. (CFLAGS-test-double-libmvec-sincos.c): Removed.
  16549. (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
  16550. (CFLAGS-test-double-libmvec-sincos-main.c): New.
  16551. (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
  16552. (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
  16553. (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
  16554. (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
  16555. (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
  16556. (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
  16557. (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
  16558. (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
  16559. (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
  16560. -DREQUIRE_AVX2.
  16561. (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
  16562. (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
  16563. -DREQUIRE_AVX512F.
  16564. (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
  16565. * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
  16566. * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
  16567. * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
  16568. file.
  16569. * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
  16570. Likewise.
  16571. * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
  16572. Likewise.
  16573. * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
  16574. Likewise.
  16575. * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
  16576. Likewise.
  16577. * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
  16578. Likewise.
  16579. * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
  16580. Likewise.
  16581. * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
  16582. Likewise.
  16583. 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
  16584. * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
  16585. 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
  16586. * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
  16587. and typo in a comment about AT_HWCAP entry.
  16588. 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
  16589. * sysdeps/aarch64/libm-test-ulps: Updated.
  16590. 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
  16591. * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
  16592. of r13 as it is not restored in mvcle case.
  16593. 2016-07-19 Mike Frysinger <vapier@gentoo.org>
  16594. * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
  16595. Rename "ret" to "__ret".
  16596. (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
  16597. inline_syscall5, inline_syscall6): Likewise.
  16598. 2016-07-19 Will Newton <will.newton@gmail.com>
  16599. * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
  16600. R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
  16601. R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
  16602. R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
  16603. R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
  16604. 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
  16605. * sysdeps/i386/Makefile (rtld-CFLAGS): New.
  16606. [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
  16607. -mfpmath=387 with $(rtld-CFLAGS).
  16608. [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
  16609. $(rtld-CFLAGS).
  16610. 2016-07-18 Ross Burton <ross.burton@intel.com>
  16611. Khem Raj <raj.khem@gmail.com>
  16612. * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
  16613. R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
  16614. R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
  16615. R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
  16616. R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
  16617. R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
  16618. R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
  16619. R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
  16620. R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
  16621. R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
  16622. R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
  16623. R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
  16624. R_METAG_TLS_DTPOFF): New.
  16625. 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
  16626. Matt Clay <mclay@lycos.com>
  16627. [BZ #20357]
  16628. * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
  16629. to call __mpsin/__mpcos and to negate values.
  16630. * math/auto-libm-test-in: Add test.
  16631. * math/auto-libm-test-out: Regenerate.
  16632. 2016-07-18 Zack Weinberg <zackw@panix.com>
  16633. * grp/Makefile: Don't install the internal header grp-merge.h.
  16634. 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
  16635. * sysdeps/aarch64/libm-test-ulps: Regenerated.
  16636. 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
  16637. * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
  16638. 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  16639. [BZ #15368]
  16640. * sysdeps/unix/sysv/linux/nptl-signals.h
  16641. (__nptl_clear_internal_signals): New function.
  16642. (__libc_signal_block_all): Likewise.
  16643. (__libc_signal_block_app): Likewise.
  16644. (__libc_signal_restore_set): Likewise.
  16645. * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
  16646. implementation.
  16647. * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
  16648. the cached pid/tid value in pthread structure.
  16649. 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
  16650. [BZ #20347]
  16651. * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
  16652. 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
  16653. [BZ #20348]
  16654. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
  16655. preadv64, pwrite64 and pwritev64.
  16656. 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
  16657. [BZ #20350]
  16658. * posix/tst-preadwrite.c: Renamed to ...
  16659. * posix/tst-preadwrite-common.c: This.
  16660. (PREAD): Removed.
  16661. (PWRITE): Likewise.
  16662. (STRINGIFY): Likewise.
  16663. (STRINGIFY2): Likewise.
  16664. (do_prepare): Make it static and remove function arguments.
  16665. (do_test): Likewise.
  16666. (PREPARE): Updated.
  16667. (TEST_FUNCTION): New.
  16668. (name): Make it static.
  16669. (fd): Likewise.
  16670. (do_prepare): Use create_temp_file.
  16671. (do_test): Renamed to ...
  16672. (do_test_with_offset): This. Make it static and accept offset.
  16673. Properly check return value of PWRITE and PREAD. Return bytes
  16674. read. Don't close fd nor unlink name.
  16675. * posix/tst-preadwrite.c: Rewrite.
  16676. * posix/tst-preadwrite64.c: Likewise.
  16677. 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
  16678. [BZ #20309]
  16679. * configure.ac (have-mtls-dialect-gnu2): Set to yes if
  16680. -mtls-dialect=gnu2 works.
  16681. * configure: Regenerated.
  16682. * elf/Makefile [have-mtls-dialect-gnu2 = yes]
  16683. (tests): Add tst-gnu2-tls1.
  16684. (modules-names): Add tst-gnu2-tls1mod.
  16685. ($(objpfx)tst-gnu2-tls1): New.
  16686. (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
  16687. (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
  16688. * elf/tst-gnu2-tls1.c: New file.
  16689. * elf/tst-gnu2-tls1mod.c: Likewise.
  16690. * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
  16691. bytes for push in the PLT entry to align the stack.
  16692. 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
  16693. [BZ #20349]
  16694. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
  16695. 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
  16696. [BZ #18707]
  16697. * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
  16698. * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
  16699. 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  16700. * sysdeps/unix/sysv/linux/sysdep.h
  16701. [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
  16702. guards.
  16703. * misc/tst-preadvwritev-common.c: New file.
  16704. * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
  16705. * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
  16706. a check for files larger than 2GB.
  16707. * sysdeps/unix/sysv/linux/mips/kernel-features.h
  16708. (__ASSUME_OFF_DIFF_OFF64): Remove define.
  16709. * sysdeps/unix/sysv/linux/pread.c
  16710. [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
  16711. __OFF_T_MATCHES_OFF64_T.
  16712. * sysdeps/unix/sysv/linux/pread64.c
  16713. [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
  16714. * sysdeps/unix/sysv/linux/preadv.c
  16715. [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
  16716. * sysdeps/unix/sysv/linux/preadv64.c
  16717. [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
  16718. * sysdeps/unix/sysv/linux/pwrite.c
  16719. [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
  16720. * sysdeps/unix/sysv/linux/pwrite64.c
  16721. [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
  16722. * sysdeps/unix/sysv/linux/pwritev.c
  16723. [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
  16724. * sysdeps/unix/sysv/linux/pwritev64.c
  16725. [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
  16726. 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
  16727. * sysdeps/unix/sysv/linux/tile/kernel-features.h
  16728. (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
  16729. 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
  16730. * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
  16731. 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
  16732. [BZ #20240]
  16733. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
  16734. (CFLAGS-s_modf-ppc32.c): New variable.
  16735. (CFLAGS-s_modff-ppc32.c): Likewise.
  16736. * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
  16737. (CFLAGS-s_modf-ppc64.c): Likewise.
  16738. (CFLAGS-s_modff-ppc64.c): Likewise.
  16739. 2016-07-07 Andreas Schwab <schwab@suse.de>
  16740. [BZ #20263]
  16741. * nptl/tst-robust10.c: New test.
  16742. * nptl/Makefile (tests): Add tst-robust10.
  16743. 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
  16744. [BZ #20263]
  16745. * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
  16746. 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
  16747. * sysdeps/s390/linkmap.h (struct link_map_machine):
  16748. Remove member gotplt and add member jmprel.
  16749. * sysdeps/s390/s390-32/dl-machine.h
  16750. (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
  16751. instead of gotplt with &got[3].
  16752. (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
  16753. * sysdeps/s390/s390-64/dl-machine.h: Likewise.
  16754. 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
  16755. * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
  16756. 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
  16757. * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
  16758. _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
  16759. [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
  16760. (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
  16761. * libio/vtables.c (_IO_vtable_check)
  16762. [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
  16763. * libio/libioP.h (IO_set_accept_foreign_vtables)
  16764. [!PTR_MANGLE]: Do not call PTR_MANGLE.
  16765. 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
  16766. [BZ #20314]
  16767. * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
  16768. * Makerules (before-compile): Add $(common-objpfx)cstdlib and
  16769. $(common-objpfx)cmath.
  16770. ($(common-objpfx)cstdlib): New target.
  16771. ($(common-objpfx)cmath): Likewise.
  16772. 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
  16773. * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
  16774. 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  16775. [BZ #20327]
  16776. * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
  16777. are not part of the string.
  16778. 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  16779. * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
  16780. * nptl/tst-cancel4-common.h (fifoname): New variable.
  16781. (fifofd): Likewise.
  16782. (cl_fifo): New function.
  16783. * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
  16784. SIGINT.
  16785. (tf_open): Add early cancel test.
  16786. 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
  16787. * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
  16788. 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
  16789. * sysdeps/generic/ldsodefs.h
  16790. (dl_symbol_visibility_binds_local_p): New inline function.
  16791. * elf/dl-addr.c (determine_info): Treat hidden and internal
  16792. symbols as local.
  16793. * elf/dl-lookup.c (do_lookup_x): Likewise.
  16794. * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
  16795. 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
  16796. * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
  16797. invalid exception for a sNaN input.
  16798. * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
  16799. * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
  16800. (__nearbyint_vis3): Likewise
  16801. * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
  16802. (__nearbyintf_vis3): Likewise
  16803. * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
  16804. * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
  16805. * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
  16806. Likewise.
  16807. * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
  16808. Likewise.
  16809. 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
  16810. [BZ #20139]
  16811. * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
  16812. (HAVE_AVX512DQ_ASM_SUPPORT): This.
  16813. * sysdeps/x86_64/configure.ac: Require assembler from binutils
  16814. 2.24 or above.
  16815. (HAVE_AVX512_ASM_SUPPORT): Removed.
  16816. (HAVE_AVX512DQ_ASM_SUPPORT): New.
  16817. * sysdeps/x86_64/configure: Regenerated.
  16818. * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
  16819. check unconditional.
  16820. * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
  16821. * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
  16822. * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
  16823. * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
  16824. Likewise.
  16825. * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
  16826. Likewise.
  16827. * sysdeps/x86_64/multiarch/memmove.S: Likewise.
  16828. * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
  16829. * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
  16830. * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
  16831. * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
  16832. Likewise.
  16833. * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
  16834. Likewise.
  16835. * sysdeps/x86_64/multiarch/memset.S: Likewise.
  16836. * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
  16837. * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
  16838. HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
  16839. * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
  16840. Likewise.
  16841. * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
  16842. Likewise.
  16843. * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
  16844. Likewise.
  16845. * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
  16846. Likewise.
  16847. * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
  16848. Likewise.
  16849. * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
  16850. Likewise.
  16851. * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
  16852. Likewise.
  16853. * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
  16854. Likewise.
  16855. * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
  16856. Likewise.
  16857. * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
  16858. Likewise.
  16859. * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
  16860. Likewise.
  16861. 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
  16862. [BZ #20024]
  16863. * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
  16864. * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
  16865. of this implementation of vector function.
  16866. * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
  16867. * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
  16868. * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
  16869. Likewise.
  16870. * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
  16871. * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
  16872. * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
  16873. * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
  16874. * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
  16875. * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
  16876. * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
  16877. * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
  16878. * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
  16879. * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
  16880. * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
  16881. for testing vector sincos with fixed ABI.
  16882. * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
  16883. * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
  16884. * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
  16885. * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
  16886. * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
  16887. * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
  16888. * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
  16889. * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
  16890. * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
  16891. * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
  16892. * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
  16893. * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
  16894. * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
  16895. * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
  16896. * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
  16897. * sysdeps/x86_64/fpu/Makefile: Added new tests.
  16898. 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
  16899. * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
  16900. 2016-06-30 Anton Blanchard <anton@samba.org>
  16901. * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
  16902. [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
  16903. s_sinf-ppc64.
  16904. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
  16905. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
  16906. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
  16907. * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
  16908. 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  16909. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  16910. * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
  16911. [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
  16912. e_expf-ppc64.
  16913. * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
  16914. * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
  16915. * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
  16916. * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
  16917. 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
  16918. [BZ #20277]
  16919. * sysdeps/hppa/start.S (_start): Correct loading of global pointer
  16920. when SHARED is defined.
  16921. 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
  16922. * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
  16923. (index_arch_Prefer_ERMS): Likewise.
  16924. * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
  16925. __memcpy_erms for Prefer_ERMS.
  16926. * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
  16927. (__memmove_erms): Enabled for libc.a.
  16928. * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
  16929. __memmove_erms or Prefer_ERMS.
  16930. * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
  16931. __mempcpy_erms for Prefer_ERMS.
  16932. * sysdeps/x86_64/multiarch/memset.S (memset): Return
  16933. __memset_erms for Prefer_ERMS.
  16934. 2016-06-30 Andreas Schwab <schwab@suse.de>
  16935. [BZ #20262]
  16936. * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
  16937. NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
  16938. of memory.
  16939. 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
  16940. [BZ #18645]
  16941. * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
  16942. (test-extras): Add tst-cleanupx4aux.
  16943. (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
  16944. ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
  16945. tst-cleanupx4aux.o.
  16946. * nptl/tst-cleanupx4aux.c: New file.
  16947. 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
  16948. * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
  16949. 2016-06-29 Andreas Schwab <schwab@suse.de>
  16950. [BZ #20260]
  16951. * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
  16952. address before the beginning of the string as an integer to avoid
  16953. array-bounds warning.
  16954. 2016-06-28 Richard Henderson <rth@redhat.com>
  16955. * elf/elf.h (EM_BPF): New.
  16956. (EM_NUM): Update.
  16957. (R_BPF_NONE, R_BPF_MAP_FD): New.
  16958. * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
  16959. EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
  16960. EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
  16961. EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
  16962. EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
  16963. EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
  16964. EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
  16965. EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
  16966. EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
  16967. EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
  16968. EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
  16969. EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
  16970. EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
  16971. EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
  16972. EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
  16973. EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
  16974. EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
  16975. (EM_NUM): Update.
  16976. 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
  16977. [BZ #18960]
  16978. * locale/localeinfo.h (_NL_CURRENT_DEFINE):
  16979. Set _nl_current_LC_CATEGORY_used to two instead of one.
  16980. 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
  16981. * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
  16982. (do_test): ... this.
  16983. (TEST_FUNCTION): New macro.
  16984. Include test-skeleton.c.
  16985. * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
  16986. * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
  16987. 2016-06-27 Joseph Myers <joseph@codesourcery.com>
  16988. [BZ #15479]
  16989. * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
  16990. floating-point environment rather than just control word.
  16991. * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
  16992. * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
  16993. floating-point environment, with "invalid" exceptions merged in,
  16994. rather than just control word.
  16995. * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
  16996. * math/libm-test.inc (trunc_test_data): Do not allow spurious
  16997. "inexact" exceptions.
  16998. [BZ #15479]
  16999. * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
  17000. floating-point environment rather than just control word.
  17001. * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
  17002. * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
  17003. floating-point environment, with "invalid" exceptions merged in,
  17004. rather than just control word.
  17005. * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
  17006. * math/libm-test.inc (floor_test_data): Do not allow spurious
  17007. "inexact" exceptions.
  17008. [BZ #15479]
  17009. * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
  17010. floating-point environment rather than just control word.
  17011. * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
  17012. * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
  17013. floating-point environment, with "invalid" exceptions merged in,
  17014. rather than just control word.
  17015. * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
  17016. * math/libm-test.inc (ceil_test_data): Do not allow spurious
  17017. "inexact" exceptions.
  17018. 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
  17019. * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
  17020. __libc_vfork.
  17021. (__vfork) [IS_IN (libc)]: Remove alias.
  17022. (__libc_vfork) [IS_IN (libc)]: Define as an alias.
  17023. * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
  17024. * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
  17025. 2016-06-24 Torvald Riegel <triegel@redhat.com>
  17026. * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
  17027. of atomic_compare_and_exchange_bool_rel.
  17028. * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
  17029. * include/atomic.h (atomic_compare_and_exchange_bool_rel,
  17030. catomic_compare_and_exchange_bool_rel): Remove.
  17031. * sysdeps/aarch64/atomic-machine.h
  17032. (atomic_compare_and_exchange_bool_rel): Likewise.
  17033. * sysdeps/alpha/atomic-machine.h
  17034. (atomic_compare_and_exchange_bool_rel): Likewise.
  17035. * sysdeps/arm/atomic-machine.h
  17036. (atomic_compare_and_exchange_bool_rel): Likewise.
  17037. * sysdeps/mips/atomic-machine.h
  17038. (atomic_compare_and_exchange_bool_rel): Likewise.
  17039. * sysdeps/microblaze/atomic-machine.h
  17040. ( __arch_compare_and_exchange_bool_8_rel,
  17041. __arch_compare_and_exchange_bool_16_rel): Likewise.
  17042. * sysdeps/powerpc/atomic-machine.h
  17043. ( __arch_compare_and_exchange_bool_8_rel,
  17044. __arch_compare_and_exchange_bool_16_rel): Likewise.
  17045. * sysdeps/powerpc/powerpc32/atomic-machine.h
  17046. ( __arch_compare_and_exchange_bool_32_rel,
  17047. __arch_compare_and_exchange_bool_64_rel): Likewise.
  17048. * sysdeps/powerpc/powerpc64/atomic-machine.h
  17049. ( __arch_compare_and_exchange_bool_32_rel,
  17050. __arch_compare_and_exchange_bool_64_rel): Likewise.
  17051. * sysdeps/tile/atomic-machine.h
  17052. (atomic_compare_and_exchange_bool_rel): Likewise.
  17053. 2016-06-23 Joseph Myers <joseph@codesourcery.com>
  17054. [BZ #20296]
  17055. * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
  17056. when either argument is a NaN.
  17057. * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
  17058. * math/libm-test.inc (scalb_test_data): Add sNaN tests.
  17059. * math/libm-test.inc (snan_value_ld): New macro.
  17060. (isgreater_test_data): Add sNaN tests.
  17061. (isgreaterequal_test_data): Likewise.
  17062. (isless_test_data): Likewise.
  17063. (islessequal_test_data): Likewise.
  17064. (islessgreater_test_data): Likewise.
  17065. (isunordered_test_data): Likewise.
  17066. (nextafter_test_data): Likewise.
  17067. (nexttoward_test_data): Likewise.
  17068. (remainder_test_data): Likewise.
  17069. (remquo_test_data): Likewise.
  17070. (significand_test_data): Likewise.
  17071. * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
  17072. 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
  17073. * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
  17074. environment macros are defined.
  17075. (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
  17076. 2016-06-23 Florian Weimer <fweimer@redhat.com>
  17077. [BZ #20191]
  17078. Implement vtable verification in libio.
  17079. * Makerules (shlib.lds): Place __libc_IO_vtables section.
  17080. * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
  17081. * debug/vdprintf_chk.c (__vdprintf_chk): Call
  17082. _IO_new_file_init_internal instead of _IO_file_init.
  17083. * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
  17084. * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
  17085. * libio/Makefile (routines): Add vtables.
  17086. * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
  17087. (_IO_init): Remove, not for internal use.
  17088. (_IO_init_internal): Declare, internal replacement for _IO_init.
  17089. (_IO_file_init): Remove, not for internal use.
  17090. (_IO_new_file_init): Remove, not for internal use.
  17091. (_IO_new_file_init_internal): Declare, internal replacement for
  17092. _IO_new_file_init.
  17093. (_IO_old_file_init): Remove, not for internal use.
  17094. (_IO_old_file_init_internal): Declare, internal replacement for
  17095. _IO_old_file_init.
  17096. (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
  17097. internal use.
  17098. (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
  17099. Declare.
  17100. (libio_vtable): New macro.
  17101. (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
  17102. functions.
  17103. * libio/fileops.c (_IO_new_file_init_internal): Rename from
  17104. _IO_new_file_init.
  17105. (_IO_new_file_init): New externally visible wrapper which disables
  17106. vtable verification.
  17107. (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
  17108. Define as vtables.
  17109. * libio/genops.c (_IO_init_internal): Rename from _IO_init.
  17110. (_IO_init): New externally visible wrapper which disables
  17111. vtable verification.
  17112. * libio/iofdopen.c (_IO_new_fdopen): Call
  17113. _IO_new_file_init_internal instead of _IO_file_init. Adjust
  17114. comment.
  17115. * libio/iofopen.c (__fopen_internal): Call
  17116. _IO_new_file_init_internal instead of _IO_file_init.
  17117. * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
  17118. Define as vtables.
  17119. (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
  17120. _IO_new_file_init_internal instead of _IO_file_init.
  17121. * libio/iopopen.c (_IO_new_popen): Likewise.
  17122. (_IO_proc_jumps): Define as vtable.
  17123. * libio/iovdprintf.c (_IO_vdprintf): Call
  17124. _IO_new_file_init_internal instead of _IO_file_init.
  17125. * libio/memstream.c (_IO_mem_jumps): Define as vtable.
  17126. (__open_memstream): Call _IO_init_internal instead of _IO_init.
  17127. * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
  17128. * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
  17129. _IO_old_file_init.
  17130. (_IO_old_file_init): New externally visible wrapper which disables
  17131. vtable verification.
  17132. (_IO_old_file_jumps): Define as vtable.
  17133. * libio/oldiofdopen.c (_IO_old_fdopen): Call
  17134. _IO_old_file_init_internal instead of _IO_old_file_init.
  17135. * libio/oldiofopen.c (_IO_old_fopen): Likewise.
  17136. * libio/oldiopopen.c (_IO_old_popen): Likewise.
  17137. (_IO_old_proc_jumps): Define as vtable.
  17138. * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
  17139. Define as vtables.
  17140. * libio/vtables.c: New file.
  17141. * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
  17142. (_IO_wfile_jumps_maybe_mmap): Define as vtables.
  17143. * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
  17144. * libio/wstrops.c (_IO_wstr_jumps): Likewise.
  17145. * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
  17146. * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
  17147. instead of _IO_init.
  17148. 2016-06-23 Florian Weimer <fweimer@redhat.com>
  17149. * test-skeleton.c (xrealloc): Support deallocation with n == 0.
  17150. 2016-06-23 Florian Weimer <fweimer@redhat.com>
  17151. * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
  17152. potentially unused.
  17153. 2016-06-22 Florian Weimer <fweimer@redhat.com>
  17154. * test-skeleton.c (write_message): New function.
  17155. * malloc/tst-mallocfork2.c (write_message): Remove.
  17156. * debug/tst-longjmp_chk2.c (write_indented): New function.
  17157. (write_message): Remove.
  17158. (stackoverflow_handler): Call write_indented.
  17159. 2016-06-22 Joseph Myers <joseph@codesourcery.com>
  17160. * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
  17161. "inexact" exceptions after fnstenv.
  17162. * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
  17163. * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
  17164. * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
  17165. 2015-06-22 Zack Weinberg <zackw@panix.com>
  17166. * sysdeps/generic/bits/hwcap.h: Moved to ...
  17167. * bits/hwcap.h: Here.
  17168. 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
  17169. * sysdeps/aarch64/memcpy.S (memcpy):
  17170. Further tuning for performance.
  17171. 2016-06-21 Florian Weimer <fweimer@redhat.com>
  17172. [BZ #20284]
  17173. * malloc/arena.c (reused_arena): Do not return NULL if we start
  17174. out with a non-corrupted arena.
  17175. 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  17176. * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
  17177. * misc/tst-preadvwritev.c: New file.
  17178. * misc/tst-preadvwritev64.c: Likewise.
  17179. * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
  17180. usage.
  17181. * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
  17182. * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
  17183. * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
  17184. * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
  17185. 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
  17186. [BZ #19654]
  17187. * sysdeps/x86_64/fpu/Makefile: Added new tests.
  17188. * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
  17189. * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
  17190. * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
  17191. * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
  17192. * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
  17193. * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
  17194. * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
  17195. * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
  17196. * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
  17197. * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
  17198. * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
  17199. * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
  17200. * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
  17201. * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
  17202. * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
  17203. * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
  17204. * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
  17205. * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
  17206. * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
  17207. * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
  17208. * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
  17209. * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
  17210. * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
  17211. * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
  17212. * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
  17213. 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
  17214. * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
  17215. * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
  17216. 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
  17217. * sysdeps/aarch64/memcpy.S (memcpy):
  17218. Rewrite of optimized memcpy and memmove.
  17219. * sysdeps/aarch64/memmove.S (memmove): Remove
  17220. memmove code (merged into memcpy.S).
  17221. 2016-06-20 Florian Weimer <fweimer@redhat.com>
  17222. Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
  17223. * sysdeps/generic/dl-dtv.h: New file.
  17224. * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
  17225. * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
  17226. (dtv_t): Remove.
  17227. * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
  17228. * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
  17229. (dtv_t): Remove.
  17230. * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
  17231. * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
  17232. (dtv_t): Remove.
  17233. * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
  17234. * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
  17235. (dtv_t): Remove.
  17236. * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
  17237. * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
  17238. (dtv_t): Remove.
  17239. * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
  17240. * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
  17241. (dtv_t): Remove.
  17242. * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
  17243. * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
  17244. (dtv_t): Remove.
  17245. * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
  17246. (dtv_t): Remove.
  17247. * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
  17248. * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
  17249. (dtv_t): Remove.
  17250. * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
  17251. * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
  17252. (dtv_t): Remove.
  17253. * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
  17254. * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
  17255. (dtv_t): Remove.
  17256. * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
  17257. * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
  17258. (dtv_t): Remove.
  17259. * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
  17260. * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
  17261. (dtv_t): Remove.
  17262. * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
  17263. * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
  17264. (dtv_t): Remove.
  17265. * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
  17266. * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
  17267. (dtv_t): Remove.
  17268. * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
  17269. * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
  17270. (dtv_t): Remove.
  17271. 2016-06-20 Florian Weimer <fweimer@redhat.com>
  17272. Revert symbol poisoning of __malloc_initialize_hook.
  17273. * include/stdc-predef.h (__malloc_initialize_hook): Remove
  17274. poisoning.
  17275. * malloc/Makefile: Remove un-poisoning.
  17276. * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
  17277. instead of old__malloc_initialize_hook.
  17278. * malloc/malloc-hooks.h: Likewise.
  17279. * malloc/malloc.c: Likewise.
  17280. * malloc/mcheck-init.c: Likewise.
  17281. 2016-06-19 Carlos O'Donell <carlos@redhat.com>
  17282. * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
  17283. 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
  17284. * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
  17285. hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
  17286. * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
  17287. * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
  17288. 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  17289. * NEWS: Mention addition of nextup and nextdown.
  17290. * manual/arith.texi: Document nextup and nextdown.
  17291. * manual/libm-err-tab.pl: Add nextup and nextdown.
  17292. * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
  17293. * math/Versions (libm): Add GLIBC_2.24.
  17294. * math/bits/mathcalls.h: Add nextup and nextdown declaration.
  17295. * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
  17296. Add new test.
  17297. (nextafter_test_data) [TEST_COND_binary32]: Likewise.
  17298. (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
  17299. (nextafter_test_data) [TEST_COND_binary64]: Likewise.
  17300. (nextafter_test_data) [TEST_COND_binary128]: Likewise.
  17301. (nextup_test_data): Likewise.
  17302. (nextdown_test_data): Likewise.
  17303. * math/s_nextdown.c: New file.
  17304. * math/s_nextdownf.c: Likewise.
  17305. * math/s_nextdownl.c: Likewise.
  17306. * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
  17307. F(nextup): New function.
  17308. F(nextdown): Likewise.
  17309. * math/tgmath.h: Add nextup and nextdown.
  17310. * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
  17311. * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
  17312. * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
  17313. * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
  17314. * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
  17315. * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
  17316. Add nextup and nextdown.
  17317. (CFLAGS-nldbl-nextup.c): New variable.
  17318. (CFLAGS-nldbl-nextdown.c): Likewise.
  17319. * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
  17320. * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
  17321. * sysdeps/nacl/libm.abilist: Update.
  17322. * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
  17323. * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
  17324. * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
  17325. * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
  17326. * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
  17327. * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
  17328. * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
  17329. * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
  17330. * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
  17331. * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
  17332. * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
  17333. * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
  17334. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
  17335. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
  17336. Likewise.
  17337. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
  17338. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
  17339. * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
  17340. * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
  17341. * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
  17342. * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
  17343. * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
  17344. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
  17345. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
  17346. * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
  17347. * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
  17348. * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
  17349. * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
  17350. 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
  17351. * manual/pattern.texi: Fix typos & grammar errors.
  17352. 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
  17353. * manual/search.texi: Fix typos & grammar errors.
  17354. 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
  17355. * manual/message.texi: Fix typos & grammar errors.
  17356. 2016-06-16 Mike Frysinger <vapier@gentoo.org>
  17357. * manual/contrib.texi: Fix spelling typos.
  17358. * manual/crypt.texi: Likewise.
  17359. * manual/filesys.texi: Likewise.
  17360. * manual/locale.texi: Likewise.
  17361. * manual/message.texi: Likewise.
  17362. * manual/nss.texi: Likewise.
  17363. * manual/string.texi: Likewise.
  17364. 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
  17365. * manual/locale.texi: Fix typos & grammar errors.
  17366. 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
  17367. * manual/charset.texi: Fix typos & grammar errors.
  17368. 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
  17369. * manual/string.texi: Fix typos.
  17370. 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
  17371. * manual/ctype.texi: Fix typos.
  17372. 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
  17373. * manual/memory.texi: Fix various typos & grammar errors.
  17374. 2016-06-14 Joseph Myers <joseph@codesourcery.com>
  17375. [BZ #20255]
  17376. * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
  17377. * math/libm-test.inc (fdim_test_data): Add another test.
  17378. [BZ #6796]
  17379. [BZ #20255]
  17380. [BZ #20256]
  17381. * math/s_fdim.c: Include <math_private.h>.
  17382. (__fdim): Use math_narrow_eval on result.
  17383. * math/s_fdimf.c: Include <math_private.h>.
  17384. (__fdimf): Use math_narrow_eval on result.
  17385. * sysdeps/i386/fpu/s_fdim.S: Remove file.
  17386. * sysdeps/i386/fpu/s_fdimf.S: Likewise.
  17387. * sysdeps/i386/fpu/s_fdiml.S: Likewise.
  17388. * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
  17389. * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
  17390. * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
  17391. * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
  17392. * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
  17393. * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
  17394. * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
  17395. * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
  17396. * math/libm-test.inc (fdim_test_data): Expect errno setting on
  17397. overflow. Add sNaN tests.
  17398. * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
  17399. fpclassify.
  17400. * math/s_fdimf.c (__fdimf): Likewise.
  17401. * math/s_fdiml.c (__fdiml): Likewise.
  17402. 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  17403. * sysdeps/powerpc/powerpc64/multiarch/Makefile:
  17404. (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
  17405. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
  17406. (__libc_ifunc_impl_list): Add entries for P8 and PPC64
  17407. ifunc'ed strcasecmp/strncasecmp.
  17408. * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
  17409. [EALIGN]: Removed.
  17410. [END]: Likewise.
  17411. [__strcasecmp]: Define instead of the above to control symbol name.
  17412. * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
  17413. for __strcasecmp_power8.
  17414. * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
  17415. for __strncasecmp_power8.
  17416. * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
  17417. * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
  17418. * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
  17419. * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
  17420. * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
  17421. * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
  17422. 2016-06-13 Joseph Myers <joseph@codesourcery.com>
  17423. [BZ #20252]
  17424. * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
  17425. arguments when second argument is a NaN.
  17426. * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
  17427. qNaN tests.
  17428. * math/libm-test.inc (cimag_test_data): Add sNaN tests.
  17429. (conj_test_data): Likewise.
  17430. (copysign_test_data): Likewise.
  17431. (creal_test_data): Likewise.
  17432. (fma_test_data): Likewise.
  17433. (fmod_test_data): Likewise.
  17434. [BZ #20250]
  17435. * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
  17436. itself.
  17437. * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
  17438. zero input to itself.
  17439. * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
  17440. Likewise.
  17441. * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
  17442. * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
  17443. * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
  17444. * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
  17445. * math/libm-test.inc (frexp_test_data): Add sNaN tests.
  17446. 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  17447. * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
  17448. * nptl/tst-cancel4-common.c: New file.
  17449. * nptl/tst-cancel4-common.h: Likewise.
  17450. * nptl/tst-cancel4.c: Move common definitions to
  17451. tst-cancel4-common.{c,h} file.
  17452. * nptl/tst-cancel4_1.c: New test.
  17453. * nptl/tst-cancel4_2.c: New test.
  17454. 2016-06-13 Florian Weimer <fweimer@redhat.com>
  17455. [BZ #20248]
  17456. * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
  17457. (write_message): New function.
  17458. (stackoverflow_handler): Call it instead of printf, to avoid
  17459. excessive stack usage by printf.
  17460. (do_test): Restore SIGSEGV, SIGBUS default handlers.
  17461. 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  17462. * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
  17463. (prio_inherit_missing): Remove define.
  17464. * sysdeps/unix/sysv/linux/arm/kernel-features.h
  17465. (__ASSUME_FUTEX_LOCK_PI): Likewise.
  17466. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
  17467. Likewise.
  17468. * sysdeps/unix/sysv/linux/m68k/kernel-features.h
  17469. (__ASSUME_FUTEX_LOCK_PI): Likewise.
  17470. * sysdeps/unix/sysv/linux/mips/kernel-features.h
  17471. (__ASSUME_FUTEX_LOCK_PI): Likewise.
  17472. * sysdeps/unix/sysv/linux/sparc/kernel-features.h
  17473. (__ASSUME_FUTEX_LOCK_PI): Likewise.
  17474. 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
  17475. [BZ #19670]
  17476. [BZ #19672]
  17477. * io/test-lfs.c (do_prepare): Use xmalloc.
  17478. * io/tst-fcntl.c (do_prepare): Likewise.
  17479. * libio/tst-fopenloc.c (do_bz17916): Likewise.
  17480. * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
  17481. * login/tst-utmp.c (do_prepare): Likewise.
  17482. * posix/tst-exec.c (do_prepare): Likewise.
  17483. * posix/tst-pathconf.c (prepare): Likewise.
  17484. * posix/tst-spawn.c (do_prepare): Likewise.
  17485. * posix/tst-truncate.c (do_prepare): Likewise.
  17486. * rt/tst-aio.c (do_prepare): Likewise.
  17487. * rt/tst-aio64.c (do_prepare): Likewise.
  17488. 2016-06-11 Florian Weimer <fweimer@redhat.com>
  17489. [BZ #20237]
  17490. * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
  17491. (get*ent): Set entidx to NULL during initialization. If entidx is
  17492. NULL, start iteration from the beginning.
  17493. 2016-06-11 Florian Weimer <fweimer@redhat.com>
  17494. * malloc/malloc.c (musable): Return correct size for dumped fake
  17495. mmapped chunk.
  17496. 2016-06-11 Florian Weimer <fweimer@redhat.com>
  17497. [BZ #20222]
  17498. * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
  17499. (_IO_cookie_write): Likewise.
  17500. (_IO_cookie_seek): Likewise.
  17501. (_IO_cookie_close): Likewise.
  17502. (_IO_old_cookie_seek): Likewise.
  17503. (set_callbacks): New function.
  17504. (_IO_cookie_init): Call set_callbacks to copy callbacks.
  17505. 2016-06-11 Marko Myllynen <myllynen@redhat.com>
  17506. * locale/programs/localedef.c (oldstyle_tables): Remove.
  17507. * locale/programs/localedef.h (oldstyle_tables): Likewise.
  17508. 2016-06-10 Joseph Myers <joseph@codesourcery.com>
  17509. [BZ #20240]
  17510. * math/Makefile (CFLAGS-s_modf.c): New variable.
  17511. (CFLAGS-s_modff.c): Likewise.
  17512. (CFLAGS-s_modfl.c): Likewise.
  17513. * math/libm-test.inc (modf_test_data): Add sNaN tests.
  17514. 2016-06-09 Carlos O'Donell <carlos@redhat.com>
  17515. [BZ #20215]
  17516. * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
  17517. [!__GNUC_PREREQ (3,2)]: Likewise.
  17518. 2016-06-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  17519. * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
  17520. (msghdr.msg_controllen): Likewise.
  17521. (cmsghdr.cmsg_len): Likewise.
  17522. * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
  17523. ptw-oldsendmsg.
  17524. (CFLAGS-oldrecvmsg.c): Remove rule.
  17525. (CFLAGS-oldsendmsg.c): Likewise.
  17526. (CFLAGS-recvmsg.c): Add rule.
  17527. (CFLAGS-sendmsg.c): Likewise.
  17528. * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
  17529. oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
  17530. (CFLAGS-recvmsg.c): Remove rule.
  17531. (CFLAGS-sendmsg.c): Likewise.
  17532. (CFLAGS-oldrecvmsg.c): Likewise.
  17533. (CFLAGS-oldsendmsg.c): Likewise.
  17534. (CFLAGS-recvmmsg.c): Likewise.
  17535. * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
  17536. to kernel defined interfaces.
  17537. (msghdr.msg_controllen): Likewise.
  17538. (cmsghdr.cmsg_len): Likewise.
  17539. (msghdr.__glibc_reserved1): Remove member.
  17540. (msghdr.__glibc_reserved2): Likewise.
  17541. (cmsghdr.__glibc_reserved1): Likewise.
  17542. * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
  17543. * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
  17544. * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
  17545. * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
  17546. * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
  17547. version.
  17548. * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
  17549. * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
  17550. * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
  17551. * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
  17552. Remove recvmsg and sendmsg.
  17553. * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
  17554. Likewise.
  17555. * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
  17556. Likewise.
  17557. * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
  17558. * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
  17559. * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
  17560. Likewise.
  17561. * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
  17562. Likewise.
  17563. * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
  17564. [libc] (GLIBC_2.24): Likewise.
  17565. * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
  17566. Likewise.
  17567. * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
  17568. Likewise.
  17569. * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
  17570. [libc] (GLIBC_2.24): Likewise.
  17571. * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
  17572. Likewise.
  17573. * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
  17574. Likewise.
  17575. * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
  17576. * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
  17577. Likewise.
  17578. * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
  17579. Likewise.
  17580. * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
  17581. Likewise.
  17582. * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
  17583. Likewise.
  17584. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
  17585. * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
  17586. * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
  17587. * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
  17588. version for {recv,send,recm,sendm}msg.
  17589. * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
  17590. * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
  17591. * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
  17592. * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
  17593. * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
  17594. * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
  17595. * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
  17596. * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
  17597. * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
  17598. * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
  17599. * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
  17600. * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
  17601. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
  17602. Likewise.
  17603. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
  17604. Likewise.
  17605. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
  17606. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
  17607. * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
  17608. * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
  17609. * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
  17610. * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
  17611. * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
  17612. * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
  17613. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
  17614. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
  17615. * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
  17616. * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
  17617. * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
  17618. 2016-06-10 Florian Weimer <fweimer@redhat.com>
  17619. [BZ #19564]
  17620. Remove __malloc_initialize_hook from the API.
  17621. * malloc/malloc.h (__malloc_initialize_hook): Remove.
  17622. * include/stdc-predef.h (__malloc_initialize_hook): Poison with
  17623. #pragma GCC poison.
  17624. * malloc/malloc-hooks.h: New file.
  17625. * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
  17626. * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
  17627. (old__malloc_initialize_hook): Rename from
  17628. __malloc_initialize_hook to evade poisoning. Turn into compat
  17629. symbol.
  17630. * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
  17631. __malloc_initialize_hook.
  17632. * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
  17633. (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
  17634. * manual/memory.texi (Hooks for Malloc): Remove
  17635. __malloc_initialize_hook. Adjust hook example.
  17636. 2016-06-09 Joseph Myers <joseph@codesourcery.com>
  17637. [BZ #20235]
  17638. * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
  17639. itself.
  17640. * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
  17641. * math/libm-test.inc (log2_test_data): Add sNaN tests.
  17642. [BZ #20234]
  17643. * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
  17644. infinity or NaN input to itself.
  17645. [BZ #20233]
  17646. * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
  17647. to itself.
  17648. [BZ #20232]
  17649. * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
  17650. itself.
  17651. 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
  17652. * sysdeps/x86_64/start.S (_start): Always indirect branch to
  17653. __libc_start_main via GOT.
  17654. 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
  17655. * sysdeps/x86_64/memcopy.h: New file.
  17656. * sysdeps/x86_64/wordcopy.c: Likewise.
  17657. 2016-06-09 Florian Weimer <fweimer@redhat.com>
  17658. Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
  17659. * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
  17660. <cstdlib>.
  17661. (optimization_barrier): New.
  17662. (do_test): Use it. Call quick_exit in the global namespace.
  17663. * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
  17664. instead of <cstdlib>, <thread>.
  17665. (optimization_barrier): New.
  17666. (non_main_thread): Adjust declaration. Call optimization_barrier.
  17667. Call quick_exit in the global namespace.
  17668. (do_test): Call optimization_barrier. Use pthread_create,
  17669. pthread_join instead of std::thread.
  17670. 2016-06-09 Andreas Schwab <schwab@suse.de>
  17671. [BZ #19755]
  17672. * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
  17673. new entries in auto-propagate mode.
  17674. * nscd/grpcache.c (cache_addgr): Likewise.
  17675. 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
  17676. * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
  17677. New functions.
  17678. (add_temp_file): Use them.
  17679. 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
  17680. * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
  17681. 2016-06-08 Joseph Myers <joseph@codesourcery.com>
  17682. [BZ #20229]
  17683. * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
  17684. * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
  17685. * math/libm-test.inc (log1p_test_data): Add sNaN tests.
  17686. [BZ #20228]
  17687. * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
  17688. itself.
  17689. * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
  17690. * math/libm-test.inc (log10_test_data): Add sNaN tests.
  17691. [BZ #20227]
  17692. * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
  17693. itself.
  17694. * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
  17695. * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
  17696. * math/libm-test.inc (log_test_data): Add sNaN tests.
  17697. [BZ #20226]
  17698. * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
  17699. itself.
  17700. * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
  17701. * math/libm-test.inc (exp_test_data): Add sNaN tests.
  17702. (exp10_test_data): Likewise.
  17703. (expm1_test_data): Likewise.
  17704. [BZ #20225]
  17705. * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
  17706. itself.
  17707. * math/s_ldexpf.c (__ldexpf): Likewise.
  17708. * math/s_ldexpl.c (__ldexpl): Likewise.
  17709. * math/w_scalbln.c (__w_scalbln): Likewise.
  17710. * math/w_scalblnf.c (__w_scalblnf): Likewise.
  17711. * math/w_scalblnl.c (__w_scalblnl): Likewise.
  17712. * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
  17713. (scalbln_test_data): Likewise.
  17714. [BZ #20224]
  17715. * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
  17716. argument to itself.
  17717. * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
  17718. 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
  17719. [BZ #19776]
  17720. * sysdeps/x86_64/memcpy.S: Make it dummy.
  17721. * sysdeps/x86_64/mempcpy.S: Likewise.
  17722. * sysdeps/x86_64/memmove.S: New file.
  17723. * sysdeps/x86_64/memmove_chk.S: Likewise.
  17724. * sysdeps/x86_64/multiarch/memmove.S: Likewise.
  17725. * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
  17726. * sysdeps/x86_64/memmove.c: Removed.
  17727. * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
  17728. * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
  17729. * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
  17730. * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
  17731. Likewise.
  17732. * sysdeps/x86_64/multiarch/memmove.c: Likewise.
  17733. * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
  17734. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
  17735. memcpy-sse2-unaligned, memmove-avx-unaligned,
  17736. memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
  17737. * sysdeps/x86_64/multiarch/ifunc-impl-list.c
  17738. (__libc_ifunc_impl_list): Replace
  17739. __memmove_chk_avx512_unaligned_2 with
  17740. __memmove_chk_avx512_unaligned. Remove
  17741. __memmove_chk_avx_unaligned_2. Replace
  17742. __memmove_chk_sse2_unaligned_2 with
  17743. __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
  17744. __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
  17745. with __memmove_avx512_unaligned. Replace
  17746. __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
  17747. Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
  17748. with __memcpy_chk_avx512_unaligned. Remove
  17749. __memcpy_chk_avx_unaligned_2. Replace
  17750. __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
  17751. Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
  17752. Replace __memcpy_avx512_unaligned_2 with
  17753. __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
  17754. and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
  17755. with __mempcpy_chk_avx512_unaligned. Remove
  17756. __mempcpy_chk_avx_unaligned_2. Replace
  17757. __mempcpy_chk_sse2_unaligned_2 with
  17758. __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
  17759. Replace __mempcpy_avx512_unaligned_2 with
  17760. __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
  17761. Replace __mempcpy_sse2_unaligned_2 with
  17762. __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
  17763. * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
  17764. __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
  17765. Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
  17766. if processor has ERMS. Default to __memcpy_sse2_unaligned.
  17767. (ENTRY): Removed.
  17768. (END): Likewise.
  17769. (ENTRY_CHK): Likewise.
  17770. (libc_hidden_builtin_def): Likewise.
  17771. Don't include ../memcpy.S.
  17772. * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
  17773. __memcpy_chk_avx512_unaligned_erms and
  17774. __memcpy_chk_avx512_unaligned. Use
  17775. __memcpy_chk_avx_unaligned_erms and
  17776. __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
  17777. Default to __memcpy_chk_sse2_unaligned.
  17778. * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
  17779. Change function suffix from unaligned_2 to unaligned.
  17780. * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
  17781. __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
  17782. Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
  17783. if processor has ERMS. Default to __mempcpy_sse2_unaligned.
  17784. (ENTRY): Removed.
  17785. (END): Likewise.
  17786. (ENTRY_CHK): Likewise.
  17787. (libc_hidden_builtin_def): Likewise.
  17788. Don't include ../mempcpy.S.
  17789. (mempcpy): New. Add a weak alias.
  17790. * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
  17791. __mempcpy_chk_avx512_unaligned_erms and
  17792. __mempcpy_chk_avx512_unaligned. Use
  17793. __mempcpy_chk_avx_unaligned_erms and
  17794. __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
  17795. Default to __mempcpy_chk_sse2_unaligned.
  17796. 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
  17797. [BZ #19881]
  17798. * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
  17799. into ...
  17800. * sysdeps/x86_64/memset.S: This.
  17801. (__bzero): Removed.
  17802. (__memset_tail): Likewise.
  17803. (__memset_chk): Likewise.
  17804. (memset): Likewise.
  17805. (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
  17806. defined.
  17807. (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
  17808. * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
  17809. (__memset_zero_constant_len_parameter): Check SHARED instead of
  17810. PIC.
  17811. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
  17812. memset-avx2 and memset-sse2-unaligned-erms.
  17813. * sysdeps/x86_64/multiarch/ifunc-impl-list.c
  17814. (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
  17815. __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
  17816. * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
  17817. (__bzero): Enabled.
  17818. * sysdeps/x86_64/multiarch/memset.S (memset): Replace
  17819. __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
  17820. and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
  17821. or __memset_avx2_unaligned_erms if processor has ERMS. Support
  17822. __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
  17823. (memset): Removed.
  17824. (__memset_chk): Likewise.
  17825. (MEMSET_SYMBOL): New.
  17826. (libc_hidden_builtin_def): Replace __memset_sse2 with
  17827. __memset_sse2_unaligned.
  17828. * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
  17829. __memset_chk_sse2 and __memset_chk_avx2 with
  17830. __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
  17831. Use __memset_chk_sse2_unaligned_erms or
  17832. __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
  17833. __memset_chk_avx512_unaligned_erms and
  17834. __memset_chk_avx512_unaligned.
  17835. 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  17836. * math/gen-auto-libm-test.c (fp_format_desc): remove
  17837. suffix member.
  17838. (output_generic_value): Remove usage of suffix member,
  17839. and the resulting unuse of the fp_format argument.
  17840. (output_for_one_input_case): Remove unused fp_format
  17841. parameter.
  17842. * math/auto-libm-test-out: Regenerate.
  17843. * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
  17844. usage with TEST_COND_ibm128.
  17845. (TEST_COND_flt_32): Remove.
  17846. (TEST_COND_dbl_64): Remove.
  17847. (TEST_COND_ldbl_96_intel): Remove.
  17848. (TEST_COND_ldbl_96_m68k): Remove.
  17849. (TEST_COND_ldbl_128): Remove.
  17850. 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  17851. * auto-libm-test-in:
  17852. Replace flt-32 usage with binary32.
  17853. Replace dbl-64 usage with binary64.
  17854. Replace ldbl-intel-96 usage with intel96.
  17855. Replace ldbl-m68k-96 usage with m68k96.
  17856. Replace ldbl-128ibm usage with ibm128.
  17857. Replace ldbl-128 usage with binary128.
  17858. * auto-libm-test-out: Regenerate.
  17859. 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  17860. * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
  17861. (parse_ulps): Dynamically generate type name matching
  17862. string from all_floats.
  17863. (get_ulps): Generate the ulps as an array instead.
  17864. (output_ulps): Dynamically compose the type based
  17865. on the number of supported formats, and print
  17866. the indices as type specific helper macros.
  17867. * math/libm-test.inc: Remove comment about CHOOSE.
  17868. (ulp_data): Generate the type in libm-test-ulps.h.
  17869. (ULP_IDX): New macro.
  17870. (find_ulps): Update usage of max_ulp.
  17871. * math/test-double-vlen2.h (CHOOSE): Remove.
  17872. * math/test-double-vlen4.h (CHOOSE): Likewise.
  17873. * math/test-double-vlen8.h (CHOOSE): Likewise.
  17874. * math/test-float.c (CHOOSE): Likewise.
  17875. * math/test-float-finite.c (CHOOSE): Likewise.
  17876. * math/test-double.c (CHOOSE): Likewise.
  17877. * math/test-double-finite.c (CHOOSE): Likewise.
  17878. * math/test-idouble.c (CHOOSE): Likewise.
  17879. * math/test-ifloat.c (CHOOSE): Likewise.
  17880. * math/test-ildoubl.c (CHOOSE): Likewise.
  17881. * math/test-ldouble-finite.c (CHOOSE): Likewise.
  17882. * math/test-ldouble.c (CHOOSE): Likewise.
  17883. * math/test-float.h (TEST_FLOAT): Remove.
  17884. * math/test-double.h (TEST_DOUBLE): Likewise.
  17885. * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
  17886. 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  17887. * math/gen-libm-test.pl: (apply_lit): New subroutine.
  17888. (parse_args): Strip C suffix from floating point literals
  17889. typed with 'f' and wrap them with LIT().
  17890. * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
  17891. (test_ff_f_data_nexttoward): Rename to
  17892. (test_fj_f_data): New struct.
  17893. (nexttoward_test_data): Relabel tests as
  17894. TEST_fj_f instead of TEST_ff_f.
  17895. 2016-06-08 Florian Weimer <fweimer@redhat.com>
  17896. Emacs bug 23726.
  17897. * malloc/malloc.c (dumped_main_arena_start): Update comment.
  17898. (__libc_realloc): Correct size computation for dumped fake mmapped
  17899. chunks.
  17900. 2016-06-07 Joseph Myers <joseph@codesourcery.com>
  17901. [BZ #20219]
  17902. * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
  17903. to itself.
  17904. * math/libm-test.inc (atanh_test_data): Add sNaN tests.
  17905. [BZ #20218]
  17906. * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
  17907. to itself.
  17908. * math/libm-test.inc (asinh_test_data): Add sNaN tests.
  17909. 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
  17910. [BZ #20195]
  17911. * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
  17912. check to ...
  17913. (init_cpu_features): Here.
  17914. 2016-06-07 Carlos O'Donell <carlos@redhat.com>
  17915. [BZ #20214]
  17916. * sysdeps/unix/sysv/linux/bits/in.h
  17917. [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
  17918. || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
  17919. Define to 1.
  17920. [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
  17921. || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
  17922. Define to 0.
  17923. [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
  17924. [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
  17925. 2016-06-06 Carlos O'Donell <carlos@redhat.com>
  17926. [BZ #20198]
  17927. * stdlib/Makefile (tests): Add tst-quick_exit, and
  17928. tst-thread-quick_exit.
  17929. [ifeq ($(have-cxx-thread_local),yes)]
  17930. (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
  17931. (CFLAGS-tst-thread-quick_exit.o): Likewise.
  17932. (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
  17933. (LDLIBS-tst-thread-quick_exit): Likewise.
  17934. [ifneq ($(have-cxx-thread_local),yes)]
  17935. (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
  17936. * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
  17937. If run_dtors is true call __call_tls_dtors.
  17938. (exit): Call __run_exit_handlers with run_dtors set to true.
  17939. * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
  17940. definition.
  17941. * stdlib/quick_exit.c (quick_exit): Remove function.
  17942. (__new_quick_exit): New function.
  17943. [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
  17944. function.
  17945. * stdlib/tst-quick_exit.cc: New file.
  17946. * stdlib/tst-thread-quick_exit.cc: New file.
  17947. * stdlib/Versions: Add quick_exit@GLIBC_2.24.
  17948. * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
  17949. * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
  17950. * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
  17951. * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
  17952. * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
  17953. * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
  17954. * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
  17955. * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
  17956. * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
  17957. * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
  17958. * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
  17959. * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
  17960. * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
  17961. * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
  17962. * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
  17963. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
  17964. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
  17965. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
  17966. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
  17967. * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
  17968. * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
  17969. * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
  17970. * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
  17971. * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
  17972. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
  17973. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
  17974. * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
  17975. * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
  17976. * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
  17977. 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
  17978. * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
  17979. a typo in comments.
  17980. 2016-06-06 Joseph Myers <joseph@codesourcery.com>
  17981. [BZ #20213]
  17982. * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
  17983. argument to itself.
  17984. * math/libm-test.inc (asin_test_data): Add sNaN tests.
  17985. 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  17986. * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
  17987. required flags.
  17988. (CFLAGS-pwritev64.c): Likewise.
  17989. * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
  17990. * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
  17991. * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
  17992. * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
  17993. * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
  17994. * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
  17995. syscall from auto-generation.
  17996. * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
  17997. [WORDSIZE == 64] (pwritev64): Remove macro.
  17998. [!PWRITEV] (PWRITEV): Likewise.
  17999. [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
  18000. [!PWRITEV] (PWRITE): Likewise.
  18001. [!PWRITEV] (OFF_T): Likewise.
  18002. [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
  18003. (LO_HI_LONG): Remove macro.
  18004. [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
  18005. * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
  18006. (PWRITEV): Remove macro.
  18007. (PWRITEV_REPLACEMENTE): Likewise.
  18008. (PWRITE): Likewise.
  18009. (OFF_T): Likewise.
  18010. (pwritev64): New function.
  18011. * nptl/tst-cancel4.c (tf_writev): Add test.
  18012. * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
  18013. required flags.
  18014. (CFLAGS-preadv64.c): Likewise.
  18015. * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
  18016. * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
  18017. * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
  18018. * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
  18019. * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
  18020. * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
  18021. syscall from auto-generation.
  18022. * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
  18023. [WORDSIZE == 64] (preadv64): Remove macro.
  18024. [!PREADV] (PREADV): Likewise.
  18025. [!PREADV] (PREADV_REPLACEMENT): Likewise.
  18026. [!PREADV] (PREAD): Likewise.
  18027. [!PREADV] (OFF_T): Likewise.
  18028. [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
  18029. (LO_HI_LONG): Remove macro.
  18030. [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
  18031. * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
  18032. (PREADV): Remove macro.
  18033. (PREADV_REPLACEMENTE): Likewise.
  18034. (PREAD): Likewise.
  18035. (OFF_T): Likewise.
  18036. (preadv64): New function.
  18037. * nptl/tst-cancel4.c (tf_preadv): Add test.
  18038. 2016-06-06 Joseph Myers <joseph@codesourcery.com>
  18039. [BZ #20212]
  18040. * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
  18041. argument to itself.
  18042. * math/libm-test.inc (acos_test_data): Add sNaN tests.
  18043. 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  18044. * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
  18045. New symbol defined as libc_hidden_def.
  18046. (strcasestr): Became a weak alias to __strcasestr.
  18047. * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
  18048. according to multi-arch support. Move __stpncpy hidden
  18049. definition from here to...
  18050. * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
  18051. symbol stpncpy.
  18052. * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
  18053. libc_hidden_builtin_def.
  18054. * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
  18055. memset symbol to use when multi-arch support is available.
  18056. 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
  18057. * dlfcn/tst-rec-dlopen.c: Include string.h.
  18058. 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
  18059. * manual/install.texi: Remove mention of --without-tls
  18060. * INSTALL: Regenerate.
  18061. 2016-06-05 Florian Weimer <fweimer@redhat.com>
  18062. * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
  18063. Remove.
  18064. (call_function, interposed_malloc_called): New variables.
  18065. (malloc): New function.
  18066. (do_test): Do not change malloc hooks. Initialize malloc. Set
  18067. and clear call_function as needed.
  18068. 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
  18069. * include/wchar.h (__wmemset): Use __typeof.
  18070. 2016-06-03 Carlos O'Donell <carlos@redhat.com>
  18071. * include/wchar.h (__wmemset): Declare function without typeof.
  18072. 2016-06-03 Joseph Myers <joseph@codesourcery.com>
  18073. [BZ #20205]
  18074. * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
  18075. exponent when incrementing negative subnormal with low mantissa
  18076. word zero.
  18077. * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
  18078. Add another test.
  18079. 2016-06-03 Florian Weimer <fweimer@redhat.com>
  18080. * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
  18081. __wmemset instead of wmemset.
  18082. 2016-06-02 Carlos O'Donell <carlos@redhat.com>
  18083. * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
  18084. defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
  18085. [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
  18086. __USE_KERNEL_IPV6_DEFS to 0.
  18087. * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
  18088. Update comment.
  18089. 2016-06-01 Florian Weimer <fweimer@redhat.com>
  18090. [BZ #19861]
  18091. Do not use IFUNC resolver with potentially unrelocated symbol.
  18092. * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
  18093. (DEFINE_FORK): Remove macro and inline definition.
  18094. (fork_alias): Renamed from fork_ifunc.
  18095. (__fork_alias): Renamed from __fork_ifunc.
  18096. 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
  18097. [BZ 19653]
  18098. * inet/if_index.c (__protocol_available): Delete #if 0'd code.
  18099. * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
  18100. 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
  18101. * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
  18102. include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
  18103. i386-linux-gnu).
  18104. * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
  18105. Set to no.
  18106. * sysdeps/mach/hurd/configure: Refresh.
  18107. 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  18108. [BZ #20178]
  18109. * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
  18110. on failure instead of exit.
  18111. 2016-05-30 Roland McGrath <roland@hack.frob.com>
  18112. [BZ #3629]
  18113. * manual/string.texi (Copying Strings and Arrays): stpcpy is part
  18114. of POSIX.1-2008.
  18115. 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
  18116. * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
  18117. Use PLT entry for calling _hurd_self_sigstate.
  18118. 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
  18119. * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
  18120. available logical processors with SMT level type sharing L2
  18121. cache for Intel processors.
  18122. 2016-05-27 Joseph Myers <joseph@codesourcery.com>
  18123. [BZ #20160]
  18124. * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
  18125. argument to itself before returning the result.
  18126. * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
  18127. * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
  18128. * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
  18129. * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
  18130. Likewise.
  18131. * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
  18132. Likewise.
  18133. * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
  18134. * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
  18135. * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
  18136. * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
  18137. * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
  18138. * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
  18139. [BZ #20160]
  18140. * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
  18141. argument to itself before returning the result.
  18142. * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
  18143. * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
  18144. * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
  18145. * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
  18146. Likewise.
  18147. * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
  18148. Likewise.
  18149. * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
  18150. * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
  18151. * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
  18152. * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
  18153. * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
  18154. * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
  18155. 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  18156. * libm-test.inc: Replace usage of M_El with
  18157. (lit_e): New macro.
  18158. 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  18159. * libm-test.inc: Replace usage of M_PI_4l with
  18160. (lit_pi_4_d): New macro.
  18161. 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  18162. * libm-test.inc: Replace usage of M_PIl with
  18163. (lit_pi): New macro.
  18164. 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  18165. * libm-test.inc: Replace usage of M_PI2l with
  18166. (lit_pi_2_d): New macro.
  18167. * math/test-double.h (LITM): New macro.
  18168. * math/test-float.h (LITM): Likewise.
  18169. * math/test-ldouble.h (LITM): Likewise.
  18170. 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  18171. * libm-test.inc (M_PI_34l): Rename to
  18172. (lit_pi_3_m_4_d): New Macro.
  18173. (M_PI_34_LOG10El): Rename to
  18174. (lit_pi_3_m_4_ln10_m_d): New Macro.
  18175. (M_PI2_LOG10El): Rename to
  18176. (lit_pi_2_ln10_m_d): New Macro.
  18177. (M_PI4_LOG10El): Rename to
  18178. (lit_pi_4_ln10_m_d): New Macro.
  18179. (M_PI_LOG10El): Rename to
  18180. (lit_pi_ln10_d): New Macro.
  18181. 2016-05-27 Joseph Myers <joseph@codesourcery.com>
  18182. [BZ #20157]
  18183. * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
  18184. determine whether to negate low half if [_ARCH_PPCGR], and integer
  18185. comparison otherwise.
  18186. * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
  18187. determine whether to negate low half.
  18188. * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
  18189. (NO_TEST_INLINE_DOUBLE): Likewise.
  18190. (TEST_COND_x86_64): Likewise.
  18191. (TEST_COND_x86): Likewise.
  18192. (M_PI_6l): Likewise.
  18193. 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  18194. * math/libm-test.inc:
  18195. (TEST_FLOAT): Change usage to TEST_COND_binary32.
  18196. (TEST_DOUBLE): Change usage to TEST_COND_binary64.
  18197. (TEST_LDOUBLE): Update usage to evaluate as true if
  18198. the guarded tests match the property being tested.
  18199. (LDBL_MAX_EXP): Change to MAX_EXP.
  18200. (LDBL_MIN_EXP): Change to MIN_EXP.
  18201. (LDBL_MANT_DIG): Change to MANT_DIG, except for
  18202. nexttoward tests.
  18203. 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  18204. * math/libm-test.inc:
  18205. (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
  18206. (TYPE_MIN): Likewise.
  18207. (TYPE_TRUE_MIN): Likewise.
  18208. (TYPE_MAX): Likewise.
  18209. (MIN_EXP): Likewise.
  18210. (MAX_EXP): Likewise.
  18211. (MANT_DIG): Likewise.
  18212. (FSTR_MAX): New macro.
  18213. (__CONCATX): Likewise.
  18214. (QTYPE_STR): Likewise.
  18215. (TEST_COND_binary32): Likewise.
  18216. (TEST_COND_binary64): Likewise.
  18217. (TEST_COND_binary128): Likewise.
  18218. (TEST_COND_ibm128): Likewise.
  18219. (TEST_COND_intel96): Likewise.
  18220. (TEST_COND_m68k96): Likewise.
  18221. (TEST_COND_flt_32): Redefine as equivalent format test macro.
  18222. (TEST_COND_dbl_64): Likewise.
  18223. (TEST_COND_ldbl_96_intel): Likewise.
  18224. (TEST_COND_ldbl_96_m68k): Likewise.
  18225. (TEST_COND_ldbl_128): Likewise.
  18226. (TEST_COND_ldbl_128ibm): Likewise.
  18227. (plus_zero): Redefine using LIT macro.
  18228. (minus_zero): Likewise.
  18229. (plus_infty): Redefine as (INF).
  18230. (minux_infty): Redefine as (-INF).
  18231. (max_value): Redefine as TYPE_MAX.
  18232. (min_value): Redefine as TYPE_MIN.
  18233. (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
  18234. (print_float): Refactor to use snprintf to convert FLOAT values
  18235. to string. This brings it closer to dropin replacement of strtof
  18236. for the TS 18661 defined types.
  18237. (update_stats): Likewise.
  18238. (print_complex_function_ulps): Likewise.
  18239. (print_max_error): Likewise.
  18240. (print_complex_max_error): Likewise.
  18241. (check_float_internal): Likewise.
  18242. * math/test-float.h (PREFIX): New macro.
  18243. (LIT): Likewise.
  18244. (TYPE_STR): Likewise.
  18245. (FTOSTR): Likewise.
  18246. * math/test-double.h (PREFIX): New macro.
  18247. (LIT): Likewise.
  18248. (TYPE_STR): Likewise.
  18249. (FTOSTR): Likewise.
  18250. * math/test-ldouble.h (PREFIX): New macro.
  18251. (LIT): Likewise.
  18252. (TYPE_STR): Likewise.
  18253. (FTOSTR): Likewise.
  18254. 2016-05-27 Joseph Myers <joseph@codesourcery.com>
  18255. [BZ #20156]
  18256. * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
  18257. to itself when zero or not finite.
  18258. * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
  18259. * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
  18260. * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
  18261. * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
  18262. 2016-05-26 Joseph Myers <joseph@codesourcery.com>
  18263. [BZ #20153]
  18264. * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
  18265. x * x + x for infinities and NaNs.
  18266. [BZ #20151]
  18267. * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
  18268. argument to itself before returning result.
  18269. (__ieee754_y0l): Likewise.
  18270. * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
  18271. (__ieee754_y1l).
  18272. * math/libm-test.inc (acosh_test_data): Add sNaN tests.
  18273. (atan_test_data): Likewise.
  18274. (ceil_test_data): Likewise.
  18275. (cos_test_data): Likewise.
  18276. (cosh_test_data): Likewise.
  18277. (erf_test_data): Likewise.
  18278. (exp2_test_data): Likewise.
  18279. (fabs_test_data): Likewise.
  18280. (floor_test_data): Likewise.
  18281. (ilogb_test_data): Likewise.
  18282. (j0_test_data): Likewise.
  18283. (j1_test_data): Likewise.
  18284. (jn_test_data): Likewise.
  18285. (lgamma_test_data): Likewise.
  18286. (lrint_test_data): Likewise.
  18287. (llrint_test_data): Likewise.
  18288. (logb_test_data): Likewise.
  18289. (lround_test_data): Likewise.
  18290. (llround_test_data): Likewise.
  18291. (nearbyint_test_data): Likewise.
  18292. (rint_test_data): Likewise.
  18293. (round_test_data): Likewise.
  18294. (sin_test_data): Likewise.
  18295. (sincos_test_data): Likewise.
  18296. (sinh_test_data): Likewise.
  18297. (sqrt_test_data): Likewise.
  18298. (tan_test_data): Likewise.
  18299. (tanh_test_data): Likewise.
  18300. (tgamma_test_data): Likewise.
  18301. (trunc_test_data): Likewise.
  18302. (y0_test_data): Likewise.
  18303. (y1_test_data): Likewise.
  18304. (yn_test_data): Likewise.
  18305. * math/libm-test.inc: Update comment about NaN testing.
  18306. (TEST_SNAN): New macro.
  18307. (snan_value): Likewise.
  18308. (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
  18309. (fpclassify_test_data): Add sNaN tests.
  18310. (isfinite_test_data): Likewise.
  18311. (isinf_test_data): Likewise.
  18312. (isnan_test_data): Likewise.
  18313. (isnormal_test_data): Likewise.
  18314. (issignaling_test_data): Likewise.
  18315. (signbit_test_data): Likewise.
  18316. * math/gen-libm-test.pl (%beautify): Add snan_value.
  18317. (show_exceptions): Add argument $test_snan.
  18318. (parse_args): Handle snan_value as non-finite. Update call to
  18319. show_exceptions.
  18320. * math/Makefile (libm-test-no-inline-cflags): Add
  18321. -fsignaling-nans.
  18322. 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  18323. * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
  18324. (CFLAGS-oldsendmsg.c): Add rule.
  18325. * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
  18326. Correct recvmsg symbol name.
  18327. * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
  18328. Likewise.
  18329. 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  18330. * sysdeps/unix/sysv/linux/Makefile
  18331. [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
  18332. oldsendmmsg.
  18333. * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
  18334. sendmmsg.
  18335. * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
  18336. * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
  18337. * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
  18338. * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
  18339. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
  18340. * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
  18341. * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
  18342. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
  18343. Likewise.
  18344. * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
  18345. * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
  18346. * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
  18347. * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
  18348. iovlen and controllen fields to adjust to POSIX specification.
  18349. * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
  18350. * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
  18351. and change to correct expected type.
  18352. (msghdr.msg_controllen): Likewise.
  18353. (cmsghdr.cmsg_len): Likewise.
  18354. * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
  18355. expected POSIX assumption about the size.
  18356. (msghdr.msg_controllen): Likewise.
  18357. (msghdr.__glibc_reserved1): Likewise.
  18358. (msghdr.__glibc_reserved2): Likewise.
  18359. (cmsghdr.cmsg_len): Likewise.
  18360. (cmsghdr.__glibc_reserved1): Likewise.
  18361. * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
  18362. Add ptw-oldrecvmsg and ptw-oldsendmsg.
  18363. (CFLAGS-sendmsg.c): Remove rule.
  18364. (CFLAGS-recvmsg.c): Likewise.
  18365. (CFLAGS-oldsendmsg.c): Add rule.
  18366. (CFLAGS-oldrecvmsg.c): Likewise.
  18367. * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
  18368. recvmsg and sendmsg.
  18369. * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
  18370. Likewise.
  18371. * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
  18372. * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
  18373. * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
  18374. * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
  18375. * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
  18376. * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
  18377. Likewise.
  18378. * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
  18379. Likewise.
  18380. * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
  18381. Likewise.
  18382. * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
  18383. Likewise.
  18384. * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
  18385. Likewise.
  18386. * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
  18387. Likewise.
  18388. * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
  18389. (GLIBC_2.24): Likewise.
  18390. * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
  18391. Likewise.
  18392. * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
  18393. Likewise.
  18394. * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
  18395. * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
  18396. Likewise.
  18397. * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
  18398. Likewise.
  18399. ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
  18400. Likewise.
  18401. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
  18402. (GLIBC_2.24): Likewise.
  18403. ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
  18404. Likewise.
  18405. * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
  18406. Likewise.
  18407. * sysdeps/unix/sysv/linux/Makefile
  18408. [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
  18409. (CFLAGS-sendmsg.c): Add rule.
  18410. (CFLAGS-recvmsg.c): Likewise.
  18411. (CFLAGS-oldsendmsg.c): Likewise.
  18412. (CFLAGS-oldrecvmsg.c): Likewise.
  18413. * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
  18414. initialization.
  18415. * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
  18416. * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
  18417. * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
  18418. * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
  18419. * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
  18420. iovlen and controllen fields to adjust to POSIX specification.
  18421. * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
  18422. * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
  18423. added recvmsg and sendmsg.
  18424. * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
  18425. * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
  18426. * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
  18427. * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
  18428. * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
  18429. * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
  18430. * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
  18431. * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
  18432. * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
  18433. * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
  18434. * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
  18435. * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
  18436. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
  18437. Likewise.
  18438. * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
  18439. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
  18440. * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
  18441. Likewise.
  18442. Likewise.
  18443. * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
  18444. * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
  18445. * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
  18446. * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
  18447. * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
  18448. * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
  18449. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
  18450. * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
  18451. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
  18452. Likewise.
  18453. * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
  18454. * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
  18455. * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
  18456. from auto-generation.
  18457. (sendmsg): Likewise.
  18458. * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
  18459. (sendmsg): Likewise.
  18460. * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
  18461. (sendmsg): Likewise.
  18462. * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
  18463. (sendmsg): Likewise.
  18464. * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
  18465. (sendmsg): Likewise.
  18466. * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
  18467. (sendmsg): Likewise.
  18468. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
  18469. Likewise.
  18470. (sendmsg): Likewise.
  18471. * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
  18472. (sendmsg): Likewise.
  18473. * sysdeps/unix/sysv/linux/i386/kernel-features.h
  18474. [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
  18475. Remove.
  18476. [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
  18477. Likewise.
  18478. [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
  18479. Undefine.
  18480. [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
  18481. Likewise.
  18482. * sysdeps/unix/sysv/linux/kernel-features.h
  18483. (__ASSUME_SENDMSG_SYSCALL): Define.
  18484. (__ASSUME_RECVMSG_SYSCALL): Likewise.
  18485. * sysdeps/unix/sysv/linux/m68k/kernel-features.h
  18486. [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
  18487. Remove.
  18488. [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
  18489. Likewise.
  18490. [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
  18491. Undefine.
  18492. [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
  18493. Likewise.
  18494. * sysdeps/unix/sysv/linux/s390/kernel-features.h
  18495. [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
  18496. Remove.
  18497. [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
  18498. Likewise.
  18499. [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
  18500. Undefine.
  18501. [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
  18502. Likewise.
  18503. * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
  18504. (__ASSUME_SENDMSG_SYSCALL): Undefine.
  18505. (__ASSUME_RECVMSG_SYSCALL): Likewise.
  18506. * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
  18507. (__ASSUME_SENDMSG_SYSCALL): Likewise.
  18508. (__ASSUME_RECVMSG_SYSCALL): Likewise.
  18509. * sysdeps/unix/sysv/linux/sh/kernel-features.h
  18510. (__ASSUME_SENDMSG_SYSCALL): Likewise.
  18511. (__ASSUME_RECVMSG_SYSCALL): Likewise.
  18512. 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  18513. * stdlib/gen-tst-strtod-round.c: Add backslash to
  18514. compile command in comment.
  18515. (printfp): Remove the literal suffix, and define an infinite
  18516. value as INF to avoid expansion clash with INFINITY.
  18517. (round_str): Remove the literal suffix.
  18518. (round_for_all): Likewise, remove the now duplicate ldbl-64
  18519. entry, and remove some magic constants.
  18520. * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
  18521. duplication. Remove duplicate dbl-64 and ldbl-64 entries.
  18522. (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
  18523. (_CONCAT): New macro.
  18524. (CONCAT): Likewise.
  18525. (CHOOSE_ld): Likewise.
  18526. (CHOOSE_f): Likewise.
  18527. (CHOOSE_d): Likewise.
  18528. (FTYPE_MEMBER): Likewise.
  18529. (BOOL_MEMBER): Likewise.
  18530. (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
  18531. (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
  18532. (_XNTRY): Likewise.
  18533. (XNTRY): Likewise.
  18534. (_ENTRY): Likewise.
  18535. (ENTRY): Likewise.
  18536. (test_exactness): Generate members via macro.
  18537. (test_results): Likewise.
  18538. (test): Update members.
  18539. (TEST): Redefine using new macros.
  18540. (INF): New macro.
  18541. (fetestmodes): New structure.
  18542. (do_test): Refactor to be type generic.
  18543. (test_in_one_mode): Refactor duplicate code into
  18544. (GEN_ONE_TEST): New macro.
  18545. * stdlib/tst-strtod-round-data.h: Regenerate.
  18546. * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
  18547. Extend to pass additional arbitrary parameters to
  18548. generators.
  18549. 2016-05-25 Joseph Myers <joseph@codesourcery.com>
  18550. [BZ #15479]
  18551. * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
  18552. floating-point state after first floating-point operation on
  18553. input. Restore full floating-point state instead of just rounding
  18554. mode.
  18555. * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
  18556. * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
  18557. * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
  18558. * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
  18559. * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
  18560. [BZ #15479]
  18561. * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
  18562. floating-point state after first floating-point operation on
  18563. input. Restore full floating-point state instead of just rounding
  18564. mode.
  18565. * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
  18566. * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
  18567. * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
  18568. * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
  18569. * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
  18570. 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
  18571. [BZ #19727]
  18572. * iconvdata/utf-16.c (BODY): Report an error if first word is not a
  18573. valid high surrogate.
  18574. * iconvdata/utf-32.c (BODY): Report an error if the value is in range
  18575. of an utf16 surrogate.
  18576. * iconv/gconv_simple.c (BODY): Likewise.
  18577. * iconvdata/bug-iconv12.c: New file.
  18578. * iconvdata/Makefile (tests): Add bug-iconv12.
  18579. 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
  18580. [BZ #19726]
  18581. * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
  18582. outptrp in case of an illegal input.
  18583. * iconv/tst-iconv6.c: New file.
  18584. * iconv/Makefile (tests): Add tst-iconv6.
  18585. 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
  18586. * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
  18587. an error in case of a value in range of an utf16 low surrogate.
  18588. 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
  18589. * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
  18590. an error in case of a value in range of an utf16 low surrogate.
  18591. 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
  18592. * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
  18593. Move to ...
  18594. * sysdeps/s390/Makefile: ... here.
  18595. * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
  18596. * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
  18597. (BRANCH_ON_COUNT): New define.
  18598. (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
  18599. * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
  18600. * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
  18601. run on s390-32, too.
  18602. * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
  18603. * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
  18604. run on s390-32, too.
  18605. * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
  18606. * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
  18607. run on s390-32, too.
  18608. 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
  18609. * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
  18610. etf3eh or new vector loop-variant.
  18611. 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
  18612. * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
  18613. etf3eh or new vector loop-variant.
  18614. 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
  18615. * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
  18616. or new vector loop-variant.
  18617. 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
  18618. * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
  18619. Rename to TR_LOOP and usage of tr instead of troo instruction.
  18620. 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
  18621. * sysdeps/s390/multiarch/gconv_simple.c: New File.
  18622. * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
  18623. 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
  18624. * sysdeps/s390/multiarch/8bit-generic.c: New File.
  18625. * sysdeps/s390/multiarch/gen-8bit.sh: New File.
  18626. * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
  18627. New override define.
  18628. * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
  18629. 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
  18630. * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
  18631. * sysdeps/s390/configure.ac: Add test for S390 vector register
  18632. support in gcc.
  18633. * sysdeps/s390/configure: Regenerated.
  18634. 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
  18635. * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
  18636. Install file from $(objpfx)gconv-modules.
  18637. ($(objpfx)gconv-modules): Concatenate architecture specific file
  18638. in variable sysdeps-gconv-modules and gconv-modules in src dir.
  18639. * sysdeps/s390/gconv-modules: New file.
  18640. * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
  18641. Deleted.
  18642. ($(objpfx)gconv-modules-s390): Deleted.
  18643. (sysdeps-gconv-modules): New variable.
  18644. 2016-05-24 Joseph Myers <joseph@codesourcery.com>
  18645. [BZ #15479]
  18646. * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
  18647. of immediate operand to rounding instruction.
  18648. * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
  18649. Likewise.
  18650. * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
  18651. Likewise.
  18652. * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
  18653. Likewise.
  18654. 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  18655. * math/libm-test.inc (MIN_EXP): Directly define as
  18656. (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
  18657. 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  18658. * math/libm-test.inc (MANT_DIG): Directly define as
  18659. (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
  18660. 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  18661. * stdlib/gen-tst-strtod-round.c (main):
  18662. Change usage to more closely match the generated
  18663. output. Add usage and compilation instructions.
  18664. (string_to_fp): Add and use FILE* parameter as
  18665. output target.
  18666. (print_fp): Likewise.
  18667. (round_str): Likewise.
  18668. (round_for_all): Likewise.
  18669. * stdlib/tst-strtod-round.c (tests): Move into
  18670. * stdlib/tst-strtod-round-data.h: New file.
  18671. 2016-05-24 Joseph Myers <joseph@codesourcery.com>
  18672. [BZ #15479]
  18673. * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
  18674. (__round): Do not force "inexact" exception.
  18675. * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
  18676. variable.
  18677. (__round): Do not force "inexact" exception.
  18678. * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
  18679. (__roundf): Do not force "inexact" exception.
  18680. * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
  18681. (__roundl): Do not force "inexact" exception.
  18682. * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
  18683. (__roundl): Do not force "inexact" exception.
  18684. * math/libm-test.inc (round_test_data): Do not allow spurious
  18685. "inexact" exceptions.
  18686. [BZ #15479]
  18687. * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
  18688. exception in comment.
  18689. (huge): Remove variable.
  18690. (__floor): Do not force "inexact" exception.
  18691. * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
  18692. "inexact" exception in comment.
  18693. (huge): Remove variable.
  18694. (__floor): Do not force "inexact" exception.
  18695. * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
  18696. exception in comment.
  18697. (huge): Remove variable.
  18698. (__floorf): Do not force "inexact" exception.
  18699. * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
  18700. exception in comment.
  18701. (huge): Remove variable.
  18702. (__floorl): Do not force "inexact" exception.
  18703. [BZ #15479]
  18704. * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
  18705. exception in comment.
  18706. (huge): Remove variable.
  18707. (__ceil): Do not force "inexact" exception.
  18708. * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
  18709. "inexact" exception in comment.
  18710. (huge): Remove variable.
  18711. (__ceil): Do not force "inexact" exception.
  18712. * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
  18713. (__ceilf): Do not force "inexact" exception.
  18714. * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
  18715. exception in comment.
  18716. (huge): Remove variable.
  18717. (__ceill): Do not force "inexact" exception.
  18718. 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
  18719. * config.h.in (BIND_NOW): New.
  18720. * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
  18721. * configure: Regenerated.
  18722. * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
  18723. indirect branch via the GOT slot.
  18724. 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
  18725. [BZ #19765]
  18726. * sysdeps/s390/mempcpy.S: New File.
  18727. * sysdeps/s390/multiarch/mempcpy.c: Likewise.
  18728. * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
  18729. * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
  18730. Add mempcpy variants.
  18731. * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
  18732. (memcpy): Adjust to be usable from mempcpy entry point.
  18733. (__memcpy_mvcle): Likewise.
  18734. * sysdeps/s390/s390-64/memcpy.S: Likewise.
  18735. * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
  18736. ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
  18737. (__memcpy_z196): Adjust to be usable from mempcpy entry point.
  18738. (__memcpy_z10): Likewise.
  18739. * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
  18740. 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
  18741. * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
  18742. Remove __GI_ symbol.
  18743. * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
  18744. * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
  18745. * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
  18746. * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
  18747. * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
  18748. * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
  18749. 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
  18750. * sysdeps/s390/s390-64/memcpy.S (memcpy):
  18751. Use cghi instead of chi to compare 64bit value.
  18752. 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
  18753. * sysdeps/s390/s390-32/memcpy.S (memcpy):
  18754. Jump to 1MB check before executing mvc-loop.
  18755. 2016-05-24 Florian Weimer <fweimer@redhat.com>
  18756. [BZ #6527]
  18757. * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
  18758. unconditionally.
  18759. * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
  18760. 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  18761. * stdlib/tst-strtod6.c (do_test): Use new type generic
  18762. invocation of the test function.
  18763. (test): Refactor into ...
  18764. (TEST_STRTOD): New macro base function.
  18765. 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  18766. * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
  18767. (TEST_STRTOD): New macro.
  18768. (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
  18769. 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  18770. * stdlib/tst-strtod6.c (do_test): Use new type generic
  18771. invocation of the test function.
  18772. (test): Refactor into ...
  18773. (TEST_STRTOD): New macro base function.
  18774. 2016-05-23 Florian Weimer <fweimer@redhat.com>
  18775. CVE-2016-4429
  18776. [BZ #20112]
  18777. * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
  18778. payload.
  18779. 2016-05-23 Florian Weimer <fweimer@redhat.com>
  18780. [BZ #20111]
  18781. * bits/sockaddr.h (_SS_SIZE): Define.
  18782. * bits/socket.h (_SS_SIZE): Remove.
  18783. (_SS_PADSIZE): Adjust to account for all padding.
  18784. (struct sockaddr_storage): Update comment. Avoid implicit
  18785. padding.
  18786. * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
  18787. (_SS_PADSIZE): Adjust to account for all padding.
  18788. (struct sockaddr_storage): Update comment. Avoid implicit
  18789. padding.
  18790. * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
  18791. * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
  18792. (_SS_PADSIZE): Adjust to account for all padding.
  18793. (struct sockaddr_storage): Update comment. Avoid implicit
  18794. padding.
  18795. * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
  18796. __SS_SIZE is 126 in this version.
  18797. * inet/tst-sockaddr.c: New file.
  18798. * inet/Makefile (tests): Add tst-sockaddr.c
  18799. (tst-sockaddr.c): Compile with non-strict aliasing.
  18800. 2016-05-23 Joseph Myers <joseph@codesourcery.com>
  18801. * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
  18802. [XPG3 || XPG4].
  18803. (NL_ARGMAX): Also expect for [XPG3].
  18804. (NL_LANGMAX): Likewise.
  18805. (NL_MSGMAX): Likewise.
  18806. (NL_NMAX): Likewise.
  18807. (NL_SETMAX): Likewise.
  18808. (NL_TEXTMAX): Likewise.
  18809. (NZERO): Likewise.
  18810. (TMP_MAX): Likewise.
  18811. * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
  18812. variable.
  18813. * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
  18814. (PF_MAX): Update value.
  18815. (AF_KCM): New macro.
  18816. (SOL_NETBEUI): Likewise.
  18817. (SOL_LLC): Likewise.
  18818. (SOL_DCCP): Likewise.
  18819. (SOL_NETLINK): Likewise.
  18820. (SOL_TIPC): Likewise.
  18821. (SOL_RXRPC): Likewise.
  18822. (SOL_PPPOL2TP): Likewise.
  18823. (SOL_BLUETOOTH): Likewise.
  18824. (SOL_PNPIPE): Likewise.
  18825. (SOL_RDS): Likewise.
  18826. (SOL_IUCV): Likewise.
  18827. (SOL_CAIF): Likewise.
  18828. (SOL_ALG): Likewise.
  18829. (SOL_NFC): Likewise.
  18830. (SOL_KCM): Likewise.
  18831. (MSG_BATCH): New enum value and macro.
  18832. 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
  18833. [BZ #18185]
  18834. * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
  18835. sharing L2 cache to 2 for Knights Landing.
  18836. 2016-05-20 Joseph Myers <joseph@codesourcery.com>
  18837. * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
  18838. (FTW_DP): Do not expect for [XPG3 || XPG4].
  18839. (FTW_SL): Do not expect for [XPG3].
  18840. (FTW_SLN): Likewise.
  18841. (FTW_PHYS): Likewise.
  18842. (FTW_MOUNT): Likewise.
  18843. (FTW_DEPTH): Likewise.
  18844. (FTW_CHDIR): Likewise.
  18845. (nftw): Likewise.
  18846. * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
  18847. variable.
  18848. 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
  18849. * manual/errno.texi: Fix various typos & grammar errors.
  18850. 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
  18851. * manual/intro.texi: Fix duplicated typo.
  18852. 2016-05-19 Joseph Myers <joseph@codesourcery.com>
  18853. [BZ #13304]
  18854. * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
  18855. <float.h>, <math_private.h> and <stdlib.h>.
  18856. (add_split): New function.
  18857. (mul_split): Likewise.
  18858. (ext_val): New typedef.
  18859. (store_ext_val): New function.
  18860. (mul_ext_val): New function.
  18861. (compare): New function.
  18862. (add_split_ext): New function.
  18863. (__fmal): After checking for Inf, NaN and zero, compute result as
  18864. an exact sum of scaled double values in round-to-nearest before
  18865. adding those up and adjusting for other rounding modes.
  18866. * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
  18867. tests of fma.
  18868. * math/auto-libm-test-out: Regenerated.
  18869. 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
  18870. [BZ #20119]
  18871. * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
  18872. processor level type mask for CPUID with EAX == 11.
  18873. 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
  18874. * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
  18875. logical threads if the HTT bit is 0.
  18876. * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
  18877. (index_cpu_HTT): Likewise.
  18878. (reg_HTT): Likewise.
  18879. 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
  18880. [BZ #20115]
  18881. * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
  18882. Remove alignments on jump targets.
  18883. 2016-05-19 Joseph Myers <joseph@codesourcery.com>
  18884. * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
  18885. (getpwent): Likewise.
  18886. (setpwent): Likewise.
  18887. * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
  18888. variable.
  18889. * conform/data/search.h-data (insque): Do not expect for [XPG3].
  18890. (remque): Likewise.
  18891. * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
  18892. variable.
  18893. 2016-05-18 Joseph Myers <joseph@codesourcery.com>
  18894. * math/libm-test.inc: Update comment not to refer to signs of NaNs
  18895. not being tested.
  18896. 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
  18897. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
  18898. (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
  18899. call.
  18900. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
  18901. (__condvar_cleanup1): Likewise.
  18902. 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
  18903. * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
  18904. New
  18905. (__pthread_unwind): Renamed to ...
  18906. (PTHREAD_UNWIND): This.
  18907. (__pthread_enable_asynccancel): Replace
  18908. JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
  18909. 2016-05-18 Joseph Myers <joseph@codesourcery.com>
  18910. * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
  18911. (CLONE_NEWCGROUP): New macro.
  18912. * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
  18913. (Q_GETNEXTQUOTA): New macro.
  18914. 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
  18915. [BZ #19907]
  18916. * benchtests/bench-memcpy.c (do_one_test): Clear the destination
  18917. buffer updated by the previous run.
  18918. * string/test-memcpy.c (do_one_test): Likewise.
  18919. * benchtests/bench-memmove.c (do_one_test): Add a comment.
  18920. * string/test-memmove.c (do_one_test): Likewise.
  18921. 2016-05-17 Joseph Myers <joseph@codesourcery.com>
  18922. [BZ #20094]
  18923. * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
  18924. not [__USE_XOPEN].
  18925. (unlockpt): Likewise.
  18926. (ptsname): Likewise.
  18927. * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
  18928. variable.
  18929. [BZ #20076]
  18930. * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
  18931. instead of [__USE_UNIX98].
  18932. (S_ISSOCK): Likewise.
  18933. * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
  18934. variable.
  18935. [BZ #20074]
  18936. * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
  18937. [__USE_POSIX].
  18938. * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
  18939. variable.
  18940. [BZ #20051]
  18941. * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
  18942. (ttyslot): Do not declare.
  18943. * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
  18944. (ttyslot): New prototype.
  18945. * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
  18946. variable.
  18947. (test-xfail-UNIX98/stdlib.h/conform): Likewise.
  18948. 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
  18949. * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
  18950. 2016-05-13 Florian Weimer <fweimer@redhat.com>
  18951. Fix race condition in tst-mallocfork2, use fewer resources.
  18952. * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
  18953. to current process group.
  18954. (signal_sender): Yield in the non-sleeping case.
  18955. 2016-05-13 Joseph Myers <joseph@codesourcery.com>
  18956. * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
  18957. (ecvt): Likewise.
  18958. (fcvt): Likewise.
  18959. (gcvt): Likewise.
  18960. (getsubopt): Likewise.
  18961. (grantpt): Likewise.
  18962. (initstate): Likewise.
  18963. (l64a): Likewise.
  18964. (mktemp): Likewise.
  18965. (mkstemp): Likewise.
  18966. (ptsname): Likewise.
  18967. (random): Likewise.
  18968. (realpath): Likewise.
  18969. (setstate): Likewise.
  18970. (srandom): Likewise.
  18971. (ttyslot): Likewise.
  18972. (unlockpt): Likewise.
  18973. (valloc): Likewise.
  18974. * conform/data/string.h-data (strdup): Do not expect for [XPG3].
  18975. * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
  18976. variable.
  18977. 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
  18978. [BZ #20072]
  18979. * sysdeps/i386/dl-machine.h (dl_platform_init): Call
  18980. init_cpu_features only if SHARED is defined.
  18981. * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
  18982. 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
  18983. * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
  18984. non-inclusive caches on Intel processors.
  18985. 2016-05-13 Florian Weimer <fweimer@redhat.com>
  18986. * malloc/malloc.c (dumped_main_arena_start)
  18987. (dumped_main_arena_end): New variables.
  18988. (DUMPED_MAIN_ARENA_CHUNK): New macro.
  18989. (do_check_chunk): Skip dumped fake mmapped chunks.
  18990. (munmap_chunk): Likewise.
  18991. (__libc_free): Do not adjust statistics for fake mmapped chunks.
  18992. (__libc_realloc): Adjust hardening check. Always copy dumped fake
  18993. mmapped chunks.
  18994. * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
  18995. Mark dumped chunks as using mmap. Update dumped_main_arena_start
  18996. and dumped_main_arena_end to cover the dumped heap.
  18997. 2016-05-12 Joseph Myers <joseph@codesourcery.com>
  18998. * conform/data/time.h-data (getdate_err): Do not expect for
  18999. [XPG3].
  19000. (getdate): Likewise.
  19001. * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
  19002. variable.
  19003. * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
  19004. (F_ULOCK): Likewise.
  19005. (F_TEST): Likewise.
  19006. (F_TLOCK): Likewise.
  19007. (useconds_t): Likewise.
  19008. (intptr_t): Do not expect for [XPG3] or [XPG4].
  19009. (brk): Do not expect for [XPG3]
  19010. (fchown): Likewise.
  19011. (fchdir): Likewise.
  19012. (ftruncate): Likewise.
  19013. (getdtablesize): Likewise.
  19014. (gethostid): Likewise.
  19015. (getpagesize): Likewise.
  19016. (getpgid): Likewise.
  19017. (getsid): Likewise.
  19018. (getwd): Likewise.
  19019. (lchown): Likewise.
  19020. (lockf): Likewise.
  19021. (readlink): Likewise.
  19022. (sbrk): Likewise.
  19023. (setpgrp): Likewise.
  19024. (setregid): Likewise.
  19025. (setreuid): Likewise.
  19026. (symlink): Likewise.
  19027. (sync): Likewise.
  19028. (truncate): Likewise.
  19029. (ualarm): Likewise.
  19030. (usleep): Likewise.
  19031. (vfork): Likewise.
  19032. * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
  19033. variable.
  19034. [BZ #20054]
  19035. * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
  19036. not [__USE_UNIX98].
  19037. * conform/data/unistd.h-data (gethostname): Do not expect for
  19038. [XPG3].
  19039. * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
  19040. [!POSIX] (S_IFBLK): Likewise.
  19041. [!POSIX] (S_IFCHR): Likewise.
  19042. [!POSIX] (S_IFIFO): Likewise.
  19043. [!POSIX] (S_IFREG): Likewise.
  19044. [!POSIX] (S_IFDIR): Likewise.
  19045. [!POSIX] (S_IFLNK): Likewise.
  19046. [!POSIX] (S_IFSOCK): Likewise.
  19047. * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
  19048. variable.
  19049. (test-xfail-XPG4/fcntl.h/conform): Likewise.
  19050. 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
  19051. * sysdeps/aarch64/memset.S (__memset):
  19052. Rewrite of optimized memset.
  19053. 2016-05-12 Florian Weimer <fweimer@redhat.com>
  19054. [BZ #19703]
  19055. Partially async-signal-safe fork for single-threaded processes.
  19056. * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
  19057. variable. Do not acquire and reset/release malloc and libio locks
  19058. in single-threaded processes.
  19059. * malloc/tst-mallocfork2.c: New file.
  19060. * malloc/Makefile (tests): Add it.
  19061. 2016-05-12 Florian Weimer <fweimer@redhat.com>
  19062. * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
  19063. argument. Use scratch buffer instead of extend_alloca.
  19064. (gethosts): Use scratch buffer instead of extend_alloca.
  19065. (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
  19066. extend_alloca.
  19067. (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
  19068. 2016-05-11 Joseph Myers <joseph@codesourcery.com>
  19069. [BZ #20055]
  19070. * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
  19071. instead of [__USE_UNIX98].
  19072. (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
  19073. [__USE_UNIX98].
  19074. * conform/data/termios.h-data (tcgetsid): Do not expect for
  19075. [XPG3].
  19076. * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
  19077. variable.
  19078. (test-xfail-XPG4/termios.h/conform): Likewise.
  19079. 2016-05-11 Florian Weimer <fweimer@redhat.com>
  19080. Do not use mcheck in localedef.
  19081. * locale/programs/localedef.c (turn_on_mcheck)
  19082. (__malloc_initialize_hook): Remove.
  19083. 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
  19084. * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
  19085. * sysdeps/s390/s390-64/Makefile: Likewise.
  19086. 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
  19087. * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
  19088. Remove ifunc-defines.sym.
  19089. * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
  19090. Likewise.
  19091. * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
  19092. * sysdeps/x86/rtld-global-offsets.sym: Likewise.
  19093. * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
  19094. * sysdeps/x86/Makefile (gen-as-const-headers): Remove
  19095. rtld-global-offsets.sym.
  19096. * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
  19097. * sysdeps/x86/cpu-features-offsets.sym: This.
  19098. * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
  19099. instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
  19100. 2016-05-10 Joseph Myers <joseph@codesourcery.com>
  19101. [BZ #20073]
  19102. * io/sys/stat.h (fchmod): Declare for
  19103. [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
  19104. * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
  19105. variable.
  19106. * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
  19107. [XPG3] (S_IFSOCK): Likewise.
  19108. [XPG3] (S_ISVTX): Likewise.
  19109. [XPG3] (S_ISLNK): Likewise.
  19110. [XPG3] (S_ISSOCK): Likewise.
  19111. [XPG3] (fchmod): Likewise.
  19112. [XPG3] (lstat): Likewise.
  19113. [XPG3] (mknod): Likewise.
  19114. * conform/data/sys/stat.h-data (st_blksize): Do not expect for
  19115. [XPG3]. Expect type long and XFAIL for [XPG4].
  19116. (st_blocks): Likewise.
  19117. [BZ #20044]
  19118. * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
  19119. (pthread_atfork): New prototype.
  19120. * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
  19121. variable.
  19122. [BZ #20043]
  19123. * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
  19124. prototype.
  19125. 2016-05-10 Florian Weimer <fweimer@redhat.com>
  19126. [BZ #20017]
  19127. * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
  19128. gmtime.
  19129. 2016-05-10 Florian Weimer <fweimer@redhat.com>
  19130. [BZ #19994]
  19131. * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
  19132. flag in _res.options.
  19133. 2016-05-09 Joseph Myers <joseph@codesourcery.com>
  19134. * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
  19135. [XPG3 || XPG4].
  19136. (blksize_t): Likewise.
  19137. (clockid_t): Likewise.
  19138. * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
  19139. variable.
  19140. (test-xfail-XPG4/sys/types.h/conform): Likewise.
  19141. 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
  19142. * sysdeps/unix/sysv/linux/s390/init-first.c:
  19143. Add VDSO_SYMBOL(getcpu).
  19144. (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
  19145. * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
  19146. Add VDSO_SYMBOL(getcpu).
  19147. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
  19148. New define HAVE_GETCPU_VSYSCALL.
  19149. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
  19150. 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
  19151. * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
  19152. instead of <sysdeps/x86_64/cacheinfo.c>.
  19153. * sysdeps/x86_64/cacheinfo.c: Moved to ...
  19154. * sysdeps/x86/cacheinfo.c: Here.
  19155. 2016-05-04 Florian Weimer <fweimer@redhat.com>
  19156. * malloc/malloc-internal.h: Adjust header file guard.
  19157. 2016-05-04 Florian Weimer <fweimer@redhat.com>
  19158. [BZ #19787]
  19159. * inet/getnameinfo.c (check_sprintf_result): New function.
  19160. (CHECKED_SNPRINTF): New macro.
  19161. (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
  19162. to the host buffer.
  19163. (gni_host_local): Use checked_copy to copy the host name.
  19164. (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
  19165. (gni_serv_local): Use checked_copy to copy the service name.
  19166. (getnameinfo): Remove unnecessary truncation of result buffers.
  19167. 2016-05-04 Florian Weimer <fweimer@redhat.com>
  19168. * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
  19169. in case of inet_ntop failure.
  19170. 2016-05-04 Florian Weimer <fweimer@redhat.com>
  19171. * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
  19172. avoid long lines.
  19173. (gni_host_inet_numeric): Likewise. Reduce scope of local
  19174. variables.
  19175. (gni_host_inet, gni_host_local): Add comment.
  19176. (gni_host): Add comment. Use temporary to avoid long lines.
  19177. 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  19178. * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
  19179. registers specifiers where general purpose registers specifiers should
  19180. have been used.
  19181. 2016-05-04 Florian Weimer <fweimer@redhat.com>
  19182. [BZ #19779]
  19183. CVE-2016-1234
  19184. Avoid copying names of directory entries.
  19185. * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
  19186. (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
  19187. (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
  19188. (struct readdir_result): New type.
  19189. (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
  19190. (GL_READDIR): New macros.
  19191. (readdir_result_might_be_symlink, readdir_result_might_be_dir)
  19192. (convert_dirent, convert_dirent64): New functions.
  19193. (glob_in_dir): Use struct readdir_result. Call convert_dirent or
  19194. convert_dirent64. Adjust references to the readdir result.
  19195. * sysdeps/unix/sysv/linux/i386/glob64.c:
  19196. (convert_dirent, GL_READDIR): Redefine for second file inclusion.
  19197. * posix/bug-glob2.c (LONG_NAME): Define.
  19198. (filesystem): Add LONG_NAME.
  19199. (my_DIR): Increase the size of room_for_dirent.
  19200. 2016-05-03 Joseph Myers <joseph@codesourcery.com>
  19201. [BZ #20041]
  19202. * misc/sys/select.h (__need_timespec): Only define if
  19203. [__USE_XOPEN2K].
  19204. * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
  19205. variable.
  19206. (test-xfail-XPG4/utmpx.h/conform): Likewise.
  19207. (test-xfail-UNIX98/sys/time.h/conform): Likewise.
  19208. (test-xfail-UNIX98/utmpx.h/conform): Likewise.
  19209. 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  19210. Segher Boessenkool <segher@gcc.gnu.org>
  19211. [BZ #20004]
  19212. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
  19213. (__novec_swapcontext): Add missing load.
  19214. 2016-05-02 Joseph Myers <joseph@codesourcery.com>
  19215. [BZ #20023]
  19216. * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
  19217. <time.h>.
  19218. * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
  19219. variable.
  19220. (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
  19221. 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  19222. * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
  19223. flags CLONE_VM compare.
  19224. 2016-05-02 Florian Weimer <fweimer@redhat.com>
  19225. [BZ #20031]
  19226. * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
  19227. completely empty.
  19228. 2016-05-02 Florian Weimer <fweimer@redhat.com>
  19229. [BZ #19573]
  19230. * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
  19231. * hesiod/nss_hesiod/hesiod-init.c: Remove file.
  19232. * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
  19233. * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
  19234. (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
  19235. (hesiod_free_list): Mark as hidden.
  19236. * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
  19237. res_set, res_get.
  19238. * hesiod/hesiod.c: Remove unnecessary forward declarations.
  19239. (init, __hesiod_res_get, __hesiod_res_set): Remove.
  19240. (hesiod_init): Remove obsolete res_ninit call.
  19241. (hesiod_end): Do not free resolver state. Do not invoke callback.
  19242. (hesiod_bind): Do not call init.
  19243. (get_txt_records): Use res_mkquery, res_send instead of
  19244. res_nmkquery, res_nsend.
  19245. * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
  19246. instead of _nss_hesiod_init.
  19247. (_nss_hesiod_initgroups_dyn): Likewise.
  19248. * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
  19249. * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
  19250. * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
  19251. 2016-05-02 Florian Weimer <fweimer@redhat.com>
  19252. * hesiod/hesiod_p.h (DEF_RHS): Remove.
  19253. * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
  19254. 2016-05-02 Florian Weimer <fweimer@redhat.com>
  19255. * hesiod/hesiod.h: Remove RCS keyword.
  19256. * hesiod/hesiod_p.h: Likewise.
  19257. * hesiod/hesiod.c: Likewise.
  19258. 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
  19259. [BZ #12450]
  19260. * locale/iso-639.def: Add Samogitian/sgs.
  19261. 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
  19262. * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
  19263. * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
  19264. 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
  19265. Carlos O'Donell <carlos@redhat.com>
  19266. [BZ #19072]
  19267. * grp/Makefile (headers): Add grp-merge.h
  19268. (routines): Add grp-merge.
  19269. * grp/getgrgid_r.c: Include grp-merge.h.
  19270. (DEEPCOPY_FN): Define.
  19271. (MERGE_FN): Define.
  19272. * grp/getgrname_r.c: Include grp-merge.h.
  19273. (DEEPCOPY_FN): Define.
  19274. (MERGE_FN): Define.
  19275. * grp/grp-merge.c: New file.
  19276. * grp/grp-merge.h: New file.
  19277. * include/grp-merge.h: New file.
  19278. * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
  19279. __copy_grp@GLIBC_PRIVATE.
  19280. * manual/nss.texi (Actions in the NSS configuration): Describe
  19281. return, continue, and merge.
  19282. * nscd/getgrgid_r.c: Include grp/grp-merge.h.
  19283. (DEEPCOPY_FN): Define.
  19284. (MERGE_FN): Define.
  19285. * nscd/getgrnam_r.c: Include grp/grp-merge.h.
  19286. (DEEPCOPY_FN): Define.
  19287. (MERGE_FN): Define.
  19288. * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
  19289. [!MERGE_FN]: Define __merge_einval.
  19290. (CHECK_MERGE): Define.
  19291. (REENTRANT_NAME): Process merge if do_merge is true.
  19292. * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
  19293. (__nss_getent_r): Likewise.
  19294. * nss/nsswitch.c (nss_parse_service_list): Likewise.
  19295. * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
  19296. 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  19297. [BZ #20012]
  19298. * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
  19299. length to calculate the buffer to read.
  19300. (fmemopen_write): Set the buffer position based on bytes written.
  19301. (fmemopen_seek): Return EINVAL for invalid whence modes.
  19302. [BZ #19957]
  19303. * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
  19304. tst-getpid2.
  19305. (test): Add tst-clone2.
  19306. * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
  19307. * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
  19308. pid/tid fields for CLONE_VM.
  19309. * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
  19310. * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
  19311. * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
  19312. * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
  19313. * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
  19314. * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
  19315. * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
  19316. * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
  19317. * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
  19318. Likewise.
  19319. * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
  19320. Likewise.
  19321. * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
  19322. * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
  19323. * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
  19324. * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
  19325. * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
  19326. * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
  19327. * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
  19328. * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
  19329. 2016-04-29 Florian Weimer <fweimer@redhat.com>
  19330. [BZ #19642]
  19331. * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
  19332. (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
  19333. (gni_serv_local, gni_serv): New functions extracted from
  19334. getnameinfo.
  19335. (getnameinfo): Call gni_host and gni_serv to perform the
  19336. processing. Always free scratch buffer.
  19337. 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  19338. * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
  19339. remaining bytes in the dest string, with zeros.
  19340. 2016-04-29 Florian Weimer <fweimer@redhat.com>
  19341. [BZ #20010]
  19342. CVE-2016-3706
  19343. * sysdeps/posix/getaddrinfo.c
  19344. (convert_hostent_to_gaih_addrtuple): New function.
  19345. (gethosts): Call convert_hostent_to_gaih_addrtuple.
  19346. (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
  19347. AF_INET data.
  19348. 2016-04-29 Florian Weimer <fweimer@redhat.com>
  19349. glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
  19350. callback function gl_readdir.
  19351. * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
  19352. (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
  19353. (glob_in_dir): Remove len. Use strdup instead of malloc and
  19354. memcpy to copy the name.
  19355. * manual/pattern.texi (Calling Glob): Document requirements for
  19356. implementations of the gl_readdir callback function.
  19357. * manual/examples/mkdirent.c: New example.
  19358. * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
  19359. per the manual guidance.
  19360. * posix/tst-gnuglob.c (my_readdir): Likewise.
  19361. 2016-04-28 Joseph Myers <joseph@codesourcery.com>
  19362. [BZ #20014]
  19363. * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
  19364. not [__USE_POSIX].
  19365. (getchar_unlocked): Likewise.
  19366. (putc_unlocked): Likewise.
  19367. (putchar_unlocked): Likewise.
  19368. (flockfile): Likewise.
  19369. (ftrylockfile): Likewise.
  19370. (funlockfile): Likewise.
  19371. * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
  19372. variable.
  19373. (test-xfail-XPG4/stdio.h/conform): Likewise.
  19374. * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
  19375. Expect constant.
  19376. [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
  19377. * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
  19378. variable.
  19379. (test-xfail-XPG4/langinfo.h/conform): Likewise.
  19380. (test-xfail-UNIX98/langinfo.h/conform): Likewise.
  19381. * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
  19382. [__USE_LARGEFILE64] (off64_t): Likewise.
  19383. * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
  19384. variable.
  19385. 2016-04-28 Florian Weimer <fweimer@redhat.com>
  19386. * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
  19387. 2016-04-28 Florian Weimer <fweimer@redhat.com>
  19388. * resolv/inet_addr.c: Reindent preprocessor conditionals.
  19389. * resolv/res_init.c: Likewise.
  19390. * resolv/res_mkquery.c: Likewise.
  19391. 2016-04-28 Florian Weimer <fweimer@redhat.com>
  19392. * resolv/res_init.c (isascii): Do not define. Use definition in
  19393. <ctype.h>.
  19394. * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
  19395. (LOG_AUTH): Remove.
  19396. (SPRINTF): Remove, adjust caller.
  19397. (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
  19398. 2016-04-28 Florian Weimer <fweimer@redhat.com>
  19399. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
  19400. SUNSECURITY conditional.
  19401. * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
  19402. 2016-04-28 Florian Weimer <fweimer@redhat.com>
  19403. * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
  19404. * resolv/gethnamaddr.c: Use include files from conf/portability.h.
  19405. Remove BSD-related preprocessor conditionals.
  19406. * conf/portability.h: Remove.
  19407. 2016-04-28 Florian Weimer <fweimer@redhat.com>
  19408. * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
  19409. * resolv/res_data.c: Likewise.
  19410. 2016-04-28 Florian Weimer <fweimer@redhat.com>
  19411. * resolv/res_comp.c: Remove code conditional on __ultrix__.
  19412. * resolv/res_data.c: Remove code conditional on ultrix.
  19413. 2016-04-28 Florian Weimer <fweimer@redhat.com>
  19414. * resolv/res_init.c (RFC1535): Do not define. Remove
  19415. RFC1535 preprocessor conditionals.
  19416. * resolv/README: Update. Do not claim strict RFC 1535 compliance
  19417. because there configuration options which make the resolver
  19418. behavior different.
  19419. 2016-04-28 Florian Weimer <fweimer@redhat.com>
  19420. * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
  19421. RESOLVSORT preprocessor conditionals.
  19422. * resolv/nss_dns/dns-host.c: Likewise.
  19423. * resolv/res_init.c: Likewise.
  19424. 2016-04-28 Florian Weimer <fweimer@redhat.com>
  19425. * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
  19426. is never defined.
  19427. 2016-04-28 Florian Weimer <fweimer@redhat.com>
  19428. * inet/inet_lnaof.c: Remove SCSS keyword.
  19429. * inet/inet_mkadr.c: Likewise.
  19430. * inet/inet_net.c: Likewise.
  19431. * inet/inet_netof.c: Likewise.
  19432. * inet/rcmd.c: Likewise.
  19433. * inet/rexec.c: Likewise.
  19434. * inet/ruserpass.c: Likewise.
  19435. 2016-04-28 Florian Weimer <fweimer@redhat.com>
  19436. * resolv/inet_addr.c: Remove _LIBC conditionals.
  19437. * resolv/res_data.c: Likewise.
  19438. * resolv/res_init.c: Likewise.
  19439. * resolv/res_mkquery.c: Likewise.
  19440. * resolv/res_libc.c: Update comment.
  19441. * resolv/README: Update.
  19442. 2016-04-28 Florian Weimer <fweimer@redhat.com>
  19443. * resolv/gethnamaddr.c: Remove SCSS keyword.
  19444. * resolv/herror.c: Likewise.
  19445. * resolv/inet_addr.c: Likewise.
  19446. * resolv/inet_net_ntop.c: Likewise.
  19447. * resolv/inet_net_pton.c: Likewise.
  19448. * resolv/inet_neta.c: Likewise.
  19449. * resolv/inet_ntop.c: Likewise.
  19450. * resolv/inet_pton.c: Likewise.
  19451. * resolv/ns_date.c: Remove RCS keyword.
  19452. * resolv/ns_name.c: Likewise.
  19453. * resolv/ns_netint.c: Likewise.
  19454. * resolv/ns_parse.c: Likewise.
  19455. * resolv/ns_print.c: Likewise.
  19456. * resolv/ns_samedomain.c: Likewise.
  19457. * resolv/ns_ttl.c: Likewise.
  19458. * resolv/nsap_addr.c: Likewise.
  19459. * resolv/res_comp.c: Remove SCSS and RCS keyword.
  19460. * resolv/res_data.c: Remove RCS keyword.
  19461. * resolv/res_debug.c: Remove SCSS and RCS keyword.
  19462. * resolv/res_init.c: Likewise.
  19463. * resolv/res_mkquery.c: Likewise.
  19464. * resolv/res_query.c: Likewise.
  19465. * resolv/res_send.c: Likewise.
  19466. 2016-04-27 Joseph Myers <joseph@codesourcery.com>
  19467. * conform/data/stdio.h-data (fdopen): Expect also for
  19468. [XPG3 || XPG4].
  19469. * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
  19470. (fseeko): Likewise.
  19471. (ftello): Likewise.
  19472. (ftrylockfile): Likewise.
  19473. (funlockfile): Likewise.
  19474. (getc_unlocked): Likewise.
  19475. (getchar_unlocked): Likewise.
  19476. (putc_unlocked): Likewise.
  19477. (putchar_unlocked): Likewise.
  19478. 2016-04-27 Florian Weimer <fweimer@redhat.com>
  19479. [BZ #19868]
  19480. * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
  19481. DNS packet syntax checks (which were not needed before). Skip
  19482. over non-PTR records.
  19483. 2016-04-27 Florian Weimer <fweimer@redhat.com>
  19484. * resolv/nss_dns/dns-network.c (offsetof): Remove macro
  19485. definition. Include <stddef.h> instead.
  19486. 2016-04-27 Florian Weimer <fweimer@redhat.com>
  19487. [BZ #19831]
  19488. * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
  19489. function.
  19490. (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
  19491. (gaih_getanswer_slice): Check RDATA length against RRTYPE.
  19492. 2016-04-27 Florian Weimer <fweimer@redhat.com>
  19493. [BZ #19862]
  19494. * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
  19495. (getanswer_r): Do not call syslog.
  19496. (gaih_getanswer_slice): Likewise.
  19497. * resolv/gethnamaddr.c (AskedForGot): Remove.
  19498. (getanswer): Do not call syslog.
  19499. (gethostbyaddr): Likewise.
  19500. 2016-04-27 Joseph Myers <joseph@codesourcery.com>
  19501. * conform/data/signal.h-data (union sigval): Expect also if
  19502. [XOPEN2K].
  19503. (struct sigevent): Likewise.
  19504. (SIGEV_NONE): Likewise.
  19505. (SIGEV_SIGNAL): Likewise.
  19506. (SIGEV_THREAD): Likewise.
  19507. (SIGRTMIN): Likewise.
  19508. (SIGRTMAX): Likewise.
  19509. * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
  19510. variable.
  19511. (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
  19512. 2016-04-27 Florian Weimer <fweimer@redhat.com>
  19513. [BZ #19830]
  19514. * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
  19515. (gaih_getanswer_slice): Likewise.
  19516. * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
  19517. Also check for availability of RR metadata.
  19518. 2016-04-27 Florian Weimer <fweimer@redhat.com>
  19519. [BZ #19825]
  19520. * resolv/res_send.c (send_vc): Remove early *resplen2
  19521. initialization. Set *resplen2 on socket error. Call
  19522. close_and_return_error for other errors.
  19523. 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
  19524. * sysdeps/unix/sysv/linux/netiucv/iucv.h
  19525. (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
  19526. (SCM_IUCV_TRGCLS): New define.
  19527. 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  19528. [BZ #20005]
  19529. * libio/fmemopen.c (fmemopen_write): Update internal position after
  19530. write.
  19531. * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
  19532. * stdio-common/tst-fmemopen4.c: New file..
  19533. 2016-04-26 Joseph Myers <joseph@codesourcery.com>
  19534. [BZ #19996]
  19535. * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
  19536. not [__USE_XOPEN2K].
  19537. * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
  19538. variable.
  19539. * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
  19540. * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
  19541. variable.
  19542. * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
  19543. [__USE_XOPEN2K8].
  19544. [__USE_LARGEFILE64] (off64_t): Likewise.
  19545. * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
  19546. variable.
  19547. 2016-04-25 Joseph Myers <joseph@codesourcery.com>
  19548. [BZ #19989]
  19549. * libio/stdio.h (cuserid): Do not declare if
  19550. [__USE_XOPEN2K && !__USE_GNU].
  19551. * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
  19552. variable.
  19553. 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  19554. * sysdeps/powerpc/powerpc64/multiarch/Makefile:
  19555. (sysdep_routines): Add P8 and PPC64 strcspn targets.
  19556. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
  19557. (__libc_ifunc_impl_list): Add entries for P8 and PPC64
  19558. ifunc'ed strcspn.
  19559. * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
  19560. [EALIGN]: Removed.
  19561. [END]: Likewise
  19562. [STRSPN]: Define instead of the above to control symbol name.
  19563. * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
  19564. New file.
  19565. * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
  19566. Likewise.
  19567. * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
  19568. Likewise.
  19569. * sysdeps/powerpc/powerpc64/power8/strcspn.S:
  19570. Likewise.
  19571. * sysdeps/powerpc/powerpc64/power8/strspn.S:
  19572. [INITIAL_MASK]: New macro.
  19573. [STRCSPN]: Likewise.
  19574. [UPDATE_MASK]: Likewise.
  19575. [USE_AS_STRCSPN]: Likewise.
  19576. 2016-04-25 Florian Weimer <fweimer@redhat.com>
  19577. [BZ #19931]
  19578. * stdio-common/tst-vfprintf-width-prec.c: New file.
  19579. * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
  19580. (tests-special): Add tst-vfprintf-width-prec-mem.out.
  19581. (generated): Add mtrace-related files.
  19582. (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
  19583. (tst-%-mem.out): New pattern rule, replaces
  19584. tst-printf-bz18872-mem.out.
  19585. * stdio-common/vfprintf.c (vfprintf): When handling a precision
  19586. specifier, deallocate any previously allocated work buffer.
  19587. 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
  19588. * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
  19589. Add nop before __startcontext, add explaining comments.
  19590. 2016-04-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
  19591. RFC2292 macros were obsoleted by RFC3542, and should not be exposed
  19592. any more. Notably since IPV6_PKTINFO has been reintroduced with a
  19593. completely different API.
  19594. * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
  19595. (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
  19596. (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
  19597. (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
  19598. (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
  19599. (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
  19600. (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
  19601. IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
  19602. IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
  19603. IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
  19604. 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
  19605. * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
  19606. 2016-04-23 Mike Frysinger <vapier@gentoo.org>
  19607. * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
  19608. when it is the default of 0.
  19609. 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  19610. * sysdeps/powerpc/locale-defines.sym: Add new macros.
  19611. * sysdeps/powerpc/powerpc64/multiarch/Makefile:
  19612. (sysdep_routines): Add new strcasestr targets.
  19613. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
  19614. (__libc_ifunc_impl_list): Likewise.
  19615. * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
  19616. * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
  19617. * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
  19618. * sysdeps/powerpc/powerpc64/power8/Makefile:
  19619. New file to add strcasestr-ppc64 to sysdep_routines.
  19620. * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
  19621. * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
  19622. 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
  19623. * benchtests/Makefile (wcsmbs-benchset): Include only for
  19624. native builds and runs.
  19625. (LOCALES): Likewise.
  19626. (bench-build): Build timing-type here instead of the bench
  19627. target. Generate locale only for native builds.
  19628. * benchtests/README: Add note for cross-building.
  19629. * benchtests/Makefile (bench-clean): Clean up extra-objs.
  19630. * benchtests/README: Update README to include instructions on
  19631. using bench-build.
  19632. * Makefile.in (bench-build): New target.
  19633. * Rules (PHONY): Add bench-build target.
  19634. * benchtests/Makefile (bench): Depend on bench-build.
  19635. (bench-build): New target.
  19636. 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
  19637. * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
  19638. profil_reply_port.
  19639. (profile_waiter): Do not initialize profil_reply_port.
  19640. * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
  19641. frequency instead of tick length in us.
  19642. 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
  19643. [BZ #18712]
  19644. * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
  19645. (__old_mempcpy_small): Likewise.
  19646. (__old_strcpy_small): Likewise.
  19647. (__old_stpcpy_small): Likewise.
  19648. (__old_strpbrk_c2): Fix compat symbol name.
  19649. (__old_strpbrk_c3): Likewise.
  19650. * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
  19651. (__mempcpy_small): Remove.
  19652. (__strcpy_small): Remove.
  19653. (__stpcpy_small): Remove.
  19654. 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
  19655. [BZ #19400]
  19656. * locale/iso-639.def: Add the Talossan/tzl language.
  19657. 2016-04-16 Mike Frysinger <vapier@gentoo.org>
  19658. [BZ #16983]
  19659. * locale/programs/ld-address.c (address_finish): Update postal_fmt
  19660. comment. Add "ln" to strchr check on postal_fmt.
  19661. 2016-04-16 Mike Frysinger <vapier@gentoo.org>
  19662. * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
  19663. default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
  19664. tel_dom_fmt.
  19665. 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
  19666. * sysdeps/powerpc/powerpc64/multiarch/Makefile:
  19667. (sysdep_routines): Added __strlen_power8.
  19668. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
  19669. __strlen_power8 entry.
  19670. * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
  19671. Implementation for POWER8.
  19672. * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
  19673. for __strlen_power8.
  19674. * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
  19675. Implementation for POWER8.
  19676. 2016-04-15 Mike Frysinger <vapier@gentoo.org>
  19677. * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
  19678. 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
  19679. * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
  19680. Goldmont and Airmont processors.
  19681. 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
  19682. * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
  19683. * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
  19684. (__STRING2_SMALL_GET32): Remove.
  19685. (memset): Remove.
  19686. (__memset_1): Remove.
  19687. (__memset_gc): Remove.
  19688. (__mempcpy): Remove.
  19689. (mempcpy): Remove.
  19690. (__mempcpy_args): Remove.
  19691. (strchr): Remove.
  19692. (strcpy): Remove.
  19693. (strcpy_args): Remove.
  19694. (__stpcpy_args): Remove.
  19695. (__strcmp_cc): Remove.
  19696. (__strcmp_gc): Remove.
  19697. (strstr): Remove.
  19698. 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
  19699. * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
  19700. * nis/nis_call.c (nis_server_cache_add): Likewise.
  19701. 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  19702. * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
  19703. 2016-04-14 Florian Weimer <fweimer@redhat.com>
  19704. * malloc/arena.c (__malloc_fork_lock_parent)
  19705. (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
  19706. internal_function attribute.
  19707. 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
  19708. * stdio-common/printf_fp.c (__printf_fp_l):
  19709. Rename ___printf_fp_l to __printf_fp_l and
  19710. remove strong alias. Use libc_hidden_def instead
  19711. of ldbl_hidden_def macro.
  19712. 2016-04-14 Florian Weimer <fweimer@redhat.com>
  19713. Remove malloc hooks from fork handler. They are no longer needed
  19714. because malloc runs right before fork, and no malloc calls from
  19715. other fork handlers are not possible anymore.
  19716. * malloc/malloc.c (malloc_atfork, free_atfork): Remove
  19717. declarations.
  19718. * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
  19719. (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
  19720. (atfork_recursive_cntr): Remove.
  19721. (__malloc_fork_lock_parent): Do not override malloc hooks and
  19722. thread_arena.
  19723. (__malloc_fork_unlock_parent): Do not restore malloc hooks and
  19724. thread_arena.
  19725. (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
  19726. thread_arena instead of save_arena.
  19727. 2016-04-14 Florian Weimer <fweimer@redhat.com>
  19728. * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
  19729. (thread_atfork, thread_atfork_static): Remove.
  19730. * sysdeps/mach/hurd/malloc-machine.h:
  19731. (thread_atfork, thread_atfork_static): Remove.
  19732. 2016-04-14 Florian Weimer <fweimer@redhat.com>
  19733. [BZ #19431]
  19734. Run the malloc fork handler as late as possible to avoid deadlocks.
  19735. * malloc/malloc-internal.h: New file.
  19736. * malloc/malloc.c: Include it.
  19737. * malloc/arena.c (ATFORK_MEM): Remove.
  19738. (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
  19739. Update comment.
  19740. (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
  19741. (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
  19742. Remove outdated comment.
  19743. (ptmalloc_init): Do not call thread_atfork. Remove
  19744. thread_atfork_static.
  19745. * malloc/tst-malloc-fork-deadlock.c: New file.
  19746. * Makefile (tests): Add tst-malloc-fork-deadlock.
  19747. (tst-malloc-fork-deadlock): Link against libpthread.
  19748. * manual/memory.texi (Aligned Memory Blocks): Update safety
  19749. annotation comments.
  19750. * sysdeps/nptl/fork.c (__libc_fork): Call
  19751. __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
  19752. __malloc_fork_unlock_child.
  19753. * sysdeps/mach/hurd/fork.c (__fork): Likewise.
  19754. 2016-04-14 Florian Weimer <fweimer@redhat.com>
  19755. [BZ #19613]
  19756. Remove union wait.
  19757. * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
  19758. (w_stopsig, w_stopval): Remove.
  19759. * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
  19760. stat_loc argument.
  19761. * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
  19762. (__WAIT_STATUS_DEFN): Remove.
  19763. (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
  19764. (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
  19765. (wait, wait3, wait4): Use int * for the stat_loc argument.
  19766. * posix/wait.c (__wait): Likewise.
  19767. * posix/wait3.c (__wait3): Likewise.
  19768. * posix/wait4.c (__wait4): Likewise.
  19769. * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
  19770. (__WAIT_STATUS_DEFN): Remove.
  19771. (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
  19772. (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
  19773. * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
  19774. argument.
  19775. * sysdeps/posix/wait.c (__libc_wait): Likewise.
  19776. * sysdeps/posix/wait3.c (__wait3): Likewise.
  19777. * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
  19778. * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
  19779. * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
  19780. * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
  19781. stat_loc argument.
  19782. * manual/process.texi (BSD Wait Functions): Remove union wait.
  19783. 2016-04-13 Andreas Schwab <schwab@suse.de>
  19784. * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
  19785. (test-extras): Add tst-tlsalign-vars.
  19786. * math/Makefile: Wrap long lines.
  19787. (libm-vec-test-wrappers): Define.
  19788. (test-extras): Add $(libm-vec-test-wrappers).
  19789. (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
  19790. * nss/Makefile (extra-test-objs): Add nss_test1.os.
  19791. * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
  19792. * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
  19793. tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
  19794. (extra-test-objs): Add corresponding objects.
  19795. 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
  19796. [BZ #19928]
  19797. * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
  19798. New.
  19799. (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
  19800. times of shared cache size.
  19801. * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
  19802. (VMOVNT): New.
  19803. * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
  19804. (VMOVNT): Likewise.
  19805. * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
  19806. (VMOVNT): Likewise.
  19807. (VMOVU): Changed to movups for smaller code sizes.
  19808. (VMOVA): Changed to movaps for smaller code sizes.
  19809. * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
  19810. comments.
  19811. (PREFETCH): New.
  19812. (PREFETCH_SIZE): Likewise.
  19813. (PREFETCHED_LOAD_SIZE): Likewise.
  19814. (PREFETCH_ONE_SET): Likewise.
  19815. Rewrite to use forward and backward loops, which move 4 vector
  19816. registers at a time, to support overlapping addresses and use
  19817. non temporal store if size is above the threshold and there is
  19818. no overlap between destination and source.
  19819. 2016-04-12 Alex Smith <alex.smith@imgtec.com>
  19820. * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
  19821. Include dl-vdso.
  19822. * sysdeps/unix/sysv/linux/mips/Versions: Add
  19823. __vdso_clock_gettime.
  19824. * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
  19825. * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
  19826. * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
  19827. (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
  19828. definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
  19829. (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
  19830. (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
  19831. * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
  19832. * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
  19833. 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  19834. * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
  19835. * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
  19836. * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
  19837. * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
  19838. * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
  19839. * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
  19840. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
  19841. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
  19842. * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
  19843. * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
  19844. syscalls generation.
  19845. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
  19846. [__NR_pwrite64] (__NR_write): Remove define.
  19847. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
  19848. [__NR_pwrite64] (__NR_write): Remove define.
  19849. * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
  19850. Remove define.
  19851. (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
  19852. * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
  19853. Remove define.
  19854. (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
  19855. * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
  19856. Linux implementation as base.
  19857. * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
  19858. * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
  19859. * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
  19860. * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
  19861. * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
  19862. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
  19863. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
  19864. * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
  19865. * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
  19866. syscall generation.
  19867. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
  19868. [__NR_pread64] (__NR_pread): Remove define.
  19869. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
  19870. [__NR_pread64] (__NR_pread): Likewise.
  19871. * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
  19872. define.
  19873. (__libc_pread): Use SYSCALL_LL macro on offset argument.
  19874. * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
  19875. Remove define.
  19876. (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
  19877. * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
  19878. Linux implementation as base.
  19879. * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
  19880. * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
  19881. * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
  19882. * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
  19883. definition.
  19884. (__ALIGNMENT_COUNT): Likewise.
  19885. * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
  19886. (__ALIGNMENT_COUNT): Likewise.
  19887. (SYSCALL_LL): New define.
  19888. (SYSCALL_LL64): Likewise.
  19889. * sysdeps/unix/sysv/linux/mips/kernel-features.h:
  19890. [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
  19891. * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
  19892. [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
  19893. * sysdeps/unix/sysv/linux/arm/kernel-features.h
  19894. (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
  19895. * sysdeps/unix/sysv/linux/mips/kernel-features.h
  19896. [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
  19897. * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
  19898. [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
  19899. 2016-04-11 Florian Weimer <fweimer@redhat.com>
  19900. [BZ #19865]
  19901. * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
  19902. original buffer before retry.
  19903. 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
  19904. * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
  19905. [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
  19906. * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
  19907. GLRO(dl_auxv) list.
  19908. * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
  19909. including <ldsodefs.h>.
  19910. * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
  19911. 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
  19912. * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
  19913. * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
  19914. $(CPPFLAGS).
  19915. 2016-04-09 Khem Raj <raj.khem@gmail.com>
  19916. [BZ #17950]
  19917. * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
  19918. Add -mfpmath=387.
  19919. 2016-04-09 Mike Frysinger <vapier@gentoo.org>
  19920. * sysdeps/i386/configure.ac: Change == to = when calling test.
  19921. * sysdeps/x86_64/configure.ac: Likewise.
  19922. * sysdeps/i386/configure: Regenerated.
  19923. * sysdeps/x86_64/configure: Likewise.
  19924. 2016-04-08 Mike Frysinger <vapier@gentoo.org>
  19925. [BZ #16137]
  19926. * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
  19927. * benchtests/bench-strcoll.c (input_files): Likewise.
  19928. * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
  19929. * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
  19930. * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
  19931. 2016-04-08 Joseph Myers <joseph@codesourcery.com>
  19932. [BZ #19929]
  19933. * include/bits/xopen_lim.h (NL_NMAX): Do not define if
  19934. [__USE_XOPEN2K8 && !__USE_GNU].
  19935. * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
  19936. variable.
  19937. [BZ #19925]
  19938. * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
  19939. define if [!__USE_MISC && __USE_XOPEN2K].
  19940. * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
  19941. * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
  19942. * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
  19943. Likewise.
  19944. * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
  19945. * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
  19946. variable.
  19947. (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
  19948. 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  19949. * sysdeps/powerpc/powerpc64/multiarch/Makefile:
  19950. (sysdep_routines): Add new strspn targets.
  19951. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
  19952. (__libc_ifunc_impl_list): Add strspn.
  19953. * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
  19954. New file.
  19955. * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
  19956. Likewise.
  19957. * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
  19958. Likewise.
  19959. * sysdeps/powerpc/powerpc64/power8/strspn.S:
  19960. Likewise.
  19961. 2016-04-07 Florian Weimer <fweimer@redhat.com>
  19962. * misc/hsearch_r.c: Include <limits.h>.
  19963. 2016-04-07 Florian Weimer <fweimer@redhat.com>
  19964. * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
  19965. 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
  19966. * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
  19967. (MEMCPY_SYMBOL): New.
  19968. (MEMPCPY_SYMBOL): Likewise.
  19969. (MEMMOVE_CHK_SYMBOL): Likewise.
  19970. Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
  19971. symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
  19972. __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
  19973. Provide alias for memcpy in libc.a and ld.so.
  19974. 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
  19975. * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
  19976. (MEMSET_CHK_SYMBOL): New. Define if not defined.
  19977. (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
  19978. Disabled fro now.
  19979. Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
  19980. symbols. Properly check USE_MULTIARCH on __memset symbols.
  19981. 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
  19982. * benchtests/Makefile (string-benchset): Add memcpy-large,
  19983. memmove-large and memset-large.
  19984. * benchtests/bench-memcpy-large.c: New file.
  19985. * benchtests/bench-memmove-large.c: Likewise.
  19986. * benchtests/bench-memmove-large.c: Likewise.
  19987. * benchtests/bench-string.h (TIMEOUT): Don't redefine.
  19988. 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
  19989. * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
  19990. 32-bit displacement to avoid long nop between instructions.
  19991. 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
  19992. * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
  19993. a comment on VMOVU and VMOVA.
  19994. 2016-04-04 Florian Weimer <fweimer@redhat.com>
  19995. [BZ #19633]
  19996. Use specified locale for number formatting in strfmon_l.
  19997. * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
  19998. (__nl_lookup_word): New inline functions.
  19999. * include/printf.h (__print_fp_l): Declare.
  20000. * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
  20001. ___printf_fp. Add locale argument. Replace _NL_CURRENT with
  20002. _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
  20003. (___printf_fp): New function.
  20004. * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
  20005. (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
  20006. * stdlib/tst-strfmon_l.c (do_test): New test.
  20007. * stdlib/Makefile (tests): Add kt.
  20008. (LOCALES): Build additional locales.
  20009. (tst-strfmon_l.out): Require locales.
  20010. 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
  20011. * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
  20012. if not in libc.
  20013. * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
  20014. Likewise.
  20015. * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
  20016. Likewise.
  20017. * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
  20018. Likewise.
  20019. 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
  20020. * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
  20021. (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
  20022. with unaligned_erms.
  20023. (__memmove_erms): Skip if source == destination.
  20024. (__memmove_unaligned_erms): Don't check source == destination
  20025. first.
  20026. 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
  20027. * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
  20028. bit_arch_Fast_Copy_Backward for Intel Core proessors.
  20029. 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  20030. * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
  20031. * string/strspn.c (strspn): Likewise.
  20032. 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
  20033. * benchtests/bench-memset.c (do_test): Support 64-byte
  20034. alignment.
  20035. (test_main): Test 64-byte alignment.
  20036. 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
  20037. * benchtests/bench-memmove.c (test_main): Test 64-byte
  20038. alignment.
  20039. 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
  20040. * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
  20041. 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  20042. * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
  20043. * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
  20044. * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
  20045. * string/strpbrk.c (strpbrk): Rewrite function.
  20046. * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
  20047. (__strpbrk_c2): Likewise.
  20048. (__strpbrk_c3): Likewise.
  20049. * string/string-inlines.c
  20050. [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
  20051. Likewise.
  20052. [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
  20053. Likewise.
  20054. * string/strspn.c (strcspn): Rewrite function.
  20055. * string/bits/string2.h (strspn): Use __builtin_strcspn.
  20056. (__strspn_c1): Remove inline function.
  20057. (__strspn_c2): Likewise.
  20058. (__strspn_c3): Likewise.
  20059. * string/string-inlines.c
  20060. [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
  20061. compatibility symbol.
  20062. [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
  20063. Likewise.
  20064. [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
  20065. Likewise.
  20066. * string/string-inlines.c: Include generic version.
  20067. 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
  20068. Adhemerval Zanella <adhemerval.zanella@linaro.org>
  20069. * string/Version (libc): Add GLIBC_2.24.
  20070. * string/strcspn.c (strcspn): Rewrite function.
  20071. * string/bits/string2.h (strcspn): Use __builtin_strcspn.
  20072. (__strcspn_c1): Remove inline function.
  20073. (__strcspn_c2): Likewise.
  20074. (__strcspn_c3): Likewise.
  20075. * string/string-inline.c
  20076. [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
  20077. compatibility symbol.
  20078. [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
  20079. Likewise.
  20080. [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
  20081. Likewise.
  20082. * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
  20083. 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
  20084. * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
  20085. Use ahi instead of aghi to adjust stack pointer.
  20086. 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  20087. [BZ #19853]
  20088. * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
  20089. TEST to take significant digits as second parameter.
  20090. [TEST]: Redefine in terms of TEST_N taking 30
  20091. significant digits.
  20092. (do_test): Add test case to demonstrate precision
  20093. failure in the ldbl-128ibm printf.
  20094. * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
  20095. (__mpn_extract_long_double): Carry 7 extra intermediate
  20096. bits of precision to aide computing difference when
  20097. signs differ.
  20098. 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
  20099. [BZ #19881]
  20100. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  20101. memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
  20102. memset-avx512-unaligned-erms.
  20103. * sysdeps/x86_64/multiarch/ifunc-impl-list.c
  20104. (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
  20105. __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
  20106. __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
  20107. __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
  20108. __memset_sse2_unaligned_erms, __memset_erms,
  20109. __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
  20110. __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
  20111. * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
  20112. file.
  20113. * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
  20114. Likewise.
  20115. * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
  20116. Likewise.
  20117. * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
  20118. Likewise.
  20119. 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
  20120. [BZ #19776]
  20121. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  20122. memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
  20123. memmove-avx512-unaligned-erms.
  20124. * sysdeps/x86_64/multiarch/ifunc-impl-list.c
  20125. (__libc_ifunc_impl_list): Test
  20126. __memmove_chk_avx512_unaligned_2,
  20127. __memmove_chk_avx512_unaligned_erms,
  20128. __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
  20129. __memmove_chk_sse2_unaligned_2,
  20130. __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
  20131. __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
  20132. __memmove_avx512_unaligned_erms, __memmove_erms,
  20133. __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
  20134. __memcpy_chk_avx512_unaligned_2,
  20135. __memcpy_chk_avx512_unaligned_erms,
  20136. __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
  20137. __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
  20138. __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
  20139. __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
  20140. __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
  20141. __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
  20142. __mempcpy_chk_avx512_unaligned_erms,
  20143. __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
  20144. __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
  20145. __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
  20146. __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
  20147. __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
  20148. __mempcpy_erms.
  20149. * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
  20150. file.
  20151. * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
  20152. Likewise.
  20153. * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
  20154. Likewise.
  20155. * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
  20156. Likewise.
  20157. 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
  20158. * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
  20159. (La_s390_32_regs): Append vector register lr_v24-lr_v31.
  20160. (La_s390_64_regs): Likewise.
  20161. (La_s390_32_retval): Append vector register lrv_v24.
  20162. (La_s390_64_retval): Likeweise.
  20163. * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
  20164. Handle extended structs La_s390_32_regs and La_s390_32_retval.
  20165. * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
  20166. Handle extended structs La_s390_64_regs and La_s390_64_retval.
  20167. 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
  20168. [BZ #19916]
  20169. * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
  20170. to create a non-vector/vector version for _dl_runtime_resolve and
  20171. _dl_runtime_profile. Move implementation to ...
  20172. * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
  20173. (_dl_runtime_resolve) Save and restore fpr/vrs.
  20174. (_dl_runtime_profile) Save and restore vrs and fix some issues
  20175. if _dl_call_pltexit is called.
  20176. * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
  20177. Choose the correct resolver function if running on a machine with vx.
  20178. * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
  20179. to create a non-vector/vector version for _dl_runtime_resolve and
  20180. _dl_runtime_profile. Move implementation to ...
  20181. * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
  20182. (_dl_runtime_resolve) Save and restore fpr/vrs.
  20183. (_dl_runtime_profile) Save and restore vrs and fix some issues
  20184. * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
  20185. Choose the correct resolver function if running on a machine with vx.
  20186. 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  20187. * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
  20188. 2016-03-31 Florian Weimer <fweimer@redhat.com>
  20189. [BZ #19509]
  20190. * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
  20191. skip_map != NULL.
  20192. * elf/tst-dlsym-error.c: New file.
  20193. * elf/Makefile (tests): Add tst-dlsym-error.
  20194. (tst-dlsym-error): Link against libdl.
  20195. 2016-03-29 Joseph Myers <joseph@codesourcery.com>
  20196. * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
  20197. (__ASSUME_FUTIMESAT): Remove macro.
  20198. * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
  20199. 2016-03-29 Florian Weimer <fweimer@redhat.com>
  20200. [BZ #19879]
  20201. CVE-2016-3075
  20202. * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
  20203. copy name.
  20204. 2016-03-29 Florian Weimer <fweimer@redhat.com>
  20205. [BZ #19837]
  20206. * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
  20207. error if parse_line fails.
  20208. 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
  20209. * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
  20210. (index_cpu_ERMS): Likewise.
  20211. (reg_ERMS): Likewise.
  20212. 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
  20213. * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
  20214. PER_LINUX_FDPIC): Add.
  20215. 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
  20216. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
  20217. memcpy-avx512-no-vzeroupper.
  20218. * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
  20219. to ...
  20220. * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
  20221. (MEMCPY): Don't define.
  20222. (MEMCPY_CHK): Likewise.
  20223. (MEMPCPY): Likewise.
  20224. (MEMPCPY_CHK): Likewise.
  20225. (MEMPCPY_CHK): Renamed to ...
  20226. (__mempcpy_chk_avx512_no_vzeroupper): This.
  20227. (MEMPCPY_CHK): Renamed to ...
  20228. (__mempcpy_chk_avx512_no_vzeroupper): This.
  20229. (MEMCPY_CHK): Renamed to ...
  20230. (__memmove_chk_avx512_no_vzeroupper): This.
  20231. (MEMCPY): Renamed to ...
  20232. (__memmove_avx512_no_vzeroupper): This.
  20233. (__memcpy_avx512_no_vzeroupper): New alias.
  20234. (__memcpy_chk_avx512_no_vzeroupper): Likewise.
  20235. 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
  20236. [BZ #18858]
  20237. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
  20238. mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
  20239. and mempcpy-avx512-no-vzeroupper.
  20240. * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
  20241. New.
  20242. (MEMPCPY): Likewise.
  20243. * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
  20244. (MEMPCPY_CHK): New.
  20245. (MEMPCPY): Likewise.
  20246. * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
  20247. (MEMPCPY): Likewise.
  20248. * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
  20249. (MEMPCPY): Likewise.
  20250. * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
  20251. * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
  20252. Likewise.
  20253. * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
  20254. * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
  20255. 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
  20256. Amit Pawar <Amit.Pawar@amd.com>
  20257. [BZ #19583]
  20258. * sysdeps/x86/cpu-features.c (init_cpu_features): Set
  20259. Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
  20260. processors. Set Fast_Copy_Backward for AMD Excavator
  20261. processors.
  20262. * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
  20263. New.
  20264. (index_arch_Fast_Unaligned_Copy): Likewise.
  20265. * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
  20266. Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
  20267. 2016-03-25 Florian Weimer <fweimer@redhat.com>
  20268. [BZ #19791]
  20269. * resolv/res_send.c (close_and_return_error): New function.
  20270. (send_dg): Initialize *resplen2 after reopen failure. Call
  20271. close_and_return_error for error returns. On error paths without
  20272. __res_iclose, initialze *resplen2 explicitly. Update comment for
  20273. successful return.
  20274. 2016-03-25 Florian Weimer <fweimer@redhat.com>
  20275. [BZ #19860]
  20276. * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
  20277. zero if the compiler does not provide the AVX512F bit.
  20278. 2016-03-24 Joseph Myers <joseph@codesourcery.com>
  20279. [BZ #19848]
  20280. * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
  20281. from 8 to 4.
  20282. (__ieee754_powl): Compare integer exponent against 4 not 8.
  20283. * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
  20284. from 8 to 4.
  20285. (__ieee754_powl): Compare integer exponent against 4 not 8.
  20286. * math/auto-libm-test-in: Add more tests of pow.
  20287. * math/auto-libm-test-out: Regenerated.
  20288. * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
  20289. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  20290. 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
  20291. * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
  20292. Make code unconditional.
  20293. [!__NR_utimensat]: Remove conditional code.
  20294. * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
  20295. Make code unconditional.
  20296. [!__NR_utimensat]: Remove conditional code.
  20297. * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
  20298. Make code unconditional.
  20299. [!__NR_utimensat]: Remove conditional code.
  20300. 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
  20301. * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
  20302. Make code unconditional.
  20303. 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
  20304. * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
  20305. call-clobbered %eax on retry path.
  20306. * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
  20307. 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
  20308. * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
  20309. Don't set %rcx twice before "rep movsb".
  20310. 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
  20311. [BZ #19583]
  20312. * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
  20313. inline. Check family before setting family, model and
  20314. extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
  20315. bits here.
  20316. (init_cpu_features): Replace HAS_CPU_FEATURE and
  20317. HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
  20318. CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
  20319. for Intel processors with usable AVX2. Call get_common_indeces
  20320. for other processors with family == NULL.
  20321. * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
  20322. (CPU_FEATURES_ARCH_P): Likewise.
  20323. (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
  20324. (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
  20325. 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
  20326. * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
  20327. $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
  20328. $(shared-thread-library) instead of hardcoding the path to libpthread.
  20329. 2016-03-22 Joseph Myers <joseph@codesourcery.com>
  20330. * sysdeps/unix/sysv/linux/kernel-features.h
  20331. (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
  20332. * sysdeps/unix/sysv/linux/getdents.c
  20333. [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
  20334. [!have_no_getdents64_defined]: Likewise.
  20335. (__GETDENTS): Remove __have_no_getdents64 conditional.
  20336. 2016-03-21 Joseph Myers <joseph@codesourcery.com>
  20337. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
  20338. Remove macro.
  20339. * sysdeps/unix/sysv/linux/signalfd.c: Do not include
  20340. <kernel-features.h>.
  20341. (signalfd) [__NR_signalfd4]: Make code unconditional.
  20342. (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
  20343. 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  20344. * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
  20345. style.
  20346. 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
  20347. * sysdeps/unix/sysv/linux/x86_64/cancellation.S
  20348. (__pthread_enable_asynccancel): Use JUMPTARGET to call
  20349. __pthread_unwind.
  20350. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
  20351. (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
  20352. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
  20353. (__condvar_cleanup1): Likewise.
  20354. 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
  20355. [BZ #19822]
  20356. * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
  20357. move it to the final $@ location.
  20358. 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  20359. * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
  20360. access where posix_spawn success and pid argument is null.
  20361. * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
  20362. success case.
  20363. 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
  20364. * sysdeps/mach/hurd/i386/c++-types.data: New file.
  20365. * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
  20366. * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
  20367. and __fcntl.
  20368. * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
  20369. __fcntl only.
  20370. * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
  20371. adding attribute_hidden to __open and __fcntl.
  20372. * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
  20373. "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
  20374. depend on libc-modules.h,
  20375. * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
  20376. 2016-03-17 Joseph Myers <joseph@codesourcery.com>
  20377. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
  20378. Remove macro.
  20379. * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
  20380. * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
  20381. entry.
  20382. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
  20383. Remove macro.
  20384. * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
  20385. include <kernel-features.h>.
  20386. [!__ASSUME_FALLOCATE]: Remove conditional code.
  20387. (posix_fallocate) [__NR_fallocate]: Make code unconditional.
  20388. 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
  20389. * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
  20390. (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
  20391. * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
  20392. (_ZGVdN4v_cos_avx2): Likewise.
  20393. * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
  20394. (_ZGVdN4v_cos): Likewise.
  20395. * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
  20396. (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
  20397. * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
  20398. (_ZGVdN4v_exp_avx2): Likewise.
  20399. * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
  20400. (_ZGVdN4v_exp): Likewise.
  20401. * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
  20402. (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
  20403. * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
  20404. (_ZGVdN4v_log_avx2): Likewise.
  20405. * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
  20406. (_ZGVdN4v_log): Likewise.
  20407. * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
  20408. (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
  20409. * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
  20410. (_ZGVdN4vv_pow_avx2): Likewise.
  20411. * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
  20412. (_ZGVdN4vv_pow): Likewise.
  20413. * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
  20414. (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
  20415. * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
  20416. (_ZGVdN4v_sin_avx2): Likewise.
  20417. * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
  20418. (_ZGVdN4v_sin): Likewise.
  20419. * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
  20420. (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
  20421. * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
  20422. (_ZGVdN4vvv_sincos_avx2): Likewise.
  20423. * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
  20424. (_ZGVdN4vvv_sincos): Likewise.
  20425. * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
  20426. (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
  20427. * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
  20428. (_ZGVbN4v_cosf_sse4): Likewise.
  20429. * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
  20430. (_ZGVdN8v_cosf_avx2): Likewise.
  20431. * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
  20432. (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
  20433. * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
  20434. (_ZGVbN4v_expf_sse4): Likewise.
  20435. * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
  20436. (_ZGVdN8v_expf_avx2): Likewise.
  20437. * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
  20438. (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
  20439. * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
  20440. (_ZGVbN4v_logf_sse4): Likewise.
  20441. * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
  20442. (_ZGVdN8v_logf_avx2): Likewise.
  20443. * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
  20444. (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
  20445. * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
  20446. (_ZGVbN4vv_powf_sse4): Likewise.
  20447. * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
  20448. (_ZGVdN8vv_powf_avx2): Likewise.
  20449. * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
  20450. (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
  20451. * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
  20452. (_ZGVbN4vvv_sincosf_sse4): Likewise.
  20453. * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
  20454. (_ZGVdN8vvv_sincosf_avx2): Likewise.
  20455. * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
  20456. (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
  20457. * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
  20458. (_ZGVbN4v_sinf_sse4): Likewise.
  20459. * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
  20460. (_ZGVdN8v_sinf_avx2): Likewise.
  20461. * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
  20462. Use JUMPTARGET to call callee.
  20463. (WRAPPER_IMPL_SSE2_ff): Likewise.
  20464. (WRAPPER_IMPL_SSE2_fFF): Likewise.
  20465. (WRAPPER_IMPL_AVX): Likewise.
  20466. (WRAPPER_IMPL_AVX_ff): Likewise.
  20467. (WRAPPER_IMPL_AVX_fFF): Likewise.
  20468. (WRAPPER_IMPL_AVX512): Likewise.
  20469. (WRAPPER_IMPL_AVX512_ff): Likewise.
  20470. * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
  20471. Likewise.
  20472. (WRAPPER_IMPL_SSE2_ff): Likewise.
  20473. (WRAPPER_IMPL_SSE2_fFF): Likewise.
  20474. (WRAPPER_IMPL_AVX): Likewise.
  20475. (WRAPPER_IMPL_AVX_ff): Likewise.
  20476. (WRAPPER_IMPL_AVX_fFF): Likewise.
  20477. (WRAPPER_IMPL_AVX512): Likewise.
  20478. (WRAPPER_IMPL_AVX512_ff): Likewise.
  20479. (WRAPPER_IMPL_AVX512_fFF): Likewise.
  20480. 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
  20481. * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
  20482. * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
  20483. qualifier.
  20484. * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
  20485. internal_function qualifiers.
  20486. 2016-03-15 Carlos O'Donell <carlos@redhat.com>
  20487. * catgets/tst-catgets.c (do_bz17905): Mark result unused.
  20488. * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
  20489. * math/atest-exp.c (exp_mpn): Mark chk unused.
  20490. * math/atest-exp2.c (exp_mpn): Likewise.
  20491. * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
  20492. * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
  20493. 2016-03-15 Joseph Myers <joseph@codesourcery.com>
  20494. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
  20495. Remove macro.
  20496. * sysdeps/unix/sysv/linux/ppoll.c: Do not include
  20497. <kernel-features.h>.
  20498. [__NR_ppoll]: Make code unconditional.
  20499. [!__ASSUME_PPOLL]: Remove conditional code.
  20500. * sysdeps/unix/sysv/linux/kernel-features.h
  20501. (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
  20502. (__ASSUME_ACCEPT4): Likewise.
  20503. [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
  20504. Define.
  20505. [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
  20506. Likewise.
  20507. [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
  20508. Likewise.
  20509. [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
  20510. Likewise.
  20511. * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
  20512. * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
  20513. * sysdeps/unix/sysv/linux/alpha/kernel-features.h
  20514. (__ASSUME_RECVMMSG_SYSCALL): Do not define.
  20515. (__ASSUME_ACCEPT4_SYSCALL): Likewise.
  20516. (__ASSUME_SENDMMSG_SYSCALL): Likewise.
  20517. * sysdeps/unix/sysv/linux/arm/kernel-features.h
  20518. (__ASSUME_RECVMMSG_SYSCALL): Likewise.
  20519. (__ASSUME_ACCEPT4_SYSCALL): Likewise.
  20520. (__ASSUME_SENDMMSG_SYSCALL): Likewise.
  20521. * sysdeps/unix/sysv/linux/hppa/kernel-features.h
  20522. (__ASSUME_ACCEPT4_SYSCALL): Likewise.
  20523. (__ASSUME_RECVMMSG_SYSCALL): Likewise.
  20524. (__ASSUME_SENDMMSG_SYSCALL): Likewise.
  20525. * sysdeps/unix/sysv/linux/i386/kernel-features.h
  20526. [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
  20527. Likewise.
  20528. [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
  20529. Likewise.
  20530. (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
  20531. 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
  20532. 0x040300].
  20533. * sysdeps/unix/sysv/linux/ia64/kernel-features.h
  20534. (__ASSUME_RECVMMSG_SYSCALL): Do not define.
  20535. (__ASSUME_SENDMMSG_SYSCALL): Likewise.
  20536. (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
  20537. 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
  20538. 0x030300].
  20539. [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
  20540. * sysdeps/unix/sysv/linux/m68k/kernel-features.h
  20541. (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
  20542. 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
  20543. 0x040300].
  20544. (__ASSUME_RECVMMSG_SYSCALL): Likewise.
  20545. (__ASSUME_SENDMMSG_SYSCALL): Likewise.
  20546. * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
  20547. (__ASSUME_ACCEPT4_SYSCALL): Do not define.
  20548. (__ASSUME_RECVMMSG_SYSCALL): Likewise.
  20549. (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
  20550. 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
  20551. 0x030300].
  20552. * sysdeps/unix/sysv/linux/mips/kernel-features.h
  20553. (__ASSUME_ACCEPT4_SYSCALL): Do not define.
  20554. (__ASSUME_RECVMMSG_SYSCALL): Likewise.
  20555. (__ASSUME_SENDMMSG_SYSCALL): Likewise.
  20556. * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
  20557. (__ASSUME_ACCEPT4_SYSCALL): Likewise.
  20558. (__ASSUME_RECVMMSG_SYSCALL): Likewise.
  20559. (__ASSUME_SENDMMSG_SYSCALL): Likewise.
  20560. * sysdeps/unix/sysv/linux/s390/kernel-features.h
  20561. (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
  20562. 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
  20563. 0x040300].
  20564. (__ASSUME_RECVMMSG_SYSCALL): Likewise.
  20565. (__ASSUME_SENDMMSG_SYSCALL): Likewise.
  20566. * sysdeps/unix/sysv/linux/sh/kernel-features.h
  20567. (__ASSUME_ACCEPT4_SYSCALL): Do not define.
  20568. (__ASSUME_RECVMMSG_SYSCALL): Likewise.
  20569. (__ASSUME_SENDMMSG_SYSCALL): Likewise.
  20570. * sysdeps/unix/sysv/linux/sparc/kernel-features.h
  20571. (__ASSUME_ACCEPT4_SYSCALL): Likewise.
  20572. (__ASSUME_RECVMMSG_SYSCALL): Likewise.
  20573. (__ASSUME_SENDMMSG_SYSCALL): Likewise.
  20574. * sysdeps/unix/sysv/linux/tile/kernel-features.h
  20575. (__ASSUME_ACCEPT4_SYSCALL): Likewise.
  20576. (__ASSUME_RECVMMSG_SYSCALL): Likewise.
  20577. (__ASSUME_SENDMMSG_SYSCALL): Likewise.
  20578. * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
  20579. (__ASSUME_ACCEPT4_SYSCALL): Likewise.
  20580. [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
  20581. Likewise.
  20582. [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
  20583. Likewise.
  20584. 2016-03-15 Andreas Schwab <schwab@suse.de>
  20585. [BZ #19257]
  20586. * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
  20587. statp->_u._ext.nscount as loop count.
  20588. 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
  20589. * math/test-signgam-finite-c99.c: Also #undef
  20590. __LIBC_INTERNAL_MATH_INLINES.
  20591. * math/test-signgam-main.c: Likewise.
  20592. 2016-03-14 Joseph Myers <joseph@codesourcery.com>
  20593. * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
  20594. * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
  20595. (MADV_FREE): Likewise.
  20596. * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
  20597. * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
  20598. EPOLLEXCLUSIVE.
  20599. 2016-03-14 Carlos O'Donell <carlos@redhat.com>
  20600. * timezone/README: Remove mention of checktab.awk. Mention wiki
  20601. SharedSourceFiles.
  20602. 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
  20603. * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
  20604. WUNTRACED.
  20605. 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  20606. * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
  20607. order to match the type of p when calling atomic_exchange_acq().
  20608. 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  20609. * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
  20610. cfi_offset calls.
  20611. * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
  20612. * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
  20613. * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
  20614. * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
  20615. * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
  20616. 2016-03-10 Carlos O'Donell <carlos@redhat.com>
  20617. * timezone/checktab.awk: Removed.
  20618. 2016-03-10 Joseph Myers <joseph@codesourcery.com>
  20619. * manual/math.texi (Errors in Math Functions): Document relaxed
  20620. accuracy goals for IBM long double.
  20621. * math/libm-test.inc (test_exceptions): Always allow spurious
  20622. "underflow" and "inexact" exceptions for IBM long double.
  20623. 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
  20624. [BZ #19762]
  20625. * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
  20626. (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
  20627. * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
  20628. * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
  20629. (bit_arch_*): This for feature array.
  20630. (bit_*): Renamed to ...
  20631. (bit_cpu_*): This for cpu array.
  20632. (index_*): Renamed to ...
  20633. (index_arch_*): This for feature array.
  20634. (index_*): Renamed to ...
  20635. (index_cpu_*): This for cpu array.
  20636. [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
  20637. [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
  20638. [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
  20639. [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
  20640. bit_##name with index_cpu_##name and bit_cpu_##name.
  20641. [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
  20642. bit_##name with index_arch_##name and bit_arch_##name.
  20643. 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
  20644. [BZ #19792]
  20645. * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
  20646. Terminate FDE before return label.
  20647. 2016-03-09 Joseph Myers <joseph@codesourcery.com>
  20648. [BZ #19790]
  20649. * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
  20650. (rintl): Define as macro.
  20651. [USE_AS_NEARBYINTL] (__rintl): Likewise.
  20652. (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
  20653. of fesetround. Ensure results are evaluated before end of scope.
  20654. * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
  20655. USE_AS_NEARBYINTL and include s_rintl.c.
  20656. * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
  20657. Disable exception traps in new environment.
  20658. (libc_feholdsetround_ppc_ctx): Likewise.
  20659. 2016-03-08 Roland McGrath <roland@hack.frob.com>
  20660. * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
  20661. * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
  20662. (tst_audit10_aux) [__AVX512F__]: ... here.
  20663. 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
  20664. * include/sys/auxv.h: New file.
  20665. 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
  20666. [BZ #19759]
  20667. * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
  20668. 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  20669. * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
  20670. operand modifier.
  20671. (feclearexcept): Likewise.
  20672. 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
  20673. * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
  20674. to reflect the entire 32-bit HWCAP.
  20675. * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
  20676. (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
  20677. 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
  20678. [BZ #19783]
  20679. * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
  20680. $(test-via-rtld-prefix).
  20681. ($(binaries-bench)): Replace $(+link) with $(+link-tests).
  20682. 2016-03-08 Florian Weimer <fweimer@redhat.com>
  20683. * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
  20684. union wait. Report any non-zero exit status as error.
  20685. 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  20686. * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
  20687. configured with --enable-hardcoded-path-in-tests.
  20688. 2016-03-08 Joseph Myers <joseph@codesourcery.com>
  20689. [BZ #19677]
  20690. * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
  20691. (__ieee754_remainderl): Put zero low parts in canonical form.
  20692. * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
  20693. file. Based on
  20694. sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
  20695. * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
  20696. with wrapper round test-fmodrem-ldbl-128ibm.c.
  20697. * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
  20698. file.
  20699. * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
  20700. Likewise.
  20701. * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
  20702. test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
  20703. 2016-03-07 Florian Weimer <fweimer@redhat.com>
  20704. [BZ #19610]
  20705. * elf/ldconfig.c (opt_link): Update comment.
  20706. (options): Update help string for option -X.
  20707. (search_dir): Unlink stale symbolic link only if updating symbolic
  20708. links.
  20709. * elf/tst-ldconfig-X.sh: New file.
  20710. * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
  20711. (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
  20712. 2016-03-07 Andreas Schwab <schwab@suse.de>
  20713. * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
  20714. needed arguments.
  20715. 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
  20716. [BZ #15333]
  20717. * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
  20718. to lstat64.
  20719. 2016-03-07 Florian Weimer <fweimer@redhat.com>
  20720. * libio/filedoalloc.c (isatty): Remove.
  20721. (local_isatty): Add comment. Call __isatty directly.
  20722. (_IO_file_doallocate): Update comment. Assume _LIBC.
  20723. * libio/wfiledoalloc.c (isatty): Remove.
  20724. (_IO_wfile_doallocate): Update comment.
  20725. 2016-03-07 Florian Weimer <fweimer@redhat.com>
  20726. [BZ #19269]
  20727. * sysdeps/x86_64/Makefile (tst-audit4): Depend on
  20728. tst-audit4-aux.o.
  20729. (tst-audit10): Depend on tst-audit10-aux.o.
  20730. (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
  20731. (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
  20732. * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
  20733. instead of inline AVX code.
  20734. * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
  20735. instead of inline AVX512 code.
  20736. * sysdeps/x86_64/tst-audit4-aux.c: New file
  20737. * sysdeps/x86_64/tst-audit10-aux.c: New file
  20738. [BZ #19648]
  20739. * test-skeleton.c (main): Do not set RLIMIT_DATA.
  20740. 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  20741. [BZ #14750]
  20742. [BZ #10354]
  20743. [BZ #18433]
  20744. * include/sched.h (__clone): Add hidden prototype.
  20745. (__clone2): Likewise.
  20746. * include/unistd.h (__dup): Likewise.
  20747. * posix/Makefile (tests): Add tst-spawn2.
  20748. * posix/tst-spawn2.c: New file.
  20749. * sysdeps/posix/dup.c (__dup): Add hidden definition.
  20750. * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
  20751. * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
  20752. * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
  20753. * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
  20754. * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
  20755. * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
  20756. * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
  20757. * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
  20758. * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
  20759. * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
  20760. * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
  20761. Likewise.
  20762. * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
  20763. Likewise.
  20764. * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
  20765. * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
  20766. * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
  20767. * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
  20768. * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
  20769. * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
  20770. * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
  20771. * sysdeps/unix/sysv/linux/nptl-signals.h
  20772. (____nptl_is_internal_signal): New function.
  20773. * sysdeps/unix/sysv/linux/spawni.c: New file.
  20774. * posix/execvpe.c (__execvpe): Remove dynamic allocation.
  20775. * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
  20776. * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
  20777. * posix/tst-execvp2.c (do_test): Likewise.
  20778. * posix/tst-execvp3.c (do_test): Likewise.
  20779. * posix/tst-execvp4.c (do_test): Likewise.
  20780. * posix/tst-execvpe1.c: New file.
  20781. * posix/tst-execvpe2.c: Likewise.
  20782. * posix/tst-execvpe3.c: Likewise.
  20783. * posix/tst-execvpe4.c: Likewise.
  20784. * posix/tst-execvpe5.c: Likewise.
  20785. * posix/tst-execvpe6.c: Likewise.
  20786. [BZ #19534]
  20787. * posix/execl.c (execl): Remove dynamic memory allocation.
  20788. * posix/execle.c (execle): Likewise.
  20789. * posix/execlp.c (execlp): Likewise.
  20790. 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
  20791. * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
  20792. Replace .text with .text.avx512.
  20793. * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
  20794. Likewise.
  20795. 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
  20796. * sysdeps/generic/libnsl.abilist: New file.
  20797. * sysdeps/generic/libutil.abilist: New file.
  20798. 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
  20799. [BZ #19762]
  20800. * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
  20801. HAS_ARCH_FEATURE with Fast_Rep_String.
  20802. * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
  20803. * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
  20804. * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
  20805. Likewise.
  20806. * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
  20807. Likewise.
  20808. * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
  20809. * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
  20810. Likewise.
  20811. * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
  20812. * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
  20813. Likewise.
  20814. 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
  20815. [BZ #19745]
  20816. * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
  20817. with *%rax in call.
  20818. 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
  20819. [BZ #19745]
  20820. * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
  20821. with *__libc_start_main@GOTPCREL(%rip) in call.
  20822. 2016-03-04 Roland McGrath <roland@hack.frob.com>
  20823. * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
  20824. inside conditional for nonempty $(CXX).
  20825. * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
  20826. nonempty.
  20827. * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
  20828. to test for empty $(CXX) rather than $(CXX) of "no".
  20829. 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
  20830. * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
  20831. 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
  20832. H.J. Lu <hongjiu.lu@intel.com>
  20833. [BZ #18880]
  20834. * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
  20835. instead of Slow_BSF, and also check for Fast_Copy_Backward to
  20836. enable __memcpy_ssse3_back.
  20837. 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
  20838. [BZ #19758]
  20839. * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
  20840. (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
  20841. 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
  20842. [BZ #19490]
  20843. * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
  20844. (__fentry__): Likewise.
  20845. 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
  20846. * gmon/Makefile (noprof): Add $(sysdep_noprof).
  20847. * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
  20848. 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
  20849. * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
  20850. __mcount_internal directly.
  20851. (C_LABEL(__fentry__)): Likewise.
  20852. * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
  20853. directly.
  20854. 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
  20855. * sysdeps/unix/sysv/linux/x86_64/__start_context.S
  20856. (__start_context): Call __setcontext directly.
  20857. 2016-02-26 Joseph Myers <joseph@codesourcery.com>
  20858. * sysdeps/unix/sysv/linux/alpha/kernel-features.h
  20859. [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
  20860. [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
  20861. [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
  20862. * sysdeps/unix/sysv/linux/arm/kernel-features.h
  20863. [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
  20864. [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
  20865. [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
  20866. * sysdeps/unix/sysv/linux/hppa/kernel-features.h
  20867. [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
  20868. [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
  20869. [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
  20870. * sysdeps/unix/sysv/linux/ia64/kernel-features.h
  20871. [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
  20872. [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
  20873. * sysdeps/unix/sysv/linux/m68k/kernel-features.h
  20874. [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
  20875. * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
  20876. [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
  20877. [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
  20878. [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
  20879. * sysdeps/unix/sysv/linux/mips/kernel-features.h
  20880. [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
  20881. [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
  20882. [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
  20883. Remove conditional code.
  20884. * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
  20885. [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
  20886. [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
  20887. * sysdeps/unix/sysv/linux/sh/kernel-features.h
  20888. [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
  20889. [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
  20890. [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
  20891. * sysdeps/unix/sysv/linux/sparc/kernel-features.h
  20892. [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
  20893. [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
  20894. * sysdeps/unix/sysv/linux/tile/kernel-features.h
  20895. [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
  20896. 2016-02-24 Marko Myllynen <myllynen@redhat.com>
  20897. * NEWS (2.23): Fix typo in bug 19048 text.
  20898. 2016-02-24 Carlos O'Donell <carlos@redhat.com>
  20899. [BZ #14259]
  20900. * Makeconfig: Rename msgcatdir to localedir.
  20901. Rename inst_msgcatdir to inst_localedir.
  20902. * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
  20903. * config.make.in: Add localedir.
  20904. * elf/Makefile ($(objpfx)sotruss): Use localedir.
  20905. (ldd-rewrite): Likewise.
  20906. * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
  20907. (install-others): Use inst_localedir.
  20908. (CPPFLAGS): Use localedir.
  20909. * locale/Makefile (locale-CPPFLAGS): Likewise.
  20910. * po/Makefile (mo-installed): Use inst_localedir.
  20911. [BZ #19575]
  20912. * localedata/charmaps/GB18030: Update comments regarding PAU to
  20913. non-PUA mappings.
  20914. 2016-02-24 Joseph Myers <joseph@codesourcery.com>
  20915. * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
  20916. test for header.
  20917. * sysdeps/unix/sysv/linux/configure: Regenerated.
  20918. * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
  20919. * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
  20920. Remove conditional code.
  20921. [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
  20922. * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
  20923. Define to 3.2.0.
  20924. (arch_minimum_kernel): Likewise.
  20925. * sysdeps/unix/sysv/linux/configure: Regenerated.
  20926. * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
  20927. Define to 2.6.32.
  20928. * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
  20929. * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
  20930. (arch_minimum_kernel): Define to 2.6.32.
  20931. * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
  20932. * README: Document Linux 3.2 requirement.
  20933. * manual/install.texi (Linux): Document Linux 3.2 headers
  20934. requirement.
  20935. * INSTALL: Regenerated.
  20936. 2016-02-24 Andreas Schwab <schwab@suse.de>
  20937. * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
  20938. if !NO_LONG_DOUBLE.
  20939. 2016-02-22 Roland McGrath <roland@hack.frob.com>
  20940. * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
  20941. fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
  20942. 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
  20943. [BZ #19512]
  20944. * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
  20945. 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
  20946. * posix/tst-dir.c: Include libc-internal.h.
  20947. 2016-02-20 Florian Weimer <fweimer@redhat.com>
  20948. [BZ #19056]
  20949. * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
  20950. * manual/filesys.texi (Reading/Closing Directory): Mention
  20951. deprecaion.
  20952. * posix/tst-dir.c (main): Disable deprecation warning in test.
  20953. 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
  20954. [BZ #19679]
  20955. * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
  20956. Renamed to ...
  20957. (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
  20958. (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
  20959. (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
  20960. (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
  20961. (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
  20962. * sysdeps/x86_64/dl-trampoline.h
  20963. (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
  20964. (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
  20965. 2016-02-19 Mark Wielaard <mjw@redhat.com>
  20966. * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
  20967. 2016-02-19 Mark Wielaard <mjw@redhat.com>
  20968. * elf/elf.h (R_386_GOT32X): New.
  20969. (R_386_NUM): Update.
  20970. (R_X86_64_GOTPCRELX: New.
  20971. (R_X86_64_REX_GOTPCRELX): New.
  20972. (R_X86_64_NUM): Update.
  20973. 2016-02-19 Mike Frysinger <vapier@gentoo.org>
  20974. * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
  20975. 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
  20976. * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
  20977. assign attr->stackaddr to it, and adjust it down when
  20978. _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
  20979. [_STACK_GROWS_UP]: Delete assert.
  20980. * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
  20981. Implement stack grows up logic.
  20982. * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
  20983. stack grows up logic.
  20984. 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  20985. * NEWS: Update with 2.24 template.
  20986. 2016-02-19 Joseph Myers <joseph@codesourcery.com>
  20987. [BZ #19678]
  20988. * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
  20989. Ensure +0.0 is returned when taking the next value below the least
  20990. positive value.
  20991. 2016-02-19 Florian Weimer <fweimer@redhat.com>
  20992. * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
  20993. available. Do not define NO_THREADS.
  20994. * malloc/malloc.c: Do not check NO_THREADS.
  20995. * malloc/arena.c: Likewise.
  20996. 2016-02-19 Florian Weimer <fweimer@redhat.com>
  20997. * malloc/malloc.c (__libc_mallinfo): Update comment.
  20998. (struct malloc_par): Remove max_total_mem member, it was always 0.
  20999. (int_mallinfo): Store 0 into usmblks (no functional change).
  21000. * malloc/hooks.c (struct malloc_state): Document that
  21001. max_total_mem is always 0.
  21002. * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
  21003. always 0.
  21004. * manual/memory.texi (Statistics of Malloc): Likewise.
  21005. 2016-02-19 Florian Weimer <fweimer@redhat.com>
  21006. * malloc/malloc.c (sysmalloc): Do not update arena_max.
  21007. * malloc/arena.c (arena_max): Remove.
  21008. (heap_trim, _int_new_arena): Do not update arena_max.
  21009. 2016-02-19 Florian Weimer <fweimer@redhat.com>
  21010. * resolv/res_init.c (res_ninit): Update comment.
  21011. 2016-02-19 Florian Weimer <fweimer@redhat.com>
  21012. [BZ #19505]
  21013. * posix/spawn_int.h: Add headers and include guard.
  21014. (__spawn_valid_fd): New function.
  21015. * posix/spawn_faction_addopen.c
  21016. (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
  21017. * posix/spawn_faction_addclose.c
  21018. (posix_spawn_file_actions_addclose): Likewise.
  21019. * posix/spawn_faction_adddup2.c
  21020. (posix_spawn_file_actions_adddup2): Likewise. Add check for
  21021. second file descriptor.
  21022. * posix/spawn_valid_fd.c: New file.
  21023. * posix/tst-posix_spawn-fd.c: New file.
  21024. * posix/Makefile (routines): Add spawn_valid_fd.
  21025. (tests): Add tst-posix_spawn-fd.
  21026. 2016-02-19 Florian Weimer <fweimer@redhat.com>
  21027. * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
  21028. (do_test): Limit the number of arenas, so that we can use fewer
  21029. outer threads. Limit timeout to 3 seconds, in preparation for a
  21030. larger TIMEOUT value.
  21031. 2016-02-19 Joseph Myers <joseph@codesourcery.com>
  21032. [BZ #19674]
  21033. * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
  21034. sign in overflowing and underflowing results when overflow or
  21035. underflow is detected early. Include sign in result before rather
  21036. than after scaling.
  21037. [BZ #19603]
  21038. * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
  21039. (__ieee754_remainderl): Adjust sign of integer version of low part
  21040. when taking absolute value of high part.
  21041. * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
  21042. * math/libm-test.inc (remainder_test_data): Add another test.
  21043. (remquo_test_data): Likewise.
  21044. 2016-02-18 Joseph Myers <joseph@codesourcery.com>
  21045. [BZ #19602]
  21046. * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
  21047. equal high parts and both low parts zero specially.
  21048. * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
  21049. * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
  21050. Add test-fmodl-ldbl-128ibm.
  21051. [BZ #19595]
  21052. * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
  21053. common logic for all cases of shifting subnormal results. Do not
  21054. insert sign bit in shifted mantissa. Always pass -1023 as biased
  21055. exponent to ldbl_insert_mantissa in subnormal case.
  21056. [BZ #19594]
  21057. * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
  21058. on high and low parts then adjust result and use
  21059. ldbl_canonicalize_int if needed.
  21060. [BZ #19593]
  21061. * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
  21062. on high part and __floor or __ceil on low part then use
  21063. ldbl_canonicalize_int if needed.
  21064. [BZ #19592]
  21065. * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
  21066. high and low parts then use ldbl_canonicalize_int if needed.
  21067. [BZ #17899]
  21068. * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
  21069. New function.
  21070. * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
  21071. on high and low parts then use ldbl_canonicalize_int if needed.
  21072. 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  21073. * configure: Regenerated.
  21074. * po/libc.pot: Regenerated.
  21075. * po/be.po: Updated translation.
  21076. * po/bg.po: Likewise.
  21077. * po/ca.po: Likewise.
  21078. * po/cs.po: Likewise.
  21079. * po/da.po: Likewise.
  21080. * po/el.po: Likewise.
  21081. * po/eo.po: Likewise.
  21082. * po/es.po: Likewise.
  21083. * po/fi.po: Likewise.
  21084. * po/fr.po: Likewise.
  21085. * po/gl.po: Likewise.
  21086. * po/hr.po: Likewise.
  21087. * po/hu.po: Likewise.
  21088. * po/ia.po: Likewise.
  21089. * po/id.po: Likewise.
  21090. * po/it.po: Likewise.
  21091. * po/ja.po: Likewise.
  21092. * po/lt.po: Likewise.
  21093. * po/nb.po: Likewise.
  21094. * po/nl.po: Likewise.
  21095. * po/pt_BR.po: Likewise.
  21096. * po/rw.po: Likewise.
  21097. * po/sk.po: Likewise.
  21098. * po/sl.po: Likewise.
  21099. * po/sv.po: Likewise.
  21100. * po/tr.po: Likewise.
  21101. * po/zh_CN.po: Likewise.
  21102. * po/zh_TW.po: Likewise.
  21103. * version.h (RELEAES): Set to "development".
  21104. (VERSION): Set to 2.23.90.
  21105. * version.h (RELEASE): Set to "stable".
  21106. (VERSION): Set to 2.23.
  21107. * include/feature.h (__GLIBC_MINOR__): Set to 23.
  21108. * NEWS: Updated fixed bugs.
  21109. 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
  21110. Wilco Dijkstra <wdijkstr@arm.com>
  21111. [BZ #19462]
  21112. * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
  21113. (_STRING_INLINE_unaligned): This.
  21114. * include/string.h: Include <string_private.h>.
  21115. * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
  21116. _STRING_INLINE_unaligned.
  21117. * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
  21118. (_STRING_INLINE_unaligned): New.
  21119. * sysdeps/aarch64/string_private.h: New file.
  21120. * sysdeps/generic/string_private.h: Likewise.
  21121. * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
  21122. * sysdeps/s390/string_private.h: Likewise.
  21123. * sysdeps/x86/string_private.h: Likewise.
  21124. * sysdeps/m68k/m680x0/m68020/bits/string.h
  21125. (_STRING_ARCH_unaligned): Renamed to ...
  21126. (_STRING_INLINE_unaligned): This.
  21127. * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
  21128. to ...
  21129. (_STRING_INLINE_unaligned): This.
  21130. * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
  21131. to ...
  21132. (_STRING_INLINE_unaligned): This.
  21133. * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
  21134. to ...
  21135. (_STRING_INLINE_unaligned): This.
  21136. 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
  21137. H.J. Lu <hongjiu.lu@intel.com>
  21138. [BZ #19590]
  21139. * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
  21140. relocation.
  21141. 2016-02-15 Carlos O'Donell <carlos@redhat.com>
  21142. [BZ #18665]
  21143. * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
  21144. *herrno_p.
  21145. (gaih_getanswer): Document functional behviour. Return tryagain
  21146. if any result is tryagain.
  21147. * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
  21148. when freed.
  21149. * resolv/res_send.c: Add copyright text.
  21150. (__libc_res_nsend): Document that MAXPACKET is expected.
  21151. (send_vc): Document. Remove buffer reuse.
  21152. (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
  21153. size of the buffer. Add Dprint for truncated UDP buffer.
  21154. 2016-02-14 Carlos O'Donell <carlos@redhat.com>
  21155. * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
  21156. 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
  21157. * INSTALL: Regenerate.
  21158. 2016-02-14 Jakub Jelinek <jakub@redhat.com>
  21159. Jonathan Wakely <jwakely@redhat.com>
  21160. Carlos O'Donell <carlos@redhat.com>
  21161. [BZ 19439]
  21162. * math/Makefile (tests): Add test-math-isinff.
  21163. (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
  21164. * math/bits/mathcalls.h [__USE_MISC]: Use
  21165. '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
  21166. functions not in C++11 and which don't conflict e.g. isinff,
  21167. isinfl etc.
  21168. * math/test-math-isinff.cc: New file.
  21169. 2016-02-12 Florian Weimer <fweimer@redhat.com>
  21170. * misc/bug18240.c (do_test): Set RLIMIT_AS.
  21171. 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
  21172. [BZ #19529]
  21173. * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
  21174. 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  21175. * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
  21176. 2016-02-01 Joseph Myers <joseph@codesourcery.com>
  21177. [BZ #19550]
  21178. * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
  21179. * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
  21180. * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
  21181. * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
  21182. * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
  21183. New syscall entry.
  21184. * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
  21185. New syscall entry.
  21186. * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
  21187. syscall entry.
  21188. 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
  21189. [BZ #18240]
  21190. * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
  21191. unsigned int wraparound.
  21192. 2016-01-27 Florian Weimer <fweimer@redhat.com>
  21193. [BZ #18240]
  21194. * misc/bug18240.c: New test.
  21195. * misc/Makefile (tests): Add it.
  21196. 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
  21197. Joseph Myers <joseph@codesourcery.com>
  21198. * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
  21199. load in branch delay slot when less than a word of input left.
  21200. 2016-01-27 Andreas Schwab <schwab@suse.de>
  21201. * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
  21202. * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
  21203. * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
  21204. * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
  21205. 2016-01-26 David S. Miller <davem@davemloft.net>
  21206. * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
  21207. 2016-01-25 David S. Miller <davem@davemloft.net>
  21208. * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
  21209. __sqrtl_finite.
  21210. * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
  21211. instead using versioned_symbol.
  21212. * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
  21213. of entries.
  21214. * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
  21215. __sqrtl_finite to GLIBC_2.23
  21216. 2016-01-25 Richard Henderson <rth@redhat.com>
  21217. * sysdeps/alpha/fpu/libm-test-ulps: Update.
  21218. 2016-01-25 Andreas Schwab <schwab@suse.de>
  21219. [BZ #17514]
  21220. * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
  21221. <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
  21222. * nptl/Makefile (tests): Add tst-mutex-errorcheck.
  21223. * nptl/tst-mutex-errorcheck.c: New file.
  21224. 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  21225. [BZ #18560]
  21226. * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
  21227. (IPCOP_semop): Likewise.
  21228. (IPCOP_semget): Likewise.
  21229. (IPCOP_semctl): Likewise.
  21230. (IPCOP_msgsnd): Likewise.
  21231. (IPCOP_msgrcv): Likewise.
  21232. (IPCOP_msgget): Likewise.
  21233. (IPCOP_msgctl): Likewise.
  21234. (IPCOP_shmat): Likewise.
  21235. (IPCOP_shmdt): Likewise.
  21236. (IPCOP_shmget): Likewise.
  21237. (IPCOP_shmctl): Likewise.
  21238. 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
  21239. * string/tst-endian.c: Include <libc-internal.h>.
  21240. (do_test): Ignore tautological-compare warnings around
  21241. "htobeXX (beXXtoh (i)) != i" and
  21242. "htoleXX (leXXtoh (i)) != i" if-statements.
  21243. 2016-01-24 David S. Miller <davem@davemloft.net>
  21244. * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
  21245. * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
  21246. alias.
  21247. * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
  21248. __sqrtl_finite.
  21249. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  21250. 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
  21251. * sysdeps/unix/sysv/linux/mips/configure.ac: Set
  21252. `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
  21253. * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
  21254. 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  21255. * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
  21256. (thread_func): Use new function to simplify barrier check.
  21257. (do_test): Use new function to simplify checking barrier exit
  21258. code, and actually join the child thread.
  21259. 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  21260. * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
  21261. semicolon.
  21262. (__libc_tend): Likewise.
  21263. (__libc_tabort): Likewise.
  21264. 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
  21265. * sysdeps/nios2/libm-test-ulps: Update.
  21266. * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
  21267. (__gtsf2): Likewise.
  21268. (__unorddf2): Likewise.
  21269. (__unordsf2): Likewise.
  21270. (__ledf2): Likewise.
  21271. 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
  21272. * nis/nis_table.c (__follow_path): Disable diagnostic for
  21273. uninitialized variable that is a false positive for gcc 4.7.
  21274. * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
  21275. 2016-01-20 Roland McGrath <roland@hack.frob.com>
  21276. * sysdeps/nacl/lowlevellock-futex.h
  21277. (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
  21278. Always evaluate PRIVATE argument.
  21279. 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
  21280. [BZ #19490]
  21281. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
  21282. (pthread_cond_broadcast): Use ENTRY/END
  21283. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
  21284. (pthread_cond_signal): Likewise.
  21285. * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
  21286. Likewise.
  21287. * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
  21288. Likewise.
  21289. * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
  21290. Likewise.
  21291. 2016-01-20 Joseph Myers <joseph@codesourcery.com>
  21292. * sysdeps/ieee754/dbl-64/s_finite.c
  21293. [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
  21294. compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
  21295. SHLIB_COMPAT condition for libm, not GLIBC_2_0.
  21296. * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
  21297. [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
  21298. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
  21299. (__gtsf2): Add as optional for libc.so.
  21300. (__unordsf2): Likewise.
  21301. (__signbit): Remove for libc.so.
  21302. (__signbitl): Likewise.
  21303. 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
  21304. * iconvdata/bug-iconv11.c (test_ibm93x):
  21305. Use %zu printf format specifier for size_t argument.
  21306. 2016-01-19 Joseph Myers <joseph@codesourcery.com>
  21307. * math/gen-libm-test.pl (parse_ulps): Do not reduce
  21308. already-recorded ulps.
  21309. * sysdeps/arm/libm-test-ulps: Regenerated.
  21310. * sysdeps/mips/mips32/libm-test-ulps: Likewise.
  21311. * sysdeps/mips/mips64/libm-test-ulps: Likewise.
  21312. * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
  21313. 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
  21314. Paul Pluzhnikov <ppluzhnikov@google.com>
  21315. * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
  21316. assembler not supporting AVX-512.
  21317. 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
  21318. * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
  21319. 2016-01-18 Joseph Myers <joseph@codesourcery.com>
  21320. * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
  21321. * sysdeps/mips/mips64/libm-test-ulps: Likewise.
  21322. * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
  21323. * sysdeps/arm/libm-test-ulps: Regenerated.
  21324. 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
  21325. [BZ #19451]
  21326. * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
  21327. 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
  21328. [BZ #19486]
  21329. * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
  21330. * sysdeps/generic/fix-fp-int-convert-overflow.h
  21331. (FIX_LDBL_LONG_CONVERT_OVERFLOW,
  21332. FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
  21333. * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
  21334. * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
  21335. Likewise.
  21336. * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
  21337. Avoid conversions to long int where inexact exceptions
  21338. could be raised.
  21339. * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
  21340. Likewise.
  21341. * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
  21342. Avoid conversions to long long int where inexact exceptions
  21343. could be raised.
  21344. * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
  21345. Likewise.
  21346. 2016-01-17 Mike Frysinger <vapier@gentoo.org>
  21347. * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
  21348. * configure: Regenerated.
  21349. 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
  21350. * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
  21351. 2016-01-16 Mike Frysinger <vapier@gentoo.org>
  21352. * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
  21353. outside of comment.
  21354. 2016-01-15 Torvald Riegel <triegel@redhat.com>
  21355. * nptl/tst-barrier1.c: Add description on first line.
  21356. * nptl/tst-barrier2.c: Likewise.
  21357. * nptl/tst-barrier3.c: Likewise.
  21358. * nptl/tst-barrier4.c: Likewise.
  21359. * nptl/tst-barrier5.c: Likewise.
  21360. 2016-01-15 Torvald Riegel <triegel@redhat.com>
  21361. [BZ #18868]
  21362. * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
  21363. 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
  21364. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
  21365. * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
  21366. * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
  21367. * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
  21368. * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
  21369. * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
  21370. * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
  21371. * sysdeps/x86_64/multiarch/memmove.c: Likewise.
  21372. * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
  21373. * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
  21374. * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
  21375. 2016-01-15 Torvald Riegel <triegel@redhat.com>
  21376. [BZ #13065]
  21377. * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
  21378. new implementation.
  21379. * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
  21380. * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
  21381. * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
  21382. (BARRIER_IN_THRESHOLD): New macro.
  21383. * nptl/pthread_barrierattr_setpshared.c
  21384. (pthread_barrierattr_setpshared): Clean up.
  21385. * nptl/tst-barrier4.c: Correct comment.
  21386. * nptl/tst-barrier5.c: New file.
  21387. * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
  21388. (gen-as-const-headers): Remove lowlevelbarrier.sym.
  21389. * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
  21390. * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
  21391. * nptl/lowlevelbarrier.sym: Remove.
  21392. * nptl/DESIGN-barrier.txt: Remove.
  21393. * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
  21394. * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
  21395. * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
  21396. * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
  21397. error.
  21398. * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
  21399. implementation.
  21400. 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  21401. * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
  21402. (do_child): Mask SIGRTMIN while thr is running.
  21403. 2016-01-15 Martin Sebor <msebor@redhat.com>
  21404. [BZ #19432]
  21405. * iconvdata/Makefile: Add bug-iconv11.
  21406. * iconvdata/bug-iconv11.c: New test.
  21407. * iconvdata/ibm930.c: Do not reject redundant shift sequences.
  21408. * iconvdata/ibm933.c: Same.
  21409. * iconvdata/ibm935.c: Same.
  21410. * iconvdata/ibm937.c: Same.
  21411. * iconvdata/ibm939.c: Same.
  21412. 2016-01-15 Martin Sebor <msebor@redhat.com>
  21413. [BZ #19443]
  21414. * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
  21415. [DEBUG] (_ufc_set_bits): Declare used.
  21416. * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
  21417. [DEBUG] (print_all): Declare used.
  21418. * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
  21419. operands of the ternary ?: expression to target type.
  21420. * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
  21421. calling the undeclared abort.
  21422. * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
  21423. 2016-01-15 Martin Sebor <msebor@redhat.com>
  21424. [BZ #18755]
  21425. * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
  21426. warnings.
  21427. * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
  21428. (__gai_create_helper_thread): Same.
  21429. * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
  21430. * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
  21431. to suppress -Wmaybe-uninitialized warnings.
  21432. 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
  21433. [BZ #19465]
  21434. * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
  21435. inside if.
  21436. * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
  21437. * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
  21438. * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
  21439. 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
  21440. [BZ #19466]
  21441. * time/tst-mktime2.c (time_t_max): Removed.
  21442. (time_t_min): Likewise.
  21443. (TYPE_SIGNED): New.
  21444. (TYPE_MINIMUM): Likewise.
  21445. (TYPE_MAXIMUM): Likewise.
  21446. (TIME_T_MIN): Likewise.
  21447. (TIME_T_MAX): Likewise.
  21448. (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
  21449. and TIME_T_MIN.
  21450. (do_test): Likewise.
  21451. 2016-01-14 Amit Pawar <amit.pawar@amd.com>
  21452. [BZ #19467]
  21453. * sysdeps/x86/cpu-features.c (init_cpu_features): Set
  21454. index_Fast_Unaligned_Load flag for Excavator family CPUs.
  21455. 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
  21456. * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
  21457. 2016-01-13 Carlos O'Donell <carlos@redhat.com>
  21458. * benchtests/Makefile (PYTHON): Define.
  21459. (bench-func): Use $(PYTHON) to run python scripts.
  21460. ($(objpfx)bench-%.c): Likewise.
  21461. 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
  21462. * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
  21463. leading slash when `file_name' is "/".
  21464. 2016-01-12 Joseph Myers <joseph@codesourcery.com>
  21465. * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
  21466. * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
  21467. Likewise.
  21468. * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
  21469. Likewise.
  21470. * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
  21471. Likewise.
  21472. * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
  21473. enum constant and macro.
  21474. (PTRACE_SETSIGMASK): Likewise.
  21475. (PTRACE_SECCOMP_GET_FILTER): Likewise.
  21476. * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
  21477. (PTRACE_GETSIGMASK): Likewise.
  21478. (PTRACE_SETSIGMASK): Likewise.
  21479. (PTRACE_SECCOMP_GET_FILTER): Likewise.
  21480. * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
  21481. Likewise.
  21482. (PTRACE_SETSIGMASK): Likewise.
  21483. (PTRACE_SECCOMP_GET_FILTER): Likewise.
  21484. * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
  21485. (PTRACE_GETSIGMASK): Likewise.
  21486. (PTRACE_SETSIGMASK): Likewise.
  21487. (PTRACE_SECCOMP_GET_FILTER): Likewise.
  21488. * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
  21489. Likewise.
  21490. (PTRACE_SETSIGMASK): Likewise.
  21491. (PTRACE_SECCOMP_GET_FILTER): Likewise.
  21492. * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
  21493. Likewise.
  21494. (PTRACE_SETSIGMASK): Likewise.
  21495. (PTRACE_SECCOMP_GET_FILTER): Likewise.
  21496. * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
  21497. Likewise.
  21498. (PTRACE_SETSIGMASK): Likewise.
  21499. (PTRACE_SECCOMP_GET_FILTER): Likewise.
  21500. 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
  21501. Adhemerval Zanella <adhemerval.zanella@linaro.org>
  21502. [BZ #19439]
  21503. * math/bits/mathcalls.h
  21504. [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
  21505. prototype.
  21506. [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
  21507. 2016-01-11 Andreas Schwab <schwab@suse.de>
  21508. [BZ #19253]
  21509. * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
  21510. cache when TZDEFRULES was used.
  21511. * time/tst-tzname.c: New file.
  21512. * time/Makefile (test): Add tst-tzname.
  21513. (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
  21514. * timezone/Makefile (test-zones): Add $(posixrules-file).
  21515. ($(testdata)/$(posixrules-file)): New rule.
  21516. 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
  21517. Fix doc quoting problems with Texinfo 5
  21518. Without this change, in the info file output, Texinfo 5 quotes code
  21519. in text with undirected single quotes 'like this' and generates
  21520. code examples that with many PDF readers cannot be cut out of PDFs
  21521. and pasted into code.
  21522. * manual/libc.texinfo: Configure the libc manual like the GNU
  21523. Emacs manual, by using @documentencoding and setting
  21524. txicodequoteundirected and txicodequotebacktick. This way,
  21525. Texinfo 5 quotes code in text with directed single quotes ‘like
  21526. this’ and produces examples that can be cut out of PDFs. This
  21527. change causes Texinfo 5 to generate info files that contain UTF-8
  21528. characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
  21529. '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
  21530. 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  21531. * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
  21532. __libc_tabort, __libc_tend): New wrappers that enforce compiler
  21533. barriers to their respective compiler built-ins.
  21534. * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
  21535. ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
  21536. * sysdeps/powerpc/sysdep.h: Likewise.
  21537. * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
  21538. * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
  21539. * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
  21540. 2016-01-08 Marko Myllynen <myllynen@redhat.com>
  21541. * scripts/config.guess: Revert previous shebang change.
  21542. * scripts/config.sub: Likewise.
  21543. * scripts/mkinstalldirs: Likewise.
  21544. 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
  21545. * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
  21546. PPC_FEATURE2_HAS_IEEE128.
  21547. * sysdeps/powerpc/dl-procinfo.c:
  21548. (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
  21549. 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
  21550. [BZ #19415]
  21551. * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
  21552. (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
  21553. (_dl_lookup_address): Rewrite using function resolver trampoline.
  21554. * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
  21555. two bits in address.
  21556. 2016-01-07 Mike Frysinger <vapier@gentoo.org>
  21557. * longlong.h: Change !__SHMEDIA__ to
  21558. (!defined (__SHMEDIA__) || !__SHMEDIA__).
  21559. Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
  21560. 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
  21561. Joseph Myers <joseph@codesourcery.com>
  21562. Mark Shinwell <shinwell@codesourcery.com>
  21563. Andrew Stubbs <ams@codesourcery.com>
  21564. Rich Felker <dalias@libc.org>
  21565. * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
  21566. 2016-01-07 Richard Henderson <rth@redhat.com>
  21567. * longlong.h [__alpha] (umul_ppmm): Disable for c++.
  21568. 2016-01-07 Mike Frysinger <vapier@gentoo.org>
  21569. * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
  21570. __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
  21571. * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
  21572. * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
  21573. * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
  21574. 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
  21575. Joseph Myers <joseph@codesourcery.com>
  21576. * timezone/private.h: Update from tzcode 2015g.
  21577. * timezone/tzfile.h: Likewise.
  21578. * timezone/tzselect.ksh: Likewise.
  21579. * timezone/zdump.c: Likewise.
  21580. * timezone/zic.c: Likewise.
  21581. * timezone/ialloc.c: Remove file.
  21582. * timezone/scheck.c: Likewise.
  21583. * timezone/Makefile (extra-objs): Remove variable.
  21584. ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
  21585. (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
  21586. -Wno-maybe-uninitialized.
  21587. (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
  21588. (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
  21589. (CFLAGS-ialloc.c): Remove variable.
  21590. (CFLAGS-scheck.c): Likewise.
  21591. * timezone/README: Update list of files from tzcode.
  21592. 2016-01-07 Khem Raj <raj.khem@gmail.com>
  21593. * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
  21594. instead of __fxprintf when _LIBC is undefined.
  21595. 2016-01-07 Marko Myllynen <myllynen@redhat.com>
  21596. * catgets/test-gencat.sh: Remove space after shebang.
  21597. * conform/GlibcConform.pm: Likewise.
  21598. * conform/check-header-lists.sh: Likewise.
  21599. * conform/conformtest.pl: Likewise.
  21600. * conform/linknamespace.pl: Likewise.
  21601. * conform/list-header-symbols.pl: Likewise.
  21602. * debug/catchsegv.sh: Likewise.
  21603. * elf/genrtldtbl.awk: Likewise.
  21604. * elf/tst-pathopt.sh: Likewise.
  21605. * elf/tst-rtld-load-self.sh: Likewise.
  21606. * grp/tst_fgetgrent.sh: Likewise.
  21607. * iconvdata/gen-8bit-gap-1.sh: Likewise.
  21608. * iconvdata/gen-8bit-gap.sh: Likewise.
  21609. * iconvdata/gen-8bit.sh: Likewise.
  21610. * iconvdata/run-iconv-test.sh: Likewise.
  21611. * intl/tst-gettext.sh: Likewise.
  21612. * intl/tst-gettext2.sh: Likewise.
  21613. * intl/tst-gettext4.sh: Likewise.
  21614. * intl/tst-gettext6.sh: Likewise.
  21615. * intl/tst-translit.sh: Likewise.
  21616. * io/ftwtest-sh: Likewise.
  21617. * libio/test-freopen.sh: Likewise.
  21618. * locale/gen-translit.pl: Likewise.
  21619. * malloc/tst-mtrace.sh: Likewise.
  21620. * manual/check-safety.sh: Likewise.
  21621. * manual/libc-texinfo.sh: Likewise.
  21622. * manual/tsort.awk: Likewise.
  21623. * manual/xtract-typefun.awk: Likewise.
  21624. * nptl/tst-cancel-wrappers.sh: Likewise.
  21625. * nptl/tst-tls6.sh: Likewise.
  21626. * posix/globtest.sh: Likewise.
  21627. * posix/tst-getconf.sh: Likewise.
  21628. * posix/wordexp-tst.sh: Likewise.
  21629. * scripts/check-c++-types.sh: Likewise.
  21630. * scripts/check-local-headers.sh: Likewise.
  21631. * scripts/config.guess: Likewise.
  21632. * scripts/config.sub: Likewise.
  21633. * scripts/cpp: Likewise.
  21634. * scripts/cross-test-ssh.sh: Likewise.
  21635. * scripts/documented.sh: Likewise.
  21636. * scripts/evaluate-test.sh: Likewise.
  21637. * scripts/gen-libc-abis: Likewise.
  21638. * scripts/gen-sorted.awk: Likewise.
  21639. * scripts/list-fixed-bugs.py: Likewise.
  21640. * scripts/merge-test-results.sh: Likewise.
  21641. * scripts/mkinstalldirs: Likewise.
  21642. * scripts/rellns-sh: Likewise.
  21643. * scripts/test-installation.pl: Likewise.
  21644. * scripts/update-copyrights: Likewise.
  21645. * stdio-common/tst-printf.sh: Likewise.
  21646. * stdio-common/tst-unbputc.sh: Likewise.
  21647. * stdlib/tst-fmtmsg.sh: Likewise.
  21648. * stdlib/tst-setcontext3.sh: Likewise.
  21649. * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
  21650. * sysdeps/unix/make-syscalls.sh: Likewise.
  21651. 2016-01-06 John David Anglin <dave.anglin@bell.net>
  21652. * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
  21653. asm stw with atomic_exchange_rel. Add explanatory comment.
  21654. * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
  21655. Likewise.
  21656. 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
  21657. [BZ #19122]
  21658. * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
  21659. * sysdeps/generic/dl-unistd.h: New file.
  21660. * sysdeps/mach/hurd/dl-unistd.h: Likewise.
  21661. 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
  21662. [BZ #19122]
  21663. * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
  21664. * sysdeps/generic/dl-mman.h: New file.
  21665. * sysdeps/mach/hurd/dl-mman.h: Likewise.
  21666. 2016-01-05 Joseph Myers <joseph@codesourcery.com>
  21667. * manual/texinfo.tex: Update to version 2016-01-04.21 with
  21668. trailing whitespace removed.
  21669. * scripts/config.guess: Update to version 2016-01-01.
  21670. * scripts/config.sub: Update to version 2016-01-01.
  21671. * scripts/move-if-change: Update from gnulib.
  21672. 2016-01-04 Anton Blanchard <anton@samba.org>
  21673. * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
  21674. for array indices.
  21675. * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
  21676. 2016-01-04 Joseph Myers <joseph@codesourcery.com>
  21677. * NEWS: Update copyright dates.
  21678. * catgets/gencat.c (print_version): Likewise.
  21679. * csu/version.c (banner): Likewise.
  21680. * debug/catchsegv.sh: Likewise.
  21681. * debug/pcprofiledump.c (print_version): Likewise.
  21682. * debug/xtrace.sh (do_version): Likewise.
  21683. * elf/ldconfig.c (print_version): Likewise.
  21684. * elf/ldd.bash.in: Likewise.
  21685. * elf/pldd.c (print_version): Likewise.
  21686. * elf/sotruss.sh: Likewise.
  21687. * elf/sprof.c (print_version): Likewise.
  21688. * iconv/iconv_prog.c (print_version): Likewise.
  21689. * iconv/iconvconfig.c (print_version): Likewise.
  21690. * locale/programs/locale.c (print_version): Likewise.
  21691. * locale/programs/localedef.c (print_version): Likewise.
  21692. * login/programs/pt_chown.c (print_version): Likewise.
  21693. * malloc/memusage.sh (do_version): Likewise.
  21694. * malloc/memusagestat.c (print_version): Likewise.
  21695. * malloc/mtrace.pl: Likewise.
  21696. * manual/libc.texinfo: Likewise.
  21697. * nptl/version.c (banner): Likewise.
  21698. * nscd/nscd.c (print_version): Likewise.
  21699. * nss/getent.c (print_version): Likewise.
  21700. * nss/makedb.c (print_version): Likewise.
  21701. * posix/getconf.c (main): Likewise.
  21702. * scripts/test-installation.pl: Likewise.
  21703. * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
  21704. * All files with FSF copyright notices: Update copyright dates
  21705. using scripts/update-copyrights.
  21706. * intl/plural.c: Regenerated.
  21707. * locale/programs/charmap-kw.h: Likewise.
  21708. * locale/programs/locfile-kw.h: Likewise.
  21709. 2016-01-02 Helge Deller <deller@gmx.de>
  21710. [BZ #19285]
  21711. * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
  21712. (MAP_HUGETLB, MCL_ONFAULT): Likewise.
  21713. (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
  21714. (MADV_xxK_PAGES): Remove.
  21715. 2016-01-01 Mike Frysinger <vapier@gentoo.org>
  21716. [BZ #15421]
  21717. * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
  21718. [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
  21719. * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
  21720. * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
  21721. 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
  21722. [BZ #19408]
  21723. * sysdeps/unix/sysv/linux/personality.c: New file.
  21724. * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
  21725. * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
  21726. * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
  21727. (sysdep_routines): Add personality.
  21728. (tests): Add tst-personality.
  21729. * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
  21730. * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
  21731. * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
  21732. * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
  21733. * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
  21734. * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
  21735. * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
  21736. Likewise.
  21737. * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
  21738. Likewise.
  21739. * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
  21740. Likewise.
  21741. * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
  21742. * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
  21743. Likewise.
  21744. 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
  21745. * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
  21746. (PATH_ARM_SYSTYPE): Remove.
  21747. (PATH_CPUINFO): Likewise.
  21748. (IO_BASE_FOOTBRIDGE): Likewise.
  21749. (IO_SHIFT_FOOTBRIDGE): Likewise.
  21750. (struct platform): Likewise.
  21751. (init_iosys): Remove compatibility code for 2.4 kernels.
  21752. * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
  21753. 2015-12-29 Florian Weimer <fweimer@redhat.com>
  21754. * malloc/tst-malloc-thread-fail.c: New file.
  21755. * malloc/Makefile (tests): Add tst-malloc-thread-fail.
  21756. (tst-malloc-thread-fail): Link against libpthread.
  21757. 2015-12-29 Mike Frysinger <vapier@gentoo.org>
  21758. * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
  21759. (get_parser): New function.
  21760. (main): New function.
  21761. 2015-12-29 Rob Wu <rob@robwu.nl>
  21762. [BZ #19369]
  21763. * resolv/res_init.c (__res_vinit): Reset defdname before use.
  21764. 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
  21765. [BZ #19270]
  21766. * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
  21767. 2015-12-28 Mike Frysinger <vapier@gentoo.org>
  21768. [BZ #15421]
  21769. * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
  21770. 2015-12-23 Torvald Riegel <triegel@redhat.com>
  21771. [BZ #13690]
  21772. * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
  21773. after releasing it.
  21774. (__lll_robust_unlock): Likewise.
  21775. * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
  21776. * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
  21777. (lll_robust_unlock): Likewise.
  21778. * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
  21779. Prevent warnings in callers.
  21780. 2015-12-23 Florian Weimer <fweimer@redhat.com>
  21781. * malloc/arena.c (list_lock): Update comment.
  21782. 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
  21783. * sysdeps/powerpc/hwcapinfo.c: Export symbol
  21784. __parse_hwcap_and_convert_at_platform to libc.a.
  21785. 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
  21786. * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
  21787. platform and feature support for POWER9.
  21788. * sysdeps/powerpc/dl-procinfo.h: Likewise.
  21789. * sysdeps/powerpc/powerpc32/power9/Implies: New file.
  21790. * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
  21791. * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
  21792. * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
  21793. * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
  21794. * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
  21795. * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
  21796. 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
  21797. Harmonize generic stdio-lock support with nptl
  21798. This fixes build when _IO_funlockfile is a macro, fixes build where
  21799. _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
  21800. stack unwind.
  21801. * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
  21802. _IO_release_lock ): Use cleanup attribute on new
  21803. _IO_acquire_lock_file variable instead of assuming that
  21804. _IO_release_lock will be called.
  21805. [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
  21806. _IO_acquire_lock_needs_exceptions_enabled.
  21807. (_IO_acquire_lock_clear_flags2): New macro.
  21808. 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  21809. * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
  21810. 2015-12-21 Florian Weimer <fweimer@redhat.com>
  21811. [BZ #19182]
  21812. * malloc/arena.c (list_lock): Document lock ordering requirements.
  21813. (free_list_lock): New lock.
  21814. (ptmalloc_lock_all): Comment on free_list_lock.
  21815. (ptmalloc_unlock_all2): Reinitialize free_list_lock.
  21816. (detach_arena): Update comment. free_list_lock is now needed.
  21817. (_int_new_arena): Use free_list_lock around detach_arena call.
  21818. Acquire arena lock after list_lock. Add comment, including FIXME
  21819. about incorrect synchronization.
  21820. (get_free_list): Switch to free_list_lock.
  21821. (reused_arena): Acquire free_list_lock around detach_arena call
  21822. and attached threads counter update. Add two FIXMEs about
  21823. incorrect synchronization.
  21824. (arena_thread_freeres): Switch to free_list_lock.
  21825. * malloc/malloc.c (struct malloc_state): Update comments to
  21826. mention free_list_lock.
  21827. 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
  21828. * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
  21829. Remove functions.
  21830. (sloww, sloww1): Accept argument to offset quadrant.
  21831. (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
  21832. quadrant.
  21833. (__sin, __cos): Consolidate common code into new functions.
  21834. (reduce_sincos_1, do_sincos_1): New functions.
  21835. * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
  21836. * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
  21837. code to new functions.
  21838. (reduce_sincos_2, do_sincos_2): New functions.
  21839. * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
  21840. * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
  21841. common code for sincos.
  21842. (__cos) [!IN_SINCOS]: Likewise.
  21843. * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
  21844. New function.
  21845. (__sincos): Use it.
  21846. 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
  21847. * sysdeps/i386/fpu/libm-test-ulps: Move to ....
  21848. * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
  21849. * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
  21850. 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
  21851. * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
  21852. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
  21853. * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
  21854. * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
  21855. * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
  21856. * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
  21857. index_Prefer_No_VZEROUPPER): New feature.
  21858. * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
  21859. Prefer_No_VZEROUPPER for Knights Landing.
  21860. 015-12-18 Torvald Riegel <triegel@redhat.com>
  21861. * math/atest-exp2.c (mp_exp_m1): Remove.
  21862. 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  21863. * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
  21864. syscalls.
  21865. (__SYSCALL0): New macro.
  21866. (__SYSCALL1): Likewise.
  21867. (__SYSCALL2): Likewise.
  21868. (__SYSCALL3): Likewise.
  21869. (__SYSCALL4): Likewise.
  21870. (__SYSCALL5): Likewise.
  21871. (__SYSCALL6): Likewise.
  21872. (__SYSCALL_CONCAT_X): Likewise.
  21873. (__SYSCALL_CONCAT): Likewise.
  21874. (__SYSCALL_DIST): Likewise.
  21875. (__SYSCALL_CALL): Likewise.
  21876. 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
  21877. [BZ #19363]
  21878. * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
  21879. 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  21880. [BZ #19375]
  21881. * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
  21882. negative subnormals.
  21883. 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
  21884. * sysdeps/unix/sysv/linux/x86_64/sysdep.h
  21885. (REGISTERS_CLOBBERED_BY_SYSCALL): New.
  21886. (INTERNAL_SYSCALL_NCS): Use it.
  21887. (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
  21888. 2015-12-16 Florian Weimer <fweimer@redhat.com>
  21889. [BZ #19243]
  21890. * malloc/arena.c (get_free_list): Remove assert and adjust
  21891. reference count handling. Add comment about reused_arena
  21892. interaction.
  21893. (reused_arena): Add comments abount get_free_list interaction.
  21894. * malloc/tst-malloc-thread-exit.c: New file.
  21895. * malloc/Makefile (tests): Add tst-malloc-thread-exit.
  21896. (tst-malloc-thread-exit): Link against libpthread.
  21897. 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
  21898. [BZ #19367]
  21899. * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
  21900. * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
  21901. * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
  21902. * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
  21903. (index_Prefer_MAP_32BIT_EXEC): Likewise.
  21904. 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
  21905. * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
  21906. Silvermont optimizations for Knights Landing.
  21907. 2015-12-15 Andreas Schwab <schwab@suse.de>
  21908. [BZ #17197]
  21909. * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
  21910. immediately after emitting SI.
  21911. * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
  21912. * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
  21913. * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
  21914. * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
  21915. * iconvdata/bug-iconv10.c: New file.
  21916. * iconvdata/Makefile (tests): Add bug-iconv10.
  21917. ($(objpfx)bug-iconv10.out): New rule.
  21918. 2015-12-15 Florian Weimer <fweimer@redhat.com>
  21919. * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
  21920. aliasing violation.
  21921. 2015-12-14 Joseph Myers <joseph@codesourcery.com>
  21922. [BZ #18472]
  21923. * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
  21924. for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
  21925. conditionals for them.
  21926. * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
  21927. * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
  21928. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
  21929. sys/kdaemon.h.
  21930. * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
  21931. compat-only syscall, obsoleted in glibc 2.23.
  21932. (create_module): Likewise.
  21933. (get_kernel_syms): Likewise.
  21934. (query_module): Likewise.
  21935. (uselib): Likewise.
  21936. * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
  21937. 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
  21938. * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
  21939. <linux/version.h>.
  21940. [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
  21941. conditional code.
  21942. (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
  21943. and ioshift_name initialization.
  21944. 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
  21945. * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
  21946. Fix indentation.
  21947. 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
  21948. * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
  21949. 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
  21950. * stdlib/strtol_l.c (__strtol_l): Fix indentation.
  21951. 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
  21952. Jakub Wilk <jwilk@debian.org>
  21953. [BZ #19347]
  21954. * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
  21955. to change the group of the device to the tty group.
  21956. 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
  21957. Split large string section; add truncation advice
  21958. * manual/examples/strncat.c: Remove.
  21959. This example was misleading, as the code would have undefined
  21960. behavior if "hello" was longer than SIZE. Anyway, the manual
  21961. shouldn't encourage strncpy+strncat for this sort of thing.
  21962. * manual/string.texi (Copying Strings and Arrays): Split into
  21963. three sections Copying Strings and Arrays, Concatenating Strings,
  21964. and Truncating Strings, as this section was way too long. All
  21965. cross-referenced changed. Add advice about string-truncation
  21966. functions. Remove misleading strncat example.
  21967. 2015-12-10 Carlos O'Donell <carlos@redhat.com>
  21968. * manual/nss.texi (NSS Modules Interface): Document
  21969. NSS_STATUS_NOTFOUND and SUCCESS.
  21970. 2015-12-09 Mike FABIAN <mfabian@redhat.com>
  21971. [BZ 18568]
  21972. * include/stdc-predef.h (__STDC_ISO_10646__): Update to
  21973. 201505L, for Unicode 8.
  21974. 2015-12-09 Carlos O'Donell <carlos@redhat.com>
  21975. * locale/C-translit.h: Regenerate.
  21976. 2015-12-09 Mike FABIAN <mfabian@redhat.com>
  21977. * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
  21978. and U+0153.
  21979. 2015-12-09 Joseph Myers <joseph@codesourcery.com>
  21980. [BZ #19351]
  21981. * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
  21982. expanding log(1+z), compare z rather than its square with epsilon
  21983. to determine when to avoid evaluating the expansion.
  21984. [BZ #19350]
  21985. * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
  21986. Increase overflow threshold.
  21987. [BZ #19349]
  21988. * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
  21989. when small.
  21990. * sysdeps/unix/sysv/linux/i386/kernel-features.h
  21991. [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
  21992. New macro.
  21993. [__LINUX_KERNEL_VERSION >= 0x040300]
  21994. (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
  21995. [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
  21996. Likewise.
  21997. [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
  21998. Likewise.
  21999. [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
  22000. Likewise.
  22001. [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
  22002. Likewise.
  22003. [__LINUX_KERNEL_VERSION >= 0x040300]
  22004. (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
  22005. [__LINUX_KERNEL_VERSION >= 0x040300]
  22006. (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
  22007. [__LINUX_KERNEL_VERSION >= 0x040300]
  22008. (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
  22009. [__LINUX_KERNEL_VERSION >= 0x040300]
  22010. (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
  22011. [__LINUX_KERNEL_VERSION >= 0x040300]
  22012. (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
  22013. [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
  22014. Likewise.
  22015. [__LINUX_KERNEL_VERSION >= 0x040300]
  22016. (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
  22017. [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
  22018. Likewise.
  22019. [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
  22020. Likewise.
  22021. [__LINUX_KERNEL_VERSION >= 0x040300]
  22022. (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
  22023. [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
  22024. Likewise.
  22025. [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
  22026. Likewise.
  22027. * sysdeps/unix/sysv/linux/m68k/kernel-features.h
  22028. [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
  22029. Likewise.
  22030. [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
  22031. Likewise.
  22032. [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
  22033. Likewise.
  22034. [__LINUX_KERNEL_VERSION >= 0x040300]
  22035. (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
  22036. [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
  22037. Likewise.
  22038. [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
  22039. Likewise.
  22040. [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
  22041. Likewise.
  22042. [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
  22043. Likewise.
  22044. [__LINUX_KERNEL_VERSION >= 0x040300]
  22045. (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
  22046. [__LINUX_KERNEL_VERSION >= 0x040300]
  22047. (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
  22048. [__LINUX_KERNEL_VERSION >= 0x040300]
  22049. (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
  22050. [__LINUX_KERNEL_VERSION >= 0x040300]
  22051. (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
  22052. [__LINUX_KERNEL_VERSION >= 0x040300]
  22053. (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
  22054. [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
  22055. Likewise.
  22056. [__LINUX_KERNEL_VERSION >= 0x040300]
  22057. (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
  22058. [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
  22059. Likewise.
  22060. [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
  22061. Likewise.
  22062. [__LINUX_KERNEL_VERSION >= 0x040300]
  22063. (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
  22064. [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
  22065. Likewise.
  22066. [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
  22067. Likewise.
  22068. * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
  22069. (__ASSUME_SOCKET_SYSCALL): Likewise.
  22070. (__ASSUME_BIND_SYSCALL): Likewise.
  22071. (__ASSUME_CONNECT_SYSCALL): Likewise.
  22072. (__ASSUME_LISTEN_SYSCALL): Likewise.
  22073. (__ASSUME_ACCEPT_SYSCALL): Likewise.
  22074. (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
  22075. (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
  22076. (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
  22077. (__ASSUME_SEND_SYSCALL): Likewise.
  22078. (__ASSUME_SENDTO_SYSCALL): Likewise.
  22079. (__ASSUME_RECV_SYSCALL): Likewise.
  22080. (__ASSUME_RECVFROM_SYSCALL): Likewise.
  22081. (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
  22082. (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
  22083. (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
  22084. (__ASSUME_SENDMSG_SYSCALL): Likewise.
  22085. (__ASSUME_RECVMSG_SYSCALL): Likewise.
  22086. * sysdeps/unix/sysv/linux/sh/kernel-features.h
  22087. [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
  22088. Likewise.
  22089. [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
  22090. Likewise.
  22091. [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
  22092. Likewise.
  22093. [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
  22094. Likewise.
  22095. [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
  22096. Likewise.
  22097. [__LINUX_KERNEL_VERSION >= 0x020625]
  22098. (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
  22099. [__LINUX_KERNEL_VERSION >= 0x020625]
  22100. (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
  22101. [__LINUX_KERNEL_VERSION >= 0x020625]
  22102. (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
  22103. [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
  22104. Likewise.
  22105. [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
  22106. Likewise.
  22107. [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
  22108. Likewise.
  22109. [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
  22110. Likewise.
  22111. [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
  22112. Likewise.
  22113. [__LINUX_KERNEL_VERSION >= 0x020625]
  22114. (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
  22115. [__LINUX_KERNEL_VERSION >= 0x020625]
  22116. (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
  22117. [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
  22118. Likewise.
  22119. [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
  22120. Likewise.
  22121. 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
  22122. * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
  22123. record the current if the current ABI and CPU support the FP64
  22124. extension.
  22125. (has-modd-spreg): Define to record the current if the current ABI and
  22126. CPU support 32-bit floating point values in odd FPU registers.
  22127. * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
  22128. * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
  22129. $(has-modd-spreg) equals yes.
  22130. (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
  22131. (tst-abi-fp64mod): Only build when both $(has-mpf64) and
  22132. $(has-modd-spreg) equal yes.
  22133. 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
  22134. * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
  22135. basename.
  22136. 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
  22137. * benchtests/Makefile (bench-math): Move ffs and ffsll...
  22138. (bench-string): ... here.
  22139. (bench): Add bench-string.
  22140. (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
  22141. to *-benchset to reflect what they are.
  22142. (benchset): Adjust.
  22143. * benchtests/sincos-inputs: Add inputs from sin-inputs and
  22144. cos-inputs.
  22145. 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
  22146. * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
  22147. __attribute__ ((__simd__)) for vector math function declarations.
  22148. 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
  22149. Fix typo in strncat, wcsncat manual entries
  22150. * manual/string.texi (Copying and Concatenation): Fix typos in
  22151. sample implementations of strncat and wcsncat, by having them use
  22152. the old value of the destination length, not the new one.
  22153. 2015-12-04 Joseph Myers <joseph@codesourcery.com>
  22154. [BZ #16961]
  22155. [BZ #16962]
  22156. * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
  22157. string on the stack for strtod.
  22158. * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
  22159. a string on the stack for strtof.
  22160. * math/s_nanl.c (__nanl): Use __strtold_nan instead of
  22161. constructing a string on the stack for strtold.
  22162. * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
  22163. __strtold_nan to GLIBC_PRIVATE.
  22164. * math/test-nan-overflow.c: New file.
  22165. * math/test-nan-payload.c: Likewise.
  22166. * math/Makefile (tests): Add test-nan-overflow and
  22167. test-nan-payload.
  22168. 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
  22169. Consistency about byte vs character in string.texi
  22170. * manual/string.texi (String and Array Utilities):
  22171. Distinguish more carefully among bytes, multibyte characters,
  22172. and wide characters. Use "byte" when talking about C 'char',
  22173. to distinguish it more clearly from multibyte characters.
  22174. Say "wide character" or "multibyte character" instead of
  22175. "character", when a wide or multibyte character is intended.
  22176. Similarly for "multibyte string" versus "string".
  22177. Define these terms more carefully.
  22178. 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
  22179. * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
  22180. * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
  22181. Likewise.
  22182. * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
  22183. * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
  22184. * sysdeps/sh/math_private.h: New file.
  22185. * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
  22186. * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
  22187. defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
  22188. long double function name.
  22189. * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
  22190. * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
  22191. * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
  22192. * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
  22193. * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
  22194. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
  22195. Remove __finitel, __isinfl, and __isnanl.
  22196. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
  22197. Likewise.
  22198. * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
  22199. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
  22200. Remove __finitel.
  22201. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
  22202. Likewise.
  22203. * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
  22204. 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
  22205. * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
  22206. installed libmvec_nonshared.a.
  22207. 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
  22208. * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
  22209. (sysdep_routines): Likewise.
  22210. (sysdep-rtld-routines): Likewise.
  22211. [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
  22212. [$(subdir) = nptl](tests-static): test-get_hwcap-static
  22213. * sysdeps/powerpc/Versions: Added new
  22214. __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
  22215. * sysdeps/powerpc/hwcapinfo.c: New file.
  22216. (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
  22217. and parse hwcap, hwcap2 and platform number information.
  22218. * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
  22219. to store HWCAP+HWCAP2 and platform number.
  22220. * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
  22221. for HWCAP+HWCAP2 and platform number in the TCB.
  22222. * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
  22223. the HWCAP, HWCAP2 and platform number in the TCB.
  22224. (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
  22225. (TLS_INIT_TP): Included calls to add the hwcap and
  22226. at_platform values in the TCB in TP initialization.
  22227. (TLS_DEFINE_INIT_TP): Likewise.
  22228. (THREAD_GET_HWCAP): New macro.
  22229. (THREAD_SET_HWCAP): Likewise.
  22230. (THREAD_GET_AT_PLATFORM): Likewise.
  22231. (THREAD_SET_AT_PLATFORM): Likewise.
  22232. * sysdeps/powerpc/powerpc32/dl-machine.h:
  22233. (dl_platform_init): New function that calls
  22234. __parse_hwcap_and_convert_at_platform for the dymanic linking case for
  22235. powerpc32.
  22236. * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
  22237. * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
  22238. this functionality, static linking case.
  22239. * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
  22240. linking case.
  22241. * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
  22242. __parse_hwcap_and_convert_at_platform for the static linking case.
  22243. * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
  22244. Included the new __parse_hwcap_and_convert_at_platform symbol in the
  22245. ABI list for GLIBC 2.23.
  22246. * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
  22247. Likewise.
  22248. * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
  22249. Likewise.
  22250. 2015-12-02 Ludovic Courtès <ludo@gnu.org>
  22251. * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
  22252. * configure: Regenerate.
  22253. * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
  22254. * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
  22255. 2015-12-02 Carlos O'Donell <carlos@redhat.com>
  22256. * iconvdata/ibm930.c: Add comment explaining encoding uses.
  22257. * iconvdata/ibm933.c: Likewise.
  22258. * iconvdata/ibm935.c: Likewise.
  22259. * iconvdata/ibm937.c: Likewise.
  22260. * iconvdata/ibm939.c: Likewise.
  22261. 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  22262. * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
  22263. pthread_join.
  22264. * nptl/tst-cancel21.c (tf): Likewise.
  22265. 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
  22266. [BZ #19313]
  22267. * bits/typesizes.h (__CPU_MASK_TYPE): New.
  22268. * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
  22269. * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
  22270. * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
  22271. Likewise.
  22272. * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
  22273. Likewise.
  22274. * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
  22275. Likewise.
  22276. * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
  22277. Likewise.
  22278. * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
  22279. * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
  22280. unsigned long int with __CPU_MASK_TYPE.
  22281. 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
  22282. * sysdeps/aarch64/libm-test-ulps: Regenerated.
  22283. 2015-12-01 Joseph Myers <joseph@codesourcery.com>
  22284. * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
  22285. (__ieee754_sqrt): Use hex float constants instead of tm256.x and
  22286. t512.x.
  22287. * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
  22288. 2015-11-30 Amit Pawar <amit.pawar@amd.com>
  22289. [BZ #19214]
  22290. * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
  22291. argument to return extended model. Update family and model
  22292. with extended family and model when family == 0x0f.
  22293. (init_cpu_features): Updated.
  22294. 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
  22295. The RPC interface used by mmap uses the unsigned vm_offset_t, not the
  22296. signed off_t, so 32bit bigger than 2GiB values are fine actually.
  22297. * sysdeps/mach/hurd/mmap64.c: New file.
  22298. 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
  22299. * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
  22300. rights for its main user thread in NEWTASK.
  22301. 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
  22302. * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
  22303. (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
  22304. 2015-11-27 Carlos O'Donell <carlos@redhat.com>
  22305. [BZ #14259]
  22306. * Makeconfig: Rename localedir to complocaledir.
  22307. Rename inst_localedir to inst_complocaledir.
  22308. * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
  22309. * config.make.in: Use complocaledir and libc_cv_complocaledir.
  22310. * configure.ac: Use libc_cv_complocaledir.
  22311. * configure: Regenerate.
  22312. * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
  22313. -DCOMPLOCALEDIR.
  22314. * locale/findlocale.c: Use COMPLOCALEDIR.
  22315. * locale/loadarchive.c: Likewise.
  22316. * locale/programs/locale.c: Likewise.
  22317. * locale/programs/localedef.c: Likewise.
  22318. * locale/programs/locarchive.c: Likewise.
  22319. * localedata/Makefile: Use inst_complocaledir.
  22320. * sysdeps/gnu/configure: Regenerate.
  22321. * sysdeps/hppa/configure: Regenerate.
  22322. * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
  22323. * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
  22324. * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
  22325. * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
  22326. * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
  22327. * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
  22328. * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
  22329. 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
  22330. [BZ #19058]
  22331. * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
  22332. AS_NEEDED.
  22333. * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
  22334. workaround.
  22335. * sysdeps/x86_64/fpu/Makefile (libmvec-support,
  22336. libmvec-static-only-routines): Added new file.
  22337. * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
  22338. 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
  22339. * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
  22340. of interrupted RPC instead of restoring it.
  22341. * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
  22342. * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
  22343. libc_hidden_def.
  22344. * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
  22345. into initialized data instead of common. Define rtld_hidden_data_def.
  22346. * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
  22347. * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
  22348. libc_hidden_def.
  22349. (if_freenameindex): Add libc_hidden_weak.
  22350. (if_nameindex): Add libc_hidden_weak.
  22351. * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
  22352. __open64.
  22353. * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
  22354. * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
  22355. * sysdeps/mach/nanosleep.c: Include <time.h>
  22356. (__nanosleep): Rename to __libc_nanosleep.
  22357. (__nanosleep): Add weak_alias.
  22358. (nanosleep): Update alias.
  22359. 2015-11-24 Joseph Myers <joseph@codesourcery.com>
  22360. * stdlib/strtod_nan.c: New file.
  22361. * stdlib/strtod_nan_double.h: Likewise.
  22362. * stdlib/strtod_nan_float.h: Likewise.
  22363. * stdlib/strtod_nan_main.c: Likewise.
  22364. * stdlib/strtod_nan_narrow.h: Likewise.
  22365. * stdlib/strtod_nan_wide.h: Likewise.
  22366. * stdlib/strtof_nan.c: Likewise.
  22367. * stdlib/strtold_nan.c: Likewise.
  22368. * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
  22369. * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
  22370. * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
  22371. * wcsmbs/wcstod_nan.c: Likewise.
  22372. * wcsmbs/wcstof_nan.c: Likewise.
  22373. * wcsmbs/wcstold_nan.c: Likewise.
  22374. * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
  22375. strtold_nan.
  22376. * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
  22377. wcstof_nan.
  22378. * include/stdlib.h (__strtof_nan): Declare and use
  22379. libc_hidden_proto.
  22380. (__strtod_nan): Likewise.
  22381. (__strtold_nan): Likewise.
  22382. (__wcstof_nan): Likewise.
  22383. (__wcstod_nan): Likewise.
  22384. (__wcstold_nan): Likewise.
  22385. * include/wchar.h (____wcstoull_l_internal): Declare.
  22386. * stdlib/strtod_l.c: Do not include <ieee754.h>.
  22387. (____strtoull_l_internal): Remove declaration.
  22388. (STRTOF_NAN): Define macro.
  22389. (SET_MANTISSA): Remove macro.
  22390. (STRTOULL): Likewise.
  22391. (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
  22392. * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
  22393. (STRTOF_NAN): Define macro.
  22394. (SET_MANTISSA): Remove macro.
  22395. * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
  22396. (SET_MANTISSA): Remove macro.
  22397. * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
  22398. macro.
  22399. (SET_MANTISSA): Remove macro.
  22400. * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
  22401. macro.
  22402. (SET_MANTISSA): Remove macro.
  22403. * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
  22404. (SET_MANTISSA): Remove macro.
  22405. * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
  22406. * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
  22407. * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
  22408. [BZ #19266]
  22409. * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
  22410. upper case and lower case letters inside NAN(), not using TOLOWER.
  22411. * stdlib/tst-strtod-nan-locale-main.c: New file.
  22412. * stdlib/tst-strtod-nan-locale.c: Likewise.
  22413. * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
  22414. [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
  22415. Depend on $(gen-locales).
  22416. ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
  22417. * wcsmbs/tst-wcstod-nan-locale.c: New file.
  22418. * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
  22419. [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
  22420. Depend on $(gen-locales).
  22421. ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
  22422. 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
  22423. * misc/tst-tsearch.c (TIMEOUT): Set to 10.
  22424. * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
  22425. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
  22426. __finitel, __isinfl, and __isnanl.
  22427. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
  22428. Likewise.
  22429. * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
  22430. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
  22431. __finitel.
  22432. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
  22433. Likewise.
  22434. * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
  22435. 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
  22436. * malloc/memusage.c (me): Remove redundant getenv call.
  22437. 2015-10-24 Florian Weimer <fweimer@redhat.com>
  22438. [BZ #19143]
  22439. [BZ #19164]
  22440. * nptl/check-cpuset.h: Remove.
  22441. * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
  22442. Remove CPU set size check.
  22443. * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
  22444. Likewise.
  22445. * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
  22446. * sysdeps/unix/sysv/linux/pthread_setaffinity.c
  22447. (__kernel_cpumask_size, __determine_cpumask_size): Remove.
  22448. (__pthread_setaffinity_new): Remove CPU set size check.
  22449. * sysdeps/unix/sysv/linux/sched_setaffinity.c
  22450. (__kernel_cpumask_size): Remove.
  22451. (__sched_setaffinity_new): Remove CPU set size check.
  22452. * manual/threads.texi (Default Thread Attributes): Remove stale
  22453. reference to check_cpuset_attr, determine_cpumask_size in comment.
  22454. * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
  22455. Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
  22456. [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
  22457. tst-thread-affinity-pthread2, tst-thread-affinity-sched.
  22458. * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
  22459. * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
  22460. * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
  22461. * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
  22462. * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
  22463. * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
  22464. * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
  22465. skeleton test file.
  22466. * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
  22467. tst-affinity-pid.
  22468. 2015-11-24 Florian Weimer <fweimer@redhat.com>
  22469. * scripts/update-abilist.sh: New file.
  22470. * Makefile (+subdir_targets): Add subdir_update-all-abi.
  22471. * Makerules (update-all-abi-%, update-all-abi)
  22472. (subdir_update-all-abi): New targets.
  22473. * elf/Makefile (update-all-abi): New target.
  22474. 2015-11-24 Florian Weimer <fweimer@redhat.com>
  22475. Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
  22476. * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
  22477. (__libc_lock_define_initialized): Use it.
  22478. * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
  22479. * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
  22480. * malloc/malloc.c (main_arena): Likewise.
  22481. * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
  22482. * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
  22483. 2015-11-23 Joseph Myers <joseph@codesourcery.com>
  22484. * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
  22485. (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
  22486. (PTRACE_O_SUSPEND_SECCOMP): Likewise.
  22487. (PTRACE_O_MASK): Update value.
  22488. * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
  22489. New value in enum __ptrace_setoptions.
  22490. (PTRACE_O_SUSPEND_SECCOMP): Likewise.
  22491. (PTRACE_O_MASK): Update value.
  22492. * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
  22493. (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
  22494. (PTRACE_O_MASK): Update value.
  22495. * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
  22496. (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
  22497. (PTRACE_O_MASK): Update value.
  22498. * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
  22499. (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
  22500. (PTRACE_O_MASK): Update value.
  22501. * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
  22502. New value in enum __ptrace_setoptions.
  22503. (PTRACE_O_MASK): Update value.
  22504. * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
  22505. New value in enum __ptrace_setoptions.
  22506. (PTRACE_O_SUSPEND_SECCOMP): Likewise.
  22507. (PTRACE_O_MASK): Update value.
  22508. * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
  22509. New macro.
  22510. (PACKET_AUXDATA): Likewise.
  22511. (PACKET_ORIGDEV): Likewise.
  22512. (PACKET_VERSION): Likewise.
  22513. (PACKET_HDRLEN): Likewise.
  22514. (PACKET_RESERVE): Likewise.
  22515. (PACKET_TX_RING): Likewise.
  22516. (PACKET_LOSS): Likewise.
  22517. (PACKET_VNET_HDR): Likewise.
  22518. (PACKET_TX_TIMESTAMP): Likewise.
  22519. (PACKET_TIMESTAMP): Likewise.
  22520. (PACKET_FANOUT): Likewise.
  22521. (PACKET_TX_HAS_OFF): Likewise.
  22522. (PACKET_QDISC_BYPASS): Likewise.
  22523. (PACKET_ROLLOVER_STATS): Likewise.
  22524. (PACKET_FANOUT_DATA): Likewise.
  22525. (PACKET_MR_UNICAST): Likewise.
  22526. [BZ #19242]
  22527. * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
  22528. (TOUPPER): Likewise.
  22529. * stdlib/tst-strtol-locale-main.c: New file.
  22530. * stdlib/tst-strtol-locale.c: Likewise.
  22531. * stdlib/Makefile (tests): Add tst-strtol-locale.
  22532. [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
  22533. [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
  22534. Depend on $(gen-locales).
  22535. * wcsmbs/tst-wcstol-locale.c: New file.
  22536. * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
  22537. [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
  22538. tr_TR.ISO-8859-9.
  22539. [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
  22540. Depend on $(gen-locales).
  22541. 2015-11-20 Roland McGrath <roland@hack.frob.com>
  22542. * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
  22543. __glibc_likely instead of __builtin_expect. After falling back to
  22544. dyncode_create in a non-ET_DYN case, use the allocate_code_data
  22545. system interface to register the code pages as occupied.
  22546. 2015-11-20 Joseph Myers <joseph@codesourcery.com>
  22547. * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
  22548. [!ARM_MATH_PRIVATE_H].
  22549. [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
  22550. * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
  22551. [!HPPA_MATH_PRIVATE_H].
  22552. [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
  22553. * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
  22554. to [!I386_MATH_PRIVATE_H].
  22555. [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
  22556. * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
  22557. Change guard to [!M68K_MATH_PRIVATE_H].
  22558. [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
  22559. * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
  22560. guard to [!MICROBLAZE_MATH_PRIVATE_H].
  22561. [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
  22562. macro.
  22563. * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
  22564. [!MIPS_MATH_PRIVATE_H].
  22565. [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
  22566. * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
  22567. [!NIO2_MATH_PRIVATE_H].
  22568. [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
  22569. * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
  22570. [!TILE_MATH_PRIVATE_H].
  22571. [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
  22572. [BZ #15421]
  22573. * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
  22574. initialize with 0 and define as weak alias of __signgam.
  22575. * include/math.h [!_ISOMAC] (__signgam): Declare.
  22576. * math/Makefile (libm-calls): Add w_lgamma_compat.
  22577. (tests): Add test-signgam-uchar, test-signgam-uchar-init,
  22578. test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
  22579. test-signgam-ullong-init.
  22580. (tests-static): Add test-signgam-uchar-static,
  22581. test-signgam-uchar-init-static, test-signgam-uint-static,
  22582. test-signgam-uint-init-static, test-signgam-ullong-static and
  22583. test-signgam-ullong-init-static.
  22584. (CFLAGS-test-signgam-uchar.c): New variable.
  22585. (CFLAGS-test-signgam-uchar-init.c): Likewise.
  22586. (CFLAGS-test-signgam-uchar-static.c): Likewise.
  22587. (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
  22588. (CFLAGS-test-signgam-uint.c): Likewise.
  22589. (CFLAGS-test-signgam-uint-init.c): Likewise.
  22590. (CFLAGS-test-signgam-uint-static.c): Likewise.
  22591. (CFLAGS-test-signgam-uint-init-static.c): Likewise.
  22592. (CFLAGS-test-signgam-ullong.c): Likewise.
  22593. (CFLAGS-test-signgam-ullong-init.c): Likewise.
  22594. (CFLAGS-test-signgam-ullong-static.c): Likewise.
  22595. (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
  22596. * math/Versions (libm): Add GLIBC_2.23.
  22597. * math/lgamma-compat.h: New file.
  22598. * math/test-signgam-main.c: Likewise.
  22599. * math/test-signgam-uchar-init-static.c: Likewise.
  22600. * math/test-signgam-uchar-init.c: Likewise.
  22601. * math/test-signgam-uchar-static.c: Likewise.
  22602. * math/test-signgam-uchar.c: Likewise.
  22603. * math/test-signgam-uint-init-static.c: Likewise.
  22604. * math/test-signgam-uint-init.c: Likewise.
  22605. * math/test-signgam-uint-static.c: Likewise.
  22606. * math/test-signgam-uint.c: Likewise.
  22607. * math/test-signgam-ullong-init-static.c: Likewise.
  22608. * math/test-signgam-ullong-init.c: Likewise.
  22609. * math/test-signgam-ullong-static.c: Likewise.
  22610. * math/test-signgam-ullong.c: Likewise.
  22611. * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
  22612. wrapper of w_lgamma_main.c.
  22613. * math/w_lgamma_compat.c: New file.
  22614. * math/w_lgamma_compatf.c: Likewise.
  22615. * math/w_lgamma_compatl.c: Likewise.
  22616. * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
  22617. <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
  22618. defining compatibility symbols.
  22619. (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
  22620. * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
  22621. wrapper of w_lgammaf_main.c.
  22622. * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
  22623. <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
  22624. defining compatibility symbols.
  22625. (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
  22626. * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
  22627. wrapper of w_lgammal_main.c.
  22628. * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
  22629. <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
  22630. defining compatibility symbols.
  22631. (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
  22632. * sysdeps/ia64/fpu/lgamma-compat.h: New file.
  22633. * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
  22634. * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
  22635. <lgamma-compat.h>.
  22636. (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
  22637. (__ieee754_gamma): Define as alias.
  22638. * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
  22639. * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
  22640. <lgamma-compat.h>.
  22641. (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
  22642. (__ieee754_gammaf): Define as alias.
  22643. * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
  22644. * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
  22645. <lgamma-compat.h>.
  22646. (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
  22647. (__ieee754_gammal): Define as alias.
  22648. * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
  22649. * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
  22650. <math/w_lgamma_compat.c>.
  22651. [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
  22652. Define as alias of __lgamma_compat and use in defining lgammal.
  22653. * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
  22654. * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
  22655. <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
  22656. (USE_AS_COMPAT): New macro.
  22657. (LGAMMA_OLD_VER): Undefine and redefine.
  22658. (lgammal): Do not define here.
  22659. (gammal): Only define here if [GAMMA_ALIAS].
  22660. * conform/linknamespace.pl (@whitelist): Remove signgam.
  22661. * sysdeps/nacl/libm.abilist: Update.
  22662. * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
  22663. * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
  22664. * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
  22665. * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
  22666. * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
  22667. * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
  22668. * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
  22669. * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
  22670. * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
  22671. * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
  22672. * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
  22673. * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
  22674. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
  22675. Likewise.
  22676. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
  22677. Likewise.
  22678. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
  22679. Likewise.
  22680. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
  22681. Likewise.
  22682. * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
  22683. * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
  22684. * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
  22685. * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
  22686. * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
  22687. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
  22688. Likewise.
  22689. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
  22690. Likewise.
  22691. * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
  22692. * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
  22693. * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
  22694. 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  22695. [BZ #16364]
  22696. * sysdeps/unix/sysv/linux/sleep.c: Remove file.
  22697. * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
  22698. 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
  22699. * sysdeps/s390/fpu/bits/mathinline.h:
  22700. Use __asm__ [__volatile__] instead of asm [volatile].
  22701. * sysdeps/s390/abort-instr.h: Likewise.
  22702. * sysdeps/s390/atomic-machine.h: Likewise.
  22703. * sysdeps/s390/bits/string.h: Likewise.
  22704. * sysdeps/s390/dl-tls.h: Likewise.
  22705. * sysdeps/s390/fpu/e_sqrt.c: Likewise.
  22706. * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
  22707. * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
  22708. * sysdeps/s390/fpu/fesetround.c: Likewise.
  22709. * sysdeps/s390/fpu/fpu_control.h: Likewise.
  22710. * sysdeps/s390/fpu/s_fma.c: Likewise.
  22711. * sysdeps/s390/fpu/s_fmaf.c: Likewise.
  22712. * sysdeps/s390/memusage.h: Likewise.
  22713. * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
  22714. * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
  22715. * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
  22716. * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
  22717. * sysdeps/s390/nptl/tls.h: Likewise.
  22718. * sysdeps/s390/s390-32/__longjmp.c: Likewise.
  22719. * sysdeps/s390/s390-32/backtrace.c: Likewise.
  22720. * sysdeps/s390/s390-32/dl-machine.h: Likewise.
  22721. * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
  22722. * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
  22723. * sysdeps/s390/s390-32/tls-macros.h: Likewise.
  22724. * sysdeps/s390/s390-64/__longjmp.c: Likewise.
  22725. * sysdeps/s390/s390-64/backtrace.c: Likewise.
  22726. * sysdeps/s390/s390-64/dl-machine.h: Likewise.
  22727. * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
  22728. * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
  22729. * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
  22730. * sysdeps/s390/s390-64/tls-macros.h: Likewise.
  22731. * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
  22732. * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
  22733. * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
  22734. * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
  22735. * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
  22736. * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
  22737. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
  22738. * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
  22739. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
  22740. * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
  22741. 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  22742. Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  22743. * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
  22744. Add lwarx hint, and use macro for acquire instruction.
  22745. * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
  22746. Likewise.
  22747. * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
  22748. * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
  22749. update to use new atomic macros.
  22750. 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  22751. * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
  22752. (__lll_trylock_elision): Fix setting of adapt_count.
  22753. * sysdeps/unix/sysv/linux/powerpc/htm.h
  22754. (_ABORT_PERSISTENT): Define to clarify persistent aborts.
  22755. (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
  22756. (_ABORT_SYSCALL): Renumber, and clarify definition.
  22757. (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
  22758. 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  22759. * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
  22760. after system headers to prevent MIN/MAX redefinition. Define
  22761. HAVE_ALLOCA to preserve builtin alloca usage.
  22762. 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
  22763. * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
  22764. static and don't set or restore rounding.
  22765. (__cos)[IN_SINCOS]: Likewise.
  22766. * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
  22767. (__sincos): Set and restore rounding mode. Remove check for infinite
  22768. or NaN input.
  22769. * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
  22770. * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
  22771. as used.
  22772. 2015-11-16 Florian Weimer <fweimer@redhat.com>
  22773. * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
  22774. 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
  22775. * config.make.in (have-glob-dat-reloc): New.
  22776. * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
  22777. target supports GLOB_DAT relocaton. AC_SUBST.
  22778. * configure: Regenerated.
  22779. * elf/Makefile (tests): Add tst-prelink.
  22780. (tests-special): Add $(objpfx)tst-prelink-cmp.out.
  22781. (tst-prelink-ENV): New.
  22782. ($(objpfx)tst-prelink-conflict.out): Likewise.
  22783. ($(objpfx)tst-prelink-cmp.out): Likewise.
  22784. * sysdeps/x86/tst-prelink.c: Moved to ...
  22785. * elf/tst-prelink.c: Here.
  22786. * sysdeps/x86/tst-prelink.exp: Moved to ...
  22787. * elf/tst-prelink.exp: Here.
  22788. * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
  22789. (tst-prelink-ENV): Removed.
  22790. ($(objpfx)tst-prelink-conflict.out): Likewise.
  22791. ($(objpfx)tst-prelink-cmp.out): Likewise.
  22792. (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
  22793. 2015-11-13 Joseph Myers <joseph@codesourcery.com>
  22794. [BZ #14551]
  22795. * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
  22796. (__mpn_construct_long_double): If high part overflows to infinity,
  22797. set errno and recompute overflowed result of the correct sign.
  22798. * sysdeps/ieee754/ldbl-128ibm/Makefile
  22799. [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
  22800. [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
  22801. $(libm).
  22802. * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
  22803. 2015-11-12 Joseph Myers <joseph@codesourcery.com>
  22804. [BZ #15479]
  22805. [BZ #19238]
  22806. * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
  22807. floating-point state after first operation on input. Restore full
  22808. state rather than just rounding mode.
  22809. * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
  22810. * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
  22811. * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
  22812. [BZ #19235]
  22813. * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
  22814. add 0.5 to integer arguments.
  22815. * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
  22816. Likewise.
  22817. (.LC2): New object.
  22818. 2015-11-11 Mike Frysinger <vapier@gentoo.org>
  22819. * scripts/pylintrc (reports): Set to no.
  22820. 2015-11-10 Roland McGrath <roland@hack.frob.com>
  22821. * elf/dl-load.c (open_verify): Take new argument FD.
  22822. Skip __open call if passed FD is not -1.
  22823. (_dl_map_object, open_path): Update callers.
  22824. * elf/dl-sysdep-open.h: New file.
  22825. * elf/dl-load.c: Include it.
  22826. (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
  22827. * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
  22828. * sysdeps/nacl/dl-sysdep-open.h: New file.
  22829. * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
  22830. from libc to rtld.
  22831. 2015-11-10 Joseph Myers <joseph@codesourcery.com>
  22832. [BZ #19228]
  22833. * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
  22834. and restore full floating-point state.
  22835. * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
  22836. Likewise.
  22837. * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
  22838. Likewise.
  22839. * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
  22840. Likewise.
  22841. * math/test-nearbyint-except-2.c: New file.
  22842. * math/Makefile (tests): Add test-nearbyint-except-2.
  22843. 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
  22844. [BZ #19178]
  22845. * sysdeps/x86/Makefile (tests): Add tst-prelink.
  22846. (tst-prelink-ENV): New.
  22847. ($(objpfx)tst-prelink-conflict.out): Likewise.
  22848. ($(objpfx)tst-prelink-cmp.out): Likewise.
  22849. (tests-special): Add $(objpfx)tst-prelink-cmp.out.
  22850. * sysdeps/x86/tst-prelink.c: New file.
  22851. * sysdeps/x86/tst-prelink.exp: Likewise.
  22852. 2015-11-10 Joseph Myers <joseph@codesourcery.com>
  22853. * math/auto-libm-test-in: Add another test of pow.
  22854. * math/auto-libm-test-out: Regenerated.
  22855. * math/libm-test.inc (pow_test_data): Add another test.
  22856. 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  22857. [BZ #19219]
  22858. * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
  22859. weak_alias to nearbyintl.
  22860. 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
  22861. * sysdeps/aarch64/bits/string.h: New file.
  22862. (_STRING_ARCH_unaligned): Define.
  22863. 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
  22864. * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
  22865. * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
  22866. * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
  22867. * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
  22868. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
  22869. 2015-11-09 Ulrich Drepper <drepper@gmail.com>
  22870. * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
  22871. for original name of the DSO. Add it to the name list of the DSO
  22872. if it is actually given.
  22873. (_dl_map_object): Keep track of whether an audit module rewrote
  22874. the file name. If yes, pass the original name to
  22875. _dl_map_object_from_fd in a new parameter, otherwise NULL. When
  22876. debugging is enabled, log the change of the file name.
  22877. * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
  22878. _dl_map_object_from_fd.
  22879. * elf/Makefile: Build and run tst-audit11 and tst-audit12.
  22880. * elf/tst-audit11.c: New file
  22881. * elf/tst-auditmod11.c: New file.
  22882. * elf/tst-audit11mod1.c: New file.
  22883. * elf/tst-audit11mod2.c: New file.
  22884. * elf/tst-audit11mod2.map: New file.
  22885. * elf/tst-audit12.c: New file
  22886. * elf/tst-auditmod12.c: New file.
  22887. * elf/tst-audit12mod1.c: New file.
  22888. * elf/tst-audit12mod2.c: New file.
  22889. * elf/tst-audit12mod2.map: New file.
  22890. * elf/tst-audit12mod3.c: New file.
  22891. 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
  22892. * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
  22893. Don't create weak aliases,
  22894. because versioned symbols are created later.
  22895. * sysdeps/s390/s390-32/setjmp.S
  22896. (setjmp, _setjmp): Remove weak and rename to an unique name
  22897. in SHARED case due to existing versioned symbols.
  22898. * sysdeps/s390/s390-64/setjmp.S: Likewise.
  22899. * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
  22900. (getcontext): Create weak alias only in non SHARED case.
  22901. * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
  22902. 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
  22903. * sysdeps/unix/sysv/linux/s390/kernel-features.h:
  22904. (__ASSUME_*_SYSCALL) Define new macros.
  22905. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
  22906. Remove socketcall syscalls.
  22907. * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
  22908. Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
  22909. * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
  22910. Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
  22911. * sysdeps/unix/sysv/linux/send.c (__libc_send):
  22912. Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
  22913. 2015-11-09 Florian Weimer <fweimer@redhat.com>
  22914. [BZ #12926]
  22915. Terminate process on invalid netlink response.
  22916. * sysdeps/unix/sysv/linux/netlinkaccess.h
  22917. (__netlink_assert_response): Declare.
  22918. * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
  22919. * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
  22920. (sysdep_routines): Add netlink_assert_response.
  22921. * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
  22922. __netlink_assert_response.
  22923. * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
  22924. * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
  22925. * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
  22926. __netlink_assert_response.
  22927. 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
  22928. [BZ #19178]
  22929. * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
  22930. (RTYPE_CLASS_PLT): Likewise.
  22931. (RTYPE_CLASS_COPY): Likewise.
  22932. (RTYPE_CLASS_TLS): Likewise.
  22933. (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
  22934. to set relocation type class for DL_DEBUG_PRELINK. Keep only
  22935. ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
  22936. DL_DEBUG_PRELINK.
  22937. 2015-11-06 Joseph Myers <joseph@codesourcery.com>
  22938. * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
  22939. calls with argument -0.5.
  22940. * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
  22941. * configure.ac (libc_cv_z_nodelete): Remove configure test.
  22942. (libc_cv_z_nodlopen): Likewise.
  22943. (libc_cv_z_initfirst): Likewise.
  22944. * configure: Regenerated.
  22945. 2015-11-06 Florian Weimer <fweimer@redhat.com>
  22946. Simplify abilist format to be line-based.
  22947. * scripts/abilist.awk: Collect descriptors in the descs variable.
  22948. (emit): Write descs variable and sort it
  22949. externally, with sort.
  22950. * sysdeps/**/*.abilist: Convert to new format.
  22951. 2015-11-06 Mark Wielaard <mjw@redhat.com>
  22952. [BZ #11460]
  22953. * io/Makefile (routines): Add fts64.
  22954. (tests): Add tst-fts and tst-fts-lfs.
  22955. (CFLAGS-fts64.c): New.
  22956. * io/Versions (GLIBC_2.23): New.
  22957. * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
  22958. function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
  22959. FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
  22960. FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
  22961. * io/fts.h (FTS64): New if _USE_LARGEFILE64.
  22962. (FTSENT64): Likewise.
  22963. (fts64_children): Likewise.
  22964. (fts64_close): Likewise.
  22965. (fts64_open): Likewise.
  22966. (fts64_read): Likewise.
  22967. (fts64_set): Likewise.
  22968. * io/fts64.c: New file.
  22969. * io/tst-fts.c: New test.
  22970. * io/tst-fts-lfs.c: Likewise.
  22971. * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
  22972. GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
  22973. fts64_set.
  22974. * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
  22975. * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
  22976. * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
  22977. * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
  22978. * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
  22979. * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
  22980. * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
  22981. * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
  22982. * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
  22983. * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
  22984. * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
  22985. * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
  22986. * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
  22987. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
  22988. Likewise.
  22989. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
  22990. Likewise.
  22991. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
  22992. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
  22993. * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
  22994. * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
  22995. * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
  22996. * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
  22997. * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
  22998. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
  22999. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
  23000. * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
  23001. * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
  23002. * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
  23003. * sysdeps/wordsize-64/fts.c: New file.
  23004. * sysdeps/wordsize-64/fts64.c: Likewise.
  23005. * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
  23006. * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
  23007. * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
  23008. * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
  23009. 2015-11-05 Joseph Myers <joseph@codesourcery.com>
  23010. * math/libm-test.inc (NON_FINITE): New macro.
  23011. (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
  23012. * math/gen-libm-test.pl (show_exceptions): Add argument
  23013. $non_finite.
  23014. (parse_args): Update call to show_exceptions.
  23015. * math/test-math-finite.h: New file.
  23016. * math/test-math-no-finite.h: Likewise.
  23017. * math/test-double-finite.c: Likewise.
  23018. * math/test-float-finite.c: Likewise.
  23019. * math/test-ldouble-finite.c: Likewise.
  23020. * math/test-double.c: Include "test-math-no-finite.h".
  23021. * math/test-float.c: Include "test-math-no-finite.h".
  23022. * math/test-ldouble.c: Include "test-math-no-finite.h".
  23023. * math/test-math-inline.h (TEST_FINITE): New macro.
  23024. * math/test-math-vector.h (TEST_FINITE): Likewise.
  23025. * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
  23026. (libm-tests): Add test-float-finite and test-double-finite.
  23027. ($(objpfx)test-float-finite.o): New dependency on
  23028. $(objpfx)libm-test.stmp.
  23029. ($(objpfx)test-double-finite.o): Likewise.
  23030. ($(objpfx)test-ldouble-finite.o): Likewise.
  23031. (libm-test-no-inline-cflags): New variable.
  23032. (libm-test-finite-cflags): Likewise.
  23033. (CFLAGS-test-float-finite.c): Likewise.
  23034. (CFLAGS-test-double-finite.c): Likewise.
  23035. (CFLAGS-test-ldouble-finite.c): Likewise.
  23036. (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
  23037. (CFLAGS-test-double.c): Likewise.
  23038. (CFLAGS-test-ldouble.c): Likewise.
  23039. 2015-11-05 Roland McGrath <roland@hack.frob.com>
  23040. * io/fcntl.c (__fcntl): Add ... to prototype.
  23041. * misc/ioctl.c (__ioctl): Likewise.
  23042. * misc/syscall.c (syscall): Likewise.
  23043. 2015-11-05 Joseph Myers <joseph@codesourcery.com>
  23044. * scripts/list-fixed-bugs.py: New file.
  23045. [BZ #19213]
  23046. * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
  23047. returned for argument 1.
  23048. * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
  23049. * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
  23050. * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
  23051. * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
  23052. * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
  23053. * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
  23054. [BZ #19211]
  23055. * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
  23056. __USE_XOPEN], not if [!__USE_ISOC99].
  23057. (lgammaf): Likewise.
  23058. (lgammal): Likewise.
  23059. (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
  23060. (gammaf): Likewise.
  23061. (gammal): Likewise.
  23062. * math/test-signgam-finite-c11.c: New file.
  23063. * math/test-signgam-finite-c99.c: Likewise.
  23064. * math/test-signgam-finite.c: Likewise.
  23065. * math/Makefile (tests): Add test-signgam-finite,
  23066. test-signgam-finite-c99 and test-signgam-finite-c11.
  23067. (CFLAGS-test-signgam-finite.c): New variable.
  23068. (CFLAGS-test-signgam-finite-c99.c): Likewise.
  23069. (CFLAGS-test-signgam-finite-c11.c): Likewise.
  23070. [BZ #19212]
  23071. * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
  23072. conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
  23073. 500].
  23074. [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
  23075. _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
  23076. [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
  23077. _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
  23078. [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
  23079. _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
  23080. [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
  23081. _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
  23082. [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
  23083. _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
  23084. [BZ #19209]
  23085. * math/bits/math-finite.h (ldexp): Remove declaration.
  23086. (ldexpf): Likewise.
  23087. (ldexpl): Likewise.
  23088. [BZ #19205]
  23089. * math/bits/math-finite.h (acosf): Condition declaration on
  23090. [__USE_ISOC99].
  23091. (acosl): Likewise.
  23092. (acoshf): Likewise.
  23093. (acoshl): Likewise.
  23094. (asinf): Likewise.
  23095. (asinl): Likewise.
  23096. (atan2f): Likewise.
  23097. (atan2l): Likewise.
  23098. (atanhf): Likewise.
  23099. (atanhl): Likewise.
  23100. (coshf): Likewise.
  23101. (coshl): Likewise.
  23102. (expf): Likewise.
  23103. (expl): Likewise.
  23104. (fmodf): Likewise.
  23105. (fmodl): Likewise.
  23106. (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
  23107. (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
  23108. (j0l): Likewise.
  23109. (y0f): Likewise.
  23110. (y0l): Likewise.
  23111. (j1f): Likewise.
  23112. (j1l): Likewise.
  23113. (y1f): Likewise.
  23114. (y1l): Likewise.
  23115. (jnf): Likewise.
  23116. (jnl): Likewise.
  23117. (ynf): Likewise.
  23118. (ynl): Likewise.
  23119. (lgammaf_r): Condition declaration on [__USE_ISOC99].
  23120. (lgammal_r): Likewise.
  23121. (__lgamma_r_finite): New declaration.
  23122. (__lgammaf_r_finite): Likewise.
  23123. (__lgammal_r_finite): Likewise.
  23124. (lgamma): Use __lgamma_r_finite.
  23125. (lgammaf): Condition definition on [__USE_ISOC99]. Use
  23126. __lgammaf_r_finite.
  23127. (lgammal): Condition definition on [__USE_ISOC99]. Use
  23128. __lgammal_r_finite.
  23129. (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
  23130. __lgamma_r_finite.
  23131. (gammaf): Condition definition on [__USE_ISOC99]. Use
  23132. __lgammaf_r_finite.
  23133. (gammal): Condition definition on [__USE_ISOC99]. Use
  23134. __lgammal_r_finite.
  23135. (logf): Condition declaration on [__USE_ISOC99].
  23136. (logl): Likewise.
  23137. (log10f): Likewise.
  23138. (log10l): Likewise.
  23139. (ldexpf): Likewise.
  23140. (ldexpl): Likewise.
  23141. (powf): Likewise.
  23142. (powl): Likewise.
  23143. (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
  23144. __USE_ISOC99].
  23145. (remainderf): Condition declaration on [__USE_ISOC99].
  23146. (remainderl): Likewise.
  23147. (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
  23148. (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
  23149. (scalbl): Likewise.
  23150. (sinhf): Condition declaration on [__USE_ISOC99].
  23151. (sinhl): Likewise.
  23152. (sqrtf): Likewise.
  23153. (sqrtl): Likewise.
  23154. 2015-11-04 Joseph Myers <joseph@codesourcery.com>
  23155. * sysdeps/arm/atomic-machine.h
  23156. [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
  23157. Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
  23158. [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
  23159. Remove conditional code.
  23160. [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
  23161. Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
  23162. * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
  23163. Change conditional to [__ASSEMBLER__].
  23164. [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
  23165. [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
  23166. [!__ASSEMBLER__].
  23167. [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
  23168. code.
  23169. * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
  23170. conditional macro definitions.
  23171. (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
  23172. (__arch_compare_and_exchange_val_16_acq): Likewise.
  23173. (__arch_compare_and_exchange_val_32_acq): Likewise.
  23174. (atomic_exchange_and_add): Likewise.
  23175. (atomic_add): Likewise.
  23176. (atomic_add_negative): Likewise.
  23177. (atomic_add_zero): Likewise.
  23178. (atomic_bit_set): Likewise.
  23179. (atomic_bit_test_set): Likewise.
  23180. * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
  23181. code unconditional.
  23182. [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
  23183. * math/test-math-errno.h: New file.
  23184. * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
  23185. empty.
  23186. (TEST_ERRNO): New macro.
  23187. (TEST_EXCEPTIONS): Likewise.
  23188. * math/test-math-no-inline.h (TEST_INLINE): Likewise.
  23189. (TEST_EXCEPTIONS): Likewise.
  23190. * math/test-math-vector.h (TEST_ERRNO): Likewise.
  23191. * math/test-double.c: Include "test-math-errno.h".
  23192. * math/test-float.c: Likewise.
  23193. * math/test-ldouble.c: Likewise.
  23194. * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
  23195. code unconditional.
  23196. (test_exceptions): Only run code if TEST_EXCEPTIONS.
  23197. (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
  23198. unconditional.
  23199. (test_errno): Only run code if TEST_ERRNO.
  23200. (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
  23201. 2015-11-04 Florian Weimer <fweimer@redhat.com>
  23202. * nptl/tst-once5.cc: Remove attribution.
  23203. 2015-11-04 Joseph Myers <joseph@codesourcery.com>
  23204. * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
  23205. sqrt, tan, tanh, y0, y1 and yn.
  23206. * math/auto-libm-test-out: Regenerated.
  23207. * math/libm-test.inc (scalb_test_data): Add more tests.
  23208. (scalbn_test_data): Likewise.
  23209. (scalbln_test_data): Likewise.
  23210. (signbit_test_data): Likewise.
  23211. (sin_test_data): Likewise.
  23212. (sincos_test_data): Likewise.
  23213. (sinh_test_data): Likewise.
  23214. (sqrt_test_data): Likewise.
  23215. (tan_test_data): Likewise.
  23216. (tanh_test_data): Likewise.
  23217. (tgamma_test_data): Likewise.
  23218. (y0_test_data): Likewise.
  23219. (y1_test_data): Likewise.
  23220. (yn_test_data): Likewise.
  23221. (significand_test_data): Likewise.
  23222. * sysdeps/i386/fpu/libm-test-ulps: Update.
  23223. 2015-11-03 David Kastrup <dak@gnu.org>
  23224. [BZ #18604]
  23225. * assert/assert.h (assert): Don't macro-expand failed assertion
  23226. expression in error message.
  23227. * malloc/malloc.c (assert): Likewise.
  23228. 2015-11-03 Joseph Myers <joseph@codesourcery.com>
  23229. * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
  23230. test.
  23231. * configure: Regenerated.
  23232. 2015-11-02 Joseph Myers <joseph@codesourcery.com>
  23233. * math/libm-test.inc (modf_test_data): Add more tests.
  23234. (nearbyint_test_data): Likewise.
  23235. (nextafter_test_data): Likewise.
  23236. (nexttoward_test_data): Likewise.
  23237. (pow_test_data): Likewise.
  23238. (remainder_test_data): Likewise.
  23239. (remquo_test_data): Likewise.
  23240. (rint_test_data): Likewise.
  23241. [BZ #19201]
  23242. * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
  23243. Check for zero remainder in case of large exponents and ensure
  23244. correct sign of result in that case.
  23245. * math/libm-test.inc (remainder_test_data): Add more tests.
  23246. [BZ #6799]
  23247. * math/s_nextafter.c: Include <errno.h>.
  23248. (__nextafter): Set errno on overflow and underflow.
  23249. * math/s_nexttowardf.c: Include <errno.h>.
  23250. (__nexttowardf): Set errno on overflow and underflow.
  23251. * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
  23252. (__nextafterl): Set errno on overflow and underflow.
  23253. * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
  23254. (__nexttoward): Set errno on overflow and underflow.
  23255. * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
  23256. (__nexttowardf): Set errno on overflow and underflow.
  23257. * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
  23258. (__nextafterf): Set errno on overflow and underflow.
  23259. * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
  23260. (__nextafterl): Set errno on overflow and underflow.
  23261. * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
  23262. (__nexttoward): Set errno on overflow and underflow.
  23263. * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
  23264. (__nexttowardf): Set errno on overflow and underflow.
  23265. * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
  23266. (__nextafterl): Set errno on overflow and underflow.
  23267. * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
  23268. (__nexttoward): Set errno on overflow and underflow.
  23269. * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
  23270. (__nexttowardf): Set errno on overflow and underflow.
  23271. * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
  23272. (__nexttoward): Set errno on overflow and underflow.
  23273. * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
  23274. (__nexttowardf): Set errno on overflow and underflow.
  23275. * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
  23276. (__nldbl_nexttowardf): Set errno on overflow and underflow.
  23277. * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
  23278. (__nextafterl): Set errno on overflow and underflow.
  23279. * math/libm-test.inc (nextafter_test_data): Do not allow errno
  23280. setting to be missing on overflow. Add more tests.
  23281. (nexttoward_test_data): Likewise.
  23282. * configure.ac (libc_cv_initfini_array): Remove configure test.
  23283. * configure: Regenerated.
  23284. 2015-10-29 Joseph Myers <joseph@codesourcery.com>
  23285. [BZ #19189]
  23286. * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
  23287. non-finite argument handle arguments with negative sign.
  23288. * math/libm-test.inc (j0_test_data): Do not test sign of zero
  23289. result from infinite argument.
  23290. (j1_test_data): Likewise.
  23291. (jn_test_data): Likewise.
  23292. (y0_test_data): Likewise.
  23293. (y1_test_data): Likewise.
  23294. (yn_test_data): Likewise.
  23295. [BZ #16171]
  23296. * math/w_remainder.c (drem): Define as weak alias of __remainder.
  23297. [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
  23298. * math/w_remainderf.c (dremf): Define as weak alias of
  23299. __remainderf.
  23300. * math/w_remainderl.c (dreml): Define as weak alias of
  23301. __remainderl.
  23302. * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
  23303. __remainder.
  23304. * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
  23305. __remainderf.
  23306. * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
  23307. __remainderl.
  23308. * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
  23309. weak alias of remainderl.
  23310. * sysdeps/ieee754/ldbl-opt/w_remainder.c
  23311. [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
  23312. alias of __remainder.
  23313. [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
  23314. * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
  23315. strong alias of __remainderl.
  23316. (dreml): Use long_double_symbol.
  23317. * math/Makefile (libm-calls): Remove w_drem.
  23318. * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
  23319. (CFLAGS-nldbl-drem.c): Remove variable.
  23320. (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
  23321. * math/w_drem.c: Remove file.
  23322. * math/w_dremf.c: Likewise.
  23323. * math/w_dreml.c: Likewise.
  23324. * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
  23325. * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
  23326. * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
  23327. * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
  23328. * sysdeps/i386/configure: Regenerated.
  23329. * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
  23330. * sysdeps/x86_64/configure: Regenerated.
  23331. * configure.ac (libc_cv_asm_protected_directive): Remove configure
  23332. test.
  23333. (libc_cv_visibility_attribute): Likewise.
  23334. (libc_cv_protected_data): Test unconditionally.
  23335. (libc_cv_broken_visibility_attribute): Remove configure test.
  23336. (libc_cv_have_sdata_section): Test unconditionally.
  23337. * configure: Regenerated.
  23338. * include/libc-internal.h (libc_max_align_t): Remove typedef.
  23339. * include/scratch_buffer.h: Include <stddef.h> instead of
  23340. <libc-internal.h>.
  23341. (struct scratch_buffer): Use max_align_t instead of
  23342. libc_max_align_t.
  23343. 2015-10-29 Florian Weimer <fweimer@redhat.com>
  23344. * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
  23345. instead of extend_alloca. Change control flow to avoid a goto.
  23346. Remove assert which is trivially always true.
  23347. 2015-10-28 Joseph Myers <joseph@codesourcery.com>
  23348. [BZ #16068]
  23349. * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
  23350. (FE_ALL_EXCEPT_X86): New macro.
  23351. (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
  23352. FE_ALL_EXCEPT. Ensure precision control is included in
  23353. floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
  23354. handle "denormal operand exception" and clear FZ and DAZ bits.
  23355. * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
  23356. (FE_ALL_EXCEPT_X86): New macro.
  23357. (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
  23358. FE_ALL_EXCEPT. Ensure precision control is included in
  23359. floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
  23360. handle "denormal operand exception" and clear FZ and DAZ bits.
  23361. * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
  23362. * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
  23363. * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
  23364. test-fenv-x87 and test-fenv-sse-2.
  23365. [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
  23366. * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
  23367. * math/test-double.h (BUILD_COMPLEX): New macro.
  23368. * math/test-float.h (BUILD_COMPLEX): Likewise.
  23369. * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
  23370. * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
  23371. DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
  23372. __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
  23373. * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
  23374. instead of DBL_DENORM_MIN in comment.
  23375. * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
  23376. LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
  23377. * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
  23378. (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
  23379. * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
  23380. LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
  23381. 2015-10-28 Florian Weimer <fweimer@redhat.com>
  23382. [BZ #19048]
  23383. * malloc/malloc.c (struct malloc_state): Update comment. Add
  23384. attached_threads member.
  23385. (main_arena): Initialize attached_threads.
  23386. * malloc/arena.c (list_lock): Update comment.
  23387. (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
  23388. (ptmalloc_unlock_all2): Reinitialize arena reference counts.
  23389. (deattach_arena): New function.
  23390. (_int_new_arena): Initialize arena reference count and deattach
  23391. replaced arena.
  23392. (get_free_list, reused_arena): Update reference count and deattach
  23393. replaced arena.
  23394. (arena_thread_freeres): Update arena reference count and only put
  23395. unreferenced arenas on the free list.
  23396. 2015-10-28 Joseph Myers <joseph@codesourcery.com>
  23397. [BZ #19181]
  23398. * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
  23399. SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
  23400. * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
  23401. * math/test-fenv-clear-main.c: New file.
  23402. * math/test-fenv-clear.c: Likewise.
  23403. * math/Makefile (tests): Add test-fenv-clear.
  23404. * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
  23405. * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
  23406. test-fenv-clear-sse.
  23407. [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
  23408. * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
  23409. DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
  23410. __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
  23411. 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
  23412. * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
  23413. static libc.
  23414. 2015-10-28 Joseph Myers <joseph@codesourcery.com>
  23415. * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
  23416. test.
  23417. * sysdeps/i386/configure: Regenerated.
  23418. * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
  23419. test.
  23420. * sysdeps/x86_64/configure: Regenerated.
  23421. * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
  23422. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  23423. memset-avx2 unconditionally instead of conditionally on
  23424. [$(config-cflags-avx2) = yes].
  23425. * sysdeps/x86_64/multiarch/ifunc-impl-list.c
  23426. (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
  23427. unconditional.
  23428. * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
  23429. * sysdeps/x86_64/multiarch/memset_chk.S
  23430. [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
  23431. to [IS_IN (libc) && SHARED].
  23432. 2015-10-27 Joseph Myers <joseph@codesourcery.com>
  23433. * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
  23434. configure test.
  23435. * sysdeps/arm/configure: Regenerated.
  23436. * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
  23437. Define variable if not already defined.
  23438. [BZ #17404]
  23439. * sysdeps/mips/atomic-machine.h
  23440. [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
  23441. Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
  23442. [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
  23443. * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
  23444. unconditional.
  23445. * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
  23446. [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
  23447. * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
  23448. unconditional.
  23449. [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
  23450. * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
  23451. unconditional.
  23452. [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
  23453. * stdlib/setenv.c
  23454. [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
  23455. code unconditional.
  23456. [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
  23457. Remove conditional code.
  23458. * sysdeps/ieee754/dbl-64/e_lgamma_r.c
  23459. (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
  23460. unconditional.
  23461. (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
  23462. code.
  23463. * sysdeps/ieee754/flt-32/e_lgammaf_r.c
  23464. (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
  23465. unconditional.
  23466. (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
  23467. code.
  23468. * sysdeps/ieee754/ldbl-128/k_tanl.c
  23469. (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
  23470. (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
  23471. * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
  23472. (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
  23473. (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
  23474. * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
  23475. (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
  23476. unconditional.
  23477. (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
  23478. code.
  23479. * sysdeps/ieee754/ldbl-96/k_tanl.c
  23480. (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
  23481. (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
  23482. * nptl/tst-initializers1-c11.c: New file.
  23483. * nptl/tst-initializers1-gnu11.c: Likewise.
  23484. * nptl/Makefile (tests): Add these new tests.
  23485. (CFLAGS-tst-initializers1-c11.c): New variable.
  23486. (CFLAGS-tst-initializers1-gnu11.c): Likewise.
  23487. * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
  23488. * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
  23489. instead of -std=gnu99.
  23490. * configure.ac (systemtap): Test with -std=gnu11 instead of
  23491. -std=gnu99.
  23492. * configure: Regenerated.
  23493. * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
  23494. in compilation command in comment.
  23495. * sysdeps/nptl/configure.ac: Remove file.
  23496. * sysdeps/nptl/configure: Remove generated file.
  23497. * configure.ac (libc_cv_forced_unwind): Do not substitute.
  23498. * configure: Regenerated.
  23499. * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
  23500. * config.make.in (have-forced-unwind): Remove variable.
  23501. * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
  23502. unconditional.
  23503. * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
  23504. * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
  23505. (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
  23506. * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
  23507. * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
  23508. unconditional.
  23509. 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  23510. [BZ #19174]
  23511. * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
  23512. .skip_lock_out_of_tbegin_retries.
  23513. * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
  23514. (__lll_lock_elision): Likewise, and respect a value of
  23515. try_tbegin <= 0.
  23516. 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
  23517. * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
  23518. statement.
  23519. 2015-10-27 Joseph Myers <joseph@codesourcery.com>
  23520. * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
  23521. variable.
  23522. (test-xfail-ISO11/stdalign.h/conform): Likewise.
  23523. (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
  23524. * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
  23525. of -std=c1x -D_ISOC11_SOURCE.
  23526. * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
  23527. * configure: Regenerated.
  23528. * manual/install.texi (Tools for Compilation): Document
  23529. requirement for GCC 4.7 or later.
  23530. * INSTALL: Regenerated.
  23531. 2015-10-27 Ludovic Courtès <ludo@gnu.org>
  23532. * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
  23533. on CNT to a conditional jump to 'puntdata'.
  23534. 2015-10-27 Joseph Myers <joseph@codesourcery.com>
  23535. * configure.ac (libc_cv_gcc___thread): Remove configure test.
  23536. (libc_cv_gcc_tls_model_attr): Likewise.
  23537. * configure: Regenerated.
  23538. * configure.ac (libc_cv_need_minus_P): Remove configure test.
  23539. * configure: Regenerated.
  23540. * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
  23541. 2015-10-26 Joseph Myers <joseph@codesourcery.com>
  23542. * configure.ac (old_glibc_headers): Remove configure test.
  23543. * configure: Regenerated.
  23544. * config.make.in (old-glibc-headers): Remove variable.
  23545. * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
  23546. (install): Remove dependency on remove-old-headers.
  23547. (headers2_0): Remove variable.
  23548. (remove-old-headers): Remove rule.
  23549. * configure.ac (libc_cv_dot_text): Remove configure test.
  23550. (libc_cv_asm_set_directive): Use .text instead of
  23551. ${libc_cv_dot_text} in configure test.
  23552. * configure: Regenerated.
  23553. 2015-10-26 Florian Weimer <fweimer@redhat.com>
  23554. [BZ #19168]
  23555. * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
  23556. 2015-10-26 Florian Weimer <fweimer@redhat.com>
  23557. * configure.ac (CXX): Clear the variable if the C++ toolchain does
  23558. not support static linking.
  23559. * configure: Regenerate.
  23560. 2015-10-23 Joseph Myers <joseph@codesourcery.com>
  23561. * math/libm-test.inc (check_float_internal): Do not special-case
  23562. errors up to 0.5 ulp.
  23563. * math/auto-libm-test-in: Add more tests of log, log10, log1p and
  23564. log2.
  23565. * math/auto-libm-test-out: Regenerated.
  23566. * math/libm-test.inc (MAX_EXP): New macro.
  23567. (ilogb_test_data): Add more tests.
  23568. (isfinite_test_data): Likewise.
  23569. (isgreater_test_data): Likewise.
  23570. (isgreaterequal_test_data): Likewise.
  23571. (isinf_test_data): Likewise.
  23572. (isless_test_data): Likewise.
  23573. (islessequal_test_data): Likewise.
  23574. (islessgreater_test_data): Likewise.
  23575. (isnan_test_data): Likewise.
  23576. (isnormal_test_data): Likewise.
  23577. (issignaling_test_data): Likewise.
  23578. (isunordered_test_data): Likewise.
  23579. (j0_test_data): Likewise.
  23580. (j1_test_data): Likewise.
  23581. (jn_test_data): Likewise.
  23582. (lgamma_test_data): Likewise.
  23583. (log_test_data): Likewise.
  23584. (log10_test_data): Likewise.
  23585. (log1p_test_data): Likewise.
  23586. (log2_test_data): Likewise.
  23587. (logb_test_data): Likewise.
  23588. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
  23589. [BZ #18611]
  23590. * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
  23591. avoid excess range and precision on underflow.
  23592. * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
  23593. * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
  23594. * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
  23595. * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
  23596. underflow.
  23597. * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
  23598. * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
  23599. * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
  23600. * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
  23601. * math/auto-libm-test-in: Do not allow missing errno setting for
  23602. tests of j1 and jn.
  23603. * math/auto-libm-test-out: Regenerated.
  23604. 2015-10-22 Joseph Myers <joseph@codesourcery.com>
  23605. [BZ #15491]
  23606. * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
  23607. floating-point environment instead of clearing all exceptions.
  23608. * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
  23609. * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
  23610. merging in "invalid" exceptions from frndint.
  23611. * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
  23612. * math/test-nearbyint-except.c: New file.
  23613. * math/Makefile (tests): Add test-nearbyint-except.
  23614. 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
  23615. * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
  23616. * sysdeps/tile/libm-test-ulps: Regenerated.
  23617. 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  23618. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
  23619. (__NR_sync_file_range2): Assume it is always defined.
  23620. * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
  23621. (__NR_sync_file_range): Assume it is always defined.
  23622. 2015-10-22 Andreas Schwab <schwab@suse.de>
  23623. * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
  23624. INTERNAL_SYSCALL_ERRNO.
  23625. * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
  23626. * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
  23627. * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
  23628. * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
  23629. Likewise.
  23630. * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
  23631. 2015-10-21 Joseph Myers <joseph@codesourcery.com>
  23632. * io/tst-fcntl.c (fd): New static variable.
  23633. (do_prepare): Open temporary file here....
  23634. (do_test): ...not here.
  23635. * io/ftwtest-sh: Also trap on exit to remove temporary files.
  23636. 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
  23637. * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
  23638. __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
  23639. * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
  23640. Moved before "#ifdef __ASSEMBLER__".
  23641. 2015-10-21 Joseph Myers <joseph@codesourcery.com>
  23642. [BZ #19156]
  23643. * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
  23644. arguments very close to 0.
  23645. 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
  23646. * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
  23647. (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
  23648. 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
  23649. * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
  23650. New. Defined for GCC 5 and above when not compiling for
  23651. profiling.
  23652. Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
  23653. * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
  23654. Renamed to ...
  23655. (CFLAGS-epoll_pwait.o): This.
  23656. (CFLAGS-mmap.c): Renamed to ...
  23657. (CFLAGS-mmap.o): This.
  23658. (CFLAGS-mmap64.c): Renamed to ...
  23659. (CFLAGS-mmap64.o): This.
  23660. (CFLAGS-epoll_pwait.os): New.
  23661. (CFLAGS-mmap.os): Likewise.
  23662. (CFLAGS-mmap64.os): Likewise.
  23663. (CFLAGS-semtimedop.os): Likewise.
  23664. (CFLAGS-semtimedop.c): Renamed to ...
  23665. (CFLAGS-semtimedop.o): This.
  23666. 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  23667. * debug/tst-backtrace4.c (handle_signal): Fix a comment and
  23668. warning message.
  23669. 2015-10-21 Joseph Myers <joseph@codesourcery.com>
  23670. * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
  23671. * Makefile ($(objpfx)c++-types-check.out): Filter out
  23672. $(+gccwarn-c) instead of -Wstrict-prototypes.
  23673. * io/fts.c (fts_open): Convert to prototype-style function
  23674. definition.
  23675. * malloc/mcheck.c (mcheck): Likewise.
  23676. (mcheck_pedantic): Likewise.
  23677. * posix/regexec.c (re_search_2_stub): Likewise. Use
  23678. internal_function.
  23679. (re_search_internal): Likewise.
  23680. * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
  23681. prototype-style function definition.
  23682. * sunrpc/clnt_udp.c (clntudp_call): Likewise.
  23683. * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
  23684. * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
  23685. (xdr_utmpptr): Likewise.
  23686. (xdr_utmparr): Likewise.
  23687. (xdr_utmpidle): Likewise.
  23688. (xdr_utmpidleptr): Likewise.
  23689. (xdr_utmpidlearr): Likewise.
  23690. * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
  23691. log, log10 and log2.
  23692. * math/auto-libm-test-out: Regenerated.
  23693. * math/libm-test.inc (fmod_test_data): Add more tests.
  23694. (fpclassify_test_data): Likewise.
  23695. (frexp_test_data): Likewise.
  23696. (hypot_test_data): Likewise.
  23697. (ilogb_test_data): Likewise.
  23698. 2015-10-20 Joseph Myers <joseph@codesourcery.com>
  23699. * debug/fortify_fail.c (__fortify_fail): Convert to
  23700. prototype-style function definition. Use internal_function.
  23701. * libio/genops.c (save_for_backup): Convert to prototype-style
  23702. function definition.
  23703. * libio/wgenops.c (save_for_wbackup): Likewise.
  23704. * login/grantpt.c (grantpt): Likewise.
  23705. * login/ptsname.c (ptsname): Likewise.
  23706. (__ptsname_r): Likewise.
  23707. * login/unlockpt.c (unlockpt): Likewise.
  23708. * mach/msgserver.c (__mach_msg_server): Likewise.
  23709. * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
  23710. (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
  23711. (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
  23712. * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
  23713. (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
  23714. * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
  23715. * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
  23716. Likewise.
  23717. * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
  23718. internal_function.
  23719. * nptl/pthread_atfork.c (__pthread_atfork): Convert to
  23720. prototype-style function definition.
  23721. * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
  23722. [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
  23723. (__pthread_create_2_0): Likewise.
  23724. * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
  23725. * nptl/register-atfork.c (__register_atfork): Likewise.
  23726. * posix/glob.c (glob): Likewise.
  23727. * posix/regcomp.c (re_comp): Likewise.
  23728. * posix/regexec.c (re_exec): Likewise.
  23729. * stdlib/add_n.c [__STDC__]: Make code unconditional.
  23730. [!__STDC__]: Remove conditional code.
  23731. * stdlib/cmp.c [__STDC__]: Make code unconditional.
  23732. [!__STDC__]: Remove conditional code.
  23733. * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
  23734. [!__STDC__]: Remove conditional code.
  23735. * stdlib/divrem.c [__STDC__]: Make code unconditional.
  23736. [!__STDC__]: Remove conditional code.
  23737. * stdlib/lshift.c [__STDC__]: Make code unconditional.
  23738. [!__STDC__]: Remove conditional code.
  23739. * stdlib/mod_1.c [__STDC__]: Make code unconditional.
  23740. [!__STDC__]: Remove conditional code.
  23741. * stdlib/mul.c [__STDC__]: Make code unconditional.
  23742. [!__STDC__]: Remove conditional code.
  23743. * stdlib/mul_n.c [__STDC__]: Make code unconditional.
  23744. [!__STDC__]: Remove conditional code.
  23745. * stdlib/rshift.c [__STDC__]: Make code unconditional.
  23746. [!__STDC__]: Remove conditional code.
  23747. * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
  23748. function definition.
  23749. (STRTOF): Likewise.
  23750. * stdlib/strtod_l.c (__STRTOF): Likewise.
  23751. * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
  23752. * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
  23753. (__strtol_l): Likewise.
  23754. * stdlib/sub_n.c [__STDC__]: Make code unconditional.
  23755. [!__STDC__]: Remove conditional code.
  23756. * string/memrchr.c (MEMRCHR): Convert to prototype-style function
  23757. definition.
  23758. * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
  23759. [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
  23760. type.
  23761. (__strcasecmp): Convert to prototype-style function definition.
  23762. * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
  23763. [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
  23764. type.
  23765. (__strncasecmp): Convert to prototype-style function definition.
  23766. * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
  23767. * sunrpc/xdr.c (xdr_union): Likewise.
  23768. * sunrpc/xdr_array.c (xdr_array): Likewise.
  23769. * sunrpc/xdr_ref.c (xdr_reference): Likewise.
  23770. * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
  23771. * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
  23772. Likewise.
  23773. * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
  23774. Likewise.
  23775. * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
  23776. * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
  23777. Likewise.
  23778. * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
  23779. (LOCALE_PARAM_PROTO): Likewise.
  23780. [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
  23781. argument type.
  23782. (ut_argument_spec): Remove macro.
  23783. (ut_argument_spec_iso): Rename to ut_argument_spec.
  23784. (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
  23785. prototype-style function definition.
  23786. (memcpy_uppcase): Likewise.
  23787. (__strftime_internal): Likewise.
  23788. (my_strftime): Likewise.
  23789. * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
  23790. (LOCALE_PARAM_DECL): Likewise.
  23791. [_LIBC] (LOCALE_PARAM): Include argument type.
  23792. (__strptime_internal): Convert to prototype-style function
  23793. definition.
  23794. (strptime): Likewise.
  23795. * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
  23796. [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
  23797. type.
  23798. (__wcscasecmp): Convert to prototype-style function definition.
  23799. * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
  23800. [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
  23801. type.
  23802. (__wcsncasecmp): Convert to prototype-style function definition.
  23803. * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
  23804. function definition.
  23805. * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
  23806. * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
  23807. * debug/backtracesyms.c (__backtrace_symbols): Likewise.
  23808. * elf/dl-minimal.c (_itoa): Likewise.
  23809. * hurd/hurdmalloc.c (malloc): Likewise.
  23810. (free): Likewise.
  23811. (realloc): Likewise.
  23812. * inet/inet6_option.c (inet6_option_space): Likewise.
  23813. (inet6_option_init): Likewise.
  23814. (inet6_option_append): Likewise.
  23815. (inet6_option_alloc): Likewise.
  23816. (inet6_option_next): Likewise.
  23817. (inet6_option_find): Likewise.
  23818. * io/ftw.c (FTW_NAME): Likewise.
  23819. (NFTW_NAME): Likewise.
  23820. (NFTW_NEW_NAME): Likewise.
  23821. (NFTW_OLD_NAME): Likewise.
  23822. * libio/iofwide.c (_IO_fwide): Likewise.
  23823. * libio/strops.c (_IO_str_init_static_internal): Likewise.
  23824. (_IO_str_init_static): Likewise.
  23825. (_IO_str_init_readonly): Likewise.
  23826. (_IO_str_overflow): Likewise.
  23827. (_IO_str_underflow): Likewise.
  23828. (_IO_str_count): Likewise.
  23829. (_IO_str_seekoff): Likewise.
  23830. (_IO_str_pbackfail): Likewise.
  23831. (_IO_str_finish): Likewise.
  23832. * libio/wstrops.c (_IO_wstr_init_static): Likewise.
  23833. (_IO_wstr_overflow): Likewise.
  23834. (_IO_wstr_underflow): Likewise.
  23835. (_IO_wstr_count): Likewise.
  23836. (_IO_wstr_seekoff): Likewise.
  23837. (_IO_wstr_pbackfail): Likewise.
  23838. (_IO_wstr_finish): Likewise.
  23839. * locale/programs/localedef.c (normalize_codeset): Likewise.
  23840. * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
  23841. (add_locales_to_archive): Likewise.
  23842. (delete_locales_from_archive): Likewise.
  23843. * malloc/malloc.c (__libc_mallinfo): Likewise.
  23844. * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
  23845. * misc/tsearch.c (__tfind): Likewise.
  23846. * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
  23847. * nptl/pthread_attr_getdetachstate.c
  23848. (__pthread_attr_getdetachstate): Likewise.
  23849. * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
  23850. Likewise.
  23851. * nptl/pthread_attr_getinheritsched.c
  23852. (__pthread_attr_getinheritsched): Likewise.
  23853. * nptl/pthread_attr_getschedparam.c
  23854. (__pthread_attr_getschedparam): Likewise.
  23855. * nptl/pthread_attr_getschedpolicy.c
  23856. (__pthread_attr_getschedpolicy): Likewise.
  23857. * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
  23858. Likewise.
  23859. * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
  23860. Likewise.
  23861. * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
  23862. Likewise.
  23863. * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
  23864. Likewise.
  23865. * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
  23866. (__pthread_attr_init_2_0): Likewise.
  23867. * nptl/pthread_attr_setdetachstate.c
  23868. (__pthread_attr_setdetachstate): Likewise.
  23869. * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
  23870. Likewise.
  23871. * nptl/pthread_attr_setinheritsched.c
  23872. (__pthread_attr_setinheritsched): Likewise.
  23873. * nptl/pthread_attr_setschedparam.c
  23874. (__pthread_attr_setschedparam): Likewise.
  23875. * nptl/pthread_attr_setschedpolicy.c
  23876. (__pthread_attr_setschedpolicy): Likewise.
  23877. * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
  23878. Likewise.
  23879. * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
  23880. Likewise.
  23881. * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
  23882. Likewise.
  23883. * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
  23884. Likewise.
  23885. * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
  23886. Likewise.
  23887. * nptl/pthread_create.c (__find_in_stack_list): Likewise.
  23888. * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
  23889. * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
  23890. use internal_function.
  23891. * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
  23892. prototype-style function definition.
  23893. * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
  23894. (__pthread_mutex_cond_lock_adjust): Likewise. Use
  23895. internal_function.
  23896. * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
  23897. Convert to prototype-style function definition.
  23898. * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
  23899. Likewise.
  23900. * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
  23901. Likewise.
  23902. (__pthread_mutex_unlock): Likewise.
  23903. * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
  23904. * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
  23905. * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
  23906. * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
  23907. * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
  23908. * nss/makedb.c (process_input): Likewise.
  23909. * posix/fnmatch.c (__strchrnul): Likewise.
  23910. (__wcschrnul): Likewise.
  23911. (fnmatch): Likewise.
  23912. * posix/fnmatch_loop.c (FCT): Likewise.
  23913. * posix/glob.c (globfree): Likewise.
  23914. (__glob_pattern_type): Likewise.
  23915. (__glob_pattern_p): Likewise.
  23916. * posix/regcomp.c (re_compile_pattern): Likewise.
  23917. (re_set_syntax): Likewise.
  23918. (re_compile_fastmap): Likewise.
  23919. (regcomp): Likewise.
  23920. (regerror): Likewise.
  23921. (regfree): Likewise.
  23922. * posix/regexec.c (regexec): Likewise.
  23923. (re_match): Likewise.
  23924. (re_search): Likewise.
  23925. (re_match_2): Likewise.
  23926. (re_search_2): Likewise.
  23927. (re_search_stub): Likewise. Use internal_function
  23928. (re_copy_regs): Likewise.
  23929. (re_set_registers): Convert to prototype-style function
  23930. definition.
  23931. (prune_impossible_nodes): Likewise. Use internal_function.
  23932. * resolv/inet_net_pton.c (inet_net_pton): Convert to
  23933. prototype-style function definition.
  23934. (inet_net_pton_ipv4): Likewise.
  23935. * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
  23936. * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
  23937. * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
  23938. * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
  23939. * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
  23940. Make variadic.
  23941. * time/strptime_l.c (localtime_r): Convert to prototype-style
  23942. function definition.
  23943. * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
  23944. * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
  23945. * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
  23946. * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
  23947. * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
  23948. definition.
  23949. (_ufc_doit_r): Likewise.
  23950. * crypt/crypt_util.c (_ufc_copymem): Likewise.
  23951. (_ufc_output_conversion_r): Likewise.
  23952. * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
  23953. * inet/rcmd.c (rcmd_af): Likewise.
  23954. (rcmd): Likewise.
  23955. (ruserok_af): Likewise.
  23956. (ruserok): Likewise.
  23957. (ruserok2_sa): Likewise.
  23958. (ruserok_sa): Likewise.
  23959. (iruserok_af): Likewise.
  23960. (iruserok): Likewise.
  23961. (__ivaliduser): Likewise.
  23962. (__validuser2_sa): Likewise.
  23963. * inet/rexec.c (rexec_af): Likewise.
  23964. (rexec): Likewise.
  23965. * inet/ruserpass.c (ruserpass): Likewise.
  23966. * locale/programs/xmalloc.c (xcalloc): Likewise.
  23967. * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
  23968. * math/w_drem.c (__drem): Likewise.
  23969. * math/w_dremf.c (__dremf): Likewise.
  23970. * math/w_dreml.c (__dreml): Likewise.
  23971. * misc/daemon.c (daemon): Likewise.
  23972. * resolv/res_debug.c (p_fqnname): Likewise.
  23973. * stdlib/div.c (div): Likewise.
  23974. * string/memcmp.c (memcmp_bytes): Likewise.
  23975. * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
  23976. * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
  23977. * crypt/cert.c (main): Convert to prototype-style function
  23978. definition.
  23979. * io/pipe.c (__pipe): Likewise.
  23980. * io/pipe2.c (__pipe2): Likewise.
  23981. * misc/futimesat.c (futimesat): Likewise.
  23982. * misc/utimes.c (__utimes): Likewise.
  23983. * posix/execve.c (__execve): Likewise.
  23984. * posix/execvp.c (execvp): Likewise.
  23985. * posix/execvpe.c (__execvpe): Likewise.
  23986. * posix/fexecve.c (fexecve): Likewise.
  23987. * socket/socketpair.c (socketpair): Likewise.
  23988. * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
  23989. * stdlib/erand48.c (erand48): Likewise.
  23990. * stdlib/erand48_r.c (__erand48_r): Likewise.
  23991. * stdlib/jrand48.c (jrand48): Likewise.
  23992. * stdlib/jrand48_r.c (__jrand48_r): Likewise.
  23993. * stdlib/lcong48.c (lcong48): Likewise.
  23994. * stdlib/lcong48_r.c (__lcong48_r): Likewise.
  23995. * stdlib/nrand48.c (nrand48): Likewise.
  23996. * stdlib/nrand48_r.c (__nrand48_r): Likewise.
  23997. * stdlib/seed48.c (seed48): Likewise.
  23998. * stdlib/seed48_r.c (__seed48_r): Likewise.
  23999. * sysdeps/mach/hurd/execve.c (__execve): Likewise.
  24000. * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
  24001. * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
  24002. 2015-10-19 Joseph Myers <joseph@codesourcery.com>
  24003. * configure.ac (libc_cv_asm_unique_object): Remove configure test.
  24004. * configure: Regenerated.
  24005. * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
  24006. * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
  24007. unconditional.
  24008. * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
  24009. * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
  24010. * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
  24011. (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
  24012. * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
  24013. unconditional.
  24014. * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
  24015. * posix/Makefile (CFLAGS-regex.c): Remove variable.
  24016. * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
  24017. * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
  24018. function definition.
  24019. * crypt/crypt_util.c (__encrypt_r): Likewise.
  24020. * libio/genops.c (_IO_no_init): Likewise.
  24021. * libio/iofopncook.c (_IO_fopencookie): Likewise.
  24022. (_IO_old_fopencookie): Likewise.
  24023. * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
  24024. * libio/iogetline.c (_IO_getline): Likewise.
  24025. (_IO_getline_info): Likewise.
  24026. * libio/iogetwline.c (_IO_getwline): Likewise.
  24027. (_IO_getwline_info): Likewise.
  24028. * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
  24029. * libio/vswprintf.c (_IO_vswprintf): Likewise.
  24030. * locale/programs/simple-hash.c (insert_entry_2): Likewise.
  24031. (find_entry): Likewise.
  24032. (iterate_table): Likewise.
  24033. (lookup): Likewise.
  24034. * login/forkpty.c (forkpty): Likewise.
  24035. * misc/hsearch_r.c (__hsearch_r): Likewise.
  24036. * misc/select.c (__select): Likewise.
  24037. * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
  24038. Likewise.
  24039. * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
  24040. Likewise.
  24041. * nptl/old_pthread_cond_timedwait.c
  24042. (__pthread_cond_timedwait_2_0): Likewise.
  24043. * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
  24044. * nptl/pthread_barrierattr_getpshared.c
  24045. (pthread_barrierattr_getpshared): Likewise.
  24046. * nptl/pthread_getschedparam.c (__pthread_getschedparam):
  24047. Likewise.
  24048. * nptl/pthread_mutex_setprioceiling.c
  24049. (pthread_mutex_setprioceiling): Likewise.
  24050. * nptl/pthread_mutexattr_getprioceiling.c
  24051. (pthread_mutexattr_getprioceiling): Likewise.
  24052. * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
  24053. * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
  24054. Likewise.
  24055. * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
  24056. Likewise.
  24057. * nptl/pthread_setschedparam.c (__pthread_setschedparam):
  24058. Likewise.
  24059. * socket/recvfrom.c (__recvfrom): Likewise.
  24060. * socket/sendto.c (__sendto): Likewise.
  24061. * socket/setsockopt.c (__setsockopt): Likewise.
  24062. * stdio-common/_itoa.c (_itoa): Likewise.
  24063. * stdio-common/_itowa.c (_itowa): Likewise.
  24064. * stdio-common/reg-printf.c (__register_printf_specifier):
  24065. Likewise.
  24066. (__register_printf_function): Likewise.
  24067. * stdio-common/tempname.c (__path_search): Likewise.
  24068. * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
  24069. * stdlib/mul_1.c (mpn_mul_1): Likewise.
  24070. * stdlib/random_r.c (__initstate_r): Likewise.
  24071. * stdlib/setenv.c (__add_to_environ): Likewise.
  24072. * stdlib/submul_1.c (mpn_submul_1): Likewise.
  24073. * streams/getpmsg.c (getpmsg): Likewise.
  24074. * streams/putmsg.c (putmsg): Likewise.
  24075. * streams/putpmsg.c (putpmsg): Likewise.
  24076. * sunrpc/clnt_raw.c (clntraw_call): Likewise.
  24077. * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
  24078. * sunrpc/clnt_udp.c (clntudp_create): Likewise.
  24079. * sunrpc/clnt_unix.c (clntunix_call): Likewise.
  24080. * sunrpc/pm_getport.c (pmap_getport): Likewise.
  24081. * sunrpc/svc_udp.c (cache_get): Likewise.
  24082. * sunrpc/xdr_array.c (xdr_vector): Likewise.
  24083. * sysdeps/mach/hurd/getcwd.c
  24084. (__canonicalize_directory_name_internal): Likewise.
  24085. * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
  24086. * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
  24087. * sysdeps/mach/hurd/select.c (__select): Likewise.
  24088. * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
  24089. * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
  24090. * sysdeps/sparc/nptl/pthread_barrier_init.c
  24091. (__pthread_barrier_init): Likewise.
  24092. * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
  24093. (__pthread_cond_timedwait): Likewise.
  24094. * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
  24095. * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
  24096. Likewise.
  24097. * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
  24098. * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
  24099. Likewise.
  24100. * sysvipc/semtimedop.c (semtimedop): Likewise.
  24101. * time/setitimer.c (__setitimer): Likewise.
  24102. * time/strftime_l.c (emacs_strftime): Likewise.
  24103. 2015-10-19 Mike Frysinger <vapier@gentoo.org>
  24104. * config.make.in (have-ssp): Delete.
  24105. (stack-protector): New variable.
  24106. * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
  24107. cache test for -fstack-protector-strong. Export stack_protector to
  24108. the best ssp flag.
  24109. * configure: Regenerated.
  24110. * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
  24111. * nscd/Makefile (CFLAGS-nscd): Likewise.
  24112. * resolv/Makefile (CFLAGS-libresolv): Likewise.
  24113. 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
  24114. [BZ #19122]
  24115. * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
  24116. attribute_hidden.
  24117. 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  24118. [BZ #18743]
  24119. * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
  24120. code to...
  24121. (ELIDE_LOCK): ...here.
  24122. (__get_new_count): New function with part of the code from
  24123. __elide_lock that updates the value of adapt_count after a
  24124. transaction abort.
  24125. (__elided_trylock): Moved this code to...
  24126. (ELIDE_TRYLOCK): ...here.
  24127. 2015-10-19 Mike Frysinger <vapier@gentoo.org>
  24128. * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
  24129. * configure: Regenerate.
  24130. * INSTALL: Regenerate.
  24131. * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
  24132. and tweak grammar.
  24133. 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
  24134. * login/programs/pt_chown.c: Include signal.h
  24135. (main): Clear any signal mask from the parent process.
  24136. 2015-10-19 Joseph Myers <joseph@codesourcery.com>
  24137. * configure.ac (libc_cv_gnu89_inline): Remove configure test.
  24138. * configure: Regenerated.
  24139. * config.make.in (gnu89-inline-CFLAGS): Remove variable.
  24140. * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
  24141. $(gnu89-inline-CFLAGS).
  24142. * configure.ac (libc_cv_asm_weak_directive): Remove configure
  24143. test.
  24144. (libc_cv_asm_weakext_directive): Likewise.
  24145. * configure: Regenerated.
  24146. * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
  24147. (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
  24148. * include/libc-symbols.h
  24149. [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
  24150. #error.
  24151. [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
  24152. [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
  24153. * sysdeps/arm/backtrace.c (__backtrace): Convert to
  24154. prototype-style function definition.
  24155. * sysdeps/i386/backtrace.c (__backtrace): Likewise.
  24156. * sysdeps/i386/ffs.c (__ffs): Likewise.
  24157. * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
  24158. * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
  24159. Likewise.
  24160. * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
  24161. Likewise.
  24162. * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
  24163. * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
  24164. Likewise.
  24165. * sysdeps/m68k/ffs.c (__ffs): Likewise.
  24166. * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
  24167. * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
  24168. * sysdeps/mach/adjtime.c (__adjtime): Likewise.
  24169. * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
  24170. * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
  24171. * sysdeps/mach/hurd/access.c (__access): Likewise.
  24172. * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
  24173. * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
  24174. * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
  24175. * sysdeps/mach/hurd/chown.c (__chown): Likewise.
  24176. * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
  24177. (cthread_getspecific): Likewise.
  24178. (cthread_setspecific): Likewise.
  24179. (__libc_getspecific): Likewise.
  24180. * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
  24181. * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
  24182. * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
  24183. * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
  24184. * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
  24185. * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
  24186. * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
  24187. * sysdeps/mach/hurd/flock.c (__flock): Likewise.
  24188. * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
  24189. * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
  24190. * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
  24191. * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
  24192. * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
  24193. * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
  24194. * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
  24195. * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
  24196. * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
  24197. * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
  24198. * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
  24199. * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
  24200. * sysdeps/mach/hurd/link.c (__link): Likewise.
  24201. * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
  24202. * sysdeps/mach/hurd/listen.c (__listen): Likewise.
  24203. * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
  24204. * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
  24205. * sysdeps/mach/hurd/openat.c (__openat): Likewise.
  24206. * sysdeps/mach/hurd/poll.c (__poll): Likewise.
  24207. * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
  24208. * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
  24209. * sysdeps/mach/hurd/recv.c (__recv): Likewise.
  24210. * sysdeps/mach/hurd/rename.c (rename): Likewise.
  24211. * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
  24212. * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
  24213. * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
  24214. * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
  24215. * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
  24216. * sysdeps/mach/hurd/send.c (__send): Likewise.
  24217. * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
  24218. * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
  24219. * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
  24220. * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
  24221. * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
  24222. * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
  24223. * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
  24224. * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
  24225. * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
  24226. * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
  24227. * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
  24228. * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
  24229. * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
  24230. * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
  24231. * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
  24232. * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
  24233. * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
  24234. * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
  24235. * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
  24236. * sysdeps/mach/hurd/socket.c (__socket): Likewise.
  24237. * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
  24238. * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
  24239. * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
  24240. * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
  24241. * sysdeps/mach/hurd/umask.c (__umask): Likewise.
  24242. * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
  24243. * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
  24244. * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
  24245. * sysdeps/posix/alarm.c (alarm): Likewise.
  24246. * sysdeps/posix/cuserid.c (cuserid): Likewise.
  24247. * sysdeps/posix/dirfd.c (dirfd): Likewise.
  24248. * sysdeps/posix/dup.c (__dup): Likewise.
  24249. * sysdeps/posix/dup2.c (__dup2): Likewise.
  24250. * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
  24251. (main): Likewise.
  24252. * sysdeps/posix/flock.c (__flock): Likewise.
  24253. * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
  24254. * sysdeps/posix/getcwd.c (__getcwd): Likewise.
  24255. * sysdeps/posix/gethostname.c (__gethostname): Likewise.
  24256. * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
  24257. * sysdeps/posix/isatty.c (__isatty): Likewise.
  24258. * sysdeps/posix/killpg.c (killpg): Likewise.
  24259. * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
  24260. * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
  24261. * sysdeps/posix/raise.c (raise): Likewise.
  24262. * sysdeps/posix/remove.c (remove): Likewise.
  24263. * sysdeps/posix/rename.c (rename): Likewise.
  24264. * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
  24265. * sysdeps/posix/seekdir.c (seekdir): Likewise.
  24266. * sysdeps/posix/sigblock.c (__sigblock): Likewise.
  24267. * sysdeps/posix/sigignore.c (sigignore): Likewise.
  24268. * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
  24269. * sysdeps/posix/signal.c (__bsd_signal): Likewise.
  24270. * sysdeps/posix/sigset.c (sigset): Likewise.
  24271. * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
  24272. * sysdeps/posix/sysconf.c (__sysconf): Likewise.
  24273. * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
  24274. * sysdeps/posix/time.c (time): Likewise.
  24275. * sysdeps/posix/ttyname.c (getttyname): Likewise.
  24276. (ttyname): Likewise.
  24277. * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
  24278. * sysdeps/posix/utime.c (utime): Likewise.
  24279. * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
  24280. * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
  24281. Likewise.
  24282. * sysdeps/powerpc/nptl/pthread_spin_trylock.c
  24283. (pthread_spin_trylock): Likewise.
  24284. * sysdeps/pthread/aio_error.c (aio_error): Likewise.
  24285. * sysdeps/pthread/aio_read.c (aio_read): Likewise.
  24286. * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
  24287. * sysdeps/pthread/aio_write.c (aio_write): Likewise.
  24288. * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
  24289. * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
  24290. * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
  24291. * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
  24292. * sysdeps/pthread/timer_create.c (timer_create): Likewise.
  24293. * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
  24294. * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
  24295. * sysdeps/s390/ffs.c (__ffs): Likewise.
  24296. * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
  24297. Likewise.
  24298. * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
  24299. Likewise.
  24300. * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
  24301. Likewise.
  24302. * sysdeps/sparc/nptl/pthread_barrier_destroy.c
  24303. (pthread_barrier_destroy): Likewise.
  24304. * sysdeps/sparc/nptl/pthread_barrier_wait.c
  24305. (__pthread_barrier_wait): Likewise.
  24306. * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
  24307. * sysdeps/sparc/sparc32/pthread_barrier_wait.c
  24308. (__pthread_barrier_wait): Likewise.
  24309. * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
  24310. * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
  24311. (memcmp_not_common_alignment): Likewise.
  24312. (MEMCMP): Likewise.
  24313. * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
  24314. (_wordcopy_fwd_dest_aligned): Likewise.
  24315. (_wordcopy_bwd_aligned): Likewise.
  24316. (_wordcopy_bwd_dest_aligned): Likewise.
  24317. * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
  24318. * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
  24319. * sysdeps/unix/bsd/stty.c (stty): Likewise.
  24320. * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
  24321. * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
  24322. * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
  24323. * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
  24324. * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
  24325. * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
  24326. * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
  24327. * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
  24328. * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
  24329. * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
  24330. * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
  24331. * sysdeps/unix/stime.c (stime): Likewise.
  24332. * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
  24333. * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
  24334. Likewise. Use internal_function.
  24335. * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
  24336. Convert to prototype-style function definition.
  24337. * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
  24338. * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
  24339. * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
  24340. * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
  24341. Likewise. Use internal_function.
  24342. * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
  24343. prototype-style function definition
  24344. * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
  24345. Likewise.
  24346. (__getlogin_r): Likewise.
  24347. * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
  24348. * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
  24349. (__pthread_cond_broadcast): Likewise.
  24350. * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
  24351. (__pthread_cond_destroy): Likewise.
  24352. * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
  24353. (__pthread_cond_init): Likewise.
  24354. * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
  24355. (__pthread_cond_signal): Likewise.
  24356. * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
  24357. (__pthread_cond_wait): Likewise.
  24358. * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
  24359. * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
  24360. * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
  24361. Likewise.
  24362. * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
  24363. Likewise.
  24364. * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
  24365. Likewise.
  24366. * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
  24367. Likewise.
  24368. * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
  24369. * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
  24370. (__ftruncate64): Likewise.
  24371. * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
  24372. (truncate64): Likewise.
  24373. * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
  24374. * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
  24375. (pthread_getcpuclockid): Likewise.
  24376. * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
  24377. Likewise.
  24378. * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
  24379. Likewise.
  24380. * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
  24381. Likewise.
  24382. * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
  24383. Likewise.
  24384. * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
  24385. * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
  24386. (__libc_sigaction): Likewise.
  24387. * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
  24388. Likewise.
  24389. * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
  24390. (__sigprocmask): Likewise.
  24391. * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
  24392. * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
  24393. * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
  24394. * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
  24395. * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
  24396. * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
  24397. * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
  24398. Likewise.
  24399. * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
  24400. * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
  24401. * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
  24402. * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
  24403. * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
  24404. Likewise.
  24405. * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
  24406. (__sigprocmask): Likewise.
  24407. * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
  24408. (cfgetispeed): Likewise.
  24409. (cfsetospeed): Likewise.
  24410. (cfsetispeed): Likewise.
  24411. * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
  24412. * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
  24413. * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
  24414. * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
  24415. * sysdeps/unix/sysv/linux/time.c (time): Likewise.
  24416. * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
  24417. * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
  24418. * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
  24419. Likewise.
  24420. * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
  24421. Likewise.
  24422. * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
  24423. Likewise.
  24424. * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
  24425. Likewise.
  24426. * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
  24427. 2015-10-17 Florian Weimer <fweimer@redhat.com>
  24428. sunrpc: Rewrite with explicit TLS access using __thread.
  24429. * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
  24430. (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
  24431. directly.
  24432. (__rpc_thread_variables): Access thread_rpc_vars directly.
  24433. Eliminate redundant assignment of the tvp variable.
  24434. 2015-10-17 Florian Weimer <fweimer@redhat.com>
  24435. malloc: Rewrite with explicit TLS access using __thread.
  24436. * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
  24437. (tsd_setspecific, tsd_getspecific): Remove.
  24438. * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
  24439. (tsd_setspecific, tsd_getspecific): Likewise.
  24440. * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
  24441. (tsd_setspecific, tsd_getspecific): Likewise.
  24442. * malloc/arena.c (thread_arena): New TLS variable.
  24443. (arena_key): Remove variable.
  24444. (arena_get): Use thread_arena.
  24445. (arena_lookup): Remove macro.
  24446. (malloc_atfork, free_atfork, ptmalloc_lock_all)
  24447. (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
  24448. (_int_new_arena, get_free_list, reused_arena)
  24449. (arena_thread_freeres): Use thread_arena.
  24450. * manual/memory.texi (Basic Allocation): Remove arena_lookup,
  24451. tsd_getspecific, tsd_setspecific from safety annotations.
  24452. (Allocating Cleared Space): Remove arena_lookup from safety
  24453. annotations.
  24454. 2015-10-17 Florian Weimer <fweimer@redhat.com>
  24455. * stdio-common/vfprintf.c (printf_positional): Rewrite to use
  24456. struct scratch_buffer instead of extend_alloca.
  24457. 2015-10-17 Florian Weimer <fweimer@redhat.com>
  24458. * sysdeps/unix/sysv/linux/kernel-features.h
  24459. (__ASSUME_SOCK_CLOEXEC): Remove.
  24460. * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
  24461. (__have_paccept): Remove unused macro.
  24462. * include/unistd.h (__have_sock_cloexec): Remove declaration.
  24463. * misc/syslog.c (openlog_internal): Remove fallback code for
  24464. !__ASSUME_SOCK_CLOEXEC.
  24465. * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
  24466. missing SOCK_CLOEXEC.
  24467. * nscd/connections.c (have_sock_cloexec): Remove definition.
  24468. (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
  24469. * nscd/nscd_helper.c (open_socket): Remove fallback code for
  24470. !__ASSUME_SOCK_CLOEXEC.
  24471. * resolv/res_send.c (__have_o_nonblock): Remove definition.
  24472. (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
  24473. * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
  24474. definition.
  24475. * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
  24476. code for !__ASSUME_SOCK_CLOEXEC.
  24477. 2015-10-17 Florian Weimer <fweimer@redhat.com>
  24478. [BZ #18982]
  24479. * manual/stdio.texi (Variable Arguments Output): Add portability
  24480. note, explaining that vfprintf clobbers the va_list pointer.
  24481. 2015-10-16 Joseph Myers <joseph@codesourcery.com>
  24482. * math/libm-test.inc (fabs_test_data): Add more tests.
  24483. (fdim_test_data): Likewise.
  24484. (fma_test_data): Likewise.
  24485. (fmax_test_data): Likewise.
  24486. (fmin_test_data): Likewise.
  24487. (fmod_test_data): Likewise.
  24488. 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
  24489. * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
  24490. data.
  24491. 2015-10-16 Joseph Myers <joseph@codesourcery.com>
  24492. * math/libm-test.inc (ceil_test_data): Add more tests and more
  24493. expectations for "inexact".
  24494. (floor_test_data): Add more tests.
  24495. (round_test_data): Likewise.
  24496. (trunc_test_data): Likewise.
  24497. * crypt/cert.c (good_bye): Convert to prototype-style function
  24498. definition.
  24499. (get8): Likewise.
  24500. (put8): Likewise.
  24501. * crypt/crypt-entry.c (crypt): Likewise.
  24502. (__fcrypt): Likewise.
  24503. * crypt/crypt_util.c (_ufc_prbits): Likewise.
  24504. (_ufc_set_bits): Likewise.
  24505. (_ufc_clearmem): Likewise.
  24506. (__init_des_r): Likewise.
  24507. (shuffle_sb): Likewise.
  24508. (shuffle_sb): Likewise.
  24509. (_ufc_setup_salt_r): Likewise.
  24510. (_ufc_mk_keytab_r): Likewise.
  24511. (_ufc_dofinalperm_r): Likewise.
  24512. (encrypt): Likewise.
  24513. (__setkey_r): Likewise.
  24514. (setkey): Likewise.
  24515. * crypt/md5.c (md5_init_ctx): Likewise.
  24516. (md5_read_ctx): Likewise.
  24517. (md5_finish_ctx): Likewise.
  24518. (md5_stream): Likewise.
  24519. (md5_buffer): Likewise.
  24520. (md5_process_bytes): Likewise.
  24521. * crypt/sha256.c (__sha256_init_ctx): Likewise.
  24522. (__sha256_finish_ctx): Likewise.
  24523. (__sha256_process_bytes): Likewise.
  24524. * crypt/sha512.c (__sha512_init_ctx): Likewise.
  24525. (__sha512_finish_ctx): Likewise.
  24526. (__sha512_process_bytes): Likewise.
  24527. * ctype/isctype.c (__isctype): Likewise.
  24528. * debug/backtrace.c (__backtrace): Likewise.
  24529. * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
  24530. * debug/fgets_chk.c (__fgets_chk): Likewise.
  24531. * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
  24532. * debug/memcpy_chk.c (__memcpy_chk): Likewise.
  24533. * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
  24534. * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
  24535. * debug/memset_chk.c (__memset_chk): Likewise.
  24536. * debug/strcat_chk.c (__strcat_chk): Likewise.
  24537. * debug/strncat_chk.c (__strncat_chk): Likewise.
  24538. * debug/strncpy_chk.c (__strncpy_chk): Likewise.
  24539. * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
  24540. * dirent/dirfd.c (dirfd): Likewise.
  24541. * dirent/getdents.c (__getdirentries): Likewise.
  24542. * dirent/getdents64.c (getdirentries64): Likewise.
  24543. * dirent/rewinddir.c (__rewinddir): Likewise.
  24544. * dirent/seekdir.c (seekdir): Likewise.
  24545. * dirent/telldir.c (telldir): Likewise.
  24546. * elf/sln.c (makesymlinks): Likewise.
  24547. (makesymlink): Likewise.
  24548. * gmon/gmon.c (__moncontrol): Likewise.
  24549. (__monstartup): Likewise.
  24550. (write_hist): Likewise.
  24551. (write_call_graph): Likewise.
  24552. (write_bb_counts): Likewise.
  24553. * grp/setgroups.c (setgroups): Likewise.
  24554. * inet/inet_lnaof.c (inet_lnaof): Likewise.
  24555. * inet/inet_net.c (inet_network): Likewise.
  24556. * inet/inet_netof.c (inet_netof): Likewise.
  24557. * inet/rcmd.c (rresvport_af): Likewise.
  24558. (rresvport): Likewise.
  24559. * io/access.c (__access): Likewise.
  24560. * io/chdir.c (__chdir): Likewise.
  24561. * io/chmod.c (__chmod): Likewise.
  24562. * io/chown.c (__chown): Likewise.
  24563. * io/close.c (__close): Likewise.
  24564. * io/creat.c (creat): Likewise.
  24565. * io/creat64.c (creat64): Likewise.
  24566. * io/dup.c (__dup): Likewise.
  24567. * io/dup2.c (__dup2): Likewise.
  24568. * io/dup3.c (__dup3): Likewise.
  24569. * io/euidaccess.c (__euidaccess): Likewise.
  24570. * io/faccessat.c (faccessat): Likewise.
  24571. * io/fchmod.c (__fchmod): Likewise.
  24572. * io/fchmodat.c (fchmodat): Likewise.
  24573. * io/fchown.c (__fchown): Likewise.
  24574. * io/fchownat.c (fchownat): Likewise.
  24575. * io/fcntl.c (__fcntl): Likewise.
  24576. * io/flock.c (__flock): Likewise.
  24577. * io/fts.c (fts_load): Likewise.
  24578. (fts_close): Likewise.
  24579. (fts_read): Likewise.
  24580. (fts_set): Likewise.
  24581. (fts_children): Likewise.
  24582. (fts_build): Likewise.
  24583. (fts_stat): Likewise.
  24584. (fts_sort): Likewise.
  24585. (fts_alloc): Likewise.
  24586. (fts_lfree): Likewise.
  24587. (fts_palloc): Likewise.
  24588. (fts_padjust): Likewise.
  24589. (fts_maxarglen): Likewise.
  24590. (fts_safe_changedir): Likewise.
  24591. * io/getwd.c (getwd): Likewise.
  24592. * io/isatty.c (__isatty): Likewise.
  24593. * io/lchown.c (__lchown): Likewise.
  24594. * io/link.c (__link): Likewise.
  24595. * io/linkat.c (linkat): Likewise.
  24596. * io/lseek.c (__libc_lseek): Likewise.
  24597. * io/mkdir.c (__mkdir): Likewise.
  24598. * io/mkdirat.c (mkdirat): Likewise.
  24599. * io/mkfifo.c (mkfifo): Likewise.
  24600. * io/mkfifoat.c (mkfifoat): Likewise.
  24601. * io/open.c (__libc_open): Likewise.
  24602. * io/open64.c (__libc_open64): Likewise.
  24603. * io/readlink.c (__readlink): Likewise.
  24604. * io/readlinkat.c (readlinkat): Likewise.
  24605. * io/rmdir.c (__rmdir): Likewise.
  24606. * io/symlink.c (__symlink): Likewise.
  24607. * io/symlinkat.c (symlinkat): Likewise.
  24608. * io/ttyname.c (ttyname): Likewise.
  24609. * io/ttyname_r.c (__ttyname_r): Likewise.
  24610. * io/umask.c (__umask): Likewise.
  24611. * io/unlink.c (__unlink): Likewise.
  24612. * io/unlinkat.c (unlinkat): Likewise.
  24613. * io/utime.c (utime): Likewise.
  24614. * libio/clearerr.c (clearerr): Likewise.
  24615. * libio/clearerr_u.c (clearerr_unlocked): Likewise.
  24616. * libio/feof.c (_IO_feof): Likewise.
  24617. * libio/feof_u.c (feof_unlocked): Likewise.
  24618. * libio/ferror.c (_IO_ferror): Likewise.
  24619. * libio/ferror_u.c (ferror_unlocked): Likewise.
  24620. * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
  24621. * libio/fileno.c (__fileno): Likewise.
  24622. * libio/fputc.c (fputc): Likewise.
  24623. * libio/fputc_u.c (fputc_unlocked): Likewise.
  24624. * libio/fputwc.c (fputwc): Likewise.
  24625. * libio/fputwc_u.c (fputwc_unlocked): Likewise.
  24626. * libio/freopen.c (freopen): Likewise.
  24627. * libio/freopen64.c (freopen64): Likewise.
  24628. * libio/fseek.c (fseek): Likewise.
  24629. * libio/fseeko.c (fseeko): Likewise.
  24630. * libio/fseeko64.c (fseeko64): Likewise.
  24631. * libio/ftello.c (__ftello): Likewise.
  24632. * libio/ftello64.c (ftello64): Likewise.
  24633. * libio/fwide.c (fwide): Likewise.
  24634. * libio/genops.c (_IO_un_link): Likewise.
  24635. (_IO_link_in): Likewise.
  24636. (_IO_least_marker): Likewise.
  24637. (_IO_switch_to_main_get_area): Likewise.
  24638. (_IO_switch_to_backup_area): Likewise.
  24639. (_IO_switch_to_get_mode): Likewise.
  24640. (_IO_free_backup_area): Likewise.
  24641. (_IO_switch_to_put_mode): Likewise.
  24642. (__overflow): Likewise.
  24643. (__underflow): Likewise.
  24644. (__uflow): Likewise.
  24645. (_IO_setb): Likewise.
  24646. (_IO_doallocbuf): Likewise.
  24647. (_IO_default_underflow): Likewise.
  24648. (_IO_default_uflow): Likewise.
  24649. (_IO_default_xsputn): Likewise.
  24650. (_IO_sgetn): Likewise.
  24651. (_IO_default_xsgetn): Likewise.
  24652. (_IO_sync): Likewise.
  24653. (_IO_default_setbuf): Likewise.
  24654. (_IO_default_seekpos): Likewise.
  24655. (_IO_default_doallocate): Likewise.
  24656. (_IO_init): Likewise.
  24657. (_IO_old_init): Likewise.
  24658. (_IO_default_sync): Likewise.
  24659. (_IO_default_finish): Likewise.
  24660. (_IO_default_seekoff): Likewise.
  24661. (_IO_sputbackc): Likewise.
  24662. (_IO_sungetc): Likewise.
  24663. (_IO_set_column): Likewise.
  24664. (_IO_set_column): Likewise.
  24665. (_IO_adjust_column): Likewise.
  24666. (_IO_get_column): Likewise.
  24667. (_IO_init_marker): Likewise.
  24668. (_IO_remove_marker): Likewise.
  24669. (_IO_marker_difference): Likewise.
  24670. (_IO_marker_delta): Likewise.
  24671. (_IO_seekmark): Likewise.
  24672. (_IO_unsave_markers): Likewise.
  24673. (_IO_nobackup_pbackfail): Likewise.
  24674. (_IO_default_pbackfail): Likewise.
  24675. (_IO_default_seek): Likewise.
  24676. (_IO_default_stat): Likewise.
  24677. (_IO_default_read): Likewise.
  24678. (_IO_default_write): Likewise.
  24679. (_IO_default_showmanyc): Likewise.
  24680. (_IO_default_imbue): Likewise.
  24681. (_IO_iter_next): Likewise.
  24682. (_IO_iter_file): Likewise.
  24683. * libio/getc.c (_IO_getc): Likewise.
  24684. * libio/getwc.c (_IO_getwc): Likewise.
  24685. * libio/iofclose.c (_IO_new_fclose): Likewise.
  24686. * libio/iofdopen.c (_IO_new_fdopen): Likewise.
  24687. * libio/iofflush.c (_IO_fflush): Likewise.
  24688. * libio/iofflush_u.c (__fflush_unlocked): Likewise.
  24689. * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
  24690. * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
  24691. * libio/iofgets.c (_IO_fgets): Likewise.
  24692. * libio/iofgets_u.c (__fgets_unlocked): Likewise.
  24693. * libio/iofgetws.c (fgetws): Likewise.
  24694. * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
  24695. * libio/iofopen64.c (_IO_fopen64): Likewise.
  24696. * libio/iofopncook.c (_IO_cookie_read): Likewise.
  24697. (_IO_cookie_write): Likewise.
  24698. (_IO_cookie_seek): Likewise.
  24699. (_IO_cookie_close): Likewise.
  24700. (_IO_cookie_seekoff): Likewise.
  24701. (_IO_old_cookie_seek): Likewise.
  24702. * libio/iofputs.c (_IO_fputs): Likewise.
  24703. * libio/iofputs_u.c (__fputs_unlocked): Likewise.
  24704. * libio/iofputws.c (fputws): Likewise.
  24705. * libio/iofputws_u.c (fputws_unlocked): Likewise.
  24706. * libio/iofread.c (_IO_fread): Likewise.
  24707. * libio/iofread_u.c (__fread_unlocked): Likewise.
  24708. * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
  24709. * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
  24710. * libio/ioftell.c (_IO_ftell): Likewise.
  24711. * libio/iofwrite.c (_IO_fwrite): Likewise.
  24712. * libio/iogetdelim.c (_IO_getdelim): Likewise.
  24713. * libio/iogets.c (_IO_gets): Likewise.
  24714. * libio/iopadn.c (_IO_padn): Likewise.
  24715. * libio/iopopen.c (_IO_new_proc_open): Likewise.
  24716. (_IO_new_popen): Likewise.
  24717. (_IO_new_proc_close): Likewise.
  24718. * libio/ioputs.c (_IO_puts): Likewise.
  24719. * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
  24720. (_IO_seekoff): Likewise.
  24721. * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
  24722. (_IO_seekpos): Likewise.
  24723. * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
  24724. * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
  24725. * libio/ioungetc.c (_IO_ungetc): Likewise.
  24726. * libio/ioungetwc.c (ungetwc): Likewise.
  24727. * libio/iovdprintf.c (_IO_vdprintf): Likewise.
  24728. * libio/iovsscanf.c (_IO_vsscanf): Likewise.
  24729. * libio/iowpadn.c (_IO_wpadn): Likewise.
  24730. * libio/libc_fatal.c (__libc_fatal): Likewise.
  24731. * libio/memstream.c (__open_memstream): Likewise.
  24732. (_IO_mem_sync): Likewise.
  24733. (_IO_mem_finish): Likewise.
  24734. * libio/oldfileops.c (_IO_old_file_init): Likewise.
  24735. (_IO_old_file_close_it): Likewise.
  24736. (_IO_old_file_finish): Likewise.
  24737. (_IO_old_file_fopen): Likewise.
  24738. (_IO_old_file_attach): Likewise.
  24739. (_IO_old_file_setbuf): Likewise.
  24740. (_IO_old_do_write): Likewise.
  24741. (old_do_write): Likewise.
  24742. (_IO_old_file_underflow): Likewise.
  24743. (_IO_old_file_overflow): Likewise.
  24744. (_IO_old_file_sync): Likewise.
  24745. (_IO_old_file_seekoff): Likewise.
  24746. (_IO_old_file_write): Likewise.
  24747. (_IO_old_file_xsputn): Likewise.
  24748. * libio/oldiofclose.c (_IO_old_fclose): Likewise.
  24749. * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
  24750. * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
  24751. * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
  24752. * libio/oldiofopen.c (_IO_old_fopen): Likewise.
  24753. * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
  24754. * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
  24755. * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
  24756. (_IO_old_popen): Likewise.
  24757. (_IO_old_proc_close): Likewise.
  24758. * libio/oldpclose.c (__old_pclose): Likewise.
  24759. * libio/pclose.c (__new_pclose): Likewise.
  24760. * libio/peekc.c (_IO_peekc_locked): Likewise.
  24761. * libio/putc.c (_IO_putc): Likewise.
  24762. * libio/putc_u.c (putc_unlocked): Likewise.
  24763. * libio/putchar.c (putchar): Likewise.
  24764. * libio/putchar_u.c (putchar_unlocked): Likewise.
  24765. * libio/putwc.c (putwc): Likewise.
  24766. * libio/putwc_u.c (putwc_unlocked): Likewise.
  24767. * libio/putwchar.c (putwchar): Likewise.
  24768. * libio/putwchar_u.c (putwchar_unlocked): Likewise.
  24769. * libio/rewind.c (rewind): Likewise.
  24770. * libio/setbuf.c (setbuf): Likewise.
  24771. * libio/setlinebuf.c (setlinebuf): Likewise.
  24772. * libio/vasprintf.c (_IO_vasprintf): Likewise.
  24773. * libio/vscanf.c (_IO_vscanf): Likewise.
  24774. * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
  24775. * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
  24776. * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
  24777. * libio/wgenops.c (_IO_least_wmarker): Likewise.
  24778. (_IO_switch_to_main_wget_area): Likewise.
  24779. (_IO_switch_to_wbackup_area): Likewise.
  24780. (_IO_wsetb): Likewise.
  24781. (_IO_wdefault_pbackfail): Likewise.
  24782. (_IO_wdefault_finish): Likewise.
  24783. (_IO_wdefault_uflow): Likewise.
  24784. (__woverflow): Likewise.
  24785. (__wuflow): Likewise.
  24786. (__wunderflow): Likewise.
  24787. (_IO_wdefault_xsputn): Likewise.
  24788. (_IO_wdefault_xsgetn): Likewise.
  24789. (_IO_wdoallocbuf): Likewise.
  24790. (_IO_wdefault_doallocate): Likewise.
  24791. (_IO_switch_to_wget_mode): Likewise.
  24792. (_IO_free_wbackup_area): Likewise.
  24793. (_IO_switch_to_wput_mode): Likewise.
  24794. (_IO_sputbackwc): Likewise.
  24795. (_IO_sungetwc): Likewise.
  24796. (_IO_adjust_wcolumn): Likewise.
  24797. (_IO_init_wmarker): Likewise.
  24798. (_IO_wmarker_delta): Likewise.
  24799. (_IO_seekwmark): Likewise.
  24800. (_IO_unsave_wmarkers): Likewise.
  24801. * libio/wmemstream.c (open_wmemstream): Likewise.
  24802. (_IO_wmem_sync): Likewise.
  24803. (_IO_wmem_finish): Likewise.
  24804. * locale/nl_langinfo.c (nl_langinfo): Likewise.
  24805. * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
  24806. * locale/programs/simple-hash.c (init_hash): Likewise.
  24807. (delete_hash): Likewise.
  24808. (insert_entry): Likewise.
  24809. (set_entry): Likewise.
  24810. (next_prime): Likewise.
  24811. (is_prime): Likewise.
  24812. * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
  24813. (xmalloc): Likewise.
  24814. (xrealloc): Likewise.
  24815. * locale/programs/xstrdup.c (xstrdup): Likewise.
  24816. * localedata/collate-test.c (xstrcoll): Likewise.
  24817. * localedata/xfrm-test.c (xstrcmp): Likewise.
  24818. * login/getlogin_r.c (__getlogin_r): Likewise.
  24819. * login/getpt.c (__posix_openpt): Likewise.
  24820. * login/login_tty.c (login_tty): Likewise.
  24821. * login/setlogin.c (setlogin): Likewise.
  24822. * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
  24823. (mach_msg_destroy_port): Likewise.
  24824. (mach_msg_destroy_memory): Likewise.
  24825. * malloc/mcheck.c (flood): Likewise.
  24826. * misc/acct.c (acct): Likewise.
  24827. * misc/brk.c (__brk): Likewise.
  24828. * misc/chflags.c (chflags): Likewise.
  24829. * misc/chroot.c (chroot): Likewise.
  24830. * misc/fchflags.c (fchflags): Likewise.
  24831. * misc/fstab.c (getfsspec): Likewise.
  24832. (getfsfile): Likewise.
  24833. * misc/fsync.c (fsync): Likewise.
  24834. * misc/ftruncate.c (__ftruncate): Likewise.
  24835. * misc/ftruncate64.c (__ftruncate64): Likewise.
  24836. * misc/getdomain.c (getdomainname): Likewise.
  24837. (getdomainname): Likewise.
  24838. * misc/gethostname.c (__gethostname): Likewise.
  24839. * misc/getpass.c (getpass): Likewise.
  24840. * misc/getttyent.c (skip): Likewise.
  24841. (value): Likewise.
  24842. * misc/gtty.c (gtty): Likewise.
  24843. * misc/hsearch.c (hsearch): Likewise.
  24844. (hcreate): Likewise.
  24845. * misc/hsearch_r.c (__hcreate_r): Likewise.
  24846. (__hdestroy_r): Likewise.
  24847. * misc/ioctl.c (__ioctl): Likewise.
  24848. * misc/mkdtemp.c (mkdtemp): Likewise.
  24849. * misc/mkostemp.c (mkostemp): Likewise.
  24850. * misc/mkostemp64.c (mkostemp64): Likewise.
  24851. * misc/mkostemps.c (mkostemps): Likewise.
  24852. * misc/mkostemps64.c (mkostemps64): Likewise.
  24853. * misc/mkstemp.c (mkstemp): Likewise.
  24854. * misc/mkstemp64.c (mkstemp64): Likewise.
  24855. * misc/mkstemps.c (mkstemps): Likewise.
  24856. * misc/mkstemps64.c (mkstemps64): Likewise.
  24857. * misc/mktemp.c (__mktemp): Likewise.
  24858. * misc/preadv.c (preadv): Likewise.
  24859. * misc/preadv64.c (preadv64): Likewise.
  24860. * misc/pwritev.c (pwritev): Likewise.
  24861. * misc/pwritev64.c (pwritev64): Likewise.
  24862. * misc/readv.c (__readv): Likewise.
  24863. * misc/revoke.c (revoke): Likewise.
  24864. * misc/setdomain.c (setdomainname): Likewise.
  24865. * misc/setegid.c (setegid): Likewise.
  24866. * misc/seteuid.c (seteuid): Likewise.
  24867. * misc/sethostid.c (sethostid): Likewise.
  24868. * misc/sethostname.c (sethostname): Likewise.
  24869. * misc/setregid.c (__setregid): Likewise.
  24870. * misc/setreuid.c (__setreuid): Likewise.
  24871. * misc/sstk.c (sstk): Likewise.
  24872. * misc/stty.c (stty): Likewise.
  24873. * misc/syscall.c (syscall): Likewise.
  24874. * misc/syslog.c (setlogmask): Likewise.
  24875. * misc/truncate.c (__truncate): Likewise.
  24876. * misc/truncate64.c (truncate64): Likewise.
  24877. * misc/ualarm.c (ualarm): Likewise.
  24878. * misc/usleep.c (usleep): Likewise.
  24879. * misc/ustat.c (ustat): Likewise.
  24880. * misc/writev.c (__writev): Likewise.
  24881. * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
  24882. * nptl/old_pthread_cond_broadcast.c
  24883. (__pthread_cond_broadcast_2_0): Likewise.
  24884. * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
  24885. Likewise.
  24886. * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
  24887. Likewise.
  24888. * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
  24889. Likewise.
  24890. * nptl/pt-raise.c (raise): Likewise.
  24891. * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
  24892. Likewise.
  24893. * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
  24894. * nptl/pthread_barrierattr_destroy.c
  24895. (pthread_barrierattr_destroy): Likewise.
  24896. * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
  24897. Likewise.
  24898. * nptl/pthread_barrierattr_setpshared.c
  24899. (pthread_barrierattr_setpshared): Likewise.
  24900. * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
  24901. Likewise.
  24902. * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
  24903. * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
  24904. * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
  24905. * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
  24906. Likewise.
  24907. * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
  24908. Likewise.
  24909. * nptl/pthread_condattr_getpshared.c
  24910. (pthread_condattr_getpshared): Likewise.
  24911. * nptl/pthread_condattr_init.c (__pthread_condattr_init):
  24912. Likewise.
  24913. * nptl/pthread_condattr_setpshared.c
  24914. (pthread_condattr_setpshared): Likewise.
  24915. * nptl/pthread_detach.c (pthread_detach): Likewise.
  24916. * nptl/pthread_equal.c (__pthread_equal): Likewise.
  24917. * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
  24918. * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
  24919. * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
  24920. * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
  24921. Likewise.
  24922. * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
  24923. Likewise.
  24924. * nptl/pthread_mutex_getprioceiling.c
  24925. (pthread_mutex_getprioceiling): Likewise.
  24926. * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
  24927. Likewise.
  24928. * nptl/pthread_mutexattr_getprotocol.c
  24929. (pthread_mutexattr_getprotocol): Likewise.
  24930. * nptl/pthread_mutexattr_getpshared.c
  24931. (pthread_mutexattr_getpshared): Likewise.
  24932. * nptl/pthread_mutexattr_getrobust.c
  24933. (pthread_mutexattr_getrobust): Likewise.
  24934. * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
  24935. Likewise.
  24936. * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
  24937. Likewise.
  24938. * nptl/pthread_mutexattr_setprioceiling.c
  24939. (pthread_mutexattr_setprioceiling): Likewise.
  24940. * nptl/pthread_mutexattr_setprotocol.c
  24941. (pthread_mutexattr_setprotocol): Likewise.
  24942. * nptl/pthread_mutexattr_setpshared.c
  24943. (pthread_mutexattr_setpshared): Likewise.
  24944. * nptl/pthread_mutexattr_setrobust.c
  24945. (pthread_mutexattr_setrobust): Likewise.
  24946. * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
  24947. Likewise.
  24948. * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
  24949. Likewise.
  24950. * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
  24951. Likewise.
  24952. * nptl/pthread_rwlockattr_getkind_np.c
  24953. (pthread_rwlockattr_getkind_np): Likewise.
  24954. * nptl/pthread_rwlockattr_getpshared.c
  24955. (pthread_rwlockattr_getpshared): Likewise.
  24956. * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
  24957. Likewise.
  24958. * nptl/pthread_rwlockattr_setkind_np.c
  24959. (pthread_rwlockattr_setkind_np): Likewise.
  24960. * nptl/pthread_rwlockattr_setpshared.c
  24961. (pthread_rwlockattr_setpshared): Likewise.
  24962. * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
  24963. Likewise.
  24964. * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
  24965. Likewise.
  24966. * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
  24967. Likewise.
  24968. * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
  24969. * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
  24970. * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
  24971. * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
  24972. * nptl/sem_close.c (sem_close): Likewise.
  24973. * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
  24974. * nptl/sem_init.c (__old_sem_init): Likewise.
  24975. * nptl/sigaction.c (__sigaction): Likewise.
  24976. * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
  24977. * posix/_exit.c (_exit): Likewise.
  24978. * posix/alarm.c (alarm): Likewise.
  24979. * posix/confstr.c (confstr): Likewise.
  24980. * posix/fpathconf.c (__fpathconf): Likewise.
  24981. * posix/getgroups.c (__getgroups): Likewise.
  24982. * posix/getpgid.c (__getpgid): Likewise.
  24983. * posix/group_member.c (__group_member): Likewise.
  24984. * posix/pathconf.c (__pathconf): Likewise.
  24985. * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
  24986. * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
  24987. * posix/setgid.c (__setgid): Likewise.
  24988. * posix/setpgid.c (__setpgid): Likewise.
  24989. * posix/setuid.c (__setuid): Likewise.
  24990. * posix/sleep.c (__sleep): Likewise.
  24991. * posix/sysconf.c (__sysconf): Likewise.
  24992. * posix/times.c (__times): Likewise.
  24993. * posix/uname.c (__uname): Likewise.
  24994. * posix/waitid.c (__waitid): Likewise.
  24995. * pwd/getpw.c (__getpw): Likewise.
  24996. * resolv/base64.c (b64_pton): Likewise.
  24997. * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
  24998. * resolv/gethnamaddr.c (Dprintf): Likewise.
  24999. (gethostbyname): Likewise.
  25000. (gethostbyname2): Likewise.
  25001. (gethostbyaddr): Likewise.
  25002. (_sethtent): Likewise.
  25003. (_gethtbyname): Likewise.
  25004. (_gethtbyname2): Likewise.
  25005. (_gethtbyaddr): Likewise.
  25006. (map_v4v6_address): Likewise.
  25007. (map_v4v6_hostent): Likewise.
  25008. (addrsort): Likewise.
  25009. (ht_sethostent): Likewise.
  25010. (ht_gethostbyname): Likewise.
  25011. (ht_gethostbyaddr): Likewise.
  25012. * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
  25013. (inet_net_ntop_ipv4): Likewise.
  25014. * resolv/inet_neta.c (inet_neta): Likewise.
  25015. * resolv/inet_ntop.c (inet_ntop): Likewise.
  25016. (inet_ntop4): Likewise.
  25017. (inet_ntop6): Likewise.
  25018. * resolv/inet_pton.c (__inet_pton): Likewise.
  25019. (inet_pton4): Likewise.
  25020. (inet_pton6): Likewise.
  25021. * resolv/res_debug.c (loc_aton): Likewise.
  25022. (loc_ntoa): Likewise.
  25023. * resource/getpriority.c (__getpriority): Likewise.
  25024. * resource/getrusage.c (__getrusage): Likewise.
  25025. * resource/nice.c (nice): Likewise.
  25026. * resource/setpriority.c (__setpriority): Likewise.
  25027. * resource/setrlimit64.c (setrlimit64): Likewise.
  25028. * resource/vlimit.c (vlimit): Likewise.
  25029. * resource/vtimes.c (vtimes): Likewise.
  25030. * rt/aio_error.c (aio_error): Likewise.
  25031. * rt/aio_return.c (aio_return): Likewise.
  25032. * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
  25033. * signal/kill.c (__kill): Likewise.
  25034. * signal/killpg.c (killpg): Likewise.
  25035. * signal/raise.c (raise): Likewise.
  25036. * signal/sigaction.c (__sigaction): Likewise.
  25037. * signal/sigaddset.c (sigaddset): Likewise.
  25038. * signal/sigaltstack.c (sigaltstack): Likewise.
  25039. * signal/sigandset.c (sigandset): Likewise.
  25040. * signal/sigblock.c (__sigblock): Likewise.
  25041. * signal/sigdelset.c (sigdelset): Likewise.
  25042. * signal/sigempty.c (sigemptyset): Likewise.
  25043. * signal/sigfillset.c (sigfillset): Likewise.
  25044. * signal/sighold.c (sighold): Likewise.
  25045. * signal/sigignore.c (sigignore): Likewise.
  25046. * signal/sigintr.c (siginterrupt): Likewise.
  25047. * signal/sigisempty.c (sigisemptyset): Likewise.
  25048. * signal/sigismem.c (sigismember): Likewise.
  25049. * signal/signal.c (signal): Likewise.
  25050. * signal/sigorset.c (sigorset): Likewise.
  25051. * signal/sigpause.c (__sigpause): Likewise.
  25052. * signal/sigpending.c (sigpending): Likewise.
  25053. * signal/sigprocmask.c (__sigprocmask): Likewise.
  25054. * signal/sigrelse.c (sigrelse): Likewise.
  25055. * signal/sigreturn.c (__sigreturn): Likewise.
  25056. * signal/sigset.c (sigset): Likewise.
  25057. * signal/sigsetmask.c (__sigsetmask): Likewise.
  25058. * signal/sigstack.c (sigstack): Likewise.
  25059. * signal/sigsuspend.c (__sigsuspend): Likewise.
  25060. * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
  25061. * signal/sysv_signal.c (__sysv_signal): Likewise.
  25062. * socket/accept.c (accept): Likewise.
  25063. * socket/accept4.c (__libc_accept4): Likewise.
  25064. * socket/bind.c (__bind): Likewise.
  25065. * socket/connect.c (__connect): Likewise.
  25066. * socket/getpeername.c (getpeername): Likewise.
  25067. * socket/getsockname.c (__getsockname): Likewise.
  25068. * socket/getsockopt.c (getsockopt): Likewise.
  25069. * socket/listen.c (__listen): Likewise.
  25070. * socket/recv.c (__recv): Likewise.
  25071. * socket/recvmsg.c (__recvmsg): Likewise.
  25072. * socket/send.c (__send): Likewise.
  25073. * socket/sendmsg.c (__sendmsg): Likewise.
  25074. * socket/shutdown.c (shutdown): Likewise.
  25075. * socket/sockatmark.c (sockatmark): Likewise.
  25076. * socket/socket.c (__socket): Likewise.
  25077. * stdio-common/ctermid.c (ctermid): Likewise.
  25078. * stdio-common/cuserid.c (cuserid): Likewise.
  25079. * stdio-common/printf-prs.c (parse_printf_format): Likewise.
  25080. * stdio-common/remove.c (remove): Likewise.
  25081. * stdio-common/rename.c (rename): Likewise.
  25082. * stdio-common/renameat.c (renameat): Likewise.
  25083. * stdio-common/tempname.c (__gen_tempname): Likewise.
  25084. * stdio-common/xbug.c (InitBuffer): Likewise.
  25085. (AppendToBuffer): Likewise.
  25086. (ReadFile): Likewise.
  25087. * stdlib/a64l.c (a64l): Likewise.
  25088. * stdlib/drand48_r.c (drand48_r): Likewise.
  25089. * stdlib/getcontext.c (getcontext): Likewise.
  25090. * stdlib/getenv.c (getenv): Likewise.
  25091. * stdlib/l64a.c (l64a): Likewise.
  25092. * stdlib/llabs.c (llabs): Likewise.
  25093. * stdlib/lldiv.c (lldiv): Likewise.
  25094. * stdlib/lrand48_r.c (lrand48_r): Likewise.
  25095. * stdlib/mrand48_r.c (mrand48_r): Likewise.
  25096. * stdlib/putenv.c (putenv): Likewise.
  25097. * stdlib/random.c (__srandom): Likewise.
  25098. (__initstate): Likewise.
  25099. (__setstate): Likewise.
  25100. * stdlib/random_r.c (__srandom_r): Likewise.
  25101. (__setstate_r): Likewise.
  25102. (__random_r): Likewise.
  25103. * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
  25104. * stdlib/setcontext.c (setcontext): Likewise.
  25105. * stdlib/setenv.c (setenv): Likewise.
  25106. (unsetenv): Likewise.
  25107. * stdlib/srand48.c (srand48): Likewise.
  25108. * stdlib/srand48_r.c (__srand48_r): Likewise.
  25109. * stdlib/swapcontext.c (swapcontext): Likewise.
  25110. * stdlib/system.c (__libc_system): Likewise.
  25111. * stdlib/tst-strtod.c (expand): Likewise.
  25112. * stdlib/tst-strtol.c (expand): Likewise.
  25113. * stdlib/tst-strtoll.c (expand): Likewise.
  25114. * streams/fattach.c (fattach): Likewise.
  25115. * streams/fdetach.c (fdetach): Likewise.
  25116. * streams/getmsg.c (getmsg): Likewise.
  25117. * streams/isastream.c (isastream): Likewise.
  25118. * string/ffs.c (__ffs): Likewise.
  25119. * string/ffsll.c (ffsll): Likewise.
  25120. * string/memcmp.c (memcmp_common_alignment): Likewise.
  25121. (memcmp_not_common_alignment): Likewise.
  25122. (MEMCMP): Likewise.
  25123. * string/memcpy.c (memcpy): Likewise.
  25124. * string/memmove.c (MEMMOVE): Likewise.
  25125. * string/memset.c (memset): Likewise.
  25126. * string/rawmemchr.c (RAWMEMCHR): Likewise.
  25127. * string/strchrnul.c (STRCHRNUL): Likewise.
  25128. * string/strerror.c (strerror): Likewise.
  25129. * string/strndup.c (__strndup): Likewise.
  25130. * string/strverscmp.c (__strverscmp): Likewise.
  25131. * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
  25132. * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
  25133. (clnttcp_freeres): Likewise.
  25134. * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
  25135. * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
  25136. * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
  25137. * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
  25138. * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
  25139. (xdr_callhdr): Likewise.
  25140. * sunrpc/rpcinfo.c (udpping): Likewise.
  25141. (tcpping): Likewise.
  25142. (pstatus): Likewise.
  25143. (pmapdump): Likewise.
  25144. (brdcst): Likewise.
  25145. (deletereg): Likewise.
  25146. (getprognum): Likewise.
  25147. (getvers): Likewise.
  25148. (get_inet_address): Likewise.
  25149. * sunrpc/svc_raw.c (svcraw_recv): Likewise.
  25150. * sunrpc/svc_udp.c (svcudp_create): Likewise.
  25151. (svcudp_stat): Likewise.
  25152. (svcudp_recv): Likewise.
  25153. (svcudp_reply): Likewise.
  25154. (svcudp_getargs): Likewise.
  25155. (svcudp_freeargs): Likewise.
  25156. (svcudp_destroy): Likewise.
  25157. * sunrpc/xdr.c (xdr_bytes): Likewise.
  25158. (xdr_netobj): Likewise.
  25159. (xdr_string): Likewise.
  25160. (xdr_wrapstring): Likewise.
  25161. * sunrpc/xdr_float.c (xdr_float): Likewise.
  25162. (xdr_double): Likewise.
  25163. * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
  25164. * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
  25165. * sysvipc/ftok.c (ftok): Likewise.
  25166. * sysvipc/msgctl.c (msgctl): Likewise.
  25167. * sysvipc/msgget.c (msgget): Likewise.
  25168. * sysvipc/msgrcv.c (msgrcv): Likewise.
  25169. * sysvipc/msgsnd.c (msgsnd): Likewise.
  25170. * sysvipc/semget.c (semget): Likewise.
  25171. * sysvipc/semop.c (semop): Likewise.
  25172. * sysvipc/shmat.c (shmat): Likewise.
  25173. * sysvipc/shmctl.c (shmctl): Likewise.
  25174. * sysvipc/shmdt.c (shmdt): Likewise.
  25175. * sysvipc/shmget.c (shmget): Likewise.
  25176. * termios/cfmakeraw.c (cfmakeraw): Likewise.
  25177. * termios/speed.c (cfgetospeed): Likewise.
  25178. (cfgetispeed): Likewise.
  25179. (cfsetospeed): Likewise.
  25180. (cfsetispeed): Likewise.
  25181. * termios/tcflow.c (tcflow): Likewise.
  25182. * termios/tcflush.c (tcflush): Likewise.
  25183. * termios/tcgetattr.c (__tcgetattr): Likewise.
  25184. * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
  25185. * termios/tcgetsid.c (tcgetsid): Likewise.
  25186. * termios/tcsendbrk.c (tcsendbreak): Likewise.
  25187. * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
  25188. * time/adjtime.c (__adjtime): Likewise.
  25189. * time/dysize.c (dysize): Likewise.
  25190. * time/ftime.c (ftime): Likewise.
  25191. * time/getitimer.c (__getitimer): Likewise.
  25192. * time/gettimeofday.c (__gettimeofday): Likewise.
  25193. * time/gmtime.c (__gmtime_r): Likewise.
  25194. (gmtime): Likewise.
  25195. * time/localtime.c (__localtime_r): Likewise.
  25196. (localtime): Likewise.
  25197. * time/offtime.c (__offtime): Likewise.
  25198. * time/settimeofday.c (__settimeofday): Likewise.
  25199. * time/stime.c (stime): Likewise.
  25200. * time/strftime_l.c (tm_diff): Likewise.
  25201. (iso_week_days): Likewise.
  25202. * time/strptime.c (strptime): Likewise.
  25203. * time/time.c (time): Likewise.
  25204. * time/timespec_get.c (timespec_get): Likewise.
  25205. * time/tzset.c (tzset_internal): Likewise.
  25206. (compute_change): Likewise.
  25207. (__tz_compute): Likewise.
  25208. * wcsmbs/btowc.c (__btowc): Likewise.
  25209. * wcsmbs/mbrlen.c (__mbrlen): Likewise.
  25210. * wcsmbs/mbsinit.c (__mbsinit): Likewise.
  25211. * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
  25212. * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
  25213. * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
  25214. * wcsmbs/wcscat.c (__wcscat): Likewise.
  25215. * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
  25216. * wcsmbs/wcscmp.c (WCSCMP): Likewise.
  25217. * wcsmbs/wcscpy.c (WCSCPY): Likewise.
  25218. * wcsmbs/wcscspn.c (wcscspn): Likewise.
  25219. * wcsmbs/wcsdup.c (wcsdup): Likewise.
  25220. * wcsmbs/wcslen.c (__wcslen): Likewise.
  25221. * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
  25222. * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
  25223. * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
  25224. * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
  25225. * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
  25226. * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
  25227. * wcsmbs/wcsspn.c (wcsspn): Likewise.
  25228. * wcsmbs/wcsstr.c (wcsstr): Likewise.
  25229. * wcsmbs/wcstok.c (wcstok): Likewise.
  25230. * wcsmbs/wctob.c (wctob): Likewise.
  25231. * wcsmbs/wmemchr.c (__wmemchr): Likewise.
  25232. * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
  25233. * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
  25234. * wcsmbs/wmemmove.c (__wmemmove): Likewise.
  25235. * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
  25236. * wcsmbs/wmemset.c (__wmemset): Likewise.
  25237. * wctype/wcfuncs.c (__towlower): Likewise.
  25238. (__towupper): Likewise.
  25239. * sysdeps/unix/sysv/linux/i386/lowlevellock.h
  25240. (lll_unlock_elision): Add adapt_count parameter.
  25241. 2015-10-15 Joseph Myers <joseph@codesourcery.com>
  25242. * sysdeps/nptl/configure.ac: Do not give errors based on the
  25243. results of top-level configure tests.
  25244. * sysdeps/nptl/configure: Regenerated.
  25245. * configure.ac (libc_cv_Bgroup): Remove configure test.
  25246. * configure: Regenerated.
  25247. * config.make.in (have-Bgroup): Remove variable.
  25248. * configure.ac (sizeof_long_double): Remove configure test.
  25249. * configure: Regenerated.
  25250. * config.make.in (sizeof-long-double): Remove variable.
  25251. * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
  25252. * configure: Regenerated.
  25253. * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
  25254. variable.
  25255. (exceptions): Likewise.
  25256. * sysdeps/arm/configure: Regenerated.
  25257. * config.make.in (exceptions): Remove variable.
  25258. * Makeconfig (uses-callbacks): Use -fexceptions instead of
  25259. $(exceptions).
  25260. * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
  25261. (CFLAGS-vdprintf_chk.c): Likewise.
  25262. (CFLAGS-printf_chk.c): Likewise.
  25263. (CFLAGS-fprintf_chk.c): Likewise.
  25264. (CFLAGS-vprintf_chk.c): Likewise.
  25265. (CFLAGS-vfprintf_chk.c): Likewise.
  25266. (CFLAGS-gets_chk.c): Likewise.
  25267. (CFLAGS-fgets_chk.c): Likewise.
  25268. (CFLAGS-fgets_u_chk.c): Likewise.
  25269. (CFLAGS-fread_chk.c): Likewise.
  25270. (CFLAGS-fread_u_chk.c): Likewise.
  25271. (CFLAGS-wprintf_chk.c): Likewise.
  25272. (CFLAGS-fwprintf_chk.c): Likewise.
  25273. (CFLAGS-vwprintf_chk.c): Likewise.
  25274. (CFLAGS-vfwprintf_chk.c): Likewise.
  25275. (CFLAGS-fgetws_chk.c): Likewise.
  25276. (CFLAGS-fgetws_u_chk.c): Likewise.
  25277. * libio/Makefile (CFLAGS-fileops.c): Likewise.
  25278. (CFLAGS-fputc.c): Likewise.
  25279. (CFLAGS-fputwc.c): Likewise.
  25280. (CFLAGS-freopen64.c): Likewise.
  25281. (CFLAGS-freopen.c): Likewise.
  25282. (CFLAGS-fseek.c): Likewise.
  25283. (CFLAGS-fseeko64.c): Likewise.
  25284. (CFLAGS-fseeko.c): Likewise.
  25285. (CFLAGS-ftello64.c): Likewise.
  25286. (CFLAGS-ftello.c): Likewise.
  25287. (CFLAGS-fwide.c): Likewise.
  25288. (CFLAGS-genops.c): Likewise.
  25289. (CFLAGS-getc.c): Likewise.
  25290. (CFLAGS-getchar.c): Likewise.
  25291. (CFLAGS-getwc.c): Likewise.
  25292. (CFLAGS-getwchar.c): Likewise.
  25293. (CFLAGS-iofclose.c): Likewise.
  25294. (CFLAGS-iofflush.c): Likewise.
  25295. (CFLAGS-iofgetpos64.c): Likewise.
  25296. (CFLAGS-iofgetpos.c): Likewise.
  25297. (CFLAGS-iofgets.c): Likewise.
  25298. (CFLAGS-iofgetws.c): Likewise.
  25299. (CFLAGS-iofputs.c): Likewise.
  25300. (CFLAGS-iofputws.c): Likewise.
  25301. (CFLAGS-iofread.c): Likewise.
  25302. (CFLAGS-iofsetpos64.c): Likewise.
  25303. (CFLAGS-iofsetpos.c): Likewise.
  25304. (CFLAGS-ioftell.c): Likewise.
  25305. (CFLAGS-iofwrite.c): Likewise.
  25306. (CFLAGS-iogetdelim.c): Likewise.
  25307. (CFLAGS-iogetline.c): Likewise.
  25308. (CFLAGS-iogets.c): Likewise.
  25309. (CFLAGS-iogetwline.c): Likewise.
  25310. (CFLAGS-ioputs.c): Likewise.
  25311. (CFLAGS-ioseekoff.c): Likewise.
  25312. (CFLAGS-ioseekpos.c): Likewise.
  25313. (CFLAGS-iosetbuffer.c): Likewise.
  25314. (CFLAGS-iosetvbuf.c): Likewise.
  25315. (CFLAGS-ioungetc.c): Likewise.
  25316. (CFLAGS-ioungetwc.c): Likewise.
  25317. (CFLAGS-oldfileops.c): Likewise.
  25318. (CFLAGS-oldiofclose.c): Likewise.
  25319. (CFLAGS-oldiofgetpos64.c): Likewise.
  25320. (CFLAGS-oldiofgetpos.c): Likewise.
  25321. (CFLAGS-oldiofsetpos64.c): Likewise.
  25322. (CFLAGS-oldiofsetpos.c): Likewise.
  25323. (CFLAGS-peekc.c): Likewise.
  25324. (CFLAGS-putc.c): Likewise.
  25325. (CFLAGS-putchar.c): Likewise.
  25326. (CFLAGS-putwc.c): Likewise.
  25327. (CFLAGS-putwchar.c): Likewise.
  25328. (CFLAGS-rewind.c): Likewise.
  25329. (CFLAGS-wfileops.c): Likewise.
  25330. (CFLAGS-wgenops.c): Likewise.
  25331. (CFLAGS-oldiofopen.c): Likewise.
  25332. (CFLAGS-iofopen.c): Likewise.
  25333. (CFLAGS-iofopen64.c): Likewise.
  25334. (CFLAGS-oldtmpfile.c): Likewise.
  25335. * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
  25336. (CFLAGS-fprintf.c): Likewise.
  25337. (CFLAGS-printf.c): Likewise.
  25338. (CFLAGS-vfwprintf.c): Likewise.
  25339. (CFLAGS-vfscanf.c): Likewise.
  25340. (CFLAGS-vfwscanf.c): Likewise.
  25341. (CFLAGS-fscanf.c): Likewise.
  25342. (CFLAGS-scanf.c): Likewise.
  25343. (CFLAGS-isoc99_vfscanf.c): Likewise.
  25344. (CFLAGS-isoc99_vscanf.c): Likewise.
  25345. (CFLAGS-isoc99_fscanf.c): Likewise.
  25346. (CFLAGS-isoc99_scanf.c): Likewise.
  25347. * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
  25348. (CFLAGS-isoc99_fwscanf.c): Likewise.
  25349. (CFLAGS-isoc99_vwscanf.c): Likewise.
  25350. (CFLAGS-isoc99_vfwscanf.c): Likewise.
  25351. * io/test-lfs.c (do_prepare): Do not call add_temp_file until
  25352. after mkstemp64.
  25353. * login/tst-utmp.c (do_prepare): Likewise.
  25354. * rt/tst-aio.c (do_prepare): Likewise.
  25355. * rt/tst-aio64.c (do_prepare): Likewise.
  25356. 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  25357. * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
  25358. (__lll_lock_elision): Remove adapt_count decrement...
  25359. * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
  25360. (__lll_trylock_elision): Likewise.
  25361. * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
  25362. (__lll_unlock_elision): ... to here. And utilize
  25363. new adapt_count parameter.
  25364. * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
  25365. (__lll_unlock_elision): Update to include adapt_count
  25366. parameter.
  25367. (lll_unlock_elision): Pass pointer to adapt_count
  25368. variable.
  25369. 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  25370. * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
  25371. Add elision adapt_count parameter to list of arguments.
  25372. * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
  25373. (lll_unlock_elision): Update with new parameter list
  25374. * sysdeps/unix/sysv/linux/s390/lowlevellock.h
  25375. (lll_unlock_elision): Likewise.
  25376. * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
  25377. (lll_unlock_elision): Likewise.
  25378. 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
  25379. [BZ #19122]
  25380. * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
  25381. attribute_hidden.
  25382. * include/string.h [IS_IN (rtld)] (__stpcpy): Add
  25383. attribute_hidden.
  25384. [IS_IN (rtld)] (__strdup): Likewise.
  25385. [IS_IN (rtld)] (__strerror_r): Likewise.
  25386. [IS_IN (rtld)] (__strsep_g): Likewise.
  25387. [IS_IN (rtld)] (memchr): Likewise.
  25388. [IS_IN (rtld)] (memcmp): Likewise.
  25389. [IS_IN (rtld)] (memcpy): Likewise.
  25390. [IS_IN (rtld)] (memmove): Likewise.
  25391. [IS_IN (rtld)] (memset): Likewise.
  25392. [IS_IN (rtld)] (rawmemchr): Likewise.
  25393. [IS_IN (rtld)] (stpcpy): Likewise.
  25394. [IS_IN (rtld)] (strchr): Likewise.
  25395. [IS_IN (rtld)] (strcmp): Likewise.
  25396. [IS_IN (rtld)] (strlen): Likewise.
  25397. [IS_IN (rtld)] (strnlen): Likewise.
  25398. [IS_IN (rtld)] (strsep): Likewise.
  25399. * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
  25400. attribute_hidden.
  25401. [IS_IN (rtld)] (__strtoul_internal): Likewise.
  25402. * include/signal.h [IS_IN (rtld)] (__sigaction): Add
  25403. attribute_hidden.
  25404. [IS_IN (rtld)] (__libc_sigaction): Likewise.
  25405. * include/setjmp.h (__longjmp): Add attribute_hidden.
  25406. [IS_IN (rtld)] (__sigsetjmp): Likewise.
  25407. * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
  25408. Add attribute_hidden.
  25409. * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
  25410. [IS_IN (rtld)] (__open): Likewise.
  25411. [IS_IN (rtld)] (__fcntl): Likewise.
  25412. * include/dirent.h (__opendirat): Add attribute_hidden.
  25413. (__getdents): Likewise.
  25414. (__getdents64): Likewise.
  25415. (__alloc_dir): Likewise.
  25416. [IS_IN (rtld)] (__closedir): Likewise.
  25417. [IS_IN (rtld)] (__fdopendir): Likewise.
  25418. [IS_IN (rtld)] (__readdir): Likewise.
  25419. [IS_IN (rtld)] (__readdir64): Likewise.
  25420. [IS_IN (rtld)] (__rewinddir): Likewise.
  25421. * include/dlfcn.h (_dl_catch_error): Moved to ...
  25422. * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
  25423. attribute_hidden.
  25424. * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
  25425. (_itoa_word): Likewise.
  25426. * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
  25427. * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
  25428. * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
  25429. * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
  25430. (_dl_higher_prime_number): Likewise.
  25431. (_dl_debug_printf_c): Likewise.
  25432. (_dl_signal_cerror): Likewise.
  25433. (_dl_receive_error): Likewise.
  25434. (_dl_reloc_bad_type): Likewise.
  25435. (_dl_resolve_conflicts): Likewise.
  25436. (_dl_check_all_versions): Likewise.
  25437. (_dl_check_map_versions): Likewise.
  25438. (_dl_sort_fini): Likewise.
  25439. (_dl_debug_initialize): Likewise.
  25440. (_dl_init_paths): Likewise.
  25441. (_dl_show_auxv): Likewise.
  25442. (_dl_next_ld_env_entry): Likewise.
  25443. (_dl_important_hwcaps): Likewise.
  25444. (_dl_load_cache_lookup): Likewise.
  25445. (_dl_update_slotinfo): Likewise.
  25446. (_dl_show_scope): Likewise.
  25447. * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
  25448. attribute_hidden.
  25449. (_wordcopy_fwd_dest_aligned): Likewise.
  25450. (_wordcopy_bwd_aligned): Likewise.
  25451. (_wordcopy_bwd_dest_aligned): Likewise.
  25452. * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
  25453. * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
  25454. Likewise.
  25455. * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
  25456. Likewise.
  25457. * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
  25458. 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
  25459. * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
  25460. GCC 5 requirement.
  25461. 2015-10-15 Joseph Myers <joseph@codesourcery.com>
  25462. * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
  25463. test.
  25464. * sysdeps/i386/configure: Regenerated.
  25465. * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
  25466. code unconditional.
  25467. * configure.ac (libc_cv_asm_previous_directive): Remove configure
  25468. test.
  25469. (libc_cv_asm_popsection_directive): Likewise.
  25470. * configure: Regenerated.
  25471. * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
  25472. (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
  25473. * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
  25474. (__make_section_unallocated): Make definition unconditional.
  25475. [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
  25476. Remove conditional definition.
  25477. [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
  25478. (__make_section_unallocated): Likewise.
  25479. * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
  25480. * configure: Regenerated.
  25481. * config.make.in (static-libgcc): Remove variable.
  25482. * Makerules (build-shlib-helper): Use -static-libgcc instead of
  25483. $(static-libgcc).
  25484. (build-module-helper): Likewise.
  25485. * configure.ac (libc_cv_friendly_stddef): Remove configure test.
  25486. * configure: Regenerated.
  25487. 2015-10-15 Florian Weimer <fweimer@redhat.com>
  25488. * stdio-common/vfscanf.c (MEMCPY): Remove macro.
  25489. (struct char_buffer): New type.
  25490. (char_buffer_start, char_buffer_size, char_buffer_error)
  25491. (char_buffer_rewind, char_buffer_add): New functions.
  25492. (ADDW): Remove macro, replaced by the char_buffer_add function.
  25493. (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
  25494. of extend_alloca. Make control flow more explicit.
  25495. 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
  25496. [BZ #19137]
  25497. * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
  25498. Add -fomit-frame-pointer.
  25499. * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
  25500. 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
  25501. * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
  25502. (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
  25503. * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
  25504. only if !__GNUC_PREREQ (5,0).
  25505. (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
  25506. (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
  25507. (INTERNAL_SYSCALL_NCS): Likewise.
  25508. (LOADREGS_0): New macro for GCC 5.
  25509. (ASMARGS_0): Likewise.
  25510. (LOADREGS_1): Likewise.
  25511. (ASMARGS_1): Likewise.
  25512. (LOADREGS_2): Likewise.
  25513. (ASMARGS_2): Likewise.
  25514. (LOADREGS_3): Likewise.
  25515. (ASMARGS_3): Likewise.
  25516. (LOADREGS_4): Likewise.
  25517. (ASMARGS_4): Likewise.
  25518. (LOADREGS_5): Likewise.
  25519. (ASMARGS_5): Likewise.
  25520. (LOADREGS_6): Likewise.
  25521. (ASMARGS_6): Likewise.
  25522. 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
  25523. * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
  25524. -fomit-frame-pointer.
  25525. (CFLAGS-mmap64.c): Likewise.
  25526. (CFLAGS-semtimedop.c): Likewise.
  25527. * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
  25528. * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
  25529. * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
  25530. * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
  25531. 2015-10-15 Florian Weimer <fweimer@redhat.com>
  25532. [BZ #18928]
  25533. * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
  25534. _dl_pointer_guard member.
  25535. * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
  25536. initializer.
  25537. (security_init): Always set up pointer guard.
  25538. (process_envvars): Do not process LD_POINTER_GUARD.
  25539. 2015-10-14 Joseph Myers <joseph@codesourcery.com>
  25540. [BZ #19134]
  25541. * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
  25542. (.LC2): Likewise.
  25543. (.LC3): Likewise.
  25544. (__lround): Do not add 0.5 to integer or out-of-range arguments.
  25545. 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
  25546. [BZ #19129]
  25547. * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
  25548. r0 and r1.
  25549. 2015-10-14 Namhyung Kim <namhyung@gmail.com>
  25550. * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
  25551. 2015-10-14 Carlos O'Donell <carlos@redhat.com>
  25552. * include/stap-probe.h: Fix macro definition formatting.
  25553. 2015-10-14 Florian Weimer <fweimer@redhat.com>
  25554. [BZ #19074]
  25555. * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
  25556. load and store num_ifs.
  25557. 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
  25558. [BZ #18822]
  25559. * sysdeps/unix/sysv/linux/sched_getaffinity.c
  25560. (__sched_getaffinity_new): Add libc_hidden_proto and
  25561. libc_hidden_def.
  25562. 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
  25563. [BZ #19007]
  25564. * scripts/localplt.awk: Also allow GOT references.
  25565. * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
  25566. _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
  25567. with "+ REL R_386_GLOB_DAT".
  25568. * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
  25569. and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
  25570. 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
  25571. * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
  25572. INLINE_SYSCALL_ERROR_RETURN_VALUE.
  25573. * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
  25574. Likewise.
  25575. * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
  25576. * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
  25577. * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
  25578. INTERNAL_SYSCALLINTERNAL_SYSCALL and
  25579. INLINE_SYSCALL_ERROR_RETURN_VALUE.
  25580. * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
  25581. * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
  25582. * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
  25583. Likewise.
  25584. * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
  25585. 2015-10-13 Joseph Myers <joseph@codesourcery.com>
  25586. [BZ #19125]
  25587. * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
  25588. <math_private.h> and <stdint.h>.
  25589. (__llround): Avoid conversions to and from long long int, and
  25590. subtractions, where those might raise spurious exceptions.
  25591. * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
  25592. <math_private.h> and <stdint.h>.
  25593. (__llroundf): Avoid conversions to and from long long int, and
  25594. subtractions, where those might raise spurious exceptions.
  25595. 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
  25596. * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
  25597. INLINE_SYSCALL_ERROR_RETURN_VALUE.
  25598. * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
  25599. * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
  25600. * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
  25601. * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
  25602. * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
  25603. * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
  25604. * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
  25605. * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
  25606. * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
  25607. * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
  25608. * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
  25609. * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
  25610. * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
  25611. * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
  25612. * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
  25613. * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
  25614. * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
  25615. * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
  25616. * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
  25617. * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
  25618. * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
  25619. * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
  25620. * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
  25621. * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
  25622. * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
  25623. * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
  25624. * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
  25625. * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
  25626. (__xstat64_conv): Likewise.
  25627. (__xstat32_conv): Likewise.
  25628. 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
  25629. * sysdeps/unix/sysv/linux/sysdep.h: New file.
  25630. * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
  25631. * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
  25632. <sysdeps/unix/sysv/linux/sysdep.h>.
  25633. * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
  25634. * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
  25635. * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
  25636. * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
  25637. * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
  25638. * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
  25639. * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
  25640. * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
  25641. * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
  25642. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
  25643. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
  25644. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
  25645. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
  25646. * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
  25647. * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
  25648. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
  25649. * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
  25650. (sysdep-dl-routines): Add sysdep.
  25651. [$(subdir) == nptl] (libpthread-routines): Likewise.
  25652. [$(subdir) == rt] (librt-routines): Likewise.
  25653. * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
  25654. PIC when branching to SYSCALL_ERROR_LABEL.
  25655. * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
  25656. * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
  25657. <sysdeps/unix/sysv/linux/sysdep.h>.
  25658. (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
  25659. (SYSCALL_ERROR_ERRNO): Removed.
  25660. (SYSCALL_ERROR_HANDLER): Changed to empty.
  25661. (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
  25662. (__syscall_error): New prototype.
  25663. [IS_IN (libc)] (INLINE_SYSCALL): New macro.
  25664. (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
  25665. 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
  25666. [BZ #19124]
  25667. * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
  25668. (_dl_runtime_resolve_avx512): Make it a hidden alias of
  25669. _dl_runtime_resolve_avx.
  25670. (_dl_runtime_profile_avx512): Make it a hidden alias of
  25671. _dl_runtime_profile_avx.
  25672. 2015-10-13 Joseph Myers <joseph@codesourcery.com>
  25673. * sysdeps/powerpc/fpu/s_llround.c: Move to ....
  25674. * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
  25675. * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
  25676. * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
  25677. [BZ #16422]
  25678. * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
  25679. New configure test.
  25680. * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
  25681. * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
  25682. * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
  25683. <math_private.h> and <stdint.h>.
  25684. (__llrint): Avoid conversions to long long int where those might
  25685. raise spurious exceptions.
  25686. * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
  25687. <math_private.h> and <stdint.h>.
  25688. (__llrintf): Avoid conversions to long long int where those might
  25689. raise spurious exceptions.
  25690. 2015-10-12 Andreas Schwab <schwab@suse.de>
  25691. [BZ #18969]
  25692. * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
  25693. ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
  25694. * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
  25695. ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
  25696. $(gen-locales).
  25697. * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
  25698. ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
  25699. ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
  25700. ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
  25701. ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
  25702. $(gen-locales).
  25703. * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
  25704. ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
  25705. ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
  25706. ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
  25707. ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
  25708. ($(objpfx)tst-ftell-active-handler.out)
  25709. ($(objpfx)tst-ftell-append.out)
  25710. ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
  25711. ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
  25712. ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
  25713. ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
  25714. * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
  25715. ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
  25716. ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
  25717. ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
  25718. ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
  25719. ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
  25720. ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
  25721. ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
  25722. ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
  25723. ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
  25724. ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
  25725. ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
  25726. ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
  25727. ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
  25728. * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
  25729. ($(objpfx)bug14.out, $(objpfx)scanf13.out)
  25730. ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
  25731. ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
  25732. ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
  25733. * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
  25734. ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
  25735. ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
  25736. ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
  25737. $(gen-locales).
  25738. * time/Makefile (LOCALES): Define. Include gen-locales.mk.
  25739. ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
  25740. $(gen-locales).
  25741. * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
  25742. ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
  25743. ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
  25744. ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
  25745. $(gen-locales).
  25746. * libio/tst_wprintf2.c (main): Use explicit locale.
  25747. * wcsmbs/wcsmbs-tst1.c (main): Likewise.
  25748. 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
  25749. * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
  25750. __msg_sig_post.
  25751. * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
  25752. 2015-10-09 Joseph Myers <joseph@codesourcery.com>
  25753. * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
  25754. * sysdeps/mips/mips64/libm-test-ulps: Likewise.
  25755. * sysdeps/arm/libm-test-ulps: Regenerated.
  25756. [BZ #15470]
  25757. * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
  25758. [BZ #16399]
  25759. * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
  25760. * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
  25761. and <fix-fp-int-convert-overflow.h>.
  25762. (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
  25763. FIX_DBL_LLONG_CONVERT_OVERFLOW.
  25764. * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
  25765. and <fix-fp-int-convert-overflow.h>.
  25766. (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
  25767. FIX_DBL_LLONG_CONVERT_OVERFLOW.
  25768. * sysdeps/ieee754/dbl-64/s_lrint.c: Include
  25769. <fix-fp-int-convert-overflow.h>.
  25770. (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
  25771. FIX_DBL_LLONG_CONVERT_OVERFLOW.
  25772. * sysdeps/ieee754/dbl-64/s_lround.c: Include
  25773. <fix-fp-int-convert-overflow.h>.
  25774. (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
  25775. FIX_DBL_LLONG_CONVERT_OVERFLOW.
  25776. * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
  25777. and <fix-fp-int-convert-overflow.h>.
  25778. (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
  25779. FIX_DBL_LLONG_CONVERT_OVERFLOW.
  25780. * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
  25781. <limits.h> and <fix-fp-int-convert-overflow.h>.
  25782. (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
  25783. FIX_DBL_LLONG_CONVERT_OVERFLOW.
  25784. * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
  25785. and <fix-fp-int-convert-overflow.h>.
  25786. (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
  25787. FIX_DBL_LLONG_CONVERT_OVERFLOW.
  25788. * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
  25789. and <fix-fp-int-convert-overflow.h>.
  25790. (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
  25791. FIX_DBL_LLONG_CONVERT_OVERFLOW.
  25792. * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
  25793. 2015-10-09 Carlos O'Donell <carlos@redhat.com>
  25794. [BZ #18589]
  25795. * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
  25796. * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
  25797. $(gen-locales).
  25798. 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  25799. Phil Blundell <pb@pbcl.net>
  25800. * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
  25801. * nptl/tst-cancel26.c: New file.
  25802. * nptl/tst-cancel27.c: Likewise.
  25803. 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
  25804. * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
  25805. __ILP32__ isn't defined.
  25806. (lrint): Likewise.
  25807. * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
  25808. (lrintf): Likewise.
  25809. * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
  25810. (lrintl): Likewise.
  25811. * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
  25812. * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
  25813. * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
  25814. 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  25815. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
  25816. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
  25817. * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
  25818. file.
  25819. * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
  25820. * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
  25821. 2015-10-09 Joseph Myers <joseph@codesourcery.com>
  25822. * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
  25823. configure test.
  25824. * sysdeps/i386/configure: Regenerated.
  25825. * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
  25826. configure test.
  25827. * sysdeps/x86_64/configure: Regenerated.
  25828. * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
  25829. Make code unconditional.
  25830. * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
  25831. test.
  25832. * sysdeps/i386/configure: Regenerated.
  25833. * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
  25834. test.
  25835. * sysdeps/x86_64/configure: Regenerated.
  25836. * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
  25837. Make code unconditional.
  25838. * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
  25839. Likewise.
  25840. * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
  25841. Likewise.
  25842. [!HAVE_FMA4_SUPPORT]: Remove conditional code.
  25843. * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
  25844. code unconditional.
  25845. [!HAVE_FMA4_SUPPORT]: Remove conditional code.
  25846. * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
  25847. code unconditional.
  25848. [!HAVE_FMA4_SUPPORT]: Remove conditional code.
  25849. * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
  25850. code unconditional.
  25851. * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
  25852. code unconditional.
  25853. [!HAVE_FMA4_SUPPORT]: Remove conditional code.
  25854. * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
  25855. code unconditional.
  25856. [!HAVE_FMA4_SUPPORT]: Remove conditional code.
  25857. * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
  25858. code unconditional.
  25859. [!HAVE_FMA4_SUPPORT]: Remove conditional code.
  25860. * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
  25861. code unconditional.
  25862. [!HAVE_FMA4_SUPPORT]: Remove conditional code.
  25863. * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
  25864. code unconditional.
  25865. [!HAVE_FMA4_SUPPORT]: Remove conditional code.
  25866. * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
  25867. [BZ #19095]
  25868. * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
  25869. mantissa to long int before shifting left.
  25870. 2015-10-08 Joseph Myers <joseph@codesourcery.com>
  25871. [BZ #19094]
  25872. * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
  25873. <limits.h>.
  25874. (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
  25875. when result overflows but exception would not result from cast.
  25876. * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
  25877. <limits.h>.
  25878. (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
  25879. when result overflows but exception would not result from cast.
  25880. * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
  25881. <limits.h>.
  25882. (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
  25883. when result overflows but exception would not result from cast.
  25884. * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
  25885. <limits.h>.
  25886. (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
  25887. when result overflows but exception would not result from cast.
  25888. * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
  25889. <limits.h>.
  25890. (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
  25891. when result overflows but exception would not result from cast.
  25892. * math/libm-test.inc (lrint_test_data): Add more tests.
  25893. (llrint_test_data): Likewise.
  25894. 2015-10-08 Roland McGrath <roland@hack.frob.com>
  25895. [BZ #18872]
  25896. * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
  25897. Move out from under [$(run-built-tests) = yes] conditional.
  25898. ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
  25899. ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
  25900. 2015-10-08 Carlos O'Donell <carlos@redhat.com>
  25901. [BZ #18589]
  25902. * string/Makefile (tests): Add bug-strcoll2.
  25903. (LOCALES): Add cs_CZ.UTF-8.
  25904. * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
  25905. [BZ #18589]
  25906. * string/bug-strcoll2.c: New file.
  25907. * locale/categories.def: Revert commit
  25908. f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
  25909. * locale/langinfo.h: Likewise.
  25910. * locale/localeinfo.h: Likewise.
  25911. * locale/C-collate.c: Likewise.
  25912. * locale/programs/ld-collate.c (collate_output): Likewise.
  25913. * string/strcoll_l.c (STRDIFF): Likewise.
  25914. (STRCOLL): Likewise.
  25915. * wcsmbs/wcscoll_l.c: Likewise.
  25916. 2015-10-08 Joseph Myers <joseph@codesourcery.com>
  25917. * math/libm-test.inc (lround_test_data): Do not expect the absence
  25918. of "inexact" for some tests with non-integer arguments.
  25919. (llround_test_data): Likewise.
  25920. * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
  25921. test.
  25922. (libc_cv_cc_sse2avx): Likewise.
  25923. * sysdeps/i386/configure: Regenerated.
  25924. * sysdeps/i386/i686/multiarch/Makefile
  25925. [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
  25926. [$(subdir) = math].
  25927. * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
  25928. code unconditional.
  25929. * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
  25930. Likewise.
  25931. * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
  25932. Likewise.
  25933. * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
  25934. Likewise.
  25935. * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
  25936. test.
  25937. (libc_cv_cc_sse2avx): Likewise.
  25938. * sysdeps/x86_64/configure: Regenerated.
  25939. * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
  25940. unconditional.
  25941. * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
  25942. [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
  25943. unconditional.
  25944. (_dl_runtime_profile)
  25945. [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
  25946. conditional code.
  25947. * sysdeps/x86_64/fpu/multiarch/Makefile
  25948. [$(config-cflags-sse2avx) = yes]: Make code unconditional.
  25949. * sysdeps/x86_64/fpu/multiarch/e_atan2.c
  25950. [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
  25951. * sysdeps/x86_64/fpu/multiarch/e_exp.c
  25952. [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
  25953. * sysdeps/x86_64/fpu/multiarch/e_log.c
  25954. [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
  25955. * sysdeps/x86_64/fpu/multiarch/s_atan.c
  25956. [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
  25957. * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
  25958. Likewise.
  25959. * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
  25960. Likewise.
  25961. * sysdeps/x86_64/fpu/multiarch/s_sin.c
  25962. [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
  25963. * sysdeps/x86_64/fpu/multiarch/s_tan.c
  25964. [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
  25965. * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
  25966. * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
  25967. (HAVE_SSE2AVX_SUPPORT): Likewise.
  25968. 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
  25969. * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
  25970. instead of #pragma optimize.
  25971. 2015-10-07 Carlos O'Donell <carlos@redhat.com>
  25972. [BZ #17195]
  25973. * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
  25974. as is similarly done in systrim and _int_free already.
  25975. 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
  25976. * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
  25977. 2015-10-07 Joseph Myers <joseph@codesourcery.com>
  25978. [BZ #19088]
  25979. * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
  25980. <limits.h>.
  25981. (__lround) [FE_INVALID]: Force FE_INVALID exception when result
  25982. overflows but exception would not result from cast.
  25983. * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
  25984. and <limits.h>.
  25985. (__lround) [FE_INVALID]: Force FE_INVALID exception when result
  25986. overflows but exception would not result from cast.
  25987. * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
  25988. <limits.h>.
  25989. (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
  25990. overflows but exception would not result from cast.
  25991. * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
  25992. <limits.h>.
  25993. (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
  25994. overflows but exception would not result from cast.
  25995. * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
  25996. <limits.h>.
  25997. (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
  25998. overflows but exception would not result from cast.
  25999. * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
  26000. <limits.h>.
  26001. (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
  26002. overflows but exception would not result from cast.
  26003. * math/libm-test.inc (lround_test_data): Add more tests.
  26004. (llround_test_data): Likewise.
  26005. 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
  26006. * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
  26007. (CFLAGS-ialloc.c): Ditto.
  26008. (CFLAGS-scheck.c): Ditto.
  26009. 2015-10-07 Carlos O'Donell <carlos@redhat.com>
  26010. [BZ #19086]
  26011. * manual/filesys.texi (Storage Allocation): Fix argument order for
  26012. posix_fallocate64.
  26013. 2015-10-07 Joseph Myers <joseph@codesourcery.com>
  26014. [BZ #19085]
  26015. * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
  26016. exponent below 48 inside case for non-overflowing exponent.
  26017. * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
  26018. 2015-10-07 Florian Weimer <fweimer@redhat.com>
  26019. * iconvdata/cp737.h (from_idx): Add const.
  26020. * iconvdata/cp775.h (from_idx): Likewise.
  26021. 2015-10-07 Joseph Myers <joseph@codesourcery.com>
  26022. * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
  26023. * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
  26024. (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
  26025. [BZ #19079]
  26026. * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
  26027. file, conditioned on [!_LP64].
  26028. * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
  26029. [!_LP64] (__lround): Do not define as function or alias.
  26030. [!_LP64] (lround): Likewise.
  26031. [!_LP64] (__lroundl): Likewise.
  26032. [!_LP64] (lroundl): Likewise.
  26033. * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
  26034. macro.
  26035. * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
  26036. Likewise.
  26037. 2015-10-06 Joseph Myers <joseph@codesourcery.com>
  26038. * math/libm-test.inc (lrint_test_data): Add more tests.
  26039. (llrint_test_data): Likewise.
  26040. (lround_test_data): Likewise.
  26041. (llround_test_data): Likewise.
  26042. * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
  26043. (llrint_test_data): Add tests used for lrint.
  26044. * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
  26045. test.
  26046. * sysdeps/i386/configure: Regenerated.
  26047. * sysdeps/i386/i686/multiarch/Makefile
  26048. [$(config-cflags-sse4) = yes]: Make code unconditional.
  26049. * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
  26050. Likewise.
  26051. * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
  26052. Likewise.
  26053. * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
  26054. test.
  26055. * sysdeps/x86_64/configure: Regenerated.
  26056. * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
  26057. Make code unconditional.
  26058. * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
  26059. Likewise.
  26060. * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
  26061. * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
  26062. * scripts/rpm2dynsym.sh: Remove file.
  26063. 2015-10-06 Florian Weimer <fweimer@redhat.com>
  26064. * configure.ac (libc_cv_cxx_thread_local): Define.
  26065. * configure: Regenerate.
  26066. * config.make.in (have-cxx-thread_local): Define.
  26067. * nptl/Makefile (CFLAGS-tst-thread_local1.o):
  26068. (LDLIBS-tst-thread_local1): Define.
  26069. (tests): Add tst-thread_local1.
  26070. [have-cxx-thread_local != yes] (tests-unsupported): Add
  26071. tst-thread_local1.
  26072. * nptl/tst-thread_local1.cc: New file.
  26073. 2015-10-06 Joseph Myers <joseph@codesourcery.com>
  26074. [BZ #19078]
  26075. * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
  26076. (u_thres): Likewise.
  26077. (__expl): Determine whether to call __kernel_standard_l based on
  26078. value of result, not argument.
  26079. * math/libm-test.inc (scalb_test_data): Add more expectations for
  26080. the "inexact" exception.
  26081. [BZ #19077]
  26082. * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
  26083. 0.0L for argument 1.0L.
  26084. [BZ #19076]
  26085. * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
  26086. constant 0.0L when computing infinite result.
  26087. 2015-10-06 Florian Weimer <fweimer@redhat.com>
  26088. [BZ #10432]
  26089. * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
  26090. malloc_usable_size.
  26091. 2015-10-06 Florian Weimer <fweimer@redhat.com>
  26092. [BZ #19018]
  26093. * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
  26094. Mangle function pointer before storing it.
  26095. (__call_tls_dtors): Demangle function pointer before calling it.
  26096. 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
  26097. [BZ #19012]
  26098. * iconv/gconv_db.c (gen_steps): Check for additional errors.
  26099. Clean up on failure.
  26100. 2015-10-05 Joseph Myers <joseph@codesourcery.com>
  26101. [BZ #19071]
  26102. * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
  26103. long int variable to store possibly incremented high part of
  26104. mantissa.
  26105. * math/libm-test.inc (lround_test_data): Add tests used for
  26106. llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
  26107. for tests requiring 64-bit long. Do not condition tests on
  26108. [TEST_FLOAT] unnecessarily.
  26109. (llround_test_data): Add tests used for lround. Add another
  26110. expectation for the "inexact" exception. Do not condition tests
  26111. on [TEST_FLOAT] unnecessarily.
  26112. [BZ #887]
  26113. [BZ #19049]
  26114. [BZ #19050]
  26115. * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
  26116. * sysdeps/ieee754/dbl-64/e_log10.c: Include
  26117. <fix-int-fp-convert-zero.h>.
  26118. (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
  26119. * sysdeps/ieee754/dbl-64/e_log2.c: Include
  26120. <fix-int-fp-convert-zero.h>.
  26121. (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
  26122. * sysdeps/ieee754/dbl-64/s_erf.c: Include
  26123. <fix-int-fp-convert-zero.h>.
  26124. (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
  26125. * sysdeps/ieee754/dbl-64/s_logb.c: Include
  26126. <fix-int-fp-convert-zero.h>.
  26127. (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
  26128. * sysdeps/ieee754/flt-32/e_log10f.c: Include
  26129. <fix-int-fp-convert-zero.h>.
  26130. (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
  26131. * sysdeps/ieee754/flt-32/e_log2f.c: Include
  26132. <fix-int-fp-convert-zero.h>.
  26133. (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
  26134. * sysdeps/ieee754/flt-32/s_erff.c: Include
  26135. <fix-int-fp-convert-zero.h>.
  26136. (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
  26137. * sysdeps/ieee754/flt-32/s_logbf.c: Include
  26138. <fix-int-fp-convert-zero.h>.
  26139. (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
  26140. * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
  26141. <fix-int-fp-convert-zero.h>.
  26142. (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
  26143. * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
  26144. <fix-int-fp-convert-zero.h>.
  26145. (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
  26146. * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
  26147. * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
  26148. * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
  26149. file.
  26150. * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
  26151. 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
  26152. * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
  26153. 2015-10-02 Joseph Myers <joseph@codesourcery.com>
  26154. [BZ #19059]
  26155. * math/s_nexttowardf.c (__nexttowardf): Do not return value from
  26156. overflowing computation.
  26157. * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
  26158. * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
  26159. * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
  26160. Likewise.
  26161. * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
  26162. Likewise.
  26163. * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
  26164. Likewise.
  26165. * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
  26166. Likewise.
  26167. * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
  26168. * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
  26169. Likewise.
  26170. * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
  26171. Likewise.
  26172. * math/libm-test.inc (nexttoward_test_data): Add more tests.
  26173. * nss/rewrite_field.c (__nss_rewrite_field): Use
  26174. internal_function.
  26175. * nss/valid_field.c (__nss_valid_field): Likewise.
  26176. * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
  26177. 2015-10-02 Florian Weimer <fweimer@redhat.com>
  26178. [BZ #18724]
  26179. * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
  26180. (__nss_invalid_field_characters, __nss_valid_field)
  26181. (__nss_valid_list_field, __nss_rewrite_field): Declare.
  26182. * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
  26183. tst-field.c: New file.
  26184. * nss/Makefile (routines): Add valid_field, rewrite_field.
  26185. (tests-static): Define unconditionally.
  26186. (tests): Include tests-static.
  26187. [build-static-nss] (tests-static): Use append.
  26188. [build-static-nss] (tests): Remove modification.
  26189. * nss/getent.c (print_group): Call putgrent. Report error.
  26190. (print_gshadow): Call putsgent. Report error.
  26191. (print_passwd): Call putpwent. Report error.
  26192. (print_shadow): Call putspent. Report error.
  26193. * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
  26194. * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
  26195. * pwd/putpwent.c (putpwent): Use ISO function definition. Check
  26196. name, password, directory, shell fields for valid syntax. Rewrite
  26197. GECOS field to match syntax.
  26198. * pwd/Makefile (tests): Add tst-putpwent.
  26199. * pwd/tst-putpwent.c: New file.
  26200. * grp/putgrent.c (putgrent): Convert to ISO function definition.
  26201. Check grName, grpasswd, gr_mem fields for valid syntax.
  26202. Change loop variable i to size_t.
  26203. * grp/Makefile (tests): Add tst-putgrent.
  26204. * grp/tst-putgrent.c: New file.
  26205. * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
  26206. valid syntax.
  26207. * shadow/Makefile (tests): Add tst-putspent.
  26208. * shadow/tst-putspent.c: New file.
  26209. * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
  26210. sg_mem fields for valid syntax.
  26211. * gshadow/Makefile (tests): Add tst-putsgent.
  26212. * gshadow/tst-putsgent.c: New file.
  26213. 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  26214. * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
  26215. assembly instructions.
  26216. 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  26217. * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
  26218. prefix from operands.
  26219. 2015-10-01 Joseph Myers <joseph@codesourcery.com>
  26220. [BZ #16347]
  26221. [BZ #19046]
  26222. * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
  26223. <libc-internal.h>.
  26224. (MAXLGM): Do not use diagnostic control macros.
  26225. [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
  26226. threshold for ldbl-128ibm.
  26227. (__ieee754_lgammal_r): For large arguments, multiply by log - 1
  26228. instead of multiplying by log then subtracting.
  26229. * math/auto-libm-test-in: Add more tests of lgamma.
  26230. * math/auto-libm-test-out: Regenerated.
  26231. * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
  26232. (TYPE_HEX_DIG): Likewise.
  26233. (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
  26234. precisions when printing floating-point numbers.
  26235. (check_float_internal): Likewise.
  26236. 2015-09-30 Joseph Myers <joseph@codesourcery.com>
  26237. [BZ #16620]
  26238. * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
  26239. of log (10) rounded downward to 48 bits.
  26240. (log10_low): Use corresponding low part of log (10).
  26241. [BZ #19032]
  26242. * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
  26243. compute result as (x - x) / (x - x) not as 0 / 0.
  26244. * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
  26245. * math/libm-test.inc (acosh_test_data): Add another test of acosh.
  26246. * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
  26247. atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
  26248. and expm1.
  26249. * math/auto-libm-test-out: Regenerated.
  26250. * math/libm-test.inc (acos_test_data): Add more tests.
  26251. (asin_test_data): Likewise.
  26252. (asinh_test_data): Likewise.
  26253. (atan_test_data): Likewise.
  26254. (atanh_test_data): Likewise.
  26255. (atan2_test_data): Likewise.
  26256. (cbrt_test_data): Likewise.
  26257. (ceil_test_data): Likewise.
  26258. (copysign_test_data): Likewise.
  26259. (cos_test_data): Likewise.
  26260. (cosh_test_data): Likewise.
  26261. (erf_test_data): Likewise.
  26262. (erfc_test_data): Likewise.
  26263. (exp_test_data): Likewise.
  26264. (exp10_test_data): Likewise.
  26265. (exp2_test_data): Likewise.
  26266. (expm1_test_data): Likewise.
  26267. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
  26268. 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
  26269. [BZ #19006]
  26270. * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
  26271. to ...
  26272. * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
  26273. * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
  26274. to ...
  26275. * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
  26276. * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
  26277. to ...
  26278. * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
  26279. * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
  26280. * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
  26281. * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
  26282. to ...
  26283. * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
  26284. * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
  26285. Moved to ...
  26286. * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
  26287. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
  26288. Moved to ...
  26289. * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
  26290. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
  26291. to ...
  26292. * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
  26293. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
  26294. Moved to ...
  26295. * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
  26296. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
  26297. to ...
  26298. * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
  26299. * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
  26300. Removed.
  26301. * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
  26302. Likewise.
  26303. * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
  26304. Likewise.
  26305. * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
  26306. * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
  26307. Likewise.
  26308. * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
  26309. Likewise.
  26310. * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
  26311. Likewise.
  26312. * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
  26313. Likewise.
  26314. * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
  26315. Likewise.
  26316. * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
  26317. Likewise.
  26318. * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
  26319. Likewise.
  26320. * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
  26321. Likewise.
  26322. * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
  26323. Likewise.
  26324. * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
  26325. * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
  26326. Likewise.
  26327. * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
  26328. Likewise.
  26329. * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
  26330. Likewise.
  26331. * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
  26332. Likewise.
  26333. * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
  26334. Likewise.
  26335. * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
  26336. Replace ../i486/pthread_cond_timedwait.S with
  26337. ../pthread_cond_timedwait.S.
  26338. 2015-09-30 Joseph Myers <joseph@codesourcery.com>
  26339. * math/libm-test.inc (acos_test_data): Refine expectations for
  26340. errno and "inexact" exceptions.
  26341. (acosh_test_data): Likewise.
  26342. (asin_test_data): Likewise.
  26343. (asinh_test_data): Likewise.
  26344. (atan_test_data): Likewise.
  26345. (atanh_test_data): Likewise.
  26346. (atan2_test_data): Likewise.
  26347. (cbrt_test_data): Likewise.
  26348. (ceil_test_data): Likewise.
  26349. (copysign_test_data): Likewise.
  26350. (cosh_test_data): Likewise.
  26351. (erf_test_data): Likewise.
  26352. (erfc_test_data): Likewise.
  26353. (exp_test_data): Likewise.
  26354. (exp10_test_data): Likewise.
  26355. (exp2_test_data): Likewise.
  26356. (expm1_test_data): Likewise.
  26357. (fabs_test_data): Likewise.
  26358. (floor_test_data): Likewise.
  26359. (fma_test_data): Likewise.
  26360. (fmax_test_data): Likewise.
  26361. (fmin_test_data): Likewise.
  26362. (fmod_test_data): Likewise.
  26363. (fpclassify_test_data): Likewise.
  26364. (frexp_test_data): Likewise.
  26365. (hypot_test_data): Likewise.
  26366. (ilogb_test_data): Likewise.
  26367. (isgreater_test_data): Likewise.
  26368. (isgreaterequal_test_data): Likewise.
  26369. (isinf_test_data): Likewise.
  26370. (isless_test_data): Likewise.
  26371. (islessequal_test_data): Likewise.
  26372. (islessgreater_test_data): Likewise.
  26373. (isnan_test_data): Likewise.
  26374. (isnormal_test_data): Likewise.
  26375. (issignaling_test_data): Likewise.
  26376. (isunordered_test_data): Likewise.
  26377. (j0_test_data): Likewise.
  26378. (j1_test_data): Likewise.
  26379. (jn_test_data): Likewise.
  26380. (lgamma_test_data): Likewise.
  26381. (lrint_test_data): Likewise.
  26382. (llrint_test_data): Likewise.
  26383. (log_test_data): Likewise.
  26384. (log10_test_data): Likewise.
  26385. (log1p_test_data): Likewise.
  26386. (log2_test_data): Likewise.
  26387. (logb_test_data): Likewise.
  26388. (lround_test_data): Likewise.
  26389. (llround_test_data): Likewise.
  26390. (modf_test_data): Likewise.
  26391. (nearbyint_test_data): Likewise.
  26392. (nextafter_test_data): Likewise.
  26393. (nexttoward_test_data): Likewise.
  26394. (pow_test_data): Likewise.
  26395. (remainder_test_data): Likewise.
  26396. (remquo_test_data): Likewise.
  26397. (rint_test_data): Likewise.
  26398. (round_test_data): Likewise.
  26399. (signbit_test_data): Likewise.
  26400. (sinh_test_data): Likewise.
  26401. (sqrt_test_data): Likewise.
  26402. (tanh_test_data): Likewise.
  26403. (tgamma_test_data): Likewise.
  26404. (trunc_test_data): Likewise.
  26405. (y0_test_data): Likewise.
  26406. (y1_test_data): Likewise.
  26407. (yn_test_data): Likewise.
  26408. (significand_test_data): Likewise.
  26409. 2015-09-29 Carlos O'Donell <carlos@redhat.com>
  26410. * manual/filesys.texi (Storage Allocation): Document that
  26411. posix_fallocate emulation fails when fd is open with O_WRONLY.
  26412. 2015-09-28 Joseph Myers <joseph@codesourcery.com>
  26413. [BZ #19016]
  26414. * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
  26415. allow more cases with X^2 + Y^2 >= 0.5.
  26416. * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
  26417. normal element in sum instead of special-casing based on values of
  26418. arguments.
  26419. * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
  26420. * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
  26421. -1 as normal element in sum instead of special-casing based on
  26422. values of arguments.
  26423. * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
  26424. * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
  26425. (__x2y2m1): Update comment.
  26426. * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
  26427. as normal element in sum instead of special-casing based on values
  26428. of arguments.
  26429. * math/s_clog.c (__clog): Handle more cases using log1p without
  26430. hypot.
  26431. * math/s_clog10.c (__clog10): Likewise.
  26432. * math/s_clog10f.c (__clog10f): Likewise.
  26433. * math/s_clog10l.c (__clog10l): Likewise.
  26434. * math/s_clogf.c (__clogf): Likewise.
  26435. * math/s_clogl.c (__clogl): Likewise.
  26436. * math/auto-libm-test-in: Add more tests of clog and clog10.
  26437. * math/auto-libm-test-out: Regenerated.
  26438. * sysdeps/i386/fpu/libm-test-ulps: Update.
  26439. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  26440. 2015-09-28 Martin Sebor <msebor@redhat.com>
  26441. [BZ #18969]
  26442. * string/Makefile (LOCALES): Define.
  26443. (gen-locales.mk): Include.
  26444. (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
  26445. (tst-strxfrm2.out): Add deppendency on $(gen-locales).
  26446. * string/tst-strxfrm2.c (do_test): Print the name of the locale
  26447. on setlocale failure.
  26448. 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
  26449. [BZ #18985]
  26450. * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
  26451. (__strftime_internal): Likewise.
  26452. * time/tst-strftime.c (do_bz18985): New test.
  26453. (do_test): Call it.
  26454. 2015-09-26 Joseph Myers <joseph@codesourcery.com>
  26455. [BZ #18956]
  26456. * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
  26457. not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
  26458. extracting high part.
  26459. * math/auto-libm-test-in: Add another test of pow.
  26460. * math/auto-libm-test-out: Regenerated.
  26461. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
  26462. 2015-09-25 Joseph Myers <joseph@codesourcery.com>
  26463. [BZ #18825]
  26464. * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
  26465. New macro.
  26466. (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
  26467. (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
  26468. * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
  26469. (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
  26470. DBL_NARROW_EVAL, reloading the PIC register as needed.
  26471. * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
  26472. (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
  26473. FLT_NARROW_EVAL. Use separate return path for case when first
  26474. argument is NaN.
  26475. * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
  26476. DEFINE_LDBL_MIN.
  26477. (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
  26478. PIC register.
  26479. * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
  26480. math_check_force_underflow_nonneg.
  26481. * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
  26482. underflow for subnormal result.
  26483. * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
  26484. * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
  26485. math_check_force_underflow_nonneg.
  26486. * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
  26487. math_check_force_underflow.
  26488. * sysdeps/x86_64/fpu/x86_64-math-asm.h
  26489. (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
  26490. * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
  26491. DEFINE_LDBL_MIN.
  26492. (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
  26493. * math/auto-libm-test-in: Add more tests of pow.
  26494. * math/auto-libm-test-out: Regenerated.
  26495. 2015-09-25 Florian Weimer <fweimer@redhat.com>
  26496. * nss/bug17079.c (init_test_items): Add diagnostic for
  26497. inconsistent entries.
  26498. (test_buffer_size): Skip inconsistent entries.
  26499. 2015-09-25 Joseph Myers <joseph@codesourcery.com>
  26500. [BZ #13304]
  26501. * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
  26502. * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
  26503. * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
  26504. [BZ #13304]
  26505. * sysdeps/microblaze/s_fma.c: New file.
  26506. * sysdeps/microblaze/s_fmaf.c: Likewise.
  26507. * sysdeps/microblaze/sfp-machine.h: Likewise.
  26508. 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
  26509. [BZ #17250]
  26510. * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
  26511. member.
  26512. 2015-09-24 Joseph Myers <joseph@codesourcery.com>
  26513. [BZ #18803]
  26514. * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
  26515. (MO): New macro.
  26516. (__ieee754_hypot) [PIC]: Load PIC register.
  26517. (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
  26518. DBL_NARROW_EVAL.
  26519. * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
  26520. math_check_force_underflow_nonneg in case where result might be
  26521. tiny.
  26522. * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
  26523. Likewise.
  26524. * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
  26525. Likewise.
  26526. * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
  26527. * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
  26528. * math/auto-libm-test-in: Add more tests of hypot.
  26529. * math/auto-libm-test-out: Regenerated.
  26530. 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
  26531. * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
  26532. 2015-09-24 Joseph Myers <joseph@codesourcery.com>
  26533. * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
  26534. * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
  26535. (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
  26536. (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
  26537. * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
  26538. [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
  26539. (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
  26540. * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
  26541. LOAD_PIC_REG.
  26542. * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
  26543. (FLT_CHECK_FORCE_UFLOW): Likewise.
  26544. (DBL_CHECK_FORCE_UFLOW): Likewise.
  26545. (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
  26546. (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
  26547. (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
  26548. (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
  26549. (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
  26550. (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
  26551. (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
  26552. (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
  26553. * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
  26554. (dbl_min): Replace with use of DEFINE_DBL_MIN.
  26555. (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
  26556. * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
  26557. (flt_min): Replace with use of DEFINE_FLT_MIN.
  26558. (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
  26559. * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
  26560. (dbl_min): Replace with use of DEFINE_DBL_MIN.
  26561. (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
  26562. * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
  26563. (flt_min): Replace with use of DEFINE_FLT_MIN.
  26564. (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
  26565. * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
  26566. (dbl_min): Replace with use of DEFINE_DBL_MIN.
  26567. (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
  26568. * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
  26569. (flt_min): Replace with use of DEFINE_FLT_MIN.
  26570. (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
  26571. * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
  26572. (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
  26573. (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
  26574. * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
  26575. [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
  26576. (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
  26577. * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
  26578. (dbl_min): Replace with use of DEFINE_DBL_MIN.
  26579. (__atan): Use DBL_CHECK_FORCE_UFLOW.
  26580. * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
  26581. (flt_min): Replace with use of DEFINE_FLT_MIN.
  26582. (__atanf): Use FLT_CHECK_FORCE_UFLOW.
  26583. * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
  26584. (dbl_min): Replace with use of DEFINE_DBL_MIN.
  26585. (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
  26586. main computation.
  26587. * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
  26588. (flt_min): Replace with use of DEFINE_FLT_MIN.
  26589. (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
  26590. main computation.
  26591. * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
  26592. (dbl_min): Replace with use of DEFINE_DBL_MIN.
  26593. (MO): New macro.
  26594. (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
  26595. * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
  26596. (flt_min): Replace with use of DEFINE_FLT_MIN.
  26597. (MO): New macro.
  26598. (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
  26599. * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
  26600. (__log1pl): Use MO.
  26601. [BZ #19003]
  26602. * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
  26603. $(config-cflags-nofma).
  26604. 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
  26605. * sysdeps/aarch64/libm-test-ulps: Regenerated.
  26606. 2015-09-23 Joseph Myers <joseph@codesourcery.com>
  26607. * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
  26608. (TWO127): Likewise.
  26609. * sysdeps/generic/math_private.h (fabs_tg): New macro.
  26610. (min_of_type): Likewise.
  26611. (math_check_force_underflow): Likewise.
  26612. (math_check_force_underflow_nonneg): Likewise.
  26613. (math_check_force_underflow_complex): Likewise.
  26614. * math/e_exp2l.c (__ieee754_exp2l): Use
  26615. math_check_force_underflow_nonneg.
  26616. * math/k_casinh.c (__kernel_casinh): Likewise.
  26617. * math/k_casinhf.c (__kernel_casinhf): Likewise.
  26618. * math/k_casinhl.c (__kernel_casinhl): Likewise.
  26619. * math/s_catan.c (__catan): Use
  26620. math_check_force_underflow_complex.
  26621. * math/s_catanf.c (__catanf): Likewise.
  26622. * math/s_catanh.c (__catanh): Likewise.
  26623. * math/s_catanhf.c (__catanhf): Likewise.
  26624. * math/s_catanhl.c (__catanhl): Likewise.
  26625. * math/s_catanl.c (__catanl): Likewise.
  26626. * math/s_ccosh.c (__ccosh): Likewise.
  26627. * math/s_ccoshf.c (__ccoshf): Likewise.
  26628. * math/s_ccoshl.c (__ccoshl): Likewise.
  26629. * math/s_cexp.c (__cexp): Likewise.
  26630. * math/s_cexpf.c (__cexpf): Likewise.
  26631. * math/s_cexpl.c (__cexpl): Likewise.
  26632. * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
  26633. * math/s_clog10.c (__clog10): Likewise.
  26634. * math/s_clog10f.c (__clog10f): Likewise.
  26635. * math/s_clog10l.c (__clog10l): Likewise.
  26636. * math/s_clogf.c (__clogf): Likewise.
  26637. * math/s_clogl.c (__clogl): Likewise.
  26638. * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
  26639. * math/s_csinf.c (__csinf): Likewise.
  26640. * math/s_csinh.c (__csinh): Likewise.
  26641. * math/s_csinhf.c (__csinhf): Likewise.
  26642. * math/s_csinhl.c (__csinhl): Likewise.
  26643. * math/s_csinl.c (__csinl): Likewise.
  26644. * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
  26645. * math/s_csqrtf.c (__csqrtf): Likewise.
  26646. * math/s_csqrtl.c (__csqrtl): Likewise.
  26647. * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
  26648. * math/s_ctanf.c (__ctanf): Likewise.
  26649. * math/s_ctanh.c (__ctanh): Likewise.
  26650. * math/s_ctanhf.c (__ctanhf): Likewise.
  26651. * math/s_ctanhl.c (__ctanhl): Likewise.
  26652. * math/s_ctanl.c (__ctanl): Likewise.
  26653. * stdlib/strtod_l.c (round_and_return): Use math_force_eval
  26654. instead of volatile.
  26655. * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
  26656. math_check_force_underflow.
  26657. * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
  26658. * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
  26659. volatile when forcing underflow.
  26660. * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
  26661. math_check_force_underflow_nonneg.
  26662. * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
  26663. Likewise.
  26664. * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
  26665. math_check_force_underflow.
  26666. * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
  26667. * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
  26668. * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
  26669. * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
  26670. math_check_force_underflow_nonneg.
  26671. * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
  26672. math_check_force_underflow.
  26673. * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
  26674. * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
  26675. instead of volatile.
  26676. * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
  26677. math_check_force_underflow.
  26678. * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
  26679. * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
  26680. math_check_force_underflow_nonneg.
  26681. * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
  26682. math_check_force_underflow.
  26683. * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
  26684. * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
  26685. * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
  26686. math_check_force_underflow_nonneg.
  26687. * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
  26688. Likewise.
  26689. * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
  26690. math_check_force_underflow.
  26691. * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
  26692. * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
  26693. * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
  26694. * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
  26695. * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
  26696. * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
  26697. * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
  26698. * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
  26699. * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
  26700. * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
  26701. * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
  26702. * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
  26703. Likewise.
  26704. * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
  26705. math_check_force_underflow_nonneg.
  26706. * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
  26707. Likewise.
  26708. * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
  26709. math_check_force_underflow.
  26710. * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
  26711. * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
  26712. * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
  26713. Likewise.
  26714. * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
  26715. * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
  26716. * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
  26717. * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
  26718. * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
  26719. * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
  26720. * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
  26721. instead of volatile.
  26722. * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
  26723. math_check_force_underflow.
  26724. * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
  26725. * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
  26726. math_check_force_underflow.
  26727. * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
  26728. Likewise.
  26729. * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
  26730. Use math_check_force_underflow_nonneg.
  26731. * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
  26732. math_check_force_underflow.
  26733. * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
  26734. Likewise.
  26735. * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
  26736. Likewise.
  26737. * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
  26738. * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
  26739. * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
  26740. * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
  26741. * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
  26742. * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
  26743. * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
  26744. * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
  26745. * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
  26746. math_check_force_underflow_nonneg.
  26747. * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
  26748. math_check_force_underflow.
  26749. * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
  26750. * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
  26751. * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
  26752. * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
  26753. math_check_force_underflow_nonneg.
  26754. * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
  26755. math_check_force_underflow.
  26756. * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
  26757. * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
  26758. instead of volatile.
  26759. * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
  26760. math_check_force_underflow.
  26761. * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
  26762. * stdlib/strtod_l.c: Include <math_private.h>.
  26763. (overflow_value): Use math_narrow_eval.
  26764. (underflow_value): Likewise.
  26765. * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
  26766. * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
  26767. * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
  26768. (__ieee754_gamma_r): Likewise.
  26769. * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
  26770. Likewise.
  26771. * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
  26772. Likewise.
  26773. * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
  26774. * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
  26775. * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
  26776. * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
  26777. * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
  26778. (__ieee754_gammaf_r): Likewise.
  26779. * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
  26780. Likewise.
  26781. * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
  26782. * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
  26783. * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
  26784. * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
  26785. * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
  26786. volatile.
  26787. * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
  26788. * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
  26789. math_narrow_eval.
  26790. * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
  26791. Likewise.
  26792. * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
  26793. Likewise.
  26794. * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
  26795. Likewise.
  26796. * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
  26797. volatile.
  26798. * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
  26799. * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
  26800. math_narrow_eval.
  26801. * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
  26802. Likewise.
  26803. * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
  26804. Likewise.
  26805. 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
  26806. * nptl/Versions: Remove ignored symbols.
  26807. 2015-09-22 Florian Weimer <fweimer@redhat.com>
  26808. * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
  26809. * nss/Makefile (tests): Update.
  26810. 2015-09-22 Florian Weimer <fweimer@redhat.com>
  26811. * nss/bug18287.c: New file.
  26812. * nss/Makefile (tests): Add bug18287.
  26813. 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
  26814. * mach/Versions (__mach_host_self_): Add symbol.
  26815. 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
  26816. * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
  26817. vm_page_size.
  26818. 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
  26819. Really fix sysdeps/i386/fpu/s_scalbn.S build
  26820. * math/Versions (libc: GLIBC_2_20): New (empty) version set.
  26821. (libc: GLIBC_2_22): Remove unused version set.
  26822. 2015-09-18 Mike Frysinger <vapier@gentoo.org>
  26823. * config.make.in (enable-timezone-tools): New variable.
  26824. * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
  26825. (enable_timezone_tools): Export to generated files.
  26826. * configure: Regenerate.
  26827. * INSTALL: Regenerate.
  26828. * manual/install.texi (--disable-timezone-tools): Document new flag.
  26829. * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
  26830. ifeq ($(enable-timezone-tools),yes) check.
  26831. 2015-09-18 Joseph Myers <joseph@codesourcery.com>
  26832. * timezone/Makefile: Revert previous change.
  26833. [BZ #18980]
  26834. * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
  26835. (DEFINE_DBL_MIN): Likewise.
  26836. (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
  26837. (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
  26838. (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
  26839. (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
  26840. * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
  26841. (dbl_min): Replace with use of DEFINE_DBL_MIN.
  26842. (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
  26843. (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
  26844. * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
  26845. (dbl_min): Replace with use of DEFINE_DBL_MIN.
  26846. (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
  26847. * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
  26848. (flt_min): Replace with use of DEFINE_FLT_MIN.
  26849. (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
  26850. * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
  26851. (dbl_min): Replace with use of DEFINE_DBL_MIN.
  26852. (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
  26853. * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
  26854. (flt_min): Replace with use of DEFINE_FLT_MIN.
  26855. (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
  26856. * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
  26857. (flt_min): Replace with use of DEFINE_FLT_MIN.
  26858. (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
  26859. (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
  26860. * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
  26861. (__ieee754_hypot): Use DBL_NARROW_EVAL.
  26862. * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
  26863. (__ieee754_hypotf): Use FLT_NARROW_EVAL.
  26864. * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
  26865. (__ieee754_pow): Use DBL_NARROW_EVAL.
  26866. * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
  26867. (__ieee754_powf): Use FLT_NARROW_EVAL.
  26868. * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
  26869. (__ieee754_expf_sse2): Convert double-precision result to single
  26870. precision.
  26871. * sysdeps/i386/fpu/libm-test-ulps: Update.
  26872. 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
  26873. * timezone/Makefile: Ignore unused variable errors due to private.h
  26874. (time_t_min) and (time_t_max).
  26875. * timezone/private.h (time_t_min): Revert removal. (time_t_max):
  26876. Likewise.
  26877. 2015-09-18 Joseph Myers <joseph@codesourcery.com>
  26878. [BZ #18981]
  26879. * sysdeps/i386/fpu/i386-math-asm.h: New file.
  26880. * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
  26881. (__ieee754_scalb): Use DBL_NARROW_EVAL.
  26882. * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
  26883. (__ieee754_scalbf): Use FLT_NARROW_EVAL.
  26884. * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
  26885. (__scalbn): Use DBL_NARROW_EVAL.
  26886. * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
  26887. (__scalbnf): Use FLT_NARROW_EVAL.
  26888. 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
  26889. * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
  26890. * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
  26891. * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
  26892. * stdio-common/printf_fp.c (___printf_fp):
  26893. Use signbit to get the sign. Use isinf macro to allow inlining.
  26894. * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
  26895. * stdio-common/printf_size.c (__printf_size): Likewise.
  26896. 2015-09-18 Mike Frysinger <vapier@gentoo.org>
  26897. * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
  26898. 2015-09-18 Joseph Myers <joseph@codesourcery.com>
  26899. [BZ #18980]
  26900. * sysdeps/generic/math_private.h: Include <float.h>.
  26901. (math_narrow_eval): New macro.
  26902. [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
  26903. * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
  26904. math_narrow_eval on overflowing return value.
  26905. * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
  26906. Likewise.
  26907. * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
  26908. * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
  26909. * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
  26910. Likewise.
  26911. * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
  26912. 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
  26913. * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
  26914. * math/Makefile: Remove isinf_ns.c.
  26915. * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
  26916. * math/multc3.c (__multc3): Likewise.
  26917. * math/s_casin.c (__casin): Likewise.
  26918. * math/s_casinf.c (__casinf): Likewise.
  26919. * math/s_casinl.c (__casinl): Likewise.
  26920. * math/s_cproj.c (__cproj): Likewise.
  26921. * math/s_cprojf.c (__cprojf): Likewise.
  26922. * math/s_cprojl.c (__cprofl): Likewise.
  26923. * math/s_ctan.c (__ctan): Likewise.
  26924. * math/s_ctanf.c (__ctanf): Likewise.
  26925. * math/s_ctanh.c (__ctanh): Likewise.
  26926. * math/s_ctanhf.c (__ctanhf): Likewise.
  26927. * math/s_ctanhl.c (__ctanhl): Likewise.
  26928. * math/s_ctanl.c (__ctanl): Likewise.
  26929. * math/w_fmod.c (__fmod): Likewise.
  26930. * math/w_fmodf.c (__fmodf): Likewise.
  26931. * math/w_fmodl.c (_fmodl): Likewise.
  26932. * math/w_remainder.c (__remainder): Likewise.
  26933. * math/w_remainderf.c (__remainderf): Likewise.
  26934. * math/w_remainderl.c (__remainderl): Likewise.
  26935. * math/w_scalb.c (__scalb): Likewise.
  26936. * math/w_scalbf.c (__scalbf): Likewise.
  26937. * math/w_scalbl.c (__scalbl): Likewise.
  26938. * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
  26939. * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
  26940. with isinf.
  26941. * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
  26942. * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
  26943. * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
  26944. __isinf_nsf with isinf.
  26945. * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
  26946. * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
  26947. * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
  26948. * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
  26949. with isinf.
  26950. * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
  26951. __isinf_nsl with isinf.
  26952. * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
  26953. with isinf.
  26954. * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
  26955. * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
  26956. __isinf_nsl with isinf.
  26957. * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
  26958. * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
  26959. with isinf.
  26960. 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
  26961. * resolv/base64.c (rcsid): Remove unused static.
  26962. * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
  26963. static. (tqpi1): Likewise.
  26964. * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
  26965. * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
  26966. * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
  26967. * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
  26968. * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
  26969. * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
  26970. * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
  26971. * timezone/private.h (time_t_min): Likewise. (time_t_max):
  26972. Likewise.
  26973. 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
  26974. * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
  26975. <nptl/pthreadP.h>.
  26976. (_longjmp_unwind): Use __libc_ptf_call.
  26977. * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
  26978. 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
  26979. * sysdeps/arm/setjmp.S: Change PIC to SHARED.
  26980. * sysdeps/arm/__longjmp.S: Likewise.
  26981. 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
  26982. * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
  26983. Use __builtin_signbit.
  26984. * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
  26985. Use __builtin_signbitf.
  26986. * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
  26987. Use __builtin_signbitl.
  26988. * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
  26989. * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
  26990. 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
  26991. [BZ #15367]
  26992. [BZ #17441]
  26993. * math/Makefile: Build test-snan.c with -fsignaling-nans.
  26994. * math/math.h (fpclassify): Use __builtin_fpclassify when
  26995. available. (signbit): Use __builtin_signbit(f/l).
  26996. (isfinite): Use__builtin_isfinite. (isnormal): Use
  26997. __builtin_isnormal. (isnan): Use __builtin_isnan.
  26998. (isinf): Use __builtin_isinf_sign.
  26999. 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
  27000. * benchtests/Makefile: Add bench-math-inlines, link with libm.
  27001. * benchtests/bench-math-inlines.c: New benchmark.
  27002. * benchtests/bench-util.h: New file.
  27003. * benchtests/bench-util.c: New file.
  27004. * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
  27005. 2015-09-18 Carlos O'Donell <carlos@redhat.com>
  27006. * elf/tst-dlmopen1.c: Define TEST_SO.
  27007. (do_test): Use TEST_SO.
  27008. * elf/dl-load.c: Include libc-internal.h.
  27009. (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
  27010. 2015-09-18 Vincent Bernat <vincent@bernat.im>
  27011. [BZ #17887]
  27012. * time/strptime_l.c (__strptime_internal): Make %z accept
  27013. [+-]HH:MM time zones.
  27014. 2015-09-18 Vincent Bernat <vincent@bernat.im>
  27015. [BZ #17886]
  27016. * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
  27017. valid time zone.
  27018. 2015-09-17 Mike Frysinger <vapier@gentoo.org>
  27019. * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
  27020. * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
  27021. * sysdeps/unix/sysv/linux/alpha/kernel-features.h
  27022. (__ASSUME_FDATASYNC): Delete.
  27023. 2015-09-17 Joseph Myers <joseph@codesourcery.com>
  27024. * conform/linknamespace.pl: Require weak undefined symbols to be
  27025. in the standard namespace.
  27026. (%strong_syms): Rename to %seen_syms.
  27027. (%strong_seen): Rename to %seen_where.
  27028. 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
  27029. [BZ #18970]
  27030. * misc/error.c (error): Replace pthread_setcancelstate with
  27031. __pthread_setcancelstate.
  27032. (error_at_line): Likewise.
  27033. * posix/wordexp.c (parse_comm): Likewise.
  27034. * stdlib/fmtmsg.c (fmtmsg): Likewise.
  27035. * nptl/forward.c (pthread_setcancelstate): Renamed to ...
  27036. (__pthread_setcancelstate): This.
  27037. (pthread_setcancelstate): Add an alias.
  27038. * nptl/nptl-init.c (pthread_functions): Replace
  27039. ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
  27040. * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
  27041. * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
  27042. hidden_proto.
  27043. * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
  27044. it with hidden_def.
  27045. * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
  27046. (pthread_setcancelstate): Renamed to ...
  27047. (__pthread_setcancelstate): This.
  27048. * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
  27049. __libc_ptf_call with __pthread_setcancelstate.
  27050. 2015-09-17 Joseph Myers <joseph@codesourcery.com>
  27051. Andreas Schwab <schwab@suse.de>
  27052. [BZ #17118]
  27053. * math/s_ctan.c (__ctan): Determine sign of zero real part of
  27054. result when imaginary part of argument is infinite using sine and
  27055. cosine.
  27056. * math/s_ctanf.c (__ctanf): Likewise.
  27057. * math/s_ctanl.c (__ctanl): Likewise.
  27058. * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
  27059. of result when real part of argument is infinite using sine and
  27060. cosine.
  27061. * math/s_ctanhf.c (__ctanhf): Likewise.
  27062. * math/s_ctanhl.c (__ctanhl): Likewise.
  27063. * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
  27064. (ctanh_test_data): Add more tests of ctanh.
  27065. 2015-09-17 Joseph Myers <joseph@codesourcery.com>
  27066. [BZ #15384]
  27067. * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
  27068. bit-mask as in subtraction.
  27069. * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
  27070. Likewise.
  27071. * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
  27072. * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
  27073. * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
  27074. [BZ #18951]
  27075. * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
  27076. underflow exception for small results.
  27077. * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
  27078. Likewise.
  27079. * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
  27080. Likewise.
  27081. * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
  27082. Likewise.
  27083. * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
  27084. Likewise.
  27085. * math/auto-libm-test-in: Add more tests of tgamma.
  27086. * math/auto-libm-test-out: Regenerated.
  27087. 2015-09-17 Andreas Schwab <schwab@suse.de>
  27088. * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
  27089. 2015-09-16 Joseph Myers <joseph@codesourcery.com>
  27090. [BZ #18977]
  27091. * math/bits/mathcalls.h
  27092. [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
  27093. not declare.
  27094. [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
  27095. Likewise.
  27096. [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
  27097. Likewise.
  27098. [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
  27099. Likewise.
  27100. [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
  27101. Likewise.
  27102. [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
  27103. Likewise.
  27104. * conform/data/math.h-data
  27105. [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
  27106. function.
  27107. [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
  27108. [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
  27109. [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
  27110. [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
  27111. [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
  27112. [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
  27113. [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
  27114. [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
  27115. [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
  27116. [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
  27117. [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
  27118. [BZ #6803]
  27119. * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
  27120. [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
  27121. * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
  27122. * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
  27123. * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
  27124. * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
  27125. * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
  27126. * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
  27127. [NO_LONG_DOUBLE] (scalbnl): Likewise.
  27128. * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
  27129. Likewise.
  27130. [NO_LONG_DOUBLE] (scalbnl): Likewise.
  27131. * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
  27132. * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
  27133. * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
  27134. long_double_symbol calls.
  27135. * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
  27136. * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
  27137. strong alias of __ldexpl.
  27138. (scalbnl): Define using long_double_symbol.
  27139. * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
  27140. Remove alias.
  27141. * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
  27142. * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
  27143. * math/libm-test.inc (scalbn_test_data): Add errno expectations.
  27144. (scalbln_test_data): Add more errno expectations.
  27145. 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
  27146. Cache the host port like we cache the task port. This way we do not
  27147. need to call the kernel just to get the port. Furthermore, we no
  27148. longer increase the reference count on every invocation of
  27149. `mach_host_self'.
  27150. * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
  27151. Protect declarations against the macro expansion.
  27152. * mach/mach_init.c (__mach_host_self_): New variable.
  27153. (mach_init): Initialize `__mach_host_self_'.
  27154. * mach/mach_init.h (__mach_host_self_): New declaration.
  27155. (__mach_host_self, mach_host_self): New macros.
  27156. * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
  27157. Release reference.
  27158. 2015-09-16 Joseph Myers <joseph@codesourcery.com>
  27159. [BZ #4404]
  27160. * po/de.po: Update from Translation Project.
  27161. [BZ #16415]
  27162. * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
  27163. (__expm1l): Remove code to handle positive infinity and overflow.
  27164. * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
  27165. variable.
  27166. (__expm1l): Remove code to handle positive infinity and overflow.
  27167. 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
  27168. Paul Pluzhnikov <ppluzhnikov@google.com>
  27169. [BZ #18872]
  27170. * stdio-common/Makefile (tst-printf-bz18872): New test.
  27171. (tst-printf-bz18872-mem.out): Likewise.
  27172. * stdio-common/tst-printf-bz18872.sh: Generate new test.
  27173. * stdio-common/vfprintf.c: Fix memory leaks.
  27174. 2015-09-16 Andreas Schwab <schwab@suse.de>
  27175. [BZ #17244]
  27176. * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
  27177. Remove extra va_start/va_end calls.
  27178. [BZ #17243]
  27179. * posix/execl.c (execl): Add missing va_end.
  27180. * posix/execle.c (execle): Likewise.
  27181. * posix/execlp.c (execlp): Likewise.
  27182. 2015-09-15 Roland McGrath <roland@hack.frob.com>
  27183. * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
  27184. (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
  27185. 2015-09-15 Joseph Myers <joseph@codesourcery.com>
  27186. [BZ #18967]
  27187. * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
  27188. undefine around includes of <bits/mathcalls.h>.
  27189. * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
  27190. not declare function.
  27191. [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
  27192. [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
  27193. (scalb): Likewise.
  27194. * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
  27195. not define macro.
  27196. * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
  27197. variable.
  27198. (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
  27199. (test-xfail-XOPEN2K8/math.h/conform): Likewise.
  27200. (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
  27201. [BZ #18857]
  27202. * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
  27203. return non-finite argument without doing ordered comparisons on
  27204. it.
  27205. [BZ #16296]
  27206. * math/fenv.h (fegetround): Use __attribute_pure__.
  27207. * include/fenv.h (__fegetround): Likewise.
  27208. [BZ #18595]
  27209. * math/s_ctan.c (__ctan): Force underflow exception for results
  27210. whose real or imaginary part has small absolute value.
  27211. * math/s_ctanf.c (__ctanf): Likewise.
  27212. * math/s_ctanh.c (__ctanh): Likewise.
  27213. * math/s_ctanhf.c (__ctanhf): Likewise.
  27214. * math/s_ctanhl.c (__ctanhl): Likewise.
  27215. * math/s_ctanl.c (__ctanl): Likewise.
  27216. * math/auto-libm-test-in: Do not allow missing underflow for ctan
  27217. and ctanh. Add more tests of ctan and ctanh.
  27218. [BZ #15918]
  27219. * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
  27220. handling of cases where one argument is an infinity.
  27221. [BZ #18875]
  27222. [BZ #18966]
  27223. * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
  27224. (MO): New macro.
  27225. (__ieee754_exp10): For small results, force underflow exception
  27226. and remove excess range and precision from return value.
  27227. * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
  27228. (MO): New macro.
  27229. (__ieee754_exp10f): For small results, force underflow exception
  27230. and remove excess range and precision from return value.
  27231. * math/auto-libm-test-in: Add more tests of exp10.
  27232. * math/auto-libm-test-out: Regenerated.
  27233. 2015-09-14 Joseph Myers <joseph@codesourcery.com>
  27234. [BZ #18875]
  27235. [BZ #18961]
  27236. * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
  27237. (MO): New macro.
  27238. (__ieee754_exp): For small results, force underflow exception and
  27239. remove excess range and precision from return value.
  27240. (__exp_finite): Likewise.
  27241. * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
  27242. (MO): New macro.
  27243. (__ieee754_expf): For small results, force underflow exception and
  27244. remove excess range and precision from return value.
  27245. (__expf_finite): Likewise.
  27246. * math/auto-libm-test-in: Add more tests of exp.
  27247. * math/auto-libm-test-out: Regenerated.
  27248. [BZ #16521]
  27249. [BZ #18875]
  27250. * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
  27251. small results.
  27252. * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
  27253. (MO): New macro.
  27254. (__ieee754_exp2): For small results, force underflow exception and
  27255. remove excess range and precision from return value.
  27256. * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
  27257. (MO): New macro.
  27258. (__ieee754_exp2f): For small results, force underflow exception
  27259. and remove excess range and precision from return value.
  27260. * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
  27261. (MO): New macro.
  27262. (__ieee754_exp2l): Force underflow exception for small results.
  27263. * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
  27264. * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
  27265. * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
  27266. (MO): New macro.
  27267. (__ieee754_exp2l): Force underflow exception for small results.
  27268. * math/auto-libm-test-in: Add more tests or exp2.
  27269. * math/auto-libm-test-out: Regenerated.
  27270. 2015-09-14 Carlos O'Donell <carlos@redhat.com>
  27271. * malloc/malloc.c (systrim): Use ALIGN_DOWN.
  27272. * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
  27273. /dev/null.
  27274. 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
  27275. * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
  27276. io fs process)): Drop spurious backslash.
  27277. 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
  27278. * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
  27279. Use sysinfo system call instead of parsing /proc/meminfo.
  27280. * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
  27281. Likewise.
  27282. 2015-09-11 Mike Frysinger <vapier@gentoo.org>
  27283. [BZ #16985]
  27284. * programs/localedef.c (main): Display argv[remaining] when
  27285. output_path is NULL.
  27286. 2015-09-11 Joseph Myers <joseph@codesourcery.com>
  27287. * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
  27288. asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
  27289. exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
  27290. tanh.
  27291. * math/auto-libm-test-out: Regenerated.
  27292. * sysdeps/i386/fpu/libm-test-ulps: Update.
  27293. * sysdeps/mips/mips32/libm-test-ulps: Likewise.
  27294. * sysdeps/mips/mips64/libm-test-ulps: Likewise.
  27295. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  27296. 2015-09-11 Roland McGrath <roland@hack.frob.com>
  27297. * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
  27298. Use 'override' keyword to freeze the value here, preventing
  27299. the addition of sys/mtio.h by sysdeps/gnu/Makefile.
  27300. 2015-09-11 Joseph Myers <joseph@codesourcery.com>
  27301. [BZ #14912]
  27302. * sysdeps/aarch64/bits/atomic.h: Move to ...
  27303. * sysdeps/aarch64/atomic-machine.h: ...here.
  27304. (_AARCH64_BITS_ATOMIC_H): Rename macro to
  27305. _AARCH64_ATOMIC_MACHINE_H.
  27306. * sysdeps/alpha/bits/atomic.h: Move to ...
  27307. * sysdeps/alpha/atomic-machine.h: ...here.
  27308. * sysdeps/arm/bits/atomic.h: Move to ...
  27309. * sysdeps/arm/atomic-machine.h: ...here. Update comments.
  27310. * bits/atomic.h: Move to ...
  27311. * sysdeps/generic/atomic-machine.h: ...here.
  27312. (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
  27313. * sysdeps/i386/bits/atomic.h: Move to ...
  27314. * sysdeps/i386/atomic-machine.h: ...here.
  27315. * sysdeps/ia64/bits/atomic.h: Move to ...
  27316. * sysdeps/ia64/atomic-machine.h: ...here.
  27317. * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
  27318. * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
  27319. (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
  27320. * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
  27321. * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
  27322. * sysdeps/microblaze/bits/atomic.h: Move to ...
  27323. * sysdeps/microblaze/atomic-machine.h: ...here.
  27324. * sysdeps/mips/bits/atomic.h: Move to ...
  27325. * sysdeps/mips/atomic-machine.h: ...here.
  27326. (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
  27327. * sysdeps/powerpc/bits/atomic.h: Move to ...
  27328. * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
  27329. * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
  27330. * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
  27331. comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
  27332. * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
  27333. * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
  27334. <atomic-machine.h> instead of <bits/atomic.h>.
  27335. * sysdeps/s390/bits/atomic.h: Move to ...
  27336. * sysdeps/s390/atomic-machine.h: ...here.
  27337. * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
  27338. * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
  27339. (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
  27340. * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
  27341. * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
  27342. * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
  27343. * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
  27344. * sysdeps/tile/bits/atomic.h: Move to ...
  27345. * sysdeps/tile/atomic-machine.h: ...here.
  27346. * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
  27347. * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
  27348. <sysdeps/tile/atomic-machine.h> instead of
  27349. <sysdeps/tile/bits/atomic.h>.
  27350. (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
  27351. * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
  27352. * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
  27353. <sysdeps/tile/atomic-machine.h> instead of
  27354. <sysdeps/tile/bits/atomic.h>.
  27355. (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
  27356. * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
  27357. * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
  27358. <sysdeps/arm/atomic-machine.h> instead of
  27359. <sysdeps/arm/bits/atomic.h>.
  27360. * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
  27361. * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
  27362. (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
  27363. * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
  27364. * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
  27365. (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
  27366. * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
  27367. * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
  27368. (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
  27369. * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
  27370. * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
  27371. * sysdeps/x86_64/bits/atomic.h: Move to ...
  27372. * sysdeps/x86_64/atomic-machine.h: ...here.
  27373. * include/atomic.h: Include <atomic-machine.h> instead of
  27374. <bits/atomic.h>.
  27375. * sysdeps/mips/mips32/libm-test-ulps: Update.
  27376. * sysdeps/mips/mips64/libm-test-ulps: Likewise.
  27377. [BZ #18952]
  27378. * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
  27379. not convert non-integer negative arguments to int to determine the
  27380. value of signgam.
  27381. * math/auto-libm-test-in: Add more tests of lgamma.
  27382. * math/auto-libm-test-out: Regenerated.
  27383. * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
  27384. cosh, csqrt, erfc, expm1 and lgamma.
  27385. * math/auto-libm-test-out: Regenerated.
  27386. * sysdeps/i386/fpu/libm-test-ulps: Update.
  27387. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  27388. 2015-09-10 Joseph Myers <joseph@codesourcery.com>
  27389. [BZ #2542]
  27390. [BZ #2543]
  27391. [BZ #2558]
  27392. * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
  27393. __lgamma_neg for arguments from -28.0 to -2.0.
  27394. * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
  27395. __lgamma_negf for arguments from -15.0 to -2.0.
  27396. * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
  27397. Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
  27398. * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
  27399. Call __lgamma_negl for arguments from -33.0 to -2.0.
  27400. * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
  27401. * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
  27402. * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
  27403. * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
  27404. * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
  27405. * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
  27406. * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
  27407. * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
  27408. * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
  27409. * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
  27410. * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
  27411. * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
  27412. (__lgamma_neg): Likewise.
  27413. (__lgamma_negl): Likewise.
  27414. (__lgamma_product): Likewise.
  27415. (__lgamma_productl): Likewise.
  27416. * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
  27417. * math/auto-libm-test-in: Add more tests of lgamma.
  27418. * math/auto-libm-test-out: Regenerated.
  27419. * sysdeps/i386/fpu/libm-test-ulps: Update.
  27420. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  27421. 2015-09-09 Justin Maggard <jmaggard@netgear.com>
  27422. [BZ #18675]
  27423. * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
  27424. 2015-09-08 Joseph Myers <joseph@codesourcery.com>
  27425. [BZ #14912]
  27426. * bits/libc-lock.h: Move to ...
  27427. * sysdeps/generic/libc-lock.h: ...here.
  27428. (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
  27429. * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
  27430. * sysdeps/mach/hurd/libc-lock.h: ...here.
  27431. (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
  27432. [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
  27433. * sysdeps/mach/bits/libc-lock.h: Move to ...
  27434. * sysdeps/mach/libc-lock.h: ...here.
  27435. (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
  27436. * sysdeps/nptl/bits/libc-lock.h: Move to ...
  27437. * sysdeps/nptl/libc-lock.h: ...here.
  27438. (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
  27439. * sysdeps/nptl/bits/libc-lockP.h: Move to ...
  27440. * sysdeps/nptl/libc-lockP.h: ...here.
  27441. (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
  27442. * crypt/crypt_util.c: Include <libc-lock.h> instead of
  27443. <bits/libc-lock.h>.
  27444. * dirent/scandir-tail.c: Likewise.
  27445. * dlfcn/dlerror.c: Likewise.
  27446. * elf/dl-close.c: Likewise.
  27447. * elf/dl-iteratephdr.c: Likewise.
  27448. * elf/dl-lookup.c: Likewise.
  27449. * elf/dl-open.c: Likewise.
  27450. * elf/dl-support.c: Likewise.
  27451. * elf/dl-writev.h: Likewise.
  27452. * elf/rtld.c: Likewise.
  27453. * grp/fgetgrent.c: Likewise.
  27454. * gshadow/fgetsgent.c: Likewise.
  27455. * gshadow/sgetsgent.c: Likewise.
  27456. * iconv/gconv_conf.c: Likewise.
  27457. * iconv/gconv_db.c: Likewise.
  27458. * iconv/gconv_dl.c: Likewise.
  27459. * iconv/gconv_int.h: Likewise.
  27460. * iconv/gconv_trans.c: Likewise.
  27461. * include/link.h: Likewise.
  27462. * inet/getnameinfo.c: Likewise.
  27463. * inet/getnetgrent.c: Likewise.
  27464. * inet/getnetgrent_r.c: Likewise.
  27465. * intl/bindtextdom.c: Likewise.
  27466. * intl/dcigettext.c: Likewise.
  27467. * intl/finddomain.c: Likewise.
  27468. * intl/gettextP.h: Likewise.
  27469. * intl/loadmsgcat.c: Likewise.
  27470. * intl/localealias.c: Likewise.
  27471. * intl/textdomain.c: Likewise.
  27472. * libidn/idn-stub.c: Likewise.
  27473. * libio/libioP.h: Likewise.
  27474. * locale/duplocale.c: Likewise.
  27475. * locale/freelocale.c: Likewise.
  27476. * locale/newlocale.c: Likewise.
  27477. * locale/setlocale.c: Likewise.
  27478. * login/getutent_r.c: Likewise.
  27479. * login/getutid_r.c: Likewise.
  27480. * login/getutline_r.c: Likewise.
  27481. * login/utmp-private.h: Likewise.
  27482. * login/utmpname.c: Likewise.
  27483. * malloc/mtrace.c: Likewise.
  27484. * misc/efgcvt.c: Likewise.
  27485. * misc/error.c: Likewise.
  27486. * misc/fstab.c: Likewise.
  27487. * misc/getpass.c: Likewise.
  27488. * misc/mntent.c: Likewise.
  27489. * misc/syslog.c: Likewise.
  27490. * nis/nis_call.c: Likewise.
  27491. * nis/nis_callback.c: Likewise.
  27492. * nis/nss-default.c: Likewise.
  27493. * nis/nss_compat/compat-grp.c: Likewise.
  27494. * nis/nss_compat/compat-initgroups.c: Likewise.
  27495. * nis/nss_compat/compat-pwd.c: Likewise.
  27496. * nis/nss_compat/compat-spwd.c: Likewise.
  27497. * nis/nss_nis/nis-alias.c: Likewise.
  27498. * nis/nss_nis/nis-ethers.c: Likewise.
  27499. * nis/nss_nis/nis-grp.c: Likewise.
  27500. * nis/nss_nis/nis-hosts.c: Likewise.
  27501. * nis/nss_nis/nis-network.c: Likewise.
  27502. * nis/nss_nis/nis-proto.c: Likewise.
  27503. * nis/nss_nis/nis-pwd.c: Likewise.
  27504. * nis/nss_nis/nis-rpc.c: Likewise.
  27505. * nis/nss_nis/nis-service.c: Likewise.
  27506. * nis/nss_nis/nis-spwd.c: Likewise.
  27507. * nis/nss_nisplus/nisplus-alias.c: Likewise.
  27508. * nis/nss_nisplus/nisplus-ethers.c: Likewise.
  27509. * nis/nss_nisplus/nisplus-grp.c: Likewise.
  27510. * nis/nss_nisplus/nisplus-hosts.c: Likewise.
  27511. * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
  27512. * nis/nss_nisplus/nisplus-network.c: Likewise.
  27513. * nis/nss_nisplus/nisplus-proto.c: Likewise.
  27514. * nis/nss_nisplus/nisplus-pwd.c: Likewise.
  27515. * nis/nss_nisplus/nisplus-rpc.c: Likewise.
  27516. * nis/nss_nisplus/nisplus-service.c: Likewise.
  27517. * nis/nss_nisplus/nisplus-spwd.c: Likewise.
  27518. * nis/ypclnt.c: Likewise.
  27519. * nptl/libc_pthread_init.c: Likewise.
  27520. * nss/getXXbyYY.c: Likewise.
  27521. * nss/getXXent.c: Likewise.
  27522. * nss/getXXent_r.c: Likewise.
  27523. * nss/nss_db/db-XXX.c: Likewise.
  27524. * nss/nss_db/db-netgrp.c: Likewise.
  27525. * nss/nss_db/nss_db.h: Likewise.
  27526. * nss/nss_files/files-XXX.c: Likewise.
  27527. * nss/nss_files/files-alias.c: Likewise.
  27528. * nss/nsswitch.c: Likewise.
  27529. * posix/regex_internal.h: Likewise.
  27530. * posix/wordexp.c: Likewise.
  27531. * pwd/fgetpwent.c: Likewise.
  27532. * resolv/res_hconf.c: Likewise.
  27533. * resolv/res_libc.c: Likewise.
  27534. * shadow/fgetspent.c: Likewise.
  27535. * shadow/lckpwdf.c: Likewise.
  27536. * shadow/sgetspent.c: Likewise.
  27537. * socket/opensock.c: Likewise.
  27538. * stdio-common/reg-modifier.c: Likewise.
  27539. * stdio-common/reg-printf.c: Likewise.
  27540. * stdio-common/reg-type.c: Likewise.
  27541. * stdio-common/vfprintf.c: Likewise.
  27542. * stdio-common/vfscanf.c: Likewise.
  27543. * stdlib/abort.c: Likewise.
  27544. * stdlib/cxa_atexit.c: Likewise.
  27545. * stdlib/fmtmsg.c: Likewise.
  27546. * stdlib/random.c: Likewise.
  27547. * stdlib/setenv.c: Likewise.
  27548. * string/strsignal.c: Likewise.
  27549. * sunrpc/auth_none.c: Likewise.
  27550. * sunrpc/bindrsvprt.c: Likewise.
  27551. * sunrpc/create_xid.c: Likewise.
  27552. * sunrpc/key_call.c: Likewise.
  27553. * sunrpc/rpc_thread.c: Likewise.
  27554. * sysdeps/arm/backtrace.c: Likewise.
  27555. * sysdeps/generic/ldsodefs.h: Likewise.
  27556. * sysdeps/generic/stdio-lock.h: Likewise.
  27557. * sysdeps/generic/unwind-dw2-fde.c: Likewise.
  27558. * sysdeps/i386/backtrace.c: Likewise.
  27559. * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
  27560. * sysdeps/m68k/backtrace.c: Likewise.
  27561. * sysdeps/mach/hurd/cthreads.c: Likewise.
  27562. * sysdeps/mach/hurd/dirstream.h: Likewise.
  27563. * sysdeps/mach/hurd/malloc-machine.h: Likewise.
  27564. * sysdeps/nptl/malloc-machine.h: Likewise.
  27565. * sysdeps/nptl/stdio-lock.h: Likewise.
  27566. * sysdeps/posix/dirstream.h: Likewise.
  27567. * sysdeps/posix/getaddrinfo.c: Likewise.
  27568. * sysdeps/posix/system.c: Likewise.
  27569. * sysdeps/pthread/aio_suspend.c: Likewise.
  27570. * sysdeps/s390/s390-32/backtrace.c: Likewise.
  27571. * sysdeps/s390/s390-64/backtrace.c: Likewise.
  27572. * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
  27573. * sysdeps/unix/sysv/linux/if_index.c: Likewise.
  27574. * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
  27575. * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
  27576. * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
  27577. * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
  27578. * sysdeps/unix/sysv/linux/system.c: Likewise.
  27579. * sysdeps/x86_64/backtrace.c: Likewise.
  27580. * time/alt_digit.c: Likewise.
  27581. * time/era.c: Likewise.
  27582. * time/tzset.c: Likewise.
  27583. * wcsmbs/wcsmbsload.c: Likewise.
  27584. * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
  27585. instead of <bits/libc-lock.h> in comment.
  27586. 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
  27587. * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
  27588. Only use .set mips2 if the current ISA is below mips2.
  27589. * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
  27590. Likewise.
  27591. * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
  27592. mips32r2 if the current ISA is below mips32r2.
  27593. * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
  27594. (TLS_IE): Updated to use the TLD_RDHWR macro.
  27595. (TLS_LE): Likewise.
  27596. * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
  27597. __ASSEMBLER__ condition.
  27598. 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
  27599. Fix parallel build of before-compile targets.
  27600. * sysdeps/mach/Makefile ($(patsubst
  27601. mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
  27602. mach-before-compile target.
  27603. * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
  27604. io fs process)): Move rule to dedicated hurd-before-compile target.
  27605. 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
  27606. Fix rules generating headers in hurd/ and mach/ when initial make call
  27607. has subdir= explicitly set.
  27608. * sysdeps/mach/Makefile ($(patsubst
  27609. mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
  27610. calling $(MAKE).
  27611. * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
  27612. io fs process)): Force subdir to hurd when calling $(MAKE).
  27613. ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
  27614. subdir to mach when calling $(MAKE).
  27615. 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
  27616. Check sysheaders when looking for Mach and Hurd headers
  27617. * sysdeps/mach/configure.ac: Add sysheaders check.
  27618. * sysdeps/mach/configure: Regenerate.
  27619. * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
  27620. * sysdeps/mach/hurd/configure: Regenerate.
  27621. 2015-09-04 Roland McGrath <roland@hack.frob.com>
  27622. [BZ #18921]
  27623. * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
  27624. Fix inverted sense of test of 'o_directory_works' value.
  27625. Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
  27626. Bernhard Voelker <mail@bernhard-voelker.de>.
  27627. 2015-09-04 Joseph Myers <joseph@codesourcery.com>
  27628. [BZ #14912]
  27629. * bits/linkmap.h: Move to ...
  27630. * sysdeps/generic/linkmap.h: ...here.
  27631. * sysdeps/aarch64/bits/linkmap.h: Move to ...
  27632. * sysdeps/aarch64/linkmap.h: ...here.
  27633. * sysdeps/arm/bits/linkmap.h: Move to ...
  27634. * sysdeps/arm/linkmap.h: ...here.
  27635. * sysdeps/hppa/bits/linkmap.h: Move to ...
  27636. * sysdeps/hppa/linkmap.h: ...here.
  27637. * sysdeps/ia64/bits/linkmap.h: Move to ...
  27638. * sysdeps/ia64/linkmap.h: ...here.
  27639. * sysdeps/mips/bits/linkmap.h: Move to ...
  27640. * sysdeps/mips/linkmap.h: ...here.
  27641. * sysdeps/s390/bits/linkmap.h: Move to ...
  27642. * sysdeps/s390/linkmap.h: ...here.
  27643. * sysdeps/sh/bits/linkmap.h: Move to ...
  27644. * sysdeps/sh/linkmap.h: ...here.
  27645. * sysdeps/x86/bits/linkmap.h: Move to ...
  27646. * sysdeps/x86/linkmap.h: ...here.
  27647. * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
  27648. 2015-09-04 Andreas Schwab <schwab@suse.de>
  27649. [BZ #18635]
  27650. * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
  27651. (__makecontext): Terminate FDE before return label.
  27652. (__novec_makecontext): Likewise.
  27653. 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
  27654. * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
  27655. first member of struct sv in syscall macro.
  27656. 2015-09-04 Joseph Myers <joseph@codesourcery.com>
  27657. [BZ #14912]
  27658. * bits/stdio-lock.h: Move to ...
  27659. * sysdeps/generic/stdio-lock.h: ...here.
  27660. (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
  27661. * sysdeps/nptl/bits/stdio-lock.h: Move to ...
  27662. * sysdeps/nptl/stdio-lock.h: ...here.
  27663. (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
  27664. * include/libio.h: Include <stdio-lock.h> instead of
  27665. <bits/stdio-lock.h>.
  27666. * sysdeps/nptl/fork.c: Likewise.
  27667. * sysdeps/pthread/flockfile.c: Likewise.
  27668. * sysdeps/pthread/ftrylockfile.c: Likewise.
  27669. * sysdeps/pthread/funlockfile.c: Likewise.
  27670. [BZ #14912]
  27671. * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
  27672. * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
  27673. * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
  27674. <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
  27675. * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
  27676. * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
  27677. * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
  27678. 2015-09-03 Roland McGrath <roland@hack.frob.com>
  27679. * elf/Makefile (test-xfail-tst-protected1a): New variable.
  27680. (test-xfail-tst-protected1b): New variable.
  27681. 2015-09-03 Joseph Myers <joseph@codesourcery.com>
  27682. [BZ #14912]
  27683. * bits/libc-tsd.h: Move to ...
  27684. * sysdeps/generic/libc-tsd.h: ...here.
  27685. (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
  27686. * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
  27687. * sysdeps/mach/hurd/libc-tsd.h: ...here.
  27688. (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
  27689. * include/ctype.h: Include <libc-tsd.h> instead of
  27690. <bits/libc-tsd.h>.
  27691. * include/rpc/rpc.h: Likewise.
  27692. * locale/localeinfo.h: Likewise.
  27693. * sunrpc/rpc_thread.c: Likewise.
  27694. * sysdeps/mach/hurd/malloc-machine.h: Likewise.
  27695. * sysdeps/nptl/malloc-machine.h: Likewise.
  27696. * Makefile (headers): Remove bits/libc-lock.h.
  27697. * libio/Makefile (headers): Remove bits/stdio-lock.h.
  27698. * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
  27699. <bits/stdio-lock.h> and commented-out include of <comthread.h>.
  27700. * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
  27701. <bits/stdio-lock.h>.
  27702. * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
  27703. * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
  27704. 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
  27705. [BZ #18757]
  27706. * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
  27707. * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
  27708. BZ #18757.
  27709. 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
  27710. * malloc/mtrace.pl: Filter out NULL entries.
  27711. 2015-09-01 Joseph Myers <joseph@codesourcery.com>
  27712. * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
  27713. * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
  27714. macro.
  27715. * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
  27716. (TCP_CC_INFO): Likewise.
  27717. (TCP_SAVE_SYN): Likewise.
  27718. (TCP_SAVED_SYN): Likewise.
  27719. 2015-08-31 Brett Neumeier <brett@neumeier.us>
  27720. [BZ #18870]
  27721. * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
  27722. 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
  27723. [BZ #18873]
  27724. Fix broken overflow check in posix_fallocate
  27725. * sysdeps/posix/posix_fallocate.c (posix_fallocate):
  27726. * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
  27727. Fix parenthesization typo.
  27728. 2015-08-28 Mike Frysinger <vapier@gentoo.org>
  27729. [BZ #18887]
  27730. * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
  27731. tst-mntent-blank-passno.
  27732. * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
  27733. * misc/tst-mntent-blank-corrupt.c: New test.
  27734. * misc/tst-mntent-blank-passno.c: New test ripped from ...
  27735. * misc/tst-mntent.c (do_test): ... here.
  27736. 2015-08-29 Mike Frysinger <vapier@gentoo.org>
  27737. [BZ #4404]
  27738. * po/de.po: Fix SIGALRM typo.
  27739. 2015-08-28 James Perkins <james@loowit.net>
  27740. * time/tst-strptime2.c (tests): Replace short list of test
  27741. strings for strptime %z specifier with code which exhaustively
  27742. tests every combination of sign and 0 to 5 digits. Tests for
  27743. rejection of invalid strings.
  27744. 2015-08-28 James Perkins <james@loowit.net>
  27745. [BZ #16141]
  27746. * time/strptime_l.c (__strptime_internal): Fix %z minutes
  27747. calculation, removing incorrect decimal time rounding, so that
  27748. all minute values result in a valid seconds value.
  27749. * time/strptime_l.c (__strptime_internal): Extend %z time zone
  27750. offset range limits to UTC-99:59 through UTC+99:59 to parse
  27751. current and historical use cases.
  27752. * time/tst-strptime2.c (tests): Modify and add tests for the
  27753. strptime %z input field descriptor, specifically conversion of
  27754. minutes to seconds and validating an offset range of -9959 to
  27755. +9959.
  27756. 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  27757. Dmitry V. Levin <ldv@altlinux.org>
  27758. [BZ #18877]
  27759. * posix/Makefile (tests): Add tst-mmap-offset.
  27760. * posix/tst-mmap.c: New file.
  27761. * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
  27762. offset calculation for negative values.
  27763. 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
  27764. * sysdeps/i386/init-arch.h: New file.
  27765. * sysdeps/i386/i586/init-arch.h: Likewise.
  27766. * sysdeps/i386/i686/init-arch.h: Likewise.
  27767. * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
  27768. bit if CX8 is available. Set bit_I686 bit if CMOV is available.
  27769. * sysdeps/x86/cpu-features.h (bit_I586): New.
  27770. (bit_I686): Likewise.
  27771. (bit_CX8): Likewise.
  27772. (bit_CMOV): Likewise.
  27773. (index_CX8): Likewise.
  27774. (index_CMOV): Likewise.
  27775. (index_I586): Likewise.
  27776. (index_I686): Likewise.
  27777. (reg_CX8): Likewise.
  27778. (reg_CMOV): Likewise.
  27779. (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
  27780. available at compile-time.
  27781. (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
  27782. available at compile-time.
  27783. * sysdeps/x86/init-arch.h (USE_I586): New macro.
  27784. (USE_I686): Likewise.
  27785. 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
  27786. * sysdeps/i386/bcopy.S: New file.
  27787. * sysdeps/i386/bzero.S: Likewise.
  27788. * sysdeps/i386/memcpy.S: Likewise.
  27789. * sysdeps/i386/memmove.S: Likewise.
  27790. * sysdeps/i386/mempcpy.S: Likewise.
  27791. * sysdeps/i386/memset.S: Likewise.
  27792. * sysdeps/i386/bzero.c: Removed.
  27793. * sysdeps/i386/memset.c: Likewise.
  27794. * sysdeps/i386/i586/memcpy_chk.S: Likewise.
  27795. * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
  27796. * sysdeps/i386/i586/memset_chk.S: Likewise.
  27797. * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
  27798. * sysdeps/i386/memcpy_chk.S: Here.
  27799. * sysdeps/i386/i686/memmove_chk.S: Moved to ...
  27800. * sysdeps/i386/memmove_chk.S: Here.
  27801. * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
  27802. * sysdeps/i386/mempcpy_chk.S: Likewise.
  27803. * sysdeps/i386/i686/memset_chk.S: Moved to ...
  27804. * sysdeps/i386/memset_chk.S: Likewise.
  27805. 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
  27806. * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
  27807. Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
  27808. file, move DIAG_POP_NEEDS_COMMENT to end of file.
  27809. * soft-fp/fmadf4.c: Ditto.
  27810. * soft-fp/fmatf4.c: Ditto.
  27811. 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
  27812. * sysdeps/i386/i586/Implies: Removed.
  27813. * sysdeps/i386/i686/Implies: Likewise.
  27814. 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
  27815. * sysdeps/i386/i486/strlen.S: Moved to ...
  27816. * sysdeps/i386/strlen.S: Here.
  27817. 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
  27818. * sysdeps/i386/i486/strcat.S: Moved to ...
  27819. * sysdeps/i386/strcat.S: Here.
  27820. 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
  27821. * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
  27822. * sysdeps/i386/pthread_spin_trylock.S: Here.
  27823. * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
  27824. * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
  27825. 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
  27826. * sysdeps/i386/i486/string-inlines.c: Moved to ...
  27827. * sysdeps/i386/string-inlines.c: Here.
  27828. 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
  27829. * sysdeps/i386/i486/htonl.S: Moved ...
  27830. * sysdeps/i386/htonl.S: here.
  27831. 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
  27832. * sysdeps/i386/i486/bits/atomic.h: Moved to ...
  27833. * sysdeps/i386/bits/atomic.h: Here.
  27834. 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
  27835. * sysdeps/i386/i486/Versions: Removed.
  27836. 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
  27837. [BZ #2898]
  27838. * misc/mktemp.c: Add mkdtemp to the link_warning message.
  27839. Based on patch by Aurelien Jarno.
  27840. 2015-08-26 Stan Shebs <stanshebs@google.com>
  27841. * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
  27842. (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
  27843. 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
  27844. * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
  27845. * sysdeps/powerpc/dl-procinfo.c:
  27846. (_dl_powerpc_cap_flags): Added descriptor for this hwcap
  27847. feature so it shows when LD_SHOW_AUXV=1.
  27848. 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  27849. * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
  27850. (__arch_compare_and_exchange_val_32_acq): Remove and use common
  27851. definition. ISA 2.07B no longer requires full sync.
  27852. 2015-08-26 Mike Frysinger <vapier@gentoo.org>
  27853. [BZ #18863]
  27854. * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
  27855. (si_call_addr): Define.
  27856. (si_syscall): Define.
  27857. (si_arch): Define.
  27858. 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
  27859. * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
  27860. * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
  27861. * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
  27862. Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
  27863. (__memset_zero_constant_len_parameter): New.
  27864. * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
  27865. Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
  27866. (__memset_zero_constant_len_parameter): Don't define if
  27867. __memset_chk or USE_AS_BZERO are defined.
  27868. * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
  27869. Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
  27870. * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
  27871. * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
  27872. tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
  27873. * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
  27874. tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
  27875. comments.
  27876. * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
  27877. -mno-mmx for $(all-rtld-routines).
  27878. * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
  27879. * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
  27880. i386.
  27881. 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
  27882. * sysdeps/generic/unwind.h
  27883. (_Unwind_Word): Use __mode__(__unwind_word__)
  27884. instead of __mode__(__word__).
  27885. (_Unwind_Sword): Likewise.
  27886. * sysdeps/s390/s390-64/utf8-utf16-z9.c
  27887. (MAX_NEEDED_INPUT): New define.
  27888. (MAX_NEEDED_OUTPUT): New define.
  27889. * NEWS: New item for IBM z13 string optimizations.
  27890. * sysdeps/s390/multiarch/memrchr-c.c: New File.
  27891. * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
  27892. * sysdeps/s390/multiarch/memrchr.c: Likewise.
  27893. * sysdeps/s390/multiarch/Makefile
  27894. (sysdep_routines): Add memrchr functions.
  27895. * sysdeps/s390/multiarch/ifunc-impl-list-common.c
  27896. (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
  27897. * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
  27898. * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
  27899. * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
  27900. * sysdeps/s390/multiarch/Makefile
  27901. (sysdep_routines): Add wmemcmp functions.
  27902. * sysdeps/s390/multiarch/ifunc-impl-list-common.c
  27903. (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
  27904. * benchtests/bench-wmemcmp.c: New File.
  27905. * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
  27906. * sysdeps/s390/multiarch/wmemset-c.c: New File.
  27907. * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
  27908. * sysdeps/s390/multiarch/wmemset.c: Likewise.
  27909. * sysdeps/s390/multiarch/Makefile
  27910. (sysdep_routines): Add wmemset functions.
  27911. * sysdeps/s390/multiarch/ifunc-impl-list-common.c
  27912. (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
  27913. * wcsmbs/wmemset.c: Use WMEMSET if defined.
  27914. * string/test-memset.c: Add wmemset support.
  27915. * wcsmbs/test-wmemset.c: New File.
  27916. * wcsmbs/Makefile (strop-tests): Add wmemset.
  27917. * benchtests/bench-memset.c: Add wmemset support.
  27918. * benchtests/bench-wmemset.c: New File.
  27919. * benchtests/Makefile (wcsmbs-bench): Add wmemset.
  27920. * sysdeps/s390/multiarch/memccpy-c.c: New File.
  27921. * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
  27922. * sysdeps/s390/multiarch/memccpy.c: Likewise.
  27923. * sysdeps/s390/multiarch/Makefile
  27924. (sysdep_routines): Add memccpy functions.
  27925. * sysdeps/s390/multiarch/ifunc-impl-list-common.c
  27926. (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
  27927. * string/memccpy.c: Use MEMCCPY if defined.
  27928. * sysdeps/s390/multiarch/memchr-vx.S: New File.
  27929. * sysdeps/s390/multiarch/memchr.c: Likewise.
  27930. * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
  27931. * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
  27932. * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
  27933. * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
  27934. * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
  27935. * sysdeps/s390/multiarch/wmemchr.c: Likewise.
  27936. * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
  27937. * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
  27938. * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
  27939. and rawmemchr functions.
  27940. * sysdeps/s390/multiarch/ifunc-impl-list-common.c
  27941. (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
  27942. and wmemchr.
  27943. * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
  27944. * string/test-memchr.c: Add wmemchr support.
  27945. * wcsmbs/test-wmemchr.c: New File.
  27946. * wcsmbs/Makefile (strop-tests): Add wmemchr.
  27947. * benchtests/bench-memchr.c: Add wmemchr support.
  27948. * benchtests/bench-wmemchr.c: New File.
  27949. * benchtests/Makefile (wcsmbs-bench): wmemchr.
  27950. * sysdeps/s390/multiarch/strcspn-c.c: New File.
  27951. * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
  27952. * sysdeps/s390/multiarch/strcspn.c: Likewise.
  27953. * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
  27954. * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
  27955. * sysdeps/s390/multiarch/wcscspn.c: Likewise.
  27956. * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
  27957. wcscspn functions.
  27958. * sysdeps/s390/multiarch/ifunc-impl-list.c
  27959. (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
  27960. * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
  27961. * string/test-strcspn.c: Add wcscspn support.
  27962. * wcsmbs/test-wcscspn.c: New File.
  27963. * wcsmbs/Makefile (strop-tests): Add wcscspn.
  27964. * benchtests/bench-strcspn.c: Add wcscspn support.
  27965. * benchtests/bench-wcscspn.c: New File.
  27966. * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
  27967. * sysdeps/s390/multiarch/strpbrk-c.c: New File.
  27968. * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
  27969. * sysdeps/s390/multiarch/strpbrk.c: Likewise.
  27970. * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
  27971. * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
  27972. * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
  27973. * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
  27974. wcspbrk functions.
  27975. * sysdeps/s390/multiarch/ifunc-impl-list.c
  27976. (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
  27977. * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
  27978. * string/test-strpbrk.c: Add wcspbrk support.
  27979. * wcsmbs/test-wcspbrk.c: New File.
  27980. * wcsmbs/Makefile (strop-tests): Add wcspbrk.
  27981. * benchtests/bench-strpbrk.c: Add wcspbrk support.
  27982. * benchtests/bench-wcspbrk.c: New File.
  27983. * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
  27984. * sysdeps/s390/multiarch/strspn-c.c: New File.
  27985. * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
  27986. * sysdeps/s390/multiarch/strspn.c: Likewise.
  27987. * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
  27988. * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
  27989. * sysdeps/s390/multiarch/wcsspn.c: Likewise.
  27990. * wcsmbs/wcsspn.c: Use WCSSPN if defined.
  27991. * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
  27992. wcsspn functions.
  27993. * sysdeps/s390/multiarch/ifunc-impl-list.c
  27994. (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
  27995. * string/test-strspn.c: Add wcsspn support.
  27996. * wcsmbs/test-wcsspn.c: New File.
  27997. * wcsmbs/Makefile (strop-tests): Add wcsspn.
  27998. * benchtests/bench-strspn.c: Add wcsspn support.
  27999. * benchtests/bench-wcsspn.c: New File.
  28000. * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
  28001. * sysdeps/s390/multiarch/strrchr-c.c: New File.
  28002. * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
  28003. * sysdeps/s390/multiarch/strrchr.c: Likewise.
  28004. * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
  28005. * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
  28006. * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
  28007. * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
  28008. wcsrchr functions.
  28009. * sysdeps/s390/multiarch/ifunc-impl-list.c
  28010. (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
  28011. * benchtests/bench-wcsrchr.c: New File.
  28012. * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
  28013. * sysdeps/s390/multiarch/strchrnul-c.c: New File.
  28014. * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
  28015. * sysdeps/s390/multiarch/strchrnul.c: Likewise.
  28016. * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
  28017. * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
  28018. * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
  28019. * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
  28020. wcschrnul functions.
  28021. * sysdeps/s390/multiarch/ifunc-impl-list.c
  28022. (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
  28023. * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
  28024. * string/test-strchr.c: Add wcschrnul support.
  28025. * wcsmbs/test-wcschrnul.c: New File.
  28026. * wcsmbs/Makefile (strop-tests): Add wcschrnul.
  28027. * benchtests/bench-strchr.c: Add wcschrnul support.
  28028. * benchtests/bench-wcschrnul.c: New File.
  28029. * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
  28030. * sysdeps/s390/multiarch/strchr-c.c: New File.
  28031. * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
  28032. * sysdeps/s390/multiarch/strchr.c: Likewise.
  28033. * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
  28034. * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
  28035. * sysdeps/s390/multiarch/wcschr.c: Likewise.
  28036. * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
  28037. wcschr functions.
  28038. * sysdeps/s390/multiarch/ifunc-impl-list.c
  28039. (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
  28040. * string/strchr.c (STRCHR): Define and use macro.
  28041. * benchtests/bench-wcschr.c: New File.
  28042. * benchtests/Makefile (wcsmbs-bench): Add wcschr.
  28043. * sysdeps/s390/multiarch/strncmp-c.c: New File.
  28044. * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
  28045. * sysdeps/s390/multiarch/strncmp.c: Likewise.
  28046. * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
  28047. * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
  28048. * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
  28049. * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
  28050. wcsncmp functions.
  28051. * sysdeps/s390/multiarch/ifunc-impl-list.c
  28052. (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
  28053. * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
  28054. * benchtests/bench-strncmp.c: Add wcsncmp support.
  28055. * benchtests/bench-wcsncmp.c: New File.
  28056. * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
  28057. * sysdeps/s390/multiarch/strcmp-vx.S: New File.
  28058. * sysdeps/s390/multiarch/strcmp.c: Likewise.
  28059. * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
  28060. * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
  28061. * sysdeps/s390/multiarch/wcscmp.c: Likewise.
  28062. * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
  28063. * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
  28064. * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
  28065. wcscmp functions.
  28066. * sysdeps/s390/multiarch/ifunc-impl-list.c
  28067. (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
  28068. * string/strcmp.c (STRCMP): Define and use macro.
  28069. * benchtests/bench-wcscmp.c: New File.
  28070. * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
  28071. * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
  28072. instead of _HAVE_STRING_ARCH_memchr.
  28073. * sysdeps/s390/multiarch/strncat-c.c: New File.
  28074. * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
  28075. * sysdeps/s390/multiarch/strncat.c: Likewise.
  28076. * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
  28077. * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
  28078. * sysdeps/s390/multiarch/wcsncat.c: Likewise.
  28079. * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
  28080. wcsncat functions.
  28081. * sysdeps/s390/multiarch/ifunc-impl-list.c
  28082. (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
  28083. * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
  28084. * string/test-strncat.c: Add wcsncat support.
  28085. * wcsmbs/test-wcsncat.c: New File.
  28086. * wcsmbs/Makefile (strop-tests): Add wcsncat.
  28087. * benchtests/bench-strncat.c: Add wcsncat support.
  28088. * benchtests/bench-wcsncat.c: New File.
  28089. * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
  28090. * sysdeps/s390/multiarch/strcat-c.c: New File.
  28091. * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
  28092. * sysdeps/s390/multiarch/strcat.c: Likewise.
  28093. * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
  28094. * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
  28095. * sysdeps/s390/multiarch/wcscat.c: Likewise.
  28096. * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
  28097. wcscat functions.
  28098. * sysdeps/s390/multiarch/ifunc-impl-list.c
  28099. (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
  28100. * string/strcat.c (STRCAT): Define and use macro.
  28101. * wcsmbs/wcscat.c: Use WCSCAT if defined.
  28102. * string/test-strcat.c: Add wcscat support.
  28103. * wcsmbs/test-wcscat.c: New File.
  28104. * wcsmbs/Makefile (strop-tests): Add wcscat.
  28105. * benchtests/bench-strcat.c: Add wcscat support.
  28106. * benchtests/bench-wcscat.c: New File.
  28107. * benchtests/Makefile (wcsmbs-bench): Add wcscat.
  28108. * sysdeps/s390/multiarch/stpncpy-c.c: New File.
  28109. * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
  28110. * sysdeps/s390/multiarch/stpncpy.c: Likewise.
  28111. * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
  28112. * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
  28113. * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
  28114. * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
  28115. wcpncpy functions.
  28116. * sysdeps/s390/multiarch/ifunc-impl-list.c
  28117. (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
  28118. * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
  28119. * string/test-stpncpy.c: Add wcpncpy support.
  28120. * wcsmbs/test-wcpncpy.c: New File.
  28121. * wcsmbs/Makefile (strop-tests): Add wcpncpy.
  28122. * benchtests/bench-stpncpy.c: Add wcpncpy support.
  28123. * benchtests/bench-wcpncpy.c: New File.
  28124. * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
  28125. * sysdeps/s390/multiarch/strncpy-vx.S: New File.
  28126. * sysdeps/s390/multiarch/strncpy.c: Likewise.
  28127. * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
  28128. * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
  28129. * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
  28130. * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
  28131. * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
  28132. * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
  28133. wcsncpy functions.
  28134. * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
  28135. * sysdeps/s390/multiarch/ifunc-impl-list.c
  28136. (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
  28137. * string/test-strncpy.c: Add wcsncpy support.
  28138. * wcsmbs/test-wcsncpy.c: New File.
  28139. * wcsmbs/Makefile (strop-tests): Add wcsncpy.
  28140. * benchtests/bench-strncpy.c: Add wcsncpy support.
  28141. * benchtests/bench-wcsncpy.c: New File.
  28142. * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
  28143. * sysdeps/s390/multiarch/stpcpy-c.c: New File.
  28144. * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
  28145. * sysdeps/s390/multiarch/stpcpy.c: Likewise.
  28146. * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
  28147. * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
  28148. * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
  28149. * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
  28150. wcpcpy functions.
  28151. * string/stpcpy.c: Use STPCPY if defined.
  28152. * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
  28153. * sysdeps/s390/multiarch/ifunc-impl-list.c
  28154. (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
  28155. * string/test-stpcpy.c: Add wcpcpy support.
  28156. * wcsmbs/test-wcpcpy.c: New File.
  28157. * wcsmbs/Makefile (strop-tests): Add wcpcpy.
  28158. * benchtests/bench-stpcpy.c: Add wcpcpy support.
  28159. * benchtests/bench-wcpcpy.c: New File.
  28160. * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
  28161. * sysdeps/s390/multiarch/strcpy-vx.S: New File.
  28162. * sysdeps/s390/multiarch/strcpy.c: Likewise.
  28163. * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
  28164. * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
  28165. * sysdeps/s390/multiarch/wcscpy.c: Likewise.
  28166. * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
  28167. * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
  28168. * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
  28169. wcscpy functions.
  28170. * sysdeps/s390/multiarch/ifunc-impl-list.c
  28171. (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
  28172. * benchtests/bench-wcscpy.c: New File.
  28173. * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
  28174. * sysdeps/s390/multiarch/strnlen-c.c: New File.
  28175. * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
  28176. * sysdeps/s390/multiarch/strnlen.c: Likewise.
  28177. * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
  28178. * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
  28179. * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
  28180. * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
  28181. wcsnlen functions.
  28182. * sysdeps/s390/multiarch/ifunc-impl-list.c
  28183. (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
  28184. * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
  28185. * string/test-strnlen.c: Add wcsnlen support.
  28186. * wcsmbs/test-wcsnlen.c: New File.
  28187. * wcsmbs/Makefile (strop-tests): Add wcsnlen.
  28188. * benchtests/bench-strnlen.c: Add wcsnlen support.
  28189. * benchtests/bench-wcsnlen.c: New File.
  28190. * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
  28191. * sysdeps/s390/multiarch/Makefile: New File.
  28192. * sysdeps/s390/multiarch/strlen-c.c: Likewise.
  28193. * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
  28194. * sysdeps/s390/multiarch/strlen.c: Likewise.
  28195. * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
  28196. * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
  28197. * sysdeps/s390/multiarch/wcslen.c: Likewise.
  28198. * string/strlen.c (STRLEN): Define and use macro.
  28199. * sysdeps/s390/multiarch/ifunc-impl-list.c
  28200. (IFUNC_VX_IMPL): New macro function.
  28201. (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
  28202. * benchtests/Makefile (wcsmbs-bench): New variable.
  28203. (string-bench-all): Added wcsmbs-bench.
  28204. * benchtests/bench-wcslen.c: New File.
  28205. * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
  28206. s390_vx_libc_ifunc2): New macro function.
  28207. * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
  28208. * sysdeps/s390/configure.ac: Add test for S390 vector instruction
  28209. assembler support.
  28210. * sysdeps/s390/configure: Regenerated.
  28211. * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
  28212. * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
  28213. * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
  28214. * sysdeps/s390/dl-procinfo.h: Add vector capability.
  28215. * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
  28216. * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
  28217. Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
  28218. * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
  28219. * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
  28220. * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
  28221. (memcmp, bcmp): Use __memcmp_default as alias source.
  28222. * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
  28223. * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
  28224. Rename to __memcmp_default.
  28225. * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
  28226. * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
  28227. (memcpy): Use __memcpy_default as alias source.
  28228. * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
  28229. * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
  28230. Rename to __memcpy_default.
  28231. * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
  28232. * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
  28233. (memset): Use __memset_default as alias source.
  28234. * sysdeps/s390/s390-32/multiarch/memset.c: New File.
  28235. * sysdeps/s390/s390-32/memset.S (__memset_g5):
  28236. Rename to __memset_default.
  28237. * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
  28238. Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
  28239. * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
  28240. * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
  28241. * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
  28242. (memcmp, bcmp): Use __memcmp_default as alias source.
  28243. * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
  28244. * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
  28245. Rename to __memcmp_default.
  28246. * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
  28247. * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
  28248. (memcpy): Use __memcpy_default as alias source.
  28249. * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
  28250. * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
  28251. Rename to __memcpy_default.
  28252. * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
  28253. * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
  28254. (memset): Use __memset_default as alias source.
  28255. * sysdeps/s390/s390-64/multiarch/memset.c: New File.
  28256. * sysdeps/s390/s390-64/memset.S (__memset_z900):
  28257. Rename to __memset_default.
  28258. * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
  28259. * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
  28260. [BZ #18610]
  28261. * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
  28262. __ieee_instruction_pointer to __unused.
  28263. * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
  28264. __ieee_instruction_pointer.
  28265. * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
  28266. * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
  28267. * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
  28268. * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
  28269. * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
  28270. Mark dxc-field as reserved.
  28271. 2015-08-25 Roland McGrath <roland@hack.frob.com>
  28272. * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
  28273. if the weak reference is not null.
  28274. 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
  28275. * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
  28276. [BZ #11214]
  28277. * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
  28278. 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  28279. * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
  28280. * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
  28281. * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
  28282. * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
  28283. * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
  28284. * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
  28285. * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
  28286. * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
  28287. * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
  28288. * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
  28289. * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
  28290. * sysdeps/unix/sysv/linux/send.c: Call direct system call.
  28291. * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
  28292. * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
  28293. * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
  28294. * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
  28295. * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
  28296. * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
  28297. 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
  28298. * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
  28299. register other than r0 for tabort, it has special meaning.
  28300. * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
  28301. * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
  28302. transaction before starting syscall.
  28303. 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  28304. * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
  28305. 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
  28306. * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
  28307. * sysdeps/x86_64/rtld-memcmp.c: Removed.
  28308. * sysdeps/x86_64/rtld-memset.S: Likewise.
  28309. * sysdeps/x86_64/rtld-strchr.S: Likewise.
  28310. * sysdeps/x86_64/rtld-strlen.S: Likewise.
  28311. * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
  28312. * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
  28313. * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
  28314. 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
  28315. * debug/strcpy_chk.c: Improve performance.
  28316. * debug/stpcpy_chk.c: Likewise.
  28317. * sysdeps/x86_64/strcpy_chk.S: Remove.
  28318. * sysdeps/x86_64/stpcpy_chk.S: Remove.
  28319. [BZ #18240]
  28320. * misc/hsearch_r.c (__hcreate_r): Handle overflow.
  28321. 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
  28322. [BZ #15128]
  28323. * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
  28324. ifuncmain8.
  28325. (modules-names): Add ifuncmod8.
  28326. ($(objpfx)ifuncmain8): New rule.
  28327. * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
  28328. <cpuid.h>.
  28329. (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
  28330. _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
  28331. _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
  28332. _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
  28333. * sysdeps/x86_64/dl-trampoline.S: Rewrite.
  28334. * sysdeps/x86_64/dl-trampoline.h: Likewise.
  28335. * sysdeps/x86_64/ifuncmain8.c: New file.
  28336. * sysdeps/x86_64/ifuncmod8.c: Likewise.
  28337. * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
  28338. Removed.
  28339. * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
  28340. (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
  28341. Change rtld_savespace_sse to __glibc_unused2.
  28342. (RTLD_CHECK_FOREIGN_CALL): Removed.
  28343. (RTLD_ENABLE_FOREIGN_CALL): Likewise.
  28344. (RTLD_PREPARE_FOREIGN_CALL): Likewise.
  28345. (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
  28346. 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
  28347. * sysdeps/aarch64/bzero.S (__bzero): Remove.
  28348. 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
  28349. * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
  28350. Unconditionally set __fpcr to avoid uninialized warning.
  28351. (libc_feholdsetround_noex_aarch64_ctx): Likewise.
  28352. 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
  28353. * malloc/arena.c (arena_get_retry): Don't use main_arena if it
  28354. is corrupt.
  28355. * malloc/arena.c (arena_get2): Drop unused argument.
  28356. (arena_lock): Adjust.
  28357. (arena_get_retry): Likewise.
  28358. 2015-08-24 Andreas Schwab <schwab@suse.de>
  28359. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
  28360. Don't define.
  28361. * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
  28362. (__ASSUME_IPC64): Don't undef.
  28363. * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
  28364. * sysdeps/unix/sysv/linux/semctl.c: Likewise.
  28365. * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
  28366. * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
  28367. * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
  28368. * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
  28369. * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
  28370. * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
  28371. * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
  28372. * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
  28373. * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
  28374. * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
  28375. * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
  28376. * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
  28377. * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
  28378. * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
  28379. * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
  28380. * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
  28381. * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
  28382. * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
  28383. * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
  28384. 2015-08-21 Mike Frysinger <vapier@gentoo.org>
  28385. * manual/Makefile (install): Only build manual when perl is available.
  28386. 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
  28387. * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
  28388. '#undef memcpy' by '#undef memchr'.
  28389. 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
  28390. * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
  28391. memchr not point to the internal __GI_memchr implementation.
  28392. 2015-08-20 Joseph Myers <joseph@codesourcery.com>
  28393. * timezone/Makefile (CFLAGS-zdump.c): Remove
  28394. -Wno-strict-prototypes.
  28395. (CFLAGS-zic.c): Likewise.
  28396. (CFLAGS-ialloc.c): Likewise.
  28397. (CFLAGS-scheck.c): Likewise.
  28398. * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
  28399. -Wno-error=undef.
  28400. 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
  28401. * i386/i686/multiarch/strcasestr-c.c: Removed.
  28402. * x86_64/multiarch/strcasestr.c: Likewise.
  28403. * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
  28404. Remove strcasestr.
  28405. 2015-08-20 Joseph Myers <joseph@codesourcery.com>
  28406. * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
  28407. * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
  28408. variables for high and low parts before possibly modifying them.
  28409. 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
  28410. * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
  28411. * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
  28412. * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
  28413. of "multiarch/init-arch.h".
  28414. * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
  28415. * sysdeps/x86/init-arch.h: This.
  28416. 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
  28417. * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
  28418. * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
  28419. 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
  28420. [BZ #17787]
  28421. * manual/macros.texi: Add twoexp macro.
  28422. * manual/filesys.texi: Fix exponents.
  28423. * manual/llio.texi: Likewise.
  28424. * manual/stdio.texi: Likewise.
  28425. 2015-08-20 Florian Weimer <fweimer@redhat.com>
  28426. * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
  28427. incorrect use.
  28428. 2015-08-19 Joseph Myers <joseph@codesourcery.com>
  28429. [BZ #18370]
  28430. * math/s_csqrt.c (__csqrt): Force underflow exception for results
  28431. whose real or imaginary part has small absolute value.
  28432. * math/s_csqrtf.c (__csqrtf): Likewise.
  28433. * math/s_csqrtl.c (__csqrtl): Likewise.
  28434. * math/auto-libm-test-in: Add more tests of csqrt.
  28435. * math/auto-libm-test-out: Regenerated.
  28436. * sysdeps/i386/fpu/libm-test-ulps: Update.
  28437. 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
  28438. * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
  28439. __ppc_set_ppr_very_low): New functions.
  28440. * manual/platform.texi: Add documentation about
  28441. __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
  28442. 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
  28443. * string/stpncpy.c (stpncpy): Improve performance using
  28444. __strnlen/memcpy/memset.
  28445. 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
  28446. [BZ #18796]
  28447. * scripts/test-installation.pl: Don't add -lmvec to build options if
  28448. libmvec wasn't built.
  28449. 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
  28450. [BZ #14341]
  28451. * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
  28452. case when there is a gap between DT_REL and DT_JMPREL sections.
  28453. * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
  28454. (LDFLAGS-tst-split-dynreloc): New.
  28455. (tst-split-dynreloc-ENV): Likewise.
  28456. * sysdeps/x86_64/tst-split-dynreloc.c: New file.
  28457. * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
  28458. 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
  28459. [BZ #18822]
  28460. * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
  28461. attribute_hidden.
  28462. (__xstat64_conv): Likewise.
  28463. (__xstat32_conv): Likewise.
  28464. 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
  28465. [BZ #18822]
  28466. * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
  28467. Don't load %ebx when calling __setcontext. Call __setcontext
  28468. with HIDDEN_JUMPTARGET.
  28469. * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
  28470. libc_hidden_def.
  28471. 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
  28472. * sysdeps/i386/i686/Makefile
  28473. [$(subdir) == string] (sysdep_routines): Moved to ...
  28474. * sysdeps/i386/Makefile: Here.
  28475. * sysdeps/i386/i686/cacheinfo.c: Moved to ...
  28476. * sysdeps/i386/cacheinfo.c: Here.
  28477. * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
  28478. * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
  28479. * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
  28480. * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
  28481. 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
  28482. * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
  28483. __i586__ is defined.
  28484. (HAS_I686): Defined to 1 if __i686__ is defined.
  28485. 2015-08-19 Joseph Myers <joseph@codesourcery.com>
  28486. * elf/Makefile [$(have-z-execstack) = yes]
  28487. (CPPFLAGS-tst-execstack.c): New variable.
  28488. * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
  28489. conditional to [defined UTMPX || _HAVE_UT_TYPE].
  28490. [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
  28491. UTMPX || _HAVE_UT_TV].
  28492. [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
  28493. UTMPX || _HAVE_UT_TV - 0].
  28494. 2015-08-18 Joseph Myers <joseph@codesourcery.com>
  28495. * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
  28496. conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
  28497. * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
  28498. 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
  28499. * sysdeps/powerpc/dl-procinfo.c:
  28500. (_dl_powerpc_cap_flags): Added missing strings for some
  28501. hwcap features.
  28502. * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
  28503. 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
  28504. Port the 0x7efe...feff pattern to GCC 6.
  28505. See Steve Ellcey's bug report in:
  28506. https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
  28507. * string/memrchr.c (MEMRCHR):
  28508. * string/rawmemchr.c (RAWMEMCHR):
  28509. * string/strchr.c (strchr):
  28510. * string/strchrnul.c (STRCHRNUL):
  28511. Rewrite code to avoid issues with signed shift overflow.
  28512. 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
  28513. * sysdeps/x86/cpu-features.c (init_cpu_features): Check
  28514. whether cpuid is available only if HAS_CPUID is 0.
  28515. * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
  28516. (HAS_I586): Likewise.
  28517. (HAS_I686): Likewise.
  28518. 2015-08-18 Zack Weinberg <zackw@panix.com>
  28519. * misc/Versions (libc): Add GLIBC_2.23.
  28520. 2015-08-18 Alan Modra <amodra@gmail.com>
  28521. [BZ #18421]
  28522. * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
  28523. .Lp__global.
  28524. (_start): Load %dp via .Lp__global.
  28525. [!SHARED]: Use .section .rodata.
  28526. 2015-08-18 Mike Frysinger <vapier@gentoo.org>
  28527. * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
  28528. * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
  28529. 2015-08-18 Mike Frysinger <vapier@gentoo.org>
  28530. * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
  28531. * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
  28532. 2015-08-18 Mike Frysinger <vapier@gentoo.org>
  28533. * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
  28534. * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
  28535. 2015-08-18 Mike Frysinger <vapier@gentoo.org>
  28536. * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
  28537. * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
  28538. 2015-08-18 Mike Frysinger <vapier@gentoo.org>
  28539. * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
  28540. * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
  28541. 2015-08-18 Mike Frysinger <vapier@gentoo.org>
  28542. * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
  28543. SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
  28544. 2015-08-18 Mike Frysinger <vapier@gentoo.org>
  28545. * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
  28546. 2015-08-18 Mike Frysinger <vapier@gentoo.org>
  28547. * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
  28548. kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
  28549. * sysdeps/unix/sysv/linux/hppa/kernel-features.h
  28550. (__ASSUME_LWS_CAS): Delete.
  28551. 2015-08-18 Mike Frysinger <vapier@gentoo.org>
  28552. * sysdeps/hppa/configure.ac: Delete binutils tls checks.
  28553. * sysdeps/hppa/configure: Regenerated.
  28554. * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
  28555. * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
  28556. * sysdeps/hppa/nptl/tls.h: Likewise.
  28557. 2015-08-17 Joseph Myers <joseph@codesourcery.com>
  28558. [BZ #18823]
  28559. * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
  28560. for scaling up small arguments.
  28561. * math/s_csqrtf.c (__csqrtf): Likewise.
  28562. * math/s_csqrtl.c (__csqrtl): Likewise.
  28563. * math/auto-libm-test-in: Add more tests of csqrt.
  28564. * math/auto-libm-test-out: Regenerated.
  28565. 2015-08-17 Andreas Schwab <schwab@suse.de>
  28566. * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
  28567. version set GLIBC_2.19.
  28568. 2015-08-16 Zack Weinberg <zackw@panix.com>
  28569. [BZ #18681]
  28570. * misc/regexp.h: This interface is no longer supported.
  28571. Remove all contents, leaving only an #error directive.
  28572. * misc/regexp.c (loc1, loc2, locs, step, advance):
  28573. Demote to compatibility symbols.
  28574. 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
  28575. [BZ #18084]
  28576. * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
  28577. * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
  28578. * sysdeps/i386/backtrace.c (__backtrace): Likewise.
  28579. * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
  28580. * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
  28581. * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
  28582. * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
  28583. * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
  28584. * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
  28585. 2015-08-15 Zack Weinberg <zackw@panix.com>
  28586. [BZ #18795]
  28587. * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
  28588. buffer length is known to be too large, not if it's known to be
  28589. small enough.
  28590. * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
  28591. overflow at runtime, involving a length parameter, twice: once
  28592. with a compile-time constant length parameter, once without.
  28593. 2015-08-14 Joseph Myers <joseph@codesourcery.com>
  28594. [BZ #18824]
  28595. * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
  28596. scaling x * y up instead of down.
  28597. * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
  28598. * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
  28599. * math/auto-libm-test-in: Add more tests of fma.
  28600. * math/auto-libm-test-out: Regenerated.
  28601. 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
  28602. * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
  28603. 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
  28604. * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
  28605. unnecessary movq.
  28606. * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
  28607. Likewise.
  28608. 2015-08-13 Joseph Myers <joseph@codesourcery.com>
  28609. * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
  28610. asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
  28611. exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
  28612. and tgamma.
  28613. * math/auto-libm-test-out: Regenerated.
  28614. * sysdeps/i386/fpu/libm-test-ulps: Update.
  28615. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  28616. [BZ #16520]
  28617. * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
  28618. (__tanh): Force underflow exception for arguments with small
  28619. absolute value.
  28620. * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
  28621. (__tanhf): Force underflow exception for arguments with small
  28622. absolute value.
  28623. * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
  28624. (__tanhl): Force underflow exception for arguments with small
  28625. absolute value.
  28626. * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
  28627. (__tanhl): Force underflow exception for arguments with small
  28628. absolute value.
  28629. * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
  28630. (__tanhl): Force underflow exception for arguments with small
  28631. absolute value.
  28632. * math/auto-libm-test-in: Add more tests of tanh.
  28633. * math/auto-libm-test-out: Regenerated.
  28634. * sysdeps/i386/fpu/libm-test-ulps: Update.
  28635. 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
  28636. * sysdeps/x86/cpu-features.c (init_cpu_features): Call
  28637. __get_cpuid_max if not compiling for i586, i686 nor x86-64.
  28638. 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
  28639. * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
  28640. <cpuid.h>.
  28641. 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
  28642. * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
  28643. Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
  28644. 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
  28645. * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
  28646. Remove $(objpfx)init-arch.o.
  28647. * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
  28648. init-arch.
  28649. * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
  28650. (INIT_ARCH_EXT): Defined as empty.
  28651. (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
  28652. * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
  28653. __init_cpu_features call. Replace HAS_XXX with
  28654. HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
  28655. * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
  28656. * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
  28657. * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
  28658. * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
  28659. * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
  28660. * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
  28661. * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
  28662. * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
  28663. * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
  28664. * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
  28665. * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
  28666. * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
  28667. * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
  28668. * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
  28669. * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
  28670. * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
  28671. * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
  28672. * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
  28673. * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
  28674. * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
  28675. * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
  28676. * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
  28677. * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
  28678. * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
  28679. * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
  28680. * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
  28681. * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
  28682. * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
  28683. * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
  28684. * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
  28685. * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
  28686. * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
  28687. * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
  28688. * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
  28689. * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
  28690. 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
  28691. * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
  28692. with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
  28693. * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
  28694. * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
  28695. * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
  28696. * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
  28697. * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
  28698. * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
  28699. * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
  28700. * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
  28701. call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
  28702. Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
  28703. with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
  28704. * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
  28705. * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
  28706. * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
  28707. * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
  28708. * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
  28709. * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
  28710. * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
  28711. * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
  28712. * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
  28713. * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
  28714. * sysdeps/i386/i686/multiarch/memset.S: Likewise.
  28715. * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
  28716. * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
  28717. * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
  28718. * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
  28719. * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
  28720. * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
  28721. * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
  28722. * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
  28723. * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
  28724. * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
  28725. * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
  28726. * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
  28727. * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
  28728. * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
  28729. * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
  28730. * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
  28731. * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
  28732. * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
  28733. * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
  28734. 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
  28735. * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
  28736. HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
  28737. * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
  28738. * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
  28739. * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
  28740. * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
  28741. * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
  28742. * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
  28743. * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
  28744. * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
  28745. * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
  28746. * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
  28747. LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
  28748. * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
  28749. * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
  28750. * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
  28751. * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
  28752. * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
  28753. * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
  28754. * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
  28755. * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
  28756. * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
  28757. * sysdeps/x86_64/multiarch/strstr.c: Likewise.
  28758. * sysdeps/x86_64/multiarch/memmove.c: Likewise.
  28759. * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
  28760. * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
  28761. * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
  28762. call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
  28763. HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
  28764. * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
  28765. * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
  28766. * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
  28767. * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
  28768. * sysdeps/x86_64/multiarch/memset.S: Likewise.
  28769. * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
  28770. * sysdeps/x86_64/multiarch/strcat.S: Likewise.
  28771. * sysdeps/x86_64/multiarch/strchr.S: Likewise.
  28772. * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
  28773. * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
  28774. * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
  28775. * sysdeps/x86_64/multiarch/strspn.S: Likewise.
  28776. * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
  28777. * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
  28778. 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
  28779. * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
  28780. (dl_platform_init): Call init_cpu_features.
  28781. * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
  28782. * sysdeps/i386/i686/cacheinfo.c
  28783. (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
  28784. * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
  28785. * sysdeps/i386/i686/multiarch/Versions: Removed.
  28786. * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
  28787. Removed.
  28788. * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
  28789. * sysdeps/unix/sysv/linux/x86/Makefile
  28790. (libpthread-sysdep_routines): Remove init-arch.
  28791. * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
  28792. <sysdeps/x86_64/dl-procinfo.c> instead of
  28793. sysdeps/generic/dl-procinfo.c>.
  28794. * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
  28795. Add cpu-features-offsets.sym and rtld-global-offsets.sym.
  28796. [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
  28797. [$(subdir) == elf] (tests): Add tst-get-cpu-features.
  28798. [$(subdir) == elf] (tests-static): Add
  28799. tst-get-cpu-features-static.
  28800. * sysdeps/x86/Versions: New file.
  28801. * sysdeps/x86/cpu-features-offsets.sym: Likewise.
  28802. * sysdeps/x86/cpu-features.c: Likewise.
  28803. * sysdeps/x86/cpu-features.h: Likewise.
  28804. * sysdeps/x86/dl-get-cpu-features.c: Likewise.
  28805. * sysdeps/x86/libc-start.c: Likewise.
  28806. * sysdeps/x86/rtld-global-offsets.sym: Likewise.
  28807. * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
  28808. * sysdeps/x86/tst-get-cpu-features.c: Likewise.
  28809. * sysdeps/x86_64/dl-procinfo.c: Likewise.
  28810. * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
  28811. Assume USE_MULTIARCH is defined and don't check it.
  28812. (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
  28813. (is_amd): Likewise.
  28814. (max_cpuid): Likewise.
  28815. (intel_check_word): Likewise.
  28816. (__cache_sysconf): Don't call __init_cpu_features.
  28817. (__x86_preferred_memory_instruction): Removed.
  28818. (init_cacheinfo): Don't call __init_cpu_features. Replace
  28819. __cpu_features with GLRO(dl_x86_cpu_features).
  28820. * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
  28821. (dl_platform_init): Call init_cpu_features.
  28822. * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
  28823. * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
  28824. * sysdeps/x86_64/multiarch/Versions: Removed.
  28825. * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
  28826. * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
  28827. * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
  28828. Removed.
  28829. * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
  28830. 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
  28831. [BZ #18820]
  28832. * libio/Makefile (test-fmemopen-mem): New test.
  28833. * libio/test-fmemopen.c (do_bz18820): New test.
  28834. * libio/fmemopen.c (__fmemopen): Fix memory leak.
  28835. * libio/oldfmemopen.c (__old_fmemopen): Likewise.
  28836. 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
  28837. [BZ #16734]
  28838. * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
  28839. (FREE_BUF): Delete.
  28840. * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
  28841. * libio/genops.c (_IO_setb): Use malloc and free directly.
  28842. (_IO_default_doallocate, _IO_default_finish): Likewise.
  28843. ( _IO_unbuffer_all): Likewise.
  28844. ( libc_freeres_fn): Likewise.
  28845. * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
  28846. * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
  28847. * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
  28848. (_IO_wdefault_doallocate): Likewise.
  28849. 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
  28850. [BZ #18086]
  28851. * sysdeps/posix/nice.c (nice): Restore old errno.
  28852. * posix/tst-nice.c (do_test): Add test for BZ #18086.
  28853. 2015-08-10 Ondřej Bílka <neleai@seznam.cz>
  28854. * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
  28855. 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  28856. * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
  28857. __bcopy and add a weak_alias to bcopy.
  28858. * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
  28859. for static build.
  28860. * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
  28861. cleanup macro usage.
  28862. * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
  28863. * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
  28864. * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
  28865. * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
  28866. * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
  28867. * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
  28868. * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
  28869. * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
  28870. * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
  28871. * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
  28872. * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
  28873. [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
  28874. * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
  28875. [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
  28876. * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
  28877. * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
  28878. * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
  28879. * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
  28880. * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
  28881. * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
  28882. libc_hidden_def.
  28883. (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
  28884. * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
  28885. (sysdep_routines): Add strstr-ppc64.
  28886. * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
  28887. 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
  28888. [BZ #18778]
  28889. * elf/Makefile (tests): Add Add tst-nodelete2.
  28890. (modules-names): Add tst-nodelete2mod.
  28891. (tst-nodelete2mod.so-no-z-defs): New.
  28892. ($(objpfx)tst-nodelete2): Likewise.
  28893. ($(objpfx)tst-nodelete2.out): Likewise.
  28894. (LDFLAGS-tst-nodelete2): Likewise.
  28895. * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
  28896. out of loop through all loaded libraries.
  28897. * elf/tst-nodelete2.c: New file.
  28898. * elf/tst-nodelete2mod.c: Likewise.
  28899. * elf/tst-znodelete-zlib.cc: Delete.
  28900. 2015-08-11 Andreas Schwab <schwab@suse.de>
  28901. * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
  28902. * sysdeps/unix/sysv/linux/wordsize-64/openat.c
  28903. (__openat64_nocancel): Likewise.
  28904. 2015-08-11 Joseph Myers <joseph@codesourcery.com>
  28905. * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
  28906. atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
  28907. expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
  28908. * math/auto-libm-test-out: Regenerated.
  28909. * sysdeps/i386/fpu/libm-test-ulps: Update.
  28910. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  28911. 2015-08-10 Joseph Myers <joseph@codesourcery.com>
  28912. [BZ #18790]
  28913. * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
  28914. threshold for returning +/- 1.
  28915. * math/auto-libm-test-in: Add more tests of tanh.
  28916. * math/auto-libm-test-out: Regenerated.
  28917. * sysdeps/i386/fpu/libm-test-ulps: Update.
  28918. 2015-08-10 Andreas Schwab <schwab@suse.de>
  28919. [BZ #18781]
  28920. * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
  28921. MORE_OFLAGS to oflag.
  28922. * io/test-lfs.c (do_test): Test openat64.
  28923. 2015-08-10 Joseph Myers <joseph@codesourcery.com>
  28924. [BZ #18789]
  28925. * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
  28926. smaller threshold for returning the argument.
  28927. * math/auto-libm-test-in: Add more tests of sinh.
  28928. * math/auto-libm-test-out: Regenerated.
  28929. * sysdeps/i386/fpu/libm-test-ulps: Update.
  28930. 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
  28931. [BZ #18674]
  28932. * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
  28933. break.
  28934. 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
  28935. * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
  28936. (generated): Don't add $(addprefix z.,$(tzfiles)).
  28937. 2015-08-09 Mike Frysinger <vapier@gentoo.org>
  28938. * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
  28939. * scripts/sysd-rules.awk: Likewise.
  28940. 2015-08-09 Mike Frysinger <vapier@gentoo.org>
  28941. * iconvdata/tst-tables.sh: Change echo -n to printf.
  28942. * nss/db-Makefile: Likewise.
  28943. * posix/tst-getconf.sh: Likewise.
  28944. * stdio-common/tst-unbputc.sh: Likewise.
  28945. 2015-08-09 Mike Frysinger <vapier@gentoo.org>
  28946. * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
  28947. MADV_*_PAGES defines behind this feature check.
  28948. 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
  28949. [BZ #18480]
  28950. * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
  28951. LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
  28952. Define.
  28953. (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
  28954. LOAD_REGS_5, LOAD_REGS_6): Update.
  28955. (INTERNAL_SYSCALL): Update using new LOAD defines.
  28956. (INTERNAL_SYSCALL_NCS): Likewise.
  28957. * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
  28958. 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
  28959. [BZ #16734]
  28960. * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
  28961. 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
  28962. [BZ #17905]
  28963. * catgets/Makefile (tst-catgets-mem): New test.
  28964. * catgets/catgets.c (catopen): Don't use unbounded alloca.
  28965. * catgets/open_catalog.c (__open_catalog): Likewise.
  28966. * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
  28967. 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
  28968. [BZ #18787]
  28969. * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
  28970. clobber registers.
  28971. (atomic_compare_and_exchange_val_acq): Use register asms to assign
  28972. operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
  28973. Cast return to __typeof (oldval).
  28974. 2015-08-08 Mike Frysinger <vapier@gentoo.org>
  28975. * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
  28976. in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
  28977. and delete sys/syscall.h include.
  28978. 2015-08-07 Joseph Myers <joseph@codesourcery.com>
  28979. [BZ #16517]
  28980. * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
  28981. (tan): Force underflow exception for arguments with small absolute
  28982. value.
  28983. * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
  28984. (__kernel_tanf): Force underflow exception for arguments with
  28985. small absolute value.
  28986. * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
  28987. (__kernel_tanl): Force underflow exception for arguments with
  28988. small absolute value.
  28989. * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
  28990. (__kernel_tanl): Force underflow exception for arguments with
  28991. small absolute value.
  28992. * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
  28993. (__kernel_tanl): Force underflow exception for arguments with
  28994. small absolute value.
  28995. * math/auto-libm-test-in: Add more tests of tan.
  28996. * math/auto-libm-test-out: Regenerated.
  28997. 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
  28998. Fix sysdeps/i386/fpu/s_scalbn.S build
  28999. * math/Versions (libc: GLIBC_2_22): New (empty) version set.
  29000. 2015-08-07 Mike Frysinger <vapier@gentoo.org>
  29001. * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
  29002. 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
  29003. Fix gcrt0.o compilation
  29004. When static-start-installed-name is different from
  29005. start-installed-name, we must not use the shared objects.
  29006. * csu/Makefile
  29007. (extra-objs): Add gmon-start.o when building shared library and
  29008. $(static-start-installed-name) is different from
  29009. $(start-installed-name).
  29010. $(objpfx)g$(static-start-installed-name): When building shared
  29011. library and $(static-start-installed-name) is different from
  29012. $(static-start-installed-name), revert to non-shared rule,
  29013. i.e. using $(objpfx)% and gmon-start.o.
  29014. 2015-08-06 Joseph Myers <joseph@codesourcery.com>
  29015. [BZ #16519]
  29016. * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
  29017. (__ieee754_sinh): Force underflow exception for arguments with
  29018. small absolute value.
  29019. * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
  29020. (__ieee754_sinhf): Force underflow exception for arguments with
  29021. small absolute value.
  29022. * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
  29023. (__ieee754_sinhl): Force underflow exception for arguments with
  29024. small absolute value.
  29025. * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
  29026. (__ieee754_sinhl): Force underflow exception for arguments with
  29027. small absolute value.
  29028. * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
  29029. (__ieee754_sinhl): Force underflow exception for arguments with
  29030. small absolute value.
  29031. * math/auto-libm-test-in: Add more tests of sinh.
  29032. * math/auto-libm-test-out: Regenerated.
  29033. * sysdeps/i386/fpu/libm-test-ulps: Update.
  29034. 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
  29035. * libio/oldfileops.c: Include unistd.h.
  29036. 2015-08-06 Mike Frysinger <vapier@gentoo.org>
  29037. * stdlib/isomac.c: Include ctype.h.
  29038. 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
  29039. * dirent/tst-seekdir.c (main): Converted to ...
  29040. (do_test): ... this.
  29041. (TEST_FUNCTION): New macro.
  29042. Include test-skeleton.c.
  29043. * elf/tst-dlmodcount.c (main): Converted to ...
  29044. (do_test): ... this.
  29045. (TEST_FUNCTION): New macro.
  29046. Include test-skeleton.c.
  29047. * elf/tst-order-main.c (main): Converted to ...
  29048. (do_test): ... this.
  29049. (TEST_FUNCTION): New macro.
  29050. Include test-skeleton.c.
  29051. * elf/tst-pie2.c (main): Converted to ...
  29052. (do_test): ... this.
  29053. (TEST_FUNCTION): New macro.
  29054. Include test-skeleton.c.
  29055. * inet/tst-ether_aton.c (main): Converted to ...
  29056. (do_test): ... this.
  29057. (TEST_FUNCTION): New macro.
  29058. Include test-skeleton.c.
  29059. * misc/tst-mntent.c (main): Converted to ...
  29060. (do_test): ... this.
  29061. (TEST_FUNCTION): New macro.
  29062. Include test-skeleton.c.
  29063. * misc/tst-tsearch.c (main): Converted to ...
  29064. (do_test): ... this.
  29065. (TEST_FUNCTION): New macro.
  29066. Include test-skeleton.c.
  29067. * posix/tst-regexloc.c (main): Converted to ...
  29068. (do_test): ... this.
  29069. (TEST_FUNCTION): New macro.
  29070. Include test-skeleton.c.
  29071. * resolv/tst-aton.c (main): Converted to ...
  29072. (do_test): ... this.
  29073. (TEST_FUNCTION): New macro.
  29074. Include test-skeleton.c.
  29075. * stdio-common/test-fwrite.c (main): Converted to ...
  29076. (do_test): ... this.
  29077. (TEST_FUNCTION): New macro.
  29078. Include test-skeleton.c.
  29079. * stdio-common/tst-ferror.c (main): Converted to ...
  29080. (do_test): ... this.
  29081. (TEST_FUNCTION): New macro.
  29082. Include test-skeleton.c.
  29083. * stdio-common/tst-printf.c (main): Converted to ...
  29084. (do_test): ... this.
  29085. (TEST_FUNCTION): New macro.
  29086. Include test-skeleton.c.
  29087. * stdio-common/tst-printfsz.c (main): Converted to ...
  29088. (do_test): ... this.
  29089. (TEST_FUNCTION): New macro.
  29090. Include test-skeleton.c.
  29091. * stdlib/tst-strtod.c (main): Converted to ...
  29092. (do_test): ... this.
  29093. (TEST_FUNCTION): New macro.
  29094. Include test-skeleton.c.
  29095. * string/tst-strlen.c (main): Converted to ...
  29096. (do_test): ... this.
  29097. (TEST_FUNCTION): New macro.
  29098. Include test-skeleton.c.
  29099. * string/tst-svc.c (main): Converted to ...
  29100. (do_test): ... this.
  29101. (TEST_FUNCTION): New macro.
  29102. Include test-skeleton.c.
  29103. * time/tst-strptime.c (main): Converted to ...
  29104. (do_test): ... this.
  29105. (TEST_FUNCTION): New macro.
  29106. Include test-skeleton.c.
  29107. * timezone/tst-timezone.c (main): Converted to ...
  29108. (do_test): ... this.
  29109. (TEST_FUNCTION): New macro.
  29110. Include test-skeleton.c.
  29111. 2015-08-05 Zack Weinberg <zackw@panix.com>
  29112. * misc/regexp.h: Update comments.
  29113. 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
  29114. [BZ #18635]
  29115. * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
  29116. before return label.
  29117. 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
  29118. [BZ #18661]
  29119. * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
  29120. when calling __errno_location.
  29121. * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
  29122. * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
  29123. 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
  29124. [BZ #18661]
  29125. * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
  29126. (__lll_timedwait_tid): Align stack to 16 bytes when calling
  29127. __gettimeofday.
  29128. 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
  29129. [BZ #18661]
  29130. * sysdeps/unix/sysv/linux/x86_64/__start_context.S
  29131. (__start_context): Don't use pop to restore %rdi so that stack
  29132. is aligned to 16 bytes when calling __setcontext.
  29133. 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
  29134. * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
  29135. only for libc.
  29136. * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
  29137. 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
  29138. * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
  29139. (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
  29140. * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
  29141. 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
  29142. * string/memccpy.c (memccpy):
  29143. Improve performance by using memchr/memcpy/__mempcpy.
  29144. 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
  29145. * string/strncpy.c (strncpy):
  29146. Improve performance by using __strnlen/memcpy.
  29147. 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
  29148. * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
  29149. Optimize to avoid an unnecessary FPCR read.
  29150. 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
  29151. * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
  29152. Optimize to reduce FPCR/FPSR accesses.
  29153. 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
  29154. * locale/loadarchive.c (_nl_archive_subfreeres): Also check
  29155. dead->data[category] != NULL.
  29156. 2015-08-05 Joseph Myers <joseph@codesourcery.com>
  29157. [BZ #18647]
  29158. * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
  29159. and |x| close to 1, use absolute value of x when computing log.
  29160. * math/auto-libm-test-in: Add more tests of pow.
  29161. * math/auto-libm-test-out: Regenerated.
  29162. 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  29163. * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
  29164. * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
  29165. * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
  29166. 2015-08-05 Marko Myllynen <myllynen@redhat.com>
  29167. [BZ #18525]
  29168. * locales/km_KH: Remove timezone definition.
  29169. * locales/lo_LA: Likewise.
  29170. * locales/my_MM: Likewise.
  29171. * locales/nan_TW@latin: Likewise.
  29172. * locales/th_TH: Likewise.
  29173. * locales/uk_UA: Likewise.
  29174. 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
  29175. [BZ #18265]
  29176. * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
  29177. (wcsncat): Likewise.
  29178. (wcscmp): Likewise.
  29179. (wcsncmp): Likewise.
  29180. 2015-08-05 Mike Frysinger <vapier@gentoo.org>
  29181. * test-skeleton.c (usage): New function.
  29182. (main): Call usage when opt is '?'.
  29183. 2015-08-05 Mike Frysinger <vapier@gentoo.org>
  29184. * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
  29185. before first use.
  29186. 2015-08-05 Mike Frysinger <vapier@gentoo.org>
  29187. * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
  29188. bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
  29189. in there too.
  29190. 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
  29191. * version.h (RELEASE): Set to "development".
  29192. (VERSION): Set to "2.22.90"
  29193. * version.h (RELEASE): Set to "stable".
  29194. (VERSION): Set to "2.22"
  29195. * include/features.h (__GLIBC_MINOR__): Set to 22.
  29196. 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
  29197. * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
  29198. Restructure macro to avoid "value computed is not used" warning.
  29199. (atomic_compare_and_exchange_val_acq): Likewise.
  29200. 2015-08-04 Andreas Schwab <schwab@suse.de>
  29201. [BZ #18635]
  29202. * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
  29203. ret.
  29204. * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
  29205. 2015-08-01 Carlos O'Donell <carlos@redhat.com>
  29206. * po/pl.po: Updated translation.
  29207. * po/uk.po: Likewise.
  29208. * po/fi.po: Likewise.
  29209. * po/ko.po: Likewise.
  29210. * po/ru.po: Likewise.
  29211. * po/vi.po: Likewise.
  29212. 2015-07-31 Zack Weinberg <zackw@panix.com>
  29213. [BZ #18681]
  29214. * regexp.h: Add unconditional #warning stating that this header
  29215. will be removed soon. Revise banner comment to match.
  29216. (compile): Consistently use ERROR instead of RETURN to report
  29217. errors (partial fix for BZ #18681).
  29218. * regexp.c: Don't include regexp.h. Remove some unnecessary
  29219. declarations.
  29220. 2015-07-31 Carlos O'Donell <carlos@redhat.com>
  29221. * po/libc.pot: Regenerated.
  29222. 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
  29223. [BZ #18740]
  29224. * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
  29225. float-vlen4-arch-ext-cflags): Removed.
  29226. * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
  29227. CFLAGS-test-float-vlen4-wrappers.c): Likewise.
  29228. 2015-07-30 Mike Frysinger <vapier@gentoo.org>
  29229. [BZ #14113]
  29230. * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
  29231. aligned to __aligned__.
  29232. (pthread_cond_t, pthread_rwlock_t): Likewise.
  29233. 2015-07-30 Torvald Riegel <triegel@redhat.com>
  29234. * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
  29235. 2015-07-30 Mike Frysinger <vapier@gentoo.org>
  29236. * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
  29237. (struct sigaction): Change sa_flags from a long to an int, and add
  29238. __glibc_reserved0 before it for padding when __WORDSIZE is 64.
  29239. 2015-07-30 Mike Frysinger <vapier@gentoo.org>
  29240. * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
  29241. * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
  29242. sysdeps/generic/sysdep.h include.
  29243. * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
  29244. _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
  29245. sysdeps/hppa/sysdep.h.
  29246. (ENTRY, PSEUDO): Undefine before defining.
  29247. 2015-07-30 Mike Frysinger <vapier@gentoo.org>
  29248. * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
  29249. from scratch to use INTERNAL_SYSCALL.
  29250. 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
  29251. [BZ #18078]
  29252. * scripts/check-localplt.awk: Support alternate relocations.
  29253. * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
  29254. sections.
  29255. * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
  29256. malloc entries with + REL R_386_GLOB_DAT.
  29257. * sysdeps/x86_64/localplt.data: New file.
  29258. 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
  29259. [BZ #18731]
  29260. * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
  29261. * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
  29262. * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
  29263. 2015-07-27 Mike Frysinger <vapier@gentoo.org>
  29264. * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
  29265. 2015-07-27 Mike Frysinger <vapier@gentoo.org>
  29266. * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
  29267. directly in terms of __sync_fetch_and_add and delete (int) cast.
  29268. 2015-07-27 Mike Frysinger <vapier@gentoo.org>
  29269. * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
  29270. the -D_ASM_IA64_CURRENT_H flag.
  29271. 2015-07-27 Mike Frysinger <vapier@gentoo.org>
  29272. [BZ #18641]
  29273. * pwd/pwd.h (putpwent): Delete __nonnull markings.
  29274. 2015-07-27 Andreas Schwab <schwab@suse.de>
  29275. * conform/conformtest.pl (checknamespace): Filter out string
  29276. literals while tokenizing.
  29277. 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
  29278. * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
  29279. * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
  29280. ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
  29281. 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
  29282. * nptl/tst-join7mod.c: Add #include <string.h>.
  29283. 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
  29284. * sysdeps/nios2/libm-test-ulps: Update.
  29285. 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
  29286. * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
  29287. Fix order of arguments to the rt_sigprocmask syscall.
  29288. * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
  29289. Likewise.
  29290. 2015-07-24 Roland McGrath <roland@hack.frob.com>
  29291. * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
  29292. 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
  29293. [BZ #18457]
  29294. * nptl/Makefile (tests): New test case tst-join7.
  29295. (modules-names): New test case module tst-join7mod.
  29296. * nptl/tst-join7.c: New file.
  29297. * nptl/tst-join7mod.c: New file.
  29298. * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
  29299. all translation units in libc.so, libpthread.so and rtld.
  29300. 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  29301. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  29302. 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
  29303. * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
  29304. * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
  29305. * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
  29306. * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
  29307. * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
  29308. * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
  29309. * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
  29310. * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
  29311. * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
  29312. * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
  29313. * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
  29314. * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
  29315. * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
  29316. * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
  29317. * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
  29318. implementation.
  29319. 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
  29320. [BZ #17711]
  29321. * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
  29322. * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
  29323. ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
  29324. * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
  29325. * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
  29326. ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
  29327. 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
  29328. * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
  29329. instead of just saying load lock in the comments.
  29330. 2015-07-23 Roland McGrath <roland@hack.frob.com>
  29331. * sysdeps/unix/Subdirs: Moved ...
  29332. * sysdeps/posix/Subdirs: ... here.
  29333. * login/pty.h (struct termios, struct winsize): Add forward decls.
  29334. * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
  29335. * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
  29336. * sysdeps/arm/nacl/libc.abilist: Updated.
  29337. * sysdeps/nacl/libutil.abilist: New file.
  29338. * bits/signum.h: Update comments to mention 1003.1-2013 too.
  29339. (SIGWINCH): New macro.
  29340. * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
  29341. * sysdeps/arm/nacl/libc.abilist: Add it.
  29342. 2015-07-23 Mike Frysinger <vapier@gentoo.org>
  29343. * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
  29344. 2015-07-23 Mike Frysinger <vapier@gentoo.org>
  29345. * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
  29346. Swap __glibc_reserved0 and sa_flags order.
  29347. 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
  29348. [BZ #18657]
  29349. * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
  29350. are pending TLS destructor calls.
  29351. * include/link.h (struct link_map): Add concurrency note for
  29352. L_TLS_DTOR_COUNT.
  29353. * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
  29354. Don't touch the link map flag. Atomically increment
  29355. l_tls_dtor_count.
  29356. (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
  29357. Avoid taking the load lock and don't touch the link map flag.
  29358. * stdlib/tst-tls-atexit-nodelete.c: New test case.
  29359. * stdlib/Makefile (tests): Use it.
  29360. * stdlib/tst-tls-atexit.c (do_test): dlopen
  29361. tst-tls-atexit-lib.so again before dlclose. Add conditionals
  29362. to allow tst-tls-atexit-nodelete test case to use it.
  29363. 2015-07-22 Mike Frysinger <vapier@gentoo.org>
  29364. * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
  29365. to bits/types.h.
  29366. (msgqnum_t): New typedef.
  29367. (msglen_t): Likewise.
  29368. (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
  29369. and msg_qbytes type to msglen_t.
  29370. 2015-07-22 Mike Frysinger <vapier@gentoo.org>
  29371. * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
  29372. pad0 to __glibc_reserved0.
  29373. (struct stat64): Likewise.
  29374. 2015-07-22 Mike Frysinger <vapier@gentoo.org>
  29375. * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
  29376. Change sa_flags from a long to an int and add __glibc_reserved0 before
  29377. it for padding.
  29378. 2015-07-22 Mike Frysinger <vapier@gentoo.org>
  29379. * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
  29380. anonymous by deleting "siginfo" name.
  29381. 2015-07-21 Roland McGrath <roland@hack.frob.com>
  29382. * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
  29383. * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
  29384. rather than __nacl_irt_filename.
  29385. * sysdeps/nacl/xstat.c (__xstat): Likewise.
  29386. * NEWS: New item for arm-nacl port.
  29387. * sysdeps/arm/nacl/libc.abilist: New file.
  29388. * sysdeps/nacl/ld.abilist: New file.
  29389. * sysdeps/nacl/libBrokenLocale.abilist: New file.
  29390. * sysdeps/nacl/libanl.abilist: New file.
  29391. * sysdeps/nacl/libcrypt.abilist: New file.
  29392. * sysdeps/nacl/libdl.abilist: New file.
  29393. * sysdeps/nacl/libm.abilist: New file.
  29394. * sysdeps/nacl/libpthread.abilist: New file.
  29395. * sysdeps/nacl/libresolv.abilist: New file.
  29396. * sysdeps/nacl/librt.abilist: New file.
  29397. 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
  29398. * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
  29399. __startcontext to initialize the new context.
  29400. * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
  29401. up CFI directive to forbid further backtracing.
  29402. 2015-07-21 Marko Myllynen <myllynen@redhat.com>
  29403. * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
  29404. reference.
  29405. * charmaps/ANSI_X3.4-1968: Likewise.
  29406. * charmaps/BS_4730: Likewise.
  29407. * charmaps/BS_VIEWDATA: Likewise.
  29408. * charmaps/CP1250: Likewise.
  29409. * charmaps/CP1251: Likewise.
  29410. * charmaps/CP1252: Likewise.
  29411. * charmaps/CP1253: Likewise.
  29412. * charmaps/CP1254: Likewise.
  29413. * charmaps/CP1255: Likewise.
  29414. * charmaps/CP1256: Likewise.
  29415. * charmaps/CSN_369103: Likewise.
  29416. * charmaps/EBCDIC-DK-NO: Likewise.
  29417. * charmaps/GB_1988-80: Likewise.
  29418. * charmaps/GREEK-CCITT: Likewise.
  29419. * charmaps/GREEK7: Likewise.
  29420. * charmaps/INIS-8: Likewise.
  29421. * charmaps/ISIRI-3342: Likewise.
  29422. * charmaps/ISO_2033-1983: Likewise.
  29423. * charmaps/ISO_5427-EXT: Likewise.
  29424. * locales/POSIX: Likewise.
  29425. * locales/ar_SA: Likewise.
  29426. * locales/be_BY: Likewise.
  29427. * locales/be_BY@latin: Likewise.
  29428. * locales/ca_ES: Likewise.
  29429. * locales/cs_CZ: Likewise.
  29430. * locales/da_DK: Likewise.
  29431. * locales/de_BE: Likewise.
  29432. * locales/de_CH: Likewise.
  29433. * locales/de_LU: Likewise.
  29434. * locales/en_AU: Likewise.
  29435. * locales/en_BW: Likewise.
  29436. * locales/en_CA: Likewise.
  29437. * locales/en_DK: Likewise.
  29438. * locales/en_GB: Likewise.
  29439. * locales/en_IE: Likewise.
  29440. * locales/en_NZ: Likewise.
  29441. * locales/en_ZA: Likewise.
  29442. * locales/en_ZW: Likewise.
  29443. * locales/es_AR: Likewise.
  29444. * locales/es_BO: Likewise.
  29445. * locales/es_CL: Likewise.
  29446. * locales/es_CO: Likewise.
  29447. * locales/es_DO: Likewise.
  29448. * locales/es_EC: Likewise.
  29449. * locales/es_ES: Likewise.
  29450. * locales/es_HN: Likewise.
  29451. * locales/es_MX: Likewise.
  29452. * locales/es_PA: Likewise.
  29453. * locales/es_PE: Likewise.
  29454. * locales/es_PY: Likewise.
  29455. * locales/es_SV: Likewise.
  29456. * locales/es_US: Likewise.
  29457. * locales/es_UY: Likewise.
  29458. * locales/es_VE: Likewise.
  29459. * locales/et_EE: Likewise.
  29460. * locales/fa_IR: Likewise.
  29461. * locales/fo_FO: Likewise.
  29462. * locales/fr_CA: Likewise.
  29463. * locales/fr_CH: Likewise.
  29464. * locales/gv_GB: Likewise.
  29465. * locales/he_IL: Likewise.
  29466. * locales/hr_HR: Likewise.
  29467. * locales/id_ID: Likewise.
  29468. * locales/is_IS: Likewise.
  29469. * locales/it_CH: Likewise.
  29470. * locales/iw_IL: Likewise.
  29471. * locales/kl_GL: Likewise.
  29472. * locales/ko_KR: Likewise.
  29473. * locales/kw_GB: Likewise.
  29474. * locales/lg_UG: Likewise.
  29475. * locales/lt_LT: Likewise.
  29476. * locales/lv_LV: Likewise.
  29477. * locales/mi_NZ: Likewise.
  29478. * locales/nhn_MX: Likewise.
  29479. * locales/nl_BE: Likewise.
  29480. * locales/pl_PL: Likewise.
  29481. * locales/sk_SK: Likewise.
  29482. * locales/sl_SI: Likewise.
  29483. * locales/sv_FI: Likewise.
  29484. * locales/tl_PH: Likewise.
  29485. * locales/tr_TR: Likewise.
  29486. * locales/vi_VN: Likewise.
  29487. 2015-07-21 Khem Raj <raj.khem@gmail.com>
  29488. [BZ #17475]
  29489. * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
  29490. of tu_IN and bh_IN.
  29491. 2015-07-21 Mike Frysinger <vapier@gentoo.org>
  29492. [BZ #18694]
  29493. * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
  29494. bits/wordsize.h.
  29495. (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
  29496. 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
  29497. * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
  29498. * stdlib/tst-tls-atexit.c: (is_loaded): New function.
  29499. (spawn_thread): New function.
  29500. (load): Rename to reg_dtor_and_close. Move dlopen to...
  29501. (do_test): ... here. Use IS_LOADED to test for its
  29502. availability.
  29503. 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
  29504. * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
  29505. 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
  29506. [BZ #18696]
  29507. * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
  29508. si_addr_bnd.
  29509. (si_lower): New.
  29510. (si_upper): Likewise.
  29511. 2015-07-16 David S. Miller <davem@davemloft.net>
  29512. * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
  29513. 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  29514. * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
  29515. buffer.
  29516. * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
  29517. fail output information.
  29518. 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  29519. * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
  29520. and strstr-ppc64..
  29521. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
  29522. * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
  29523. * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
  29524. * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
  29525. * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
  29526. 2015-07-16 Mike Frysinger <vapier@gentoo.org>
  29527. * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
  29528. * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
  29529. * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
  29530. * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
  29531. 2015-07-16 Mike Frysinger <vapier@gentoo.org>
  29532. * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
  29533. * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
  29534. rtld_hidden_proto.
  29535. * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
  29536. 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
  29537. * tst-nodelete-opened.c (do_test): Add comment to clarify how
  29538. the test can fail.
  29539. * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
  29540. [BZ #18676]
  29541. * elf/tst-nodelete-opened.c: New test case.
  29542. * elf/tst-nodelete-opened-lib.c: New test case module.
  29543. * elf/Makefile (tests, modules-names): Use them.
  29544. * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
  29545. early.
  29546. 2015-07-15 David S. Miller <davem@davemloft.net>
  29547. * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
  29548. futex-intenal.h
  29549. * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
  29550. * sysdeps/sparc/sparc64/Makefile: Likewise.
  29551. * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
  29552. Remove space from macro define.
  29553. * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
  29554. 2015-07-15 Pravin Satpute <psatpute@redhat.com>
  29555. [BZ #17475]
  29556. * locale/iso-639.def: Update Bhili and Tulu language codes as
  29557. per iso639-3.
  29558. 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
  29559. * elf/tst-leaks1.c (main): Converted to ...
  29560. (do_test): ... this.
  29561. (TEST_FUNCTION): New macro.
  29562. Include test-skeleton.c.
  29563. * localedata/tst-langinfo.c (main): Converted to ...
  29564. (do_test): ... this.
  29565. (TEST_FUNCTION): New macro.
  29566. Include test-skeleton.c.
  29567. * math/test-fpucw.c (main): Converted to ...
  29568. (do_test): ... this.
  29569. (TEST_FUNCTION): New macro.
  29570. Include test-skeleton.c.
  29571. * math/test-tgmath.c (main): Converted to ...
  29572. (do_test): ... this.
  29573. (TEST_FUNCTION): New macro.
  29574. Include test-skeleton.c.
  29575. * math/test-tgmath2.c (main): Converted to ...
  29576. (do_test): ... this.
  29577. (TEST_FUNCTION): New macro.
  29578. Include test-skeleton.c.
  29579. * setjmp/tst-setjmp.c (main): Converted to ...
  29580. (do_test): ... this.
  29581. (TEST_FUNCTION): New macro.
  29582. Include test-skeleton.c.
  29583. * stdio-common/tst-sscanf.c (main): Converted to ...
  29584. (do_test): ... this.
  29585. (TEST_FUNCTION): New macro.
  29586. Include test-skeleton.c.
  29587. * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
  29588. (do_test): ... this.
  29589. (TEST_FUNCTION): New macro.
  29590. Include test-skeleton.c.
  29591. * elf/tst-audit9.c (main): Converted to ...
  29592. (do_test): ... this.
  29593. (TEST_FUNCTION): New macro.
  29594. Include test-skeleton.c.
  29595. 2015-07-15 Mike Frysinger <vapier@gentoo.org>
  29596. * timezone/tst-tzset.c (TIMEOUT): Define to 5.
  29597. 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
  29598. * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
  29599. New variable.
  29600. 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
  29601. * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
  29602. 2015-07-14 Roland McGrath <roland@hack.frob.com>
  29603. * sysdeps/generic/dl-fileid.h: New file.
  29604. * sysdeps/posix/dl-fileid.h: New file.
  29605. * sysdeps/nacl/dl-fileid.h: New file.
  29606. * include/link.h: Include <dl-fileid.h>.
  29607. (struct link_map): Replace l_dev and l_ino with l_file_id.
  29608. * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
  29609. than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
  29610. and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
  29611. 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
  29612. * stdlib/tst-tls-atexit.c (do_test): Fix typo.
  29613. 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  29614. * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
  29615. Add iff $CXX is set.
  29616. [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
  29617. Likewise.
  29618. (tst-nodelete-zmodiff): Likewise.
  29619. * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
  29620. 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
  29621. * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
  29622. 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
  29623. * sysdeps/aarch64/fpu/math_private.h
  29624. (define math_opt_barrier): Add AArch64 version.
  29625. (math_force_eval): Likewise.
  29626. 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
  29627. * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
  29628. 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
  29629. * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
  29630. %ld with %jd and cast to intmax_t.
  29631. (do_test_length_zero): Likewise.
  29632. 2015-07-10 Roland McGrath <roland@hack.frob.com>
  29633. * sysdeps/nacl/pthread_condattr_setclock.c: New file.
  29634. 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
  29635. * sysdeps/tile/libm-test-ulps: Regenerated.
  29636. * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
  29637. Comment out the whole function, not just its body.
  29638. 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
  29639. * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
  29640. locks.
  29641. * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
  29642. 2015-07-10 Torvald Riegel <triegel@redhat.com>
  29643. * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
  29644. (sem_assume_only_signals_cause_futex_EINTR): Remove.
  29645. 2015-07-10 Torvald Riegel <triegel@redhat.com>
  29646. * sysdeps/nptl/futex-internal.h: New file.
  29647. * sysdeps/nacl/futex-internal.h: New file.
  29648. * sysdeps/unix/sysv/linux/futex-internal.h: New file.
  29649. * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
  29650. error checking.
  29651. (setxid_unmark_thread): Likewise.
  29652. (__nptl_setxid): Likewise.
  29653. (__wait_lookup_done): Likewise.
  29654. * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
  29655. * nptl/nptl-init.c (sighandler_setxid): Likewise.
  29656. * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
  29657. * nptl/pthread_once.c (clear_once_control): Likewise.
  29658. (__pthread_once_slow): Likewise.
  29659. * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
  29660. * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
  29661. * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
  29662. * sysdeps/nptl/fork.c (__libc_fork): Likewise.
  29663. * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
  29664. * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
  29665. Likewise.
  29666. (__pthread_rwlock_rdlock): Likewise.
  29667. * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
  29668. Likewise.
  29669. * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
  29670. Likewise.
  29671. * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
  29672. Likewise.
  29673. * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
  29674. * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
  29675. Likewise.
  29676. * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
  29677. __ASSUME_PRIVATE_FUTEX check.
  29678. * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
  29679. Check that shared futexes are supported.
  29680. * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
  29681. wrappers with error checking.
  29682. * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
  29683. remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
  29684. * nptl/pthread_barrierattr_setpshared.c
  29685. (pthread_barrierattr_setpshared): Check that shared futexes are
  29686. supported.
  29687. * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
  29688. Likewise.
  29689. * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
  29690. Likewise.
  29691. * nptl/sem_init.c (futex_private_if_supported): Remove.
  29692. (__new_sem_init): Adapt and check that shared futexes are supported.
  29693. * nptl/sem_open.c (sem_open): Likewise.
  29694. * nptl/sem_post.c (futex_wake): Remove.
  29695. * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
  29696. (do_futex_wait): Use futex wrappers with error checking.
  29697. * nptl/sem_wait.c: Include lowlevellock.h.
  29698. * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
  29699. Use futex_supports_pshared.
  29700. * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
  29701. Use futex wrappers with error checking.
  29702. * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
  29703. Likewise.
  29704. * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
  29705. * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
  29706. * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
  29707. * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
  29708. (futex_wake): Likewise.
  29709. (sem_assume_only_signals_cause_futex_EINTR): Likewise.
  29710. (do_futex_wait): Use futex wrappers with error checking.
  29711. (__new_sem_wait_slow): Update EINTR handling.
  29712. * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
  29713. 2015-07-09 Martin Sebor <msebor@redhat.com>
  29714. [BZ #18435]
  29715. * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
  29716. Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
  29717. * nptl/Makefile (test-xfail-tst-once5): Define.
  29718. 2015-07-09 Roland McGrath <roland@hack.frob.com>
  29719. * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
  29720. * elf/dl-minimal.c: For readability, reorder some definitions and
  29721. introduce more page breaks. Include <stdio.h>.
  29722. (__libc_fatal): New function.
  29723. * include/unistd.h: Add rtld_hidden_proto for _exit.
  29724. * posix/_exit.c: Add rtld_hidden_def.
  29725. * sysdeps/mach/hurd/_exit.c: Likewise.
  29726. * sysdeps/nacl/_exit.c: Likewise.
  29727. * sysdeps/unix/sysv/linux/_exit.c: Likewise.
  29728. * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
  29729. 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
  29730. * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
  29731. bndmov encoding with zero displacement.
  29732. 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
  29733. H.J. Lu <hongjiu.lu@intel.com>
  29734. [BZ #18134]
  29735. * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
  29736. * sysdeps/i386/configure: Regenerated.
  29737. * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
  29738. (_dl_runtime_profile): Save and restore Intel MPX return bound
  29739. registers when calling _dl_call_pltexit. Add
  29740. PRESERVE_BND_REGS_PREFIX before return.
  29741. * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
  29742. (LRV_BND1_OFFSET): Likewise.
  29743. * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
  29744. lrv_bnd1.
  29745. * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
  29746. typo in bndmov encoding.
  29747. * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
  29748. Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
  29749. branch instructions to preserve bounds.
  29750. 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  29751. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
  29752. [GLIBC_2.22]: Add fmemopen.
  29753. 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
  29754. * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
  29755. returns an error, also try to use host port from __mach_host_self for
  29756. the __vm_wire call.
  29757. * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
  29758. 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
  29759. [BZ #18400]
  29760. [BZ #18648]
  29761. * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
  29762. Fix pr_uid and pr_gid members.
  29763. * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
  29764. definition to elf_greg_t.
  29765. 2015-07-08 Roland McGrath <roland@hack.frob.com>
  29766. [BZ #18383]
  29767. * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
  29768. Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
  29769. * sysdeps/arm/configure: Regenerated.
  29770. * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
  29771. (test-xfail-tst-tlsalign-static): Variable removed.
  29772. * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
  29773. * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
  29774. rather than explicit 'ln -s'.
  29775. * resolv/rpc/netdb.h: New file.
  29776. * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
  29777. 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  29778. * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
  29779. length buffers.
  29780. * stdio-common/tst-fmemopen.c (do_test): Refactor to use
  29781. test-skeleton.c.
  29782. [BZ #6544]
  29783. [BZ #11216]
  29784. [BZ #12836]
  29785. [BZ #13151]
  29786. [BZ #13152]
  29787. [BZ #14292]
  29788. * include/stdio.h (fmemopen): Remove hidden prototype.
  29789. (__fmemopen): Add new hidden prototype.
  29790. * libio/Makefile: Add oldfmemopen object.
  29791. * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
  29792. * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
  29793. compliance.
  29794. * libio/oldfmemopen.c: New file: old fmemopen implementation for
  29795. symbol compatibility.
  29796. * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
  29797. * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
  29798. fmemopen.
  29799. * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
  29800. on append and read mode.
  29801. * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
  29802. fmemopen.
  29803. * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
  29804. * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
  29805. * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
  29806. * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
  29807. Likewise.
  29808. * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
  29809. [GLIBC_2.22]: Likewise.
  29810. * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
  29811. Likewise.
  29812. * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
  29813. Likewise.
  29814. * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
  29815. [GLIBC_2.22]: Likewise.
  29816. * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
  29817. [GLIBC_2.22]: Likewise.
  29818. * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
  29819. [GLIBC_2.22]: Likewise.
  29820. * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
  29821. [GLIBC_2.22]: Likewise.
  29822. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
  29823. [GLIBC_2.22]: Likewise.
  29824. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
  29825. [GLIBC_2.22]: Likewise.
  29826. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
  29827. [GLIBC_2.22]: Likewise.
  29828. * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
  29829. Likewise.
  29830. * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
  29831. Likewise.
  29832. * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
  29833. * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
  29834. [GLIBC_2.22]: Likewise.
  29835. * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
  29836. [GLIBC_2.22]: Likewise.
  29837. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
  29838. [GLIBC_2.22]: Likewise.
  29839. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
  29840. [GLIBC_2.22]: Likewise.
  29841. * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
  29842. Likewise.
  29843. * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
  29844. Likewise.
  29845. * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
  29846. Likewise.
  29847. * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
  29848. * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
  29849. 2015-07-08 Carlos O'Donell <carlos@redhat.com>
  29850. [BZ #18643]
  29851. * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
  29852. IPV6_PATHMTU, and IPV6_DONTFRAG.
  29853. 2015-07-08 Feng Gao <gfree.wind@gmail.com>
  29854. * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
  29855. and _IO_UNBUFFERED.
  29856. * libio/oldfileops.c: Likewise.
  29857. * libio/wfileops.c: Likewise.
  29858. 2015-07-08 Mike Frysinger <vapier@gentoo.org>
  29859. * nscd/selinux.c: Delete selinux/flask.h include.
  29860. 2015-07-08 Mike Frysinger <vapier@gentoo.org>
  29861. [BZ #18641]
  29862. * pwd/pwd.h (fgetpwent): Add __nonnull markings.
  29863. (putpwent): Likewise.
  29864. (getpwnam): Likewise.
  29865. (getpwent_r): Likewise.
  29866. (getpwuid_r): Likewise.
  29867. (getpwnam_r): Likewise.
  29868. (fgetpwent_r): Likewise.
  29869. 2015-07-08 Carlos O'Donell <carlos@redhat.com>
  29870. [BZ #18557]
  29871. * inet/rcmd.c (__validuser2_sa): Check user first to
  29872. short-circuit host check.
  29873. 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
  29874. Mikhail Ilin <m.ilin@samsung.com>
  29875. [BZ #17833]
  29876. * elf/Makefile (tests): Add tst-nodelete.
  29877. (modules-names): Add tst-nodelete-uniquemod.
  29878. (tst-nodelete-uniquemod.so-no-z-defs): New.
  29879. (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
  29880. (tst-nodelete-zmod.so-no-z-defs): Likewise.
  29881. ($(objpfx)tst-nodelete): Likewise.
  29882. ($(objpfx)tst-nodelete.out): Likewise.
  29883. (LDFLAGS-tst-nodelete): Likewise.
  29884. (LDFLAGS-tst-nodelete-zmod.so): Likewise.
  29885. * elf/dl-close.c (_dl_close_worker): Add a parameter to
  29886. implement forced object deletion.
  29887. (_dl_close): Pass false to _dl_close_worker.
  29888. * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
  29889. * elf/tst-nodelete.cc: New file.
  29890. * elf/tst-nodeletelib.cc: Likewise.
  29891. * elf/tst-znodeletelib.cc: Likewise.
  29892. * include/dlfcn.h (_dl_close_worker): Add a new parameter.
  29893. 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
  29894. [BZ #18508]
  29895. * stdlib/Makefile ($(objpfx)tst-makecontext3):
  29896. Depend on $(libdl).
  29897. * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
  29898. is not called infinitely times.
  29899. (backtrace_helper): New function.
  29900. (trace_arg): New struct.
  29901. (st1): Enlarge stack size.
  29902. * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
  29903. (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
  29904. * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
  29905. Likewise.
  29906. 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
  29907. * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
  29908. 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
  29909. * sysdeps/unix/sysv/linux/s390/bits/sem.h:
  29910. Include sys/types.h instead of bits/types.h.
  29911. Remove inclusion of bits/wordsize.h.
  29912. 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
  29913. * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
  29914. * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
  29915. * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
  29916. * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
  29917. * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
  29918. * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
  29919. 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
  29920. * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
  29921. link-defines.sym.
  29922. * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
  29923. (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
  29924. LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
  29925. and LR_SIZE.
  29926. * sysdeps/i386/link-defines.sym: New file.
  29927. 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
  29928. * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
  29929. (modules-names): Add tst-auditmod3a tst-auditmod3b.
  29930. ($(objpfx)tst-audit3): New rule.
  29931. ($(objpfx)tst-audit3.out): Likewise.
  29932. * sysdeps/i386/tst-audit3.c: New file.
  29933. * sysdeps/i386/tst-audit3.h: Likewise.
  29934. * sysdeps/i386/tst-auditmod3a.c: Likewise.
  29935. * sysdeps/i386/tst-auditmod3b.c: Likewise.
  29936. 2015-07-07 Torvald Riegel <triegel@redhat.com>
  29937. [BZ #18633]
  29938. * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
  29939. pointer in C code.
  29940. (__strcat_c): Likewise.
  29941. (__strcat_g): Likewise.
  29942. 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
  29943. [BZ #18592]
  29944. * misc/sbrk.c: Set errno to ENOMEM on overflow.
  29945. 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
  29946. * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
  29947. New function. (__ieee754_sqrtf): New function.
  29948. * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
  29949. New function.
  29950. * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
  29951. New function.
  29952. 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
  29953. * sysdeps/ieee754/support.c: Remove unused file.
  29954. 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
  29955. * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
  29956. registers instead of d ones so the layout is kernel abi compatible.
  29957. * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
  29958. * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
  29959. Likewise.
  29960. 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
  29961. * sysdeps/aarch64/libm-test-ulps: Regenerated.
  29962. 2015-07-01 Joseph Myers <joseph@codesourcery.com>
  29963. [BZ #18619]
  29964. * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
  29965. and return argument in case of subnormal argument.
  29966. 2015-07-01 Martin Sebor <msebor@redhat.com>
  29967. [BZ #18435]
  29968. * nptl/Makefile: Add tst-once5.cc.
  29969. * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
  29970. Remove macro redefinitions.
  29971. * nptl/tst-once5.cc: New test.
  29972. 2015-07-01 Joseph Myers <joseph@codesourcery.com>
  29973. * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
  29974. * sysdeps/arm/libm-test-ulps: Regenerated.
  29975. * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
  29976. * sysdeps/mips/mips64/libm-test-ulps: Likewise.
  29977. 2015-06-30 Torvald Riegel <triegel@redhat.com>
  29978. * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
  29979. lll_lock_wait_private and lll_futex_wake probes.
  29980. * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
  29981. * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
  29982. Likewise.
  29983. * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
  29984. atomic_spin_nop.
  29985. * sysdeps/x86_64/bits/atomic.h: Likewise.
  29986. * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
  29987. to atomic_spin_nop and move ...
  29988. * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
  29989. ... here and ...
  29990. * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
  29991. * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
  29992. atomic_spin_nop instead of BUSY_WAIT_NOP.
  29993. * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
  29994. Likewise.
  29995. * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
  29996. * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
  29997. (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
  29998. * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
  29999. instead of atomic_delay.
  30000. 2015-06-29 Joseph Myers <joseph@codesourcery.com>
  30001. [BZ #18613]
  30002. * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
  30003. X_ADJ not X when adjusting exponent.
  30004. (__ieee754_gamma_r): Do intermediate computations in
  30005. round-to-nearest then adjust overflowing and underflowing results
  30006. as needed.
  30007. * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
  30008. of X_ADJ not X when adjusting exponent.
  30009. (__ieee754_gammaf_r): Do intermediate computations in
  30010. round-to-nearest then adjust overflowing and underflowing results
  30011. as needed.
  30012. * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
  30013. log of X_ADJ not X when adjusting exponent.
  30014. (__ieee754_gammal_r): Do intermediate computations in
  30015. round-to-nearest then adjust overflowing and underflowing results
  30016. as needed. Use 1.0L not 1.0f as numerator of division.
  30017. * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
  30018. log of X_ADJ not X when adjusting exponent.
  30019. (__ieee754_gammal_r): Do intermediate computations in
  30020. round-to-nearest then adjust overflowing and underflowing results
  30021. as needed. Use 1.0L not 1.0f as numerator of division.
  30022. * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
  30023. of X_ADJ not X when adjusting exponent.
  30024. (__ieee754_gammal_r): Do intermediate computations in
  30025. round-to-nearest then adjust overflowing and underflowing results
  30026. as needed. Use 1.0L not 1.0f as numerator of division.
  30027. * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
  30028. to auto-libm-test-in.
  30029. (tgamma_test): Use ALL_RM_TEST.
  30030. * math/auto-libm-test-in: Add one test of tgamma. Mark some other
  30031. tests of tgamma with spurious-overflow.
  30032. * math/auto-libm-test-out: Regenerated.
  30033. * math/gen-libm-have-vector-test.sh: Do not check for START.
  30034. * sysdeps/i386/fpu/libm-test-ulps: Update.
  30035. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  30036. [BZ #18612]
  30037. * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
  30038. arguments, just return 0.5 times the argument, with underflow
  30039. forced as needed.
  30040. * math/auto-libm-test-in: Add more tests of j1.
  30041. * math/auto-libm-test-out: Regenerated.
  30042. [BZ #16559]
  30043. * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
  30044. (__ieee754_j1): Force underflow exception for small results.
  30045. * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
  30046. * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
  30047. (__ieee754_j1f): Force underflow exception for small results.
  30048. * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
  30049. * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
  30050. * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
  30051. * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
  30052. (__ieee754_j1l): Force underflow exception for small results.
  30053. * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
  30054. * math/auto-libm-test-in: Add more tests of j1 and jn.
  30055. * math/auto-libm-test-out: Regenerated.
  30056. * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
  30057. * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
  30058. (PF_MPLS): Likewise.
  30059. (AF_IB): Likewise.
  30060. (AF_MPLS): Likewise.
  30061. * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
  30062. value and macro.
  30063. (MS_RMT_MASK): Include MS_LAZYTIME.
  30064. 2015-06-26 Mel Gorman <mgorman@suse.de>
  30065. [BZ #18502]
  30066. * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
  30067. already minimal.
  30068. 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
  30069. * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
  30070. (DT_MIPS_NUM): Update.
  30071. * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
  30072. DT_MIPS_RLD_MAP_REL.
  30073. 2015-06-25 Joseph Myers <joseph@codesourcery.com>
  30074. [BZ #16559]
  30075. [BZ #18602]
  30076. * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
  30077. round-to-nearest internally then recompute results that
  30078. underflowed to zero in the original rounding mode.
  30079. * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
  30080. * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
  30081. * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
  30082. * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
  30083. * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
  30084. * sysdeps/i386/fpu/libm-test-ulps: Update.
  30085. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  30086. 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
  30087. * NEWS: Fixed description of link with vector math library.
  30088. 2015-06-25 Andreas Schwab <schwab@suse.de>
  30089. [BZ #18549]
  30090. * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
  30091. * libio/test-fmemopen.c (do_test): Add test for it.
  30092. 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
  30093. [BZ #17841]
  30094. * Makeconfig (no-pie-ldflag): New.
  30095. (+link): Set to $(+link-pie) if default to PIE.
  30096. (+link-tests): Set to $(+link-pie-tests) if default to PIE.
  30097. * config.make.in (build-pie-default): New.
  30098. * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
  30099. is default. AC_SUBST.
  30100. * configure: Regenerated.
  30101. * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
  30102. 2015-06-24 Roland McGrath <roland@hack.frob.com>
  30103. * nptl/descr.h (struct pthread): Change type of field setxid_futex
  30104. to 'unsigned int'.
  30105. * resolv/gai_misc.h (struct waitlist): Change type of field
  30106. counterp to 'volatile unsigned int *'.
  30107. * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
  30108. FUTEXADDR and OLDVAL.
  30109. * resolv/getaddrinfo_a.c (getaddrinfo_a):
  30110. Give local variable TOTAL type 'volatile unsigned int'.
  30111. (struct async_waitlist): Change type of field counter to 'unsigned int'.
  30112. * resolv/gai_suspend.c (gai_suspend):
  30113. Give local variable CNTR type 'unsigned int'.
  30114. * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
  30115. counterp to 'volatile unsigned int *'.
  30116. * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
  30117. (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
  30118. (aio_suspend): Give local variable CNTR type 'unsigned int'.
  30119. * sysdeps/pthread/lio_listio.c (lio_listio_internal):
  30120. Give local variable TOTAL type 'volatile unsigned int'.
  30121. (struct async_waitlist): Change type of field counter to 'unsigned int'.
  30122. 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
  30123. [BZ #18383]
  30124. * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
  30125. TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
  30126. * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
  30127. comment for i386/x86-64.
  30128. (test-xfail-tst-tlsalign-extern-static): Removed.
  30129. 2015-06-24 Joseph Myers <joseph@codesourcery.com>
  30130. * math/test-double.h: New file.
  30131. * math/test-float.h: Likewise.
  30132. * math/test-ldouble.h: Likewise.
  30133. * math/test-math-inline.h: Likewise.
  30134. * math/test-math-no-inline.h: Likewise.
  30135. * math/test-math-scalar.h: Likewise.
  30136. * math/test-math-vector.h: Likewise.
  30137. * math/test-vec-loop.h: Remove file. Contents moved into
  30138. test-math-vector.h.
  30139. * math/libm-test.inc (MATHCONST): Do not document macro.
  30140. * math/test-double.c: Include test-double.h, test-math-no-inline.h
  30141. and test-math-scalar.h.
  30142. (FUNC): Remove macro.
  30143. (FUNC_TEST): Likewise.
  30144. (FLOAT): Likewise.
  30145. (MATHCONST): Likewise.
  30146. (PRINTF_EXPR): Likewise.
  30147. (PRINTF_XEXPR): Likewise.
  30148. (PRINTF_NEXPR): Likewise.
  30149. (TEST_DOUBLE): Likewise.
  30150. (TEST_MATHVEC): Likewise.
  30151. (__NO_MATH_INLINES): Likewise.
  30152. * math/test-float.c: Include test-float.h, test-math-no-inline.h
  30153. and test-math-scalar.h.
  30154. (FUNC): Remove macro.
  30155. (FUNC_TEST): Likewise.
  30156. (FLOAT): Likewise.
  30157. (MATHCONST): Likewise.
  30158. (PRINTF_EXPR): Likewise.
  30159. (PRINTF_XEXPR): Likewise.
  30160. (PRINTF_NEXPR): Likewise.
  30161. (TEST_FLOAT): Likewise.
  30162. (TEST_MATHVEC): Likewise.
  30163. (__NO_MATH_INLINES): Likewise.
  30164. * math/test-idouble.c: Include test-double.h, test-math-inline.h
  30165. and test-math-scalar.h.
  30166. (FUNC): Remove macro.
  30167. (FUNC_TEST): Likewise.
  30168. (FLOAT): Likewise.
  30169. (MATHCONST): Likewise.
  30170. (PRINTF_EXPR): Likewise.
  30171. (PRINTF_XEXPR): Likewise.
  30172. (PRINTF_NEXPR): Likewise.
  30173. (TEST_DOUBLE): Likewise.
  30174. (TEST_MATHVEC): Likewise.
  30175. (TEST_INLINE): Likewise.
  30176. (__NO_MATH_INLINES): Likewise.
  30177. * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
  30178. test-math-scalar.h.
  30179. (FUNC): Remove macro.
  30180. (FUNC_TEST): Likewise.
  30181. (FLOAT): Likewise.
  30182. (MATHCONST): Likewise.
  30183. (PRINTF_EXPR): Likewise.
  30184. (PRINTF_XEXPR): Likewise.
  30185. (PRINTF_NEXPR): Likewise.
  30186. (TEST_FLOAT): Likewise.
  30187. (TEST_MATHVEC): Likewise.
  30188. (TEST_INLINE): Likewise.
  30189. (__NO_MATH_INLINES): Likewise.
  30190. * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
  30191. and test-math-scalar.h.
  30192. (FUNC): Remove macro.
  30193. (FUNC_TEST): Likewise.
  30194. (FLOAT): Likewise.
  30195. (MATHCONST): Likewise.
  30196. (PRINTF_EXPR): Likewise.
  30197. (PRINTF_XEXPR): Likewise.
  30198. (PRINTF_NEXPR): Likewise.
  30199. (TEST_LDOUBLE): Likewise.
  30200. (TEST_MATHVEC): Likewise.
  30201. (TEST_INLINE): Likewise.
  30202. (__NO_MATH_INLINES): Likewise.
  30203. * math/test-ldouble.c: Include test-ldouble.h,
  30204. test-math-no-inline.h and test-math-scalar.h.
  30205. (FUNC): Remove macro.
  30206. (FUNC_TEST): Likewise.
  30207. (FLOAT): Likewise.
  30208. (MATHCONST): Likewise.
  30209. (PRINTF_EXPR): Likewise.
  30210. (PRINTF_XEXPR): Likewise.
  30211. (PRINTF_NEXPR): Likewise.
  30212. (TEST_LDOUBLE): Likewise.
  30213. (TEST_MATHVEC): Likewise.
  30214. (__NO_MATH_INLINES): Likewise.
  30215. * math/test-double-vlen2.h: Include test-double.h,
  30216. test-math-no-inline.h and test-math-vector.h.
  30217. (FLOAT): Remove macro.
  30218. (FUNC): Likewise.
  30219. (MATHCONST): Likewise.
  30220. (PRINTF_EXPR): Likewise.
  30221. (PRINTF_XEXPR): Likewise.
  30222. (PRINTF_NEXPR): Likewise.
  30223. (TEST_DOUBLE): Likewise.
  30224. (TEST_MATHVEC): Likewise.
  30225. (__NO_MATH_INLINES): Likewise.
  30226. (CNCT): Likewise.
  30227. (CONCAT): Likewise.
  30228. (WRAPPER_NAME): Likewise.
  30229. (WRAPPER_DECL): Likewise.
  30230. (WRAPPER_DECL_ff): Likewise.
  30231. (WRAPPER_DECL_fFF): Likewise.
  30232. (VECTOR_WRAPPER): Likewise.
  30233. (VECTOR_WRAPPER_ff): Likewise.
  30234. (VECTOR_WRAPPER_fFF): Likewise.
  30235. (VEC_LEN): New macro.
  30236. * math/test-double-vlen4.h: Include test-double.h,
  30237. test-math-no-inline.h and test-math-vector.h.
  30238. (FLOAT): Remove macro.
  30239. (FUNC): Likewise.
  30240. (MATHCONST): Likewise.
  30241. (PRINTF_EXPR): Likewise.
  30242. (PRINTF_XEXPR): Likewise.
  30243. (PRINTF_NEXPR): Likewise.
  30244. (TEST_DOUBLE): Likewise.
  30245. (TEST_MATHVEC): Likewise.
  30246. (__NO_MATH_INLINES): Likewise.
  30247. (CNCT): Likewise.
  30248. (CONCAT): Likewise.
  30249. (WRAPPER_NAME): Likewise.
  30250. (WRAPPER_DECL): Likewise.
  30251. (WRAPPER_DECL_ff): Likewise.
  30252. (WRAPPER_DECL_fFF): Likewise.
  30253. (VECTOR_WRAPPER): Likewise.
  30254. (VECTOR_WRAPPER_ff): Likewise.
  30255. (VECTOR_WRAPPER_fFF): Likewise.
  30256. (VEC_LEN): New macro.
  30257. * math/test-double-vlen8.h: Include test-double.h,
  30258. test-math-no-inline.h and test-math-vector.h.
  30259. (FLOAT): Remove macro.
  30260. (FUNC): Likewise.
  30261. (MATHCONST): Likewise.
  30262. (PRINTF_EXPR): Likewise.
  30263. (PRINTF_XEXPR): Likewise.
  30264. (PRINTF_NEXPR): Likewise.
  30265. (TEST_DOUBLE): Likewise.
  30266. (TEST_MATHVEC): Likewise.
  30267. (__NO_MATH_INLINES): Likewise.
  30268. (CNCT): Likewise.
  30269. (CONCAT): Likewise.
  30270. (WRAPPER_NAME): Likewise.
  30271. (WRAPPER_DECL): Likewise.
  30272. (WRAPPER_DECL_ff): Likewise.
  30273. (WRAPPER_DECL_fFF): Likewise.
  30274. (VECTOR_WRAPPER): Likewise.
  30275. (VECTOR_WRAPPER_ff): Likewise.
  30276. (VECTOR_WRAPPER_fFF): Likewise.
  30277. (VEC_LEN): New macro.
  30278. * math/test-float-vlen4.h: Include test-float.h,
  30279. test-math-no-inline.h and test-math-vector.h.
  30280. (FLOAT): Remove macro.
  30281. (FUNC): Likewise.
  30282. (MATHCONST): Likewise.
  30283. (PRINTF_EXPR): Likewise.
  30284. (PRINTF_XEXPR): Likewise.
  30285. (PRINTF_NEXPR): Likewise.
  30286. (TEST_FLOAT): Likewise.
  30287. (TEST_MATHVEC): Likewise.
  30288. (__NO_MATH_INLINES): Likewise.
  30289. (CNCT): Likewise.
  30290. (CONCAT): Likewise.
  30291. (WRAPPER_NAME): Likewise.
  30292. (WRAPPER_DECL): Likewise.
  30293. (WRAPPER_DECL_ff): Likewise.
  30294. (WRAPPER_DECL_fFF): Likewise.
  30295. (VECTOR_WRAPPER): Likewise.
  30296. (VECTOR_WRAPPER_ff): Likewise.
  30297. (VECTOR_WRAPPER_fFF): Likewise.
  30298. (VEC_LEN): New macro.
  30299. * math/test-float-vlen8.h: Include test-float.h,
  30300. test-math-no-inline.h and test-math-vector.h.
  30301. (FLOAT): Remove macro.
  30302. (FUNC): Likewise.
  30303. (MATHCONST): Likewise.
  30304. (PRINTF_EXPR): Likewise.
  30305. (PRINTF_XEXPR): Likewise.
  30306. (PRINTF_NEXPR): Likewise.
  30307. (TEST_FLOAT): Likewise.
  30308. (TEST_MATHVEC): Likewise.
  30309. (__NO_MATH_INLINES): Likewise.
  30310. (CNCT): Likewise.
  30311. (CONCAT): Likewise.
  30312. (WRAPPER_NAME): Likewise.
  30313. (WRAPPER_DECL): Likewise.
  30314. (WRAPPER_DECL_ff): Likewise.
  30315. (WRAPPER_DECL_fFF): Likewise.
  30316. (VECTOR_WRAPPER): Likewise.
  30317. (VECTOR_WRAPPER_ff): Likewise.
  30318. (VECTOR_WRAPPER_fFF): Likewise.
  30319. (VEC_LEN): New macro.
  30320. * math/test-float-vlen16.h: Include test-float.h,
  30321. test-math-no-inline.h and test-math-vector.h.
  30322. (FLOAT): Remove macro.
  30323. (FUNC): Likewise.
  30324. (MATHCONST): Likewise.
  30325. (PRINTF_EXPR): Likewise.
  30326. (PRINTF_XEXPR): Likewise.
  30327. (PRINTF_NEXPR): Likewise.
  30328. (TEST_FLOAT): Likewise.
  30329. (TEST_MATHVEC): Likewise.
  30330. (__NO_MATH_INLINES): Likewise.
  30331. (CNCT): Likewise.
  30332. (CONCAT): Likewise.
  30333. (WRAPPER_NAME): Likewise.
  30334. (WRAPPER_DECL): Likewise.
  30335. (WRAPPER_DECL_ff): Likewise.
  30336. (WRAPPER_DECL_fFF): Likewise.
  30337. (VECTOR_WRAPPER): Likewise.
  30338. (VECTOR_WRAPPER_ff): Likewise.
  30339. (VECTOR_WRAPPER_fFF): Likewise.
  30340. (VEC_LEN): New macro.
  30341. * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
  30342. test-vec-loop.h.
  30343. * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
  30344. * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
  30345. * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
  30346. * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
  30347. * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
  30348. * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
  30349. * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
  30350. 2015-06-24 Roland McGrath <roland@hack.frob.com>
  30351. * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
  30352. (__getlogin_r): ... this.
  30353. 2015-06-24 Joseph Myers <joseph@codesourcery.com>
  30354. [BZ #18594]
  30355. * math/s_ccosh.c (__ccosh): Compare with least normal value
  30356. instead of comparing class with FP_SUBNORMAL.
  30357. * math/s_ccoshf.c (__ccoshf): Likewise.
  30358. * math/s_ccoshl.c (__ccoshl): Likewise.
  30359. * math/s_cexp.c (__cexp): Likewise.
  30360. * math/s_cexpf.c (__cexpf): Likewise.
  30361. * math/s_cexpl.c (__cexpl): Likewise.
  30362. * math/s_csin.c (__csin): Likewise.
  30363. * math/s_csinf.c (__csinf): Likewise.
  30364. * math/s_csinh.c (__csinh): Likewise.
  30365. * math/s_csinhf.c (__csinhf): Likewise.
  30366. * math/s_csinhl.c (__csinhl): Likewise.
  30367. * math/s_csinl.c (__csinl): Likewise.
  30368. * math/s_ctan.c (__ctan): Likewise.
  30369. * math/s_ctanf.c (__ctanf): Likewise.
  30370. * math/s_ctanh.c (__ctanh): Likewise.
  30371. * math/s_ctanhf.c (__ctanhf): Likewise.
  30372. * math/s_ctanhl.c (__ctanhl): Likewise.
  30373. * math/s_ctanl.c (__ctanl): Likewise.
  30374. * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
  30375. csin, csinh, ctan and ctanh.
  30376. * math/auto-libm-test-out: Regenerated.
  30377. * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
  30378. * sysdeps/i386/fpu/libm-test-ulps: Update.
  30379. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  30380. 2015-06-24 Roland McGrath <roland@hack.frob.com>
  30381. * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
  30382. return value is wrong, print the expected value too.
  30383. 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
  30384. [BZ #18585]
  30385. * elf/readlib.c (is_gdb_python_file): New.
  30386. (process_file): Don't issue errors on filenames with -gdb.py
  30387. suffix.
  30388. 2015-06-24 Joseph Myers <joseph@codesourcery.com>
  30389. * math/auto-libm-test-in: Add more tests of csin and csinh.
  30390. * math/auto-libm-test-out: Regenerated.
  30391. * math/libm-test.inc (csin_test_data): Remove tests moved to
  30392. auto-libm-test-in.
  30393. (csinh_test_data): Likewise.
  30394. [BZ #18593]
  30395. * math/s_csin.c (__csin): Negate before rather than after possibly
  30396. overflowing multiplication.
  30397. * math/s_csinf.c (__csinf): Likewise.
  30398. * math/s_csinh.c (__csinh): Likewise.
  30399. * math/s_csinhf.c (__csinhf): Likewise.
  30400. * math/s_csinhl.c (__csinhl): Likewise.
  30401. * math/s_csinl.c (__csinl): Likewise.
  30402. * math/auto-libm-test-in: Add some tests of csin and csinh.
  30403. * math/auto-libm-test-out: Regenerated.
  30404. * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
  30405. (csinh_test_data): Likewise.
  30406. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
  30407. [BZ #18586]
  30408. * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
  30409. underflow exception for small results.
  30410. 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
  30411. * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
  30412. * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
  30413. variable and included header.
  30414. * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
  30415. * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
  30416. * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
  30417. * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
  30418. * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
  30419. * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
  30420. * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
  30421. * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
  30422. * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
  30423. * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
  30424. * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
  30425. * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
  30426. * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
  30427. * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
  30428. * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
  30429. * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
  30430. 2015-06-23 Joseph Myers <joseph@codesourcery.com>
  30431. [BZ #16526]
  30432. [BZ #16538]
  30433. * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
  30434. (__sin): Force underflow exception for arguments with small
  30435. absolute value.
  30436. * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
  30437. (__kernel_sinf): Force underflow exception for arguments with
  30438. small absolute value.
  30439. * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
  30440. (__kernel_sincosl): Force underflow exception for arguments with
  30441. small absolute value.
  30442. * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
  30443. (__kernel_sinl): Force underflow exception for arguments with
  30444. small absolute value.
  30445. * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
  30446. (__kernel_sincosl): Force underflow exception for arguments with
  30447. small absolute value.
  30448. * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
  30449. (__kernel_sinl): Force underflow exception for arguments with
  30450. small absolute value.
  30451. * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
  30452. (__kernel_sinl): Force underflow exception for arguments with
  30453. small absolute value.
  30454. * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
  30455. (__kernel_sinf): Force underflow exception for arguments with
  30456. small absolute value.
  30457. * math/auto-libm-test-in: Add more tests of sin and sincos.
  30458. * math/auto-libm-test-out: Regenerated.
  30459. [BZ #18245]
  30460. [BZ #18583]
  30461. * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
  30462. (__kernel_standard_l): Use feholdexcept and fesetenv around
  30463. conversion to double instead of special-casing overflow and
  30464. underflow.
  30465. * math/libm-test.inc (fmod_test_data): Add more tests.
  30466. (remainder_test_data): Likewise.
  30467. (sqrt_test_data): Likewise.
  30468. 2015-06-23 Torvald Riegel <triegel@redhat.com>
  30469. [BZ #17403]
  30470. * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
  30471. atomic_read_barrier, atomic_write_barrier): Define.
  30472. * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
  30473. atomic_read_barrier, atomic_write_barrier): Define.
  30474. 2015-06-23 Joseph Myers <joseph@codesourcery.com>
  30475. * math/Makefile [$(PERL) != no]
  30476. ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
  30477. dependency on libm-test.stmp below the inclusion of Rules.
  30478. 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
  30479. * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
  30480. * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
  30481. and included header.
  30482. * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
  30483. * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
  30484. * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
  30485. * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
  30486. * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
  30487. * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
  30488. * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
  30489. * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
  30490. * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
  30491. * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
  30492. * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
  30493. * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
  30494. * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
  30495. * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
  30496. * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
  30497. * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
  30498. * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
  30499. * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
  30500. * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
  30501. 2015-06-23 Joseph Myers <joseph@codesourcery.com>
  30502. [BZ #18371]
  30503. * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
  30504. intermediate but not final result might underflow.
  30505. * math/s_csqrtf.c (__csqrtf): Likewise.
  30506. * math/s_csqrtl.c (__csqrtl): Likewise.
  30507. * math/auto-libm-test-in: Add more tests of csqrt.
  30508. * math/auto-libm-test-out: Regenerated.
  30509. * sysdeps/i386/fpu/libm-test-ulps: Update.
  30510. [BZ #18219]
  30511. * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
  30512. threshold on absolute value of exponent for which scaling is used.
  30513. * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
  30514. * math/auto-libm-test-in: Add more tests of exp2.
  30515. * math/auto-libm-test-out: Regenerated.
  30516. 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
  30517. [BZ #17977]
  30518. * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
  30519. when initializing interface list, based on the bug analysis
  30520. and the patch proposed by Eric Newton.
  30521. * resolv/tst-res_hconf_reorder.c: New test.
  30522. * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
  30523. tst-res_hconf_reorder.
  30524. ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
  30525. and $(shared-thread-library).
  30526. (tst-res_hconf_reorder-ENV): New variable.
  30527. * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
  30528. in comment.
  30529. 2015-06-22 Joseph Myers <joseph@codesourcery.com>
  30530. [BZ #16353]
  30531. * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
  30532. (__expm1): Force underflow exception for arguments with small
  30533. absolute value.
  30534. * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
  30535. (__expm1f): Force underflow exception for arguments with small
  30536. absolute value.
  30537. * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
  30538. (__expm1): Force underflow exception for arguments with small
  30539. absolute value.
  30540. * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
  30541. (__expm1f): Force underflow exception for arguments with small
  30542. absolute value.
  30543. * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
  30544. Check for small arguments before calling __expm1.
  30545. * math/auto-libm-test-in: Do not mark underflow exceptions as
  30546. possibly missing for bug 16353.
  30547. * math/auto-libm-test-out: Regenerated.
  30548. 2015-06-22 Andreas Schwab <schwab@suse.de>
  30549. [BZ #18513]
  30550. * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
  30551. PTR queries.
  30552. 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
  30553. * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
  30554. * string/strcoll_l.c: Remove unused struct element idxnow.
  30555. 2015-06-21 Joseph Myers <joseph@codesourcery.com>
  30556. [BZ #18569]
  30557. * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
  30558. underflow and return argument in case of subnormal argument.
  30559. * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
  30560. Likewise.
  30561. * math/auto-libm-test-in: Add more tests of expm1.
  30562. * math/auto-libm-test-out: Regenerated.
  30563. [BZ #16361]
  30564. * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
  30565. (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
  30566. tiny results.
  30567. * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
  30568. (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
  30569. tiny results.
  30570. * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
  30571. mark underflow exceptions as possibly missing for bug 16361.
  30572. * math/auto-libm-test-out: Regenerated.
  30573. 2015-06-19 Joseph Myers <joseph@codesourcery.com>
  30574. * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
  30575. * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
  30576. Remove variable.
  30577. (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
  30578. (test-xfail-XOPEN2K8/utmpx.h/conform).
  30579. * conform/conformtest.pl ($xerrors): New variable.
  30580. (note_error): New function.
  30581. (compiletest): New argument $xfail. Use not_error.
  30582. (runtest): Likewise.
  30583. (top level): Handle xfail- lines. Update calls to compiletest and
  30584. runtest. Handle xfail- and optional- in headers listed with
  30585. allow-header.
  30586. * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
  30587. (O_EXEC): Likewise.
  30588. (O_SEARCH): Likewise.
  30589. * conform/data/stropts.h-data (ioctl): Likewise.
  30590. * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
  30591. * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
  30592. * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
  30593. (msghdr.msg_controllen): Likewise.
  30594. (cmsghdr.cmsg_len): Likewise.
  30595. * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
  30596. * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
  30597. variable.
  30598. (test-xfail-XPG3/sys/sem.h/conform): Likewise.
  30599. (test-xfail-XPG4/stropts.h/conform): Likewise.
  30600. (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
  30601. (test-xfail-XPG4/sys/sem.h/conform): Likewise.
  30602. (test-xfail-XPG4/sys/socket.h/conform): Likewise.
  30603. (test-xfail-UNIX98/stropts.h/conform): Likewise.
  30604. (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
  30605. (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
  30606. (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
  30607. (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
  30608. (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
  30609. (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
  30610. (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
  30611. (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
  30612. (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
  30613. (test-xfail-POSIX2008/stropts.h/conform): Likewise.
  30614. (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
  30615. (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
  30616. (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
  30617. (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
  30618. (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
  30619. 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
  30620. * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
  30621. __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
  30622. definitions for proper unfolding of __MATHDECL_VEC.
  30623. 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
  30624. * benchtests/bench-strcoll.c:
  30625. Include string.h.
  30626. (main): Remove unused variable res.
  30627. 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
  30628. * timezone/Makefile (%/UTC %/Universal):
  30629. Generate test-result files for UTC and Universal.
  30630. 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
  30631. * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
  30632. 2015-06-18 Joseph Myers <joseph@codesourcery.com>
  30633. [BZ #16350]
  30634. * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
  30635. for arguments with small absolute value.
  30636. * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
  30637. * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
  30638. * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
  30639. (__asinh): Force underflow exception for arguments with small
  30640. absolute value.
  30641. * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
  30642. (__asinhf): Force underflow exception for arguments with small
  30643. absolute value.
  30644. * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
  30645. (__asinhl): Force underflow exception for arguments with small
  30646. absolute value.
  30647. * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
  30648. (__asinhl): Force underflow exception for arguments with small
  30649. absolute value.
  30650. * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
  30651. (__asinhl): Force underflow exception for arguments with small
  30652. absolute value.
  30653. * math/auto-libm-test-in: Do not mark underflow exceptions as
  30654. possibly missing for bug 16350.
  30655. * math/auto-libm-test-out: Regenerated.
  30656. * include/bits/ipc.h: Remove file.
  30657. * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
  30658. variable.
  30659. (test-xfail-XPG3/sys/shm.h/conform): Likewise.
  30660. (test-xfail-XPG4/sys/msg.h/conform): Likewise.
  30661. (test-xfail-XPG4/sys/shm.h/conform): Likewise.
  30662. (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
  30663. (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
  30664. (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
  30665. (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
  30666. (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
  30667. (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
  30668. * math/auto-libm-test-in: Remove spurious underflow allowance for
  30669. tests of cexp.
  30670. * math/auto-libm-test-out: Regenerated.
  30671. [BZ #18558]
  30672. * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
  30673. unconditional definition.
  30674. (MCAST_BLOCK_SOURCE): Likewise.
  30675. (MCAST_UNBLOCK_SOURCE): Likewise.
  30676. (MCAST_LEAVE_GROUP): Likewise.
  30677. (MCAST_JOIN_SOURCE_GROUP): Likewise.
  30678. (MCAST_LEAVE_SOURCE_GROUP): Likewise.
  30679. (MCAST_MSFILTER): Likewise.
  30680. * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
  30681. Remove variable.
  30682. (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
  30683. (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
  30684. (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
  30685. (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
  30686. (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
  30687. 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
  30688. * NEWS: Mention addition of x86_64 vector sincosf.
  30689. * math/test-float-vlen16.h: Added wrapper for sincosf tests.
  30690. * math/test-float-vlen4.h: Likewise.
  30691. * math/test-float-vlen8.h: Likewise.
  30692. * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
  30693. * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
  30694. * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
  30695. * sysdeps/x86_64/fpu/Versions: New versions added.
  30696. * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
  30697. * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
  30698. Added build of SSE, AVX2 and AVX512 IFUNC versions.
  30699. * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
  30700. * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
  30701. * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
  30702. * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
  30703. * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
  30704. * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
  30705. * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
  30706. * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
  30707. * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
  30708. * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
  30709. * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
  30710. * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
  30711. * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
  30712. * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
  30713. * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
  30714. * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
  30715. * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
  30716. * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
  30717. * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
  30718. * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
  30719. * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
  30720. * NEWS: Mention addition of x86_64 vector sincos.
  30721. * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
  30722. * math/math.h (__MATHDECL_VEC): New macro.
  30723. * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
  30724. * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
  30725. declaration under condition.
  30726. * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
  30727. * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
  30728. TEST_VEC_LOOP change.
  30729. * math/test-double-vlen4.h: Likewise.
  30730. * math/test-double-vlen8.h: Likewise.
  30731. * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
  30732. * math/test-float-vlen4.h: Likewise.
  30733. * math/test-float-vlen8.h: Likewise.
  30734. * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
  30735. * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
  30736. * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
  30737. * sysdeps/x86_64/fpu/Versions: New versions added.
  30738. * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
  30739. * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
  30740. Added build of SSE, AVX2 and AVX512 IFUNC versions.
  30741. * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
  30742. * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
  30743. * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
  30744. * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
  30745. * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
  30746. * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
  30747. * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
  30748. * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
  30749. * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
  30750. * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
  30751. * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
  30752. * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
  30753. * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
  30754. * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
  30755. * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
  30756. * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
  30757. * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
  30758. * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
  30759. * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
  30760. * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
  30761. * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
  30762. * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
  30763. * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
  30764. redirections for powf.
  30765. * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
  30766. * sysdeps/x86_64/fpu/Versions: New versions added.
  30767. * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
  30768. * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
  30769. Added build of SSE, AVX2 and AVX512 IFUNC versions.
  30770. * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
  30771. * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
  30772. * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
  30773. * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
  30774. * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
  30775. * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
  30776. * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
  30777. * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
  30778. * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
  30779. * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
  30780. * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
  30781. * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
  30782. * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
  30783. * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
  30784. * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
  30785. * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
  30786. * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
  30787. * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
  30788. * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
  30789. * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
  30790. * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
  30791. * math/test-float-vlen16.h: Fixed 2 argument macro.
  30792. * math/test-float-vlen4.h: Likewise.
  30793. * math/test-float-vlen8.h: Likewise.
  30794. * NEWS: Mention addition of x86_64 vector powf.
  30795. 2015-06-17 Joseph Myers <joseph@codesourcery.com>
  30796. * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
  30797. and redefine.
  30798. * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
  30799. and redefine.
  30800. * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
  30801. * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
  30802. * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
  30803. [BZ #18553]
  30804. * resource/getpriority.c (getpriority): Rename to __getpriority
  30805. and define as weak alias of __getpriority.
  30806. * resource/setpriority.c (setpriority): Rename to __setpriority
  30807. and define as weak alias of __setpriority.
  30808. * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
  30809. __getpriority and define as weak alias of __getpriority.
  30810. * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
  30811. __setpriority and define as weak alias of __setpriority.
  30812. * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
  30813. strong name.
  30814. (setpriority): Use __setpriority as strong name.
  30815. * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
  30816. __getpriority and define as weak alias of __getpriority.
  30817. * include/sys/resource.h (__getpriority): Declare. Use
  30818. libc_hidden_proto.
  30819. (__setpriority): Likewise.
  30820. (getpriority): Don't use libc_hidden_proto.
  30821. (setpriority): Likewise.
  30822. * sysdeps/posix/nice.c (nice): Call __getpriority instead of
  30823. getpriority. Call __setpriority instead of setpriority.
  30824. * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
  30825. Remove variable.
  30826. [BZ #18547]
  30827. * misc/getttyent.c (getttynam): Rename to __getttynam and define
  30828. as weak alias of __getttynam. Use prototype function definition.
  30829. Call __setttyent, __getttyent and __endttyent instead of
  30830. setttyent, getttyent and endttyent.
  30831. (getttyent): Rename to __getttyent and define as weak alias of
  30832. __getttyent. Call __setttyent instead of setttyent. Call
  30833. __fgets_unlocked instead of fgets_unlocked.
  30834. (setttyent): Rename to __setttyent and define as weak alias of
  30835. __setttyent.
  30836. (endttyent): Rename to __endttyent and define as weak alias of
  30837. __endttyent.
  30838. * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
  30839. (__setttyent): Likewise.
  30840. (__endttyent): Likewise.
  30841. (getttyent): Don't use libc_hidden_proto.
  30842. (setttyent): Likewise.
  30843. (endttyent): Likewise.
  30844. * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
  30845. __endttyent instead of setttyent, getttyent and endttyent.
  30846. * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
  30847. Remove variable.
  30848. [BZ #18546]
  30849. * socket/recv.c (__recv): Use libc_hidden_def.
  30850. * socket/socket.c (__socket): Likewise.
  30851. * sysdeps/mach/hurd/recv.c (__recv): Likewise.
  30852. * sysdeps/mach/hurd/socket.c (__socket): Likewise.
  30853. * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
  30854. * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
  30855. * sysdeps/unix/sysv/linux/socket.c (__socket): Use
  30856. libc_hidden_def.
  30857. * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
  30858. libc_hidden_weak.
  30859. * include/sys/socket.h (__socket): Do not use attribute_hidden.
  30860. Use libc_hidden_proto.
  30861. (__recv): Likewise.
  30862. * socket/Versions (libc): Export __recv and __socket at version
  30863. GLIBC_PRIVATE.
  30864. * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
  30865. instead of recv.
  30866. (init_mq_netlink): Call __socket instead of socket.
  30867. * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
  30868. Remove variable.
  30869. [BZ #18545]
  30870. * rt/mq_timedreceive.c (mq_timedreceive): Rename to
  30871. __mq_timedreceive and define as alias of __mq_timedreceive. Use
  30872. hidden_weak.
  30873. * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
  30874. define as alias of __mq_timedsend. Use hidden_weak.
  30875. * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
  30876. __mq_timedsend as strong name.
  30877. (mq_timedreceive): Use __mq_timedreceive as strong name.
  30878. * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
  30879. (__mq_timedreceive): Likewise.
  30880. * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
  30881. __mq_timedreceive instead of mq_timedreceive.
  30882. * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
  30883. instead of mq_timedsend.
  30884. * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
  30885. Remove variable.
  30886. * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
  30887. hidden_def and hidden_weak instead of libc_hidden_def and
  30888. libc_hidden_weak.
  30889. (top level): Refer to hidden_def in comment.
  30890. * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
  30891. macro. Use it instead of libc_hidden_def.
  30892. * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
  30893. specify __GI_* name explicitly.
  30894. (mq_timedreceive): Likewise.
  30895. (mq_setattr): Likewise.
  30896. [BZ #18544]
  30897. * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
  30898. __pthread_barrier_init and define as weak alias of
  30899. __pthread_barrier_init.
  30900. * sysdeps/sparc/nptl/pthread_barrier_init.c
  30901. (pthread_barrier_init): Likewise.
  30902. * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
  30903. __pthread_barrier_wait and define as weak alias of
  30904. __pthread_barrier_wait.
  30905. * sysdeps/sparc/nptl/pthread_barrier_wait.c
  30906. (pthread_barrier_wait): Likewise.
  30907. * sysdeps/sparc/sparc32/pthread_barrier_wait.c
  30908. (pthread_barrier_wait): Likewise.
  30909. * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
  30910. (pthread_barrier_wait): Likewise.
  30911. * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
  30912. (pthread_barrier_wait): Likewise.
  30913. * nptl/Versions (libpthread): Export __pthread_barrier_init and
  30914. __pthread_barrier_wait at version GLIBC_PRIVATE.
  30915. * include/pthread.h (__pthread_barrier_init): Declare.
  30916. (__pthread_barrier_wait): Likewise.
  30917. * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
  30918. Call __pthread_barrier_wait instead of pthread_barrier_wait.
  30919. (helper_thread): Likewise.
  30920. (init_mq_netlink): Call __pthread_barrier_init instead of
  30921. pthread_barrier_init.
  30922. [BZ #18542]
  30923. * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
  30924. (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
  30925. * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
  30926. * libio/swscanf.c (__swscanf): Call __vswscanf instead of
  30927. vswscanf.
  30928. * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
  30929. Remove variable.
  30930. [BZ #18540]
  30931. * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
  30932. strong alias of _IO_fflush. Use libc_hidden_def.
  30933. * libio/iofflush_u.c (fflush_unlocked): Rename to
  30934. __fflush_unlocked and define as weak alias of __fflush_unlocked.
  30935. Use libc_hidden_weak.
  30936. * include/stdio.h (__fflush_unlocked): Declare. Use
  30937. libc_hidden_proto.
  30938. * misc/getpass.c (getpass): Call __fflush_unlocked instead of
  30939. fflush_unlocked.
  30940. * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
  30941. Remove variable.
  30942. [BZ #18539]
  30943. * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
  30944. define as weak alias of __addseverity.
  30945. * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
  30946. Remove variable.
  30947. (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
  30948. (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
  30949. (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
  30950. [BZ #18536]
  30951. * misc/tsearch.c (__tsearch): Use libc_hidden_def.
  30952. (__tfind): Likewise.
  30953. (__tdelete): Likewise.
  30954. (__twalk): Likewise.
  30955. * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
  30956. __twalk to GLIBC_PRIVATE.
  30957. * include/search.h (__tsearch): Use libc_hidden_proto.
  30958. (__tfind): Likewise.
  30959. (__tdelete): Likewise.
  30960. (__twalk): Likewise.
  30961. * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
  30962. Call __tdelete instead of tdelete.
  30963. * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
  30964. tfind. Call __tsearch instead of tsearch.
  30965. * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
  30966. * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
  30967. Remove variable.
  30968. (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
  30969. [BZ #18534]
  30970. * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
  30971. (dprintf): Define as a weak alias of __dprintf, not a strong
  30972. alias.
  30973. * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
  30974. * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
  30975. dprintf.
  30976. * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
  30977. Remove variable.
  30978. (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
  30979. (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
  30980. [BZ #18533]
  30981. * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
  30982. not a strong alias.
  30983. * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
  30984. Remove variable.
  30985. [BZ #18532]
  30986. * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
  30987. define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
  30988. (in6addr_loopback): Rename to __in6addr_loopback and define as
  30989. weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
  30990. * include/netinet/in.h (__in6addr_loopback): Declare. Use
  30991. libc_hidden_proto.
  30992. (__in6addr_any): Likewise.
  30993. * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
  30994. in6addr_any.
  30995. * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
  30996. variable.
  30997. (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
  30998. 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
  30999. * bits/libm-simd-decl-stubs.h: Added stubs for pow.
  31000. * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
  31001. * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
  31002. * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
  31003. redirections for pow.
  31004. * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
  31005. * sysdeps/x86_64/fpu/Versions: New versions added.
  31006. * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
  31007. * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
  31008. build of SSE, AVX2 and AVX512 IFUNC versions.
  31009. * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
  31010. * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
  31011. * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
  31012. * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
  31013. * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
  31014. * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
  31015. * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
  31016. * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
  31017. * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
  31018. * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
  31019. * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
  31020. * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
  31021. * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
  31022. * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
  31023. * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
  31024. * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
  31025. * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
  31026. * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
  31027. * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
  31028. * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
  31029. * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
  31030. * NEWS: Mention addition of x86_64 vector pow.
  31031. * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
  31032. * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
  31033. redirections for expf.
  31034. * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
  31035. * sysdeps/x86_64/fpu/Versions: New versions added.
  31036. * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
  31037. * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
  31038. build of SSE, AVX2 and AVX512 IFUNC versions.
  31039. * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
  31040. * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
  31041. * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
  31042. * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
  31043. * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
  31044. * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
  31045. * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
  31046. * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
  31047. * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
  31048. * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
  31049. * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
  31050. * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
  31051. * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
  31052. * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
  31053. * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
  31054. * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
  31055. * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
  31056. * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
  31057. * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
  31058. * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
  31059. * NEWS: Mention addition of x86_64 vector expf.
  31060. * bits/libm-simd-decl-stubs.h: Added stubs for exp.
  31061. * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
  31062. * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
  31063. * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
  31064. redirections for exp.
  31065. * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
  31066. * sysdeps/x86_64/fpu/Versions: New versions added.
  31067. * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
  31068. * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
  31069. build of SSE, AVX2 and AVX512 IFUNC versions.
  31070. * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
  31071. * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
  31072. * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
  31073. * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
  31074. * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
  31075. * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
  31076. * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
  31077. * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
  31078. * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
  31079. * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
  31080. * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
  31081. * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
  31082. * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
  31083. * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
  31084. * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
  31085. * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
  31086. * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
  31087. * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
  31088. * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
  31089. * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
  31090. * NEWS: Mention addition of x86_64 vector exp.
  31091. * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
  31092. * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
  31093. redirections for logf.
  31094. * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
  31095. * sysdeps/x86_64/fpu/Versions: New versions added.
  31096. * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
  31097. * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
  31098. build of SSE, AVX2 and AVX512 IFUNC versions.
  31099. * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
  31100. * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
  31101. * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
  31102. * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
  31103. * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
  31104. * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
  31105. * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
  31106. * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
  31107. * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
  31108. * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
  31109. * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
  31110. * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
  31111. * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
  31112. * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
  31113. * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
  31114. * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
  31115. * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
  31116. * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
  31117. * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
  31118. * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
  31119. * NEWS: Mention addition of x86_64 vector logf.
  31120. * bits/libm-simd-decl-stubs.h: Added stubs for log.
  31121. * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
  31122. * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
  31123. * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
  31124. redirections for log.
  31125. * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
  31126. * sysdeps/x86_64/fpu/Versions: New versions added.
  31127. * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
  31128. * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
  31129. build of SSE, AVX2 and AVX512 IFUNC versions.
  31130. * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
  31131. * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
  31132. * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
  31133. * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
  31134. * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
  31135. * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
  31136. * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
  31137. * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
  31138. * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
  31139. * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
  31140. * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
  31141. * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
  31142. * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
  31143. test.
  31144. * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
  31145. * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
  31146. * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
  31147. * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
  31148. * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
  31149. * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
  31150. * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
  31151. * NEWS: Mention addition of x86_64 vector log.
  31152. 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
  31153. * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
  31154. cfi_adjust_cfa_offset argument.
  31155. (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
  31156. (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
  31157. [BZ #18034]
  31158. * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
  31159. * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
  31160. (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
  31161. ordering using ldar.
  31162. (_dl_tlsdesc_dynamic): Likewise.
  31163. (_dl_tlsdesc_return_lazy): Likewise.
  31164. * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
  31165. relaxed atomics instead of volatile and synchronize with release store.
  31166. (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
  31167. volatile.
  31168. * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
  31169. 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
  31170. * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
  31171. * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
  31172. * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
  31173. * sysdeps/x86_64/fpu/Versions: New versions added.
  31174. * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
  31175. * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
  31176. build of SSE, AVX2 and AVX512 IFUNC versions.
  31177. * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
  31178. * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
  31179. * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
  31180. * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
  31181. * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
  31182. * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
  31183. * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
  31184. * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
  31185. * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
  31186. * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
  31187. * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
  31188. * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
  31189. * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
  31190. * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
  31191. * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
  31192. * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
  31193. * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
  31194. * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
  31195. * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
  31196. * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
  31197. * NEWS: Mention addition of x86_64 vector sinf.
  31198. 2015-06-14 Joseph Myers <joseph@codesourcery.com>
  31199. * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
  31200. and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
  31201. * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
  31202. Remove variable.
  31203. (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
  31204. (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
  31205. 2015-06-12 Joseph Myers <joseph@codesourcery.com>
  31206. [BZ #18530]
  31207. * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
  31208. strong alias of _IO_fputs. Use libc_hidden_def.
  31209. * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
  31210. and define as weak alias of __fputs_unlocked. Use
  31211. libc_hidden_weak.
  31212. * include/stdio.h (__fputs_unlocked): Declare. Use
  31213. libc_hidden_proto.
  31214. * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
  31215. fputs_unlocked.
  31216. [BZ #18529]
  31217. * resolv/netdb.h [__USE_POSIX]: Change condition to
  31218. [__USE_XOPEN2K].
  31219. * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
  31220. not expect.
  31221. [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
  31222. [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
  31223. [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
  31224. [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
  31225. [XPG4 || UNIX98] (AI_ALL): Likewise.
  31226. [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
  31227. [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
  31228. [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
  31229. [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
  31230. [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
  31231. [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
  31232. [XPG4 || UNIX98] (NI_DGRAM): Likewise.
  31233. [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
  31234. [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
  31235. [XPG4 || UNIX98] (EAI_FAIL): Likewise.
  31236. [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
  31237. [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
  31238. [XPG4 || UNIX98] (EAI_NONAME): Likewise.
  31239. [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
  31240. [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
  31241. [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
  31242. [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
  31243. [XPG4 || UNIX98] (freeaddrinfo): Likewise.
  31244. [XPG4 || UNIX98] (gai_strerror): Likewise.
  31245. [XPG4 || UNIX98] (getaddrinfo): Likewise.
  31246. [XPG4 || UNIX98] (getnameinfo): Likewise.
  31247. [BZ #18528]
  31248. * grp/grp.h (endgrent): Condition on [__USE_MISC ||
  31249. __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
  31250. __USE_XOPEN2K8].
  31251. (getgrent): Likewise.
  31252. * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
  31253. expect.
  31254. [XPG3 || POSIX2008] (endgrent): Likewise.
  31255. [XPG3] (setgrent): Likewise.
  31256. * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
  31257. variable.
  31258. (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
  31259. [BZ #18527]
  31260. * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
  31261. define as weak alias of __getlogin_r. Use libc_hidden_weak.
  31262. * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
  31263. * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
  31264. * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
  31265. * include/unistd.h (__getlogin_r): Declare. Use
  31266. libc_hidden_proto.
  31267. * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
  31268. * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
  31269. variable.
  31270. (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
  31271. (test-xfail-XPG4/glob.h/linknamespace): Likewise.
  31272. (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
  31273. 2015-06-12 Martin Sebor <msebor@redhat.com>
  31274. [BZ #18512]
  31275. * Makerules (check-install-supported): New target.
  31276. (install): Add check-install-supported as a dependency.
  31277. * manual/install.texi (Installing the C Library): Document
  31278. that overriding prefix and exec_prefix is not supported.
  31279. Mention DESTDIR.
  31280. * INSTALL: Regenerate from the above.
  31281. 2015-06-12 Joseph Myers <joseph@codesourcery.com>
  31282. [BZ #18519]
  31283. * posix/Versions (libc): Export __libc_pread at version
  31284. GLIBC_PRIVATE.
  31285. * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
  31286. instead of pread.
  31287. * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
  31288. variable.
  31289. [BZ #18522]
  31290. * misc/efgcvt_r.c
  31291. [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
  31292. (cvt_symbol): Use weak_alias instead of strong_alias.
  31293. [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
  31294. * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
  31295. Remove variable.
  31296. (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
  31297. (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
  31298. [BZ #18520]
  31299. * inet/herrno.c (h_errno): Rename to __h_errno.
  31300. (__libc_h_errno): Define as alias of __h_errno not h_errno.
  31301. * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
  31302. to __h_errno instead of h_errno.
  31303. * nptl/herrno.c (h_errno): Rename to __h_errno.
  31304. (__h_errno_location): Refer to __h_errno not h_errno.
  31305. * resolv/Versions (h_errno): Rename to __h_errno.
  31306. * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
  31307. Remove variable.
  31308. (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
  31309. 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
  31310. * configure.ac: More strict check for AVX512 assembler support.
  31311. * configure: Regenerated.
  31312. * bits/libm-simd-decl-stubs.h: Added stubs for sin.
  31313. * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
  31314. * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
  31315. * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
  31316. * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
  31317. * sysdeps/x86_64/fpu/Versions: New versions added.
  31318. * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
  31319. * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
  31320. Added build of SSE, AVX2 and AVX512 IFUNC versions.
  31321. * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
  31322. * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
  31323. * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
  31324. * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
  31325. * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
  31326. * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
  31327. * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
  31328. * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
  31329. * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
  31330. * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
  31331. * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
  31332. * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
  31333. * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
  31334. test.
  31335. * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
  31336. * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
  31337. * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
  31338. * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
  31339. * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
  31340. * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
  31341. * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
  31342. * NEWS: Mention addition of x86_64 vector sin.
  31343. 2015-06-11 Florian Weimer <fweimer@redhat.com>
  31344. * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
  31345. comment.
  31346. 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
  31347. [BZ #18479]
  31348. * nptl/pt-interp.c: New file.
  31349. * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
  31350. Add pt-interp.
  31351. [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
  31352. $(common-objpfx)runtime-linker.h.
  31353. 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
  31354. * Makeconfig (+interp): Remove unused variable.
  31355. * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
  31356. only. Depend on $(common-objpfx)runtime-linker.h instead of
  31357. $(elf-objpfx)runtime-linker.h.
  31358. ($(elf-objpfx)runtime-linker.h): Rename to
  31359. $(common-objpfx)runtime-linker.h and move ...
  31360. * Makerules [$(build-shared) = yes]: ... here.
  31361. * elf/interp.c: Include <runtime-linker.h> instead of
  31362. <elf/runtime-linker.h>.
  31363. 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  31364. * sysdeps/unix/sysv/linux/i386/gettimeofday.c
  31365. (__gettimeofday_syscall): Remove vsyscall fallback.
  31366. * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
  31367. * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
  31368. Add syscall fallback function.
  31369. (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
  31370. if vDSO is not present.
  31371. * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
  31372. fallback function.
  31373. (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
  31374. present.
  31375. * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
  31376. * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
  31377. 2015-06-09 Joseph Myers <joseph@codesourcery.com>
  31378. [BZ #18497]
  31379. * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
  31380. of wcscmp.
  31381. (wcscmp): Define as weak alias of WCSCMP.
  31382. * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
  31383. wcscoll.
  31384. (USE_HIDDEN_DEF): Define.
  31385. [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
  31386. __wcscoll. Don't use libc_hidden_weak.
  31387. * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
  31388. wcscmp.
  31389. * sysdeps/i386/i686/multiarch/wcscmp-c.c
  31390. [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
  31391. __GI_wcscmp.
  31392. (weak_alias): Undefine and redefine.
  31393. * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
  31394. __wcscmp and define as weak alias of __wcscmp.
  31395. * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
  31396. * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
  31397. (__wcscoll): Likewise.
  31398. (wcscmp): Don't use libc_hidden_proto.
  31399. (wcscoll): Likewise.
  31400. * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
  31401. wcscoll.
  31402. * posix/regexec.c (check_node_accept_bytes): Likewise.
  31403. * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
  31404. variable.
  31405. (test-xfail-XPG4/regex.h/linknamespace): Likewise.
  31406. (test-xfail-POSIX/regex.h/linknamespace): Likewise.
  31407. [BZ #18507]
  31408. * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
  31409. __fstatvfs and define as weak alias of __fstatvfs. Use
  31410. libc_hidden_weak.
  31411. * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
  31412. and define as weak alias of __statvfs. Use libc_hidden_weak.
  31413. * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
  31414. Define as alias of __fstatvfs, not fstatvfs.
  31415. (fstatvfs64): Likewise.
  31416. * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
  31417. Define as alias of __statvfs, not statvfs.
  31418. (statvfs64): Likewise.
  31419. * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
  31420. Remove variable.
  31421. 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  31422. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
  31423. (HAVE_GETCPU_VSYSCALL): Define.
  31424. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
  31425. (HAVE_GETCPU_VSYSCALL): Likewise.
  31426. * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
  31427. * sysdeps/unix/sysv/linux/sched_getcpu.c
  31428. (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
  31429. (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
  31430. * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
  31431. prototype.
  31432. * sysdeps/unix/sysv/linux/x86_64/init-first.c
  31433. (__vdso_platform_setup): Remove vsyscall getcpu fallback.
  31434. * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
  31435. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
  31436. Define.
  31437. * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
  31438. * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
  31439. * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
  31440. * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
  31441. 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
  31442. * sysdeps/x86_64/fpu/Makefile: New file.
  31443. * sysdeps/x86_64/fpu/Versions: New file.
  31444. * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
  31445. * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
  31446. * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
  31447. * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
  31448. * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
  31449. * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
  31450. * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
  31451. * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
  31452. * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
  31453. * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
  31454. * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
  31455. * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
  31456. * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
  31457. * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
  31458. Added build of SSE, AVX2 and AVX512 IFUNC versions.
  31459. * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
  31460. * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
  31461. * sysdeps/x86_64/configure.ac: Options for libmvec build.
  31462. * sysdeps/x86_64/configure: Regenerated.
  31463. * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
  31464. * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
  31465. * manual/install.texi (Configuring and compiling): Document
  31466. --disable-mathvec.
  31467. * INSTALL: Regenerated.
  31468. * NEWS: Mention addition of libmvec and x86_64 vector cos.
  31469. * math/Makefile: Added rules for vector tests.
  31470. * math/gen-libm-have-vector-test.sh: Added generation of wrapper
  31471. declaration under condition.
  31472. * math/test-double-vlen2.h: New file.
  31473. * math/test-double-vlen4.h: New file.
  31474. * math/test-double-vlen8.h: New file.
  31475. * math/test-vec-loop.h: Added initialization macro.
  31476. * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
  31477. * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
  31478. * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
  31479. * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
  31480. * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
  31481. * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
  31482. * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
  31483. * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
  31484. * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
  31485. * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
  31486. * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
  31487. * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
  31488. * sysdeps/x86_64/fpu/Versions: New versions added.
  31489. * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
  31490. * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
  31491. * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
  31492. * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
  31493. * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
  31494. * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
  31495. * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
  31496. * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
  31497. * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
  31498. * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
  31499. * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
  31500. * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
  31501. * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
  31502. * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
  31503. Added build of SSE, AVX2 and AVX512 IFUNC versions.
  31504. * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
  31505. * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
  31506. * NEWS: Mention addition of x86_64 vector cosf.
  31507. * math/Makefile: Added CFLAGS for new tests.
  31508. * math/test-float-vlen16.h: New file.
  31509. * math/test-float-vlen4.h: New file.
  31510. * math/test-float-vlen8.h: New file.
  31511. * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
  31512. * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
  31513. * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
  31514. * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
  31515. * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
  31516. * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
  31517. * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
  31518. * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
  31519. * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
  31520. * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
  31521. * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
  31522. 2015-06-09 Marko Myllynen <myllynen@redhat.com>
  31523. * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
  31524. * locale/programs/ld-ctype.c: Likewise.
  31525. 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
  31526. * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
  31527. bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
  31528. bit_ZMM16_31_state): New macro.
  31529. * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
  31530. Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
  31531. 2015-06-08 Joseph Myers <joseph@codesourcery.com>
  31532. * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
  31533. 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
  31534. * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
  31535. 2015-06-05 Joseph Myers <joseph@codesourcery.com>
  31536. [BZ #18498]
  31537. * libio/memstream.c (open_memstream): Rename to __open_memstream
  31538. and define as weak alias of __open_memstream.
  31539. * include/stdio.h (__open_memstream): Declare. Use
  31540. libc_hidden_proto.
  31541. (open_memstream): Don't use libc_hidden_proto.
  31542. * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
  31543. open_memstream.
  31544. * posix/getopt.c (_getopt_internal_r): Likewise.
  31545. * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
  31546. variable.
  31547. (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
  31548. (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
  31549. (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
  31550. [BZ #18496]
  31551. * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
  31552. instead of wcrtomb.
  31553. [BZ #18483]
  31554. * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
  31555. [__USE_XOPEN2K8]. Remove redundant #endif.
  31556. [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
  31557. Remove redundant #if.
  31558. * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
  31559. Remove variable.
  31560. (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
  31561. (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
  31562. [BZ #18495]
  31563. * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
  31564. (__iswlower): Likewise.
  31565. * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
  31566. (__iswlower): Likewise.
  31567. * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
  31568. instead of towlower.
  31569. * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
  31570. instead of iswlower. Call __towupper instead of towupper.
  31571. * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
  31572. instead of iswalnum.
  31573. 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  31574. * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
  31575. errors to stderr.
  31576. 2015-06-05 Florian Weimer <fweimer@redhat.com>
  31577. [BZ #15661]
  31578. [BZ #17322]
  31579. * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
  31580. Check for overflow properly. Check for O_APPEND. Ignore large
  31581. file system block sizes. Add comments about problems.
  31582. * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
  31583. * manual/filesys.texi (Storage Allocation): New node.
  31584. 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  31585. * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
  31586. cancellable syscalls.
  31587. (SYS_ify): Add guard to no redefine it.
  31588. (INLINE_SYSCALL): Likewise.
  31589. * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
  31590. LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
  31591. SYSCALL_CANCEL instead.
  31592. * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
  31593. * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
  31594. * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
  31595. * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
  31596. * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
  31597. * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
  31598. * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
  31599. * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
  31600. * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
  31601. * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
  31602. * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
  31603. * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
  31604. * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
  31605. * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
  31606. * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
  31607. * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
  31608. Likewise.
  31609. * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
  31610. (__libc_pread64): Likewise.
  31611. * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
  31612. (__libc_preadv): Likewise.
  31613. * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
  31614. (__libc_readv64): Likewise.
  31615. * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
  31616. (__libc_pwrite): Likewise.
  31617. * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
  31618. (__libc_pwrite64): Likewise.
  31619. * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
  31620. (__libc_pwritev): Likewise.
  31621. * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
  31622. (__libc_pwritev64): Likewise.
  31623. * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
  31624. * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
  31625. (sync_file_range): Likewise.
  31626. * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
  31627. Likewise.
  31628. * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
  31629. Likewise.
  31630. * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
  31631. * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
  31632. * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
  31633. * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
  31634. * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
  31635. * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
  31636. * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
  31637. * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
  31638. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
  31639. Likewise.
  31640. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
  31641. (__libc_read64): Likewise.
  31642. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
  31643. Likewise.
  31644. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
  31645. Likewise.
  31646. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
  31647. Likewise.
  31648. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
  31649. Likewise.
  31650. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
  31651. (__libc_pread64): Likewise.
  31652. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
  31653. Likewise.
  31654. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
  31655. (__libc_pwrite64): Likewise.
  31656. * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
  31657. (sync_file_range): Likewise.
  31658. * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
  31659. * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
  31660. * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
  31661. * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
  31662. * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
  31663. * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
  31664. * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
  31665. * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
  31666. * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
  31667. * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
  31668. * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
  31669. * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
  31670. * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
  31671. * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
  31672. * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
  31673. * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
  31674. * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
  31675. * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
  31676. * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
  31677. Likewise.
  31678. * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
  31679. Likewise.
  31680. * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
  31681. * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
  31682. Likewise.
  31683. * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
  31684. * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
  31685. * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
  31686. * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
  31687. Likewise.
  31688. * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
  31689. * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
  31690. * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
  31691. * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
  31692. * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
  31693. 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
  31694. * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
  31695. Include dl-vdso.
  31696. * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
  31697. Use VDSO routines for gettimeofday, clock_gettime if
  31698. available.
  31699. * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
  31700. Declare VDSO symbols.
  31701. * sysdeps/unix/sysv/linux/arm/sysdep.h:
  31702. [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
  31703. [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
  31704. * sysdeps/unix/sysv/linux/arm/Versions: Add
  31705. __vdso_clock_gettime.
  31706. 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  31707. * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
  31708. be an inline implementation regardless of library is built within.
  31709. (open_not_cancel_2): Likewise.
  31710. (__read_nocancel): Likewise.
  31711. (__write_nocancel): Likewise.
  31712. (openat_not_cancel): Likewise.
  31713. (openat_not_cancel_3): Likewise.
  31714. (openat64_not_cancel): Likewise.
  31715. (openat64_not_cancel_3): Likewise.
  31716. (__close_nocancel): Likewise.
  31717. (pause_not_cancel): Likewise.
  31718. (nanosleep_not_cancel): Likewise.
  31719. (sigsuspend_not_cancel): Likewise.
  31720. 2015-06-04 Torvald Riegel <triegel@redhat.com>
  31721. [BZ #14958]
  31722. * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
  31723. wake-up.
  31724. (__pthread_rwlock_rdlock_slow): Likewise.
  31725. * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
  31726. Likewise.
  31727. * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
  31728. Likewise.
  31729. * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
  31730. * nptl/tst-rwlock16.c: New file.
  31731. * nptl/Makefile (tests): Add new test.
  31732. 2015-06-04 Torvald Riegel <triegel@redhat.com>
  31733. [BZ #18324]
  31734. * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
  31735. missing wake-up of readers.
  31736. * nptl/tst-rwlock15.c: New file.
  31737. * nptl/Makefile (tests): Add new test.
  31738. 2015-06-03 Roland McGrath <roland@hack.frob.com>
  31739. * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
  31740. (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
  31741. * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
  31742. and __nacl_supply_interface_rtld.
  31743. * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
  31744. * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
  31745. * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
  31746. Add __nacl_supply_interface_rtld.
  31747. (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
  31748. 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
  31749. * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
  31750. isfinite.
  31751. * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
  31752. * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
  31753. 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
  31754. * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
  31755. __signbit* with standard C99 macros.
  31756. * math/e_exp10l.c: Likewise.
  31757. * math/e_exp2l.c: Likewise.
  31758. * math/e_scalb.c: Likewise.
  31759. * math/e_scalbf.c: Likewise.
  31760. * math/e_scalbl.c: Likewise.
  31761. * math/s_ldexp.c: Likewise.
  31762. * math/s_ldexpf.c: Likewise.
  31763. * math/s_ldexpl.c: Likewise.
  31764. * math/w_atan2.c: Likewise.
  31765. * math/w_atan2f.c: Likewise.
  31766. * math/w_atan2l.c: Likewise.
  31767. * math/w_cosh.c: Likewise.
  31768. * math/w_coshf.c: Likewise.
  31769. * math/w_coshl.c: Likewise.
  31770. * math/w_exp10.c: Likewise.
  31771. * math/w_exp10f.c: Likewise.
  31772. * math/w_exp10l.c: Likewise.
  31773. * math/w_exp2.c: Likewise.
  31774. * math/w_exp2f.c: Likewise.
  31775. * math/w_exp2l.c: Likewise.
  31776. * math/w_fmod.c: Likewise.
  31777. * math/w_fmodf.c: Likewise.
  31778. * math/w_fmodl.c: Likewise.
  31779. * math/w_hypot.c: Likewise.
  31780. * math/w_hypotf.c: Likewise.
  31781. * math/w_hypotl.c: Likewise.
  31782. * math/w_jnl.c: Likewise.
  31783. * math/w_lgamma.c: Likewise.
  31784. * math/w_lgamma_r.c: Likewise.
  31785. * math/w_lgammaf.c: Likewise.
  31786. * math/w_lgammaf_r.c: Likewise.
  31787. * math/w_lgammal.c: Likewise.
  31788. * math/w_lgammal_r.c: Likewise.
  31789. * math/w_pow.c: Likewise.
  31790. * math/w_powf.c: Likewise.
  31791. * math/w_powl.c: Likewise.
  31792. * math/w_remainder.c: Likewise.
  31793. * math/w_remainderf.c: Likewise.
  31794. * math/w_remainderl.c: Likewise.
  31795. * math/w_scalb.c: Likewise.
  31796. * math/w_scalbf.c: Likewise.
  31797. * math/w_scalbl.c: Likewise.
  31798. * math/w_scalbln.c: Likewise.
  31799. * math/w_scalblnf.c: Likewise.
  31800. * math/w_scalblnl.c: Likewise.
  31801. * math/w_sinh.c: Likewise.
  31802. * math/w_sinhf.c: Likewise.
  31803. * math/w_sinhl.c: Likewise.
  31804. * math/w_tgamma.c: Likewise.
  31805. * math/w_tgammaf.c: Likewise.
  31806. * math/w_tgammal.c: Likewise.
  31807. * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
  31808. * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
  31809. * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
  31810. * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
  31811. * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
  31812. * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
  31813. * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
  31814. * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
  31815. * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
  31816. * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
  31817. * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
  31818. * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
  31819. * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
  31820. * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
  31821. * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
  31822. * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
  31823. * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
  31824. * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
  31825. * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
  31826. * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
  31827. * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
  31828. * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
  31829. * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
  31830. * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
  31831. * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
  31832. * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
  31833. * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
  31834. * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
  31835. * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
  31836. * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
  31837. * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
  31838. * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
  31839. * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
  31840. * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
  31841. * stdio-common/printf_fp.c: Likewise.
  31842. * stdio-common/printf_fphex.c: Likewise.
  31843. * stdio-common/printf_size.c: Likewise.
  31844. 2015-06-03 Joseph Myers <joseph@codesourcery.com>
  31845. [BZ #18470]
  31846. * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
  31847. strnlen.
  31848. * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
  31849. Remove variable.
  31850. (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
  31851. (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
  31852. (test-xfail-POSIX/glob.h/linknamespace): Likewise.
  31853. (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
  31854. (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
  31855. (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
  31856. (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
  31857. (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
  31858. (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
  31859. (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
  31860. [BZ #18468]
  31861. * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
  31862. weak alias of __wmemchr. Use libc_hidden_weak.
  31863. * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
  31864. * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
  31865. instead of wmemchr.
  31866. 2015-06-02 Roland McGrath <roland@hack.frob.com>
  31867. [BZ #18383]
  31868. * elf/tst-tlsalign-extern.c: New file.
  31869. * elf/tst-tlsalign-extern-static.c: New file.
  31870. * elf/tst-tlsalign-vars.c: New file.
  31871. * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
  31872. [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
  31873. ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
  31874. ($(objpfx)tst-tlsalign-extern-static): Likewise.
  31875. (test-xfail-tst-tlsalign-extern-static): New variable.
  31876. 2015-06-02 Joseph Myers <joseph@codesourcery.com>
  31877. * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
  31878. Use variable name _sc_err instead of err.
  31879. [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
  31880. instead of ret.
  31881. * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
  31882. (INLINE_SYSCALL): Use variable name _sc_err instead of err.
  31883. * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
  31884. (INLINE_SYSCALL): Likewise.
  31885. * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
  31886. * include/string.h (__strnlen): Use libc_hidden_proto.
  31887. * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
  31888. * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
  31889. (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
  31890. * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
  31891. (libc_hidden_def): Undefine and redefine.
  31892. * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
  31893. [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
  31894. __GI_strnlen.
  31895. * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
  31896. libc_hidden_def.
  31897. * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
  31898. [BZ #18469]
  31899. * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
  31900. weak alias of __towlower. Use libc_hidden_weak.
  31901. (towupper): Rename to __towupper and define as weak alias of
  31902. __towupper. Use libc_hidden_weak.
  31903. * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
  31904. (__towupper): Likewise.
  31905. * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
  31906. __towlower instead of towlower.
  31907. 2015-06-02 Roland McGrath <roland@hack.frob.com>
  31908. * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
  31909. "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
  31910. 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
  31911. * sysdeps/aarch64/libm-test-ulps: Update.
  31912. 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  31913. * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
  31914. Define.
  31915. (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
  31916. * sysdeps/unix/sysv/linux/x86_64/sysdep.h
  31917. (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
  31918. (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
  31919. * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
  31920. * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
  31921. * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
  31922. 2015-06-01 Martin Sebor <msebor@redhat.com>
  31923. [BZ #18116]
  31924. * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
  31925. (__setcontext): Use extended four-operand version of mtsf whenever
  31926. possible.
  31927. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
  31928. (__novec_swapcontext): Likewise.
  31929. 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
  31930. * benchtests/scripts/compare_bench.py: New file.
  31931. * benchtests/scripts/import_bench.py (mean): New function.
  31932. (split_list): Likewise.
  31933. (do_for_all_timings): Likewise.
  31934. (compress_timings): Likewise.
  31935. * benchtests/scripts/import_bench.py: New file.
  31936. * benchtests/scripts/validate_benchout.py: Import import_bench
  31937. instead of jsonschema.
  31938. (validate_bench): Remove function.
  31939. (main): Use import_bench.
  31940. 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
  31941. * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
  31942. copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
  31943. 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  31944. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  31945. 2015-05-28 Roland McGrath <roland@hack.frob.com>
  31946. * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
  31947. set THREAD_SELF->tid to a magic value and futex-wake it.
  31948. Pass its address to the thread_exit system call.
  31949. * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
  31950. bit is clear.
  31951. * sysdeps/nacl/lowlevellock.h: New file.
  31952. * sysdeps/nacl/lll_timedwait_tid.c: New file.
  31953. * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
  31954. Add TIMEOUT to current time, don't subtract it.
  31955. 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
  31956. [BZ #2981]
  31957. [BZ #18422]
  31958. * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
  31959. ($(objpfx)tst-audit2.out): Also depend on
  31960. $(objpfx)tst-auditmod9b.so.
  31961. * elf/tst-audit2.c: Include <dlfcn.h>.
  31962. (calloc_called): New.
  31963. (calloc): Allow to be called more than once.
  31964. (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
  31965. 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
  31966. * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
  31967. * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
  31968. 2015-05-27 Marko Myllynen <myllynen@redhat.com>
  31969. * stdlib/monetary.h: Fix comment.
  31970. 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
  31971. * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
  31972. Avoid using variables in #defines that might cause shadowing.
  31973. (INTERNAL_VSYSCALL_CALL): Likewise.
  31974. 2015-05-26 Roland McGrath <roland@hack.frob.com>
  31975. * sysdeps/nacl/lll_timedlock_wait.c: New file.
  31976. * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
  31977. * nptl/lll_timedlock_wait.c: ... to this new file.
  31978. * nptl/Makefile (libpthread-routines): Add it.
  31979. * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
  31980. * nptl/lll_timedwait_tid.c: ... to this new file.
  31981. * nptl/Makefile (libpthread-routines): Add it.
  31982. * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
  31983. * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
  31984. * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
  31985. * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
  31986. * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
  31987. * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
  31988. * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
  31989. * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
  31990. * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
  31991. * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
  31992. 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  31993. * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
  31994. * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
  31995. * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
  31996. * sysdeps/unix/sysv/linux/aarch64/sysdep.h
  31997. (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
  31998. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
  31999. (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
  32000. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
  32001. (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
  32002. * sysdeps/unix/sysv/linux/tile/sysdep.h
  32003. (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
  32004. * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
  32005. using vDSO syscall macro.
  32006. 2015-05-26 Andriy Rysin <arysin@gmail.com>
  32007. [BZ #17293]
  32008. * uk_UA: Fix sorting order for Ukrainian locale
  32009. 2015-05-26 Marko Myllynen <myllynen@redhat.com>
  32010. * stdlib/monetary.h: Fix comment.
  32011. 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
  32012. [BZ #18234]
  32013. * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
  32014. st_mtim and st_ctim members.
  32015. * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
  32016. st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
  32017. * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
  32018. (struct stat64): Likewise.
  32019. * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
  32020. (struct stat64): Likewise.
  32021. * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
  32022. (struct stat64): Likewise.
  32023. 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  32024. * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
  32025. Define and include sysdep-vdso.h.
  32026. * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
  32027. Likewise.
  32028. * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
  32029. Likewise.
  32030. * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
  32031. Define with VDSO_SYMBOL and use PTR_MANGLE.
  32032. (__vdso_clock_gettime): Likewise.
  32033. (__vdso_clock_getres): Likewise.
  32034. (_libc_vdso_platform_setup): Likewise.
  32035. * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
  32036. Likewise.
  32037. (_libc_vdso_platform_setup): Likewise.
  32038. * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
  32039. Likewise.
  32040. (__vdso_clock_gettime): Likewise.
  32041. (__vdso_clock_getres): Likewise.
  32042. (__vdso_get_tbfreq): Likewise.
  32043. (__vdso_getcpu): Likewise.
  32044. (__vdso_time): Likewise.
  32045. (__vdso_sigtramp_rt64): Likewise.
  32046. (__vdso_signtramp32): Likewise.
  32047. (__vdso_sigtramp_rt32): Likewise.
  32048. (_libc_vdso_platform_setup): Likewise.
  32049. * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
  32050. Likewise.
  32051. (__vdso_clock_gettime): Likewise.
  32052. (__vdso_clock_getres): Likewise.
  32053. (_libc_vdso_platform_setup): Likewise.
  32054. * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
  32055. Likewise.
  32056. (__vdso_clock_gettime): Likewise.
  32057. (_libc_vdso_platform_setup): Likewise.
  32058. * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
  32059. Likewise.
  32060. (__vdso_getcpu): Likewise.
  32061. * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
  32062. Use VDSO_SYMBOL macro to define.
  32063. (__vdso_clock_gettime): Likewise.
  32064. (__vdso_clock_getres): Likewise.
  32065. * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
  32066. Likewise.
  32067. (__vdso_clock_gettime): Likewise.
  32068. (__vdso_clock_getres): Likewise.
  32069. (__vdso_get_tbfreq): Likewise.
  32070. (__vdso_getcpu): Likewise.
  32071. (__vdso_time): Likewise.
  32072. (__vdso_sigtramp_rt64): Likewise.
  32073. (__vdso_signtramp32): Likewise.
  32074. (__vdso_sigtramp_rt32): Likewise.
  32075. * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
  32076. Likewise.
  32077. (__vdso_clock_gettime): Likewise.
  32078. (__vdso_clock_getres): Likewise.
  32079. * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
  32080. Likewise.
  32081. (__vdso_clock_gettime): Likewise.
  32082. * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
  32083. Likewise.
  32084. * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
  32085. macro.
  32086. (INTERNAL_VSYSCALL): Likewise.
  32087. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
  32088. Remove macro.
  32089. (INTERNAL_VSYSCALL): Likewise.
  32090. (INTERNAL_VSYSCALL_NCS): Likewise.
  32091. (INTERNAL_VSYSCALL_CALL): New macro.
  32092. (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
  32093. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
  32094. Likewise.
  32095. (INTERNAL_VSYSCALL): Likewise.
  32096. (INTERNAL_VSYSCALL_NCS): Likewise.
  32097. (INTERNAL_VSYSCALL_CALL): New macro.
  32098. (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
  32099. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
  32100. (INLINE_VSYSCALL): Remove macro.
  32101. (INTERNAL_VSYSCALL): Remove macro.
  32102. (INTERNAL_VSYSCALL_NCS): Remove macro.
  32103. (INTERNAL_VSYSCALL_CALL): New macro.
  32104. (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
  32105. (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
  32106. (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
  32107. (HAVE_CLOCK_GETRES_VSYSCALL): New define.
  32108. (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
  32109. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
  32110. (INLINE_VSYSCALL): Remove macro.
  32111. (INTERNAL_VSYSCALL): Likewise.
  32112. (INTERNAL_VSYSCALL_NCS): Likewise.
  32113. (INTERNAL_VSYSCALL_CALL): New macro.
  32114. (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
  32115. (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
  32116. PTR_DEMANGLE on vDSO pointer.
  32117. (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
  32118. * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
  32119. macro.
  32120. (INTERNAL_SYSCALL): Likewise.
  32121. (INTERNAL_VSYSCALL_NCS): Remove macro.
  32122. (INTERNAL_VSYSCALL_CALL): New macro.
  32123. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
  32124. Remove macro.
  32125. (INTERNAL_VSYSCALL): Likewise.
  32126. * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
  32127. sysdep-vdso.h instead of libc-vdso.h.
  32128. * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
  32129. definition.
  32130. (INLINE_VSYSCALL): Likewise.
  32131. (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
  32132. * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
  32133. definition.
  32134. (INLINE_VSYSCALL): Likewise.
  32135. (INTERNAL_VSYSCALL): Likewise.
  32136. (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
  32137. * sysdeps/unix/sysv/linux/timespec_get.c
  32138. (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
  32139. (timespec_get): Use ANSI prototype.
  32140. * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
  32141. and definition for Linux.
  32142. 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
  32143. * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
  32144. * include/libc-symbols.h: libmvec_hidden_* macro series added.
  32145. 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
  32146. [BZ #2981]
  32147. [BZ #18410]
  32148. * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
  32149. for missing DT_PLTRELSZ.
  32150. 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
  32151. Remove obsolete aliases that broke 'locale -a'
  32152. [BZ #18412]
  32153. * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
  32154. which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
  32155. breaking some applications that use 'locale -a' output.
  32156. Change the encoding of this file from Latin-1 to ASCII to avoid
  32157. other potential problems with people grepping this file.
  32158. 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  32159. * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
  32160. -fasynchronous-unwind-tables.
  32161. (CFLAGS-sendto.c): Likewise.
  32162. (CFLAGS-sendmsg.c): Likewise.
  32163. (CFLAGS-connect.c): Likewise.
  32164. (CFLAGS-recvmsg.c): Likewise.
  32165. (CFLAGS-recvfrom.c): Likewise.
  32166. * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
  32167. (SOCKETCALL): New macro: non-cancellable socketcall.
  32168. (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
  32169. * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
  32170. internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
  32171. * sysdeps/unix/sysv/linux/accept.c: New file.
  32172. * sysdeps/unix/sysv/linux/bind.c: Likewise.
  32173. * sysdeps/unix/sysv/linux/connect.c: Likewise.
  32174. * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
  32175. * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
  32176. * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
  32177. * sysdeps/unix/sysv/linux/listen.c: Likewise.
  32178. * sysdeps/unix/sysv/linux/recv.c: Likewise.
  32179. * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
  32180. * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
  32181. * sysdeps/unix/sysv/linux/send.c: Likewise.
  32182. * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
  32183. * sysdeps/unix/sysv/linux/sendto.c: Likewise.
  32184. * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
  32185. * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
  32186. * sysdeps/unix/sysv/linux/socket.c: Likewise.
  32187. * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
  32188. * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
  32189. prototype.
  32190. (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
  32191. (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
  32192. instead of __internal_xxx function.
  32193. * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
  32194. prototype.
  32195. (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
  32196. (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
  32197. instead of __internal_xxx function.
  32198. * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
  32199. prototype.
  32200. (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
  32201. (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
  32202. instead of __internal_xxx function.
  32203. * sysdeps/unix/sysv/linux/accept.S: Remove file.
  32204. * sysdeps/unix/sysv/linux/bind.S: Likewise.
  32205. * sysdeps/unix/sysv/linux/connect.S: Likewise.
  32206. * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
  32207. * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
  32208. * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
  32209. * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
  32210. * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
  32211. * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
  32212. * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
  32213. * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
  32214. * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
  32215. * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
  32216. * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
  32217. * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
  32218. * sysdeps/unix/sysv/linux/listen.S: Likewise.
  32219. * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
  32220. * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
  32221. * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
  32222. * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
  32223. * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
  32224. * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
  32225. * sysdeps/unix/sysv/linux/recv.S: Likewise.
  32226. * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
  32227. * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
  32228. * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
  32229. * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
  32230. * sysdeps/unix/sysv/linux/send.S: Likewise.
  32231. * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
  32232. * sysdeps/unix/sysv/linux/sendto.S: Likewise.
  32233. * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
  32234. * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
  32235. * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
  32236. * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
  32237. * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
  32238. * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
  32239. * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
  32240. * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
  32241. * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
  32242. socketcall is implemented in GLIBC.
  32243. 2015-05-22 Joseph Myers <joseph@codesourcery.com>
  32244. * soft-fp/fmadf4.c: Include <libc-internal.h>.
  32245. (__fma): Ignore uninitialized warnings around packing.
  32246. * soft-fp/fmasf4.c: Include <libc-internal.h>.
  32247. (__fmaf): Ignore uninitialized warnings around packing.
  32248. * soft-fp/fmatf4.c: Include <libc-internal.h>.
  32249. (__fmal): Ignore uninitialized warnings around packing.
  32250. * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
  32251. (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
  32252. * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
  32253. (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
  32254. * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
  32255. switch statement into default case.
  32256. * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
  32257. * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
  32258. a conditional in forcing "inexact".
  32259. * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
  32260. Likewise.
  32261. 2015-05-22 Roland McGrath <roland@hack.frob.com>
  32262. * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
  32263. Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
  32264. for each INTERNAL_SYSCALL use.
  32265. 2015-05-22 Joseph Myers <joseph@codesourcery.com>
  32266. [BZ #438]
  32267. * posix/unistd.h (_POSIX2_C_VERSION): New macro.
  32268. * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
  32269. variable.
  32270. [BZ #18444]
  32271. * string/basename.c (basename): Rename to __basename and define as
  32272. weak alias of __basename. Use libc_hidden_weak.
  32273. * include/string.h (__basename): Declare. Use libc_hidden_proto.
  32274. * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
  32275. __basename instead of basename.
  32276. * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
  32277. Remove variable.
  32278. (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
  32279. 2015-05-18 Florian Weimer <fweimer@redhat.com>
  32280. * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
  32281. (_IO_JUMPS_FILE_plus): New.
  32282. (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
  32283. _IO_CAST_FIELD_ACCESS.
  32284. * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
  32285. mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
  32286. * libio/freopen.c (freopen): Likewise.
  32287. * libio/freopen64.c (freopen64): Likewise.
  32288. * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
  32289. * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
  32290. * libio/iofwide.c (_IO_fwide): Likewise.
  32291. * libio/memstream.c (open_memstream): Likewise.
  32292. * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
  32293. * libio/oldiofopen.c (_IO_old_fopen): Likewise.
  32294. * libio/oldiopopen.c (_IO_old_popen): Likewise.
  32295. 2015-05-21 Joseph Myers <joseph@codesourcery.com>
  32296. * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
  32297. (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
  32298. NADJ.
  32299. * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
  32300. (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
  32301. NADJ.
  32302. * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
  32303. (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
  32304. NADJ.
  32305. * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
  32306. (p == 4) case.
  32307. * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
  32308. * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
  32309. Remove variable.
  32310. (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
  32311. (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
  32312. (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
  32313. 2015-05-21 Florian Weimer <fweimer@redhat.com>
  32314. * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
  32315. Adjust jump table label generation macros.
  32316. 2015-05-21 Florian Weimer <fweimer@redhat.com>
  32317. * stdio-common/vfprintf.c (vfprintf): Move local variables
  32318. args_malloced, specs, specs_malloced, and the code after
  32319. do_positional to the printf_positional function.
  32320. (printf_positional): New function.
  32321. 2015-05-21 Florian Weimer <fweimer@redhat.com>
  32322. * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
  32323. function.
  32324. (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
  32325. STEP4_TABLE, process_arg): Move macro definitions
  32326. out of the vfprintf function. (Cosmetic change only.)
  32327. 2015-05-21 Carlos O'Donell <carlos@redhat.com>
  32328. * benchtests/Makefile (stdio-common-bench): Define.
  32329. (benchset): Add stdio-common-bench.
  32330. * sprintf-inputs: New file.
  32331. * sprintf-source.c: New file.
  32332. 2015-05-21 Andreas Schwab <schwab@suse.de>
  32333. [BZ #13028]
  32334. [BZ #17053]
  32335. * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
  32336. of struct __res_state.
  32337. * resolv/res_send.c (__libc_res_nsend): Likewise.
  32338. (get_nsaddr): New function.
  32339. (res_ourserver_p, send_vc, reopen): Use it instead of accessing
  32340. statp directly.
  32341. 2015-05-20 Joseph Myers <joseph@codesourcery.com>
  32342. * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
  32343. -D_POSIX_C_SOURCE=199506L.
  32344. * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
  32345. * conform/data/unistd.h-data (_POSIX_VERSION): Require.
  32346. (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
  32347. Do not mention otherwise.
  32348. [POSIX] (_XOPEN_VERSION): Do not expect.
  32349. [POSIX] (_XOPEN_XCU_VERSION): Likewise.
  32350. [POSIX] (_POSIX2_C_BIND): Likewise.
  32351. [POSIX] (_POSIX2_VERSION): Likewise.
  32352. [POSIX] (_XOPEN_XPG2): Likewise.
  32353. [POSIX] (_XOPEN_XPG3): Likewise.
  32354. [POSIX] (_XOPEN_XPG4): Likewise.
  32355. [POSIX] (_XOPEN_UNIX): Likewise.
  32356. [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
  32357. [POSIX] (_POSIX_BARRIERS): Likewise.
  32358. [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
  32359. [POSIX] (_POSIX_CPUTIME): Likewise.
  32360. [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
  32361. [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
  32362. [POSIX] (_POSIX_SHELL): Likewise.
  32363. [POSIX] (_POSIX_SPAWN): Likewise.
  32364. [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
  32365. [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
  32366. [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
  32367. [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
  32368. [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
  32369. [POSIX] (_XBS5_ILP32_OFF32): Likewise.
  32370. [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
  32371. [POSIX] (_XBS5_LP64_OFF64): Likewise.
  32372. [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
  32373. [POSIX] (_POSIX_TIMEOUTS): Likewise.
  32374. [POSIX] (_POSIX2_PBS): Likewise.
  32375. [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
  32376. [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
  32377. [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
  32378. [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
  32379. [POSIX] (_POSIX2_PBS_TRACK): Likewise.
  32380. [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
  32381. [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
  32382. [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
  32383. [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
  32384. [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
  32385. [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
  32386. [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
  32387. [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
  32388. [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
  32389. [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
  32390. [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
  32391. [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
  32392. [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
  32393. [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
  32394. [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
  32395. [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
  32396. [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
  32397. [POSIX] (_SC_2_C_BIND): Likewise.
  32398. [POSIX] (_SC_2_C_VERSION): Likewise.
  32399. [POSIX] (_SC_2_PBS): Likewise.
  32400. [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
  32401. [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
  32402. [POSIX] (_SC_2_PBS_LOCATE): Likewise.
  32403. [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
  32404. [POSIX] (_SC_2_PBS_TRACK): Likewise.
  32405. [POSIX] (_SC_ATEXIT_MAX): Likewise.
  32406. [POSIX] (_SC_BARRIERS): Likewise.
  32407. [POSIX] (_SC_BASE): Likewise.
  32408. [POSIX] (_SC_CLOCK_SELECTION): Likewise.
  32409. [POSIX] (_SC_DEVICE_IO): Likewise.
  32410. [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
  32411. [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
  32412. [POSIX] (_SC_FD_MGMT): Likewise.
  32413. [POSIX] (_SC_FIFO): Likewise.
  32414. [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
  32415. [POSIX] (_SC_FILE_LOCKING): Likewise.
  32416. [POSIX] (_SC_FILE_SYSTEM): Likewise.
  32417. [POSIX] (_SC_IOV_MAX): Likewise.
  32418. [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
  32419. [POSIX] (_SC_NETWORKING): Likewise.
  32420. [POSIX] (_SC_PAGE_SIZE): Likewise.
  32421. [POSIX] (_SC_PASS_MAX): Likewise.
  32422. [POSIX] (_SC_PIPE): Likewise.
  32423. [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
  32424. [POSIX] (_SC_REGEXP): Likewise.
  32425. [POSIX] (_SC_SHELL): Likewise.
  32426. [POSIX] (_SC_SIGNALS): Likewise.
  32427. [POSIX] (_SC_SINGLE_PROCESS): Likewise.
  32428. [POSIX] (_SC_SPIN_LOCKS): Likewise.
  32429. [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
  32430. [POSIX] (_SC_USER_GROUPS): Likewise.
  32431. [POSIX] (_SC_USER_GROUPS_R): Likewise.
  32432. [POSIX] (_SC_STREAMS): Likewise.
  32433. [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
  32434. [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
  32435. [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
  32436. [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
  32437. [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
  32438. [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
  32439. [POSIX] (_PC_FILESIZEBITS): Likewise.
  32440. [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
  32441. [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
  32442. [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
  32443. [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
  32444. [POSIX] (uid_t): Likewise.
  32445. [POSIX] (gid_t): Likewise.
  32446. [POSIX] (off_t): Likewise.
  32447. [POSIX] (pid_t): Likewise.
  32448. [POSIX] (cuserid): Allow.
  32449. (_SC_2_CHAR_TERM): Require constant.
  32450. (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
  32451. * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
  32452. variable.
  32453. 2015-05-20 Roland McGrath <roland@hack.frob.com>
  32454. * sysdeps/nacl/pthread-pids.h: New file.
  32455. * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
  32456. (create_thread): Use __nacl_get_tid to initialize PD->tid.
  32457. * nptl/pthread-pids.h: New file.
  32458. * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
  32459. * nptl/nptl-init.c: Include <pthread-pids.h>.
  32460. (__pthread_initialize_minimal_internal):
  32461. Call __pthread_initialize_pids instead of set_tid_address syscall.
  32462. * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
  32463. * sysdeps/posix/usleep.c: ... here.
  32464. 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  32465. * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
  32466. call_pselect6 object.
  32467. [$(subdir) = io]: Remove call_sync_file_range object.
  32468. * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
  32469. * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
  32470. * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
  32471. * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
  32472. 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
  32473. * math/s_cproj.c: Add include "math_private.h".
  32474. * math/s_cprojf.c: Likewise.
  32475. * math/s_cprojl.c: Likewise.
  32476. 2015-05-19 Joseph Myers <joseph@codesourcery.com>
  32477. [BZ #18244]
  32478. * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
  32479. high mantissa bit when testing whether P is a NaN.
  32480. * math/libm-test.inc (remainder_test_data): Add more tests.
  32481. (remquo_test_data): Likewise.
  32482. [BZ #18049]
  32483. * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
  32484. below -32, return the argument, with underflow if subnormal.
  32485. * math/auto-libm-test-in: Add more tests of atanh.
  32486. * math/auto-libm-test-out: Regenerated.
  32487. 2015-05-19 Roland McGrath <roland@hack.frob.com>
  32488. [BZ #18434]
  32489. * nptl/tst-sem15.c: New file.
  32490. * nptl/Makefile (tests): Add it.
  32491. * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
  32492. s/<</>>/ to fix typo in EOVERFLOW check.
  32493. * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
  32494. 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
  32495. * manual/strings.texi (envz_remove): Fix typo in safety
  32496. annotations.
  32497. 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
  32498. Steve Ellcey <sellcey@imgtec.com>
  32499. * inet/rcmd.c (rresvport_af): Change ss to anonymous union
  32500. in order to avoid strict alias warnings.
  32501. (iruserok_af): Ditto for ra.
  32502. 2015-05-19 James Lemke <jwlemke@codesourcery.com>
  32503. [BZ #17581]
  32504. * malloc/hooks.c
  32505. (magicbyte): Convert to a function and avoid returning 0x01.
  32506. (mem2mem_check): Avoid using a length byte equal to the magic byte.
  32507. (mem2chunk_check): Fix unsigned comparisons to zero.
  32508. Hoist defs of sz and magic.
  32509. 2015-05-19 Richard Henderson <rth@redhat.com>
  32510. * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
  32511. * sysdeps/alpha/fpu/libm-test-ulps: Update.
  32512. 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
  32513. [BZ #16159]
  32514. * malloc/Makefile (tests): New test case tst-malloc-backtrace.
  32515. * malloc/arena.c (arena_lock): Check if arena is corrupt.
  32516. (reused_arena): Find a non-corrupt arena.
  32517. (heap_trim): Pass arena to unlink.
  32518. * malloc/hooks.c (malloc_check_get_size): Pass arena to
  32519. malloc_printerr.
  32520. (top_check): Likewise.
  32521. (free_check): Likewise.
  32522. (realloc_check): Likewise.
  32523. * malloc/malloc.c (malloc_printerr): Add arena argument.
  32524. (unlink): Likewise.
  32525. (munmap_chunk): Adjust.
  32526. (ARENA_CORRUPTION_BIT): New macro.
  32527. (arena_is_corrupt): Likewise.
  32528. (set_arena_corrupt): Likewise.
  32529. (sysmalloc): Use mmap if there are no usable arenas.
  32530. (_int_malloc): Likewise.
  32531. (__libc_malloc): Don't fail if arena_get returns NULL.
  32532. (_mid_memalign): Likewise.
  32533. (__libc_calloc): Likewise.
  32534. (__libc_realloc): Adjust for additional argument to
  32535. malloc_printerr.
  32536. (_int_free): Likewise.
  32537. (malloc_consolidate): Likewise.
  32538. (_int_realloc): Likewise.
  32539. (_int_memalign): Don't touch corrupt arenas.
  32540. * malloc/tst-malloc-backtrace.c: New test case.
  32541. * Makefile (summarize-tests): Fix return value on success.
  32542. * manual/string.texi (Envz Functions): Add envz_remove.
  32543. 2015-05-18 Roland McGrath <roland@hack.frob.com>
  32544. * sysdeps/posix/opendir.c: Include <stdbool.h>.
  32545. (invalid_name): New function, broken out of ...
  32546. (__opendirat): ... here. Call it.
  32547. (need_isdir_precheck): New function, broken out of ...
  32548. (__opendirat): ... here. Call it.
  32549. Use __fxstatat64, not __xstatat64.
  32550. (opendir_oflags): New function, broken out of ...
  32551. (__opendirat): ... here. Call it.
  32552. (opendir_tail): New function, broken out of ...
  32553. (__opendirat): ... here. Call it.
  32554. (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
  32555. opendir_tail, rather than punting to __opendirat.
  32556. (__opendirat): Conditionalize function definition on [IS_IN (libc)].
  32557. 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
  32558. * .gitignore: Ignore generated *.pyc.
  32559. 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
  32560. * include/stdio.h: Define __need_wint_t.
  32561. * test-skeleton.c: Avoid `for' loop initial declaration.
  32562. * nptl/tst-initializers1.c: Use test-skeleton.c.
  32563. 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  32564. [BZ #18418]
  32565. * stdlib/tst-setcontext3.sh: Remove non-portable array use.
  32566. 2015-05-15 Joseph Myers <joseph@codesourcery.com>
  32567. [BZ #16352]
  32568. * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
  32569. (__ieee754_atanh): Force underflow exception for results with
  32570. small absolute value.
  32571. * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
  32572. (__ieee754_atanhf): Force underflow exception for results with
  32573. small absolute value.
  32574. * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
  32575. (__ieee754_atanh): Force underflow exception for results with
  32576. small absolute value.
  32577. * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
  32578. (__ieee754_atanhf): Force underflow exception for results with
  32579. small absolute value.
  32580. * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
  32581. (__ieee754_atanhl): Force underflow exception for results with
  32582. small absolute value.
  32583. * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
  32584. (__ieee754_atanhl): Force underflow exception for results with
  32585. small absolute value.
  32586. * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
  32587. (__ieee754_atanhl): Force underflow exception for results with
  32588. small absolute value.
  32589. * math/auto-libm-test-in: Do not allow missing underflow
  32590. exceptions from atanh.
  32591. * math/auto-libm-test-out: Regenerated.
  32592. [BZ #18221]
  32593. * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
  32594. 2**-28 as threshold for returning x or +/- 1/x.
  32595. * math/auto-libm-test-in: Add more tests of tan.
  32596. * math/auto-libm-test-out: Regenerated.
  32597. [BZ #18220]
  32598. * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
  32599. 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
  32600. * math/auto-libm-test-in: Add another test of lgamma.
  32601. * math/auto-libm-test-out: Regenerated.
  32602. 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
  32603. * stdio-common/printf_fp.c (___printf_fp): Use abs.
  32604. * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
  32605. * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
  32606. * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
  32607. (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
  32608. (ADD2A): Use fabs. (SUB2A): Use fabs.
  32609. * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
  32610. * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
  32611. * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
  32612. (log1): Use fabs. (my_log2): Use fabs.
  32613. * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
  32614. * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
  32615. * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
  32616. * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
  32617. * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
  32618. (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
  32619. (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
  32620. (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
  32621. (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
  32622. * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
  32623. * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
  32624. 2015-05-15 Joseph Myers <joseph@codesourcery.com>
  32625. [BZ #18217]
  32626. * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
  32627. as threshold for returning 1 - x.
  32628. * math/auto-libm-test-in: Add more tests of erfc.
  32629. * math/auto-libm-test-out: Regenerated.
  32630. 2015-05-14 Joseph Myers <joseph@codesourcery.com>
  32631. [BZ #18196]
  32632. * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
  32633. threshold for large arguments.
  32634. * math/auto-libm-test-in: Add another test of atan.
  32635. * math/auto-libm-test-out: Regenerated.
  32636. [BZ #16339]
  32637. * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
  32638. (__log1p): Force underflow exception for results with small
  32639. absolute value.
  32640. * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
  32641. (__log1pf): Force underflow exception for results with small
  32642. absolute value.
  32643. * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
  32644. (__log1p): Force underflow exception for results with small
  32645. absolute value.
  32646. * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
  32647. (__log1pf): Force underflow exception for results with small
  32648. absolute value.
  32649. * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
  32650. (__log1pl): Force underflow exception for results with small
  32651. absolute value.
  32652. * math/auto-libm-test-in: Do not allow missing underflow
  32653. exceptions from log1p.
  32654. * math/auto-libm-test-out: Regenerated.
  32655. 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
  32656. Adhemerval Zanella <adhemerval.zanella@linaro.org>
  32657. [BZ #16704]
  32658. * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
  32659. 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
  32660. * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
  32661. (libmvec): New variable.
  32662. * configure.ac: Added option for mathvec build.
  32663. * configure: Regenerated.
  32664. * mathvec/Depend: New file.
  32665. * mathvec/Makefile: New file.
  32666. * shlib-versions: Added libmvec.
  32667. * math/Makefile: Added rule for libm.so installation.
  32668. * bits/math-vector.h: New file.
  32669. * bits/libm-simd-decl-stubs.h: New header.
  32670. * math/Makefile (headers): Added new header
  32671. libm-simd-decl-stubs.h.
  32672. * math/math.h (__MATHCALL_VEC): New macro.
  32673. * math/gen-libm-have-vector-test.sh: Script generates series of macros
  32674. for conditions in testing functions.
  32675. * math/Makefile: Added call of libm-have-vector-test.sh.
  32676. * math/libm-test.inc (HAVE_VECTOR): New macros.
  32677. * math/libm-test.inc: START refactored.
  32678. * math/test-double.c (TEST_MATHVEC): Add define.
  32679. * math/test-float.c: Likewise.
  32680. * math/test-idouble.c: Likewise.
  32681. * math/test-ifloat.c: Likewise.
  32682. * math/test-ildoubl.c: Likewise.
  32683. * math/test-ldouble.c: Likewise.
  32684. * sysdeps/generic/math-tests-arch.h
  32685. (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
  32686. architecture check.
  32687. * math/test-double.c (FUNC_TEST): New macro.
  32688. * math/test-float.c: Likewise.
  32689. * math/test-idouble.c: Likewise.
  32690. * math/test-ifloat.c: Likewise.
  32691. * math/test-ildoubl.c: Likewise.
  32692. * math/test-ldouble.c: Likewise.
  32693. * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
  32694. 2015-05-13 Roland McGrath <roland@hack.frob.com>
  32695. * sysdeps/nacl/fdopendir.c: New file.
  32696. * dirent/scandir-tail.c: New file.
  32697. * dirent/scandir64-tail.c: New file.
  32698. * dirent/Makefile (routines): Add them.
  32699. (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
  32700. * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
  32701. * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
  32702. [!SCANDIR] (SCANDIR_TAIL): New macro.
  32703. (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
  32704. * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
  32705. (SCANDIRAT): Macro removed.
  32706. (SCANDIR_TAIL): New macro.
  32707. * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
  32708. [!SCANDIRAT] (SCANDIR_TAIL): New macro.
  32709. (SCANDIRAT): Just call __opendirat and __scandir_tail.
  32710. * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
  32711. (READDIR): Macro removed.
  32712. (SCANDIR_TAIL): New macro.
  32713. * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
  32714. (SCANDIR_TAIL): New macro.
  32715. * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
  32716. * dirent/scandir-cancel.c: ... to this new file.
  32717. * dirent/Makefile (routines): Add it.
  32718. * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
  32719. * sysdeps/unix/sysv/linux/i386/scandir64.c
  32720. (SKIP_SCANDIR_CANCEL): Macro removed.
  32721. * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
  32722. * dirent/tst-scandir.c: New file.
  32723. * dirent/tst-scandir64.c: New file.
  32724. * dirent/Makefile (tests): Add them.
  32725. 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
  32726. [BZ #18409]
  32727. * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
  32728. 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
  32729. * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
  32730. list.
  32731. 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
  32732. * benchtests/bench-strcoll.c: New benchmark.
  32733. * benchtests/Makefile: Generate locales and run benchmark.
  32734. * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
  32735. * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
  32736. * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
  32737. * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
  32738. * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
  32739. * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
  32740. * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
  32741. * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
  32742. * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
  32743. * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
  32744. * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
  32745. * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
  32746. * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
  32747. * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
  32748. * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
  32749. * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
  32750. * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
  32751. * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
  32752. * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
  32753. * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
  32754. * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
  32755. * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
  32756. * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
  32757. * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
  32758. 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
  32759. * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
  32760. * sysdeps/x86_64/multiarch/strspn.S: Likewise.
  32761. 2015-05-12 Roland McGrath <roland@hack.frob.com>
  32762. * posix/uname-values.h: New file.
  32763. * posix/uname.c: Include that instead of <config-name.h>.
  32764. * sysdeps/nacl/uname-values.h: New file.
  32765. * sysdeps/arm/nacl/uname-values.h: New file.
  32766. 2015-05-12 Joseph Myers <joseph@codesourcery.com>
  32767. * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
  32768. splitting into fields.
  32769. 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
  32770. * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
  32771. * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
  32772. * locale/localeinfo.h: Add enum collation_encoding_type.
  32773. * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
  32774. * programs/ld-collate.c (collate_output): Add encoding type info.
  32775. * string/strcoll_l.c (STRDIFF): New function.
  32776. * (STRCOLL): Use STRDIFF to skip over equal prefix.
  32777. * wcsmbs/wcscoll_l.c: Define STRDIFF.
  32778. 2015-05-11 Joseph Myers <joseph@codesourcery.com>
  32779. [BZ #18397]
  32780. * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
  32781. * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
  32782. <fpu_control.h> instead of <math/fpu_control.c>.
  32783. * sysdeps/mips/mips32/fpu/Makefile: New file.
  32784. 2015-05-11 Andreas Schwab <schwab@suse.de>
  32785. [BZ #18007]
  32786. * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
  32787. nss_endgrent.
  32788. (_nss_compat_endgrent): Call nss_endgrent.
  32789. * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
  32790. nss_endpwent.
  32791. (_nss_compat_endpwent): Call nss_endpwent.
  32792. * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
  32793. needent, call nss_setspent only if non-zero.
  32794. (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
  32795. (internal_endspent): Don't call nss_endspent.
  32796. (_nss_compat_endspent): Call nss_endspent.
  32797. * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
  32798. Remove. All uses removed.
  32799. (internal_setent): Remove parameter stayopen, add parameter
  32800. stream. Use it instead of global variable.
  32801. (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
  32802. (internal_endent, internal_getent): Add parameter stream. Use it
  32803. instead of global variable.
  32804. (CONCAT(_nss_files_end,ENTNAME))
  32805. (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
  32806. (_nss_files_get##name##_r): Pass local stream. Remove locking.
  32807. * nss/nss_files/files-alias.c (position, last_use): Remove. All
  32808. uses removed.
  32809. (internal_setent, internal_endent): Add parameter stream. Use it
  32810. instead of global variable.
  32811. (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
  32812. stream.
  32813. (get_next_alias): Add parameter stream.
  32814. (_nss_files_getaliasent_r): Pass global stream.
  32815. (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
  32816. * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
  32817. (_nss_files_gethostbyname4_r): Pass local stream to
  32818. internal_setent, internal_getent and internal_endent. Remove
  32819. locking.
  32820. 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
  32821. * tst-strfmon1.c (tests): Update expected currency symbol.
  32822. 2015-05-08 Roland McGrath <roland@hack.frob.com>
  32823. * sysdeps/nacl/gethostname.c: New file.
  32824. 2015-05-08 Joseph Myers <joseph@codesourcery.com>
  32825. * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
  32826. and sinh.
  32827. * math/auto-libm-test-out: Regenerated.
  32828. * sysdeps/i386/fpu/libm-test-ulps: Update.
  32829. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  32830. 2015-05-08 Carlos O'Donell <carlos@redhat.com>
  32831. [BZ #18125]
  32832. * stdlib/tst-setcontext3.c: New file.
  32833. * stdlib/tst-setcontext3.sh: New file.
  32834. * stdlib/Makefile (tests): Add tst-setcontext3.
  32835. (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
  32836. to verify test program created output file.
  32837. * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
  32838. * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
  32839. * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
  32840. * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
  32841. 2015-05-06 Roland McGrath <roland@hack.frob.com>
  32842. [BZ #18383]
  32843. * elf/tst-tlsalign.c: New file.
  32844. * elf/tst-tlsalign-static.c: New file.
  32845. * elf/tst-tlsalign-lib.c: New file.
  32846. * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
  32847. (tests-static): Add tst-tlsalign-static.
  32848. (modules-names): Add tst-tlsalign-lib.
  32849. (test-xfail-tst-tlsalign): New variable.
  32850. (test-xfail-tst-tlsalign-static): New variable.
  32851. * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
  32852. Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
  32853. 2015-05-06 Joseph Myers <joseph@codesourcery.com>
  32854. * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
  32855. csqrt, erfc, sin and sincos.
  32856. * math/auto-libm-test-out: Regenerated.
  32857. * sysdeps/i386/fpu/libm-test-ulps: Update.
  32858. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  32859. 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
  32860. * sysdeps/aarch64/libm-test-ulps: Update.
  32861. 2015-05-05 Joseph Myers <joseph@codesourcery.com>
  32862. * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
  32863. clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
  32864. * math/auto-libm-test-out: Regenerated.
  32865. * sysdeps/i386/fpu/libm-test-ulps: Update.
  32866. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  32867. 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
  32868. [BZ #18265]
  32869. * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
  32870. (wcsncpy): Likewise.
  32871. 2015-05-05 Florian Weimer <fweimer@redhat.com>
  32872. * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
  32873. Assume __ASSUME_FALLOCATE is always true.
  32874. * sysdeps/unix/sysv/linux/posix_fallocate64.c
  32875. (__posix_fallocate64_l64): Likewise.
  32876. * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
  32877. (posix_fallocate): Likewise.
  32878. * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
  32879. (__posix_fallocate64_l64): Likewise.
  32880. * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
  32881. [!__ASSUME_FALLOCATE]: Add comment.
  32882. 2015-05-05 Florian Weimer <fweimer@redhat.com>
  32883. * sysdeps/unix/sysv/linux/i386/Makefile
  32884. (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
  32885. (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
  32886. * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
  32887. * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
  32888. * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
  32889. * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
  32890. * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
  32891. 2015-05-02 Joseph Myers <joseph@codesourcery.com>
  32892. * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
  32893. cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
  32894. tgamma.
  32895. * math/auto-libm-test-out: Regenerated.
  32896. * sysdeps/i386/fpu/libm-test-ulps: Update.
  32897. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  32898. 2015-05-01 Joseph Myers <joseph@codesourcery.com>
  32899. * math/auto-libm-test-in: Add more tests of tgamma.
  32900. * math/auto-libm-test-out: Regenerated.
  32901. * sysdeps/i386/fpu/libm-test-ulps: Update.
  32902. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  32903. * math/auto-libm-test-in: Add more tests of tanh.
  32904. * math/auto-libm-test-out: Regenerated.
  32905. * sysdeps/i386/fpu/libm-test-ulps: Update.
  32906. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  32907. * math/auto-libm-test-in: Add more tests of tan.
  32908. * math/auto-libm-test-out: Regenerated.
  32909. * sysdeps/i386/fpu/libm-test-ulps: Update.
  32910. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  32911. * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
  32912. * math/auto-libm-test-out: Regenerated.
  32913. * sysdeps/i386/fpu/libm-test-ulps: Update.
  32914. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  32915. * math/auto-libm-test-in: Add another test of pow.
  32916. * math/auto-libm-test-out: Regenerated.
  32917. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
  32918. * math/auto-libm-test-in: Add more tests of lgamma.
  32919. * math/auto-libm-test-out: Regenerated.
  32920. * sysdeps/i386/fpu/libm-test-ulps: Update.
  32921. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  32922. * math/auto-libm-test-in: Add more tests of log, log10, log2 and
  32923. log1p.
  32924. * math/auto-libm-test-out: Regenerated.
  32925. * sysdeps/i386/fpu/libm-test-ulps: Update.
  32926. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  32927. 2015-05-01 Mark Wielaard <mjw@redhat.com>
  32928. * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
  32929. Elf64_Chdr structs and ELFCOMPRESS constants.
  32930. 2015-05-01 Joseph Myers <joseph@codesourcery.com>
  32931. * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
  32932. expm1.
  32933. * math/auto-libm-test-out: Regenerated.
  32934. * sysdeps/i386/fpu/libm-test-ulps: Update.
  32935. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  32936. * math/auto-libm-test-in: Add more tests of erf and erfc.
  32937. * math/auto-libm-test-out: Regenerated.
  32938. * sysdeps/i386/fpu/libm-test-ulps: Update.
  32939. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  32940. 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
  32941. * config.h.in (HAVE_AARCH64_BE): Add.
  32942. 2015-04-30 Joseph Myers <joseph@codesourcery.com>
  32943. * math/auto-libm-test-in: Add more tests of csqrt.
  32944. * math/auto-libm-test-out: Regenerated.
  32945. * sysdeps/i386/fpu/libm-test-ulps: Update.
  32946. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  32947. * math/auto-libm-test-in: Add more tests of cosh and sinh.
  32948. * math/auto-libm-test-out: Regenerated.
  32949. * sysdeps/i386/fpu/libm-test-ulps: Update.
  32950. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  32951. * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
  32952. 2015-04-29 Roland McGrath <roland@hack.frob.com>
  32953. * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
  32954. * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
  32955. * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
  32956. (euidaccess, eaccess): Define as weak aliases.
  32957. * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
  32958. __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
  32959. but __suseconds_t is often 'long int' so some sources assume that
  32960. type is being used (e.g. they use %ld to print tv_usec).
  32961. 2015-04-29 Florian Weimer <fweimer@redhat.com>
  32962. [BZ #18007]
  32963. * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
  32964. (CVE-2014-8121)
  32965. * nss/tst-nss-getpwent.c: New file.
  32966. * nss/Makefile (tests): Add new test.
  32967. 2015-04-28 Joseph Myers <joseph@codesourcery.com>
  32968. [BZ #18346]
  32969. * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
  32970. exponents less than 48 as cases where high part of mantissa needs
  32971. examining to determine whether argument is integral.
  32972. * math/libm-test.inc (round_test_data): Add more tests.
  32973. 2015-04-28 Mark Wielaard <mjw@redhat.com>
  32974. * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
  32975. 2015-04-27 David S. Miller <davem@davemloft.net>
  32976. * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
  32977. __tls_get_addr.
  32978. * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
  32979. 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
  32980. [BZ #18333]
  32981. * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
  32982. 2015-04-27 Florian Weimer <fweimer@redhat.com>
  32983. [BZ #18333]
  32984. * time/tzset.c (parse_tzname): Return error on memory allocation
  32985. failure.
  32986. * test-skeleton.c (struct temp_name_list): Change type of name
  32987. member to non-const.
  32988. (add_temp_file): Create a copy of the file name.
  32989. (delete_temp_files): Deallocate memory.
  32990. (create_temp_file): Add comment.
  32991. 2015-04-24 Florian Weimer <fweimer@redhat.com>
  32992. * io/posix_fallocate.c (posix_fallocate): Do not set errno.
  32993. * io/posix_fallocate64.c (posix_fallocate64): Likewise.
  32994. 2015-04-24 Roland McGrath <roland@hack.frob.com>
  32995. * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
  32996. * sysdeps/arm/configure: Regenerated.
  32997. 2015-04-24 Florian Weimer <fweimer@redhat.com>
  32998. [BZ #17715]
  32999. * time/tzfile.c (__tzfile_read): Check for large values of
  33000. tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
  33001. * time/tzset.c (__tzstring_len): New function, based on the old
  33002. __tzstring function.
  33003. (__tzstring): Call __tzstring_len.
  33004. (parse_tzname): New helper function extracted from
  33005. __tzset_parse_tz. Call __tzstring_len, without making a copy of
  33006. the input string.
  33007. (parse_offset): New helper function extracted from
  33008. __tzset_parse_tz. Replace switch with fallthrough with
  33009. initialization before sscanf.
  33010. (parse_rule): Likewise.
  33011. (__tzset_parse_tz): Rewrite using the new helper functions. Use
  33012. new-style function definition.
  33013. * timezone/Makefile (tests): Add tst-tzset.
  33014. (tst-tzset.out): Dependencies on time zone files.
  33015. (tst-tzset-ENV): Set TZDIR.
  33016. (testdata/XT%): Copy crafted time zone files.
  33017. * timezone/README: Mention crafted time zone files.
  33018. * timezone/testdata/XT1, timezone/testdata/XT2,
  33019. timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
  33020. files.
  33021. * timezone/tst-tzset.c: New test.
  33022. 2015-04-24 Florian Weimer <fweimer@redhat.com>
  33023. * Makeconfig (+gccwarn): Remove -Winline.
  33024. 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
  33025. * sysdeps/s390/fpu/libm-test-upls: Regenerate.
  33026. 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
  33027. * NEWS: Mention sysconf() cache information support for s390.
  33028. * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
  33029. 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
  33030. * math/k_casinh.c (__kernel_casinh): Use __copysign.
  33031. * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
  33032. (__nearbyint): Likewise.
  33033. * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
  33034. (copysignl): Likewise.
  33035. 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
  33036. [BZ #18287]
  33037. * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
  33038. based on padding. (CVE-2015-1781)
  33039. 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  33040. * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
  33041. libc-vdso.h.
  33042. * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
  33043. * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
  33044. * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
  33045. * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
  33046. * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
  33047. * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
  33048. * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
  33049. * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
  33050. * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
  33051. * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
  33052. * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
  33053. * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
  33054. * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
  33055. * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
  33056. * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
  33057. * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
  33058. * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
  33059. * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
  33060. * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
  33061. * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
  33062. * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
  33063. * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
  33064. * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
  33065. 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
  33066. * stdlib/setenv.c (__add_to_environ):
  33067. Dump core quickly if setenv (..., NULL, ...) is called.
  33068. This time, do it the right way, and pacify GCC with a pragma.
  33069. 2015-04-17 Roland McGrath <roland@hack.frob.com>
  33070. * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
  33071. IMAP->l_prev cannot be null, and #if out the code for the contrary
  33072. case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
  33073. believe that NS (&_dl_ns[NSID]) could point outside the array.
  33074. * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
  33075. check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
  33076. before using NSID as an index.
  33077. 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
  33078. [BZ #17825]
  33079. * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
  33080. * sysdeps/sparc/sparc64/memcmp.S: Likewise.
  33081. * sysdeps/sparc/sparc64/strncmp.S: Likewise.
  33082. 2015-04-17 Roland McGrath <roland@hack.frob.com>
  33083. Add preliminary port to Google Native Client on ARM.
  33084. * abi-tags (.*-.*-nacl.*): New entry.
  33085. * sysdeps/arm/nacl: New directory.
  33086. * sysdeps/nacl: New directory.
  33087. 2015-04-16 David S. Miller <davem@davemloft.net>
  33088. * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
  33089. lowlevellock-futex.h
  33090. 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
  33091. * sysdeps/tile/configure.ac: New file.
  33092. * sysdeps/tile/configure: Regenerated.
  33093. 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
  33094. * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
  33095. conditionals for weak_alias and libc_hidden_weak.
  33096. * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
  33097. libc_hidden_weak and weak_alias.
  33098. * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
  33099. Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
  33100. and weak_alias for static one.
  33101. 2015-04-15 David S. Miller <davem@davemloft.net>
  33102. * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
  33103. 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
  33104. [BZ #18206]
  33105. * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
  33106. Use signed comparision instead of substraction to avoid
  33107. overflow bug.
  33108. * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
  33109. Take the sign of ret.
  33110. * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
  33111. Do not expect precise return values. Only the sign matters.
  33112. * wcsmbs/Makefile (strop-tests): Add wcsncmp.
  33113. * wcsmbs/test-wcsncmp.c: New File.
  33114. * string/test-strncmp.c: Add wcsncmp support.
  33115. 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
  33116. [BZ #6792]
  33117. * math/w_log1p.c: New file.
  33118. * math/w_log1pf.c: Likewise.
  33119. * math/w_log1pl.c: Likewise.
  33120. * math/Makefile (libm-calls): Add w_log1p.
  33121. * math/s_log1pl.c (log1pl): Remove weak_alias.
  33122. * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
  33123. * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
  33124. * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
  33125. * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
  33126. * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
  33127. [NO_LONG_DOUBLE] (log1pl): Likewise.
  33128. * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
  33129. * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
  33130. * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
  33131. (log1p): Remove long_double_symbol.
  33132. * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
  33133. * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
  33134. * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
  33135. * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
  33136. remove weak_alias for corresponding log1p function.
  33137. * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
  33138. * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
  33139. * sysdeps/ia64/fpu/w_log1p.c: New file.
  33140. * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
  33141. * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
  33142. * math/libm-test.inc (log1p_test_data): Add errno expectations.
  33143. 2015-04-10 Joseph Myers <joseph@codesourcery.com>
  33144. [BZ #18247]
  33145. * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
  33146. decimal exponent by 1.
  33147. * stdlib/tst-strtod-round-data: Add more tests.
  33148. * stdlib/tst-strtod-round.c (tests): Regenerated.
  33149. 2015-04-09 Joseph Myers <joseph@codesourcery.com>
  33150. * math/auto-libm-test-in: Add more tests of clog and clog10.
  33151. * math/auto-libm-test-out: Regenerated.
  33152. * sysdeps/i386/fpu/libm-test-ulps: Update.
  33153. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  33154. 2015-04-09 Roland McGrath <roland@hack.frob.com>
  33155. * Makeconfig (module-cppflags): Exclude all .v.i files.
  33156. (skip-module-cppflags): Variable removed.
  33157. * configure.ac (libc_config_ok): Initialize before reading
  33158. preconfigure scripts, not after.
  33159. * configure: Regenerated.
  33160. * test-skeleton.c (TIMEOUT): Move #define to top level.
  33161. (main): Grok environment variable TEST_DIRECT. If set, print
  33162. test expectation details into that file and then behave as if
  33163. given --direct.
  33164. 2015-04-09 Florian Weimer <fweimer@redhat.com>
  33165. * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
  33166. warning on 32-bit.
  33167. 2015-04-08 David S. Miller <davem@davemloft.net>
  33168. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  33169. 2015-04-08 Joseph Myers <joseph@codesourcery.com>
  33170. * math/auto-libm-test-in: Add more tests of atanh.
  33171. * math/auto-libm-test-out: Regenerated.
  33172. * sysdeps/i386/fpu/libm-test-ulps: Update.
  33173. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  33174. * math/auto-libm-test-in: Add more tests of atan.
  33175. * math/auto-libm-test-out: Regenerated.
  33176. * sysdeps/i386/fpu/libm-test-ulps: Update.
  33177. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  33178. 2015-04-08 Florian Weimer <fweimer@redhat.com>
  33179. * elf/pldd.c (main): Rewrite to use struct
  33180. scratch_buffer instead of extend_alloca.
  33181. * elf/pldd-xx.c (find_maps): Likewise.
  33182. * grp/initgroups.c: Include <scratch_buffer.h> instead of
  33183. <alloca.h>.
  33184. * grp/compat-initgroups.c (compat_call): Rewrite to use struct
  33185. scratch_buffer instead of extend_alloca.
  33186. * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
  33187. grp/compat-initgroups.c.
  33188. * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
  33189. Rewrite to use struct scratch_buffer instead of extend_alloca.
  33190. * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
  33191. * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
  33192. 2015-04-08 Joseph Myers <joseph@codesourcery.com>
  33193. * math/auto-libm-test-in: Add more tests of cbrt.
  33194. * math/auto-libm-test-out: Regenerated.
  33195. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
  33196. * math/auto-libm-test-in: Add more tests of cabs.
  33197. * math/auto-libm-test-out: Regenerated.
  33198. * sysdeps/i386/fpu/libm-test-ulps: Update.
  33199. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  33200. [BZ #18210]
  33201. [BZ #18211]
  33202. * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
  33203. (__ieee754_atan2): Set FE_TONEAREST mode for internal
  33204. computations.
  33205. * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
  33206. clog10.
  33207. * math/auto-libm-test-out: Regenerated.
  33208. * sysdeps/i386/fpu/libm-test-ulps: Update.
  33209. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  33210. [BZ #18197]
  33211. * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
  33212. (atan): Set FE_TONEAREST mode for internal computations.
  33213. * math/auto-libm-test-in: Add more tests of atan.
  33214. * math/auto-libm-test-out: Regenerated.
  33215. 2015-04-07 James Cowgill <james410@cowgill.org.uk>
  33216. [BZ #17930]
  33217. * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
  33218. 2015-04-07 Florian Weimer <fweimer@redhat.com>
  33219. * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
  33220. 2015-04-07 Florian Weimer <fweimer@redhat.com>
  33221. * include/scratch_buffer.h: New file.
  33222. * malloc/scratch_buffer_grow.c: Likewise.
  33223. * malloc/scratch_buffer_grow_preserve.c: Likewise.
  33224. * malloc/scratch_buffer_set_array_size.c: Likewise.
  33225. * malloc/tst-scratch_buffer.c: Likewise.
  33226. * malloc/Makefile (routines): Add scratch_buffer_grow.
  33227. (tests): Add test case.
  33228. * malloc/Versions (GLIBC_PRIVATE): Export
  33229. __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
  33230. __libc_scratch_buffer_set_array_size.
  33231. 2015-04-06 Richard Henderson <rth@redhat.com>
  33232. * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
  33233. * sysdeps/alpha/fpu/libm-test-ulps: Update.
  33234. * math/test-fenvinline.c (feenable_test): Cast fe_exc to
  33235. unsigned int before printing.
  33236. 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  33237. [BZ #17596]
  33238. * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
  33239. * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
  33240. 2015-04-02 Florian Weimer <fweimer@redhat.com>
  33241. * include/libc-internal.h (libc_max_align_t): Define.
  33242. 2015-04-02 Andreas Schwab <schwab@suse.de>
  33243. [BZ #16850]
  33244. * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
  33245. 2015-04-02 Mel Gorman <mgorman@suse.de>
  33246. [BZ #17195]
  33247. * malloc/arena.c (free): Apply trim threshold to per-thread heaps
  33248. as well as the main arena.
  33249. 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
  33250. [BZ #18185]
  33251. * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
  33252. sharing L2 cache to 2 for Silvermont/Knights Landing.
  33253. 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
  33254. [BZ #17711]
  33255. * config.make.in (have-protected-data): New.
  33256. * configure.ac: Check linker support for protected data symbol.
  33257. * configure: Regenerated.
  33258. * elf/Makefile (modules-names): Add tst-protected1moda and
  33259. tst-protected1modb if $(have-protected-data) is yes.
  33260. (tests): Add tst-protected1a and tst-protected1b if
  33261. $(have-protected-data) is yes.
  33262. ($(objpfx)tst-protected1a): New.
  33263. ($(objpfx)tst-protected1b): Likewise.
  33264. (tst-protected1modb.so-no-z-defs): Likewise.
  33265. * elf/tst-protected1a.c: New file.
  33266. * elf/tst-protected1b.c: Likewise.
  33267. * elf/tst-protected1mod.h: Likewise.
  33268. * elf/tst-protected1moda.c: Likewise.
  33269. * elf/tst-protected1modb.c: Likewise.
  33270. 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
  33271. [BZ #17711]
  33272. * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
  33273. indicates it is called from do_lookup_x on relocation against
  33274. protected data, skip the data definion in the executable from
  33275. copy reloc.
  33276. (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
  33277. instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
  33278. EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
  33279. * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
  33280. New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
  33281. otherwise to 0.
  33282. * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
  33283. * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
  33284. to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
  33285. * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
  33286. * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
  33287. to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
  33288. 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
  33289. * sysdeps/nptl/pthread.h: Remove duplicate definition of
  33290. PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
  33291. 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
  33292. * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
  33293. THREAD_SETMEM_NC.
  33294. * sysdeps/x86_64/nptl/tls.h: Ditto.
  33295. 2015-03-27 Roland McGrath <roland@hack.frob.com>
  33296. * dlfcn/tststatic.c (main): Converted to ...
  33297. (do_test): ... this.
  33298. (TEST_FUNCTION): New macro.
  33299. Include test-skeleton.c.
  33300. 2015-03-26 Alan Modra <amodra@gmail.com>
  33301. * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
  33302. Don't segfault if ifunc resolver returns a NULL. Do set plt to
  33303. zero for undefined weak.
  33304. (elf_machine_plt_conflict): Similarly.
  33305. 2015-03-25 Joseph Myers <joseph@codesourcery.com>
  33306. * math/auto-libm-test-in: Add more tests of acosh, asinh and
  33307. atanh.
  33308. * math/auto-libm-test-out: Regenerated.
  33309. * sysdeps/i386/fpu/libm-test-ulps: Update.
  33310. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  33311. * math/auto-libm-test-in: Add another test of asin.
  33312. * math/auto-libm-test-out: Regenerated.
  33313. * sysdeps/i386/fpu/libm-test-ulps: Update.
  33314. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  33315. * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
  33316. Remove macro.
  33317. (LLL_EBX_REG): Likewise.
  33318. (LLL_ENTER_KERNEL): Likewise.
  33319. * math/auto-libm-test-in: Add more tests of asin.
  33320. * math/auto-libm-test-out: Regenerated.
  33321. * sysdeps/i386/fpu/libm-test-ulps: Update.
  33322. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  33323. [BZ #18138]
  33324. * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
  33325. libc_do_syscall_args): New structure.
  33326. (INTERNAL_SYSCALL_MAIN_0): New macro.
  33327. (INTERNAL_SYSCALL_MAIN_1): Likewise.
  33328. (INTERNAL_SYSCALL_MAIN_2): Likewise.
  33329. (INTERNAL_SYSCALL_MAIN_3): Likewise.
  33330. (INTERNAL_SYSCALL_MAIN_4): Likewise.
  33331. (INTERNAL_SYSCALL_MAIN_5): Likewise.
  33332. (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
  33333. (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
  33334. Replace conditional definitions by conditional definitions of ....
  33335. (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
  33336. * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
  33337. * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
  33338. (libpthread-sysdep_routines): Add libc-do-syscall.
  33339. * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
  33340. * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
  33341. to __NR_futex not 240.
  33342. 2015-03-25 Alan Modra <amodra@gmail.com>
  33343. * NEWS: Advertise TLS optimization.
  33344. * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
  33345. (DT_PPC_NUM): Increment.
  33346. * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
  33347. (CHECK_STATIC_TLS): Use here.
  33348. * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
  33349. TLS descriptors.
  33350. * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
  33351. * sysdeps/powerpc/dl-tls.c: New file.
  33352. * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
  33353. * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
  33354. * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
  33355. Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
  33356. * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
  33357. * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
  33358. * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
  33359. 2015-03-25 Alan Modra <amodra@gmail.com>
  33360. * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
  33361. for overlapping .opd entries" to "support...".
  33362. * sysdeps/powerpc/powerpc64/configure: Regenerate
  33363. 2015-03-25 Joseph Myers <joseph@codesourcery.com>
  33364. * math/auto-libm-test-in: Add more tests of acos.
  33365. * math/auto-libm-test-out: Regenerated.
  33366. * sysdeps/i386/fpu/libm-test-ulps: Update.
  33367. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  33368. * math/auto-libm-test-in: Add more tests of expm1.
  33369. * math/auto-libm-test-out: Regenerated.
  33370. * sysdeps/i386/fpu/libm-test-ulps: Update.
  33371. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  33372. 2015-03-24 Joseph Myers <joseph@codesourcery.com>
  33373. * math/auto-libm-test-in: Add more tests of cosh and sinh.
  33374. * math/auto-libm-test-out: Regenerated.
  33375. * sysdeps/i386/fpu/libm-test-ulps: Update.
  33376. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  33377. * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
  33378. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  33379. * math/auto-libm-test-in: Add more tests of log2.
  33380. * math/auto-libm-test-out: Regenerated.
  33381. * sysdeps/i386/fpu/libm-test-ulps: Update.
  33382. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  33383. 2015-03-23 Roland McGrath <roland@hack.frob.com>
  33384. * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
  33385. inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
  33386. _IO_IS_APPENDING bit in READ_WRITE instead.
  33387. 2015-03-23 Florian Weimer <fweimer@redhat.com>
  33388. * sysdeps/unix/sysv/linux/pthread_setaffinity.c
  33389. (__determine_cpumask_size): Replace extend_alloca with a
  33390. variable-length array. Do not treat res == 0 as an error.
  33391. 2015-03-23 Florian Weimer <fweimer@redhat.com>
  33392. [BZ #18100]
  33393. * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
  33394. and integer overflow.
  33395. * posix/wordexp-test.c (test_case): Add divide-by-zero test.
  33396. (main): Add integer overflow tests.
  33397. * manual/pattern.texi (Calling Wordexp): Document additional use
  33398. for WRDE_SYNTAX.
  33399. 2015-03-23 Alan Modra <amodra@gmail.com>
  33400. * config.h.in: Remove HAVE_ASM_PPC_REL16.
  33401. * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
  33402. and false branch of conditional.
  33403. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
  33404. Likewise.
  33405. 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
  33406. * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
  33407. libc-modules.h
  33408. * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
  33409. unused declaration of _hurd_intr_rpc_msg_in_trap.
  33410. * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
  33411. defined instead of whether it is non-zero.
  33412. * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
  33413. input constraint instead of both input and output constraint. Use ecx
  33414. clobber instead of %ecx.
  33415. * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
  33416. mutex_unlock): Use a statement expression instead of an expression list.
  33417. * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
  33418. type to vm_size_t instead of vm_address_t.
  33419. * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
  33420. defined instead of whether it is non-zero.
  33421. * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
  33422. * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
  33423. * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
  33424. comparisons with mapaddr.
  33425. * nscd/nscd-client.h: Include <time.h>.
  33426. * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
  33427. 9th parameter to __vm_region instead of int.
  33428. * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
  33429. * scripts/check-local-headers.sh (exclude): Add device/,
  33430. hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
  33431. cthreads.h.
  33432. 2015-03-19 Roland McGrath <roland@hack.frob.com>
  33433. * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
  33434. to account for alignment padding.
  33435. * sysdeps/arm/memmove.S: Likewise.
  33436. 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
  33437. * sysdeps/unix/sysv/linux/generic/README: New file.
  33438. 2015-03-18 Joseph Myers <joseph@codesourcery.com>
  33439. [BZ #18138]
  33440. * nptl/sem_waitcommon.c: Include <kernel-features.h>.
  33441. (futex_abstimed_wait)
  33442. [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
  33443. Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
  33444. of lll_futex_timed_wait.
  33445. 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
  33446. [BZ #17542]
  33447. * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
  33448. 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
  33449. [BZ #17090]
  33450. [BZ #17620]
  33451. [BZ #17621]
  33452. [BZ #17628]
  33453. * NEWS: Update.
  33454. * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
  33455. entries with Static TLS too. Skip entries past the end of the
  33456. allocated DTV, from Alan Modra.
  33457. (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
  33458. Static TLS DTV entry set up from...
  33459. (_dl_allocate_tls_init): ... here (fix modid assertion), ...
  33460. * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
  33461. * nptl/allocatestack.c (init_one_static_tls): ... and here...
  33462. * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
  33463. for Static TLS.
  33464. * elf/tlsdeschtab.h (map_generation): Return size_t. Check
  33465. that the slot we find is associated with the given map before
  33466. using its generation count.
  33467. * nptl_db/db_info.c: Include ldsodefs.h.
  33468. (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
  33469. * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
  33470. (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
  33471. (link_map::l_tls_offset): New struct field.
  33472. (dtv_t::counter): Likewise.
  33473. (rtld_global): New struct.
  33474. (_rtld_global): New rtld variable.
  33475. (dl_tls_dtv_slotinfo_list): New rtld global field.
  33476. (dtv_slotinfo_list): New struct.
  33477. (dtv_slotinfo): Likewise.
  33478. * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
  33479. (td_lookup): Rename to...
  33480. (td_mod_lookup): ... this. Use new mod parameter instead of
  33481. LIBPTHREAD_SO.
  33482. * nptl_db/td_thr_tlsbase.c: Include link.h.
  33483. (dtv_slotinfo_list, dtv_slotinfo): New functions.
  33484. (td_thr_tlsbase): Check DTV generation. Compute Static TLS
  33485. addresses even if the DTV is out of date or missing them.
  33486. * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
  33487. index zero-length arrays.
  33488. * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
  33489. (td_lookup): Make it a macro implemented in terms of...
  33490. (td_mod_lookup): ... this declaration.
  33491. * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
  33492. (DB_MAIN_VARIABLE): Likewise.
  33493. 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
  33494. [BZ #18134]
  33495. * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
  33496. 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
  33497. * stdlib/setenv.c (__add_to_environ): Revert previous change.
  33498. 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
  33499. [BZ #18128]
  33500. * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
  33501. (atomic_add, atomic_increment_and_test)
  33502. (atomic_decrement_and_test): Fix 64-bit arithmetic.
  33503. 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
  33504. * stdlib/setenv.c (__add_to_environ):
  33505. Dump core quickly if setenv (..., NULL, ...) is called.
  33506. 2015-03-13 Roland McGrath <roland@hack.frob.com>
  33507. * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
  33508. (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
  33509. all the necessary asm magic in one place.
  33510. (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
  33511. using those.
  33512. 2015-03-13 Carlos O'Donell <carlos@redhat.com>
  33513. [BZ #14906]
  33514. * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
  33515. traced file mtime. Use consistent log message.
  33516. * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
  33517. (register_traced_file): Call install_watches. Always set mtime.
  33518. (invalidate_cache): Iterate over all trace files. Call install_watches.
  33519. (inotify_check_files): Don't inline. Handle watching parent
  33520. directories and configuration file movement in and out.
  33521. (handle_inotify_events): New function.
  33522. (main_loop_poll): Call handle_inotify_events.
  33523. (main_loop_epoll): Likewise.
  33524. * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
  33525. (struct traced_file): Use array of inotify fds. Add parent directory,
  33526. and basename.
  33527. (struct database_dyn): Remove unused file_mtime.
  33528. (init_traced_file): New inline function.
  33529. (define_traced_file): New macro.
  33530. * nss/nss_db/db-init.c: Use define_traced_file.
  33531. (_nss_db_init): Use init_traced_file.
  33532. * nss/nss_files/files-init.c: Use define_traced_file.
  33533. (_nss_files_init): Use init_traced_file.
  33534. 2015-03-12 Joseph Myers <joseph@codesourcery.com>
  33535. * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
  33536. [_LIBC]: Do not include <stdlib.h>.
  33537. [!_LIBC] (abort): Remove declaration.
  33538. * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
  33539. _FP_STATIC_ASSERT instead of conditionally calling abort.
  33540. * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
  33541. (_FP_EXTEND_CNAN): Likewise.
  33542. (FP_TRUNC): Likewise.
  33543. (__FP_CLZ): Likewise.
  33544. * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
  33545. 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
  33546. * manual/string.texi (XPG basename): Fix prototype.
  33547. 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
  33548. [BZ #18080]
  33549. * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
  33550. (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
  33551. * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
  33552. (__setcontext): Likewise.
  33553. * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
  33554. (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
  33555. Call rt_sigprocmask syscall one time to set new signal mask
  33556. and retrieve the current signal mask instead of two calls.
  33557. * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
  33558. (__swapcontext): Likewise.
  33559. * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
  33560. * stdlib/tst-setcontext2.c: New file.
  33561. 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
  33562. * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
  33563. 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
  33564. [BZ #18093]
  33565. * elf/cache.c (load_aux_cache): Regenerate the cache if it has
  33566. the wrong size.
  33567. 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
  33568. [BZ #18043]
  33569. * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
  33570. 2015-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  33571. * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
  33572. * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
  33573. Remove define.
  33574. [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
  33575. [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
  33576. [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
  33577. [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
  33578. [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
  33579. * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
  33580. define.
  33581. * nptl_db/td_symbol_list.c (td_lookup): Remove
  33582. HAVE_ASM_GLOBAL_DOT_NAME code.
  33583. * sysdeps/powerpc/powerpc64/configure.ac: Remove
  33584. HAVE_ASM_GLOBAL_DOT_NAME check.
  33585. * sysdeps/powerpc/powerpc64/configure: Regenerate.
  33586. * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
  33587. (DOT_LABEL): Remove define.
  33588. [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
  33589. [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
  33590. [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
  33591. * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
  33592. (__TLS_GET_ADDR): Likewise.
  33593. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
  33594. [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
  33595. 2015-03-11 Carlos O'Donell <carlos@redhat.com>
  33596. [BZ #18111]
  33597. * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
  33598. (_FPU_SETCW): Initialize cw from fpsr before storing.
  33599. * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
  33600. (fesetexceptflag): Rewrite using fpu_control.h.
  33601. * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
  33602. 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
  33603. [BZ #18110]
  33604. * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
  33605. asms.
  33606. * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
  33607. 2015-03-11 Joseph Myers <joseph@codesourcery.com>
  33608. * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
  33609. * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
  33610. abort.
  33611. (_FP_FMA): Likewise.
  33612. (_FP_DIV): Likewise.
  33613. 2015-03-10 Roland McGrath <roland@hack.frob.com>
  33614. * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
  33615. with 0 in that case.
  33616. * Makefile (summarize-tests): New canned sequence, factored out of
  33617. commands for targets tests and xtests. Display summary lines that
  33618. don't start with PASS: or XFAIL: rather than ones that do start with
  33619. ERROR: or FAIL:. Make the commands fail if any summary lines fail
  33620. to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
  33621. do start with ERROR: or FAIL:.
  33622. * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
  33623. (except for [$(build-shared) = yes]).
  33624. (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
  33625. (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
  33626. ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
  33627. * nptl/Makefile: Revert 2015-03-04 changes.
  33628. [$(CXX) empty] (tests-unsupported): New variable.
  33629. * debug/Makefile: Likewise.
  33630. * posix/regcomp.c: Fix comment typos and formatting to harmonize with
  33631. gnulib file. Replace __attribute with __attribute__ throughout.
  33632. 2015-03-10 Carlos O'Donell <carlos@redhat.com>
  33633. * sysdeps/hppa/fpu/libm-test-ulps: Update.
  33634. 2015-03-10 Joseph Myers <joseph@codesourcery.com>
  33635. [BZ #18104]
  33636. * math/auto-libm-test-in: Add another test of pow.
  33637. * math/auto-libm-test-out: Regenerated.
  33638. 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  33639. * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
  33640. $(config-cflags-nofma).
  33641. 2015-03-10 Joseph Myers <joseph@codesourcery.com>
  33642. * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
  33643. * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
  33644. * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
  33645. * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
  33646. * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
  33647. * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
  33648. * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
  33649. * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
  33650. * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
  33651. * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
  33652. Add comment on closing #endif.
  33653. 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
  33654. * posix/wordexp.c (CHAR_IN_SET): New macro.
  33655. (parse_param): Use it.
  33656. 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  33657. * sysdeps/powerpc/fpu/libm-test-ulps: update.
  33658. 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
  33659. [BZ #18043]
  33660. * posix/wordexp.c (parse_param): Fix buffer overflow.
  33661. * posix/wordexp-test.c (test_case): Add test case.
  33662. 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
  33663. [BZ #18042]
  33664. * posix/wordexp.c (parse_backtick): Fix off-by-one.
  33665. * posix/wordexp-test.c (test_case): Add test for BZ #18042.
  33666. 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
  33667. [BZ #18043]
  33668. * posix/wordexp-test.c (test_case): Add test for BZ #18043
  33669. (do_bz18043): Delete.
  33670. (at_page_end): New.
  33671. (testit): Refactor to have words at the edge of unreadable page.
  33672. 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
  33673. [BZ #16734]
  33674. * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
  33675. Cleanup read-only streams as well.
  33676. (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
  33677. 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
  33678. * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
  33679. <bits/libc-lockP.h>
  33680. 2015-03-07 Joseph Myers <joseph@codesourcery.com>
  33681. * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
  33682. on [__KERNEL__].
  33683. * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
  33684. * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
  33685. * soft-fp/op-common.h (_FP_DECL): Likewise.
  33686. 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
  33687. * elf/ifuncdep2.c (global): Replace
  33688. __attribute__((visibility("protected"))) with
  33689. asm (".protected global").
  33690. * elf/ifuncmod1.c (global): Likewise.
  33691. * elf/ifuncmod5.c (global): Likewise.
  33692. 2015-03-06 Joseph Myers <joseph@codesourcery.com>
  33693. * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
  33694. <asm/sfp-machine.h> instead of <sfp-machine.h>.
  33695. 2015-03-06 Roland McGrath <roland@hack.frob.com>
  33696. * manual/install.texi (Configuring and compiling):
  33697. Document test-wrapper-env-only.
  33698. * INSTALL: Regenerated.
  33699. 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
  33700. [BZ #18043]
  33701. * posix/wordexp.c (parse_param): Fix buffer overflow.
  33702. * posix/wordexp-test.c (do_bz18043): Add test case.
  33703. 2015-03-06 Vincent Bernat <vincent@bernat.im>
  33704. * time/tst-strptime2.c (do_test): Ensure failing tests are
  33705. reported correctly.
  33706. * time/tst-strptime3.c (do_test): Likewise.
  33707. 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
  33708. Fix aio_error thread-safety.
  33709. * sysdeps/pthread/aio_error.c: New file
  33710. * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
  33711. synchronization.
  33712. 2015-03-06 Florian Weimer <fweimer@redhat.com>
  33713. * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
  33714. (group_number, vfprintf): Use it.
  33715. (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
  33716. (JUMP, REF): Use it.
  33717. (WORK_BUFFER_SIZE): New enum constant.
  33718. (process_arg, vfprintf): Use it.
  33719. 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
  33720. * manual/errno.texi (Error Messages): Complete example function
  33721. by adding missing #define.
  33722. (program_invocation_name): Add statement indicating GNU
  33723. extension and reference which header file declares the variable.
  33724. (program_invocation_short_name): Likewise.
  33725. 2015-03-06 Mike Frysinger <vapier@gentoo.org>
  33726. * manual/errno.texi (Error Messages): Delete strerror ISO C89
  33727. compatibility note.
  33728. 2015-03-05 Roland McGrath <roland@hack.frob.com>
  33729. * Makeconfig (test-wrapper-env-only): New variable.
  33730. * Rules (make-test-out): If variable $*-ENV-only is nonempty,
  33731. then use that with $(test-wrapper-env-only) rather than using
  33732. $(test-wrapper-env) $(run-program-env) $($*-ENV).
  33733. 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
  33734. [BZ #18082]
  33735. * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
  33736. ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
  33737. * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
  33738. * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
  33739. * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
  33740. * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
  33741. * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
  33742. * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
  33743. Likewise.
  33744. * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
  33745. * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
  33746. Likewise.
  33747. * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
  33748. Likewise.
  33749. * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
  33750. Likewise.
  33751. * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
  33752. Likewise.
  33753. * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
  33754. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
  33755. Likewise.
  33756. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
  33757. Likewise.
  33758. * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
  33759. * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
  33760. 2015-03-04 Roland McGrath <roland@hack.frob.com>
  33761. * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
  33762. (ETH_ALEN): New macro.
  33763. (struct ether_addr): Use it for length of ether_addr_octet.
  33764. * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
  33765. (setdb): Don't call __nss_configure_lookup for "rpc".
  33766. (do_test): Don't call test_rpc.
  33767. (output_rpcent, test_rpc): Functions moved ...
  33768. * sunrpc/test-rpcent.c: ... to this new file.
  33769. * sunrpc/Makefile (tests): Add it.
  33770. * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
  33771. __xpg_sigpause.
  33772. * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
  33773. * nptl/tst-signal6.c: Likewise.
  33774. * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
  33775. * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
  33776. * configure.ac (libc_cv_cxx_link_ok): New check.
  33777. Reset CXX to empty if it fails to link.
  33778. * configure: Regenerated.
  33779. * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
  33780. bug-atexit3-lib only if $(CXX) is nonempty.
  33781. * nptl/Makefile (tests): Likewise for tst-cancel24.
  33782. (tests, tests-static): Likewise for tst-cancel24-static.
  33783. * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
  33784. tst-lfschk4, tst-lfschk5, and tst-lfschk6.
  33785. * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
  33786. tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
  33787. 2015-03-04 Andreas Schwab <schwab@suse.de>
  33788. [BZ #17631]
  33789. * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
  33790. for non-GCC compilers.
  33791. * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
  33792. Likewise.
  33793. 2015-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  33794. [BZ #17776]
  33795. * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
  33796. integer before bitwise and assembly operations.
  33797. (feclearexcept): Likewise.
  33798. * math/test-fenvinline.c: New file.
  33799. * math/Makefile: Add test-fenvinline test.
  33800. 2015-03-03 Alan Modra <amodra@gmail.com>
  33801. [BZ #16512]
  33802. * scripts/localplt.awk: Strip off symbol version.
  33803. * NEWS: Mention bug fix.
  33804. 2015-03-02 Roland McGrath <roland@hack.frob.com>
  33805. * sysdeps/pthread/timer_routines.c
  33806. (timer_free_list, thread_free_list, thread_active_list): Make static.
  33807. 2015-03-02 Joseph Myers <joseph@codesourcery.com>
  33808. [BZ #17779]
  33809. * sysdeps/unix/sysv/linux/hppa/kernel-features.h
  33810. [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
  33811. Undefine.
  33812. * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
  33813. [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
  33814. Likewise.
  33815. * sysdeps/unix/sysv/linux/sh/kernel-features.h
  33816. [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
  33817. Likewise.
  33818. 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
  33819. [BZ #18036]
  33820. * posix/fnmatch_loop.c (END): Detect invalid pattern.
  33821. * posix/tst-fnmatch3.c (do_bz18036): Add test case.
  33822. 2015-03-02 Andreas Schwab <schwab@suse.de>
  33823. * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
  33824. variable name.
  33825. 2015-03-02 Florian Weimer <fweimer@redhat.com>
  33826. * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
  33827. Return error status.
  33828. 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
  33829. [BZ #15969]
  33830. * locale/findlocale.c (_nl_find_locale): Introduce const
  33831. version of loc_name and drop unsafe type casts.
  33832. 2015-02-27 Roland McGrath <roland@hack.frob.com>
  33833. * dlfcn/tststatic2.c (main): Converted to ...
  33834. (do_test): ... this.
  33835. (TEST_FUNCTION): New macro.
  33836. Include test-skeleton.c.
  33837. 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
  33838. [BZ #17711]
  33839. * elf/Makefile (tests): Add vismain only if PIE is enabled.
  33840. (tests-pie): Add vismain.
  33841. (CFLAGS-vismain.c): New.
  33842. * elf/vismain.c: Add comments for PIE requirement.
  33843. 2015-02-27 Joseph Myers <joseph@codesourcery.com>
  33844. [BZ #18046]
  33845. [BZ #18047]
  33846. * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
  33847. 0x1p-56L as threshold for just returning the argument.
  33848. * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
  33849. 0x1p-32L as threshold for just returning the argument.
  33850. * math/auto-libm-test-in: Add more tests of atanh.
  33851. * math/auto-libm-test-out: Regenerated.
  33852. * sysdeps/i386/fpu/libm-test-ulps: Update.
  33853. * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
  33854. 2015-02-27 Wilco Dijkstra <wdijkstr@arm.com>
  33855. * string/bcopy.c (bcopy): Call memmove for performance.
  33856. 2015-02-27 Wilco Dijkstra <wdijkstr@arm.com>
  33857. * string/bzero.c (__bzero): Call memset for performance.
  33858. 2015-02-27 John David Anglin <dave.anglin@bell.net>
  33859. [BZ #18068]
  33860. * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
  33861. to 00100000.
  33862. 2015-02-27 Joseph Myers <joseph@codesourcery.com>
  33863. * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
  33864. 2015-02-26 Joseph Myers <joseph@codesourcery.com>
  33865. * sysdeps/ieee754/k_standard.c (CSTR): New macro.
  33866. (__kernel_standard): Use CSTR macro when setting exc.name.
  33867. * sysdeps/ieee754/Makefile [$(subdir) = math]
  33868. (CFLAGS-k_standard.c): Remove variable.
  33869. * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
  33870. setting p and q from "else if" to "else".
  33871. (qzero): Likewise.
  33872. * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
  33873. (qone): Likewise.
  33874. * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
  33875. (qzerof): Likewise.
  33876. * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
  33877. (qonef): Likewise.
  33878. * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
  33879. (qzero): Likewise.
  33880. * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
  33881. (qone): Likewise.
  33882. [BZ #18038]
  33883. [BZ #18039]
  33884. * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
  33885. return pi/2 for arguments below 0x1p-113L.
  33886. * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
  33887. return pi/2 for arguments below 0x1p-106L.
  33888. * math/auto-libm-test-in: Add more tests of acos.
  33889. * math/auto-libm-test-out: Regenerated.
  33890. [BZ #16351]
  33891. * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
  33892. (MO): New macro.
  33893. (__ieee754_asin): Force underflow exception for results with small
  33894. absolute value.
  33895. * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
  33896. (MO): New macro.
  33897. (__ieee754_asinf): Force underflow exception for results with
  33898. small absolute value.
  33899. * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
  33900. (__ieee754_asin): Force underflow exception for results with small
  33901. absolute value.
  33902. * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
  33903. (__ieee754_asinf): Force underflow exception for results with
  33904. small absolute value.
  33905. * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
  33906. (__ieee754_asinl): Force underflow exception for results with
  33907. small absolute value.
  33908. * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
  33909. (__ieee754_asinl): Force underflow exception for results with
  33910. small absolute value.
  33911. * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
  33912. (__ieee754_asinl): Force underflow exception for results with
  33913. small absolute value.
  33914. * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
  33915. Include <math.h>.
  33916. * math/auto-libm-test-in: Do not mark underflow exceptions as
  33917. possibly missing for bug 16351.
  33918. * math/auto-libm-test-out: Regenerated.
  33919. [BZ #18030]
  33920. * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
  33921. of power of 2 down when low part has opposite sign.
  33922. * math/libm-test.inc (logb_test_data): Add more tests.
  33923. 2015-02-26 Andreas Schwab <schwab@suse.de>
  33924. [BZ #18032]
  33925. * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
  33926. over collating symbol inside a bracket expression. Minor cleanup.
  33927. * posix/tst-fnmatch3.c (do_test): Add test case.
  33928. 2015-02-26 Joseph Myers <joseph@codesourcery.com>
  33929. [BZ #18029]
  33930. * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
  33931. Adjust exponent of power of 2 down when low part has opposite
  33932. sign.
  33933. * math/libm-test.inc (ilogb_test_data): Add more tests.
  33934. 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
  33935. [BZ #15969]
  33936. * locale/findlocale.c (_nl_find_locale): Fix constness error in
  33937. the previous change.
  33938. [BZ #15969]
  33939. * locale/findlocale.c (_nl_find_locale): Retry archive search
  33940. after alias expansion.
  33941. 2015-02-25 Roland McGrath <roland@hack.frob.com>
  33942. * iconv/tst-iconv3.c (main): Converted to ...
  33943. (do_test): ... this.
  33944. (TEST_FUNCTION): New macro.
  33945. Include test-skeleton.c.
  33946. * iconv/tst-iconv5.c (testcode, number): Make variables static const.
  33947. (convert): Make function static.
  33948. (test_unalign): Likewise. Add const to argument pointee types.
  33949. (main): Replace with static function do_test.
  33950. Print "Succeeded." only if RET is zero.
  33951. (TEST_FUNCTION): New macro.
  33952. Include test-skeleton.c.
  33953. * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
  33954. returns a null pointer.
  33955. 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  33956. * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
  33957. to __memcpy_ppc only for static builds.
  33958. 2015-02-25 Joseph Myers <joseph@codesourcery.com>
  33959. [BZ #18020]
  33960. * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
  33961. 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
  33962. * math/auto-libm-test-in: Add more tests of asinh.
  33963. * math/auto-libm-test-out: Regenerated.
  33964. * sysdeps/i386/fpu/libm-test-ulps: Update.
  33965. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  33966. 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
  33967. [BZ #15850]
  33968. * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
  33969. and ip6_mtuinfo definitions here.
  33970. * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
  33971. in this define too. Update comment.
  33972. 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
  33973. * elf/sprof.c (load_shobj): Tweak error message to match others.
  33974. 2015-02-24 Kevin Easton <kevin@guarana.org>
  33975. [BZ #16145] (partial fix)
  33976. * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
  33977. to reduce lock contention.
  33978. 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
  33979. * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
  33980. (struct timex): Update time comment.
  33981. (ADJ_SETOFFSET): Define.
  33982. 2015-02-24 Joseph Myers <joseph@codesourcery.com>
  33983. [BZ #18019]
  33984. * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
  33985. 2**56 not 2**28 as threshold for log (2x) formula.
  33986. * math/auto-libm-test-in: Add more tests of acosh.
  33987. * math/auto-libm-test-out: Regenerated.
  33988. * sysdeps/i386/fpu/libm-test-ulps: Update.
  33989. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  33990. 2015-02-24 Mike Frysinger <vapier@gentoo.org>
  33991. * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
  33992. parenthesis around the buf assignment.
  33993. [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
  33994. 2015-02-24 Joseph Myers <joseph@codesourcery.com>
  33995. [BZ #16783]
  33996. * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
  33997. arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
  33998. * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
  33999. * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
  34000. * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
  34001. * math/libm-test.inc (scalb_test_data): Add more tests.
  34002. 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
  34003. [BZ #17916]
  34004. * libio/fileops.c (_IO_new_file_fopen): Limit stack use
  34005. * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
  34006. 2015-02-24 Eric Rannaud <e@nanocritical.com>
  34007. [BZ #17523]
  34008. * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
  34009. * io/bits/fcntl2.h (open): Use it.
  34010. (openat): Likewise.
  34011. * io/open.c (__libc_open): Likewise.
  34012. * io/open64.c (__libc_open64): Likewise.
  34013. * io/open64_2.c (__open64_2): Likewise.
  34014. * io/open_2.c (__open_2): Likewise.
  34015. * io/openat.c (__openat): Likewise.
  34016. * io/openat64.c (__openat64): Likewise.
  34017. * io/openat64_2.c (__openat64_2): Likewise.
  34018. * io/openat_2.c (__openat_2): Likewise.
  34019. * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
  34020. * sysdeps/mach/hurd/openat.c (__openat): Likewise.
  34021. * sysdeps/posix/open64.c (__libc_open64): Likewise.
  34022. * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
  34023. * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
  34024. (__open_nocancel): Likewise.
  34025. * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
  34026. * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
  34027. * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
  34028. 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
  34029. [BZ #14841]
  34030. * resolv/gethnamaddr.c (getanswer): Skip logging if
  34031. RES_USE_DNSSEC is set.
  34032. * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
  34033. 2015-02-24 Mike Frysinger <vapier@gentoo.org>
  34034. * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
  34035. 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
  34036. * include/stdc-predef.h (__STDC_ISO_10646__): Update to
  34037. 201304L, for Unicode 7.
  34038. 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
  34039. [BZ #17836]
  34040. * csu/Makefile (extra-objs): Add gmon-start.o if not builing
  34041. shared library. Add gmon-start.os otherwise.
  34042. ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
  34043. $(objpfx)gmon-start.os if builing shared library.
  34044. ($(objpfx)g$(static-start-installed-name)): Likewise.
  34045. 2015-02-23 Andreas Schwab <schwab@suse.de>
  34046. * elf/Makefile (CFLAGS-tst-audit2.c): Define.
  34047. 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
  34048. [BZ #17269]
  34049. * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
  34050. (enlarge_userbuf): Likewise.
  34051. 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
  34052. * libio/tst-memstream2.c (TIMEOUT): Define as 100.
  34053. * math/atest-exp.c (TIMEOUT): Adjust to 200.
  34054. * math/atest-exp2.c (TIMEOUT): Adjust to 300.
  34055. * math/atest-sincos.c (TIMEOUT): Adjust to 600.
  34056. 2015-02-20 Joseph Myers <joseph@codesourcery.com>
  34057. * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
  34058. expression inside statement expression.
  34059. 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
  34060. * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
  34061. <sysdeps/nptl/lowlevellock.h> and remove macros and
  34062. functions that are now defined there.
  34063. (SYS_futex): Remove.
  34064. (lll_compare_and_swap): Remove.
  34065. * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
  34066. 2015-02-19 Joseph Myers <joseph@codesourcery.com>
  34067. [BZ #17999]
  34068. * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
  34069. instead of scandirat.
  34070. * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
  34071. [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
  34072. [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
  34073. __scandirat.
  34074. * include/dirent.h (scandirat): Do not use libc_hidden_proto.
  34075. (__scandirat): Declare. Use libc_hidden_proto.
  34076. * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
  34077. Remove variable.
  34078. (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
  34079. 2015-02-18 Joseph Myers <joseph@codesourcery.com>
  34080. [BZ #15319]
  34081. * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
  34082. (MO): New macro.
  34083. (__ieee754_atan2): For results with small absolute value, force
  34084. underflow exception and remove excess range and precision from
  34085. return value.
  34086. * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
  34087. (MO): New macro.
  34088. (__ieee754_atan2f): For results with small absolute value, force
  34089. underflow exception and remove excess range and precision from
  34090. return value.
  34091. * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
  34092. (MO): New macro.
  34093. (__atan): For results with small absolute value, force underflow
  34094. exception and remove excess range and precision from return value.
  34095. * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
  34096. (MO): New macro.
  34097. (__atanf): For results with small absolute value, force underflow
  34098. exception and remove excess range and precision from return value.
  34099. * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
  34100. <math.h>.
  34101. (__ieee754_atan2): Force underflow exception for results with
  34102. small absolute value.
  34103. * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
  34104. <math_private.h>.
  34105. (atan): Force underflow exception for results with small absolute
  34106. value.
  34107. * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
  34108. (__atanf): Force underflow exception for results with small
  34109. absolute value.
  34110. * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
  34111. <math.h>.
  34112. (__atanl): Force underflow exception for results with small
  34113. absolute value.
  34114. * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
  34115. (__atanl): Force underflow exception for results with small
  34116. absolute value.
  34117. * sysdeps/x86/fpu/bits/mathinline.h
  34118. [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
  34119. (__ieee754_atan2): Only define inline for long double.
  34120. * sysdeps/x86_64/fpu/multiarch/e_atan2.c
  34121. [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
  34122. * math/auto-libm-test-in: Do not mark underflow exceptions as
  34123. possibly missing for bug 15319. Add more tests of atan2.
  34124. * math/auto-libm-test-out: Regenerated.
  34125. * math/libm-test.inc (casin_test_data): Do not mark underflow
  34126. exceptions as possibly missing for bug 15319.
  34127. (casinh_test_data): Likewise.
  34128. * sysdeps/i386/fpu/libm-test-ulps: Update.
  34129. 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
  34130. * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
  34131. * sysdeps/mips/bits/endian.h: Fix comments.
  34132. 2015-02-18 Joseph Myers <joseph@codesourcery.com>
  34133. [BZ #17996]
  34134. * include/search.h (hcreate_r): Don't use libc_hidden_proto.
  34135. (hdestroy_r): Likewise.
  34136. (hsearch_r): Likewise.
  34137. (__hcreate_r): Declare and use libc_hidden_proto.
  34138. (__hdestroy_r): Likewise.
  34139. (__hsearch_r): Likewise.
  34140. * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
  34141. (hcreate): Call __hcreate_r instead of hcreate_r.
  34142. (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
  34143. * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
  34144. as weak alias of __hcreate_r.
  34145. (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
  34146. __hdestroy_r.
  34147. (hsearch_r): Rename to __hsearch_r and define as weak alias of
  34148. __hsearch_r.
  34149. * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
  34150. Remove variable.
  34151. (test-xfail-XPG4/search.h/linknamespace): Likewise.
  34152. (test-xfail-UNIX98/search.h/linknamespace): Likewise.
  34153. (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
  34154. (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
  34155. 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
  34156. * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
  34157. arena_lock into a single arena_get.
  34158. 2015-02-17 Carlos O'Donell <carlos@redhat.com>
  34159. * dl-reloc.c: Inlucde libc-internal.h.
  34160. (_dl_try_allocate_static_tls): Call ALIGN_UP.
  34161. (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
  34162. (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
  34163. * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
  34164. (grow_heap): Likewise.
  34165. * malloc/malloc.c: Include libc-internal.h.
  34166. (do_check_malloc): Call powerof2.
  34167. (sysmalloc): Use pagesize. Call ALIGN_UP.
  34168. (systrim): Use pagesize.
  34169. (mremap_chunk): Use pagesize. Call ALIGN_UP.
  34170. (__libc_valloc): Use pagesize.
  34171. (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
  34172. 2015-02-17 Joseph Myers <joseph@codesourcery.com>
  34173. [BZ #17991]
  34174. * include/sys/resource.h (__getrlimit64): Declare. Use
  34175. libc_hidden_proto.
  34176. * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
  34177. and define as weak alias of __getrlimit64. Use libc_hidden_weak.
  34178. * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
  34179. getrlimit64.
  34180. * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
  34181. __getrlimit64.
  34182. [!getrlimit64] (getrlimit64): Define as weak alias of
  34183. __getrlimit64. Use libc_hidden_weak.
  34184. * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
  34185. using __getrlimit64 not __new_getrlimit64.
  34186. (__GI_getrlimit64): Likewise.
  34187. * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
  34188. Likewise.
  34189. (__GI_getrlimit64): Likewise.
  34190. (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
  34191. * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
  34192. (getrlimit): Add __getrlimit64 alias.
  34193. * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
  34194. Likewise.
  34195. * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
  34196. Remove variable.
  34197. (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
  34198. (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
  34199. 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
  34200. * libio/fileops.c: Add missing sys/mman.h
  34201. * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
  34202. 2015-02-17 Joseph Myers <joseph@codesourcery.com>
  34203. * manual/math.texi (Errors in Math Functions): Clarify goals
  34204. regarding inexact and underflow exceptions.
  34205. 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
  34206. * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
  34207. * sysdeps/mips/memset.S: Ditto.
  34208. 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
  34209. * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
  34210. 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
  34211. * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
  34212. (__v1longjmp): Remove versioned symbol.
  34213. (__v1siglongjmp): Remove alias and versioned symbol.
  34214. (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
  34215. (__v2siglongjmp): Likewise.
  34216. 2015-02-16 Torvald Riegel <triegel@redhat.com>
  34217. * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
  34218. 2015-02-16 Mike Frysinger <vapier@gentoo.org>
  34219. * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
  34220. 2015-02-16 Joseph Myers <joseph@codesourcery.com>
  34221. [BZ #17987]
  34222. * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
  34223. zero result does not depend on the sign resulting from
  34224. subtraction.
  34225. * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
  34226. Likewise.
  34227. * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
  34228. * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
  34229. * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
  34230. * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
  34231. * math/libm-test.inc (remquo_test_data): Add more tests.
  34232. 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
  34233. * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
  34234. Problem reported by J William Piggott.
  34235. 2015-02-16 Joseph Myers <joseph@codesourcery.com>
  34236. [BZ #17978]
  34237. * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
  34238. products 4 * y and 2 * y where those would overflow.
  34239. * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
  34240. Likewise.
  34241. * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
  34242. * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
  34243. * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
  34244. * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
  34245. * math/libm-test.inc (remquo_test_data): Add more tests.
  34246. * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
  34247. * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
  34248. [defined _COMPILING_NEWLIB].
  34249. * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
  34250. * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
  34251. * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
  34252. [!defined __mips_isa_rev || __mips_isa_rev < 6].
  34253. 2015-02-16 Torvald Riegel <triegel@redhat.com>
  34254. * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
  34255. acquired.
  34256. 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
  34257. [BZ #17792]
  34258. * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
  34259. (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
  34260. HOST_STACK_END_ADDR): Likewise.
  34261. 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
  34262. * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
  34263. * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
  34264. * sysdeps/mips/memset.S (__MIPSEB): Ditto.
  34265. 2015-02-13 Roland McGrath <roland@hack.frob.com>
  34266. * sysdeps/generic/c++-types.data: New file.
  34267. * sysdeps/generic/ld.abilist: New file.
  34268. * sysdeps/generic/libBrokenLocale.abilist: New file.
  34269. * sysdeps/generic/libanl.abilist: New file.
  34270. * sysdeps/generic/libc.abilist: New file.
  34271. * sysdeps/generic/libcrypt.abilist: New file.
  34272. * sysdeps/generic/libdl.abilist: New file.
  34273. * sysdeps/generic/libm.abilist: New file.
  34274. * sysdeps/generic/libpthread.abilist: New file.
  34275. * sysdeps/generic/libresolv.abilist: New file.
  34276. * sysdeps/generic/librt.abilist: New file.
  34277. 2015-02-13 Joseph Myers <joseph@codesourcery.com>
  34278. [BZ #17569]
  34279. * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
  34280. Compute absolute value of x as modified by fmod, not original
  34281. value of x.
  34282. * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
  34283. RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
  34284. (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
  34285. RUN_TEST_ffI_f1_mod8.
  34286. (remquo_test_data): Add more tests.
  34287. 2015-02-13 Roland McGrath <roland@hack.frob.com>
  34288. * sysdeps/init_array/pt-crti.S: New file.
  34289. 2015-02-13 Joseph Myers <joseph@codesourcery.com>
  34290. [BZ #17967]
  34291. * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
  34292. __builtin_fmaf instead of relying on contraction of a * b + c.
  34293. 2015-02-12 J William Piggott <elseifthen@gmx.com>
  34294. [BZ #17969]
  34295. * manual/time.texi: correct the zoneinfo path in the TZ Variable
  34296. node.
  34297. 2015-02-12 Joseph Myers <joseph@codesourcery.com>
  34298. [BZ #17964]
  34299. * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
  34300. __builtin_fma instead of relying on contraction of a * b + c.
  34301. 2015-02-12 Roland McGrath <roland@hack.frob.com>
  34302. * Makeconfig (ASFLAGS): Add -Werror=undef.
  34303. * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
  34304. * sysdeps/unix/make-syscalls.sh: Always emit #define's for
  34305. SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
  34306. * Makeconfig (after-link): New variable.
  34307. (+link-pie, +link-pie-tests): Use it.
  34308. (+link-static, +link-static-tests): Likewise.
  34309. (+link, +link-tests): Likewise.
  34310. * Makerules (build-module, build-module-asneeded): Likewise.
  34311. (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
  34312. Likewise.
  34313. * elf/Makefile ($(objpfx)ld.so): Likewise.
  34314. 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
  34315. [BZ #17965]
  34316. * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
  34317. both struct timeval and struct timespec.
  34318. 2015-02-12 Joseph Myers <joseph@codesourcery.com>
  34319. [BZ #16560]
  34320. * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
  34321. and redefine.
  34322. (__ieee754_exp2l): Do not multiply small fractional parts by
  34323. M_LN2l.
  34324. * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
  34325. small argument.
  34326. * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
  34327. * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
  34328. * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
  34329. * math/auto-libm-test-in: Add more tests of exp2.
  34330. * math/auto-libm-test-out: Regenerated.
  34331. 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  34332. * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
  34333. unaligned path.
  34334. 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  34335. * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
  34336. little endian.
  34337. 2015-02-12 Andreas Schwab <schwab@suse.de>
  34338. [BZ #15790]
  34339. * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
  34340. Filter out elision flags from value returned in kind.
  34341. * nptl/Makefile (tests): Add tst-pthread-mutexattr.
  34342. * nptl/tst-pthread-mutexattr.c: New file.
  34343. 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
  34344. * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
  34345. * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
  34346. into gnu-gnu, and update comment to refer to abi-tags.
  34347. 2015-02-11 Joseph Myers <joseph@codesourcery.com>
  34348. [BZ #15467]
  34349. * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
  34350. (__sincos): Set errno to EDOM for infinite argument.
  34351. * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
  34352. (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
  34353. * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
  34354. (__sincosl): Set errno to EDOM for infinite argument.
  34355. * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
  34356. (__sincosl): Set errno to EDOM for infinite argument.
  34357. * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
  34358. (__sincosl): Set errno to EDOM for infinite argument.
  34359. * math/libm-test.inc (sincos_test_data): Test errno setting.
  34360. 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
  34361. * string/strxfrm_l.c: Remove #define STRCMP.
  34362. * string/strcoll_l.c: Remove #define STRLEN.
  34363. * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
  34364. * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
  34365. 2015-02-10 Joseph Myers <joseph@codesourcery.com>
  34366. * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
  34367. * sysdeps/mips/mips32/sfp-machine.h: ... here.
  34368. * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
  34369. * sysdeps/mips/mips64/Makefile: ... here.
  34370. * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
  34371. * sysdeps/mips/mips64/e_sqrtl.c: ... here.
  34372. * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
  34373. * sysdeps/mips/mips64/sfp-machine.h: ... here.
  34374. * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
  34375. * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
  34376. * sysdeps/mips/mips64/n64/Implies: Likewise.
  34377. 2015-02-10 Roland McGrath <roland@hack.frob.com>
  34378. * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
  34379. <sys/time.h>, <string.h>, and <errno.h>.
  34380. (dest_offset, dest_address, value, zero): Remove unused variables.
  34381. (ldouble): Remove typedef.
  34382. (myFPsighandler): Use simple handler signature, not SA_SIGINFO
  34383. signature. Pass 1 to siglongjmp rather than 0 (which is converted to
  34384. 1). Fix code style.
  34385. (set_sigaction_FP, remove_sigaction_FP): Functions removed.
  34386. (check): Function removed.
  34387. (CHECK): New macro.
  34388. (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
  34389. boilerplate feclearexcept + feenableexcept + sigsetjmp code.
  34390. Don't call set_sigaction_FP and remove_sigaction_FP here.
  34391. (ldouble_test): Just use 'long double' as macro argument, no need for
  34392. the 'ldouble' typedef.
  34393. (do_test): Set up SIGFPE handler at start, using plain signal rather
  34394. than sigaction. Fix code style.
  34395. 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
  34396. [BZ #17949]
  34397. * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
  34398. jump label.
  34399. 2015-02-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  34400. * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
  34401. * sysdeps/powerpc/powerpc32/configure: Regenerated.
  34402. * sysdeps/powerpc/configure.ac: Remove file.
  34403. * sysdeps/powerpc/configure: Likewise.
  34404. * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
  34405. [sysdep_routines]: Remove wordcopy-power6 object.
  34406. * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
  34407. (__memmove_power7): Use local call for wordcopy and memcpy symbols.
  34408. * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
  34409. (__memmove_ppc32): Likewise.
  34410. * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
  34411. file.
  34412. * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
  34413. * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
  34414. Remove preprocessor.
  34415. * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
  34416. [sysdep_routines]: Remove wide chars objects.
  34417. [wcsmbs]: New rule for wide char objects.
  34418. * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
  34419. Remove wordcopy-power6 obejct.
  34420. * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
  34421. Use local call for wordcopy and memcpy symbols.
  34422. * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
  34423. * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
  34424. implementation for loader.
  34425. * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
  34426. * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
  34427. Remove wordcopy-power7 object.
  34428. * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
  34429. * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
  34430. (_wordcopy_fwd_aligned): Remove POWER7 specialization.
  34431. (_wordcopy_fwd_dest_aligned): Likewise.
  34432. (_wordcopy_bwd_aligned): Likewise.
  34433. (_wordcopy_bwd_dest_aligned): Likewise.
  34434. * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
  34435. Rewrite to call __memmove_ppc instead of include default
  34436. implementation.
  34437. * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
  34438. Remove wide chars objects.
  34439. [wcsmbs]: New rule for wide char objects.
  34440. 2015-02-09 Andreas Schwab <schwab@suse.de>
  34441. [BZ #17912]
  34442. * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
  34443. in terms of __O_DIRECTORY.
  34444. 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
  34445. * time/getdate.c: Include <stdbool.h>.
  34446. * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
  34447. call PTR_MANGLE.
  34448. [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
  34449. PTR_DEMANGLE.
  34450. 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
  34451. Add ersatz _Static_assert on older C hosts
  34452. * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
  34453. pre-C11 C platform that is not known to support _Static_assert.
  34454. 2015-02-07 Richard Braun <rbraun@sceen.net>
  34455. * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
  34456. sigstate.
  34457. * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
  34458. 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
  34459. * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
  34460. priority against unexistent AIO_PRIO_DELTA_MAX.
  34461. * misc/chflags.c (chflags): Set flags parameter type to unsigned long
  34462. instead of int.
  34463. * misc/fchflags.c (fchflags): Likewise.
  34464. * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
  34465. * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
  34466. * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
  34467. UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
  34468. SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
  34469. Declare macros.
  34470. [__USE_MISC] (chflags, fchflags): Declare functions.
  34471. * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
  34472. EINVAL when nfds is greater than FD_SETSIZE.
  34473. * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
  34474. NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
  34475. 45.
  34476. * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
  34477. __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
  34478. * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
  34479. MACH_RCV_TIMED_OUT.
  34480. * hurd/hurd/signal.h (_hurd_self_sigstate,
  34481. _hurd_critical_section_lock, _hurd_critical_section_unlock):
  34482. Explicit casts from void *.
  34483. * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
  34484. * abi-tags: Rename gnu-gnu os into gnu.
  34485. [BZ #4719]
  34486. * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
  34487. _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
  34488. _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
  34489. _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
  34490. _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
  34491. _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
  34492. [BZ #17944]
  34493. * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
  34494. duplicates ADDR->sun_path with sockaddr LEN limitation.
  34495. * sysdeps/mach/hurd/connect.c: Include <string.h>
  34496. (__connect): Give result of _hurd_sun_path_dupa to name lookup.
  34497. * sysdeps/mach/hurd/sendmsg.c: Likewise.
  34498. * sysdeps/mach/hurd/sendto.c: Likewise.
  34499. * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
  34500. implementing it by hand.
  34501. 2015-02-06 Roland McGrath <roland@hack.frob.com>
  34502. * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
  34503. Use sfi_breg on ldr.
  34504. [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
  34505. Likewise.
  34506. * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
  34507. it's defined.
  34508. * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
  34509. Test SIGSETXID only if it's defined.
  34510. * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
  34511. * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
  34512. will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
  34513. * nptl/tst-align2.c: Moved ...
  34514. * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
  34515. * nptl/Makefile (tests): Remove tst-align2.
  34516. * sysdeps/unix/sysv/linux/Makefile
  34517. [$(subdir) = nptl] (tests): Add tst-align-clone.
  34518. * nptl/tst-getpid1.c: Moved ...
  34519. * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
  34520. * nptl/tst-getpid2.c: Moved ...
  34521. * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
  34522. * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
  34523. * sysdeps/unix/sysv/linux/Makefile
  34524. [$(subdir) = nptl] (tests): ... here.
  34525. * nptl/Makefile (tst-getpid2-ENV): Move variable ...
  34526. * sysdeps/unix/sysv/linux/Makefile
  34527. [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
  34528. * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
  34529. Drop trailing \n from perror argument. Use return rather than exit.
  34530. * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
  34531. on [SA_SIGINFO].
  34532. * nptl/tst-cancel21.c (do_test): Likewise.
  34533. * debug/tst-backtrace6.c: Include <signal.h> first thing.
  34534. Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
  34535. [!SA_SIGINFO]: Make it a stub test.
  34536. * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
  34537. SIGCHLD; it's redundant with SIG_IGN as sa_handler.
  34538. * posix/tst-getlogin.c: Move to ...
  34539. * login/tst-getlogin.c: ... here.
  34540. * posix/Makefile (tests): Move tst-getlogin to ...
  34541. * login/Makefile (tests): ... here.
  34542. * libio/tst-atime.c (do_test): Move local variables SV and E
  34543. inside [ST_NOATIME] conditional.
  34544. * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
  34545. * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
  34546. * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
  34547. (wait_code): New function replaces macro.
  34548. Call nanosleep rather than syscall.
  34549. * nptl/pt-system.c: Rewritten. Put everything under
  34550. [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
  34551. Use IFUNC to redirect when possible.
  34552. * nptl/pt-longjmp.c: Rewritten. Put everything under
  34553. [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
  34554. Use IFUNC to redirect when possible.
  34555. * nptl/pt-fork.c: Rewritten. Put everything under
  34556. [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
  34557. Use IFUNC to redirect when possible.
  34558. * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
  34559. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
  34560. code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
  34561. unconditionally nowadays. This included the only reference to
  34562. __vdso_clock_gettime that appears outside libc proper.
  34563. * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
  34564. Remove version set (containing only __vdso_clock_gettime).
  34565. * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
  34566. Add attribute_hidden.
  34567. * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
  34568. Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
  34569. libc_hidden_data_def.
  34570. * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
  34571. * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
  34572. * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
  34573. getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
  34574. setrpcent, and getrpcport to ...
  34575. * sunrpc/Versions (libc: GLIBC_2.0): ... here.
  34576. * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
  34577. getrpcbynumber_r, and getrpcent_r to ...
  34578. * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
  34579. * inet/getrpcbyname.c: Moved ...
  34580. * sunrpc/getrpcbyname.c: ... here.
  34581. * inet/getrpcbyname_r.c: Moved ...
  34582. * sunrpc/getrpcbyname_r.c: ... here.
  34583. * inet/getrpcbynumber.c: Moved ...
  34584. * sunrpc/getrpcbynumber.c: ... here.
  34585. * inet/getrpcbynumber_r.c: Moved ...
  34586. * sunrpc/getrpcbynumber_r.c: ... here.
  34587. * inet/getrpcent.c: Moved ...
  34588. * sunrpc/getrpcent.c: ... here.
  34589. * inet/getrpcent_r.c: Moved ...
  34590. * sunrpc/getrpcent_r.c: ... here.
  34591. * inet/Makefile (routines): Move those to ...
  34592. * sunrpc/Makefile (routines): ... here.
  34593. * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
  34594. the $(subdirs) list.
  34595. (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
  34596. to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
  34597. * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
  34598. (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
  34599. * elf/Makefile (routines): Include $(all-dl-routines), not just
  34600. $(dl-routines).
  34601. (rtld-routines): Likewise. Use = rather than :=.
  34602. * sysdeps/aarch64/Makefile [$(subdir) = elf]
  34603. (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
  34604. dl-tlsdesc to these; sysdep-dl-routines alone is enough.
  34605. * sysdeps/arm/Makefile: Likewise.
  34606. * sysdeps/i386/Makefile: Likewise.
  34607. * sysdeps/x86_64/Makefile: Likewise.
  34608. * sysdeps/hppa/Makefile [$(subdir) = elf]
  34609. (sysdep_routines, sysdep-rtld-routines): Don't add
  34610. $(sysdep-dl-routines) to these.
  34611. * sysdeps/ia64/Makefile: Likewise.
  34612. * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
  34613. * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
  34614. [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
  34615. Don't add dl-static to these; sysdep-dl-routines alone is enough.
  34616. * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
  34617. * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
  34618. * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
  34619. * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
  34620. * sysdeps/powerpc/Makefile [$(subdir) = elf]
  34621. (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
  34622. these; sysdep-dl-routines alone is enough.
  34623. 2015-02-06 Joseph Myers <joseph@codesourcery.com>
  34624. [BZ #17932]
  34625. * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
  34626. where multiplication results in zero and third argument is finite
  34627. and nonzero.
  34628. * math/auto-libm-test-in: Add more tests of fma.
  34629. * math/auto-libm-test-out: Regenerated.
  34630. * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
  34631. (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
  34632. (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
  34633. (_FP_CMP_EQ): Likewise.
  34634. (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
  34635. * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
  34636. extra argument CHECK_NAN. Redefine as wrapper around
  34637. _FP_EXTEND_CNAN.
  34638. 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
  34639. * version.h (RELEASE): Set to "stable".
  34640. (VERSION): Set to "2.21"
  34641. * include/features.h (__GLIBC_MINOR__): Set to 21.
  34642. * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
  34643. 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
  34644. Paul Eggert <eggert@cs.ucla.edu>
  34645. [BZ #16618]
  34646. * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
  34647. * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
  34648. size in bytes. Store needed elements in wpmax. Use needed size
  34649. in bytes for extend_alloca.
  34650. 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
  34651. * manual/install.texi: Latest tested versions are GCC 4.9.2,
  34652. binutls 2.25, and texinfo 5.2.
  34653. * INSTALL: Regenerate.
  34654. * sysdeps/nios2/configure: Regenerate.
  34655. * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
  34656. * manual/contrib.texi: Update.
  34657. * po/be.po: Update.
  34658. * po/bg.po: Update.
  34659. * po/ca.po: Update.
  34660. * po/cs.po: Update.
  34661. * po/da.po: Update.
  34662. * po/de.po: Update.
  34663. * po/el.po: Update.
  34664. * po/eo.po: Update.
  34665. * po/es.po: Update.
  34666. * po/fi.po: Update.
  34667. * po/fr.po: Update.
  34668. * po/gl.po: Update.
  34669. * po/hr.po: Update.
  34670. * po/hu.po: Update.
  34671. * po/ia.po: Update.
  34672. * po/id.po: Update.
  34673. * po/it.po: Update.
  34674. * po/ja.po: Update.
  34675. * po/ko.po: Update.
  34676. * po/lt.po: Update.
  34677. * po/nb.po: Update.
  34678. * po/nl.po: Update.
  34679. * po/pl.po: Update.
  34680. * po/pt_BR.po: Update.
  34681. * po/ru.po: Update.
  34682. * po/rw.po: Update.
  34683. * po/sk.po: Update.
  34684. * po/sl.po: Update.
  34685. * po/sv.po: Update.
  34686. * po/tr.po: Update.
  34687. * po/uk.po: Update.
  34688. * po/vi.po: Update.
  34689. * po/zh_CN.po: Update.
  34690. * po/zh_TW.po: Update.
  34691. * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
  34692. * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
  34693. * sysdeps/hppa/dl-irel.h: Remove #warning.
  34694. * sysdeps/hppa/entry.h: Provide prototype for
  34695. __canonicalize_funcptr_for_compare and cast argument.
  34696. * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
  34697. * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
  34698. * sysdeps/hppa/sotruss-lib.c: New file.
  34699. * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
  34700. (atomic_compare_and_exchange_val_acq): Use __typeof__.
  34701. (atomic_compare_and_exchange_bool_acq): Likewise.
  34702. * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
  34703. * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
  34704. * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
  34705. * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
  34706. * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
  34707. 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
  34708. * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
  34709. called function in non-PIC case.
  34710. 2015-01-31 David S. Miller <davem@davemloft.net>
  34711. * sysdeps/sparc/sparc32/bits/atomic.h
  34712. (__sparc32_atomic_do_unlock24): Put the memory barrier before the
  34713. unlock not after it.
  34714. (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
  34715. volatile register usage warnings from the compiler.
  34716. * sysdeps/sparc/nptl/sem_init.c: Delete.
  34717. * sysdeps/sparc/nptl/sem_post.c: Delete.
  34718. * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
  34719. * sysdeps/sparc/nptl/sem_wait.c: Delete.
  34720. * sysdeps/sparc/sparc32/sem_init.c: New file.
  34721. * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
  34722. * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
  34723. padding explicitly initialized.
  34724. * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
  34725. padding for in-semaphore spinlock.
  34726. * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
  34727. * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
  34728. * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
  34729. * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
  34730. * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
  34731. * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
  34732. * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
  34733. * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
  34734. version.
  34735. * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
  34736. * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
  34737. 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
  34738. [BZ #17801]
  34739. * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
  34740. Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
  34741. * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
  34742. New.
  34743. (index_AVX_Fast_Unaligned_Load): Likewise.
  34744. (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
  34745. * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
  34746. bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
  34747. * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
  34748. * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
  34749. * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
  34750. * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
  34751. HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
  34752. * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
  34753. 2015-01-29 Andreas Schwab <schwab@suse.de>
  34754. * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
  34755. 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
  34756. [BZ #17892]
  34757. * nscd/nscd_stat.c (send_stats): Initialize DATA.
  34758. 2015-01-28 Martin Sebor <msebor@redhat.com>
  34759. * math/README.libm-test: Clarify. Add "How to read the test output."
  34760. 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
  34761. * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
  34762. Define to 0.
  34763. 2015-01-28 Joseph Myers <joseph@codesourcery.com>
  34764. * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
  34765. (__HAVE_64B_ATOMICS): Define to 0.
  34766. 2015-01-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  34767. [BZ #17885]
  34768. * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
  34769. value to set as new flag.
  34770. [BZ #16576]
  34771. * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
  34772. and use _ARCH_PPCSQ instead.
  34773. (__ieee754_sqrt): Likewise.
  34774. (__ieee754_sqrtf): Likewise.
  34775. * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
  34776. _ARCH_PPCSQ is defined.
  34777. (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
  34778. fsqrt instruction.
  34779. * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
  34780. _ARCH_PPCSQ is defined.
  34781. (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
  34782. fsqrts instruction.
  34783. * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
  34784. 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  34785. * iconv/loop.c: Suppress array out of bound warning caused by GCC
  34786. bug (GCC BZ #64739).
  34787. 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
  34788. * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
  34789. Mark _retval as used.
  34790. (lll_futex_wake_unlock): Likewise.
  34791. (lll_futex_timed_wait_requeue_pi): Likewise.
  34792. * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
  34793. (atomic_compare_and_exchange_val_acq): Use uint32_t for the
  34794. register variables.
  34795. * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
  34796. libm_hidden_def.
  34797. * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
  34798. (__bswap_64): Mark as __always_inline.
  34799. 2015-01-25 Bram <bug_rh@spam.wizbit.be>
  34800. [BZ #15378]
  34801. * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
  34802. when none of the search directories exist.
  34803. 2015-01-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  34804. [BZ #17869]
  34805. * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
  34806. power8 in .machine directive.
  34807. [BZ #17868]
  34808. * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
  34809. set dependency from opd value.
  34810. 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
  34811. * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
  34812. Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
  34813. architecture.
  34814. 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
  34815. [BZ #17870]
  34816. * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
  34817. with uint64_t.
  34818. * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
  34819. (uint64_t) 1.
  34820. (__new_sem_wait_fast): Replace unsigned long with uint64_t.
  34821. (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
  34822. Replace 1UL with (uint64_t) 1.
  34823. * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
  34824. int with uint64_t.
  34825. 2015-01-23 Roland McGrath <roland@hack.frob.com>
  34826. * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
  34827. (if_freenameindex): Likewise.
  34828. * resource/getrlimit64.c: Add missing libc_hidden_def.
  34829. 2015-01-22 Joseph Myers <joseph@codesourcery.com>
  34830. * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
  34831. __label__.
  34832. (_FP_FMA): Likewise.
  34833. (_FP_TO_INT_ROUND): Likewise.
  34834. (_FP_FROM_INT): Likewise.
  34835. 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  34836. [BZ #16418]
  34837. * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
  34838. Make code racy and cancel safe.
  34839. 2015-01-21 Carlos O'Donell <carlos@redhat.com>
  34840. * sysdeps/arm/unwind-resume.h: Fix copyright year.
  34841. * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
  34842. attribution.
  34843. * pwd/tst-getpw.c: Rewrite.
  34844. [BZ #17702]
  34845. * dlfcn/Makefile (tests): Add tst-rec-dlopen.
  34846. (modules-names): Add moddummy1 and moddummy2.
  34847. ($(objpfx)tst-rec-dlopen): Define.
  34848. * dlfcn/moddummy1.c: New file.
  34849. * dlfcn/moddummy2.c: New file.
  34850. * dlfcn/tst-rec-dlopen.c: New file.
  34851. * elf/dl-cache.c (_dl_load_cache_lookup):
  34852. Return char*. Copy result with alloca/strcpy/strdup.
  34853. * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
  34854. returns char*. Free cached. If not saving realname
  34855. free cached.
  34856. * elf/dl-open.c (dl_open_worker): Do not assert that
  34857. _r_debug->r_state is RT_CONSISTENT.
  34858. * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
  34859. returns char*.
  34860. 2015-01-21 Torvald Riegel <triegel@redhat.com>
  34861. Carlos O'Donell <carlos@redhat.com>
  34862. [BZ #12674]
  34863. * nptl/sem_waitcommon.c: New file.
  34864. * nptl/sem_wait.c: Include sem_waitcommon.c.
  34865. (__sem_wait_cleanup, do_futex_wait): Remove.
  34866. (__new_sem_wait): Adapt.
  34867. (__new_sem_trywait): New function.
  34868. (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
  34869. * nptl/sem_timedwait.c: Include sem_waitcommon.c.
  34870. (__sem_wait_cleanup, do_futex_timed_wait): Remove.
  34871. (sem_timedwait): Adapt.
  34872. * nptl/sem_post.c (__new_sem_post): Adapt.
  34873. (futex_wake): New function.
  34874. (__old_sem_post): Add release MO fence.
  34875. * nptl/sem_open.c (sem_open): Adapt.
  34876. * nptl/sem_init.c (__new_sem_init): Adapt.
  34877. (futex_private_if_supported): New function.
  34878. * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
  34879. (__old_sem_getvalue): Add using previous code.
  34880. * sysdeps/nptl/internaltypes.h: Adapt.
  34881. * nptl/tst-sem13.c (do_test): Adapt.
  34882. * nptl/tst-sem11.c (main): Adapt.
  34883. * nptl/sem_trywait.c: Remove.
  34884. * nptl/DESIGN-sem.txt: Remove.
  34885. * nptl/Makefile (libpthread-routines): Remove sem_trywait.
  34886. (gen-as-const-headers): Remove structsem.sym.
  34887. * nptl/structsem.sym: Remove.
  34888. * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
  34889. * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
  34890. * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
  34891. * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
  34892. * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
  34893. * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
  34894. * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
  34895. * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
  34896. * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
  34897. * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
  34898. * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
  34899. * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
  34900. * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
  34901. * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
  34902. * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
  34903. * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
  34904. * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
  34905. * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
  34906. * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
  34907. * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
  34908. * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
  34909. * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
  34910. 2015-01-20 Carlos O'Donell <carlos@redhat.com>
  34911. * INSTALL: Regenerated.
  34912. * po/libc.pot: Regenerated.
  34913. 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
  34914. Sandra Loosemore <sandra@codesourcery.com>
  34915. Andrew Jenner <andrew@codesourcery.com>
  34916. Joseph Myers <joseph@codesourcery.com>
  34917. Nathan Sidwell <nathan@codesourcery.com>
  34918. * NEWS: Mention new Nios II port.
  34919. * sysdeps/nios2/Implies: New file.
  34920. * sysdeps/nios2/Makefile: New file.
  34921. * sysdeps/nios2/Subdirs: New file.
  34922. * sysdeps/nios2/Versions: New file.
  34923. * sysdeps/nios2/__longjmp.S: New file.
  34924. * sysdeps/nios2/abort-instr.h: New file.
  34925. * sysdeps/nios2/backtrace.c: New file.
  34926. * sysdeps/nios2/bits/endian.h: New file.
  34927. * sysdeps/nios2/bits/fenv.h: New file.
  34928. * sysdeps/nios2/bits/link.h: New file.
  34929. * sysdeps/nios2/bits/setjmp.h: New file.
  34930. * sysdeps/nios2/bsd-_setjmp.S: New file.
  34931. * sysdeps/nios2/bsd-setjmp.S: New file.
  34932. * sysdeps/nios2/configure: New generated file.
  34933. * sysdeps/nios2/configure.ac: New file.
  34934. * sysdeps/nios2/crti.S: New file.
  34935. * sysdeps/nios2/crtn.S: New file.
  34936. * sysdeps/nios2/dl-init.c: New file.
  34937. * sysdeps/nios2/dl-machine.h: New file.
  34938. * sysdeps/nios2/dl-sysdep.h: New file.
  34939. * sysdeps/nios2/dl-tls.h: New file.
  34940. * sysdeps/nios2/dl-trampoline.S: New file.
  34941. * sysdeps/nios2/gccframe.h: New file.
  34942. * sysdeps/nios2/gmp-mparam.h: New file.
  34943. * sysdeps/nios2/jmpbuf-offsets.h: New file.
  34944. * sysdeps/nios2/jmpbuf-unwind.h: New file.
  34945. * sysdeps/nios2/ldsodefs.h: New file.
  34946. * sysdeps/nios2/libc-tls.c: New file.
  34947. * sysdeps/nios2/libm-test-ulps: New file.
  34948. * sysdeps/nios2/machine-gmon.h: New file.
  34949. * sysdeps/nios2/math-tests.h: New file.
  34950. * sysdeps/nios2/math_private.h: New file.
  34951. * sysdeps/nios2/memusage.h: New file.
  34952. * sysdeps/nios2/nptl/Makefile: New file.
  34953. * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
  34954. * sysdeps/nios2/nptl/bits/semaphore.h: New file.
  34955. * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
  34956. * sysdeps/nios2/nptl/pthreaddef.h: New file.
  34957. * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
  34958. * sysdeps/nios2/nptl/tls.h: New file.
  34959. * sysdeps/nios2/preconfigure: New file.
  34960. * sysdeps/nios2/s_fma.c: New file.
  34961. * sysdeps/nios2/s_fmaf.c: New file.
  34962. * sysdeps/nios2/setjmp.S: New file.
  34963. * sysdeps/nios2/sfp-machine.h: New file.
  34964. * sysdeps/nios2/sotruss-lib.c: New file.
  34965. * sysdeps/nios2/stackguard-macros.h: New file.
  34966. * sysdeps/nios2/stackinfo.h: New file.
  34967. * sysdeps/nios2/start.S: New file.
  34968. * sysdeps/nios2/sysdep.h: New file.
  34969. * sysdeps/nios2/tls-macros.h: New file.
  34970. * sysdeps/nios2/tst-audit.h: New file.
  34971. * sysdeps/unix/sysv/linux/nios2/Implies: New file.
  34972. * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
  34973. * sysdeps/unix/sysv/linux/nios2/Versions: New file.
  34974. * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
  34975. * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
  34976. * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
  34977. * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
  34978. * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
  34979. * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
  34980. * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
  34981. * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
  34982. * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
  34983. * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
  34984. * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
  34985. * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
  34986. * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
  34987. * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
  34988. * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
  34989. * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
  34990. * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
  34991. * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
  34992. * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
  34993. * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
  34994. * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
  34995. * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
  34996. * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
  34997. * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
  34998. * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
  34999. * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
  35000. * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
  35001. * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
  35002. * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
  35003. * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
  35004. * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
  35005. * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
  35006. * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
  35007. * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
  35008. * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
  35009. * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
  35010. * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
  35011. * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
  35012. * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
  35013. * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
  35014. * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
  35015. 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
  35016. [BZ #17844]
  35017. * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
  35018. (getutent): Use weak_alias in non SHARED case
  35019. and default_symbol_version in SHARED case.
  35020. * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
  35021. (getutent_r, pututline): Likewise.
  35022. * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
  35023. (getutid): Likewise.
  35024. * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
  35025. (getutid_r): Likewise.
  35026. * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
  35027. (getutline): Likewise.
  35028. * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
  35029. (getutline_r): Likewise.
  35030. * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
  35031. (updwtmp): Likewise.
  35032. 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
  35033. [BZ #17848]
  35034. * sysdeps/s390/s390-32/memcmp.S
  35035. (memcmp_g5): Rename to __memcmp_g5.
  35036. * sysdeps/s390/s390-32/memcpy.S
  35037. (memcpy_g5): Rename to __memcpy_g5.
  35038. Jump to __memcpy_mvcle instead of memcpy_mvcle.
  35039. (memcpy_mvcle) Rename to __memcpy_mvcle.
  35040. * sysdeps/s390/s390-32/memset.S
  35041. (memset_g5): Rename to __memset_g5.
  35042. * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
  35043. (IFUNC_RESOLVE): Prefix ifunc-resolve function
  35044. and use prefixed functions.
  35045. * sysdeps/s390/s390-32/multiarch/memcmp.S
  35046. (memcmp_z196): Rename to __memcmp_z196.
  35047. (memcmp_z10): Rename to __memcmp_z10.
  35048. (memcmp): Set alias to __memcmp_g5.
  35049. (bcmp): Set alias to __memcmp_g5.
  35050. * sysdeps/s390/s390-32/multiarch/memcpy.S
  35051. (memcpy_z196): Rename to __memcpy_z196.
  35052. Jump to __memcpy_mvcle instead of memcpy_mvcle.
  35053. (memcpy_z10): Rename to __memcpy_z10.
  35054. Jump to __memcpy_mvcle instead of memcpy_mvcle.
  35055. (memcpy): Set alias to __memcpy_g5.
  35056. * sysdeps/s390/s390-32/multiarch/memset.S
  35057. (memset_z196): Rename to __memset_z196.
  35058. Jump to __memset_mvcle instead of memset_mvcle.
  35059. (memset_z10): Rename to __memset_z10.
  35060. Jump to __memset_mvcle instead of memset_mvcle.
  35061. (memset_mvcle) Rename to __memset_mvcle.
  35062. (memset): Set alias to __memset_g5.
  35063. * sysdeps/s390/s390-64/memcmp.S
  35064. (memcmp_z900): Rename to __memcmp_z900.
  35065. * sysdeps/s390/s390-64/memcpy.S
  35066. (memcpy_z900): Rename to __memcpy_z900.
  35067. Jump to __memcpy_mvcle instead of memcpy_mvcle.
  35068. (memcpy_mvcle) Rename to __memcpy_mvcle.
  35069. * sysdeps/s390/s390-64/memset.S
  35070. (memset_z900): Rename to __memset_z900.
  35071. * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
  35072. (IFUNC_RESOLVE): Prefix ifunc-resolve function
  35073. and use prefixed functions.
  35074. * sysdeps/s390/s390-64/multiarch/memcmp.S
  35075. (memcmp_z196): Rename to __memcmp_z196.
  35076. (memcmp_z10): Rename to __memcmp_z10.
  35077. (memcmp): Set alias to __memcmp_z900.
  35078. (bcmp): Set alias to __memcmp_z900.
  35079. * sysdeps/s390/s390-64/multiarch/memcpy.S
  35080. (memcpy_z196): Rename to __memcpy_z196.
  35081. Jump to __memcpy_mvcle instead of memcpy_mvcle.
  35082. (memcpy_z10): Rename to __memcpy_z10.
  35083. Jump to __memcpy_mvcle instead of memcpy_mvcle.
  35084. (memcpy): Set alias to __memcpy_z900.
  35085. * sysdeps/s390/s390-64/multiarch/memset.S
  35086. (memset_z196): Rename to __memset_z196.
  35087. Jump to __memset_mvcle instead of memset_mvcle.
  35088. (memset_z10): Rename to __memset_z10.
  35089. Jump to __memset_mvcle instead of memset_mvcle.
  35090. (memset_mvcle) Rename to __memset_mvcle.
  35091. (memset): Set alias to __memset_z900.
  35092. 2015-01-14 Joseph Myers <joseph@codesourcery.com>
  35093. [BZ #17748]
  35094. * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
  35095. __fesetenv instead of fesetenv.
  35096. 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
  35097. * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
  35098. macro.
  35099. 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  35100. * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
  35101. regression on LE.
  35102. * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
  35103. * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
  35104. * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
  35105. strncmp-power8 object.
  35106. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  35107. (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
  35108. * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
  35109. * NEWS: Update.
  35110. 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  35111. Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  35112. * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
  35113. trailing byte check.
  35114. 2015-01-13 David S. Miller <davem@davemloft.net>
  35115. * include/signal.h (__sigreturn): Guard with __USE_MISC.
  35116. 2015-01-13 Roland McGrath <roland@hack.frob.com>
  35117. * login/logout.c (logout): Use memset rather than bzero.
  35118. * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
  35119. * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
  35120. * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
  35121. (_gethtbyaddr): Likewise.
  35122. * locale/programs/simple-hash.c (bcopy): Macro removed.
  35123. 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  35124. * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
  35125. Add strcmp-power8 object.
  35126. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  35127. (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
  35128. * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
  35129. * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
  35130. __strcmp_power8 implementation.
  35131. * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
  35132. * NEWS: Update.
  35133. * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
  35134. Add strncpy-power8 and stpncpy-power8 objects.
  35135. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  35136. (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
  35137. implementations.
  35138. * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
  35139. * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
  35140. __stpncpy_power8 implementation.
  35141. * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
  35142. * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
  35143. __strncpy_power8 implementation.
  35144. * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
  35145. * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
  35146. * NEWS: Update.
  35147. * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
  35148. * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
  35149. * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
  35150. * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
  35151. strncat-power8 object.
  35152. * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
  35153. __strcat_power8 implementation.
  35154. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  35155. (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
  35156. * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
  35157. optimized strcat for power8.
  35158. * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
  35159. strcpy-power8 and stpcpy-power8 objects.
  35160. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  35161. (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
  35162. implementations.
  35163. * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
  35164. multiarch stpcpy implementation for POWER8.
  35165. * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
  35166. multiarch strcpy implementation for POWER8.
  35167. * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
  35168. __strcpy_power8 function.
  35169. * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
  35170. stpcpy for POWER8.
  35171. * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
  35172. strcpy for POWER8.
  35173. * NEWS: Update.
  35174. 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
  35175. [BZ #16009]
  35176. * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
  35177. weights and rules. Use do_xfrm_cached if data fits in cache,
  35178. do_xfrm otherwise. Moved former main loop to...
  35179. * (do_xfrm_cached): New function.
  35180. * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
  35181. find_idx, find_position and stack_push.
  35182. * (find_idx): New function.
  35183. * (find_position): Likewise.
  35184. * localedata/sort-test.sh: Added test run for do_xfrm.
  35185. * localedata/xfrm-test.c (main): Added command line option
  35186. -nocache to run the test with strings that are too large for
  35187. the STRXFRM cache.
  35188. 2015-01-13 Torvald Riegel <triegel@redhat.com>
  35189. * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
  35190. variable to lll_futex_wake call, not the value itself.
  35191. 2015-01-12 Joseph Myers <joseph@codesourcery.com>
  35192. [BZ #17803]
  35193. * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
  35194. twom64. Adjust value to 0x1p-64L.
  35195. (__scalblnl): Only return standard underflowing result for K <=
  35196. -64 not K <= -63; adjust exponent for underflowing result by 64
  35197. not 63.
  35198. * math/libm-test.inc (scalbn_test_data): Add more tests.
  35199. (scalbln_test_data): Likewise.
  35200. [BZ #17834]
  35201. * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
  35202. 0x1p63L.
  35203. (__scalblnl): Get new exponent of adjusted subnormal value from ES
  35204. not HX.
  35205. * math/libm-test.inc (scalbn_test_data): Add more tests.
  35206. (scalbln_test_data): Likewise.
  35207. 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  35208. Stefani Seibold <stefani@seibold.net>
  35209. * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
  35210. (sysdep_routines): Add dl-vdso here, ...
  35211. * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
  35212. (sysdep_routines): ... not here.
  35213. * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
  35214. fallback when vDSO is not presented.
  35215. * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
  35216. Define with libc_hidden_proto/libc_hidden_data_def definitions.
  35217. (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
  35218. * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
  35219. * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
  35220. * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
  35221. * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
  35222. * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
  35223. * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
  35224. * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
  35225. * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
  35226. fallback configurable symbol when vDSO is not available.
  35227. * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
  35228. * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
  35229. be able to redefine fallback symbol when vDSO is not available.
  35230. * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
  35231. * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
  35232. 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  35233. * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
  35234. (TLS_INIT_TP): Add tm_capable initialization.
  35235. (TLS_DEFINE_INIT_TP): Likewise.
  35236. (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
  35237. TCB.
  35238. (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
  35239. * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
  35240. calculation.
  35241. * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
  35242. transactoion is lock elision is built and TCB tm_capable is set.
  35243. * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
  35244. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
  35245. (INTERNAL_SYSCALL_NCS): Likewise.
  35246. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
  35247. (INTERNAL_SYSCALL_NCS): Likewise.
  35248. * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
  35249. * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
  35250. for powerpc.
  35251. * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
  35252. [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
  35253. and remove it for 32 bits case.
  35254. [pthread_rwlock_t] (__rwelision): New field for lock elision.
  35255. (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
  35256. initialization.
  35257. * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
  35258. Disable lock elision with rdlocks if elision is not available.
  35259. * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
  35260. (sysdep_routines): Add lock elision objects.
  35261. * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
  35262. [pthread_mutex_t] (__spins): Rework to add lock elision field.
  35263. [pthread_mutex_t] (__elision): Add field.
  35264. [__PTHREAD_SPINS]: Adjust to init lock elision field.
  35265. * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
  35266. elision definitions for powerpc.
  35267. * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
  35268. implementation of lock elision for powerpc.
  35269. * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
  35270. implementation of timed lock elision for powerpc.
  35271. * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
  35272. implementation of trylock with lock elision for powerpc.
  35273. * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
  35274. implementaion of unlock for lock elision for powerpc.
  35275. * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
  35276. automatic enable lock elision for mutexes.
  35277. * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
  35278. transaction execution definitions for powerpc.
  35279. * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
  35280. definitions.
  35281. * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
  35282. * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
  35283. * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
  35284. * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
  35285. * NEWS: Update.
  35286. 2015-01-09 Roland McGrath <roland@hack.frob.com>
  35287. * sysdeps/posix/shm-directory.c: Use <> rather than ""
  35288. for #include of <shm-directory.h>.
  35289. 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
  35290. * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
  35291. assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
  35292. 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
  35293. [BZ #17791]
  35294. * NEWS: Mention bug fix.
  35295. * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
  35296. (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
  35297. (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
  35298. 2015-01-09 Torvald Riegel <triegel@redhat.com>
  35299. * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
  35300. 2015-01-09 Torvald Riegel <triegel@redhat.com>
  35301. * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
  35302. 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
  35303. * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
  35304. pointer and cast to uintptr_t.
  35305. 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
  35306. * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
  35307. removed.
  35308. (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
  35309. 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
  35310. * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
  35311. of 0.
  35312. 2015-01-08 Roland McGrath <roland@hack.frob.com>
  35313. * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
  35314. <nptl/pthreadP.h> instead.
  35315. * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
  35316. * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
  35317. already defined.
  35318. [__SIGRTMIN] (init): Function removed.
  35319. [__SIGRTMIN] (initialized): Variable removed.
  35320. [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
  35321. [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
  35322. __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
  35323. (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
  35324. (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
  35325. (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
  35326. (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
  35327. (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
  35328. (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
  35329. (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
  35330. (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
  35331. * sysdeps/nptl/allocrtsig.c: New file.
  35332. * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
  35333. * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
  35334. * sysdeps/generic/testrtsig.h: File removed.
  35335. * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
  35336. (pthread_sigmask): Call sigprocmask, not __sigprocmask.
  35337. * nptl/nptl-init.c (pthread_functions): Conditionalize
  35338. .ptr__nptl_setxid initialization on [SIGSETXID].
  35339. * sysdeps/nptl/sys/procfs.h: New file.
  35340. * nptl_db/Makefile (headers): Add it.
  35341. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
  35342. * nptl/pthreadP.h (check_cpuset_attr): Moved ...
  35343. * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
  35344. * nptl/pthread_attr_setaffinity.c: Include it.
  35345. * nptl/pthread_setattr_default_np.c: Likewise.
  35346. * nptl/check-cpuset.h: New file.
  35347. 2015-01-08 Richard Henderson <rth@redhat.com>
  35348. * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
  35349. (CFLAGS-tst-execstack-prog.c): Likewise.
  35350. * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
  35351. 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
  35352. Sandra Loosemore <sandra@codesourcery.com>
  35353. Andrew Jenner <andrew@codesourcery.com>
  35354. Joseph Myers <joseph@codesourcery.com>
  35355. Nathan Sidwell <nathan@codesourcery.com>
  35356. * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
  35357. (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
  35358. (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
  35359. (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
  35360. (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
  35361. (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
  35362. (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
  35363. (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
  35364. (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
  35365. (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
  35366. (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
  35367. (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
  35368. (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
  35369. (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
  35370. (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
  35371. (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
  35372. (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
  35373. 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  35374. * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
  35375. timespec struct member in syscall macro.
  35376. * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
  35377. * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
  35378. first timeval struct member in syscall macro.
  35379. * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
  35380. 2015-01-07 Joseph Myers <joseph@codesourcery.com>
  35381. [BZ #17748]
  35382. * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
  35383. * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
  35384. * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
  35385. __feupdateenv and define as weak alias of __feupdateenv. Use
  35386. libm_hidden_weak.
  35387. * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
  35388. libm_hidden_def.
  35389. * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
  35390. and define as weak alias of __feupdateenv. Use libm_hidden_weak.
  35391. * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
  35392. * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
  35393. libm_hidden_def.
  35394. * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
  35395. __feupdateenv and define as weak alias of __feupdateenv. Use
  35396. libm_hidden_weak.
  35397. * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
  35398. libm_hidden_def.
  35399. * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
  35400. __feupdateenv and define as weak alias of __feupdateenv. Use
  35401. libm_hidden_weak.
  35402. * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
  35403. libm_hidden_def.
  35404. * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
  35405. * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
  35406. (__feupdateenv): Likewise.
  35407. * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
  35408. __feupdateenv and define as weak alias of __feupdateenv. Use
  35409. libm_hidden_weak.
  35410. * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
  35411. * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
  35412. libm_hidden_def.
  35413. * sysdeps/tile/math_private.h (__feupdateenv): New inline
  35414. function.
  35415. * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
  35416. libm_hidden_def.
  35417. * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
  35418. __feupdateenv instead of feupdateenv.
  35419. (default_libc_feupdateenv_test): Likewise.
  35420. (libc_feresetround_ctx): Likewise.
  35421. 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  35422. * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
  35423. prototype.
  35424. 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
  35425. * posix/regcomp.c (parse_bracket_exp): Initialize type to
  35426. COLL_SYM in a couple of places to avoid uninitialized variable
  35427. wanings on tilegx gcc 4.8.2.
  35428. 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
  35429. * sysdeps/aarch64/strcpy.S: New file.
  35430. * sysdeps/aarch64/stpcpy.S: New file.
  35431. * NEWS: Updated.
  35432. 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
  35433. * sysdeps/aarch64/strrchr.S: New file.
  35434. * NEWS: Updated.
  35435. 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
  35436. [BZ #17658]
  35437. * stdlib/setenv.c: Fix memory leak when setting large,
  35438. duplicate string.
  35439. 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
  35440. [BZ #17273]
  35441. * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
  35442. and tabs from buffer before parsing fstab entry.
  35443. * misc/tst-mntent.c (main): Add test for mount entry with
  35444. trailing spaces and tabs.
  35445. 2015-01-06 Joseph Myers <joseph@codesourcery.com>
  35446. [BZ #17748]
  35447. * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
  35448. * math/fesetround.c (fesetround): Rename to __fesetround and
  35449. define as weak alias of __fesetround. Use libm_hidden_weak.
  35450. * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
  35451. * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
  35452. * sysdeps/arm/fesetround.c (fesetround): Likewise.
  35453. * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
  35454. * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
  35455. * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
  35456. * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
  35457. * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
  35458. * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
  35459. __fesetround_inline.
  35460. * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
  35461. __fesetround_inline instead of __fesetround.
  35462. * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
  35463. __fesetround and define as weak alias of __fesetround. Use
  35464. libm_hidden_weak. Call __fesetround_inline instead of
  35465. __fesetround.
  35466. * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
  35467. __fesetround and define as weak alias of __fesetround. Use
  35468. libm_hidden_weak.
  35469. * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
  35470. Likewise.
  35471. * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
  35472. * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
  35473. * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
  35474. * sysdeps/tile/math_private.h (__fesetround): New inline function.
  35475. * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
  35476. __fesetround and define as weak alias of __fesetround. Use
  35477. libm_hidden_weak.
  35478. * sysdeps/generic/math_private.h (default_libc_fesetround): Call
  35479. __fesetround instead of fesetround.
  35480. (default_libc_feholdexcept_setround): Likewise.
  35481. (libc_feholdsetround_ctx): Likewise.
  35482. (libc_feholdsetround_noex_ctx): Likewise.
  35483. [BZ #17748]
  35484. * include/fenv.h (__fesetenv): Use libm_hidden_proto.
  35485. * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
  35486. * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
  35487. and define as weak alias of __fesetenv. Use libm_hidden_weak.
  35488. * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
  35489. * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
  35490. define as weak alias of __fesetenv. Use libm_hidden_weak.
  35491. * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
  35492. * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
  35493. * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
  35494. define as weak alias of __fesetenv. Use libm_hidden_weak.
  35495. * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
  35496. * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
  35497. define as weak alias of __fesetenv. Use libm_hidden_weak.
  35498. * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
  35499. libm_hidden_def.
  35500. * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
  35501. * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
  35502. Likewise.
  35503. * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
  35504. define as weak alias of __fesetenv. Use libm_hidden_weak.
  35505. * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
  35506. * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
  35507. * sysdeps/tile/math_private.h (__fesetenv): New inline function.
  35508. * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
  35509. and define as weak alias of __fesetenv. Use libm_hidden_weak.
  35510. * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
  35511. __fesetenv instead of fesetenv.
  35512. (libc_feresetround_noex_ctx): Likewise.
  35513. * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
  35514. * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
  35515. * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
  35516. * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
  35517. * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
  35518. * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
  35519. * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
  35520. * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
  35521. (__feupdateenv): Likewise.
  35522. * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
  35523. * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
  35524. * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
  35525. * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
  35526. 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
  35527. [BZ #17806]
  35528. * resolv/res_init.c (__res_iclose): Only clear nsinit if the
  35529. addresses have been freed.
  35530. 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
  35531. * resolv/res_init.c (__res_vinit): Improve comments about nserv
  35532. and nservall.
  35533. 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
  35534. * sysdeps/unix/sysv/linux/check_pf.c (make_request):
  35535. Clean up check_pf allocation pattern. addresses
  35536. 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  35537. * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
  35538. * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
  35539. * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
  35540. * nptl/pthread_exit.c (__pthread_exit): Likewise.
  35541. * nptl/pthread_join.c (pthread_join): Likewise.
  35542. * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
  35543. * sysdeps/posix/waitid.c (__waitid): Likewise.
  35544. * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
  35545. * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
  35546. * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
  35547. * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
  35548. * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
  35549. Likewise.
  35550. * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
  35551. (__libc_pread64): Likewise.
  35552. * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
  35553. (__libc_pwrite): Likewise.
  35554. * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
  35555. (__libc_pwrite64): Likewsie.
  35556. * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
  35557. * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
  35558. * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
  35559. * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
  35560. * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
  35561. * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
  35562. * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
  35563. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
  35564. Likewise.
  35565. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
  35566. (__libc_pread64): Likewise.
  35567. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
  35568. Likewise.
  35569. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
  35570. (__libc_pwrite64): Likewise.
  35571. * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
  35572. * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
  35573. * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
  35574. * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
  35575. * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
  35576. * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
  35577. * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
  35578. * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
  35579. * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
  35580. * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
  35581. * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
  35582. * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
  35583. * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
  35584. * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
  35585. * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
  35586. * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
  35587. Likewise.
  35588. 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
  35589. * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
  35590. (CFLAGS-test-double.c): Likewise.
  35591. (CFLAGS-test-ldouble.c): Likewise.
  35592. (CPPFLAGS-test-ifloat.c): Likewise.
  35593. (CPPFLAGS-test-idouble.c): Likewise.
  35594. (CPPFLAGS-test-ildoubl.c): Likewise.
  35595. (CFLAGS-test-test-fenv.c): Remove variable.
  35596. (CFLAGS-test-misc.c): Likewise.
  35597. 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
  35598. [BZ #17797]
  35599. * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
  35600. * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
  35601. * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
  35602. CLOCKS_PER_SEC == 1000000.
  35603. * time/clocktest.c (main): Replace %ld with %jd and cast to
  35604. intmax_t.
  35605. 2015-01-05 Roland McGrath <roland@hack.frob.com>
  35606. * sysdeps/generic/unwind-resume.h: New file.
  35607. * sysdeps/gnu/unwind-resume.c: Include it.
  35608. (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
  35609. (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
  35610. argument list.
  35611. (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
  35612. global rather than static.
  35613. (_Unwind_Resume): Update user.
  35614. Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
  35615. (init): Likewise. Renamed to __libgcc_s_init, made hidden global
  35616. rather than static. Add __attribute__ ((cold)).
  35617. (_Unwind_Resume, __gcc_personality_v0): Update callers.
  35618. * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
  35619. * sysdeps/arm/arm-unwind-resume.S: New file.
  35620. * sysdeps/arm/rt-arm-unwind-resume.S: New file.
  35621. * sysdeps/arm/pt-arm-unwind-resume.S: New file.
  35622. * sysdeps/arm/Makefile [$(subdir) = csu]
  35623. (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
  35624. [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
  35625. Add rt-arm-unwind-resume.
  35626. [$(subdir) = nptl]
  35627. (libpthread-sysdep_routines, libpthread-shared-only-routines):
  35628. Add pt-arm-unwind-resume.
  35629. * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
  35630. * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
  35631. 2015-01-05 Joseph Myers <joseph@codesourcery.com>
  35632. [BZ #17748]
  35633. * include/fenv.h (__feholdexcept): Declare. Use
  35634. libm_hidden_proto.
  35635. * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
  35636. define as weak alias of __feholdexcept. Use libm_hidden_weak.
  35637. * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
  35638. * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
  35639. * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
  35640. * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
  35641. * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
  35642. * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
  35643. * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
  35644. * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
  35645. * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
  35646. * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
  35647. * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
  35648. (feholdexcept): Likewise.
  35649. * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
  35650. * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
  35651. * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
  35652. * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
  35653. * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
  35654. __feholdexcept instead of feholdexcept.
  35655. (default_libc_feholdexcept_setround): Likewise.
  35656. 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
  35657. * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
  35658. to avoid using stl/str to align destination.
  35659. 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
  35660. * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
  35661. 2015-01-05 Joseph Myers <joseph@codesourcery.com>
  35662. [BZ #17796]
  35663. * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
  35664. [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
  35665. Define as weak alias not strong alias.
  35666. 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
  35667. * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
  35668. bltzal with addiupc.
  35669. (RTLD_START): Ditto.
  35670. 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
  35671. * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
  35672. for __vdso_* functions in declarations.
  35673. * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
  35674. definitions.
  35675. * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
  35676. INTERNAL_VSYSCALL): Use struct return types to check for error.
  35677. * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
  35678. && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
  35679. function with cast from llround().
  35680. * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
  35681. * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
  35682. Define.
  35683. 2015-01-05 Joseph Myers <joseph@codesourcery.com>
  35684. [BZ #17793]
  35685. * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
  35686. Define as weak alias not strong alias.
  35687. [BZ #17635]
  35688. * ctype/ctype-c99.c: New file. isblank implementation moved from
  35689. ...
  35690. * ctype/ctype-extn.c: ... here.
  35691. (__isblank_l): Move to ...
  35692. * ctype/ctype-c99_l.c: ... here. New file.
  35693. * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
  35694. * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
  35695. Remove variable.
  35696. (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
  35697. (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
  35698. (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
  35699. (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
  35700. (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
  35701. [BZ #17777]
  35702. * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
  35703. (posix_fadvise64): Define as weak alias not strong alias.
  35704. * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
  35705. (posix_fallocate64): Likewise.
  35706. * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
  35707. Remove variable.
  35708. (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
  35709. (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
  35710. (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
  35711. (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
  35712. (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
  35713. 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
  35714. [BZ #16191]
  35715. * NEWS: Mention bug fix.
  35716. * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
  35717. (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
  35718. (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
  35719. (HOST_STACK_END_ADDR): Likewise.
  35720. 2015-01-02 Joseph Myers <joseph@codesourcery.com>
  35721. [BZ #17748]
  35722. * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
  35723. * math/fegetround.c (fegetround): Rename to __fegetround and
  35724. define as weak alias of __fegetround. Use libm_hidden_weak.
  35725. * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
  35726. * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
  35727. * sysdeps/arm/fegetround.c (fegetround): Likewise.
  35728. * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
  35729. * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
  35730. * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
  35731. * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
  35732. * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
  35733. * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
  35734. Undefine after rather than before function definition; use
  35735. parentheses around function name in definition.
  35736. (__fegetround): Also undefine macro after function definition.
  35737. * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
  35738. __fegetround and define as weak alias of __fegetround. Use
  35739. libm_hidden_weak. Do not undefine as macro.
  35740. * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
  35741. Likewise.
  35742. * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
  35743. __fegetround and define as weak alias of __fegetround. Use
  35744. libm_hidden_weak.
  35745. * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
  35746. * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
  35747. * sysdeps/tile/math_private.h (__fegetround): New inline function.
  35748. * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
  35749. __fegetround and define as weak alias of __fegetround. Use
  35750. libm_hidden_weak.
  35751. * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
  35752. __fegetround instead of fegetround.
  35753. [BZ #17782]
  35754. * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
  35755. Condition macro definition on [__USE_MISC].
  35756. [BZ #17781]
  35757. * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
  35758. (struct sigaction): Change type of sa_flags field to int.
  35759. [BZ #17780]
  35760. * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
  35761. [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
  35762. __glibc_reserved0.
  35763. * nptl/version.c (banner): Use single year in copyright notice.
  35764. * NEWS: Update copyright dates.
  35765. * catgets/gencat.c (print_version): Likewise.
  35766. * csu/version.c (banner): Likewise.
  35767. * debug/catchsegv.sh: Likewise.
  35768. * debug/pcprofiledump.c (print_version): Likewise.
  35769. * debug/xtrace.sh (do_version): Likewise.
  35770. * elf/ldconfig.c (print_version): Likewise.
  35771. * elf/ldd.bash.in: Likewise.
  35772. * elf/pldd.c (print_version): Likewise.
  35773. * elf/sotruss.sh: Likewise.
  35774. * elf/sprof.c (print_version): Likewise.
  35775. * iconv/iconv_prog.c (print_version): Likewise.
  35776. * iconv/iconvconfig.c (print_version): Likewise.
  35777. * locale/programs/locale.c (print_version): Likewise.
  35778. * locale/programs/localedef.c (print_version): Likewise.
  35779. * login/programs/pt_chown.c (print_version): Likewise.
  35780. * malloc/memusage.sh (do_version): Likewise.
  35781. * malloc/memusagestat.c (print_version): Likewise.
  35782. * malloc/mtrace.pl: Likewise.
  35783. * manual/libc.texinfo: Likewise.
  35784. * nptl/version.c (banner): Likewise.
  35785. * nscd/nscd.c (print_version): Likewise.
  35786. * nss/getent.c (print_version): Likewise.
  35787. * nss/makedb.c (print_version): Likewise.
  35788. * posix/getconf.c (main): Likewise.
  35789. * scripts/test-installation.pl: Likewise.
  35790. * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
  35791. 2015-01-02 Will Newton <will.newton@linaro.org>
  35792. * sysdeps/arm/armv7/configure: Removed.
  35793. * sysdeps/arm/armv7/configure.ac: Likewise.
  35794. 2015-01-02 Joseph Myers <joseph@codesourcery.com>
  35795. * All files with FSF copyright notices: Update copyright dates
  35796. using scripts/update-copyrights.
  35797. * intl/plural.c: Regenerated.
  35798. * locale/programs/charmap-kw.h: Likewise.
  35799. * locale/programs/locfile-kw.h: Likewise.
  35800. 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
  35801. * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
  35802. 2014-12-31 Joseph Myers <joseph@codesourcery.com>
  35803. [BZ #17748]
  35804. * include/fenv.h (__fegetenv): Use libm_hidden_proto.
  35805. * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
  35806. * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
  35807. and define as weak alias of __fegetenv. Use libm_hidden_weak.
  35808. * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
  35809. * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
  35810. define as weak alias of __fegetenv. Use libm_hidden_weak.
  35811. * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
  35812. * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
  35813. * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
  35814. define as weak alias of __fegetenv. Use libm_hidden_weak.
  35815. * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
  35816. * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
  35817. define as weak alias of __fegetenv. Use libm_hidden_weak.
  35818. * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
  35819. libm_hidden_def.
  35820. * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
  35821. * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
  35822. Likewise.
  35823. * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
  35824. define as weak alias of __fegetenv. Use libm_hidden_weak.
  35825. * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
  35826. * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
  35827. * sysdeps/tile/math_private.h (__fegetenv): New inline function.
  35828. * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
  35829. and define as weak alias of __fegetenv. Use libm_hidden_weak.
  35830. * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
  35831. __fegetenv instead of fegetenv.
  35832. (libc_feholdsetround_noex_ctx): Likewise.
  35833. 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
  35834. * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
  35835. (Elf_MIPS_ABIFlags_v0): New structure.
  35836. (EF_MIPS_FP64): Define.
  35837. (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
  35838. (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
  35839. (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
  35840. (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
  35841. (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
  35842. (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
  35843. (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
  35844. (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
  35845. (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
  35846. (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
  35847. (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
  35848. (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
  35849. (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
  35850. (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
  35851. (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
  35852. (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
  35853. (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
  35854. (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
  35855. (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
  35856. * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
  35857. tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
  35858. * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
  35859. field.
  35860. * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
  35861. EF_MIPS_FP64.
  35862. * sysdeps/mips/dl-machine-reject-phdr.h: New file.
  35863. * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
  35864. * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
  35865. * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
  35866. * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
  35867. * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
  35868. * sysdeps/mips/tst-abi-interlink.c: Likewise.
  35869. * sysdeps/mips/tst-mode-switch-1.c: Likewise.
  35870. * sysdeps/mips/tst-mode-switch-2.c: Likewise.
  35871. * sysdeps/mips/tst-mode-switch-3.c: Likewise.
  35872. * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
  35873. record the current FP ABI extension.
  35874. (mips-mode-switch): Define to show if kernel headers support mode
  35875. switching.
  35876. * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
  35877. * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
  35878. supported SYSV ABI version to 3.
  35879. * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
  35880. feature.
  35881. 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  35882. Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  35883. * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
  35884. path.
  35885. * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
  35886. 2014-12-31 Joseph Myers <joseph@codesourcery.com>
  35887. * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
  35888. __fegetround and redefine to call __fegetround. Remove condition
  35889. on [!__NO_MATH_INLINES].
  35890. * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
  35891. function.
  35892. * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
  35893. * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
  35894. Remove macro.
  35895. * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
  35896. instead of <fenv_libc.h>.
  35897. (__llrintl): Call fegetround instead of __fegetround.
  35898. * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
  35899. instead of <fenv_libc.h>.
  35900. * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
  35901. (__lrintl): Call fegetround instead of __fegetround.
  35902. * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
  35903. instead of <fenv_libc.h>.
  35904. * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
  35905. (__rintl): Call fegetround instead of __fegetround.
  35906. 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
  35907. * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
  35908. arrays.
  35909. 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
  35910. [BZ #17775]
  35911. * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
  35912. (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
  35913. (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
  35914. 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
  35915. * sysdeps/i386/tls-macros.h: Include <features.h>.
  35916. (TLS_LE): Use non-PIC version for GCC >= 5.0.
  35917. (TLS_IE): Likewise.
  35918. (TLS_LD): Likewise.
  35919. (TLS_GD): Likewise.
  35920. * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
  35921. define for GCC >= 5.0.
  35922. 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
  35923. * math/test-fenv.c (test_single_exception, set_single_exc,
  35924. feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
  35925. feexcp_mask_test, feenable_test, fe_single_test): Add
  35926. [!FE_ALL_EXCEPT] test so these routines are not compiled in the
  35927. case where they are not used.
  35928. * math/libm-test.inc: Likewise.
  35929. * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
  35930. unused in the absence of FP rounding/exception support.
  35931. * stdio-common/tst-printf-round.c: Likewise.
  35932. * stdlib/tst-strtod-round.c: Likewise.
  35933. * stdlib/tst-strtod-underflow.c: Likewise.
  35934. 2014-12-30 Joseph Myers <joseph@codesourcery.com>
  35935. [BZ #17723]
  35936. * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
  35937. * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
  35938. * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
  35939. __feraiseexcept and define as weak alias of __feraiseexcept. Use
  35940. libm_hidden_weak.
  35941. * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
  35942. * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
  35943. * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
  35944. libm_hidden_def.
  35945. * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
  35946. __feraiseexcept and define as weak alias of __feraiseexcept. Use
  35947. libm_hidden_weak.
  35948. * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
  35949. Likewise.
  35950. * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
  35951. * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
  35952. __feraiseexcept and define as weak alias of __feraiseexcept. Use
  35953. libm_hidden_weak.
  35954. * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
  35955. libm_hidden_def.
  35956. * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
  35957. * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
  35958. (__feraiseexcept): Likewise.
  35959. * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
  35960. __feraiseexcept and define as weak alias of __feraiseexcept. Use
  35961. libm_hidden_weak.
  35962. * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
  35963. * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
  35964. libm_hidden_def.
  35965. * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
  35966. * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
  35967. Use libm_hidden_def.
  35968. * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
  35969. libm_hidden_def.
  35970. (feraiseexcept): Define as weak not strong alias. Use
  35971. libm_hidden_weak.
  35972. * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
  35973. New inline function. Factored out of ...
  35974. (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
  35975. * sysdeps/x86/fpu/include/bits/fenv.h: New file.
  35976. * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
  35977. feraiseexcept.
  35978. * math/w_acos.c (__acos): Likewise.
  35979. * math/w_asin.c (__asin): Likewise.
  35980. * math/w_ilogb.c (__ilogb): Likewise.
  35981. * math/w_j0.c (y0): Likewise.
  35982. * math/w_j1.c (y1): Likewise.
  35983. * math/w_jn.c (yn): Likewise.
  35984. * math/w_log.c (__log): Likewise.
  35985. * math/w_log10.c (__log10): Likewise.
  35986. * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
  35987. * sysdeps/aarch64/fpu/math_private.h
  35988. (libc_feupdateenv_test_aarch64): Likewise.
  35989. * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
  35990. * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
  35991. * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
  35992. * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
  35993. * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
  35994. * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
  35995. * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
  35996. * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
  35997. * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
  35998. * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
  35999. 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
  36000. [BZ #17732]
  36001. * io/test-utime.c (main): Replace %ld with %jd and cast to
  36002. intmax_t.
  36003. * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
  36004. * nptl/tst-mutex5.c: Include <stdint.h>.
  36005. (do_test): Replace %ld with %jd and cast to intmax_t.
  36006. * posix/tst-regex.c (run_test): Likewise.
  36007. (run_test_backwards): Likewise.
  36008. * rt/tst-clock.c: Include <stdint.h>.
  36009. (clock_test): Replace %ld with %jd and cast to intmax_t.
  36010. * rt/tst-cpuclock1.c: Include <stdint.h>.
  36011. (do_test): Replace %lu with %ju and cast to uintmax_t.
  36012. * rt/tst-cpuclock2.c: Include <stdint.h>.
  36013. (do_test): Replace %lu with %ju and cast to uintmax_t.
  36014. * rt/tst-mqueue1.c: Include <stdint.h>.
  36015. (check_attrs): Replace %ld with %jd and cast to intmax_t.
  36016. * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
  36017. intmax_t.
  36018. * rt/tst-mqueue4.c (do_test): Likewise.
  36019. * rt/tst-timer4.c: Include <stdint.h>.
  36020. (check_ts): Replace %ld with %jd and cast to intmax_t.
  36021. (do_test): Likewise.
  36022. * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
  36023. and cast to intmax_t.
  36024. * sysdeps/pthread/tst-timer.c (main): Likewise.
  36025. * time/clocktest.c (main): Likewise.
  36026. * time/tst-posixtz.c (do_test): Likewise.
  36027. * timezone/tst-timezone.c (main): Likewise.
  36028. 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
  36029. H.J. Lu <hongjiu.lu@intel.com>
  36030. * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
  36031. * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
  36032. * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
  36033. * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
  36034. * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
  36035. version if bit_Fast_Unaligned_Load is set.
  36036. * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
  36037. * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
  36038. * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
  36039. * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
  36040. * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
  36041. * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
  36042. * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
  36043. bcopy-sse2-unaligned, memcpy-sse2-unaligned,
  36044. memmove-sse2-unaligned and mempcpy-sse2-unaligned.
  36045. * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
  36046. to 4.
  36047. (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
  36048. __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
  36049. __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
  36050. __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
  36051. 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
  36052. * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
  36053. instead of #if to avoid a Wundef warning.
  36054. * stdlib/tst-limits.c (do_test): Likewise.
  36055. * sysdeps/tile/math_private.h (fetestexcept): Add macro to
  36056. parallel other exception macros.
  36057. (fegetenv): Convert from macro to extern inline so that it applies
  36058. retroactively to inline functions already seen by the compiler.
  36059. (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
  36060. * posix/Makefile (before-compile): Use $(objpfx) for
  36061. posix-conf-vars-def.h.
  36062. 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
  36063. * posix/getconf.c (main): Use size_t for type of I.
  36064. * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
  36065. NSPEC.
  36066. * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
  36067. * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
  36068. * posix/posix-envs.def: Likewise.
  36069. * sysdeps/posix/sysconf.c: Likewise.
  36070. * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
  36071. (specs): Remove array.
  36072. * scripts/gen-posix-conf-vars.awk: Support generation of specs
  36073. array.
  36074. * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
  36075. * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
  36076. (__sysconf): Use CONF_IS_* macros.
  36077. * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
  36078. ($(objpfx)posix-conf-vars-def.h): New target.
  36079. * posix/posix-conf-vars.list: New file.
  36080. * posix/posix-conf-vars.h: New file.
  36081. * posix/confstr.c: Include posix-conf-vars.h.
  36082. (confstr): Use CONF_IS_* macros.
  36083. * posix/posix-envs.def: Include posix-conf-vars.h. Use
  36084. CONF_IS_* macros.
  36085. * scripts/gen-posix-conf-vars.awk: New file.
  36086. 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
  36087. * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
  36088. fegetround): Add no-op macros to avoid linknamespace issues.
  36089. * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
  36090. definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
  36091. * sysdeps/unix/sysv/linux/tile/sysdep.h
  36092. (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
  36093. assembly-specific section to avoid a redefinition warning.
  36094. * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
  36095. long before casting to pointer to avoid a cast warning.
  36096. 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
  36097. * sysdeps/tile/tilegx/Implies: New file.
  36098. 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
  36099. * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
  36100. 2014-12-23 Florian Weimer <fweimer@redhat.com>
  36101. * iconvdata/run-iconv-test.sh: Actually test iconv modules.
  36102. 2014-12-22 Joseph Myers <joseph@codesourcery.com>
  36103. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
  36104. not define.
  36105. * sysdeps/unix/sysv/linux/utimes.c: Do not include
  36106. <kernel-features.h>.
  36107. (__utimes) [__NR_utimes]: Make code unconditional.
  36108. (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
  36109. * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
  36110. (__ASSUME_UTIMES): Do not undefine.
  36111. * sysdeps/unix/sysv/linux/tile/kernel-features.h
  36112. (__ASSUME_UTIMES): Likewise.
  36113. * sysdeps/unix/sysv/linux/hppa/kernel-features.h
  36114. (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
  36115. instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
  36116. * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
  36117. 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
  36118. * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
  36119. 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
  36120. [BZ #17747]
  36121. * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
  36122. alias to weak alias for j0l, y0l.
  36123. * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
  36124. * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
  36125. [BZ #17746]
  36126. * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
  36127. conversion.
  36128. 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
  36129. * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
  36130. to zero if not already defined.
  36131. 2014-12-22 Joseph Myers <joseph@codesourcery.com>
  36132. [BZ #17724]
  36133. * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
  36134. (__kernel_standard_f): Remove. Moved to k_standardf.c.
  36135. (__kernel_standard_l): Remove. Moved to k_standardl.c with
  36136. (char *) casts added.
  36137. * sysdeps/ieee754/k_standardf.c: New file.
  36138. * sysdeps/ieee754/k_standardl.c: Likewise.
  36139. * math/Makefile (libm-support): Remove k_standard.
  36140. (libm-calls): Add k_standard.
  36141. 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
  36142. * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
  36143. Optimize to avoid an unnecessary FPCR read.
  36144. 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
  36145. * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
  36146. Optimize to reduce FPCR/FPSR accesses.
  36147. 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
  36148. * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
  36149. Call libc_fetestexcept_aarch64.
  36150. 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
  36151. * sysdeps/aarch64/fpu/fesetround.c (fesetround):
  36152. Call libc_fesetround_aarch64.
  36153. 2014-12-22 Joseph Myers <joseph@codesourcery.com>
  36154. [BZ #17733]
  36155. * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
  36156. (__bind): Do not define as weak alias.
  36157. * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
  36158. define.
  36159. (__getsockname): Do not define as weak alias.
  36160. 2014-12-22 Will Newton <will.newton@linaro.org>
  36161. * manual/install.texi: Document that we require bison 2.7
  36162. or above.
  36163. * INSTALL: Regenerate.
  36164. * configure.ac: Use AC_CHECK_PROG_VER instead of
  36165. AC_PATH_PROG when checking for bison and check for
  36166. version 2.7 or above.
  36167. * configure: Regenerate.
  36168. 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
  36169. [BZ #17745]
  36170. * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
  36171. * sysdeps/tile/ffsll.c (ffsll): To here.
  36172. * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
  36173. 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
  36174. * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
  36175. if not defined.
  36176. * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
  36177. definition.
  36178. * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
  36179. hidden ___tls_get_addr.
  36180. * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
  36181. hidden __tls_get_addr.
  36182. * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
  36183. * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
  36184. Likewise.
  36185. 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
  36186. * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
  36187. _dl_init call.
  36188. 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
  36189. * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
  36190. from "call _dl_init@PLT".
  36191. * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
  36192. 2014-12-21 Anders Kaseorg <andersk@mit.edu>
  36193. * manual/search.texi: (Array Sort Function): Clarify stable sorting
  36194. guarantees.
  36195. 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
  36196. * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
  36197. 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
  36198. [BZ #17744]
  36199. * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
  36200. strnlen.
  36201. 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
  36202. * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
  36203. of multu on MIPSr6.
  36204. * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
  36205. * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
  36206. * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
  36207. * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
  36208. * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
  36209. 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
  36210. * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
  36211. (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
  36212. (PTR_SUBU): Use subu for mips32r6/mips64r6.
  36213. (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
  36214. * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
  36215. mips32r6/mips64r6.
  36216. (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
  36217. 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
  36218. * string/strncat.c (STRNCAT): Simplify implementation.
  36219. 2014-12-19 David S. Miller <davem@davemloft.net>
  36220. * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
  36221. access the quad as both a long double and as a series of 4 words.
  36222. * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
  36223. link_map->l_info array access.
  36224. 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
  36225. * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
  36226. * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
  36227. * math/atest-exp2.c (TIMEOUT): Likewise.
  36228. * math/atest-sincos.c (TIMEOUT): Likewise.
  36229. 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
  36230. * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
  36231. -Wno-error with -fno-builtin-lround.
  36232. 2014-12-19 Torvald Riegel <triegel@redhat.com>
  36233. * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
  36234. Contains futex constants and functions moved over from ...
  36235. * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
  36236. <lowlevellock-futex.h>.
  36237. (lll_wait_tid): Use lll_futex_wait instead of assembly code.
  36238. (lll_timedwait_tid): Add comments and parentheses around macro
  36239. arguments.
  36240. 2014-12-19 Torvald Riegel <triegel@redhat.com>
  36241. * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
  36242. <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
  36243. (__lll_private_flag): Remove.
  36244. (lll_futex_wait): Likewise.
  36245. (lll_futex_timed_wait): Likewise.
  36246. (lll_futex_wake): Likewise.
  36247. (lll_futex_requeue): Likewise.
  36248. (lll_wait_tid): Use lll_futex_wait instead of assembly code.
  36249. (__lll_timedwait_tid): Spell out argument names.
  36250. (lll_timedwait_tid): Add comments and parentheses around macro
  36251. arguments.
  36252. * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
  36253. LLL_SHARED and LLL_PRIVATE usable from assembly code.
  36254. 2014-12-19 Torvald Riegel <triegel@redhat.com>
  36255. * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
  36256. * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
  36257. * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
  36258. * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
  36259. * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
  36260. * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
  36261. * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
  36262. * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
  36263. * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
  36264. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
  36265. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
  36266. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
  36267. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
  36268. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
  36269. * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
  36270. * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
  36271. * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
  36272. * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
  36273. * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
  36274. 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
  36275. * sysdeps/x86_64/x32/Makefile: New file.
  36276. 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
  36277. * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
  36278. 1L with (mp_limb_t) 1.
  36279. 2014-12-17 Roland McGrath <roland@hack.frob.com>
  36280. * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
  36281. * nptl/libc_pthread_init.c: ... here.
  36282. * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
  36283. * nptl/register-atfork.c: ... here.
  36284. * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
  36285. Use pthread_sigmask rather than INTERNAL_SYSCALL.
  36286. Use assert_perror to check its return value.
  36287. (__gai_create_helper_thread): Likewise.
  36288. * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
  36289. * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
  36290. 2014-12-17 Joseph Myers <joseph@codesourcery.com>
  36291. [BZ #17725]
  36292. * sysdeps/generic/profil-counter.h (profil_counter): Rename to
  36293. __profil_counter.
  36294. * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
  36295. Likewise.
  36296. * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
  36297. Likewise.
  36298. * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
  36299. Likewise.
  36300. * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
  36301. (profil_counter): Likewise.
  36302. * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
  36303. (profil_counter): Likewise.
  36304. * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
  36305. Likewise.
  36306. * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
  36307. Likewise.
  36308. * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
  36309. (profil_counter): Likewise.
  36310. * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
  36311. Likewise.
  36312. [!__profil_counter] (profil_counter): Define as weak alias of
  36313. __profil_counter.
  36314. * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
  36315. (profil_counter): Rename to __profil_counter.
  36316. [!__profil_counter] (profil_counter): Define as weak alias of
  36317. __profil_counter.
  36318. * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
  36319. (profil_counter): Rename to __profil_counter.
  36320. [!__profil_counter] (profil_counter): Define as weak alias of
  36321. __profil_counter.
  36322. * sysdeps/posix/profil.c: Update comment referring to
  36323. profil_counter.
  36324. (__profil): Use __profil_counter instead of profil_counter.
  36325. * sysdeps/posix/sprofil.c (profil_counter): Rename to
  36326. __profil_counter. Use __profil_counter_ushort and
  36327. __profil_counter_uint in definitions.
  36328. (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
  36329. instead of profil_counter_uint and profil_counter_ushort.
  36330. [BZ #17722]
  36331. * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
  36332. define as weak alias of __inet_makeaddr.
  36333. * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
  36334. as weak alias of __inet_addr.
  36335. * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
  36336. as weak alias of __inet_pton. Use libc_hidden_weak.
  36337. * include/arpa/inet.h (__inet_pton): Declare. Use
  36338. libc_hidden_proto.
  36339. (inet_makeaddr): Don't use libc_hidden_proto.
  36340. (__inet_makeaddr): Declare. Use libc_hidden_proto.
  36341. * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
  36342. inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
  36343. * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
  36344. Remove variable.
  36345. (test-xfail-POSIX/sched.h/linknamespace): Likewise.
  36346. (test-xfail-POSIX/time.h/linknamespace): Likewise.
  36347. 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
  36348. * inet/getnetgrent_r.c: Move while loop to be inside if statement.
  36349. 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
  36350. * stdio-common/bug-vfprintf-nargs.c (do_test):
  36351. Cast value to intptr_t to avoid format warning
  36352. for usage with PRIdPTR printing macro.
  36353. 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
  36354. * libio/tst-widetext.c (do_test):
  36355. Use format type %td instead of %Zd for ptrdiff_t
  36356. in order to avoid format warning.
  36357. 2014-12-17 Andreas Schwab <schwab@suse.de>
  36358. * nscd/mem.c (gc): Add size_t cast to match printf format.
  36359. 2014-12-16 Roland McGrath <roland@hack.frob.com>
  36360. * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
  36361. (init): Apply PTR_MANGLE to pointers before storing them.
  36362. (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
  36363. before using them.
  36364. 2014-12-16 Joseph Myers <joseph@codesourcery.com>
  36365. [BZ #17719]
  36366. * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
  36367. define as weak alias of __memrchr.
  36368. (__memrchr): Do not define as strong alias of memrchr.
  36369. * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
  36370. Remove variable.
  36371. (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
  36372. (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
  36373. (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
  36374. [BZ #17717]
  36375. * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
  36376. define as weak alias of __if_nametoindex. Use libc_hidden_weak.
  36377. (if_indextoname): Rename to __if_indextoname and define as weak
  36378. alias of __if_indextoname. Use libc_hidden_weak.
  36379. (if_freenameindex): Rename to __if_freenameindex and define as
  36380. weak alias of __if_freenameindex.
  36381. (if_nameindex): Rename to __if_nameindex and define as weak alias
  36382. of __if_nameindex.
  36383. * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
  36384. __if_nametoindex and define as weak alias of __if_nametoindex.
  36385. Use libc_hidden_weak.
  36386. (if_freenameindex): Rename to __if_freenameindex and define as
  36387. weak alias of __if_freenameindex.
  36388. (if_nameindex): Rename to __if_nameindex and define as weak alias
  36389. of __if_nameindex.
  36390. (if_indextoname): Rename to __if_indextoname and define as weak
  36391. alias of __if_indextoname. Use libc_hidden_weak.
  36392. * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
  36393. __if_nametoindex and define as weak alias of __if_nametoindex.
  36394. Use libc_hidden_weak.
  36395. (if_freenameindex): Rename to __if_freenameindex and define as
  36396. weak alias of __if_freenameindex. Use libc_hidden_weak.
  36397. (if_nameindex_netlink): Use __if_freenameindex instead of
  36398. if_freenameindex.
  36399. (if_nameindex): Rename to __if_nameindex and define as weak alias
  36400. of __if_nameindex. Use libc_hidden_weak.
  36401. (if_indextoname): Rename to __if_indextoname and define as weak
  36402. alias of __if_indextoname. Use libc_hidden_weak.
  36403. * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
  36404. libc_hidden_proto.
  36405. [!_ISOMAC] (__if_freenameindex): Likewise.
  36406. * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
  36407. if_nametoindex.
  36408. * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
  36409. variable.
  36410. (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
  36411. (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
  36412. (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
  36413. (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
  36414. (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
  36415. (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
  36416. (test-xfail-UNIX98/time.h/linknamespace): Likewise.
  36417. * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
  36418. Remove variable.
  36419. (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
  36420. (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
  36421. 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
  36422. * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
  36423. subscript above bounds'
  36424. * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
  36425. bounds.
  36426. 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
  36427. * libio/tst-fopenloc.c: Use test-skeleton.c.
  36428. * stdlib/tst-bsearch.c: Use test-skeleton.c.
  36429. (entry): Rename to ITEM.
  36430. (do_test, comp): Adjust.
  36431. * stdio-common/tst-fseek.c: Use test-skeleton.c.
  36432. 2014-12-16 Torvald Riegel <triegel@redhat.com>
  36433. * string/tester.c: Include <libc-internal.h>.
  36434. (test_memset): Ignore -Wmemset-transposed-args.
  36435. 2014-12-16 Torvald Riegel <triegel@redhat.com>
  36436. * misc/tst-mntent2.c (do_test): Fix warning.
  36437. 2014-12-16 Torvald Riegel <triegel@redhat.com>
  36438. * elf/tst-unique4lib.cc(a): Mark as used.
  36439. 2014-12-16 Florian Weimer <fweimer@redhat.com>
  36440. [BZ #17630]
  36441. * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
  36442. names.
  36443. 2014-12-16 Allan McRae <allan@archlinux.org>
  36444. * stdio-common/Makefile (tests): Re-add bug26.
  36445. 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
  36446. [BZ #17657]
  36447. * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
  36448. static array.
  36449. 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
  36450. * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
  36451. (__lll_lock_wait): Likewise.
  36452. (__lll_timedlock_wait): Likewise.
  36453. (__lll_timedwait_tid): Likewise.
  36454. * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
  36455. (__lll_robust_timedlock_wait): Likewise.
  36456. * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
  36457. (lll_cond_trylock): Likewise.
  36458. (__lll_lock): Likewise.
  36459. (__lll_robust_lock): Likewise.
  36460. (__lll_cond_lock): Likewise.
  36461. (lll_robust_cond_lock): Likewise.
  36462. (__lll_timedlock): Likewise.
  36463. (__lll_robust_timedlock): Likewise.
  36464. (__lll_unlock): Likewise.
  36465. (__lll_robust_unlock): Likewise.
  36466. (lll_wait_tid): Likewise.
  36467. (lll_timedwait_tid): Likewise.
  36468. 2014-12-15 Torvald Riegel <triegel@redhat.com>
  36469. * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
  36470. 2014-12-15 Torvald Riegel <triegel@redhat.com>
  36471. * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
  36472. 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
  36473. * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
  36474. * stdio-common/tst-sprintf.c: Likewise.
  36475. 2014-12-15 Torvald Riegel <triegel@redhat.com>
  36476. * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
  36477. 2014-12-15 Jeff Law <law@redhat.com>
  36478. [BZ #16617]
  36479. * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
  36480. on the heap. (CVE-2012-3406)
  36481. * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
  36482. * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
  36483. * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
  36484. 2014-12-15 Will Newton <will.newton@linaro.org>
  36485. * manual/install.texi: Bump required version of texinfo
  36486. to 4.7 from 4.5.
  36487. * INSTALL: Regenerated.
  36488. * configure.ac: Check for makeinfo version 4.7 and above.
  36489. * configure: Regenerated.
  36490. 2014-12-12 Roland McGrath <roland@hack.frob.com>
  36491. * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
  36492. PREFIX, string constant to insert between directory and name.
  36493. * sysdeps/posix/shm_open.c: Update caller.
  36494. * sysdeps/posix/shm_unlink.c: Likewise.
  36495. * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
  36496. (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
  36497. (SEM_SHM_PREFIX): New macro.
  36498. * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
  36499. [$(have-thread-library) = no].
  36500. * nptl/Makefile (libpthread-routines): Add shm-directory.
  36501. * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
  36502. * sysdeps/nptl/shm-directory.h: New file.
  36503. * sysdeps/posix/shm-directory.c
  36504. [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
  36505. * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
  36506. * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
  36507. INTERNAL_SYSCALL.
  36508. (__where_is_shmfs): Function removed.
  36509. (mountpoint, defaultmount, defaultdir, __namedsem_once):
  36510. Variables removed.
  36511. (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
  36512. Use SHM_GET_NAME.
  36513. * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
  36514. * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
  36515. (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
  36516. unconditional for use inside libpthread.
  36517. [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
  36518. 2014-12-12 Roland McGrath <roland@hack.frob.com>
  36519. * nptl/pthread_getaffinity.c: New file.
  36520. * nptl/pthread_setaffinity.c: New file.
  36521. * nptl/pthread_getname.c: New file.
  36522. * nptl/pthread_setname.c: New file.
  36523. * nptl/pthread_create.c (START_THREAD_DEFN)
  36524. [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
  36525. 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
  36526. Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  36527. * resolv/res_send.c (send_vc): Disable warning resplen may
  36528. be used uninitialized.
  36529. 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
  36530. * nptl/tst-mutex6.c
  36531. (ATTR_NULL): New define checks ATTR against NULL.
  36532. (do_test): Use !ATTR_NULL instead of ATTR != NULL.
  36533. * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
  36534. 2014-12-11 James Lemke <jwlemke@codesourcery.com>
  36535. [BZ #17581]
  36536. * malloc/hooks.c
  36537. (mem2mem_check): Revert my previous change.
  36538. (malloc_check_get_size): Revert my previous change.
  36539. (mem2chunk_check): Revert my previous change.
  36540. 2014-12-11 Roland McGrath <roland@hack.frob.com>
  36541. * sysdeps/posix/shm-directory.c: New file.
  36542. * sysdeps/posix/shm-directory.h: New file.
  36543. * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
  36544. * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
  36545. Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
  36546. * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
  36547. Transmute EPERM to EACCES.
  36548. * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
  36549. from ...
  36550. * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
  36551. * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
  36552. 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  36553. * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
  36554. pointer and cast to uintptr_t.
  36555. * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
  36556. * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
  36557. Add cast to avoid warning.
  36558. * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
  36559. 2014-12-11 Joseph Myers <joseph@codesourcery.com>
  36560. * nptl/semaphore.h: Move to ...
  36561. * sysdeps/pthread/semaphore.h: ... here.
  36562. * Makefile (installed-headers): Change nptl/semaphore.h to
  36563. sysdeps/pthread/semaphore.h.
  36564. 2014-12-11 Roland McGrath <roland@hack.frob.com>
  36565. * misc/tst-error1.c (do_test): Ignore -Wformat-security for
  36566. generated error format strings.
  36567. * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
  36568. -Wformat-extra-args warnings for scanf formats.
  36569. * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
  36570. test of zero-length format (duh).
  36571. * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
  36572. corner-case scanf format test.
  36573. * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
  36574. generated fprintf format string.
  36575. * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
  36576. corner-case sprintf format tests.
  36577. * stdio-common/tst-printf.c: Ignore -Wformat throughout.
  36578. * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
  36579. -Wformat-extra-args warnings throughout.
  36580. * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
  36581. (CFLAGS-scanf4.c): Likewise.
  36582. (CFLAGS-scanf7.c): Likewise.
  36583. (CFLAGS-tst-sprintf.c): Likewise.
  36584. (CFLAGS-tst-printf.c): Likewise.
  36585. (CFLAGS-tst-printfsz.c): Likewise.
  36586. 2014-12-11 Joseph Myers <joseph@codesourcery.com>
  36587. * include/cpio.h: New file.
  36588. * include/fmtmsg.h: Likewise.
  36589. * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
  36590. corresponding format argument to size_t.
  36591. * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
  36592. arguments.
  36593. * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
  36594. corresponding format argument to size_t.
  36595. * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
  36596. arguments.
  36597. * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
  36598. corresponding format argument to size_t.
  36599. * tst-trans.c (do_test): Use %lc format for wint_t arguments.
  36600. * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
  36601. (CFLAGS-tst-mbswcs2.c): Likewise.
  36602. (CFLAGS-tst-mbswcs3.c): Likewise.
  36603. (CFLAGS-tst-mbswcs4.c): Likewise.
  36604. (CFLAGS-tst-mbswcs5.c): Likewise.
  36605. (CFLAGS-tst-trans.c): Likewise.
  36606. 2014-12-11 Roland McGrath <roland@hack.frob.com>
  36607. * posix/regexbug1.c (main): Use "%s" format with regerror results,
  36608. rather than assuming they won't contain any '%'s.
  36609. 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
  36610. * sysdeps/tile/tilegx/memset.c (__memcpy): Add
  36611. inhibit_loop_to_libcall to avoid recursive calls.
  36612. * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
  36613. * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
  36614. 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
  36615. * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
  36616. prototype.
  36617. 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
  36618. * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
  36619. integer value instead of boolean.
  36620. 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
  36621. * malloc/malloc.c: Fix powerof2 check.
  36622. 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
  36623. * locale/programs/locfile.h (maybe_swap_uint32):
  36624. Remove inline and add unused attribute.
  36625. 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
  36626. * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
  36627. Truncating assembler expression to a .long expression.
  36628. 2014-12-11 Andreas Schwab <schwab@suse.de>
  36629. * elf/rtld.c (struct map_args): Constify str member.
  36630. (do_preload): Constify fname argument.
  36631. 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  36632. * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
  36633. constants definition.
  36634. 2014-12-11 Andreas Schwab <schwab@suse.de>
  36635. [BZ #16657]
  36636. * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
  36637. FORCE_ELISION instead of DO_ELISION.
  36638. * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
  36639. Remove.
  36640. * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
  36641. Likewise.
  36642. * iconvdata/gconv-modules: Remove duplicate entry.
  36643. 2014-12-11 Will Newton <will.newton@linaro.org>
  36644. Merge gettext 0.19.3 into intl/.
  36645. This involves a number of cosmetic changes to comments
  36646. and ANSI function definitions and prototypes throughout
  36647. all the files. The gettext copyright header is used but
  36648. with the date ranges taken from the glibc copy.
  36649. * NEWS: Add gettext merge to 2.21.
  36650. * intl/bindtextdom.c: Switch to gettext copyright.
  36651. Use ANSI definitions and prototypes.
  36652. Use gl_* locking primitives rather than __libc_* ones.
  36653. Use __builtin_expect rather than __glibc_likely/unlikely.
  36654. * intl/dcgettext.c: Switch to gettext copyright.
  36655. Use ANSI definitions and prototypes.
  36656. * intl/dcigettext.c: Switch to gettext copyright.
  36657. Use ANSI definitions and prototypes.
  36658. (INTDIV0_RAISES_SIGFPE): New define.
  36659. Use gl_* locking primitives rather than __libc_* ones.
  36660. Include eval-plural.h instead of plural-eval.c.
  36661. Use __builtin_expect rather than __glibc_likely/unlikely.
  36662. * intl/dcngettext.c: Switch to gettext copyright.
  36663. Use ANSI definitions and prototypes.
  36664. * intl/dgettext.c: Likewise.
  36665. * intl/dngettext.c: Likewise.
  36666. * intl/plural-eval.c: Renamed to...
  36667. * intl/eval-plural.h: ...this.
  36668. * intl/explodename.c: Switch to gettext copyright.
  36669. Use ANSI definitions and prototypes.
  36670. (_nl_explode_name): Use strchr instead of __rawmemchr.
  36671. * intl/finddomain.c: Switch to gettext copyright.
  36672. Use ANSI definitions and prototypes.
  36673. Use gl_* locking primitives rather than __libc_* ones.
  36674. (_nl_find_domain): Use malloc rather than alloca for
  36675. allocation of temporary locale name.
  36676. * intl/gettext.c: Switch to gettext copyright.
  36677. Use ANSI definitions and prototypes.
  36678. * intl/gettextP.h: Switch to gettext copyright.
  36679. Use ANSI definitions and prototypes.
  36680. Use gl_* locking primitives rather than __libc_* ones.
  36681. * intl/gmo.h: Switch to gettext copyright.
  36682. (struct sysdep_string): Move struct segment_pair outside of
  36683. struct definition.
  36684. * intl/hash-string.c: Use ANSI definitions and prototypes.
  36685. * intl/hash-string.h: Switch to gettext copyright.
  36686. Use ANSI definitions and prototypes.
  36687. * intl/l10nflist.c: Switch to gettext copyright.
  36688. Use ANSI definitions and prototypes.
  36689. (_nl_normalize_codeset): Avoid integer overflow.
  36690. * intl/loadinfo.h: Switch to gettext copyright.
  36691. Use ANSI definitions and prototypes.
  36692. (LIBINTL_DLL_EXPORTED): New define.
  36693. (PATH_SEPARATOR): New define.
  36694. * intl/loadmsgcat.c: Switch to gettext copyright.
  36695. * intl/localealias.c: Switch to gettext copyright.
  36696. Use ANSI definitions and prototypes.
  36697. (_nl_expand_alias): Use PATH_SEPARATOR.
  36698. * intl/ngettext.c: Switch to gettext copyright.
  36699. Use ANSI definitions and prototypes.
  36700. * intl/plural-exp.c: Likewise.
  36701. * intl/plural-exp.h: Switch to gettext copyright.
  36702. Use ANSI definitions and prototypes.
  36703. (struct expression): Move definition of enum operator outside
  36704. of struct definition.
  36705. * intl/plural.c: Regenerate.
  36706. * intl/plural.y: Switch to gettext copyright.
  36707. Use ANSI definitions and prototypes.
  36708. Port to bison 3.0.
  36709. * intl/textdomain.c: Switch to gettext copyright.
  36710. Use ANSI definitions and prototypes.
  36711. Use gl_* locking primitives rather than __libc_* ones.
  36712. 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
  36713. * debug/warning-nop.c: Add used atrribute.
  36714. 2014-12-10 Joseph Myers <joseph@codesourcery.com>
  36715. * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
  36716. * sysdeps/unix/sysv/linux/mips/mips64/Makefile
  36717. [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
  36718. [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
  36719. 2014-12-10 Joseph Myers <joseph@codesourcery.com>
  36720. Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  36721. [BZ #17634]
  36722. * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
  36723. Undefine after defining function. Define as weak alias of
  36724. __wcschr. Use libc_hidden_weak.
  36725. * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
  36726. * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
  36727. (libc_hidden_def): Also define __GI___wcschr alias.
  36728. * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
  36729. __wcschr and define as weak alias of __wcschr.
  36730. * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
  36731. __wcschr.
  36732. [!WCSCHR] (DEFAULT_WCSCHR): Define.
  36733. [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
  36734. [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
  36735. libc_hidden_weak. Do not use libc_hidden_def.
  36736. * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
  36737. [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
  36738. __GI___wcschr alias.
  36739. * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
  36740. [IS_IN (libc)] (wcschr): Define as macro expanding to
  36741. __redirect_wcschr.
  36742. [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
  36743. [IS_IN (libc)] (__wcschr_power6): Likewise.
  36744. [IS_IN (libc)] (__wcschr_power7): Likewise.
  36745. [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
  36746. instead of wcschr.
  36747. [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
  36748. __libc_wcschr.
  36749. [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
  36750. * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
  36751. __wcschr and define as weak alias of __wcschr. Use
  36752. libc_hidden_builtin_def.
  36753. * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
  36754. as weak alias of __wcschr. Use libc_hidden_weak.
  36755. * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
  36756. wcschr.
  36757. * time/era.c (_nl_init_era_entries): Likewise.
  36758. * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
  36759. variable.
  36760. (test-xfail-XPG3/time.h/linknamespace): Likewise.
  36761. (test-xfail-XPG4/time.h/linknamespace): Likewise.
  36762. 2014-12-10 Joseph Myers <joseph@codesourcery.com>
  36763. * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
  36764. format for long int variable.
  36765. 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
  36766. [BZ #10672]
  36767. * manual/search.texi: (Array Sort Function): Remove claim how to make
  36768. qsort stable.
  36769. 2014-12-10 Andreas Schwab <schwab@suse.de>
  36770. [BZ #12847]
  36771. * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
  36772. user-controlled locks.
  36773. 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
  36774. * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
  36775. register.
  36776. 2014-12-10 Joseph Myers <joseph@codesourcery.com>
  36777. * configure.ac (--disable-werror): New configure option.
  36778. (enable_werror): New AC_SUBST.
  36779. * configure: Regenerated.
  36780. * config.make.in (enable-werror): New variable.
  36781. * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
  36782. -Wno-error=undef.
  36783. (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
  36784. * manual/install.texi (Configuring and compiling): Document
  36785. --disable-werror.
  36786. * INSTALL: Regenerated.
  36787. * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
  36788. (CFLAGS-tst-chk2.c): Likewise.
  36789. (CFLAGS-tst-chk3.c): Likewise.
  36790. (CFLAGS-tst-chk4.cc): Likewise.
  36791. (CFLAGS-tst-chk5.cc): Likewise.
  36792. (CFLAGS-tst-chk6.cc): Likewise.
  36793. (CFLAGS-tst-lfschk1.c): Likewise.
  36794. (CFLAGS-tst-lfschk2.c): Likewise.
  36795. (CFLAGS-tst-lfschk3.c): Likewise.
  36796. (CFLAGS-tst-lfschk4.cc): Likewise.
  36797. (CFLAGS-tst-lfschk5.cc): Likewise.
  36798. (CFLAGS-tst-lfschk6.cc): Likewise.
  36799. * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
  36800. (main): Disable -Wdeprecated-declarations around calls to
  36801. register_printf_function.
  36802. * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
  36803. (do_test): Disable -Wdiv-by-zero around some calls to
  36804. fwrite_unlocked and fread_unlocked.
  36805. * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
  36806. (DIAG_POP_NEEDS_COMMENT): Likewise.
  36807. (_DIAG_STR1): Likewise.
  36808. (_DIAG_STR): Likewise.
  36809. (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
  36810. * stdio-common/bug21.c: Include <libc-internal.h>.
  36811. (do_test): Disable -Wformat around call to sscanf.
  36812. * stdio-common/scanf14.c: Include <libc-internal.h>.
  36813. (main): Disable -Wformat around some calls to scanf functions.
  36814. 2014-12-09 Torvald Riegel <triegel@redhat.com>
  36815. * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
  36816. 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  36817. * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
  36818. stack variable alignment.
  36819. 2014-12-06 Joseph Myers <joseph@codesourcery.com>
  36820. [BZ #17682]
  36821. * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
  36822. * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
  36823. * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
  36824. * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
  36825. * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
  36826. __getrlimit instead of getrlimit.
  36827. * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
  36828. __gettimeofday instead of gettimeofday.
  36829. * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
  36830. Likewise.
  36831. * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
  36832. Likewise.
  36833. * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
  36834. * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
  36835. Remove variable.
  36836. (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
  36837. (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
  36838. 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  36839. * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
  36840. for wide-character tests.
  36841. 2014-12-04 Roland McGrath <roland@hack.frob.com>
  36842. * io/openat64.c: #include <libc-internal.h>
  36843. (__openat64): Prototypify. Use ignore_value on MODE.
  36844. * io/openat.c: Likewise.
  36845. * misc/reboot.c: #include <libc-internal.h>
  36846. (reboot): Prototypify. Use ignore_value on HOWTO.
  36847. * misc/ptrace.c: #include <libc-internal.h>
  36848. (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
  36849. 2014-12-04 Joseph Myers <joseph@codesourcery.com>
  36850. * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
  36851. XPG4, UNIX98 and XOPEN2K.
  36852. * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
  36853. Remove variable.
  36854. (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
  36855. 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
  36856. * libio/fileops.c: Use ISO C style for function definitions.
  36857. * libio/iofopen.c: Likewise.
  36858. * libio/wfileops.c: Likewise.
  36859. [BZ #17653]
  36860. * libio/fileops.c (_IO_new_file_underflow): Unset cached
  36861. offset on EOF.
  36862. * libio/wfileops.c (_IO_wfile_underflow): Likewise.
  36863. * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
  36864. (fgets_func): Function pointer to fgets and fgetws.
  36865. (do_ftell_test): Add test to verify ftell value after read
  36866. EOF.
  36867. (do_test): Set fgets_func.
  36868. * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
  36869. O_TRUNC flag for w and w+ modes.
  36870. (do_rewind_test): Likewise.
  36871. (do_ftell_test): Likewise.
  36872. (do_write_test): Likewise.
  36873. [BZ #17647]
  36874. * libio/fileops.c (do_ftell): Seek only when there are
  36875. unflushed writes.
  36876. * libio/wfileops.c (do_ftell_wide): Likewise.
  36877. * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
  36878. test case.
  36879. (do_one_test): Call it.
  36880. 2014-12-03 Joseph Myers <joseph@codesourcery.com>
  36881. * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
  36882. for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
  36883. * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
  36884. Remove variable.
  36885. (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
  36886. (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
  36887. (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
  36888. 2014-12-02 Joseph Myers <joseph@codesourcery.com>
  36889. * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
  36890. Remove variable.
  36891. (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
  36892. [BZ #17668]
  36893. * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
  36894. as weak alias of __getifaddrs. Use libc_hidden_weak.
  36895. (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
  36896. __freeifaddrs. Use libc_hidden_weak.
  36897. * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
  36898. define as weak alias of __getifaddrs. Use libc_hidden_weak.
  36899. (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
  36900. __freeifaddrs. Use libc_hidden_weak.
  36901. * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
  36902. __getifaddrs and define as weak alias of __getifaddrs. Use
  36903. libc_hidden_weak.
  36904. (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
  36905. __freeifaddrs. Use libc_hidden_weak.
  36906. * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
  36907. Remove variable.
  36908. (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
  36909. (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
  36910. 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
  36911. [BZ #17601]
  36912. * sysdeps/mips/start.S (__start): Use indirect jump to call
  36913. __libc_start_main.
  36914. 2014-12-02 Joseph Myers <joseph@codesourcery.com>
  36915. * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
  36916. * nptl/tst-mutex1.c: Include <stdbool.h>.
  36917. [!ATTR] (ATTR_NULL): New macro.
  36918. (do_test): Test !ATTR_NULL instead of ATTR != NULL.
  36919. * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
  36920. * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
  36921. * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
  36922. to char *.
  36923. [BZ #17665]
  36924. * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
  36925. Change conditional to [__USE_MISC].
  36926. [BZ #17664]
  36927. * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
  36928. fgets_unlocked.
  36929. * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
  36930. __fgets_unlocked.
  36931. * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
  36932. fgets_unlocked.
  36933. * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
  36934. Remove variable.
  36935. (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
  36936. (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
  36937. (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
  36938. (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
  36939. (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
  36940. (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
  36941. (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
  36942. (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
  36943. (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
  36944. * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
  36945. 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  36946. * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
  36947. Remove strpbrk objects.
  36948. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  36949. (__libc_ifunc_impl_list): Remove strpbrk implementation.
  36950. * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
  36951. * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
  36952. * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
  36953. * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
  36954. * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
  36955. Remove strcspn objects.
  36956. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  36957. (__libc_ifunc_impl_list): Remove strcspn implementation.
  36958. * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
  36959. * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
  36960. * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
  36961. * sysdeps/powerpc/powerpc64/strcspn.S: New file.
  36962. * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
  36963. Remove strspn objetcs.
  36964. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  36965. (__libc_ifunc_impl_list): Remove strspn implementation.
  36966. * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
  36967. * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
  36968. * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
  36969. * sysdeps/powerpc/powerpc64/strspn.S: New file.
  36970. 2014-12-01 James Lemke <jwlemke@codesourcery.com>
  36971. [BZ #17581]
  36972. * malloc/hooks.c
  36973. (mem2mem_check): Add a terminator to the chain of checking blocks.
  36974. (malloc_check_get_size): Use it here.
  36975. (mem2chunk_check): Ditto.
  36976. 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  36977. * sysdeps/powerpc/powerpc64/strtok.S: New file.
  36978. * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
  36979. 2014-11-29 Carlos O'Donell <carlos@redhat.com>
  36980. * bits/ioctl-types.h: Indent preprocessor directives correctly.
  36981. * nptl/nptl-init.c: Include libc-internal.h.
  36982. (__pthread_initialize_minimal_internal): Use ROUND_UP.
  36983. * elf/ldconfig.c (search_dir): Expand comment.
  36984. 2014-11-29 Joseph Myers <joseph@codesourcery.com>
  36985. * conform/Makefile (linknamespace-symlist-stdlibs-base): New
  36986. variable.
  36987. (linknamespace-symlist-stdlibs-tests): Likewise.
  36988. (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
  36989. instead of $(objpfx)symlist-stdlibs.
  36990. (linknamespace-libs-isoc): New variable.
  36991. (linknamespace-libs): Use $(linknamespace-libs-isoc).
  36992. (linknamespace-libs-ISO): New variable.
  36993. (linknamespace-libs-ISO99): Likewise.
  36994. (linknamespace-libs-ISO11): Likewise.
  36995. (linknamespace-libs-XPG3): Likewise.
  36996. (linknamespace-libs-XPG4): Likewise.
  36997. (linknamespace-libs-POSIX): Likewise.
  36998. (linknamespace-libs-UNIX98): Likewise.
  36999. (linknamespace-libs-XOPEN2K): Likewise.
  37000. (linknamespace-libs-POSIX2008): Likewise.
  37001. (linknamespace-libs-XOPEN2K8): Likewise.
  37002. ($(objpfx)symlist-stdlibs): Replace by
  37003. $(linknamespace-symlist-stdlibs-tests). Use
  37004. $(linknamespace-libs-$*) as set of libraries.
  37005. ($(linknamespace-header-tests)): Update dependencies. Use
  37006. $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
  37007. (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
  37008. * conform/linknamespace.pl: Remove comment about considering
  37009. definitions of symbols from irrelevant libraries.
  37010. 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
  37011. [BZ #13862]
  37012. * elf/dl-tls.c: Include <atomic.h>.
  37013. (oom): Remove #ifdef SHARED/#endif.
  37014. (_dl_static_dtv, _dl_initial_dtv): Moved before ...
  37015. (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
  37016. (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
  37017. big enough.
  37018. (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
  37019. * nptl/Makefile (tests): Add tst-stack4.
  37020. (modules-names): Add tst-stack4mod.
  37021. ($(objpfx)tst-stack4): New.
  37022. (tst-stack4mod.sos): Likewise.
  37023. ($(objpfx)tst-stack4.out): Likewise.
  37024. ($(tst-stack4mod.sos)): Likewise.
  37025. (clean): Likewise.
  37026. * nptl/tst-stack4.c: New file.
  37027. * nptl/tst-stack4mod.c: Likewise.
  37028. 2014-11-27 J. Brown <jb999@gmx.de>
  37029. * sysdeps/x86/bits/string.h: Add recent CPUs.
  37030. 2014-11-27 Joseph Myers <joseph@codesourcery.com>
  37031. * misc/tst-pselect.c (do_test): Use sigprocmask instead of
  37032. sigblock.
  37033. * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
  37034. feof.
  37035. * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
  37036. variable.
  37037. 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
  37038. * nscd/connections.c: Include libc-internal.h because of macro
  37039. usage ignore_value.
  37040. 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
  37041. * string/bits/string3.h (__warn_memset_zero_len): Don't
  37042. declare for gcc newer than 5.0.
  37043. (memset): Don't test for zero-length __LEN for gcc newer than
  37044. 5.0.
  37045. 2014-11-27 Joseph Myers <joseph@codesourcery.com>
  37046. * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
  37047. size_t for %zu format.
  37048. * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
  37049. difference, not %ju.
  37050. 2014-11-26 Joseph Myers <joseph@codesourcery.com>
  37051. * include/libc-internal.h (ignore_value): New macro.
  37052. * nscd/connections.c (restart): Wrap calls to setuid and setgid
  37053. with ignore_value.
  37054. * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
  37055. definition.
  37056. * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
  37057. pthread_cleanup_push to void *.
  37058. * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
  37059. Undefine.
  37060. [BZ #16619]
  37061. [BZ #16740]
  37062. * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
  37063. instead of 1L << 52.
  37064. * libio/bug-rewind.c (do_test): Check fwscanf return values.
  37065. * libio/bug-rewind2.c (do_test): Likewise.
  37066. * debug/test-stpcpy_chk-ifunc.c: Remove file.
  37067. * debug/test-strcpy_chk-ifunc.c: Likewise.
  37068. * wcsmbs/test-wcschr-ifunc.c: Likewise.
  37069. * wcsmbs/test-wcscmp-ifunc.c: Likewise.
  37070. * wcsmbs/test-wcscpy-ifunc.c: Likewise.
  37071. * wcsmbs/test-wcslen-ifunc.c: Likewise.
  37072. * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
  37073. * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
  37074. * Rules [$(multi-arch) = no] (tests): Do not filter out
  37075. $(tests-ifunc).
  37076. [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
  37077. * debug/Makefile (tests-ifunc): Remove variable.
  37078. (tests): Do not add $(tests-ifunc).
  37079. * wcsmbs/Makefile (tests-ifunc): Remove variable.
  37080. (tests): Do not add $(tests-ifunc).
  37081. * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
  37082. [TEST_IFUNC]: Remove conditionals.
  37083. * string/test-string.h (TEST_IFUNC): Remove macro.
  37084. [TEST_IFUNC]: Remove conditionals.
  37085. * string/test-strchr.c [!WIDE] (L): New macro.
  37086. [WIDE] (L): Likewise.
  37087. (check1): Use CHAR instead of char. Use L on string and character
  37088. constants.
  37089. 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
  37090. * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
  37091. tests.
  37092. * sysdeps/powerpc/bits/atomic.h
  37093. (__arch_atomic_exchange_and_add_32_acq): Add definition.
  37094. (__arch_atomic_exchange_and_add_32_rel): Likewise.
  37095. (atomic_exchange_and_add_acq): Likewise.
  37096. (atomic_exchange_and_add_rel): Likewise.
  37097. * sysdeps/powerpc/powerpc32/bits/atomic.h
  37098. (__arch_atomic_exchange_and_add_64_acq): Add definition.
  37099. (__arch_atomic_exchange_and_add_64_rel): Likewise.
  37100. * sysdeps/powerpc/powerpc64/bits/atomic.h
  37101. (__arch_atomic_exchange_and_add_64_acq): Add definition.
  37102. (__arch_atomic_exchange_and_add_64_rel): Likewise.
  37103. 2014-11-26 Torvald Riegel <triegel@redhat.com>
  37104. * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
  37105. Change synchronization of __sched_fifo_min_prio and
  37106. __sched_fifo_max_prio.
  37107. * nptl/pthread_mutexattr_getprioceiling.c
  37108. (pthread_mutexattr_getprioceiling): Likewise.
  37109. * nptl/pthread_mutexattr_setprioceiling.c
  37110. (pthread_mutexattr_setprioceiling): Likewise.
  37111. * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
  37112. * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
  37113. Likewise.
  37114. 2014-11-26 Joseph Myers <joseph@codesourcery.com>
  37115. * setjmp/jmpbug.c (test): Make foo volatile and cast it to
  37116. void.
  37117. 2014-11-25 Joseph Myers <joseph@codesourcery.com>
  37118. * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
  37119. third argument const.
  37120. 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
  37121. fnmatch: work around GCC compiler warning bug with uninit var
  37122. * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
  37123. This works around a bug with x86-64 GCC 4.9.2 and earlier
  37124. where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
  37125. "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
  37126. used uninitialized in this function [-Wmaybe-uninitialized]".
  37127. 2014-11-25 Joseph Myers <joseph@codesourcery.com>
  37128. * posix/bug-regex31.c (main): Return RES not 0.
  37129. 2014-11-25 Anton Blanchard <anton@samba.org>
  37130. * sysdeps/powerpc/bits/atomic.h
  37131. (__arch_compare_and_exchange_bool_64_rel): Load from mem.
  37132. 2014-11-24 Sterling Augustine <saugustine@google.com>
  37133. * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
  37134. 2014-11-24 Ryan Cumming <etaoins@gmail.com>
  37135. [BZ #17608]
  37136. * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
  37137. 2014-11-24 Joseph Myers <joseph@codesourcery.com>
  37138. [BZ #17633]
  37139. * stdio-common/perror.c (perror): Call __fileno instead of fileno.
  37140. * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
  37141. variable.
  37142. (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
  37143. (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
  37144. 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
  37145. * string/strncpy.c (strncpy): Improve performance by using memset.
  37146. 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
  37147. * string/strcpy.c (strcpy):
  37148. Improve performance by using strlen and memcpy.
  37149. 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
  37150. * string/strcoll_l.c (get_next_seq): __always_inline.
  37151. * string/strcoll_l.c (do_compare): __always_inline.
  37152. 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
  37153. * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
  37154. defined.
  37155. * include/mqueue.h: Likewise.
  37156. * include/stdlib.h: Likewise.
  37157. * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
  37158. (get_null_defines): Adjust.
  37159. * sunrpc/Makefile: Adjust comment.
  37160. * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
  37161. * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
  37162. (CFLAGS-interp.c): Likewise.
  37163. (CFLAGS-ldconfig.c): Likewise.
  37164. (CPPFLAGS-.os): Likewise.
  37165. * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
  37166. * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
  37167. * extra-modules.mk (extra-modules.mk): Likewise.
  37168. * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
  37169. * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
  37170. * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
  37171. * nscd/Makefile (CPPFLAGS-nscd): Likewise.
  37172. * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
  37173. * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
  37174. * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
  37175. * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
  37176. * iconvdata/Makefile (CPPFLAGS): Likewise.
  37177. (cpp-srcs-left): Add libof for all iconvdata routines.
  37178. * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
  37179. * include/assert.h: Likewise.
  37180. * include/ctype.h: Likewise.
  37181. * include/errno.h: Likewise.
  37182. * include/libc-symbols.h: Likewise.
  37183. * include/math.h: Likewise.
  37184. * include/netdb.h: Likewise.
  37185. * include/resolv.h: Likewise.
  37186. * include/stdio.h: Likewise.
  37187. * include/stdlib.h: Likewise.
  37188. * include/string.h: Likewise.
  37189. * include/sys/stat.h: Likewise.
  37190. * include/wctype.h: Likewise.
  37191. * intl/l10nflist.c: Likewise.
  37192. * libidn/idn-stub.c: Likewise.
  37193. * libio/libioP.h: Likewise.
  37194. * nptl/libc_multiple_threads.c: Likewise.
  37195. * nptl/pthreadP.h: Likewise.
  37196. * posix/regex_internal.h: Likewise.
  37197. * resolv/res_hconf.c: Likewise.
  37198. * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
  37199. * sysdeps/arm/memmove.S: Likewise.
  37200. * sysdeps/arm/sysdep.h: Likewise.
  37201. * sysdeps/generic/_itoa.h: Likewise.
  37202. * sysdeps/generic/symbol-hacks.h: Likewise.
  37203. * sysdeps/gnu/errlist.awk: Likewise.
  37204. * sysdeps/gnu/errlist.c: Likewise.
  37205. * sysdeps/i386/i586/memcpy.S: Likewise.
  37206. * sysdeps/i386/i586/memset.S: Likewise.
  37207. * sysdeps/i386/i686/memcpy.S: Likewise.
  37208. * sysdeps/i386/i686/memmove.S: Likewise.
  37209. * sysdeps/i386/i686/mempcpy.S: Likewise.
  37210. * sysdeps/i386/i686/memset.S: Likewise.
  37211. * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
  37212. * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
  37213. * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
  37214. * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
  37215. * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
  37216. * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
  37217. * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
  37218. * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
  37219. * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
  37220. * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
  37221. * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
  37222. * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
  37223. * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
  37224. * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
  37225. * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
  37226. * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
  37227. * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
  37228. * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
  37229. * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
  37230. * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
  37231. * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
  37232. * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
  37233. * sysdeps/i386/i686/multiarch/memset.S: Likewise.
  37234. * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
  37235. * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
  37236. * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
  37237. * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
  37238. * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
  37239. * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
  37240. * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
  37241. * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
  37242. * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
  37243. * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
  37244. * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
  37245. * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
  37246. * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
  37247. * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
  37248. * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
  37249. * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
  37250. * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
  37251. * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
  37252. * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
  37253. * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
  37254. * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
  37255. * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
  37256. * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
  37257. * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
  37258. * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
  37259. * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
  37260. * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
  37261. * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
  37262. * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
  37263. * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
  37264. * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
  37265. * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
  37266. * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
  37267. * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
  37268. * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
  37269. * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
  37270. * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
  37271. * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
  37272. * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
  37273. * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
  37274. * sysdeps/nptl/bits/libc-lock.h: Likewise.
  37275. * sysdeps/nptl/bits/libc-lockP.h: Likewise.
  37276. * sysdeps/nptl/bits/stdio-lock.h: Likewise.
  37277. * sysdeps/posix/closedir.c: Likewise.
  37278. * sysdeps/posix/opendir.c: Likewise.
  37279. * sysdeps/posix/readdir.c: Likewise.
  37280. * sysdeps/posix/rewinddir.c: Likewise.
  37281. * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
  37282. * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
  37283. * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
  37284. * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
  37285. * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
  37286. * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
  37287. * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
  37288. * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
  37289. * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
  37290. * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
  37291. * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
  37292. * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
  37293. * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
  37294. * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
  37295. * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
  37296. * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
  37297. * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
  37298. * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
  37299. * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
  37300. * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
  37301. * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
  37302. * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
  37303. * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
  37304. * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
  37305. * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
  37306. * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
  37307. * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
  37308. * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
  37309. * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
  37310. * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
  37311. * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
  37312. * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
  37313. * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
  37314. * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
  37315. * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
  37316. * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
  37317. * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
  37318. * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
  37319. * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
  37320. * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
  37321. * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
  37322. * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
  37323. * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
  37324. * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
  37325. * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
  37326. * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
  37327. * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
  37328. * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
  37329. * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
  37330. * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
  37331. * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
  37332. * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
  37333. * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
  37334. * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
  37335. * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
  37336. * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
  37337. * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
  37338. * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
  37339. * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
  37340. * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
  37341. * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
  37342. * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
  37343. * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
  37344. * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
  37345. * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
  37346. * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
  37347. * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
  37348. * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
  37349. * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
  37350. * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
  37351. * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
  37352. * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
  37353. * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
  37354. * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
  37355. * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
  37356. * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
  37357. * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
  37358. * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
  37359. * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
  37360. * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
  37361. * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
  37362. * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
  37363. * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
  37364. * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
  37365. * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
  37366. * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
  37367. * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
  37368. * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
  37369. * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
  37370. * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
  37371. * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
  37372. * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
  37373. * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
  37374. * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
  37375. * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
  37376. * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
  37377. * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
  37378. * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
  37379. * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
  37380. * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
  37381. * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
  37382. * sysdeps/unix/alpha/sysdep.S: Likewise.
  37383. * sysdeps/unix/alpha/sysdep.h: Likewise.
  37384. * sysdeps/unix/make-syscalls.sh: Likewise.
  37385. * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
  37386. * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
  37387. * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
  37388. * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
  37389. * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
  37390. * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
  37391. * sysdeps/unix/sysv/linux/getpid.c: Likewise.
  37392. * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
  37393. * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
  37394. * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
  37395. * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
  37396. * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
  37397. * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
  37398. * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
  37399. * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
  37400. * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
  37401. * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
  37402. * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
  37403. * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
  37404. * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
  37405. * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
  37406. * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
  37407. * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
  37408. * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
  37409. * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
  37410. * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
  37411. * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
  37412. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
  37413. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
  37414. * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
  37415. * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
  37416. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
  37417. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
  37418. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
  37419. * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
  37420. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
  37421. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
  37422. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
  37423. * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
  37424. * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
  37425. * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
  37426. * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
  37427. * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
  37428. * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
  37429. * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
  37430. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
  37431. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
  37432. * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
  37433. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
  37434. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
  37435. * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
  37436. * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
  37437. * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
  37438. * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
  37439. * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
  37440. * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
  37441. * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
  37442. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
  37443. * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
  37444. * sysdeps/x86_64/memcpy.S: Likewise.
  37445. * sysdeps/x86_64/memmove.c: Likewise.
  37446. * sysdeps/x86_64/memset.S: Likewise.
  37447. * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
  37448. * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
  37449. * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
  37450. * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
  37451. * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
  37452. * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
  37453. * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
  37454. * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
  37455. * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
  37456. * sysdeps/x86_64/multiarch/memmove.c: Likewise.
  37457. * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
  37458. * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
  37459. * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
  37460. * sysdeps/x86_64/multiarch/memset.S: Likewise.
  37461. * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
  37462. * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
  37463. * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
  37464. * sysdeps/x86_64/multiarch/strcat.S: Likewise.
  37465. * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
  37466. * sysdeps/x86_64/multiarch/strchr.S: Likewise.
  37467. * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
  37468. * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
  37469. * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
  37470. * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
  37471. * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
  37472. * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
  37473. * sysdeps/x86_64/multiarch/strspn.S: Likewise.
  37474. * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
  37475. * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
  37476. * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
  37477. * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
  37478. * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
  37479. * sysdeps/x86_64/strcmp.S: Likewise.
  37480. * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
  37481. * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
  37482. * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
  37483. * elf/rtld-Rules: Likewise.
  37484. * elf/setup-vdso.h: Likewise.
  37485. * include/assert.h: Likewise.
  37486. * include/bits/stdlib-float.h: Likewise.
  37487. * include/errno.h: Likewise.
  37488. * include/sys/stat.h: Likewise.
  37489. * include/unistd.h: Likewise.
  37490. * sysdeps/aarch64/setjmp.S: Likewise.
  37491. * sysdeps/alpha/setjmp.S: Likewise.
  37492. * sysdeps/arm/__longjmp.S: Likewise.
  37493. * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
  37494. * sysdeps/arm/setjmp.S: Likewise.
  37495. * sysdeps/arm/sysdep.h: Likewise.
  37496. * sysdeps/generic/_itoa.h: Likewise.
  37497. * sysdeps/generic/dl-sysdep.h: Likewise.
  37498. * sysdeps/generic/ldsodefs.h: Likewise.
  37499. * sysdeps/i386/dl-tls.h: Likewise.
  37500. * sysdeps/i386/setjmp.S: Likewise.
  37501. * sysdeps/m68k/setjmp.c: Likewise.
  37502. * sysdeps/mach/hurd/dl-execstack.c: Likewise.
  37503. * sysdeps/mach/hurd/opendir.c: Likewise.
  37504. * sysdeps/posix/getcwd.c: Likewise.
  37505. * sysdeps/posix/opendir.c: Likewise.
  37506. * sysdeps/posix/profil.c: Likewise.
  37507. * sysdeps/powerpc/dl-procinfo.h: Likewise.
  37508. * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
  37509. * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
  37510. * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
  37511. * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
  37512. * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
  37513. * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
  37514. * sysdeps/s390/dl-tls.h: Likewise.
  37515. * sysdeps/s390/s390-32/setjmp.S: Likewise.
  37516. * sysdeps/s390/s390-64/setjmp.S: Likewise.
  37517. * sysdeps/sh/sh3/setjmp.S: Likewise.
  37518. * sysdeps/sh/sh4/setjmp.S: Likewise.
  37519. * sysdeps/unix/alpha/sysdep.h: Likewise.
  37520. * sysdeps/unix/arm/sysdep.S: Likewise.
  37521. * sysdeps/unix/i386/sysdep.S: Likewise.
  37522. * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
  37523. * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
  37524. * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
  37525. * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
  37526. * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
  37527. * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
  37528. * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
  37529. * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
  37530. * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
  37531. * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
  37532. * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
  37533. * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
  37534. * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
  37535. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
  37536. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
  37537. * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
  37538. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
  37539. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
  37540. * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
  37541. * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
  37542. * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
  37543. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
  37544. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
  37545. * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
  37546. * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
  37547. * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
  37548. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
  37549. * sysdeps/unix/x86_64/sysdep.S: Likewise.
  37550. * sysdeps/x86_64/setjmp.S: Likewise.
  37551. * include/math.h: Use IS_IN instead of IS_IN_libm.
  37552. * sysdeps/alpha/fpu/s_copysign.c: Likewise.
  37553. * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
  37554. * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
  37555. * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
  37556. * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
  37557. * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
  37558. * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
  37559. * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
  37560. * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
  37561. * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
  37562. * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
  37563. * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
  37564. * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
  37565. * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
  37566. * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
  37567. * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
  37568. * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
  37569. * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
  37570. * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
  37571. * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
  37572. * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
  37573. * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
  37574. * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
  37575. * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
  37576. * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
  37577. * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
  37578. * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
  37579. * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
  37580. * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
  37581. * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
  37582. * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
  37583. * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
  37584. * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
  37585. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
  37586. Likewise.
  37587. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
  37588. Likewise.
  37589. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
  37590. Likewise.
  37591. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
  37592. Likewise.
  37593. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
  37594. Likewise.
  37595. * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
  37596. * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
  37597. * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
  37598. * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
  37599. * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
  37600. * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
  37601. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
  37602. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
  37603. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
  37604. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
  37605. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
  37606. * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
  37607. * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
  37608. * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
  37609. * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
  37610. * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
  37611. * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
  37612. * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
  37613. * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
  37614. * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
  37615. * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
  37616. * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
  37617. * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
  37618. * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
  37619. * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
  37620. * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
  37621. * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
  37622. * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
  37623. * nptl/pthreadP.h: Likewise.
  37624. * nptl_db/structs.def: Likewise.
  37625. * sysdeps/arm/sysdep.h: Likewise.
  37626. * sysdeps/nptl/bits/libc-lock.h: Likewise.
  37627. * sysdeps/nptl/bits/libc-lockP.h: Likewise.
  37628. * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
  37629. * sysdeps/unix/alpha/sysdep.h: Likewise.
  37630. * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
  37631. * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
  37632. * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
  37633. * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
  37634. * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
  37635. * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
  37636. * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
  37637. * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
  37638. * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
  37639. * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
  37640. * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
  37641. * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
  37642. * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
  37643. * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
  37644. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
  37645. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
  37646. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
  37647. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
  37648. * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
  37649. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
  37650. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
  37651. * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
  37652. * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
  37653. * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
  37654. * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
  37655. * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
  37656. * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
  37657. * nptl/pthreadP.h: Likewise.
  37658. * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
  37659. * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
  37660. * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
  37661. * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
  37662. * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
  37663. * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
  37664. * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
  37665. * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
  37666. * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
  37667. * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
  37668. * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
  37669. * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
  37670. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
  37671. Likewise.
  37672. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
  37673. Likewise.
  37674. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
  37675. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
  37676. * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
  37677. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
  37678. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
  37679. * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
  37680. * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
  37681. * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
  37682. * dlfcn/dladdr.c: Use IS_IN.
  37683. * dlfcn/dladdr1.c: Likewise.
  37684. * dlfcn/dlclose.c: Likewise.
  37685. * dlfcn/dlerror.c: Likewise.
  37686. * dlfcn/dlinfo.c: Likewise.
  37687. * dlfcn/dlmopen.c: Likewise.
  37688. * dlfcn/dlopen.c: Likewise.
  37689. * dlfcn/dlsym.c: Likewise.
  37690. * dlfcn/dlvsym.c: Likewise.
  37691. * include/ifaddrs.h: Use IS_IN.
  37692. * inet/check_pf.c: Likewise.
  37693. * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
  37694. * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
  37695. * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
  37696. IS_IN_ldconfig.
  37697. * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
  37698. * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
  37699. * include/shlib-compat.h [!NOT_IN_libc]: Remove.
  37700. * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
  37701. IS_IN (libc).
  37702. * elf/Makefile (libof-sotruss-lib): Set as extramodules.
  37703. * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
  37704. * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
  37705. * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
  37706. * include/libc-symbols.h (IS_IN_LIB): New macro.
  37707. * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
  37708. * include/netdb.h: Likewise.
  37709. * include/stap-probe.h: Remove all uses of IN_LIB.
  37710. * Makeconfig (module-cppflags-real): Define MODULE_NAME
  37711. instead of IN_MODULE.
  37712. * include/libc-symbols.h (IN_MODULE): Define using
  37713. MODULE_NAME.
  37714. (PASTE_NAME, PASTE_NAME1): New macros.
  37715. * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
  37716. of IN_LIB.
  37717. (STAP_PROBE_ASM): Likewise.
  37718. 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
  37719. * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
  37720. __mach_init in dlopened libc.
  37721. 2014-11-22 Mike Frysinger <vapier@gentoo.org>
  37722. * sysdeps/arm/preconfigure.ac: Delete EABI check.
  37723. * sysdeps/arm/preconfigure: Regenerate.
  37724. 2014-11-21 Roland McGrath <roland@hack.frob.com>
  37725. * nptl/pthread_create.c (__pthread_create_2_1): Set
  37726. ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
  37727. when copying values from IATTR into PD.
  37728. 2014-11-21 Will Newton <will.newton@linaro.org>
  37729. Andrew Pinski <andrew.pinski@caviumnetworks.com>
  37730. * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
  37731. Refactor inline-asm. Also add comment.
  37732. * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
  37733. ElfW macro instead of hardcoded Elf64 types.
  37734. (la_aarch64_gnu_pltenter): Likewise.
  37735. * sysdeps/aarch64/dl-machine.h
  37736. (elf_machine_runtime_setup): Use ElfW(Addr).
  37737. * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
  37738. R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
  37739. R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
  37740. R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
  37741. R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
  37742. (R_AARCH64_TLS_DTPMOD64): Rename to ..
  37743. (R_AARCH64_TLS_DTPMOD): This.
  37744. (R_AARCH64_TLS_DTPREL64): Rename to ...
  37745. (R_AARCH64_TLS_DTPREL): This.
  37746. (R_AARCH64_TLS_TPREL64): Rename to ...
  37747. (R_AARCH64_TLS_TPREL): This.
  37748. * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
  37749. R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
  37750. R_AARCH64_TLS_TPREL64.
  37751. (elf_machine_rela): Likewise.
  37752. 2014-11-21 Torvald Riegel <triegel@redhat.com>
  37753. * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
  37754. by setting it to 0. 64b atomics are not supported currently.
  37755. 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
  37756. [BZ #16469]
  37757. * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
  37758. search domain names.
  37759. 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
  37760. [BZ #16469]
  37761. * NEWS: Update.
  37762. * resolv/res_query.c (__libc_res_nquerydomain): Retain
  37763. trailing dot.
  37764. * posix/tst-getaddrinfo5.c: New.
  37765. * posix/Makefile (tests): Add it.
  37766. 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
  37767. [BZ #14498]
  37768. * NEWS: Fixed.
  37769. * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
  37770. after parsing line but before break_if_match.
  37771. * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
  37772. if there is a protocol mismatch.
  37773. 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
  37774. * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
  37775. because the potential race is on the user-supplied stream.
  37776. 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
  37777. * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
  37778. string literal if not passed a buffer.
  37779. * manual/job.texi (ctermid): Update reasoning, note deviation
  37780. from posix, suggest mtasurace when not passed a buffer, for
  37781. future non-preliminary safety notes.
  37782. 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
  37783. * manual/users.texi (cuserid): Fix MT-Safety note for the case
  37784. of not passing it a buffer.
  37785. Reported by Peng Haitao.
  37786. 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
  37787. * manual/Makefile ($(objpfx)stamp-summary): Require
  37788. check-safety.sh to pass.
  37789. * manual/check-safety.sh: Wish for verification that every
  37790. @deftypefn and @deftypefun is followed by a @safety remark.
  37791. 2014-11-20 Roland McGrath <roland@hack.frob.com>
  37792. * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
  37793. * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
  37794. PTHREAD_CANCEL_ASYNCHRONOUS.
  37795. * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
  37796. send SIGCANCEL.
  37797. * nptl/default-sched.h: New file.
  37798. * sysdeps/unix/sysv/linux/default-sched.h: New file.
  37799. * nptl/pthread_create.c: Include it.
  37800. (__pthread_create_2_1): Use collect_default_sched instead of making
  37801. Linux syscalls here directly.
  37802. 2014-11-20 Torvald Riegel <triegel@redhat.com>
  37803. * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
  37804. __pthread_once): Use C11 atomics.
  37805. 2014-11-20 Torvald Riegel <triegel@redhat.com>
  37806. * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
  37807. 2014-11-20 Torvald Riegel <triegel@redhat.com>
  37808. * include/atomic.h (__atomic_link_error, __atomic_check_size,
  37809. atomic_thread_fence_acquire, atomic_thread_fence_release,
  37810. atomic_thread_fence_seq_cst, atomic_load_relaxed,
  37811. atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
  37812. atomic_compare_exchange_weak_relaxed,
  37813. atomic_compare_exchange_weak_acquire,
  37814. atomic_compare_exchange_weak_release,
  37815. atomic_exchange_acquire, atomic_exchange_release,
  37816. atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
  37817. atomic_fetch_add_release, atomic_fetch_add_acq_rel,
  37818. atomic_fetch_and_acquire,
  37819. atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
  37820. 2014-11-20 Torvald Riegel <triegel@redhat.com>
  37821. * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
  37822. USE_ATOMIC_COMPILER_BUILTINS): Define.
  37823. * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
  37824. USE_ATOMIC_COMPILER_BUILTINS): Likewise.
  37825. * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
  37826. USE_ATOMIC_COMPILER_BUILTINS): Likewise.
  37827. * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
  37828. USE_ATOMIC_COMPILER_BUILTINS): Likewise.
  37829. * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
  37830. USE_ATOMIC_COMPILER_BUILTINS): Likewise.
  37831. * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
  37832. USE_ATOMIC_COMPILER_BUILTINS): Likewise.
  37833. * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
  37834. USE_ATOMIC_COMPILER_BUILTINS): Likewise.
  37835. * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
  37836. USE_ATOMIC_COMPILER_BUILTINS): Likewise.
  37837. * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
  37838. USE_ATOMIC_COMPILER_BUILTINS): Likewise.
  37839. * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
  37840. USE_ATOMIC_COMPILER_BUILTINS): Likewise.
  37841. * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
  37842. USE_ATOMIC_COMPILER_BUILTINS): Likewise.
  37843. * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
  37844. USE_ATOMIC_COMPILER_BUILTINS): Likewise.
  37845. * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
  37846. USE_ATOMIC_COMPILER_BUILTINS): Likewise.
  37847. * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
  37848. USE_ATOMIC_COMPILER_BUILTINS): Likewise.
  37849. * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
  37850. USE_ATOMIC_COMPILER_BUILTINS): Likewise.
  37851. * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
  37852. USE_ATOMIC_COMPILER_BUILTINS): Likewise.
  37853. * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
  37854. USE_ATOMIC_COMPILER_BUILTINS): Likewise.
  37855. * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
  37856. USE_ATOMIC_COMPILER_BUILTINS): Likewise.
  37857. * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
  37858. (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
  37859. * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
  37860. USE_ATOMIC_COMPILER_BUILTINS): Likewise.
  37861. * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
  37862. USE_ATOMIC_COMPILER_BUILTINS): Likewise.
  37863. 2014-11-19 Roland McGrath <roland@hack.frob.com>
  37864. * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
  37865. the sched_priority value here. It was already checked when the user
  37866. called pthread_attr_setschedparam.
  37867. * nptl/tst-bad-schedattr.c: New file.
  37868. * nptl/Makefile (tests): Add it.
  37869. 2014-11-19 Carlos O'Donell <carlos@redhat.com>
  37870. Florian Weimer <fweimer@redhat.com>
  37871. Joseph Myers <joseph@codesourcery.com>
  37872. Adam Conrad <adconrad@0c3.net>
  37873. Andreas Schwab <schwab@suse.de>
  37874. Brooks <bmoses@google.com>
  37875. [BZ #17625]
  37876. * wordexp-test.c (__dso_handle): Add prototype.
  37877. (__register_atfork): Likewise.
  37878. (__app_register_atfork): New function.
  37879. (registered_forks): New global.
  37880. (register_fork): New function.
  37881. (test_case): Add 3 new tests for WRDE_CMDSUB.
  37882. (main): Call __app_register_atfork.
  37883. (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
  37884. fork count is non-zero fail the test.
  37885. * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
  37886. is set.
  37887. (parse_dollars): Remove check for WRDE_NOCMD.
  37888. (parse_dquote): Likewise.
  37889. 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
  37890. * Makeconfig (built-modules): List non-library modules to be
  37891. built.
  37892. (module-cppflags): Include libc-modules.h for
  37893. everything except shlib-versions.v.i.
  37894. (CPPFLAGS): Use it.
  37895. (before-compile): Add libc-modules.h.
  37896. ($(common-objpfx)libc-modules.h,
  37897. $(common-objpfx)libc-modules.stmp): New targets.
  37898. (common-generated): Add libc-modules.h and libc-modules.stmp.
  37899. ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
  37900. * include/libc-symbols.h: Don't include libc-modules.h.
  37901. * include/libc-modules.h: Remove file.
  37902. * scripts/gen-libc-modules.awk: New script to generate
  37903. libc-modules.h.
  37904. * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
  37905. Depend on libc-modules.stmp.
  37906. * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
  37907. * Makeconfig (in-module): Get value of libof set for the
  37908. translation unit.
  37909. (CPPFLAGS): Use $(in-module).
  37910. * Makerules: Don't suffix routine names for nonlib.
  37911. * include/libc-modules.h: New file.
  37912. * include/libc-symbols.h: Include libc-modules.h
  37913. (IS_IN): New macro to replace IS_IN_* macros.
  37914. * elf/Makefile: Set libof-* for each routine.
  37915. * elf/rtld-Rules: Likewise.
  37916. * extra-modules.mk: Likewise.
  37917. * iconv/Makefile: Likewise.
  37918. * iconvdata/Makefile: Likewise.
  37919. * locale/Makefile: Likewise.
  37920. * malloc/Makefile: Likewise.
  37921. * nss/Makefile: Likewise.
  37922. * sysdeps/gnu/Makefile: Likewise.
  37923. * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
  37924. * sysdeps/unix/sysv/linux/Makefile: Likewise.
  37925. * sysdeps/s390/s390-64/Makefile: Likewise.
  37926. * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
  37927. CPPFLAGS for nscd instead of nonlib.
  37928. 2014-11-18 Roland McGrath <roland@hack.frob.com>
  37929. * nptl/createthread.c: New file.
  37930. * nptl/createthread.c: Moved ...
  37931. * sysdeps/unix/sysv/linux/createthread.c: ... here.
  37932. * nptl/createthread.c: Add proper top-line comment.
  37933. (do_clone): Folded into ...
  37934. (create_thread): ... here. Take new arguments STOPPED_START and
  37935. THREAD_RAN. Always set PD->stopped_start to something here. Don't
  37936. increment __nptl_threads, do event-reporting logic, do
  37937. CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
  37938. here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
  37939. resource cleanup if sched_setaffinity or sched_setscheduler fails,
  37940. just send SIGCANCEL.
  37941. * nptl/pthread_create.c: Forward-declare create_thread before
  37942. including createthread.c.
  37943. (start_thread): Use new macro START_THREAD_DEFN to replace defining
  37944. declaration, and new macro START_THREAD_SELF to replace argument.
  37945. Remove return statement.
  37946. (report_thread_creation): New function.
  37947. (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
  37948. synchronization logic, and __nptl_nthreads increment here, around
  37949. calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
  37950. PD->parent_cancelhandling here, before create_thread. When
  37951. create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
  37952. __deallocate_stack, and ENOMEM translation here.
  37953. 2014-11-18 Joseph Myers <joseph@codesourcery.com>
  37954. [BZ #17616]
  37955. * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
  37956. (mptwo): Rename to __mptwo.
  37957. (__inv): Use __mptwo instead of mptwo.
  37958. * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
  37959. (mptwo): Rename to __mptwo.
  37960. * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
  37961. of mpone and __mptwo instead of mptwo.
  37962. * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
  37963. instead of mpone.
  37964. * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
  37965. * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
  37966. * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
  37967. of mpone and __mptwo instead of mptwo.
  37968. (__mpranred): Use __mpone instead of mpone.
  37969. * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
  37970. variable.
  37971. (test-xfail-ISO99/complex.h/linknamespace): Likewise.
  37972. (test-xfail-ISO99/math.h/linknamespace): Likewise.
  37973. (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
  37974. (test-xfail-ISO11/complex.h/linknamespace): Likewise.
  37975. (test-xfail-ISO11/math.h/linknamespace): Likewise.
  37976. (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
  37977. (test-xfail-XPG3/math.h/linknamespace): Likewise.
  37978. (test-xfail-XPG4/math.h/linknamespace): Likewise.
  37979. (test-xfail-POSIX/math.h/linknamespace): Likewise.
  37980. (test-xfail-UNIX98/math.h/linknamespace): Likewise.
  37981. (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
  37982. (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
  37983. (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
  37984. (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
  37985. (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
  37986. (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
  37987. (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
  37988. (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
  37989. (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
  37990. 2014-11-18 Tom de Vries <tom@codesoucery.com>
  37991. * manual/signal.texi (Primitives Interrupted by Signals): In section,
  37992. replace BSD Handler xref with BSD Signal Handling.
  37993. 2014-11-17 Richard Henderson <rth@redhat.com>
  37994. * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
  37995. (_FP_PACK_RAW_2): Remove.
  37996. (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
  37997. (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
  37998. (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
  37999. (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
  38000. * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
  38001. * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
  38002. * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
  38003. * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
  38004. * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
  38005. * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
  38006. * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
  38007. * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
  38008. * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
  38009. * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
  38010. * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
  38011. * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
  38012. 2014-11-14 Roland McGrath <roland@hack.frob.com>
  38013. * signal/signal.h [__USE_MISC]
  38014. (struct sigvec): Remove type.
  38015. (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
  38016. (sigvec): Remove declaration.
  38017. * sysdeps/posix/sigvec.c: Moved ...
  38018. * signal/sigvec.c: ... here, replacing old file.
  38019. (struct sigvec): New type, copied from old signal.h definition.
  38020. (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
  38021. (__sigvec): Convert definition to prototype.
  38022. (sigvec): Replace weak_alias with compat_symbol.
  38023. * signal/Versions (libc: GLIBC_2.21): New version set.
  38024. * include/signal.h: Remove __sigvec declaration.
  38025. * sysdeps/unix/bsd/sigvec.c: Remove file.
  38026. * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
  38027. * manual/signal.texi (BSD Handler): Remove subsection.
  38028. Move siginterrupt up to ...
  38029. (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
  38030. (Blocking in BSD): Fold subsection into its parent.
  38031. * NEWS: Mention sigvec removal.
  38032. 2014-11-14 Joseph Myers <joseph@codesourcery.com>
  38033. * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
  38034. (DLA_FMS): Make definition conditional only on [__FMA4__].
  38035. [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
  38036. definition.
  38037. * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
  38038. Make definition conditional only on [PROF].
  38039. [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
  38040. definition.
  38041. [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
  38042. [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
  38043. * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
  38044. !__GNUC__].
  38045. * include/signal.h (__sigpause): Move declaration above call to
  38046. libc_hidden_proto.
  38047. * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
  38048. variable.
  38049. (test-xfail-ISO99/signal.h/linknamespace): Likewise.
  38050. (test-xfail-ISO11/signal.h/linknamespace): Likewise.
  38051. 2014-11-14 David S. Miller <davem@davemloft.net>
  38052. * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
  38053. Define before including <string/memcpy.c> and <string/mempcpy.c>.
  38054. 2014-11-14 Joseph Myers <joseph@codesourcery.com>
  38055. * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
  38056. * configure: Regenerated.
  38057. * manual/install.texi (Tools for Compilation): Document a
  38058. requirement of GCC 4.6 or later and that GCC 4.9 is the newest
  38059. compiler verified to work.
  38060. * INSTALL: Regenerated.
  38061. * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
  38062. redeclare with asm name.
  38063. [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
  38064. * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
  38065. including <string.h>.
  38066. * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
  38067. * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
  38068. [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
  38069. * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
  38070. [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
  38071. * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
  38072. [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
  38073. 2014-11-13 Joseph Myers <joseph@codesourcery.com>
  38074. * stdlib/strtol.c (__strtol): Use prototype definition.
  38075. [BZ #17594]
  38076. * stdlib/strtol.c (SYM__): New macro.
  38077. (SYM__1): Likewise.
  38078. (__strtol): Likewise.
  38079. (strtol): Rename to __strtol and define as weak alias of
  38080. __strtol. Use libc_hidden_weak.
  38081. 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
  38082. * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
  38083. Use numbered labels in inline assembly.
  38084. 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
  38085. * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
  38086. Add setjmp LIBC_PROBE.
  38087. * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
  38088. Likewise.
  38089. * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
  38090. Add longjmp, longjmp_target LIBC_PROBE.
  38091. * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
  38092. Likewise.
  38093. 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
  38094. * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
  38095. Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
  38096. to get rid of unused variable warning.
  38097. 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
  38098. * sysdeps/s390/s390-32/backtrace.c (__backtrace):
  38099. Check for unwind_backtrace == NULL only in SHARED case.
  38100. (__backchain_backtrace): Compile only in SHARED case.
  38101. * sysdeps/s390/s390-64/backtrace.c (__backtrace):
  38102. Likewise.
  38103. (__backchain_backtrace): Declare as static.
  38104. 2014-11-12 Roland McGrath <roland@hack.frob.com>
  38105. * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
  38106. (__libc_multiple_threads_ptr): Variable moved ...
  38107. * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
  38108. 2014-11-12 Joseph Myers <joseph@codesourcery.com>
  38109. * conform/GlibcConform.pm: New file.
  38110. * conform/conformtest.pl: Use GlibcConform module.
  38111. * conform/linknamespace.pl: New file.
  38112. * conform/list-header-symbols.pl: Likewise.
  38113. * conform/Makefile (linknamespace-symlists-base): New variable.
  38114. (linknamespace-symlists-tests): Likewise.
  38115. (linknamespace-header-base): Likewise.
  38116. (linknamespace-header-tests): Likewise.
  38117. (tests-special): Add new tests.
  38118. ($(linknamespace-symlists-tests)): New rule.
  38119. (linknamespace-libs): New variable.
  38120. ($(objpfx)symlist-stdlibs): New rule.
  38121. ($(linknamespace-header-tests)): Likewise.
  38122. (test-xfail-XPG3/varargs.h/linknamespace): New variable.
  38123. (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
  38124. (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
  38125. (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
  38126. (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
  38127. (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
  38128. (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
  38129. (test-xfail-ISO/math.h/linknamespace): Likewise.
  38130. (test-xfail-ISO/signal.h/linknamespace): Likewise.
  38131. (test-xfail-ISO/stdio.h/linknamespace): Likewise.
  38132. (test-xfail-ISO/time.h/linknamespace): Likewise.
  38133. (test-xfail-ISO99/complex.h/linknamespace): Likewise.
  38134. (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
  38135. (test-xfail-ISO99/math.h/linknamespace): Likewise.
  38136. (test-xfail-ISO99/signal.h/linknamespace): Likewise.
  38137. (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
  38138. (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
  38139. (test-xfail-ISO11/complex.h/linknamespace): Likewise.
  38140. (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
  38141. (test-xfail-ISO11/math.h/linknamespace): Likewise.
  38142. (test-xfail-ISO11/signal.h/linknamespace): Likewise.
  38143. (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
  38144. (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
  38145. (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
  38146. (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
  38147. (test-xfail-XPG3/glob.h/linknamespace): Likewise.
  38148. (test-xfail-XPG3/math.h/linknamespace): Likewise.
  38149. (test-xfail-XPG3/regex.h/linknamespace): Likewise.
  38150. (test-xfail-XPG3/search.h/linknamespace): Likewise.
  38151. (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
  38152. (test-xfail-XPG3/time.h/linknamespace): Likewise.
  38153. (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
  38154. (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
  38155. (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
  38156. (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
  38157. (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
  38158. (test-xfail-XPG4/glob.h/linknamespace): Likewise.
  38159. (test-xfail-XPG4/grp.h/linknamespace): Likewise.
  38160. (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
  38161. (test-xfail-XPG4/math.h/linknamespace): Likewise.
  38162. (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
  38163. (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
  38164. (test-xfail-XPG4/regex.h/linknamespace): Likewise.
  38165. (test-xfail-XPG4/search.h/linknamespace): Likewise.
  38166. (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
  38167. (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
  38168. (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
  38169. (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
  38170. (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
  38171. (test-xfail-XPG4/time.h/linknamespace): Likewise.
  38172. (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
  38173. (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
  38174. (test-xfail-POSIX/aio.h/linknamespace): Likewise.
  38175. (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
  38176. (test-xfail-POSIX/glob.h/linknamespace): Likewise.
  38177. (test-xfail-POSIX/math.h/linknamespace): Likewise.
  38178. (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
  38179. (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
  38180. (test-xfail-POSIX/regex.h/linknamespace): Likewise.
  38181. (test-xfail-POSIX/sched.h/linknamespace): Likewise.
  38182. (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
  38183. (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
  38184. (test-xfail-POSIX/time.h/linknamespace): Likewise.
  38185. (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
  38186. (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
  38187. (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
  38188. (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
  38189. (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
  38190. (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
  38191. (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
  38192. (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
  38193. (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
  38194. (test-xfail-UNIX98/math.h/linknamespace): Likewise.
  38195. (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
  38196. (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
  38197. (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
  38198. (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
  38199. (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
  38200. (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
  38201. (test-xfail-UNIX98/search.h/linknamespace): Likewise.
  38202. (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
  38203. (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
  38204. (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
  38205. (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
  38206. (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
  38207. (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
  38208. (test-xfail-UNIX98/time.h/linknamespace): Likewise.
  38209. (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
  38210. (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
  38211. (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
  38212. (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
  38213. (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
  38214. (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
  38215. (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
  38216. (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
  38217. (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
  38218. (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
  38219. (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
  38220. (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
  38221. (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
  38222. (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
  38223. (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
  38224. (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
  38225. (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
  38226. (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
  38227. (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
  38228. (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
  38229. (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
  38230. (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
  38231. (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
  38232. (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
  38233. (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
  38234. (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
  38235. (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
  38236. (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
  38237. (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
  38238. (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
  38239. (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
  38240. (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
  38241. (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
  38242. (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
  38243. (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
  38244. (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
  38245. (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
  38246. (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
  38247. (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
  38248. (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
  38249. (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
  38250. (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
  38251. (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
  38252. (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
  38253. (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
  38254. (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
  38255. (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
  38256. (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
  38257. (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
  38258. (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
  38259. (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
  38260. (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
  38261. (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
  38262. (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
  38263. (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
  38264. (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
  38265. (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
  38266. (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
  38267. (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
  38268. (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
  38269. (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
  38270. (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
  38271. (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
  38272. (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
  38273. (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
  38274. (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
  38275. (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
  38276. (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
  38277. (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
  38278. (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
  38279. (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
  38280. (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
  38281. (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
  38282. (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
  38283. [BZ #17589]
  38284. * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
  38285. of fgets_unlocked.
  38286. [BZ #17585]
  38287. * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
  38288. (memmem): Rename to __memmem and define as weak alias of
  38289. __memmem. Use libc_hidden_weak.
  38290. (__memmem): Use libc_hidden_def.
  38291. * include/string.h (__memmem): Declare. Use libc_hidden_proto.
  38292. * locale/findlocale.c (valid_locale_name): Use __memmem instead of
  38293. memmem.
  38294. [BZ #17582]
  38295. * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
  38296. (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
  38297. * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
  38298. and define as weak alias of __fgets_unlocked. Use
  38299. libc_hidden_weak.
  38300. (__fgets_unlocked): Use libc_hidden_def.
  38301. * include/stdio.h (__fgets_unlocked): Declare. Use
  38302. libc_hidden_proto.
  38303. * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
  38304. __fgets_unlocked instead of fgets_unlocked.
  38305. * sysdeps/unix/sysv/linux/alpha/getsysstats.c
  38306. (GET_NPROCS_CONF_PARSER): Likewise.
  38307. * sysdeps/unix/sysv/linux/sparc/getsysstats.c
  38308. (GET_NPROCS_CONF_PARSER): Likewise.
  38309. [BZ #17574]
  38310. * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
  38311. weak alias of __wmemset. Use libc_hidden_weak.
  38312. (__wmemset): Use libc_hidden_def.
  38313. * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
  38314. * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
  38315. of wmemset.
  38316. [BZ #17573]
  38317. * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
  38318. with asm name __mempcpy.
  38319. [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
  38320. [BZ #17572]
  38321. * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
  38322. and define as weak alias of __rawmemchr.
  38323. (__rawmemchr): Do not define as strong alias of rawmemchr.
  38324. [BZ #17571]
  38325. * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
  38326. alias of __qsort_r.
  38327. (qsort): Call __qsort_r instead of qsort_r.
  38328. * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
  38329. (__qsort_r): Declare. Call libc_hidden_proto.
  38330. * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
  38331. instead of qsort_r.
  38332. * nscd/gai.c (__qsort_r): Define to qsort_r.
  38333. * posix/tst-rfc3484.c (__qsort_r): Likewise.
  38334. * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
  38335. * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
  38336. [BZ #17570]
  38337. * malloc/malloc.c (malloc_info): Rename to __malloc_info and
  38338. define as weak alias of __malloc_info.
  38339. [BZ #17584]
  38340. * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
  38341. as weak alias of __rewinddir. Don't use libc_hidden_def.
  38342. (__rewinddir): Use libc_hidden_def.
  38343. * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
  38344. as weak alias of __rewinddir. Don't use libc_hidden_def.
  38345. (__rewinddir): Use libc_hidden_def.
  38346. * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
  38347. weak alias of __rewinddir. Don't use libc_hidden_def.
  38348. (__rewinddir): Use libc_hidden_def.
  38349. * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
  38350. (__rewinddir): Use libc_hidden_proto.
  38351. * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
  38352. rewinddir.
  38353. (__getcwd): Use __rewinddir instead of rewinddir.
  38354. [BZ #17583]
  38355. * libio/fileno.c (fileno): Rename to __fileno and define as weak
  38356. alias of __fileno. Use libc_hidden_weak.
  38357. (__fileno): Use libc_hidden_def.
  38358. [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
  38359. * libio/ftello.c (ftello): Rename to __ftello and define as weak
  38360. alias of __ftello.
  38361. [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
  38362. __ftello.
  38363. * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
  38364. (__fread_unlocked): Define as strong alias of _IO_fread. Use
  38365. libc_hidden_def.
  38366. (fread_unlocked): Don't use libc_hidden_ver.
  38367. * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
  38368. and define as weak alias of __fread_unlocked. Don't use
  38369. libc_hidden_def.
  38370. (__fread_unlocked): Use libc_hidden_def.
  38371. * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
  38372. (ftello): Don't use libc_hidden_proto.
  38373. (__ftello): Declare. Use libc_hidden_proto.
  38374. (fread_unlocked): Don't use libc_hidden_proto.
  38375. (__fread_unlocked): Declare. Use libc_hidden_proto.
  38376. * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
  38377. and __ftello instead of fileno, fread_unlocked and ftello.
  38378. 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
  38379. * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
  38380. GOT12.
  38381. * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
  38382. Likewise.
  38383. (_dl_start_user): Likewise.
  38384. * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
  38385. 2014-11-12 Carlos O'Donell <carlos@redhat.com>
  38386. Siddhesh Poyarekar <siddhesh@redhat.com>
  38387. * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
  38388. Move argv and envp down instead of moving argc up.
  38389. * sysdeps/s390/s390-32/dl-sysdep.h: New file.
  38390. 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
  38391. [BZ #17506]
  38392. * test-skeleton.c (main): Return successful if one of
  38393. EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
  38394. * string/tst-strcoll-overflow.c: Define expected status.
  38395. 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
  38396. [BZ #17475]
  38397. * locale/iso-639.def: Define Bhili and Tulu language codes.
  38398. 2014-11-11 Alan Hayward <alan.hayward@arm.com>
  38399. * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
  38400. 2014-11-10 Renlin Li <Renlin.Li@arm.com>
  38401. [BZ #17555]
  38402. * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
  38403. 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
  38404. * configure.ac: Updated check of minimal required version to
  38405. 2.22.
  38406. * manual/install.texi (Tools for Compilation): Updated version
  38407. number.
  38408. * configure: Regenerated.
  38409. * INSTALL: Likewise.
  38410. 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
  38411. * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
  38412. __tls_get_addr.
  38413. 2014-11-07 Joseph Myers <joseph@codesourcery.com>
  38414. * include/sys/wait.h (__libc_waitpid): Remove declaration.
  38415. * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
  38416. (__waitpid): Don't define as alias. Use libc_hidden_def not
  38417. libc_hidden_weak.
  38418. (waitpid): Define as alias of __waitpid.
  38419. * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
  38420. __waitpid.
  38421. (__waitpid): Don't define as alias. Use libc_hidden_def not
  38422. libc_hidden_weak.
  38423. (waitpid): Define as alias of __waitpid.
  38424. * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
  38425. __libc_waitpid alias.
  38426. * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
  38427. * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
  38428. Likewise.
  38429. * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
  38430. * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
  38431. * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
  38432. alias.
  38433. * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
  38434. __waitpid.
  38435. (__waitpid): Don't define as alias. Use libc_hidden_def not
  38436. libc_hidden_weak.
  38437. (waitpid): Define as alias of __waitpid.
  38438. 2014-11-06 Carlos O'Donell <carlos@redhat.com>
  38439. * manual/llio.texi: Add comment that write safety has been
  38440. fixed in Linux.
  38441. * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
  38442. (localplt-build-dso): Add elf/ld.so.
  38443. * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
  38444. i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
  38445. and free for ld.so.
  38446. * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
  38447. __libc_memalign, malloc, calloc, realloc, and free for ld.so.
  38448. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
  38449. Likewise.
  38450. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
  38451. Likewise.
  38452. * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
  38453. * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
  38454. version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
  38455. * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
  38456. * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
  38457. * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
  38458. * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
  38459. * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
  38460. * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
  38461. * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
  38462. * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
  38463. 2014-11-05 Joseph Myers <joseph@codesourcery.com>
  38464. [BZ #14132]
  38465. * include/libc-symbols.h (INTUSE): Remove macro.
  38466. (INTDEF): Likewise.
  38467. (INTVARDEF): Likewise.
  38468. (_INTVARDEF): Likewise.
  38469. (INTDEF2): Likewise.
  38470. (INTVARDEF2): Likewise.
  38471. * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
  38472. rtld_hidden_def instead of INTVARDEF.
  38473. * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
  38474. (_dl_starting_up_internal): Remove declaration.
  38475. (_dl_starting_up): Use rtld_hidden_proto.
  38476. * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
  38477. declaration.
  38478. [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
  38479. (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
  38480. _dl_starting_up.
  38481. * elf/dl-writev.h (_dl_writev): Likewise.
  38482. * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
  38483. (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
  38484. _dl_starting_up_internal.
  38485. 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  38486. * stdio-common/tst-fmemopen.c (do_test): Refactor to use
  38487. test-skeleton.c.
  38488. 2014-11-05 Will Newton <will.newton@linaro.org>
  38489. * benchtests/Makefile: (bench-malloc): Add malloc thread
  38490. scalability benchmark.
  38491. * benchtests/bench-malloc-threads.c: New file.
  38492. 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
  38493. * sysdeps/aarch64/strchrnul.S: New file.
  38494. 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  38495. * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
  38496. definition.
  38497. * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
  38498. Likewise.
  38499. * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
  38500. Likewise.
  38501. * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
  38502. Likewise.
  38503. * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
  38504. Likewise.
  38505. * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
  38506. Likewise.
  38507. 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
  38508. * catgets/test-gencat.c: Use test-skeleton.c.
  38509. * catgets/tst-catgets.c: Likewise.
  38510. * csu/tst-empty.c: Likewise.
  38511. * elf/tst-audit2.c: Likewise.
  38512. * elf/tst-global1.c: Likewise.
  38513. * elf/tst-pathopt.c: Likewise.
  38514. * elf/tst-piemod1.c: Likewise.
  38515. * elf/tst-tls10.c: Likewise.
  38516. * elf/tst-tls11.c: Likewise.
  38517. * elf/tst-tls12.c: Likewise.
  38518. * gnulib/tst-gcc.c: Likewise.
  38519. * iconvdata/tst-e2big.c: Likewise.
  38520. * iconvdata/tst-loading.c: Likewise.
  38521. * iconv/tst-iconv1.c: Likewise.
  38522. * iconv/tst-iconv2.c: Likewise.
  38523. * inet/test-inet6_opt.c: Likewise.
  38524. * inet/tst-gethnm.c: Likewise.
  38525. * inet/tst-network.c: Likewise.
  38526. * inet/tst-ntoa.c: Likewise.
  38527. * intl/tst-codeset.c: Likewise.
  38528. * intl/tst-gettext2.c: Likewise.
  38529. * intl/tst-gettext3.c: Likewise.
  38530. * intl/tst-ngettext.c: Likewise.
  38531. * intl/tst-translit.c: Likewise.
  38532. * io/test-stat.c: Likewise.
  38533. * libio/test-fmemopen.c: Likewise.
  38534. * libio/tst-freopen.c: Likewise.
  38535. * libio/tst-sscanf.c: Likewise.
  38536. * libio/tst-ungetwc1.c: Likewise.
  38537. * libio/tst-ungetwc2.c: Likewise.
  38538. * libio/tst-widetext.c: Likewise.
  38539. * localedata/tst-ctype.c: Likewise.
  38540. * localedata/tst-digits.c: Likewise.
  38541. * localedata/tst-leaks.c: Likewise.
  38542. * localedata/tst-mbswcs1.c: Likewise.
  38543. * localedata/tst-mbswcs2.c: Likewise.
  38544. * localedata/tst-mbswcs3.c: Likewise.
  38545. * localedata/tst-mbswcs4.c: Likewise.
  38546. * localedata/tst-mbswcs5.c: Likewise.
  38547. * localedata/tst-setlocale.c: Likewise.
  38548. * localedata/tst-trans.c: Likewise.
  38549. * localedata/tst-wctype.c: Likewise.
  38550. * localedata/tst-xlocale1.c: Likewise.
  38551. * login/tst-grantpt.c: Likewise.
  38552. * malloc/tst-calloc.c: Likewise.
  38553. * malloc/tst-malloc.c: Likewise.
  38554. * malloc/tst-mallocstate.c: Likewise.
  38555. * malloc/tst-mcheck.c: Likewise.
  38556. * malloc/tst-mtrace.c: Likewise.
  38557. * malloc/tst-obstack.c: Likewise.
  38558. * math/atest-exp2.c: Likewise.
  38559. * math/atest-exp.c: Likewise.
  38560. * math/atest-sincos.c: Likewise.
  38561. * math/test-matherr.c: Likewise.
  38562. * math/test-misc.c: Likewise.
  38563. * math/test-powl.c: Likewise.
  38564. * math/tst-definitions.c: Likewise.
  38565. * misc/tst-dirname.c: Likewise.
  38566. * misc/tst-efgcvt.c: Likewise.
  38567. * misc/tst-fdset.c: Likewise.
  38568. * misc/tst-hsearch.c: Likewise.
  38569. * misc/tst-mntent2.c: Likewise.
  38570. * nptl/tst-sem7.c: Likewise.
  38571. * nptl/tst-sem8.c: Likewise.
  38572. * nptl/tst-sem9.c: Likewise.
  38573. * nss/test-netdb.c: Likewise.
  38574. * posix/tst-fnmatch.c: Likewise.
  38575. * posix/tst-getlogin.c: Likewise.
  38576. * posix/tst-gnuglob.c: Likewise.
  38577. * posix/tst-mmap.c: Likewise.
  38578. * pwd/tst-getpw.c: Likewise.
  38579. * resolv/tst-inet_ntop.c: Likewise.
  38580. * rt/tst-timer.c: Likewise.
  38581. * stdio-common/test-fseek.c: Likewise.
  38582. * stdio-common/test-popen.c: Likewise.
  38583. * stdio-common/test-vfprintf.c: Likewise.
  38584. * stdio-common/tst-cookie.c: Likewise.
  38585. * stdio-common/tst-fileno.c: Likewise.
  38586. * stdio-common/tst-gets.c: Likewise.
  38587. * stdio-common/tst-obprintf.c: Likewise.
  38588. * stdio-common/tst-perror.c: Likewise.
  38589. * stdio-common/tst-sprintf2.c: Likewise.
  38590. * stdio-common/tst-sprintf3.c: Likewise.
  38591. * stdio-common/tst-sprintf.c: Likewise.
  38592. * stdio-common/tst-swprintf.c: Likewise.
  38593. * stdio-common/tst-tmpnam.c: Likewise.
  38594. * stdio-common/tst-unbputc.c: Likewise.
  38595. * stdio-common/tst-wc-printf.c: Likewise.
  38596. * stdlib/tst-environ.c: Likewise.
  38597. * stdlib/tst-fmtmsg.c: Likewise.
  38598. * stdlib/tst-limits.c: Likewise.
  38599. * stdlib/tst-rand48-2.c: Likewise.
  38600. * stdlib/tst-rand48.c: Likewise.
  38601. * stdlib/tst-random2.c: Likewise.
  38602. * stdlib/tst-random.c: Likewise.
  38603. * stdlib/tst-strtol.c: Likewise.
  38604. * stdlib/tst-strtoll.c: Likewise.
  38605. * stdlib/tst-tls-atexit.c: Likewise.
  38606. * stdlib/tst-xpg-basename.c: Likewise.
  38607. * string/test-ffs.c: Likewise.
  38608. * string/tst-bswap.c: Likewise.
  38609. * string/tst-inlcall.c: Likewise.
  38610. * string/tst-strtok.c: Likewise.
  38611. * string/tst-strxfrm.c: Likewise.
  38612. * sysdeps/x86_64/tst-audit10.c: Likewise.
  38613. * sysdeps/x86_64/tst-audit3.c: Likewise.
  38614. * sysdeps/x86_64/tst-audit4.c: Likewise.
  38615. * sysdeps/x86_64/tst-audit5.c: Likewise.
  38616. * time/tst-ftime_l.c: Likewise.
  38617. * time/tst-getdate.c: Likewise.
  38618. * time/tst-mktime3.c: Likewise.
  38619. * time/tst-mktime.c: Likewise.
  38620. * time/tst-posixtz.c: Likewise.
  38621. * time/tst-strptime2.c: Likewise.
  38622. * time/tst-strptime3.c: Likewise.
  38623. * wcsmbs/tst-btowc.c: Likewise.
  38624. * wcsmbs/tst-mbrtowc.c: Likewise.
  38625. * wcsmbs/tst-mbsrtowcs.c: Likewise.
  38626. * wcsmbs/tst-wchar-h.c: Likewise.
  38627. * wcsmbs/tst-wcpncpy.c: Likewise.
  38628. * wcsmbs/tst-wcrtomb.c: Likewise.
  38629. * wcsmbs/tst-wcsnlen.c: Likewise.
  38630. * wcsmbs/tst-wcstof.c: Likewise.
  38631. 2014-11-04 Joseph Myers <joseph@codesourcery.com>
  38632. [BZ #14132]
  38633. * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
  38634. INTDEF.
  38635. * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
  38636. declaration.
  38637. (_dl_mcount): Use rtld_hidden_proto.
  38638. * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
  38639. _dl_mcount.
  38640. * elf/rtld.c (_rtld_global_ro): Likewise.
  38641. [BZ #14132]
  38642. * elf/dl-init.c (_dl_init): Don't use INTDEF.
  38643. * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
  38644. of _dl_init_internal.
  38645. * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
  38646. * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
  38647. * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
  38648. * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
  38649. * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
  38650. * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
  38651. * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
  38652. * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
  38653. * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
  38654. * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
  38655. * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
  38656. * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
  38657. * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
  38658. * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
  38659. * sysdeps/tile/dl-start.S (_start): Likewise.
  38660. * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
  38661. * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
  38662. [BZ #14132]
  38663. * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
  38664. [IS_IN_rtld] (_dl_argv_internal): Do not declare.
  38665. (rtld_progname): Make macro definition unconditional.
  38666. * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
  38667. INTDEF.
  38668. (dlmopen_doit): Do not use INTUSE with _dl_argv.
  38669. (dl_main): Likewise.
  38670. * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
  38671. * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
  38672. instead of _dl_argv_internal.
  38673. * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
  38674. __GI__dl_argv instead of INTUSE(_dl_argv).
  38675. * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
  38676. __GI__dl_argv instead of _dl_argv_internal.
  38677. * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
  38678. * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
  38679. macro.
  38680. [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
  38681. * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
  38682. New macro.
  38683. [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
  38684. * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
  38685. macro.
  38686. [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
  38687. * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
  38688. 2014-11-04 Andreas Schwab <schwab@suse.de>
  38689. * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
  38690. 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  38691. * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
  38692. mtvsrd instruction in binary form.
  38693. 2014-11-03 Andreas Schwab <schwab@suse.de>
  38694. [BZ #17522]
  38695. * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
  38696. for less than MB_LEN_MAX use a local buffer of that size.
  38697. * libio/tst-fputws.c: New file.
  38698. * libio/Makefile (tests): Add tst-fputws.
  38699. 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
  38700. * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
  38701. the size of the fpu_fr.fpu_dregs[] array.
  38702. 2014-11-01 Joseph Myers <joseph@codesourcery.com>
  38703. * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
  38704. (__nanosleep): Do not define as alias.
  38705. (nanosleep): Define as alias of __nanosleep.
  38706. * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
  38707. __libc_nanosleep name.
  38708. 2014-10-31 Joseph Myers <joseph@codesourcery.com>
  38709. * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
  38710. install.texi in comment.
  38711. 2014-10-31 Torvald Riegel <triegel@redhat.com>
  38712. * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
  38713. * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
  38714. ... add here and use lwsync or sync ...
  38715. * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
  38716. ... and add here using lwsync.
  38717. 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
  38718. * elf/dl-machine-reject-phdr.h: New file.
  38719. * elf/dl-load.c: #include that.
  38720. (open_verify): Call elf_machine_reject_phdr_p and ignore the file
  38721. if that returned true.
  38722. 2014-10-31 Roland McGrath <roland@hack.frob.com>
  38723. [BZ #17496]
  38724. * Makerules: Move gnu/lib-names.h generation chunk up, to right after
  38725. gen-as-const-headers chunk. Add a big scare comment after the last
  38726. safe place to touch before-compile.
  38727. 2014-10-31 Joseph Myers <joseph@codesourcery.com>
  38728. * manual/install.texi (Tools for Compilation): Update autoconf
  38729. version requirements.
  38730. * INSTALL: Regenerated.
  38731. * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
  38732. * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
  38733. (__libc_pselect): Likewise.
  38734. [BZ #14138]
  38735. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
  38736. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
  38737. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
  38738. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
  38739. 2014-10-31 Torvald Riegel <triegel@redhat.com>
  38740. * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
  38741. correct barrier instruction.
  38742. * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
  38743. Likewise.
  38744. * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
  38745. Likewise.
  38746. 2014-10-30 Roland McGrath <roland@hack.frob.com>
  38747. * include/ctype.h: Include <ctype/ctype.h> first thing rather than
  38748. after defining inlines. Instead, just use parens to defeat macro
  38749. expansion of __isctype in its declaration.
  38750. 2014-10-30 Joseph Myers <joseph@codesourcery.com>
  38751. * include/sys/uio.h (__libc_readv): Remove declaration.
  38752. (__libc_writev): Likewise.
  38753. * misc/readv.c (__libc_readv): Rename to __readv.
  38754. (__readv): Do not define as alias.
  38755. (readv): Define as alias of __readv.
  38756. * misc/writev.c (__libc_writev): Rename to __writev.
  38757. (__writev): Do not define as alias.
  38758. (writev): Define as alias of __writev.
  38759. * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
  38760. (__readv): Do not define as alias.
  38761. (readv): Define unconditionally as alias of __readv.
  38762. * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
  38763. (__writev): Do not define as alias.
  38764. (writev): Define unconditionally as alias of __writev.
  38765. * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
  38766. name.
  38767. (writev): Do not define __libc_writev name.
  38768. 2014-10-30 Roland McGrath <roland@hack.frob.com>
  38769. * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
  38770. (convert_charseq): New function, broken out of ...
  38771. (use_from_charmap): ... here. Call it.
  38772. (use_to_charmap): Use convert_charseq and free instead of duplicating
  38773. its code with a variable-length stack struct.
  38774. 2014-10-30 Joseph Myers <joseph@codesourcery.com>
  38775. * include/fcntl.h (__libc_creat): Remove declaration.
  38776. * io/creat.c (__libc_creat): Rename to creat.
  38777. (creat): Do not define as alias.
  38778. * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
  38779. of creat instead of __libc_creat.
  38780. * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
  38781. to creat.
  38782. (creat): Do not define as alias.
  38783. [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
  38784. __libc_creat.
  38785. * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
  38786. __libc_creat name.
  38787. * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
  38788. Likewise.
  38789. 2014-10-29 Carlos O'Donell <carlos@redhat.com>
  38790. * manual/llio.texi: Add comments discussing why write() may be
  38791. considered MT-unsafe on Linux.
  38792. 2014-10-28 Carlos O'Donell <carlos@redhat.com>
  38793. * dl-load.c (local_strdup): Remove.
  38794. (expand_dynamic_string_token): Use __strdup.
  38795. (decompose_rpath): Likewise.
  38796. (_dl_map_object): Likewise.
  38797. 2014-10-28 Joseph Myers <joseph@codesourcery.com>
  38798. [BZ #14132]
  38799. * sysdeps/generic/unwind-dw2-fde.c
  38800. (__register_frame_info_bases_internal): Do not declare.
  38801. (__register_frame_info_table_bases_internal): Likewise.
  38802. (__deregister_frame_info_bases_internal): Likewise.
  38803. (__register_frame_info_bases): Declare and use hidden_proto before
  38804. definition. Use hidden_def instead of INTDEF.
  38805. (__register_frame_info_table_bases): Likewise.
  38806. (__deregister_frame_info_bases): Likewise.
  38807. (__register_frame_info): Do not use INTUSE.
  38808. (__register_frame): Likewise.
  38809. (__register_frame_info_table): Likewise.
  38810. (__register_frame_table): Likewise.
  38811. (__deregister_frame_info): Likewise.
  38812. (__deregister_frame): Likewise.
  38813. 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
  38814. * sysdeps/unix/sysv/linux/arm/kernel-features.h
  38815. [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
  38816. not undefine.
  38817. [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
  38818. Likewise.
  38819. [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
  38820. Likewise.
  38821. 2014-10-27 Joseph Myers <joseph@codesourcery.com>
  38822. [BZ #14138]
  38823. * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
  38824. * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
  38825. * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
  38826. * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
  38827. * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
  38828. * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
  38829. * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
  38830. * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
  38831. * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
  38832. * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
  38833. * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
  38834. * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
  38835. * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
  38836. syscall.
  38837. (setfsuid): Likewise.
  38838. * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
  38839. (setfsuid): Likewise.
  38840. * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
  38841. (setfsuid): Likewise.
  38842. * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
  38843. Likewise.
  38844. (setfsuid): Likewise.
  38845. * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
  38846. (setfsuid): Likewise.
  38847. * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
  38848. Likewise.
  38849. (setfsuid): Likewise.
  38850. 2014-10-27 Andreas Schwab <schwab@suse.de>
  38851. [BZ #17501]
  38852. * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
  38853. check for Slow_SSE4_2 feature bit.
  38854. * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
  38855. * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
  38856. * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
  38857. Likewise. Fix check for Fast_Unaligned_Load feature bit.
  38858. 2014-10-24 Roland McGrath <roland@hack.frob.com>
  38859. * configure.ac: Validate compiler version with a empirical test of
  38860. __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
  38861. $CC -v output.
  38862. * configure: Regenerated.
  38863. * inet/htons.c (htons): Prototypify.
  38864. * inet/htonl.c (htonl): Likewise.
  38865. 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
  38866. * string/strncat.c (strncat): Improve performance by using strlen.
  38867. 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
  38868. * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
  38869. 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
  38870. * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
  38871. Call libc_fetestexcept_aarch64.
  38872. 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
  38873. * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
  38874. Call libc_feholdexcept_aarch64.
  38875. 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
  38876. * sysdeps/aarch64/fpu/fegetround.c (fegetround):
  38877. Call get_rounding_mode.
  38878. 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
  38879. * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
  38880. Simplify logic.
  38881. 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
  38882. * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
  38883. Simplify logic.
  38884. 2014-10-24 Joseph Myers <joseph@codesourcery.com>
  38885. [BZ #14138]
  38886. * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
  38887. * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
  38888. * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
  38889. * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
  38890. * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
  38891. * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
  38892. * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
  38893. * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
  38894. * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
  38895. * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
  38896. * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
  38897. * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
  38898. * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
  38899. * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
  38900. * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
  38901. * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
  38902. * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
  38903. * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
  38904. * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
  38905. * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
  38906. * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
  38907. * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
  38908. * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
  38909. * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
  38910. * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
  38911. * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
  38912. * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
  38913. * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
  38914. * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
  38915. * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
  38916. * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
  38917. * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
  38918. * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
  38919. * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
  38920. * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
  38921. * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
  38922. * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
  38923. * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
  38924. * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
  38925. * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
  38926. * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
  38927. syscall.
  38928. (geteuid): Likewise.
  38929. (getgid): Likewise.
  38930. (getuid): Likewise.
  38931. (getresgid): Likewise.
  38932. (getresuid): Likewise.
  38933. (getgroups): Likewise.
  38934. * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
  38935. (geteuid): Likewise.
  38936. (getgid): Likewise.
  38937. (getuid): Likewise.
  38938. (getresgid): Likewise.
  38939. (getresuid): Likewise.
  38940. (getgroups): Likewise.
  38941. * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
  38942. (geteuid): Likewise.
  38943. (getgid): Likewise.
  38944. (getuid): Likewise.
  38945. (getresgid): Likewise.
  38946. (getresuid): Likewise.
  38947. (getgroups): Likewise.
  38948. * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
  38949. Likewise.
  38950. (geteuid): Likewise.
  38951. (getgid): Likewise.
  38952. (getuid): Likewise.
  38953. (getresgid): Likewise.
  38954. (getresuid): Likewise.
  38955. (getgroups): Likewise.
  38956. * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
  38957. (geteuid): Likewise.
  38958. (getgid): Likewise.
  38959. (getuid): Likewise.
  38960. (getresgid): Likewise.
  38961. (getresuid): Likewise.
  38962. (getgroups): Likewise.
  38963. * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
  38964. Likewise.
  38965. (geteuid): Likewise.
  38966. (getgid): Likewise.
  38967. (getuid): Likewise.
  38968. (getgroups): Likewise.
  38969. [BZ #14138]
  38970. * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
  38971. * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
  38972. * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
  38973. * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
  38974. * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
  38975. * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
  38976. * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
  38977. * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
  38978. * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
  38979. * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
  38980. * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
  38981. * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
  38982. * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
  38983. __chown.
  38984. * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
  38985. (lchown): Likewise.
  38986. (fchown): Likewise.
  38987. * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
  38988. Likewise.
  38989. (lchown): Likewise.
  38990. (fchown): Likewise.
  38991. * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
  38992. (lchown): Likewise.
  38993. (fchown): Likewise.
  38994. * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
  38995. Likewise.
  38996. (lchown): Likewise.
  38997. (fchown): Likewise.
  38998. 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
  38999. * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
  39000. Simplify logic.
  39001. 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
  39002. * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
  39003. Cleanup logic.
  39004. 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
  39005. * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
  39006. Remove unused include.
  39007. 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
  39008. * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
  39009. * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
  39010. * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
  39011. * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
  39012. 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
  39013. Helge Deller <deller@gmx.de>
  39014. [BZ #17508]
  39015. * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
  39016. Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
  39017. Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
  39018. 2014-10-23 Joseph Myers <joseph@codesourcery.com>
  39019. [BZ #14132]
  39020. * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
  39021. Remove macro definition.
  39022. (__ashrdi3_v_glibc20): Likewise.
  39023. (__lshrdi3_v_glibc20): Likewise.
  39024. (__cmpdi2_v_glibc20): Likewise.
  39025. (__ucmpdi2_v_glibc20): Likewise.
  39026. [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
  39027. [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
  39028. [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
  39029. [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
  39030. [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
  39031. [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
  39032. 2014-10-22 Roland McGrath <roland@hack.frob.com>
  39033. * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
  39034. old GNU extension [0] syntax.
  39035. * nscd/nscd_helper.c (open_socket): Use a flexible array member and
  39036. alloca rather than an array member with variable length.
  39037. * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
  39038. * nscd/nscd.c (invalidate_db): New function, broken out of ...
  39039. (parse_opt): ... here. Likewise use alloca there.
  39040. Validate the -i argument before checking for rootness.
  39041. (send_shutdown): New function, broken out of ...
  39042. (parse_opt): ... here.
  39043. 2014-10-22 Roland McGrath <roland@hack.frob.com>
  39044. * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
  39045. macro to get at the _rt_local_ro field.
  39046. [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
  39047. ([PIC] case) or _dl_hwcap ([!PIC] case).
  39048. * sysdeps/arm/setjmp.S: Likewise.
  39049. * config.h.in (ARM_PCREL_MOVW_OK): New macro.
  39050. * sysdeps/arm/configure.ac: New check to define it.
  39051. * sysdeps/arm/configure: Regenerated.
  39052. * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
  39053. (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
  39054. (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
  39055. depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
  39056. (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
  39057. Use move/movt pair instead of a load.
  39058. (LDST_GLOBAL): Macro removed.
  39059. (LDR_GLOBAL): New macro replaces it.
  39060. (LDR_HIDDEN): New macro.
  39061. (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
  39062. Use LDR_HIDDEN instead for __pointer_chk_guard_local.
  39063. * setjmp/tst-setjmp-static.c: New file.
  39064. * setjmp/Makefile (tests): Add it.
  39065. (tests-static): New variable.
  39066. 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
  39067. [BZ #17485]
  39068. * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
  39069. 2014-10-21 Joseph Myers <joseph@codesourcery.com>
  39070. [BZ #14132]
  39071. * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
  39072. 2014-10-21 Roland McGrath <roland@hack.frob.com>
  39073. * nptl/version.c (__nptl_main): Call __libc_write, not __write.
  39074. 2014-10-20 Roland McGrath <roland@hack.frob.com>
  39075. * io/fts.c (dirent_not_directory): New function.
  39076. (fts_build): Call it.
  39077. 2014-10-20 Roland McGrath <roland@hack.frob.com>
  39078. * nptl/version.c (__nptl_main): Use normal __write rather than
  39079. INTERNAL_SYSCALL.
  39080. (banner): Update copyright years.
  39081. * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
  39082. gettimeofday.
  39083. * nptl/pthread_rwlock_timedwrlock.c: Likewise.
  39084. * nptl/pthread_cond_timedwait.c: Likewise.
  39085. * nptl/pthread_mutex_timedlock.c: Likewise.
  39086. * nptl/sem_timedwait.c: Likewise.
  39087. * sysdeps/nptl/bits/libc-lock.h
  39088. [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
  39089. (__libc_lock_init_recursive): Return void, not 0.
  39090. * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
  39091. (__libc_rwlock_init): Likewise.
  39092. * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
  39093. 2014-10-20 Torvald Riegel <triegel@redhat.com>
  39094. [BZ #15215]
  39095. * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
  39096. (__pthread_once_slow): ... here.
  39097. * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
  39098. * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
  39099. 2014-10-20 Torvald Riegel <triegel@redhat.com>
  39100. [BZ #15215]
  39101. * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
  39102. __PTHREAD_ONCE_FORK_GEN_INCR): New.
  39103. * sysdeps/nptl/fork.c (__libc_fork): Use them.
  39104. * nptl/pthread_once.c (__pthread_once): Likewise.
  39105. Update comments.
  39106. 2014-10-20 Joseph Myers <joseph@codesourcery.com>
  39107. [BZ #14138]
  39108. * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
  39109. name.
  39110. (writev): Use __libc_writev as strong name.
  39111. * sysdeps/unix/sysv/linux/readv.c: Remove file.
  39112. * sysdeps/unix/sysv/linux/writev.c: Likewise.
  39113. 2014-10-17 Roland McGrath <roland@hack.frob.com>
  39114. * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
  39115. * sysdeps/i386/nptl/tls.h
  39116. (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
  39117. [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
  39118. New macros.
  39119. * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
  39120. (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
  39121. * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
  39122. Call SETUP_THREAD_SYSINFO instead of doing an assignment.
  39123. * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
  39124. Call CHECK_THREAD_SYSINFO instead of doing an assert.
  39125. * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
  39126. Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
  39127. on [__NR_futex].
  39128. * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
  39129. broken out of ...
  39130. (__pthread_mutex_init): ... here. Call it.
  39131. * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
  39132. Conditionalize PI cases on [__NR_futex].
  39133. * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
  39134. * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
  39135. * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
  39136. * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
  39137. conditional on [SIGSETXID].
  39138. (sigcancel_handler): Make definition conditional on [SIGCANCEL].
  39139. (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
  39140. is defined. Likewise for SIGSETXID.
  39141. * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
  39142. Conditionalize definitions on [SIGSETXID].
  39143. (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
  39144. * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
  39145. unblocking on [SIGCANCEL].
  39146. * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
  39147. [__NR_set_robust_list].
  39148. 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
  39149. * string/strcoll_l.c (get_next_seq): Fix up formatting.
  39150. (do_compare): Likewise.
  39151. 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
  39152. [BZ #15884]
  39153. * string/strcoll_l.c: Don't include stdio.h.
  39154. (coll_seq): Remove members idxarr and rulearr.
  39155. (get_next_seq_cached): Remove function.
  39156. (get_next_seq): Likewise.
  39157. (get_next_seq_nocache): Rename to get_next_seq.
  39158. (do_compare): Remove function.
  39159. (do_compare_nocache): Rename to do_compare.
  39160. (STRCOLL): Remove weight and rules cache.
  39161. 2014-10-16 Roland McGrath <roland@hack.frob.com>
  39162. * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
  39163. * sysdeps/arm/sfp-machine.h: ... to here.
  39164. * sysdeps/arm/Implies: Remove arm/soft-fp.
  39165. 2014-10-14 Joseph Myers <joseph@codesourcery.com>
  39166. * conform/data/sys/utsname.h-data (*_t): Allow.
  39167. * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
  39168. [POSIX] (WEXITED): Do not expect constant.
  39169. [POSIX] (WSTOPPED): Likewise.
  39170. [POSIX] (WNOHANG): Likewise.
  39171. [POSIX] (WNOWAIT): Likewise.
  39172. [POSIX] (siginfo_t): Do not expect type or elements.
  39173. [POSIX] (pid_t): Do not expect type.
  39174. [POSIX] (signal.h): Do not allow header.
  39175. [POSIX] (sys/resource.h): Likewise.
  39176. [POSIX] (si_*): Do not allow pattern.
  39177. [POSIX] (W*): Likewise.
  39178. [POSIX] (P_*): Likewise.
  39179. [POSIX] (BUS_*): Likewise.
  39180. [POSIX] (CLD_*): Likewise.
  39181. [POSIX] (FPE_*): Likewise.
  39182. [POSIX] (ILL_*): Likewise.
  39183. [POSIX] (POLL_*): Likewise.
  39184. [POSIX] (SEGV_*): Likewise.
  39185. [POSIX] (SI_*): Likewise.
  39186. [POSIX] (TRAP_*): Likewise.
  39187. * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
  39188. variable.
  39189. 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
  39190. [BZ #12926]
  39191. * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
  39192. infinite loop when __recvmsg returns 0.
  39193. 2014-10-10 Joseph Myers <joseph@codesourcery.com>
  39194. * CANCEL-FCT-WAIVE: Remove file.
  39195. * CANCEL-FILE-WAIVE: Likewise.
  39196. [BZ #14132]
  39197. * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
  39198. instead of INTVARDEF.
  39199. (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
  39200. * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
  39201. rtld_hidden_data_def instead of INTVARDEF.
  39202. (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
  39203. * elf/dl-deps.c (expand_dst): Likewise.
  39204. * elf/dl-load.c (_dl_dst_count): Likewise.
  39205. (_dl_dst_substitute): Likewise.
  39206. (decompose_rpath): Likewise.
  39207. (_dl_init_paths): Likewise.
  39208. (open_path): Likewise.
  39209. (_dl_map_object): Likewise.
  39210. * elf/rtld.c (dl_main): Likewise.
  39211. (process_dl_audit): Likewise.
  39212. (process_envvars): Likewise.
  39213. * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
  39214. Remove declaration.
  39215. (__libc_enable_secure): Use rtld_hidden_proto.
  39216. 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
  39217. * elf/dl-load.c
  39218. (add_path): New function broken out of _dl_rtld_di_serinfo.
  39219. (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
  39220. 2014-10-09 Joseph Myers <joseph@codesourcery.com>
  39221. * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
  39222. parentheses around macro arguments.
  39223. [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
  39224. [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
  39225. [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
  39226. [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
  39227. [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
  39228. [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
  39229. [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
  39230. [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
  39231. [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
  39232. [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
  39233. [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
  39234. [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
  39235. [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
  39236. [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
  39237. [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
  39238. [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
  39239. [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
  39240. [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
  39241. [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
  39242. [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
  39243. [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
  39244. [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
  39245. [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
  39246. [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
  39247. [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
  39248. [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
  39249. [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
  39250. [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
  39251. [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
  39252. [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
  39253. [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
  39254. [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
  39255. [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
  39256. [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
  39257. [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
  39258. * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
  39259. Likewise.
  39260. [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
  39261. [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
  39262. [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
  39263. [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
  39264. [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
  39265. [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
  39266. [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
  39267. [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
  39268. [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
  39269. [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
  39270. [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
  39271. [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
  39272. [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
  39273. [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
  39274. [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
  39275. [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
  39276. [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
  39277. [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
  39278. [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
  39279. [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
  39280. [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
  39281. [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
  39282. [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
  39283. [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
  39284. [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
  39285. [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
  39286. [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
  39287. * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
  39288. (_FP_FRAC_SRS_1): Likewise.
  39289. (_FP_FRAC_CLZ_1): Likewise.
  39290. (_FP_MUL_MEAT_1_imm): Likewise.
  39291. (_FP_MUL_MEAT_1_wide): Likewise.
  39292. (_FP_MUL_MEAT_1_hard): Likewise.
  39293. (_FP_SQRT_MEAT_1): Likewise.
  39294. (_FP_FRAC_ASSEMBLE_1): Likewise.
  39295. (_FP_FRAC_DISASSEMBLE_1): Likewise.
  39296. * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
  39297. (__FP_CLZ_2): Likewise.
  39298. (_FP_MUL_MEAT_2_wide): Likewise.
  39299. (_FP_MUL_MEAT_2_wide_3mul): Likewise.
  39300. (_FP_MUL_MEAT_2_gmp): Likewise.
  39301. (_FP_MUL_MEAT_2_120_240_double): Likewise.
  39302. (_FP_SQRT_MEAT_2): Likewise.
  39303. (_FP_FRAC_ASSEMBLE_2): Likewise.
  39304. (_FP_FRAC_DISASSEMBLE_2): Likewise.
  39305. * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
  39306. (_FP_FRAC_CLZ_4): Likewise.
  39307. (_FP_MUL_MEAT_4_wide): Likewise.
  39308. (_FP_MUL_MEAT_4_gmp): Likewise.
  39309. (_FP_SQRT_MEAT_4): Likewise.
  39310. (_FP_FRAC_ASSEMBLE_4): Likewise.
  39311. (_FP_FRAC_DISASSEMBLE_4): Likewise.
  39312. * soft-fp/op-common.h (_FP_CMP): Likewise.
  39313. (_FP_CMP_EQ): Likewise.
  39314. (_FP_CMP_UNORD): Likewise.
  39315. (_FP_TO_INT): Likewise.
  39316. (_FP_FROM_INT): Likewise.
  39317. [!__FP_CLZ] (__FP_CLZ): Likewise.
  39318. (_FP_DIV_HELP_imm): Likewise.
  39319. * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
  39320. Likewise.
  39321. [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
  39322. [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
  39323. [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
  39324. [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
  39325. [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
  39326. [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
  39327. [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
  39328. [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
  39329. [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
  39330. [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
  39331. [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
  39332. [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
  39333. [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
  39334. [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
  39335. [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
  39336. [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
  39337. [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
  39338. [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
  39339. [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
  39340. [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
  39341. [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
  39342. [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
  39343. [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
  39344. [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
  39345. [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
  39346. [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
  39347. [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
  39348. [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
  39349. [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
  39350. [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
  39351. [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
  39352. [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
  39353. [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
  39354. [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
  39355. [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
  39356. * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
  39357. (FP_UNPACK_RAW_SP): Likewise.
  39358. (FP_PACK_RAW_S): Likewise.
  39359. (FP_PACK_RAW_SP): Likewise.
  39360. (FP_UNPACK_S): Likewise.
  39361. (FP_UNPACK_SP): Likewise.
  39362. (FP_UNPACK_SEMIRAW_S): Likewise.
  39363. (FP_UNPACK_SEMIRAW_SP): Likewise.
  39364. (FP_PACK_S): Likewise.
  39365. (FP_PACK_SP): Likewise.
  39366. (FP_PACK_SEMIRAW_S): Likewise.
  39367. (FP_PACK_SEMIRAW_SP): Likewise.
  39368. (_FP_SQRT_MEAT_S): Likewise.
  39369. (FP_CMP_S): Likewise.
  39370. (FP_CMP_EQ_S): Likewise.
  39371. (FP_CMP_UNORD_S): Likewise.
  39372. (FP_TO_INT_S): Likewise.
  39373. (FP_FROM_INT_S): Likewise.
  39374. * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
  39375. * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
  39376. (FP_EX_INVALID_IMZ): Likewise.
  39377. (FP_EX_INVALID_IMZ_FMA): Likewise.
  39378. (FP_EX_INVALID_ISI): Likewise.
  39379. (FP_EX_INVALID_ZDZ): Likewise.
  39380. (FP_EX_INVALID_IDI): Likewise.
  39381. (FP_EX_INVALID_SQRT): Likewise.
  39382. (FP_EX_INVALID_CVI): Likewise.
  39383. (FP_EX_INVALID_VC): Likewise.
  39384. * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
  39385. "invalid" exceptions.
  39386. (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
  39387. (_FP_ADD_INTERNAL): Likewise.
  39388. (_FP_MUL): Likewise.
  39389. (_FP_FMA): Likewise.
  39390. (_FP_DIV): Likewise.
  39391. (_FP_CMP_CHECK_NAN): Likewise.
  39392. (_FP_SQRT): Likewise.
  39393. (_FP_TO_INT): Likewise.
  39394. (FP_EXTEND): Likewise.
  39395. 2014-10-09 Allan McRae <allan@archlinux.org>
  39396. * po/fr.po: Update French translation from translation project.
  39397. 2014-10-09 Joseph Myers <joseph@codesourcery.com>
  39398. [BZ #14132]
  39399. * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
  39400. of INTDEF.
  39401. * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
  39402. (__cxa_atexit): Use libc_hidden_proto.
  39403. [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
  39404. [BZ #14132]
  39405. * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
  39406. declaration.
  39407. [!_ISOMAC] (__iswdigit_l_internal): Likewise.
  39408. [!_ISOMAC] (__iswspace_l_internal): Likewise.
  39409. [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
  39410. [!_ISOMAC] (__iswctype_internal): Likewise.
  39411. * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
  39412. * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
  39413. alias.
  39414. (fcntl): Remove __fcntl_internal alias.
  39415. * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
  39416. __connect_internal alias.
  39417. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
  39418. Likewise.
  39419. * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
  39420. * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
  39421. FP_DENORM_ZERO.
  39422. (_FP_CHECK_FLUSH_ZERO): New macro.
  39423. (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
  39424. (_FP_CMP): Likewise.
  39425. (_FP_CMP_EQ): Likewise.
  39426. (_FP_TO_INT): Do not set inexact for subnormal arguments if
  39427. FP_DENORM_ZERO.
  39428. (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
  39429. (FP_TRUNC): Likewise.
  39430. * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
  39431. treated as invalid conversion, not as normal exponent.
  39432. * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
  39433. (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
  39434. (_FP_CMP_EQ): Likewise.
  39435. (_FP_CMP_UNORD): Likewise.
  39436. * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
  39437. (FP_CMP_EQ_D): Likewise.
  39438. (FP_CMP_UNORD_D): Likewise.
  39439. * soft-fp/extended.h (FP_CMP_E): Likewise.
  39440. (FP_CMP_EQ_E): Likewise.
  39441. (FP_CMP_UNORD_E): Likewise.
  39442. * soft-fp/quad.h (FP_CMP_Q): Likewise.
  39443. (FP_CMP_EQ_Q): Likewise.
  39444. (FP_CMP_UNORD_Q): Likewise.
  39445. * soft-fp/single.h (FP_CMP_S): Likewise.
  39446. (FP_CMP_EQ_S): Likewise.
  39447. (FP_CMP_UNORD_S): Likewise.
  39448. * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
  39449. * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
  39450. * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
  39451. * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
  39452. * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
  39453. * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
  39454. * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
  39455. * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
  39456. * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
  39457. * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
  39458. * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
  39459. * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
  39460. * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
  39461. to FP_CMP_Q.
  39462. * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
  39463. FP_CMP_Q.
  39464. * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
  39465. * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
  39466. FP_CMP_EQ_Q.
  39467. * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
  39468. FP_CMP_Q.
  39469. * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
  39470. * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
  39471. * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
  39472. * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
  39473. FP_CMP_EQ_Q.
  39474. * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
  39475. FP_CMP_Q.
  39476. * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
  39477. * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
  39478. FP_CMP_EQ_Q.
  39479. * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
  39480. FP_CMP_Q.
  39481. * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
  39482. * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
  39483. * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
  39484. * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
  39485. FP_CMP_EQ_Q.
  39486. * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
  39487. a subnormal result, set the underflow exception if trapping on
  39488. underflow is enabled.
  39489. * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
  39490. (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
  39491. [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
  39492. redefine to 0.
  39493. * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
  39494. * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
  39495. * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
  39496. * soft-fp/extendxftf2.c (__extendxftf2): Use
  39497. FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
  39498. * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
  39499. * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
  39500. (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
  39501. FP_HANDLE_EXCEPTIONS.
  39502. * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
  39503. (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
  39504. FP_HANDLE_EXCEPTIONS.
  39505. * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
  39506. (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
  39507. FP_HANDLE_EXCEPTIONS.
  39508. * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
  39509. (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
  39510. FP_HANDLE_EXCEPTIONS.
  39511. 2014-10-08 Joseph Myers <joseph@codesourcery.com>
  39512. [BZ #14132]
  39513. * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
  39514. * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
  39515. use INTUSE.
  39516. [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
  39517. * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
  39518. Remove alias.
  39519. (__adjtimex): Define using libc_hidden_ver.
  39520. * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
  39521. Remove declaration.
  39522. (ntp_gettime): Call __adjtimex directly.
  39523. * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
  39524. Remove declaration.
  39525. (ntp_gettimex): Call __adjtimex directly.
  39526. * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
  39527. __adjtimex_internal alias.
  39528. 2014-10-08 Roland McGrath <roland@hack.frob.com>
  39529. [BZ #17460]
  39530. * nscd/nscd.c (more_help): Rewrite list of tables collection
  39531. using xstrdup and asprintf.
  39532. * nscd/nscd_conf.c: Remove local xstrdup declaration.
  39533. 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
  39534. Roland McGrath <roland@hack.frob.com>
  39535. * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
  39536. (do_lookup_unique): ... local function 'enter' here; update callers.
  39537. 2014-10-06 Joseph Myers <joseph@codesourcery.com>
  39538. * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
  39539. compat_symbol calls on [SHARED].
  39540. * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
  39541. * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
  39542. Remove.
  39543. (setrlimit): Add setrlimit@GLIBC_2.0 alias.
  39544. * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
  39545. (oldsetrlimit): Remove.
  39546. (setrlimit): Add setrlimit@GLIBC_2.0 alias.
  39547. * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
  39548. (lchown): New syscall entry.
  39549. (oldsetrlimit): Remove.
  39550. (setrlimit): Add setrlimit@GLIBC_2.0 alias.
  39551. * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
  39552. (oldsetrlimit): Remove.
  39553. (setrlimit): Add setrlimit@GLIBC_2.0 alias.
  39554. [BZ #14138]
  39555. * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
  39556. * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
  39557. * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
  39558. * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
  39559. * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
  39560. * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
  39561. (fchown): Likewise.
  39562. * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
  39563. (fchown): Likewise.
  39564. * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
  39565. Likewise.
  39566. 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  39567. * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
  39568. * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
  39569. (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
  39570. __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
  39571. * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
  39572. Likewise.
  39573. (__old_sem_post): Likewise.
  39574. 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
  39575. * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
  39576. INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
  39577. HAVE_CLOCK_GETTIME_VSYSCALL macros.
  39578. * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
  39579. Use INLINE_VSYSCALL macro.
  39580. * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
  39581. __vdso_clock_gettime.
  39582. * sysdeps/unix/sysv/linux/tile/init-first.c
  39583. (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
  39584. * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
  39585. __vdso_clock_gettime.
  39586. * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
  39587. to set up frame more cleanly.
  39588. * sysdeps/tile/memcmp.c: New file.
  39589. * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
  39590. * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
  39591. * sysdeps/tile/tilegx/strcasestr.c: New file.
  39592. * sysdeps/tile/tilegx/strnlen.c: New file.
  39593. * sysdeps/tile/tilegx/strstr.c: New file.
  39594. * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
  39595. 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
  39596. * nptl/tst-setuid3.c: Write errors to stdout.
  39597. 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
  39598. * elf/dl-deps.c
  39599. (preload): New functions broken out of _dl_map_object_deps.
  39600. (_dl_map_object_deps): Remove a nested function. Update call sites.
  39601. 2014-10-01 Joseph Myers <joseph@codesourcery.com>
  39602. [BZ #14138]
  39603. * sysdeps/unix/sysv/linux/execve.c: Remove file.
  39604. * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
  39605. 2014-10-01 Steve Ellcey <sellcey@mips.com>
  39606. * sysdeps/mips/strcmp.S: New.
  39607. 2014-09-30 Joseph Myers <joseph@codesourcery.com>
  39608. [BZ #14138]
  39609. * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
  39610. (linkat): Likewise.
  39611. (mkdirat): Likewise.
  39612. (readlinkat): Likewise.
  39613. (renameat): Likewise.
  39614. (symlinkat): Likewise.
  39615. (unlinkat): Likewise.
  39616. * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
  39617. * sysdeps/unix/sysv/linux/linkat.c: Likewise.
  39618. * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
  39619. * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
  39620. * sysdeps/unix/sysv/linux/renameat.c: Likewise.
  39621. * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
  39622. * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
  39623. 2014-09-30 Will Newton <will.newton@linaro.org>
  39624. * math/math.h: Define long double math functions if
  39625. _LIBC_TEST is defined.
  39626. * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
  39627. * localedata/Makefile: Move assignment to tests-special
  39628. into an ifdef testing run-built-tests.
  39629. * timezone/Makefile: Likewise.
  39630. 2014-09-29 Joseph Myers <joseph@codesourcery.com>
  39631. * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
  39632. with $(BASH) not $(SHELL).
  39633. 2014-09-29 Carlos O'Donell <carlos@redhat.com>
  39634. Matthew LeGendre <legendre1@llnl.gov>
  39635. [BZ #17411]
  39636. * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
  39637. l_reloc_result.
  39638. 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
  39639. * stdio-common/printf_fp.c
  39640. (hack_digit): New function, broken out of ...
  39641. (__printf_fp): ... local function here. Update call sites.
  39642. hack_digit now takes an additional parameter that is a pointer
  39643. to a struct of the referenced locals. Those locals moved inside
  39644. the struct and references updated.
  39645. 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
  39646. * aclocal.m4: Require autoconf 2.69.
  39647. * configure: Regenerated.
  39648. * sysdeps/aarch64/configure: Likewise.
  39649. * sysdeps/alpha/configure: Likewise.
  39650. * sysdeps/arm/armv7/configure: Likewise.
  39651. * sysdeps/arm/configure: Likewise.
  39652. * sysdeps/ia64/configure: Likewise.
  39653. * sysdeps/mach/configure: Likewise.
  39654. * sysdeps/mips/configure: Likewise.
  39655. * sysdeps/s390/configure: Likewise.
  39656. * sysdeps/unix/sysv/linux/mips/configure: Likewise.
  39657. * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
  39658. * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
  39659. file.
  39660. * sysdeps/ia64/configure.ac: Likewise.
  39661. 2014-09-26 Joseph Myers <joseph@codesourcery.com>
  39662. * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
  39663. specify symbol version for ld.so. Do not include entry for
  39664. libpthread.
  39665. * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
  39666. * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
  39667. * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
  39668. [BZ #14171]
  39669. * Makeconfig [$(build-shared) = yes]
  39670. ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
  39671. makefiles.
  39672. [$(build-shared) = yes && $(soversions.mk-done) = t]
  39673. ($(common-objpfx)gnu/lib-names.h): Remove rule.
  39674. [$(build-shared) = yes && $(soversions.mk-done) = t]
  39675. ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
  39676. to Makerules.
  39677. [$(build-shared) = yes && $(soversions.mk-done) = t]
  39678. (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
  39679. here.
  39680. [$(build-shared) = yes && $(soversions.mk-done) = t]
  39681. (common-generated): Don't append gnu/lib-names.h and
  39682. gnu/lib-names.stmp here.
  39683. * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
  39684. (lib-names-h-abi): New variable.
  39685. [$(build-shared) = yes && $(soversions.mk-done) = t]
  39686. (lib-names-stmp-abi): Likewise.
  39687. [$(build-shared) = yes && $(soversions.mk-done) = t &&
  39688. abi-variants] (before-compile): Append
  39689. $(common-objpfx)$(lib-names-h-abi).
  39690. [$(build-shared) = yes && $(soversions.mk-done) = t &&
  39691. abi-variants] (common-generated): Append gnu/lib-names.h.
  39692. [$(build-shared) = yes && $(soversions.mk-done) = t &&
  39693. abi-variants] (install-others-nosubdir): Depend on
  39694. $(inst_includedir)/$(lib-names-h-abi).
  39695. [$(build-shared) = yes && $(soversions.mk-done) = t &&
  39696. abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
  39697. [$(build-shared) = yes && $(soversions.mk-done) = t]
  39698. ($(common-objpfx)$(lib-names-h-abi)): New rule.
  39699. [$(build-shared) = yes && $(soversions.mk-done) = t]
  39700. ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
  39701. [$(build-shared) = yes && $(soversions.mk-done) = t]
  39702. (common-generated): Append $(lib-names-h-abi) and
  39703. $(lib-names-stmp-abi).
  39704. * scripts/lib-names.awk: Do not handle multi being set.
  39705. * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
  39706. Remove variable.
  39707. (abi-lp64_be-ld-soname): Likewise.
  39708. * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
  39709. Likewise.
  39710. (abi-hard-ld-soname): Likewise.
  39711. * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
  39712. * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
  39713. Remove variable.
  39714. (abi-o32_hard-ld-soname): Likewise.
  39715. (abi-o32_soft_2008-ld-soname): Likewise.
  39716. (abi-o32_hard_2008-ld-soname): Likewise.
  39717. (abi-n32_soft-ld-soname): Likewise.
  39718. (abi-n32_hard-ld-soname): Likewise.
  39719. (abi-n32_soft_2008-ld-soname): Likewise.
  39720. (abi-n32_hard_2008-ld-soname): Likewise.
  39721. (abi-n64_soft-ld-soname): Likewise.
  39722. (abi-n64_hard-ld-soname): Likewise.
  39723. (abi-n64_soft_2008-ld-soname): Likewise.
  39724. (abi-n64_hard_2008-ld-soname): Likewise.
  39725. * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
  39726. Likewise.
  39727. (abi-64-v2-ld-soname): Likewise.
  39728. * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
  39729. ld.so entries.
  39730. * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
  39731. variable.
  39732. * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
  39733. entry.
  39734. * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
  39735. variable.
  39736. (abi-64-ld-soname): Likewise.
  39737. (abi-x32-ld-soname): Likewise.
  39738. * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
  39739. entry.
  39740. * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
  39741. 2014-09-23 Joseph Myers <joseph@codesourcery.com>
  39742. [BZ #14138]
  39743. * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
  39744. * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
  39745. * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
  39746. * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
  39747. * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
  39748. * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
  39749. * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
  39750. syscall entry for GLIBC_2.2 symbol version.
  39751. * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
  39752. Likewise.
  39753. * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
  39754. (setrlimit): Likewise.
  39755. * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
  39756. Likewise.
  39757. 2014-09-23 Will Newton <will.newton@linaro.org>
  39758. * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
  39759. _LINUX_ARM_SYSDEP_H include guard too.
  39760. * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
  39761. define.
  39762. 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
  39763. * sysdeps/unix/sysv/linux/eventfd.c:
  39764. Make first argument unsigned.
  39765. * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
  39766. * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
  39767. 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
  39768. [BZ #16852]
  39769. * socket/recvmmsg.c (recvmmsg): Drop const argument.
  39770. * socket/sys/socket.h: Likewise.
  39771. * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
  39772. 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  39773. * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
  39774. 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
  39775. * time/tst-ftime.c: New test.
  39776. * time/Makefile (tests): Add tst-ftime.
  39777. 2014-09-17 Joseph Myers <joseph@codesourcery.com>
  39778. * soft-fp/extended.h: Fix comment formatting.
  39779. * soft-fp/op-1.h: Likewise.
  39780. * soft-fp/op-2.h: Likewise.
  39781. * soft-fp/op-4.h: Likewise.
  39782. * soft-fp/op-8.h: Likewise.
  39783. * soft-fp/op-common.h: Likewise.
  39784. * soft-fp/soft-fp.h: Likewise.
  39785. * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
  39786. 2014-09-16 Joseph Myers <joseph@codesourcery.com>
  39787. [BZ #6652]
  39788. * Makeconfig (soversions-default-setname): Remove variable.
  39789. ($(common-objpfx)soversions.i): Don't pass default_setname to
  39790. soversions.awk.
  39791. * Makerules ($(common-objpfx)abi-versions.h): Don't pass
  39792. oldest_abi to abi-versions.awk.
  39793. * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
  39794. * config.make.in (oldest-abi): Remove variable.
  39795. * configure.ac (--enable-oldest-abi): Remove configure option.
  39796. * configure: Regenerated.
  39797. * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
  39798. text.
  39799. * scripts/abi-versions.awk: Do not handle oldest_abi variable.
  39800. * scripts/soversions.awk: Do not handle default_setname variable.
  39801. * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
  39802. variable.
  39803. * sysdeps/mach/hurd/configure: Regenerated.
  39804. * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
  39805. variable.
  39806. * sysdeps/unix/sysv/linux/configure: Regenerated.
  39807. 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
  39808. * elf/Makefile (CFLAGS-interp.c): Remove.
  39809. ($(elf-objpfx)runtime-linker.h): Generate header with linker
  39810. path string.
  39811. * elf/interp.c: Include generated runtime-linker.h
  39812. * Makerules (lib%.so): Don't include $(+interp) in
  39813. prerequisites.
  39814. * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
  39815. * dlfcn/eval.c: Remove file.
  39816. * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
  39817. macros.
  39818. [BZ #17266]
  39819. * misc/sys/cdefs.h: Define __extern_always_inline for clang
  39820. 4.2 and newer.
  39821. [BZ #17370]
  39822. * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
  39823. 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
  39824. Jakub Jelinek <jakub@redhat.com>
  39825. [BZ #17266]
  39826. * libio/stdio.h: Check definition of __fortify_function
  39827. instead of __extern_always_inline to include bits/stdio2.h.
  39828. * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
  39829. check if __extern_always_inline is defined.
  39830. [__USE_MISC || __USE_XOPEN]: Likewise.
  39831. [__USE_ISOC99] Likewise.
  39832. * misc/sys/cdefs.h (__fortify_function): Define only if
  39833. __extern_always_inline is defined.
  39834. [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
  39835. __extern_always_inline and __extern_inline only for g++-4.3
  39836. and newer or a compatible gcc.
  39837. 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
  39838. [BZ #17371]
  39839. * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
  39840. last change to handle zero prefix length.
  39841. 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
  39842. * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
  39843. _SC_REGEX_VERSION.
  39844. * posix/getconf.c (vars): Add _POSIX_IPV6 and
  39845. _POSIX_RAW_SOCKETS.
  39846. 2014-09-13 Allan McRae <allan@archlinux.org>
  39847. * po/ru.po: Update Russian translation from translation project.
  39848. 2014-09-12 Roland McGrath <roland@hack.frob.com>
  39849. * locale/programs/locale.c (show_locale_vars): Inline local function
  39850. into its sole call site. Clean up some style nits.
  39851. (print_item): New function, broken out of ...
  39852. (show_info): ... local function here. Clean up style nits.
  39853. * locale/programs/ld-ctype.c (set_one_default): New function, broken
  39854. out of ...
  39855. (set_class_defaults): ... local function set_default here.
  39856. Define set_default as a macro locally to pass constant parameters.
  39857. (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
  39858. rather than a shared local.
  39859. * stdlib/rpmatch.c (try): New function, broken out of ...
  39860. (rpmatch): ... local function here. Also, prototypify definition.
  39861. 2014-09-12 Joseph Myers <joseph@codesourcery.com>
  39862. * scripts/soversions.awk: Do not handle configuration names.
  39863. * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
  39864. vendor and os variables to soversions.awk.
  39865. * configure.ac: Do not modify gnu-* host_os.
  39866. * configure: Regenerated
  39867. * shlib-versions: Remove first column with configuration names.
  39868. * nptl/shlib-versions: Likewise.
  39869. * nptl_db/shlib-versions: Likewise.
  39870. * sysdeps/hppa/shlib-versions: Likewise.
  39871. * sysdeps/m68k/shlib-versions: Likewise.
  39872. * sysdeps/mach/hurd/shlib-versions: Likewise.
  39873. * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
  39874. * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
  39875. * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
  39876. * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
  39877. * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
  39878. * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
  39879. * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
  39880. * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
  39881. * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
  39882. Likewise.
  39883. * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
  39884. * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
  39885. * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
  39886. * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
  39887. * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
  39888. * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
  39889. * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
  39890. * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
  39891. * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
  39892. (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
  39893. * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
  39894. Regenerated.
  39895. * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
  39896. * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
  39897. Condition symbol version definitions on [HAVE_ELFV2_ABI].
  39898. * shlib-versions: Remove OS-specific entries. Moved to files in
  39899. sysdeps.
  39900. * sysdeps/mach/hurd/shlib-versions: New file.
  39901. * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
  39902. * nptl/shlib-versions: Remove architecture-specific entries.
  39903. Moved to files in sysdeps.
  39904. * shlib-versions: Likewise.
  39905. * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
  39906. file.
  39907. * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
  39908. * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
  39909. * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
  39910. * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
  39911. * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
  39912. (UDP_NO_CHECK6_RX): Likewise.
  39913. 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
  39914. * sysdeps/posix/sysconf.c (__sysconf): Spell
  39915. _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
  39916. 2014-08-12 Florian Weimer <fweimer@redhat.com>
  39917. * iconv/gconv_open.c (__gconv_open): Remove transliteration module
  39918. loading.
  39919. * iconv/Versions (__gconv_transliterate): Export for use from
  39920. gconv modules.
  39921. * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
  39922. (struct __gconv_trans_data, __gconv_trans_fct,
  39923. __gconv_trans_context_fct, __gconv_trans_query_fct,
  39924. __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
  39925. definitions.
  39926. (struct __gconv_step_data): Remove __trans member.
  39927. (__gconv_transliterate): Declaration moved from gconv_int.h. No
  39928. longer hidden. Remove unused trans_data argument.
  39929. * iconv/gconv_int.h (struct trans_struct): Remove definition.
  39930. (__gconv_translit_find): Remove declaration.
  39931. (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
  39932. prototype.
  39933. * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
  39934. * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
  39935. trans_data argument. Add hidden definition.
  39936. (__gconv_translit_find): Remove.
  39937. * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
  39938. __gconv_transliterate directly if __GCONV_TRANSLIT is set.
  39939. * iconv/skeleton.c: Remove transliteration initialization.
  39940. * libio/fileops.c (_IO_new_file_fopen): Adjust struct
  39941. __gconv_step_data initialization.
  39942. * libio/iofwide.c (__libio_translit_): Remove.
  39943. (_IO_fwide): Adjust struct __gconv_step_data initialization.
  39944. * wcsmbs/btowc.c (__btowc): Likewise.
  39945. * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
  39946. * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
  39947. * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
  39948. * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
  39949. * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
  39950. * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
  39951. * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
  39952. * wcsmbs/wctob.c (wctob): Likewise.
  39953. 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
  39954. [BZ #16194]
  39955. * sysdeps/x86/tst-xmmymm.sh: Rename file to...
  39956. * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
  39957. register usage.
  39958. * sysdeps/x86/Makefile: Adjust.
  39959. 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
  39960. Roland McGrath <roland@hack.frob.com>
  39961. * locale/weight.h: Add include guard.
  39962. (findidx): Make static rather than auto; take new parameters
  39963. TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
  39964. * locale/weightwc.h: Likewise.
  39965. * posix/fnmatch_loop.c
  39966. (FCT): Change type of EXTRA from int32_t to wint_t.
  39967. Don't include either header inside the function.
  39968. Call FINDIDX rather than findidx, and pass new arguments.
  39969. #undef FINDIDX at the end of the file.
  39970. * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
  39971. FINDIDX before including fnmatch_loop.c for the non-wide version.
  39972. [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
  39973. #include <locale/weightwc.h>, and define FINDIDX to findidxwc
  39974. for the wide version.
  39975. * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
  39976. (build_equiv_class) [_LIBC]: Don't #include it inside the function.
  39977. Pass new arguments to findidx.
  39978. * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
  39979. [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
  39980. Don't #include it inside the function. Pass new arguments to findidx.
  39981. * posix/regex_internal.h
  39982. [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
  39983. (re_string_elem_size_at): Don't #include it inside the function.
  39984. Pass new arguments to findidx.
  39985. * string/strcoll_l.c: #include WEIGHT_H at top level.
  39986. (get_next_seq): Don't #include it inside the function.
  39987. Pass new arguments to findidx.
  39988. (get_next_seq_nocache): Likewise.
  39989. * string/strxfrm_l.c: #include WEIGHT_H at top level.
  39990. (STRXFRM): Don't #include it inside the function.
  39991. Pass new arguments to findidx.
  39992. 2014-09-11 Florian Weimer <fweimer@redhat.com>
  39993. [BZ #17344]
  39994. * malloc/malloc.c (unlink): Turn asserts into a call to
  39995. malloc_printerr.
  39996. 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
  39997. [BZ #17370]
  39998. * libio/wfileops (do_ftell_wide): Free OUT.
  39999. 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
  40000. * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
  40001. 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
  40002. [BZ #17363]
  40003. * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
  40004. group if the current group is empty.
  40005. 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  40006. * benchtests/bench-memset.c (test_main): Add more test from size
  40007. from 32 to 512 bytes.
  40008. * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
  40009. Add POWER8 memset object.
  40010. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  40011. (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
  40012. * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
  40013. implementation.
  40014. * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
  40015. Likewise.
  40016. * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
  40017. multiarch POWER8 memset optimization.
  40018. * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
  40019. POWER8 memset optimization.
  40020. * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
  40021. Remove bzero multiarch objects.
  40022. * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
  40023. * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
  40024. * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
  40025. * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
  40026. Remove define.
  40027. [__bzero]: Redefine to specific name.
  40028. * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
  40029. * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
  40030. * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
  40031. define.
  40032. * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
  40033. * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
  40034. 2014-09-10 Florian Weimer <fweimer@redhat.com>
  40035. * Makeconfig (gccwarn-c): Turn implicit-function-declaration
  40036. warnings into errors.
  40037. * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
  40038. __cxa_thread_atexit_impl prototype.
  40039. 2014-09-09 Steve Ellcey <sellcey@mips.com>
  40040. * sysdeps/mips/preconfigure: Put code inside mips* case statement.
  40041. Fix capitalization of error message.
  40042. 2014-09-09 Steve Ellcey <sellcey@mips.com>
  40043. * sysdeps/mips/preconfigure: Modify ABI tests.
  40044. 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
  40045. * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
  40046. 2014-09-07 Roland McGrath <roland@hack.frob.com>
  40047. Carlos O'Donell <carlos@systemhalted.org>
  40048. * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
  40049. * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
  40050. * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
  40051. * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
  40052. * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
  40053. * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
  40054. * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
  40055. * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
  40056. * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
  40057. * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
  40058. * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
  40059. * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
  40060. * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
  40061. * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
  40062. * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
  40063. * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
  40064. * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
  40065. * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
  40066. * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
  40067. * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
  40068. * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
  40069. * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
  40070. * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
  40071. * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
  40072. * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
  40073. * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
  40074. * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
  40075. * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
  40076. Deconditionalize the code that was previously under [RESET_PID].
  40077. * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
  40078. * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
  40079. * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
  40080. * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
  40081. include sysdep.h.
  40082. 2014-09-08 Allan McRae <allan@archlinux.org>
  40083. * version.h (RELEASE): Set to "development".
  40084. (VERSION): Set to "2.20.90"
  40085. 2014-09-07 Allan McRae <allan@archlinux.org>
  40086. * version.h (RELEASE): Set to "stable".
  40087. (VERSION): Set to "2.20"
  40088. * include/features.h (__GLIBC_MINOR__): Set to 20.
  40089. * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
  40090. Liebler.
  40091. * po/ko.po: Update Korean translation from translation project.
  40092. 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
  40093. [BZ #17354]
  40094. * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
  40095. macro for handling signed relocations.
  40096. 2014-09-03 Florian Weimer <fweimer@redhat.com>
  40097. [BZ #17325]
  40098. * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
  40099. * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
  40100. assert.
  40101. * iconvdata/ibm933.c (BODY): Fix check for sentinel.
  40102. * iconvdata/ibm935.c (BODY): Likewise.
  40103. * iconvdata/ibm937.c (BODY): Likewise.
  40104. * iconvdata/ibm939.c (BODY): Likewise.
  40105. * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
  40106. assert.
  40107. * iconvdata/Makefile (iconv-test.out): Pass module list to test
  40108. script.
  40109. * iconvdata/run-iconv-test.sh: New test loop for checking for
  40110. decoder crashers.
  40111. 2014-09-02 Khem Raj <raj.khem@gmail.com>
  40112. * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
  40113. libm_hidden_ver.
  40114. 2014-09-01 Allan McRae <allan@archlinux.org>
  40115. * po/eo.po: Update Esperanto translation from translation project.
  40116. * po/ca.po: Update Catalan translation from translation project.
  40117. 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
  40118. * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
  40119. __proc_dostop call.
  40120. 2014-08-27 Mark Wielaard <mjw@redhat.com>
  40121. [BZ #17319]
  40122. * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
  40123. to call set_thread_area instead of hand written asm.
  40124. (__NR_set_thread_area): Removed define.
  40125. (TLS_FLAG_WRITABLE): Likewise.
  40126. (__ASSUME_SET_THREAD_AREA): Remove check.
  40127. (TLS_EBX_ARG): Remove define.
  40128. (TLS_LOAD_EBX): Likewise.
  40129. 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
  40130. Simplify atomicity of socket creation in bind.
  40131. * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
  40132. looking up the name after linking the file.
  40133. 2014-08-27 Allan McRae <allan@archlinux.org>
  40134. * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
  40135. 2014-08-26 Florian Weimer <fweimer@redhat.com>
  40136. [BZ #17187]
  40137. * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
  40138. trans_compare, open_translit, __gconv_translit_find):
  40139. Remove module loading code.
  40140. 2014-08-26 Allan McRae <allan@archlinux.org>
  40141. * po/vi.po: Update Vietnamese translation from translation project.
  40142. * po/uk.po: Update Ukrainian translation from translation project.
  40143. * po/fr.po: Update French translation from translation project.
  40144. * po/ru.po: Update Russian translation from translation project.
  40145. * po/pl.po: Update Polish translation from translation project.
  40146. * po/cs.po: Update Czech translation from translation project.
  40147. * po/de.po: Update German translation from translation project.
  40148. * po/bg.po: Update Bulgarian translation from translation project.
  40149. * po/sv.po: Update Sweedish translation from translation project.
  40150. * po/nl.po: Update Dutch translation from translation project.
  40151. * po/es.po: Update Spanish translation from translation project.
  40152. 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
  40153. * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
  40154. * catgets/Makefile (CPPFLAGS-gencat): Remove.
  40155. * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
  40156. (CPPFLAGS-iconvconfig): Likewise.
  40157. * timezone/Makefile (CPPFLAGS-zic): Likewise.
  40158. * include/libc-symbols.h: Remove unnecessary check for
  40159. NOT_IN_libc.
  40160. * nptl/pthreadP.h: Likewise.
  40161. * sysdeps/aarch64/setjmp.S: Likewise.
  40162. * sysdeps/alpha/setjmp.S: Likewise.
  40163. * sysdeps/arm/sysdep.h: Likewise.
  40164. * sysdeps/i386/setjmp.S: Likewise.
  40165. * sysdeps/m68k/setjmp.c: Likewise.
  40166. * sysdeps/posix/getcwd.c: Likewise.
  40167. * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
  40168. * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
  40169. * sysdeps/s390/s390-32/setjmp.S: Likewise.
  40170. * sysdeps/s390/s390-64/setjmp.S: Likewise.
  40171. * sysdeps/sh/sh3/setjmp.S: Likewise.
  40172. * sysdeps/sh/sh4/setjmp.S: Likewise.
  40173. * sysdeps/unix/alpha/sysdep.h: Likewise.
  40174. * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
  40175. * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
  40176. * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
  40177. * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
  40178. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
  40179. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
  40180. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
  40181. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
  40182. * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
  40183. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
  40184. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
  40185. * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
  40186. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
  40187. * sysdeps/x86_64/setjmp.S: Likewise.
  40188. 2014-08-13 Joseph Myers <joseph@codesourcery.com>
  40189. [BZ #17263]
  40190. * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
  40191. <stdint.h>.
  40192. (__get_clockfreq): Use uint64_t instead of hp_timing_t in
  40193. INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
  40194. 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
  40195. * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
  40196. [BZ #17262]
  40197. * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
  40198. and __x86_64__ when disabling x87 inline functions.
  40199. 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
  40200. [BZ #17259]
  40201. * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
  40202. asm statement with __cpuid_count.
  40203. 2014-08-12 Mike Frysinger <vapier@gentoo.org>
  40204. * configure.ac: Change __ehdr_start code to dereference the struct.
  40205. Run readelf on the output to look for relocations.
  40206. * configure: Regenerated.
  40207. 2014-08-12 Joseph Myers <joseph@codesourcery.com>
  40208. [BZ #17261]
  40209. * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
  40210. value to 0.
  40211. (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
  40212. 2014-08-12 Roland McGrath <roland@hack.frob.com>
  40213. * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
  40214. 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
  40215. [BZ #16892]
  40216. * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
  40217. atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
  40218. 2014-08-12 Sean Anderson <seanga2@gmail.com>
  40219. * malloc/malloc.c: Fix typo in comment.
  40220. 2014-08-09 Allan McRae <allan@archlinux.org>
  40221. * Regenerate libc.po.
  40222. 2014-08-08 Mike Frysinger <vapier@gentoo.org>
  40223. * intl/tst-gettext2.sh: Check every lang file for creation.
  40224. 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
  40225. * sysdeps/aarch64/fpu/math_private.h
  40226. (libc_feholdsetround_noex_aarch64_ctx): New function.
  40227. 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
  40228. * sysdeps/arm/armv6/strcpy.S (strcpy):
  40229. Fix performance issue in misaligned cases.
  40230. 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  40231. * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
  40232. Move definition from termios.h.
  40233. (struct termio): Likewise.
  40234. (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
  40235. TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
  40236. N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
  40237. N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
  40238. Likewise.
  40239. * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
  40240. Move definition to ioctl-types.h
  40241. (struct termio): Likewise.
  40242. (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
  40243. TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
  40244. N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
  40245. N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
  40246. Likewise.
  40247. 2014-08-05 Richard Henderson <rth@redhat.com>
  40248. * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
  40249. exceptions.
  40250. * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
  40251. Add fraiseexcpt.
  40252. * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
  40253. Use __feraiseexcept.
  40254. * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
  40255. Protect libm symbols with IS_IN_libm.
  40256. * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
  40257. 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
  40258. * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
  40259. 2014-08-04 Will Newton <will.newton@linaro.org>
  40260. * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
  40261. file.
  40262. 2014-08-04 Mike Frysinger <vapier@gentoo.org>
  40263. * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
  40264. variants for each function.
  40265. 2014-08-04 Roland McGrath <roland@hack.frob.com>
  40266. * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
  40267. appended ...
  40268. * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
  40269. * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
  40270. appended ...
  40271. * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
  40272. * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
  40273. * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
  40274. * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
  40275. * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
  40276. * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
  40277. * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
  40278. * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
  40279. * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
  40280. * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
  40281. * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
  40282. * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
  40283. * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
  40284. * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
  40285. * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
  40286. * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
  40287. * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
  40288. * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
  40289. * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
  40290. * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
  40291. * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
  40292. * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
  40293. * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
  40294. * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
  40295. * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
  40296. * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
  40297. * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
  40298. * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
  40299. * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
  40300. * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
  40301. * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
  40302. * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
  40303. * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
  40304. * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
  40305. * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
  40306. * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
  40307. * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
  40308. * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
  40309. * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
  40310. * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
  40311. * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
  40312. * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
  40313. * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
  40314. * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
  40315. * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
  40316. * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
  40317. * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
  40318. * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
  40319. * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
  40320. * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
  40321. * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
  40322. * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
  40323. * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
  40324. Update #include.
  40325. * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
  40326. * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
  40327. 2014-08-04 Roland McGrath <roland@hack.frob.com>
  40328. * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
  40329. * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
  40330. * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
  40331. * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
  40332. * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
  40333. * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
  40334. 2014-08-04 Roland McGrath <roland@hack.frob.com>
  40335. * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
  40336. * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
  40337. * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
  40338. * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
  40339. 2014-08-04 Roland McGrath <roland@hack.frob.com>
  40340. * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
  40341. * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
  40342. (__libc_vfork): Define function under this name.
  40343. (__vfork): Define as an alias.
  40344. * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
  40345. * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
  40346. 2014-08-04 Roland McGrath <roland@hack.frob.com>
  40347. * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
  40348. that was previously under [RESET_PID].
  40349. * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
  40350. 2014-08-04 Andreas Schwab <schwab@suse.de>
  40351. * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
  40352. 2014-08-03 Mike Frysinger <vapier@gentoo.org>
  40353. * stdlib/tst-setcontext.c (test_stack): Fix coding style.
  40354. (main): Likewise.
  40355. 2014-08-01 Roland McGrath <roland@hack.frob.com>
  40356. * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
  40357. 2014-08-01 Richard Henderon <rth@redhat.com>
  40358. * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
  40359. feclearexcept; use math_opt_barrier instead of open-coded asm; fix
  40360. typo in exact zero test.
  40361. * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
  40362. * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
  40363. * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
  40364. 2014-08-01 Roland McGrath <roland@hack.frob.com>
  40365. * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
  40366. (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
  40367. * sysdeps/arm/sysdep.h: ... here.
  40368. [!__ASSEMBLER__]: Include <stdint.h>.
  40369. 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
  40370. * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
  40371. (HAVE_WCTYPE_H): Likewise.
  40372. (HAVE_ISWCTYPE): Likewise.
  40373. (ENABLE_NLS): Likewise.
  40374. * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
  40375. && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
  40376. * posix/regex_internal.c: Check if DEBUG is defined and is
  40377. set.
  40378. * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
  40379. (HAVE_MBSRTOWCS): Likewise.
  40380. * posix/fnmatch.c: Include string.h unconditionally.
  40381. 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
  40382. * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
  40383. reversal.
  40384. 2014-07-31 Roland McGrath <roland@hack.frob.com>
  40385. * sysdeps/generic/safe-fatal.h: New file.
  40386. * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
  40387. * nptl/forward.c: Include it.
  40388. (__pthread_unwind): Use __safe_fatal as default action, rather
  40389. than a bogus use of INTERNAL_SYSCALL that could never work.
  40390. * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
  40391. * configure.ac (libc_cv_builtin_trap): New test.
  40392. * configure: Regenerated.
  40393. * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
  40394. (ABORT_INSTRUCTION): Define using __builtin_trap.
  40395. * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
  40396. * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
  40397. * sysdeps/nptl/nptl-signals.h: New file.
  40398. * nptl/pthreadP.h: Include <nptl-signals.h>.
  40399. 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
  40400. * sysdeps/s390/s390-64/utf16-utf32-z9.c
  40401. (ONE_DIRECTION): Define.
  40402. * sysdeps/s390/s390-64/utf8-utf16-z9.c
  40403. (ONE_DIRECTION): Define.
  40404. * sysdeps/s390/s390-64/utf8-utf32-z9.c
  40405. (ONE_DIRECTION): Define.
  40406. 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
  40407. * sysdeps/s390/Makefile: Delete file.
  40408. * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
  40409. * sysdeps/s390/__longjmp.c: Delete file.
  40410. * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
  40411. Remove fields __flags and __reserved.
  40412. * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
  40413. and add versioning.
  40414. * sysdeps/s390/rtld-__longjmp.c: Delete file.
  40415. * sysdeps/s390/rtld-global-offsets.sym: Likewise.
  40416. * sysdeps/s390/rtld-setjmp.S: Likewise.
  40417. * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
  40418. * sysdeps/s390/s390-32/__longjmp.c: ... here.
  40419. * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
  40420. * sysdeps/s390/s390-32/setjmp.S: ... here.
  40421. Add versioning.
  40422. (__sigsetjmp): Remove setting __flags field.
  40423. * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
  40424. * sysdeps/s390/s390-64/__longjmp.c: ... here.
  40425. * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
  40426. * sysdeps/s390/s390-64/setjmp.S: ... here.
  40427. Add versioning.
  40428. (__sigsetjmp): Remove setting __flags field.
  40429. * sysdeps/s390/setjmp.S: Delete file.
  40430. * sysdeps/s390/sigjmp.c: Likewise.
  40431. * sysdeps/s390/v1-longjmp.c: Likewise.
  40432. * sysdeps/s390/v1-setjmp.h: Likewise.
  40433. * sysdeps/s390/v1-sigjmp.c: Likewise.
  40434. * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
  40435. Remove v1-longjmp_chk.
  40436. * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
  40437. * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
  40438. Include debug/longjmp_chk.c and add versioning.
  40439. * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
  40440. Include nptl/pt-longjmp.c and add versioning.
  40441. * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
  40442. * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
  40443. Include __longjmp.c.
  40444. * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
  40445. Move to ...
  40446. * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
  40447. (__getcontext): Remove setting __flags field.
  40448. Add versioning.
  40449. * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
  40450. Don't restore upper high grps.
  40451. * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
  40452. Likewise.
  40453. (__swapcontext): Remove setting uc_flags field.
  40454. * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
  40455. Delete file.
  40456. * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
  40457. Include __longjmp.c.
  40458. * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
  40459. Move to ...
  40460. * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
  40461. (__getcontext): Remove setting __flags field.
  40462. Add versioning.
  40463. * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
  40464. (__swapcontext): Remove setting uc_flags field.
  40465. * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
  40466. * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
  40467. Remove fields uc_high_gprs and __reserved.
  40468. * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
  40469. New file with reverted content.
  40470. * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
  40471. * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
  40472. Regenerated.
  40473. * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
  40474. Regenerated.
  40475. 2014-07-31 Andreas Schwab <schwab@suse.de>
  40476. * config.h.in (HAVE_IFUNC): Define to 0.
  40477. * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
  40478. definedness.
  40479. 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
  40480. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  40481. memmove-avx-unaligned, memcpy-avx-unaligned and
  40482. mempcpy-avx-unaligned.
  40483. * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
  40484. Add tests for AVX memcpy functions.
  40485. * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
  40486. * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
  40487. memcpy_chk.
  40488. * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
  40489. * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
  40490. memmove_chk.
  40491. * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
  40492. * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
  40493. mempcpy_chk.
  40494. * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
  40495. * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
  40496. * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
  40497. 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  40498. [BZ #17213]
  40499. * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
  40500. powerpc64le.
  40501. 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
  40502. [BZ #16839]
  40503. * manual/llio.texi: Add section about open file description locks.
  40504. * manual/examples/ofdlocks.c: Example of open file description
  40505. lock usage.
  40506. * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
  40507. F_OFD_SETLK, and F_OFD_SETLKW.
  40508. 2014-07-23 Allan McRae <allan@archlinux.org>
  40509. * po/es.po: Update Spanish translation from translation project.
  40510. 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
  40511. * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
  40512. 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
  40513. [BZ #17078]
  40514. * sysdeps/arm/dl-machine.h (elf_machine_rela)
  40515. [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
  40516. (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
  40517. 2014-07-17 Joseph Myers <joseph@codesourcery.com>
  40518. [BZ #17088]
  40519. * math/fesetenv.c (__fesetenv)
  40520. [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
  40521. * math/feupdateenv.c (__feupdateenv)
  40522. [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
  40523. * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
  40524. * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
  40525. (__ASSUME_SOCKETCALL): Do not define.
  40526. * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
  40527. * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
  40528. (__ASSUME_SOCKETCALL): Do not define.
  40529. (__ASSUME_ST_INO_64_BIT): Define unconditionally.
  40530. [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
  40531. (__ASSUME_ACCEPT4_SYSCALL): Do not define.
  40532. [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
  40533. (__ASSUME_RECVMMSG_SYSCALL): Likewise.
  40534. [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
  40535. (__ASSUME_SENDMMSG_SYSCALL): Likewise.
  40536. [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
  40537. * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
  40538. * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
  40539. (__ASSUME_SOCKETCALL): Do not define.
  40540. (__ASSUME_IPC64): Define unconditionally.
  40541. [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
  40542. (__ASSUME_ACCEPT4_SYSCALL): Do not define.
  40543. [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
  40544. (__ASSUME_RECVMMSG_SYSCALL): Likewise.
  40545. [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
  40546. (__ASSUME_SENDMMSG_SYSCALL): Likewise.
  40547. [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
  40548. Likewise.
  40549. * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
  40550. * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
  40551. (__ASSUME_SOCKETCALL): Do not define.
  40552. (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
  40553. (__ASSUME_FUTEX_LOCK_PI): Likewise.
  40554. [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
  40555. [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
  40556. (__ASSUME_REQUEUE_PI): Define unconditionally.
  40557. [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
  40558. (__ASSUME_RECVMMSG_SYSCALL): Do not define.
  40559. [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
  40560. [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
  40561. (__ASSUME_SENDMMSG_SYSCALL): Likewise.
  40562. [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
  40563. * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
  40564. * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
  40565. (__ASSUME_SOCKETCALL): Do not define.
  40566. [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
  40567. (__ASSUME_RECVMMSG_SYSCALL): Likewise.
  40568. [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
  40569. [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
  40570. (__ASSUME_SENDMMSG_SYSCALL): Likewise.
  40571. [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
  40572. * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
  40573. * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
  40574. (__ASSUME_ACCEPT4_SYSCALL): Do not define.
  40575. [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
  40576. (__ASSUME_RECVMMSG_SYSCALL): Likewise.
  40577. [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
  40578. (__ASSUME_SENDMMSG_SYSCALL): Likewise.
  40579. [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
  40580. (__ASSUME_GETCPU_SYSCALL): Likewise.
  40581. * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
  40582. * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
  40583. cases for individual architectures.
  40584. * sysdeps/gnu/configure: Regenerated.
  40585. * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
  40586. LIBC_SLIBDIR_RTLDDIR.
  40587. * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
  40588. * sysdeps/unix/sysv/linux/mips/configure.ac: Use
  40589. LIBC_SLIBDIR_RTLDDIR.
  40590. * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
  40591. * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
  40592. LIBC_SLIBDIR_RTLDDIR.
  40593. * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
  40594. Regenerated.
  40595. * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
  40596. * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
  40597. file.
  40598. * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
  40599. * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
  40600. file.
  40601. * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
  40602. * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
  40603. * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
  40604. * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
  40605. * sysdeps/aarch64/shlib-versions: Move to ...
  40606. * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
  40607. * sysdeps/alpha/shlib-versions: Move to ...
  40608. * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
  40609. * sysdeps/arm/shlib-versions: Move to ...
  40610. * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
  40611. * sysdeps/hppa/shlib-versions: Move all contents except for
  40612. libgcc_s entry to ...
  40613. * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
  40614. entry from ...
  40615. * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
  40616. * sysdeps/ia64/shlib-versions: Move to ...
  40617. * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
  40618. entry from ...
  40619. * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
  40620. * sysdeps/m68k/coldfire/shlib-versions: Move to ...
  40621. * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
  40622. * sysdeps/microblaze/shlib-versions: Move to ...
  40623. * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
  40624. * sysdeps/mips/shlib-versions: Move to ...
  40625. * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
  40626. entry from ...
  40627. * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
  40628. * sysdeps/tile/shlib-versions: Move to ...
  40629. * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
  40630. * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
  40631. from ...
  40632. * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
  40633. * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
  40634. entry from ...
  40635. * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
  40636. 2014-07-17 Will Newton <will.newton@linaro.org>
  40637. * sysdeps/arm/bits/atomic.h
  40638. (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
  40639. (__arch_compare_and_exchange_bool_16_int): Likewise.
  40640. (__arch_compare_and_exchange_bool_64_int): Likewise.
  40641. * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
  40642. into an #else block.
  40643. 2014-07-16 Roland McGrath <roland@hack.frob.com>
  40644. * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
  40645. just Linux configurations. Test empirically that the compiler sets
  40646. __ARM_EABI__, rather than using the tuple to decide.
  40647. * sysdeps/arm/preconfigure: Regenerated.
  40648. * sysdeps/unix/sysv/linux/arm/configure: File removed.
  40649. * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
  40650. contents appended ...
  40651. * sysdeps/arm/configure.ac: ... here.
  40652. * sysdeps/arm/configure: Regenerated.
  40653. 2014-07-15 Roland McGrath <roland@hack.frob.com>
  40654. * nptl/pthread_kill.c: New file.
  40655. * nptl/pthread_sigmask.c: New file.
  40656. * nptl/pthread_sigqueue.c: New file.
  40657. * sysdeps/nptl/lowlevellock.h: New file.
  40658. * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
  40659. * sysdeps/nptl/lowlevellock-futex.h: New file.
  40660. * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
  40661. Remove dead declarations.
  40662. 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
  40663. * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
  40664. * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
  40665. config-cflags-avx2.
  40666. * sysdeps/x86_64/configure.ac: Likewise.
  40667. * sysdeps/i386/configure: Regenerated.
  40668. * sysdeps/x86_64/configure: Likewise.
  40669. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  40670. memset-avx2 only if config-cflags-avx2 is yes.
  40671. * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
  40672. Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
  40673. defined.
  40674. * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
  40675. only if HAVE_AVX2_SUPPORT is defined.
  40676. * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
  40677. 2014-07-14 Alan Modra <amodra@gmail.com>
  40678. [BZ #17153]
  40679. * elf/elf.h (DT_PPC64_NUM): Correct value.
  40680. * NEWS: Add to fixed bug list.
  40681. 2014-07-13 Jim Meyering <meyering@fb.com>
  40682. [BZ 17150]
  40683. regex: don't deref NULL upon heap allocation failure
  40684. * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
  40685. failure in one more place.
  40686. To trigger the segfault, configure grep -with-included-regex,
  40687. build it, and run these commands:
  40688. ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
  40689. 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
  40690. * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
  40691. 2014-07-11 Richard Henderson <rth@redhat.com>
  40692. * sysdeps/aarch64/libm-test-ulps: Update.
  40693. 2014-07-10 Florian Weimer <fweimer@redhat.com>
  40694. [BZ #17135]
  40695. * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
  40696. * nptl/allocatestack.c (__nptl_setxid_error): New function.
  40697. (__nptl_setxid): Initialize error member. Call
  40698. __nptl_setxid_error.
  40699. * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
  40700. * nptl/descr.h (struct xid_command): Add error member.
  40701. * nptl/tst-setuid3.c: New file.
  40702. * nptl/Makefile (tests): Add it.
  40703. 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  40704. * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
  40705. New define.
  40706. (__lll_trylock): Use __lll_base_trylock.
  40707. (__lll_cond_trylock): Likewise.
  40708. 2014-07-10 Roland McGrath <roland@hack.frob.com>
  40709. * nptl/pthread_create.c (start_thread): Use atomic_or and
  40710. lll_futex_wake directly rather than lll_robust_dead.
  40711. * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
  40712. (lll_robust_dead): Macro removed.
  40713. * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
  40714. * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
  40715. * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
  40716. * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
  40717. * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
  40718. * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
  40719. * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
  40720. * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
  40721. * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
  40722. * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
  40723. * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
  40724. * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
  40725. * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
  40726. * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
  40727. * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
  40728. * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
  40729. Use atomic_compare_and_exchange_val_acq directly rather than
  40730. lll_robust_trylock.
  40731. * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
  40732. (__lll_robust_trylock, lll_robust_trylock): Removed.
  40733. * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
  40734. * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
  40735. * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
  40736. * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
  40737. * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
  40738. * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
  40739. * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
  40740. * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
  40741. * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
  40742. * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
  40743. * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
  40744. * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
  40745. * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
  40746. * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
  40747. 2014-07-02 Florian Weimer <fweimer@redhat.com>
  40748. * manual/locale.texi (Locale Names): New section documenting
  40749. locale name syntax. Adjust menu and node chaining accordingly.
  40750. (Choosing Locale): Reference Locale Names, Locale Categories.
  40751. Mention setting LC_ALL=C. Reflect that name syntax is now
  40752. documented.
  40753. (Locale Categories): New section title. Reference Locale Names.
  40754. LC_ALL is an environment variable, but not a category.
  40755. (Setting the Locale): Remove "locale -a" invocation and LOCPATH
  40756. description, now in Locale Name. Reference that section. Locale
  40757. name syntax is now documented.
  40758. 2014-07-02 Florian Weimer <fweimer@redhat.com>
  40759. [BZ #17137]
  40760. * locale/findlocale.c (name_present, valid_locale_name): New
  40761. functions.
  40762. (_nl_find_locale): Use the loc_name variable to store name
  40763. candidates. Call name_present and valid_locale_name to check and
  40764. validate locale names. Return an error if the locale is invalid.
  40765. 2014-07-02 Florian Weimer <fweimer@redhat.com>
  40766. * locale/setlocale.c (setlocale): Use strdup for allocating
  40767. composite name copy.
  40768. 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
  40769. Sync up with gnulib.
  40770. * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
  40771. [!_LIBC && ENABLE_NLS]: Include gettext.h.
  40772. [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
  40773. and _GL_ARG_NONNULL.
  40774. [USE_UNLOCKED_IO]: Include unlocked-io.h.
  40775. [!_LIBC]: Include code for Windows and Cygwin.
  40776. [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
  40777. Include prototype for int strerror_r.
  40778. [!_LIBC] (is_open): New function.
  40779. (flush_stdout): New function.
  40780. (print_errno_message): Use it.
  40781. (error): Likewise.
  40782. (error_at_line): Likewise.
  40783. (error_tail) Add function attribute macros. Use
  40784. __builtin_expect.
  40785. * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
  40786. * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
  40787. * io/ftw.c: Include sys/param.h unconditionally.
  40788. * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
  40789. [BZ #17125]
  40790. * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
  40791. libc_freeres_ptr.
  40792. (freecache): New function to free CACHE on exit.
  40793. * sunrpc/xdr.c (xdr_string): Add comment about SIZE
  40794. initialization.
  40795. 2014-07-09 David S. Miller <davem@davemloft.net>
  40796. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  40797. * sysdeps/sparc/nptl/internaltypes.h: Delete.
  40798. * sysdeps/sparc/nptl/sparc-nptl.h: New file.
  40799. * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
  40800. * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
  40801. * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
  40802. * sysdeps/sparc/nptl/sem_init.c: Likewise.
  40803. * sysdeps/sparc/nptl/sem_post.c: Likewise.
  40804. * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
  40805. * sysdeps/sparc/nptl/sem_wait.c: Likewise.
  40806. * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
  40807. * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
  40808. * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
  40809. * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
  40810. 2014-07-09 Andreas Schwab <schwab@suse.de>
  40811. * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
  40812. output.
  40813. * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
  40814. (do_test): Likewise.
  40815. * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
  40816. 2014-07-09 Will Newton <will.newton@linaro.org>
  40817. * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
  40818. * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
  40819. * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
  40820. * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
  40821. * sysdeps/hppa/start.S (_start): Likewise.
  40822. 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
  40823. * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
  40824. * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
  40825. defined.
  40826. 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
  40827. * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
  40828. after checking that it is non-NULL.
  40829. * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
  40830. 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  40831. * sysdeps/powerpc/memmove.c: Remove file.
  40832. * sysdeps/powerpc/powerpc32/power4/memcopy.h
  40833. [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
  40834. * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
  40835. [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
  40836. * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
  40837. [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
  40838. * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
  40839. string memmove instead of removed powerpc one.
  40840. * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
  40841. [weak_alias]: Fix compiler warning due trailing data.
  40842. * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
  40843. [weak_alias]: Likewise.
  40844. * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
  40845. warnigs due missing definition of __strcpy_power7 and __strlen_power7.
  40846. * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
  40847. (__libc_ifunc_impl_list): Add memmove functions.
  40848. 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
  40849. * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
  40850. Remove code.
  40851. * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
  40852. Likewise.
  40853. * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
  40854. Likewise.
  40855. * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
  40856. Likewise.
  40857. * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
  40858. Likewise.
  40859. * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
  40860. Likewise.
  40861. * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
  40862. Likewise.
  40863. * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
  40864. Likewise.
  40865. * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
  40866. Likewise.
  40867. * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
  40868. Likewise.
  40869. * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
  40870. Likewise.
  40871. * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
  40872. Likewise.
  40873. * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
  40874. Likewise.
  40875. * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
  40876. Likewise.
  40877. * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
  40878. Likewise.
  40879. * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
  40880. Likewise.
  40881. * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
  40882. Likewise.
  40883. 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  40884. * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
  40885. to avoid alignment traps in non-cacheable memory.
  40886. * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
  40887. * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
  40888. multiarch objects.
  40889. * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
  40890. file: multiarch power7 memmove.
  40891. * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
  40892. multiarch default memmove.
  40893. * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
  40894. multiarch memove for powerpc32/power4.
  40895. * string/bcopy.c: Use full path to include memmove.c.
  40896. * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
  40897. multiarch objects.
  40898. * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
  40899. bcopy for powerpc64.
  40900. * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
  40901. bcopy for powerpc64.
  40902. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
  40903. and memmove implementations.
  40904. * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
  40905. optimized multiarch memmove for POWER7/powerpc64.
  40906. * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
  40907. default multiarch memmove for powerpc64.
  40908. * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
  40909. multiarch for powerpc64.
  40910. * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
  40911. for POWER7/powerpc64.
  40912. * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
  40913. memmove for POWER7/powerpc64.
  40914. * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
  40915. glibc default one.
  40916. * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
  40917. __ELF_NATIVE_CLASS equal to 64.
  40918. 2014-07-07 Roland McGrath <roland@hack.frob.com>
  40919. * sysdeps/nptl/lowlevellock.h: File removed.
  40920. * NEWS: NPTL is no longer an add-on!
  40921. * nptl/internaltypes.h: Moved ...
  40922. * sysdeps/nptl/internaltypes.h: ... here.
  40923. * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
  40924. * sysdeps/nptl/fork.c: Likewise.
  40925. * sysdeps/nptl/gai_misc.h: Likewise.
  40926. * sysdeps/nptl/librt-cancellation.c: Likewise.
  40927. * sysdeps/nptl/jmp-unwind.c: Likewise.
  40928. * sysdeps/nptl/setxid.h: Likewise.
  40929. * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
  40930. * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
  40931. * sysdeps/unix/sysv/linux/arm/Implies: New file.
  40932. * sysdeps/unix/sysv/linux/hppa/Implies: New file.
  40933. * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
  40934. * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
  40935. * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
  40936. * sysdeps/unix/sysv/linux/m68k/Implies: New file.
  40937. * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
  40938. * sysdeps/unix/sysv/linux/mips/Implies: New file.
  40939. * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
  40940. * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
  40941. * sysdeps/unix/sysv/linux/sh/Implies: New file.
  40942. * sysdeps/unix/sysv/linux/sparc/Implies: New file.
  40943. * sysdeps/unix/sysv/linux/tile/Implies: New file.
  40944. * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
  40945. * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
  40946. * nptl/Makeconfig: Moved ...
  40947. * sysdeps/nptl/Makeconfig: ... here.
  40948. * nptl/configure: File removed.
  40949. * nptl/ANNOUNCE: File removed.
  40950. * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
  40951. * sysdeps/unix/sysv/linux/configure: Regenerated.
  40952. * nptl/Makefile (routines): Add libc_pthread_init,
  40953. libc_multiple_threads, register-atfork and unregister-atfork.
  40954. (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
  40955. (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
  40956. lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
  40957. pthread-pi-defines.sym, structsem.sym.
  40958. * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
  40959. (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
  40960. [$(subdir) = nptl] (tests): Add tst-setgetname.
  40961. * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
  40962. * sysdeps/unix/sysv/linux/sigaction.c: Just include
  40963. <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
  40964. [!LIBC_SIGACTION]: Remove aliases.
  40965. * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
  40966. * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
  40967. * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
  40968. * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
  40969. * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
  40970. * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
  40971. * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
  40972. * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
  40973. * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
  40974. * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
  40975. (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
  40976. __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
  40977. __libc_allocate_rtsig_private.
  40978. * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
  40979. * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
  40980. * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
  40981. * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
  40982. * sysdeps/unix/sysv/linux/sleep.c: Likewise.
  40983. * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
  40984. * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
  40985. * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
  40986. * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
  40987. * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
  40988. * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
  40989. * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
  40990. * nptl/internaltypes.h: ... here.
  40991. * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
  40992. * sysdeps/nptl/jmp-unwind.c: ... here.
  40993. * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
  40994. * nptl/libc-lowlevellock.c: ... here.
  40995. * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
  40996. * nptl/libc_multiple_threads.c: ... here.
  40997. * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
  40998. * nptl/libc_pthread_init.c: ... here.
  40999. * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
  41000. * nptl/lowlevelbarrier.sym: ... here.
  41001. * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
  41002. * nptl/lowlevelcond.sym: ... here.
  41003. * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
  41004. * nptl/lowlevellock.c: ... here.
  41005. * nptl/lowlevellock.h: Moved ...
  41006. * sysdeps/nptl/lowlevellock.h: ... here.
  41007. * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
  41008. * nptl/lowlevelrobustlock.c: ... here.
  41009. * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
  41010. * nptl/lowlevelrobustlock.sym: ... here.
  41011. * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
  41012. * nptl/lowlevelrwlock.sym: ... here.
  41013. * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
  41014. * nptl/pt-fork.c: ... here.
  41015. * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
  41016. * nptl/pthread-pi-defines.sym: ... here.
  41017. * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
  41018. * nptl/pthread_attr_getaffinity.c: ... here.
  41019. * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
  41020. * nptl/pthread_attr_setaffinity.c: ... here.
  41021. * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
  41022. * nptl/pthread_mutex_cond_lock.c: ... here.
  41023. * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
  41024. Update #include.
  41025. * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
  41026. * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
  41027. * nptl/pthread_once.c: ... here, replacing old file.
  41028. * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
  41029. * nptl/pthread_yield.c: ... here.
  41030. * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
  41031. * nptl/register-atfork.c: ... here.
  41032. * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
  41033. * nptl/sem_post.c: ... here.
  41034. * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
  41035. * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
  41036. * nptl/sem_timedwait.c: ... here.
  41037. * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
  41038. * nptl/sem_trywait.c: ... here.
  41039. * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
  41040. * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
  41041. * nptl/sem_wait.c: ... here.
  41042. * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
  41043. * nptl/structsem.sym: ... here.
  41044. * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
  41045. * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
  41046. * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
  41047. * nptl/unregister-atfork.c: ... here.
  41048. * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
  41049. * nptl/unwindbuf.sym: ... here.
  41050. * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
  41051. * sysdeps/nptl/fork.c: ... here.
  41052. * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
  41053. * sysdeps/nptl/fork.h: ... here.
  41054. * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
  41055. * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
  41056. * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
  41057. * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
  41058. * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
  41059. * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
  41060. * sysdeps/unix/sysv/linux/getpid.c: ... here.
  41061. * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
  41062. * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
  41063. * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
  41064. * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
  41065. * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
  41066. * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
  41067. * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
  41068. * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
  41069. * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
  41070. * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
  41071. * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
  41072. * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
  41073. * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
  41074. * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
  41075. * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
  41076. * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
  41077. * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
  41078. * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
  41079. * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
  41080. * sysdeps/unix/sysv/linux/raise.c: ... here.
  41081. * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
  41082. * sysdeps/unix/sysv/linux/timer_create.c: ... here.
  41083. * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
  41084. * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
  41085. * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
  41086. * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
  41087. * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
  41088. * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
  41089. * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
  41090. * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
  41091. * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
  41092. * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
  41093. * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
  41094. * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
  41095. * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
  41096. 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
  41097. * sysdeps/generic/memcopy.h: Add comment for
  41098. MEMCPY_OK_FOR_FWD_MEMMOVE.
  41099. 2014-07-04 Will Newton <will.newton@linaro.org>
  41100. * string/memchr.c: Merge from gnulib.
  41101. [_LIBC]: Remove conditionals.
  41102. (__ptr_t): Remove define.
  41103. (LONG_MAX_32_BITS): Likewise.
  41104. (LONG_MAX): Likewise.
  41105. (MEMCHR): Use ANSI prototype and optimize algorithm.
  41106. * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
  41107. 2014-07-03 Roland McGrath <roland@hack.frob.com>
  41108. * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
  41109. (lll_futex_timed_wait_bitset): Fix syscall argument count.
  41110. * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
  41111. Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
  41112. in a bare environment with no <stdlib.h> installed.
  41113. * sysdeps/nptl/configure: Regenerated.
  41114. * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
  41115. * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
  41116. AC_EGREP_CPP for kernel header checks, so they only succeed if
  41117. including <linux/version.h> actually works right.
  41118. * sysdeps/unix/sysv/linux/configure: Regenerated.
  41119. * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
  41120. value so it's not diagnosed as unused.
  41121. * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
  41122. thing) with "ifeq ($(subdir),rt)".
  41123. 2014-07-03 Richard Henderson <rth@redhat.com>
  41124. * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
  41125. * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
  41126. include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
  41127. * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
  41128. (math_force_eval): New.
  41129. * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
  41130. * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
  41131. * sysdeps/alpha/fpu/s_round.c: Remove file.
  41132. * sysdeps/alpha/fpu/s_roundf.c: Remove file.
  41133. * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
  41134. (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
  41135. * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
  41136. (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
  41137. (_dl_start, print_statistics): Likewise.
  41138. * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
  41139. HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
  41140. * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
  41141. * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
  41142. * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
  41143. * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
  41144. * sysdeps/powerpc/powerpc32/power4/hp-timing.h
  41145. (HP_SMALL_TIMING_AVAIL): Define.
  41146. * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
  41147. * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
  41148. (HP_SMALL_TIMING_AVAIL): Define.
  41149. * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
  41150. * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
  41151. * sysdeps/aarch64/hp-timing.h: New file.
  41152. * sysdeps/generic/hp-timing.h: Remove dead comment.
  41153. * sysdeps/generic/hp-timing-common.h: New file.
  41154. * sysdeps/alpha/hp-timing.h: Include it.
  41155. (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
  41156. * sysdeps/i386/i686/hp-timing.h: Likewise.
  41157. * sysdeps/ia64/hp-timing.h: Likewise.
  41158. * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
  41159. * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
  41160. * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
  41161. * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
  41162. * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
  41163. (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
  41164. (hp_timing_t): New.
  41165. * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
  41166. * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
  41167. (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
  41168. * elf/rtld.c (_dl_start_final): Likewise.
  41169. * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
  41170. * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
  41171. * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
  41172. * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
  41173. * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
  41174. * sysdeps/powerpc/powerpc32/power4/hp-timing.h
  41175. (HP_TIMING_DIFF_INIT): Remove.
  41176. * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
  41177. * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
  41178. (HP_TIMING_DIFF_INIT): Remove.
  41179. * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
  41180. * sysdeps/i386/i686/hp-timing.c: Remove file.
  41181. * sysdeps/x86_64/hp-timing.c: Remove file.
  41182. * sysdeps/ia64/hp-timing.c: Remove file.
  41183. * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
  41184. * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
  41185. * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
  41186. * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
  41187. * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
  41188. * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
  41189. * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
  41190. * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
  41191. * sysdeps/powerpc/powerpc32/power4/hp-timing.h
  41192. (HP_TIMING_ACCUM): Remove.
  41193. * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
  41194. * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
  41195. * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
  41196. * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
  41197. * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
  41198. * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
  41199. * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
  41200. * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
  41201. * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
  41202. * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
  41203. * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
  41204. * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
  41205. 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
  41206. * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
  41207. 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
  41208. Sync up with gettext.
  41209. * intl/loadmsgcat.c: Define O_BINARY if not defined.
  41210. [_MSC_VER]: Include malloc.h
  41211. [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
  41212. (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
  41213. (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
  41214. TEMP_FAILURE_RETRY. Cast return of alloca.
  41215. [!_LIBC] Call gl_rwlock_init.
  41216. [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
  41217. 2014-07-02 Roland McGrath <roland@hack.frob.com>
  41218. * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
  41219. before checking its value.
  41220. 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
  41221. * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
  41222. * debug/memcpy_chk.c: Don't include pagecopy.h.
  41223. * debug/mempcpy_chk.c: Likewise.
  41224. * string/memcpy.c: Likewise.
  41225. * string/memmove.c: Likewise.
  41226. * sysdeps/powerpc/memmove.c: Likewise.
  41227. * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
  41228. definition of PAGE_COPY_FWD_MAYBE here...
  41229. * sysdeps/generic/pagecopy.h: ... from here.
  41230. * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
  41231. 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
  41232. Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  41233. * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
  41234. * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
  41235. optimizations.
  41236. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
  41237. (__libc_ifunc_impl_list): Likewise.
  41238. * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
  41239. multiarch strcat for PPC64.
  41240. * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
  41241. * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
  41242. 2014-07-02 Roland McGrath <roland@hack.frob.com>
  41243. * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
  41244. 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
  41245. * intl/loadmsgcat.c: Remove declaration of
  41246. get_sysdep_segment_value.
  41247. (get_sysdep_segment_value): Use ISO C style.
  41248. (_nl_load_domain): Use ISO C style. Get rid of redundant
  41249. semicolon. Fix typo and formatting in comment.
  41250. (_nl_unload_domain): Use ISO C style.
  41251. * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
  41252. 2014-07-02 Will Newton <will.newton@linaro.org>
  41253. * malloc/obstack.c: Merge from gnulib master.
  41254. [HAVE_CONFIG_H]: Remove conditional code.
  41255. [!_LIBC]: Include config.h.
  41256. [!ELIDE_CODE]: Don't include inttypes.h, include
  41257. stdint.h unconditionally.
  41258. (print_and_abort): Mark as _Noreturn.
  41259. (_obstack_allocated_p): Mark as __attribute_pure__.
  41260. (obstack_free): Rename to __obstack_free.
  41261. [!__attribute__]: Remove conditional code.
  41262. * malloc/obstack.h: Merge from gnulib master.
  41263. [__cplusplus]: Move conditional down.
  41264. [!__attribute_pure__]: Define __attribute_pure__ here
  41265. if it is not already defined.
  41266. (_obstack_memory_used): Mark as __attribute_pure__.
  41267. [!__obstack_free]: Define as obstack_free.
  41268. [__GNUC__]: Remove check for ancient NeXT gcc.
  41269. 2014-07-02 Will Newton <will.newton@linaro.org>
  41270. Paul Eggert <eggert@cs.ucla.edu>
  41271. * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
  41272. 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
  41273. * resolv/gethnamaddr.c: Add comment warning that the file is
  41274. not maintained.
  41275. 2014-07-01 Carlos O'Donell <carlos@redhat.com>
  41276. * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
  41277. entries.
  41278. * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
  41279. entry for aio_cancel and aio_cancel64.
  41280. * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
  41281. * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
  41282. * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
  41283. * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
  41284. * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
  41285. * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
  41286. * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
  41287. * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
  41288. * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
  41289. * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
  41290. * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
  41291. * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
  41292. * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
  41293. 2014-07-01 Roland McGrath <roland@hack.frob.com>
  41294. * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
  41295. * nptl/pthread_mutex_lock.c: Likewise.
  41296. * nptl/pthread_mutex_timedlock.c: Likewise.
  41297. * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
  41298. 2014-07-01 Richard henderson <rth@redhat.com>
  41299. * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
  41300. (__isnan, __isnanl): Remove.
  41301. * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
  41302. * sysdeps/alpha/fpu/libm-test-ulps: Update.
  41303. 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
  41304. * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
  41305. 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
  41306. * resolv/nss_dns/dns-host.c (getanswer_r)
  41307. [MULTI_PTRS_ARE_ALIASES]: Remove code.
  41308. 2014-07-01 Joseph Myers <joseph@codesourcery.com>
  41309. * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
  41310. [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
  41311. undefine.
  41312. [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
  41313. [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
  41314. 2014-07-01 Roland McGrath <roland@hack.frob.com>
  41315. * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
  41316. * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
  41317. * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
  41318. * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
  41319. * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
  41320. * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
  41321. ... here.
  41322. * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
  41323. * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
  41324. * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
  41325. * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
  41326. * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
  41327. * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
  41328. * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
  41329. * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
  41330. * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
  41331. * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
  41332. * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
  41333. Moved ...
  41334. * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
  41335. ... here.
  41336. * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
  41337. * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
  41338. * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
  41339. * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
  41340. * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
  41341. * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
  41342. * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
  41343. * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
  41344. * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
  41345. * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
  41346. * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
  41347. * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
  41348. * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
  41349. * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
  41350. * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
  41351. * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
  41352. * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
  41353. * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
  41354. * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
  41355. * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
  41356. ... here.
  41357. * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
  41358. * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
  41359. * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
  41360. * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
  41361. * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
  41362. * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
  41363. * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
  41364. * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
  41365. 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
  41366. * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
  41367. * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
  41368. * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
  41369. Add sysdep.
  41370. 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  41371. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  41372. 2014-06-30 Joseph Myers <joseph@codesourcery.com>
  41373. * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
  41374. * sysdeps/mips/mips64/libm-test-ulps: Likewise.
  41375. * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
  41376. * sysdeps/arm/libm-test-ulps: Regenerated.
  41377. 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
  41378. Roland McGrath <roland@hack.frob.com>
  41379. * test-skeleton.c (signal_handler): Kill the whole process group
  41380. before killing the child individually.
  41381. (main): Report any failure on `setpgid'.
  41382. 2014-06-30 Roland McGrath <roland@hack.frob.com>
  41383. * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
  41384. from _TLS_H to _ARM_NPTL_TLS_H.
  41385. (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
  41386. * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
  41387. 2014-06-30 Joseph Myers <joseph@codesourcery.com>
  41388. [BZ #16539]
  41389. * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
  41390. (__expm1l): Return argument unchanged when small but not
  41391. subnormal.
  41392. * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
  41393. include macro name.
  41394. (_FP_UNPACK_RAW_1_P): Likewise.
  41395. (_FP_PACK_RAW_1): Likewise.
  41396. (_FP_PACK_RAW_1_P): Likewise.
  41397. (_FP_MUL_MEAT_1_wide): Likewise.
  41398. (_FP_MUL_MEAT_DW_1_hard): Likewise.
  41399. (_FP_MUL_MEAT_1_hard): Likewise.
  41400. (_FP_DIV_MEAT_1_imm): Likewise.
  41401. (_FP_DIV_MEAT_1_udiv_norm): Likewise.
  41402. (_FP_DIV_MEAT_1_udiv): Likewise.
  41403. * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
  41404. (_FP_UNPACK_RAW_2): Likewise.
  41405. (_FP_UNPACK_RAW_2_P): Likewise.
  41406. (_FP_PACK_RAW_2): Likewise.
  41407. (_FP_PACK_RAW_2_P): Likewise.
  41408. (_FP_MUL_MEAT_DW_2_wide): Likewise.
  41409. (_FP_MUL_MEAT_2_wide): Likewise.
  41410. (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
  41411. (_FP_MUL_MEAT_2_wide_3mul): Likewise.
  41412. (_FP_MUL_MEAT_DW_2_gmp): Likewise.
  41413. (_FP_MUL_MEAT_2_gmp): Likewise.
  41414. (_FP_DIV_MEAT_2_udiv): Likewise.
  41415. * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
  41416. (_FP_FRAC_SRL_4): Likewise.
  41417. (_FP_FRAC_SRST_4): Likewise.
  41418. (_FP_FRAC_SRS_4): Likewise.
  41419. (_FP_UNPACK_RAW_4): Likewise.
  41420. (_FP_UNPACK_RAW_4_P): Likewise.
  41421. (_FP_PACK_RAW_4): Likewise.
  41422. (_FP_PACK_RAW_4_P): Likewise.
  41423. (_FP_MUL_MEAT_DW_4_wide): Likewise.
  41424. (_FP_MUL_MEAT_4_wide): Likewise.
  41425. (_FP_MUL_MEAT_4_gmp): Likewise.
  41426. (umul_ppppmnnn): Likewise.
  41427. (_FP_DIV_MEAT_4_udiv): Likewise.
  41428. (__FP_FRAC_ADD_4): Likewise.
  41429. (__FP_FRAC_SUB_3): Likewise.
  41430. (__FP_FRAC_SUB_4): Likewise.
  41431. (__FP_FRAC_DEC_3): Likewise.
  41432. (__FP_FRAC_DEC_4): Likewise.
  41433. (__FP_FRAC_ADDI_4): Likewise.
  41434. * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
  41435. (_FP_FRAC_SRL_8): Likewise.
  41436. (_FP_FRAC_SRS_8): Likewise.
  41437. * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
  41438. include macro name.
  41439. (FP_UNPACK_RAW_EP): Likewise.
  41440. (FP_PACK_RAW_E): Likewise.
  41441. (FP_PACK_RAW_EP): Likewise.
  41442. * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
  41443. (_FP_ISSIGNAN): Likewise.
  41444. (_FP_ADD_INTERNAL): Likewise.
  41445. (_FP_FMA): Likewise.
  41446. (_FP_CMP): Likewise.
  41447. (_FP_SQRT): Likewise.
  41448. (_FP_TO_INT): Likewise.
  41449. (_FP_FROM_INT): Likewise.
  41450. (FP_EXTEND): Likewise.
  41451. (_FP_DIV_MEAT_N_loop): Likewise.
  41452. 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
  41453. * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
  41454. throughout.
  41455. 2014-06-29 Joseph Myers <joseph@codesourcery.com>
  41456. [BZ #17097]
  41457. * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
  41458. result with correct sign in case of exponents that produce
  41459. overflow except for X very close to 1.
  41460. 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
  41461. mktime: merge #if/#ifdef usage from glibc
  41462. * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
  41463. as that works with both Glibc's and Gnulib's style.
  41464. See thread starting at Siddhesh Poyarekar's bug report at:
  41465. http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
  41466. 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
  41467. * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
  41468. * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
  41469. * sysdeps/tile/tilegx/memmove.c: Remove file.
  41470. 2014-06-27 Joseph Myers <joseph@codesourcery.com>
  41471. * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
  41472. abi-name definition.
  41473. * scripts/soversions.awk: Do not handle or generate ABI lines.
  41474. * shlib-versions: Remove ABI entries.
  41475. * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
  41476. * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
  41477. 2014-06-27 Roland McGrath <roland@hack.frob.com>
  41478. * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
  41479. * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
  41480. * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
  41481. * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
  41482. * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
  41483. * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
  41484. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
  41485. Moved ...
  41486. * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
  41487. ... here.
  41488. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
  41489. * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
  41490. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
  41491. * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
  41492. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
  41493. * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
  41494. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
  41495. * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
  41496. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
  41497. * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
  41498. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
  41499. * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
  41500. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
  41501. Moved ...
  41502. * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
  41503. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
  41504. * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
  41505. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
  41506. * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
  41507. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
  41508. Moved ...
  41509. * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
  41510. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
  41511. Moved ...
  41512. * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
  41513. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
  41514. * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
  41515. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
  41516. Moved ...
  41517. * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
  41518. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
  41519. * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
  41520. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
  41521. * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
  41522. * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
  41523. * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
  41524. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
  41525. Moved ...
  41526. * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
  41527. * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
  41528. * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
  41529. * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
  41530. Moved ...
  41531. * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
  41532. * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
  41533. Moved ...
  41534. * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
  41535. * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
  41536. * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
  41537. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
  41538. Moved ...
  41539. * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
  41540. ... here.
  41541. * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
  41542. Identical file removed.
  41543. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
  41544. Moved ...
  41545. * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
  41546. * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
  41547. Identical file removed.
  41548. * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
  41549. * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
  41550. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
  41551. Moved ...
  41552. * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
  41553. * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
  41554. Identical file removed.
  41555. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
  41556. * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
  41557. * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
  41558. Identical file removed.
  41559. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
  41560. * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
  41561. * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
  41562. Identical file removed.
  41563. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
  41564. * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
  41565. * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
  41566. Identical file removed.
  41567. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
  41568. Moved ...
  41569. * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
  41570. * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
  41571. Identical file removed.
  41572. * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
  41573. Moved ...
  41574. * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
  41575. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
  41576. * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
  41577. * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
  41578. Identical file removed.
  41579. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
  41580. Moved ...
  41581. * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
  41582. ... here.
  41583. * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
  41584. Identical file removed.
  41585. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
  41586. Moved ...
  41587. * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
  41588. * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
  41589. Identical file removed.
  41590. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
  41591. Moved ...
  41592. * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
  41593. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
  41594. * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
  41595. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
  41596. * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
  41597. * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
  41598. Moved ...
  41599. * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
  41600. * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
  41601. * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
  41602. * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
  41603. SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
  41604. * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
  41605. * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
  41606. * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
  41607. 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
  41608. [BZ #17092]
  41609. * nscd/nscd.c (monitor_child): Return exit status of child
  41610. instead of return value from wait syscall.
  41611. 2014-06-27 Joseph Myers <joseph@codesourcery.com>
  41612. * configure.ac (libc_commonpagesize): Remove variable.
  41613. (libc_relro_required): Likewise.
  41614. (libc_cv_z_relro): Remove configure test.
  41615. * configure: Regenerated.
  41616. * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
  41617. variable.
  41618. (libc_relro_required): Likewise.
  41619. * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
  41620. (libc_relro_required): Likewise.
  41621. * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
  41622. (libc_relro_required): Likewise.
  41623. * sysdeps/arm/preconfigure: Regenerated.
  41624. * sysdeps/ia64/preconfigure: Remove file.
  41625. * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
  41626. variable.
  41627. (libc_relro_required): Likewise.
  41628. [BZ #16561]
  41629. [BZ #16562]
  41630. * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
  41631. (__ieee754_yn): Set FE_TONEAREST mode internally and then
  41632. recompute overflowing results in original rounding mode.
  41633. * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
  41634. (__ieee754_ynf): Set FE_TONEAREST mode internally and then
  41635. recompute overflowing results in original rounding mode.
  41636. * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
  41637. (__ieee754_ynl): Set FE_TONEAREST mode internally and then
  41638. recompute overflowing results in original rounding mode.
  41639. * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
  41640. (__ieee754_ynl): Set FE_TONEAREST mode internally and then
  41641. recompute overflowing results in original rounding mode.
  41642. * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
  41643. (__ieee754_ynl): Set FE_TONEAREST mode internally and then
  41644. recompute overflowing results in original rounding mode.
  41645. * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
  41646. (libc_feholdsetround_ctx): New macro.
  41647. * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
  41648. * sysdeps/i386/fpu/libm-test-ulps: Update.
  41649. * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
  41650. 2014-06-26 Joseph Myers <joseph@codesourcery.com>
  41651. * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
  41652. [__PIC__] (PSEUDO): Use name of _nocancel entry point in
  41653. corresponding .cpsetup call.
  41654. 2014-06-26 Roland McGrath <roland@hack.frob.com>
  41655. * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
  41656. * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
  41657. * sysdeps/arm/Makefile [$(subdir) = csu]
  41658. (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
  41659. (static-only-routines): Add aeabi_read_tp here.
  41660. (shared-only-routines): Add libc-aeabi_read_tp here.
  41661. (CFLAGS-libc-start.c): Add -fexceptions here.
  41662. * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
  41663. (sysdep_routines, static-only-routines, shared-only-routines):
  41664. Don't add to these here.
  41665. (CFLAGS-libc-start.c): Likewise.
  41666. * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
  41667. * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
  41668. * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
  41669. * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
  41670. * sysdeps/arm/Makefile [$(subdir) = rt]
  41671. (librt-sysdep_routines, librt-shared-only-routines):
  41672. Append rt-aeabi_unwind_cpp_pr1 here.
  41673. * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
  41674. (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
  41675. * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
  41676. (libpthread-sysdep_routines, libpthread-shared-only-routines):
  41677. Append nptl-aeabi_unwind_cpp_pr1 here.
  41678. (tests): Filter out tst-cleanupx4 here.
  41679. * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
  41680. (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
  41681. Don't do those here.
  41682. 2014-06-26 Joseph Myers <joseph@codesourcery.com>
  41683. * scripts/list-sources.sh: Do not handle ports specially.
  41684. 2014-06-26 Roland McGrath <roland@hack.frob.com>
  41685. * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
  41686. * sysdeps/arm/feupdateenv.c: Likewise.
  41687. * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
  41688. 2014-06-26 Joseph Myers <joseph@codesourcery.com>
  41689. * manual/texinfo.tex: Update to version 2014-05-05.10 with
  41690. trailing whitespace removed.
  41691. * scripts/config.guess: Update to version 2014-03-23.
  41692. * scripts/config.sub: Update to version 2014-05-01
  41693. * scripts/install-sh: Update to version 2013-12-25.23.
  41694. * scripts/move-if-change: Update from gnulib.
  41695. 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
  41696. * debug/memmove_chk.c: Remove pagecopy.h include.
  41697. 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
  41698. * time/mktime.c (leapyear): Remove inline keyword. The code is now
  41699. identical to gnulib mktime.
  41700. 2014-06-26 Joseph Myers <joseph@codesourcery.com>
  41701. * configure.ac: Do not test for machine being rs6000. Do not test
  41702. for powerpc*-*soft.
  41703. * configure: Regenerated.
  41704. [BZ #11505]
  41705. * configure.ac (libc_cv_asm_cfi_directives): Remove configure
  41706. test.
  41707. * configure: Regenerated.
  41708. * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
  41709. * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
  41710. Remove configure test.
  41711. * sysdeps/arm/configure: Regenerated.
  41712. * sysdeps/nptl/configure.ac: Do not check
  41713. libc_cv_asm_cfi_directives.
  41714. * sysdeps/nptl/configure: Regenerated.
  41715. * sysdeps/x86_64/nptl/configure.ac: Remove file.
  41716. * sysdeps/x86_64/nptl/configure: Remove generated file.
  41717. * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
  41718. unconditional.
  41719. [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
  41720. 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
  41721. * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
  41722. * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
  41723. (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
  41724. it is defined.
  41725. * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
  41726. instead of whether it is defined.
  41727. * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
  41728. * sysdeps/hppa/dl-machine.h: Likewise.
  41729. * sysdeps/ia64/dl-machine.h: Likewise.
  41730. * sysdeps/m68k/dl-machine.h: Likewise.
  41731. * sysdeps/microblaze/dl-machine.h: Likewise.
  41732. * sysdeps/mips/dl-machine.: Likewise.
  41733. * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
  41734. * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
  41735. * sysdeps/s390/s390-32/dl-machine.h: Likewise.
  41736. * sysdeps/s390/s390-64/dl-machine.h: Likewise.
  41737. * sysdeps/sh/dl-machine.h: Likewise.
  41738. * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
  41739. * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
  41740. * sysdeps/tile/dl-machine.h: Likewise.
  41741. * sysdeps/x86_64/dl-machine.h: Likewise.
  41742. * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
  41743. code.
  41744. (verify_persistent_db): Likewise.
  41745. 2014-06-26 Roland McGrath <roland@hack.frob.com>
  41746. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
  41747. * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
  41748. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
  41749. * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
  41750. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
  41751. Moved ...
  41752. * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
  41753. ... here.
  41754. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
  41755. * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
  41756. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
  41757. Identical file removed.
  41758. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
  41759. * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
  41760. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
  41761. * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
  41762. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
  41763. * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
  41764. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
  41765. * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
  41766. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
  41767. * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
  41768. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
  41769. Moved ...
  41770. * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
  41771. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
  41772. * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
  41773. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
  41774. * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
  41775. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
  41776. Moved ...
  41777. * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
  41778. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
  41779. * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
  41780. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
  41781. * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
  41782. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
  41783. Identical file removed.
  41784. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
  41785. * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
  41786. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
  41787. * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
  41788. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
  41789. Moved ...
  41790. * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
  41791. ... here.
  41792. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
  41793. * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
  41794. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
  41795. * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
  41796. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
  41797. * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
  41798. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
  41799. * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
  41800. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
  41801. * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
  41802. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
  41803. Moved ...
  41804. * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
  41805. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
  41806. Moved ...
  41807. * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
  41808. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
  41809. * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
  41810. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
  41811. Moved ...
  41812. * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
  41813. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
  41814. * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
  41815. * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
  41816. folded into ...
  41817. * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
  41818. * sysdeps/unix/sysv/linux/s390/Versions
  41819. (libpthread: GLIBC_2.19): New version set.
  41820. * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
  41821. * sysdeps/unix/sysv/linux/s390/s390-64/Versions
  41822. (librt: GLIBC_2.3.3): New version set.
  41823. * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
  41824. * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
  41825. * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
  41826. * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
  41827. * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
  41828. * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
  41829. * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
  41830. * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
  41831. * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
  41832. * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
  41833. * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
  41834. * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
  41835. * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
  41836. * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
  41837. * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
  41838. * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
  41839. * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
  41840. * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
  41841. * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
  41842. * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
  41843. * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
  41844. * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
  41845. * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
  41846. * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
  41847. * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
  41848. * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
  41849. * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
  41850. * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
  41851. * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
  41852. * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
  41853. * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
  41854. * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
  41855. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
  41856. * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
  41857. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
  41858. * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
  41859. * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
  41860. * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
  41861. * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
  41862. * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
  41863. * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
  41864. * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
  41865. * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
  41866. * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
  41867. * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
  41868. * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
  41869. * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
  41870. (__libc_vfork): Define the function under this name.
  41871. [!NOT_IN_libc] (__vfork): Make this an alias.
  41872. [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
  41873. * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
  41874. * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
  41875. (__libc_vfork): Define the function under this name.
  41876. [!NOT_IN_libc] (__vfork): Make this an alias.
  41877. [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
  41878. * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
  41879. * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
  41880. * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
  41881. * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
  41882. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
  41883. * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
  41884. code that was previously under [RESET_PID].
  41885. * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
  41886. * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
  41887. * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
  41888. * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
  41889. * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
  41890. * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
  41891. * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
  41892. * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
  41893. * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
  41894. * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
  41895. * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
  41896. * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
  41897. * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
  41898. * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
  41899. Moved ...
  41900. * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
  41901. * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
  41902. * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
  41903. * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
  41904. * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
  41905. * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
  41906. * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
  41907. * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
  41908. * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
  41909. * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
  41910. * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
  41911. * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
  41912. * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
  41913. * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
  41914. * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
  41915. * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
  41916. * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
  41917. * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
  41918. * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
  41919. * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
  41920. * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
  41921. * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
  41922. * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
  41923. * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
  41924. * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
  41925. * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
  41926. * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
  41927. * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
  41928. * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
  41929. 2014-06-25 Roland McGrath <roland@hack.frob.com>
  41930. * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
  41931. that was previously under [RESET_PID].
  41932. * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
  41933. 2014-06-25 Joseph Myers <joseph@codesourcery.com>
  41934. * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
  41935. not undefine and redefine.
  41936. * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
  41937. [O_CLOEXEC]: Make code unconditional.
  41938. (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
  41939. * sysdeps/unix/sysv/linux/shm_open.c: Do not include
  41940. <kernel-features.h>.
  41941. [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
  41942. conditional variable definition.
  41943. (shm_open) [O_CLOEXEC]: Make code unconditional.
  41944. (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
  41945. code.
  41946. * configure.ac (USE_REGPARMS): Don't define here.
  41947. * configure: Regenerated.
  41948. * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
  41949. * sysdeps/i386/configure: Regenerated.
  41950. * nptl/createthread.c: Don't include kernel-features.h.
  41951. * nptl/pthread_cancel.c: Likewise.
  41952. * nptl/pthread_condattr_setclock.c: Likewise.
  41953. * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
  41954. * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
  41955. * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
  41956. * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
  41957. * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
  41958. * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
  41959. * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
  41960. * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
  41961. * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
  41962. * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
  41963. * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
  41964. * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
  41965. * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
  41966. * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
  41967. * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
  41968. * nscd/gai.c: Likewise.
  41969. * nss/nss_db/db-open.c: Likewise.
  41970. * sysdeps/generic/ldsodefs.h: Likewise.
  41971. * sysdeps/sh/nptl/tls.h: Likewise.
  41972. * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
  41973. * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
  41974. * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
  41975. * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
  41976. * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
  41977. * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
  41978. * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
  41979. * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
  41980. * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
  41981. * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
  41982. * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
  41983. * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
  41984. * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
  41985. * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
  41986. * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
  41987. * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
  41988. * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
  41989. * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
  41990. * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
  41991. * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
  41992. * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
  41993. * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
  41994. * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
  41995. * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
  41996. * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
  41997. * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
  41998. * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
  41999. * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
  42000. * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
  42001. * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
  42002. * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
  42003. * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
  42004. * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
  42005. * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
  42006. * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
  42007. * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
  42008. * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
  42009. * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
  42010. * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
  42011. * sysdeps/unix/sysv/linux/if_index.c: Likewise.
  42012. * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
  42013. * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
  42014. * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
  42015. * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
  42016. * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
  42017. * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
  42018. * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
  42019. * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
  42020. * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
  42021. * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
  42022. * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
  42023. * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
  42024. * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
  42025. * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
  42026. * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
  42027. * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
  42028. * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
  42029. * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
  42030. * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
  42031. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
  42032. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
  42033. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
  42034. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
  42035. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
  42036. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
  42037. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
  42038. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
  42039. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
  42040. * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
  42041. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
  42042. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
  42043. * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
  42044. * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
  42045. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
  42046. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
  42047. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
  42048. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
  42049. * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
  42050. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
  42051. * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
  42052. * sysdeps/unix/sysv/linux/pread.c: Likewise.
  42053. * sysdeps/unix/sysv/linux/pread64.c: Likewise.
  42054. * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
  42055. * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
  42056. * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
  42057. * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
  42058. * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
  42059. * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
  42060. * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
  42061. * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
  42062. * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
  42063. * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
  42064. * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
  42065. * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
  42066. * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
  42067. * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
  42068. * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
  42069. * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
  42070. * sysdeps/unix/sysv/linux/syslog.c: Likewise.
  42071. * sysdeps/unix/sysv/linux/system.c: Likewise.
  42072. * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
  42073. * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
  42074. * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
  42075. * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
  42076. * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
  42077. * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
  42078. * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
  42079. * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
  42080. * configure: Regenerated.
  42081. * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
  42082. * configure.ac (base_machine): Do not set specially for particular
  42083. machines here.
  42084. * configure: Regenerated.
  42085. * sysdeps/powerpc/preconfigure: Move machine and base_machine
  42086. settings from configure.ac.
  42087. * sysdeps/i386/preconfigure: New file.
  42088. * sysdeps/s390/preconfigure: Likewise.
  42089. * sysdeps/sh/preconfigure: Likewise.
  42090. * sysdeps/sparc/preconfigure: Likewise.
  42091. 2014-06-25 Roland McGrath <roland@hack.frob.com>
  42092. * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
  42093. * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
  42094. * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
  42095. * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
  42096. * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
  42097. * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
  42098. * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
  42099. * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
  42100. * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
  42101. * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
  42102. * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
  42103. * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
  42104. * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
  42105. * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
  42106. * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
  42107. * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
  42108. * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
  42109. * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
  42110. * sysdeps/sparc/sparc64/Makefile: ... appended here.
  42111. * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
  42112. * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
  42113. * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
  42114. * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
  42115. * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
  42116. * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
  42117. * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
  42118. * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
  42119. * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
  42120. * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
  42121. * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
  42122. * sysdeps/sparc/sparc32/sem_post.c: ... here.
  42123. * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
  42124. * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
  42125. * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
  42126. * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
  42127. * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
  42128. * sysdeps/sparc/sparc32/sem_wait.c: ... here.
  42129. * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
  42130. * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
  42131. * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
  42132. * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
  42133. * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
  42134. * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
  42135. * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
  42136. * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
  42137. * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
  42138. * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
  42139. * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
  42140. * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
  42141. * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
  42142. * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
  42143. * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
  42144. * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
  42145. * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
  42146. * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
  42147. * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
  42148. * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
  42149. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
  42150. * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
  42151. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
  42152. * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
  42153. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
  42154. Moved ...
  42155. * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
  42156. ... here.
  42157. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
  42158. * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
  42159. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
  42160. * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
  42161. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
  42162. Moved ...
  42163. * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
  42164. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
  42165. * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
  42166. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
  42167. * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
  42168. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
  42169. * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
  42170. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
  42171. Moved ...
  42172. * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
  42173. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
  42174. Moved ...
  42175. * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
  42176. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
  42177. * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
  42178. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
  42179. Moved ...
  42180. * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
  42181. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
  42182. * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
  42183. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
  42184. * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
  42185. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
  42186. * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
  42187. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
  42188. * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
  42189. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
  42190. Moved ...
  42191. * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
  42192. ... here.
  42193. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
  42194. * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
  42195. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
  42196. * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
  42197. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
  42198. Moved ...
  42199. * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
  42200. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
  42201. * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
  42202. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
  42203. * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
  42204. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
  42205. * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
  42206. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
  42207. Moved ...
  42208. * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
  42209. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
  42210. Moved ...
  42211. * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
  42212. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
  42213. * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
  42214. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
  42215. Moved ...
  42216. * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
  42217. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
  42218. * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
  42219. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
  42220. * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
  42221. 2014-06-25 Joseph Myers <joseph@codesourcery.com>
  42222. * timezone/checktab.awk: Update from tzcode 2014e.
  42223. * timezone/private.h: Likewise.
  42224. * timezone/tzfile.h: Likewise.
  42225. * timezone/zdump.c: Likewise.
  42226. * timezone/zic.c: Likewise.
  42227. * sysdeps/unix/sysv/linux/kernel-features.h
  42228. (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
  42229. * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
  42230. [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
  42231. (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
  42232. Remove conditional code.
  42233. 2014-06-25 Will Newton <will.newton@linaro.org>
  42234. * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
  42235. (_dl_arm_cap_flags): Add HWCAP2 values.
  42236. * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
  42237. (_DL_HWCAP_COUNT): Increase to 37.
  42238. (_DL_HWCAP_LAST): New define.
  42239. (_DL_HWCAP2_LAST): New define.
  42240. (_dl_procinfo): Add support for printing
  42241. AT_HWCAP2 entries.
  42242. (_dl_string_hwcap): Use _dl_hwcap_string.
  42243. 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  42244. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  42245. 2014-06-25 Joseph Myers <joseph@codesourcery.com>
  42246. * README: Do not mention ports directory.
  42247. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
  42248. Remove macro.
  42249. * sysdeps/unix/sysv/linux/futimes.c: Do not include
  42250. <kernel-features.h>.
  42251. [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
  42252. conditional variable definition.
  42253. (__futimes): Update comment.
  42254. (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
  42255. (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
  42256. [BZ #16560]
  42257. * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
  42258. arguments close to 0.
  42259. * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
  42260. Likewise.
  42261. * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
  42262. Likewise.
  42263. * math/auto-libm-test-in: Add more tests of exp10.
  42264. * math/auto-libm-test-out: Regenerated.
  42265. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
  42266. * sysdeps/unix/sysv/linux/kernel-features.h
  42267. (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
  42268. * sysdeps/unix/sysv/linux/readv.c: Do not include
  42269. <kernel-features.h>.
  42270. [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
  42271. [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
  42272. (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
  42273. unconditional.
  42274. (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
  42275. conditional code.
  42276. * sysdeps/unix/sysv/linux/writev.c: Do not include
  42277. <kernel-features.h>.
  42278. [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
  42279. [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
  42280. (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
  42281. unconditional.
  42282. (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
  42283. conditional code.
  42284. 2014-06-25 Will Newton <will.newton@linaro.org>
  42285. * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
  42286. comment changes throughout the file. Remove checks
  42287. for HAVE_*_H definitions that are not required.
  42288. (__gen_tempname): Call abort if an unknown kind value is
  42289. passed.
  42290. 2014-06-25 Andreas Schwab <schwab@suse.de>
  42291. [BZ #17086]
  42292. * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
  42293. scalbln, scalblnf, scalblnl in libc.
  42294. 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
  42295. [BZ #17086]
  42296. * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
  42297. * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
  42298. * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
  42299. 2014-06-24 Roland McGrath <roland@hack.frob.com>
  42300. * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
  42301. * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
  42302. * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
  42303. * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
  42304. Update #include.
  42305. * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
  42306. * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
  42307. Update #include.
  42308. * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
  42309. * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
  42310. * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
  42311. * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
  42312. * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
  42313. * sysdeps/x86/bits/pthreadtypes.h: ... here.
  42314. * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
  42315. * sysdeps/x86/bits/semaphore.h: ... here.
  42316. * sysdeps/x86/nptl/elide.h: Moved ...
  42317. * sysdeps/x86/elide.h: ... here.
  42318. * sysdeps/x86_64/nptl/Implies: File removed.
  42319. * sysdeps/i386/nptl/Implies: File removed.
  42320. 2014-06-24 Joseph Myers <joseph@codesourcery.com>
  42321. [BZ #16539]
  42322. * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
  42323. return the argument for normal arguments with exponent below -64.
  42324. * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
  42325. Likewise.
  42326. * math/auto-libm-test-in: Add another test of expm1.
  42327. * math/auto-libm-test-out: Regenerated.
  42328. [BZ #16287]
  42329. * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
  42330. calling __erfcl for arguments at least 16.
  42331. * math/auto-libm-test-in: Add more tests of erf.
  42332. * math/auto-libm-test-out: Regenerated.
  42333. * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
  42334. individual architectures.
  42335. * sysdeps/unix/sysv/linux/configure: Regenerated.
  42336. * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
  42337. * sysdeps/unix/sysv/linux/i386/configure: New generated file.
  42338. * sysdeps/unix/sysv/linux/powerpc/configure.ac
  42339. (ldd_rewrite_script): Define variable.
  42340. * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
  42341. * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
  42342. file.
  42343. * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
  42344. generated file.
  42345. * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
  42346. * sysdeps/unix/sysv/linux/s390/configure: New generated file.
  42347. * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
  42348. * sysdeps/unix/sysv/linux/sh/configure: New generated file.
  42349. * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
  42350. * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
  42351. * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
  42352. * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
  42353. 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
  42354. [BZ #17084]
  42355. * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
  42356. Rename member __data.d to __data.__elision_data.
  42357. 2014-06-24 Wilco <wdijkstr@arm.com>
  42358. * NEWS: Add 16918 to fixed bug list.
  42359. 2014-06-24 Wilco <wdijkstr@arm.com>
  42360. * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
  42361. 2014-06-24 Wilco <wdijkstr@arm.com>
  42362. * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
  42363. * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
  42364. (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
  42365. (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
  42366. (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
  42367. * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
  42368. * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
  42369. Use _FPU_MASK_RM.
  42370. 2014-06-24 Wilco <wdijkstr@arm.com>
  42371. * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
  42372. 2014-06-24 Wilco <wdijkstr@arm.com>
  42373. * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
  42374. * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
  42375. * sysdeps/arm/fesetround.c (fesetround): Remove space.
  42376. * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
  42377. 2014-06-24 Wilco <wdijkstr@arm.com>
  42378. [BZ #16918]
  42379. * sysdeps/arm/feupdateenv.c (feupdateenv):
  42380. Rewrite to reduce FPSCR accesses and fix return value.
  42381. 2014-06-24 Wilco <wdijkstr@arm.com>
  42382. * sysdeps/arm/fclrexcpt.c (feclearexcept):
  42383. Optimize to avoid unnecessary FPSCR writes.
  42384. * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
  42385. * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
  42386. * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
  42387. * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
  42388. 2014-06-24 Wilco <wdijkstr@arm.com>
  42389. * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
  42390. * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
  42391. * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
  42392. * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
  42393. Call libc_fetestexcept_vfp.
  42394. * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
  42395. * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
  42396. __SOFTFP__ ifdef so that they can be built for softfp.
  42397. 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
  42398. * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
  42399. argument type signed char.
  42400. * Makerules (check-abi): Dump diff of symlist if the test
  42401. fails.
  42402. 2014-06-23 Roland McGrath <roland@hack.frob.com>
  42403. * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
  42404. using abort.
  42405. * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
  42406. Remove unused variable ST.
  42407. 2014-06-23 Joseph Myers <joseph@codesourcery.com>
  42408. [BZ #16354]
  42409. [BZ #17061]
  42410. * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
  42411. small arguments before calling __expm1.
  42412. * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
  42413. small arguments before calling __expm1f.
  42414. * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
  42415. small arguments before calling __expm1l.
  42416. * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
  42417. Likewise.
  42418. * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
  42419. * math/auto-libm-test-in: Add more cosh tests. Do not allow
  42420. spurious underflow for some cosh tests.
  42421. * math/auto-libm-test-out: Regenerated.
  42422. * sysdeps/i386/fpu/libm-test-ulps: Update.
  42423. [BZ #17050]
  42424. * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
  42425. (__ieee754_y1): Set errno if return value overflows.
  42426. * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
  42427. (__ieee754_y1f): Set errno if return value overflows.
  42428. * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
  42429. (__ieee754_y1l): Set errno if return value overflows.
  42430. * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
  42431. (__ieee754_y1l): Set errno if return value overflows.
  42432. * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
  42433. * math/auto-libm-test-out: Regenerated.
  42434. * math/gen-auto-libm-tests.c: Document use of
  42435. ignore-zero-inf-sign.
  42436. (input_flag_type): Add value flag_ignore_zero_inf_sign.
  42437. (input_flags): Add ignore-zero-inf-sign.
  42438. (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
  42439. * math/gen-libm-test.pl (generate_testfile): Handle
  42440. ignore-zero-inf-sign.
  42441. * math/auto-libm-test-in: Mark some cpow tests with
  42442. ignore-zero-inf-sign and some with xfail-rounding.
  42443. * math/auto-libm-test-out: Regenerated.
  42444. * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
  42445. * sysdeps/i386/fpu/libm-test-ulps: Update.
  42446. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  42447. [BZ #16315]
  42448. * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
  42449. overflowing or underflowing operations take place with sign of
  42450. result.
  42451. * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
  42452. * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
  42453. * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
  42454. (__ieee754_pow): Recompute overflowing and underflowing results in
  42455. original rounding mode.
  42456. * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
  42457. (__powl_helper): Allow negative argument X and scale negated value
  42458. as needed. Avoid passing value outside [-1, 1] to f2xm1.
  42459. * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
  42460. overflowing or underflowing operations take place with sign of
  42461. result.
  42462. * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
  42463. Include <math.h>.
  42464. * math/auto-libm-test-in: Add more tests of pow.
  42465. * math/auto-libm-test-out: Regenerated.
  42466. * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
  42467. (pow_tonearest_test_data): Remove.
  42468. (pow_test_tonearest): Likewise.
  42469. (pow_towardzero_test_data): Likewise.
  42470. (pow_test_towardzero): Likewise.
  42471. (pow_downward_test_data): Likewise.
  42472. (pow_test_downward): Likewise.
  42473. (pow_upward_test_data): Likewise.
  42474. (pow_test_upward): Likewise.
  42475. (main): Don't call removed functions.
  42476. * sysdeps/i386/fpu/libm-test-ulps: Update.
  42477. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  42478. 2014-06-23 Roland McGrath <roland@hack.frob.com>
  42479. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
  42480. Moved ...
  42481. * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
  42482. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
  42483. Moved ...
  42484. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
  42485. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
  42486. Moved ...
  42487. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
  42488. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
  42489. Moved ...
  42490. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
  42491. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
  42492. File removed.
  42493. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
  42494. File removed.
  42495. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
  42496. File removed.
  42497. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
  42498. File removed.
  42499. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
  42500. File removed.
  42501. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
  42502. File removed.
  42503. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
  42504. File removed.
  42505. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
  42506. File removed.
  42507. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
  42508. File removed.
  42509. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
  42510. File removed.
  42511. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
  42512. File removed.
  42513. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
  42514. File removed.
  42515. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
  42516. Moved ...
  42517. * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
  42518. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
  42519. Moved ...
  42520. * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
  42521. ... here.
  42522. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
  42523. Moved ...
  42524. * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
  42525. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
  42526. Moved ...
  42527. * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
  42528. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
  42529. Moved ...
  42530. * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
  42531. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
  42532. Moved ...
  42533. * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
  42534. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
  42535. Moved ...
  42536. * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
  42537. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
  42538. Moved ...
  42539. * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
  42540. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
  42541. Moved ...
  42542. * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
  42543. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
  42544. * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
  42545. ... here.
  42546. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
  42547. Moved ...
  42548. * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
  42549. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
  42550. Moved ...
  42551. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
  42552. ... here.
  42553. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
  42554. Moved ...
  42555. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
  42556. ... here.
  42557. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
  42558. Moved ...
  42559. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
  42560. ... here.
  42561. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
  42562. Moved ...
  42563. * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
  42564. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
  42565. Moved ...
  42566. * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
  42567. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
  42568. * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
  42569. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
  42570. Moved ...
  42571. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
  42572. ... here.
  42573. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
  42574. Moved ...
  42575. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
  42576. ... here.
  42577. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
  42578. Moved ...
  42579. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
  42580. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
  42581. Moved ...
  42582. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
  42583. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
  42584. Moved ...
  42585. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
  42586. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
  42587. Moved ...
  42588. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
  42589. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
  42590. Moved ...
  42591. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
  42592. ... here.
  42593. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
  42594. Moved ...
  42595. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
  42596. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
  42597. Moved ...
  42598. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
  42599. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
  42600. Moved ...
  42601. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
  42602. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
  42603. Moved ...
  42604. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
  42605. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
  42606. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
  42607. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
  42608. Moved ...
  42609. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
  42610. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
  42611. Moved ...
  42612. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
  42613. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
  42614. Moved ...
  42615. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
  42616. ... here.
  42617. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
  42618. Moved ...
  42619. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
  42620. ... here.
  42621. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
  42622. Moved ...
  42623. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
  42624. ... here.
  42625. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
  42626. Moved ...
  42627. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
  42628. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
  42629. Moved ...
  42630. * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
  42631. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
  42632. Moved ...
  42633. * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
  42634. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
  42635. Moved ...
  42636. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
  42637. ... here.
  42638. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
  42639. Moved ...
  42640. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
  42641. ... here.
  42642. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
  42643. Moved ...
  42644. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
  42645. ... here.
  42646. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
  42647. Moved ...
  42648. * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
  42649. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
  42650. Moved ...
  42651. * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
  42652. 2014-06-23 Will Newton <will.newton@linaro.org>
  42653. Wilco <wdijkstr@arm.com>
  42654. * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
  42655. implementation. Include get-rounding-mode.h.
  42656. [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
  42657. [!libc_feholdsetround_noex_ctx]: Define
  42658. libc_feholdsetround_noex_ctx.
  42659. [!libc_feholdsetround_noexf_ctx]: Define
  42660. libc_feholdsetround_noexf_ctx.
  42661. [!libc_feholdsetround_noexl_ctx]: Define
  42662. libc_feholdsetround_noexl_ctx.
  42663. (libc_feholdsetround_ctx): New function.
  42664. (libc_feresetround_ctx): New function.
  42665. (libc_feholdsetround_noex_ctx): New function.
  42666. (libc_feresetround_noex_ctx): New function.
  42667. 2014-06-23 Roland McGrath <roland@hack.frob.com>
  42668. * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
  42669. * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
  42670. * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
  42671. * sysdeps/mips/nptl/bits/semaphore.h: ... here.
  42672. * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
  42673. * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
  42674. * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
  42675. * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
  42676. * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
  42677. * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
  42678. * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
  42679. * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
  42680. * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
  42681. * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
  42682. * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
  42683. * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
  42684. * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
  42685. Moved ...
  42686. * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
  42687. ... here.
  42688. * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
  42689. * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
  42690. * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
  42691. * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
  42692. * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
  42693. Moved ...
  42694. * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
  42695. * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
  42696. * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
  42697. * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
  42698. * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
  42699. * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
  42700. * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
  42701. * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
  42702. Moved ...
  42703. * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
  42704. * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
  42705. Moved ...
  42706. * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
  42707. * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
  42708. * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
  42709. * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
  42710. Moved ...
  42711. * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
  42712. * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
  42713. * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
  42714. * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
  42715. * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
  42716. * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
  42717. * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
  42718. * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
  42719. * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
  42720. * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
  42721. Moved ...
  42722. * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
  42723. ... here.
  42724. * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
  42725. * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
  42726. * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
  42727. * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
  42728. * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
  42729. * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
  42730. * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
  42731. * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
  42732. * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
  42733. * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
  42734. * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
  42735. * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
  42736. * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
  42737. Moved ...
  42738. * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
  42739. * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
  42740. * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
  42741. * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
  42742. * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
  42743. * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
  42744. Moved ...
  42745. * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
  42746. * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
  42747. * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
  42748. * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
  42749. * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
  42750. * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
  42751. * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
  42752. * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
  42753. * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
  42754. * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
  42755. * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
  42756. * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
  42757. * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
  42758. * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
  42759. * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
  42760. * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
  42761. * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
  42762. * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
  42763. * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
  42764. * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
  42765. * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
  42766. * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
  42767. * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
  42768. * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
  42769. * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
  42770. * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
  42771. * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
  42772. * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
  42773. * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
  42774. * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
  42775. * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
  42776. * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
  42777. * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
  42778. 2014-06-23 Joseph Myers <joseph@codesourcery.com>
  42779. * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
  42780. (FALLOC_FL_COLLAPSE_RANGE): New macro.
  42781. [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
  42782. * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
  42783. (IPV6_PMTUDISC_INTERFACE): Likewise.
  42784. (IPV6_PMTUDISC_OMIT): Likewise.
  42785. 2014-06-23 Andreas Schwab <schwab@suse.de>
  42786. * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
  42787. Remove unused errout label.
  42788. 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  42789. * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
  42790. macro: hardware supports Vector Crypto instructions.
  42791. 2014-06-23 Will Newton <will.newton@linaro.org>
  42792. * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
  42793. rather than __builtin_expect.
  42794. * elf/dl-lookup.c (undefined_msg): Remove variable.
  42795. (_dl_lookup_symbol_x): Replace undefined_msg with string
  42796. literal.
  42797. * elf/dl-lookup.c (do_lookup_unique): New function.
  42798. (do_lookup_x): Move STB_GNU_UNIQUE handling code
  42799. to a separate function.
  42800. 2014-06-23 Andreas Schwab <schwab@suse.de>
  42801. [BZ #17079]
  42802. * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
  42803. before reading the next line.
  42804. 2014-06-23 Will Newton <will.newton@linaro.org>
  42805. * test-skeleton.c (signal_handler): Use printf and %m
  42806. rather than perror. Use printf rather than fprintf to
  42807. stderr. Use puts rather than fputs to stderr.
  42808. (main): Likewise.
  42809. 2014-06-22 Ludovic Courtès <ludo@gnu.org>
  42810. * nscd/nscd.c (thread_info_t): Remove typedef.
  42811. (thread_info): Remove variable.
  42812. 2014-06-21 Allan McRae <allan@archlinux.org>
  42813. * NEWS: Mention CVE-2014-4043.
  42814. 2014-06-20 Roland McGrath <roland@hack.frob.com>
  42815. * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
  42816. * nptl/smp.h: ... here.
  42817. * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
  42818. * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
  42819. * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
  42820. * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
  42821. * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
  42822. * nptl/allocatestack.c: Include <stack-aliasing.h>.
  42823. * nptl/stack-aliasing.h: New file.
  42824. * sysdeps/i386/i686/stack-aliasing.h: New file.
  42825. * sysdeps/i386/i686/nptl/Makefile: File removed.
  42826. * sysdeps/x86_64/stack-aliasing.h: New file.
  42827. * sysdeps/x86_64/nptl/Makefile
  42828. (CFLAGS-pthread_create.c): Variable removed.
  42829. * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
  42830. * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
  42831. old file.
  42832. * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
  42833. * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
  42834. old file.
  42835. 2014-06-21 Joseph Myers <joseph@codesourcery.com>
  42836. * sysdeps/unix/sysv/linux/arm/kernel-features.h
  42837. (__ASSUME_SIGFRAME_V2): Remove macro.
  42838. * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
  42839. [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
  42840. (__default_sa_restorer_v2): Rename to __default_sa_restorer.
  42841. (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
  42842. * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
  42843. Declare as function. Remove conditional macro definitions.
  42844. (__default_rt_sa_restorer): Likewise.
  42845. (__default_sa_restorer_v1): Remove declaration.
  42846. (__default_sa_restorer_v2): Likewise.
  42847. (__default_rt_sa_restorer_v1): Likewise.
  42848. (__default_rt_sa_restorer_v2): Likewise.
  42849. * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
  42850. __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
  42851. __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
  42852. 2014-06-20 Roland McGrath <roland@hack.frob.com>
  42853. * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
  42854. (libpthread-routines): Add sysdep.
  42855. * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
  42856. * sysdeps/unix/sysv/linux/sparc/Versions
  42857. (libpthread: GLIBC_2.3.3): New version set.
  42858. * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
  42859. * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
  42860. * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
  42861. * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
  42862. * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
  42863. * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
  42864. Moved ...
  42865. * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
  42866. * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
  42867. * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
  42868. * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
  42869. * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
  42870. * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
  42871. * sysdeps/sparc/nptl/sem_init.c: ... here.
  42872. * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
  42873. * sysdeps/sparc/nptl/sem_post.c: ... here.
  42874. * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
  42875. * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
  42876. * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
  42877. * sysdeps/sparc/nptl/sem_wait.c: ... here.
  42878. * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
  42879. * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
  42880. * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
  42881. (libpthread-routines): Add cpu_relax.
  42882. * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
  42883. File removed.
  42884. * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
  42885. (librt: GLIBC_2.3.3): New version set.
  42886. * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
  42887. * sysdeps/sparc/sparc64/nptl/Makefile: New file.
  42888. * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
  42889. (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
  42890. * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
  42891. * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
  42892. * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
  42893. * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
  42894. Moved ...
  42895. * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
  42896. * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
  42897. * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
  42898. * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
  42899. * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
  42900. * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
  42901. * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
  42902. * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
  42903. * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
  42904. * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
  42905. Moved ...
  42906. * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
  42907. Update #include.
  42908. * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
  42909. Moved ...
  42910. * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
  42911. Update #include.
  42912. * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
  42913. Moved ...
  42914. * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
  42915. Update #include.
  42916. * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
  42917. Moved ...
  42918. * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
  42919. Update #include.
  42920. * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
  42921. Moved ...
  42922. * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
  42923. Update #include.
  42924. * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
  42925. Moved ...
  42926. * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
  42927. Update #include.
  42928. * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
  42929. * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
  42930. * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
  42931. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
  42932. * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
  42933. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
  42934. * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
  42935. * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
  42936. * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
  42937. * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
  42938. * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
  42939. Moved ...
  42940. * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
  42941. * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
  42942. * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
  42943. * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
  42944. * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
  42945. 2014-06-20 Joseph Myers <joseph@codesourcery.com>
  42946. * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
  42947. * nptl/pthread_rwlock_timedrdlock.c: Likewise.
  42948. * nptl/pthread_rwlock_timedwrlock.c: Likewise.
  42949. * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
  42950. * nscd/nscd.c: Likewise.
  42951. * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
  42952. * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
  42953. * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
  42954. * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
  42955. * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
  42956. <kernel-features.h>.
  42957. (init_mq_netlink): Remove conditional have_sock_cloexec
  42958. definitions. Remove code conditional on have_sock_cloexec < 0.
  42959. (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
  42960. (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
  42961. * sysdeps/unix/sysv/linux/opensock.c: Do not include
  42962. <kernel-features.h>.
  42963. (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
  42964. (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
  42965. 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
  42966. * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
  42967. Add tests for memset_chk and memset.
  42968. * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
  42969. with AVX2_Usable.
  42970. 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
  42971. [BZ #16046]
  42972. * elf/tst-dl-iter-static.c: New file.
  42973. * elf/Makefile (tests-static): Add tst-dl-iter-static.
  42974. * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
  42975. error.
  42976. 2014-06-20 Joseph Myers <joseph@codesourcery.com>
  42977. * sysdeps/unix/sysv/linux/kernel-features.h
  42978. (__ASSUME_F_GETOWN_EX): Remove macro.
  42979. * sysdeps/unix/sysv/linux/fcntl.c: Do not include
  42980. <kernel-features.h>.
  42981. (miss_F_GETOWN_EX): Remove variable or macro.
  42982. (do_fcntl): Do not check miss_F_GETOWN_EX.
  42983. (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
  42984. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
  42985. Remove macro.
  42986. * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
  42987. [!__ASSUME_AT_RANDOM]: Remove conditional code.
  42988. (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
  42989. * sysdeps/unix/sysv/linux/kernel-features.h
  42990. (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
  42991. * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
  42992. [ADJ_OFFSET_SS_READ]: Make code unconditional.
  42993. (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
  42994. 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
  42995. [BZ #17075]
  42996. * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
  42997. Fix calculation of the symbol's value.
  42998. * sysdeps/arm/tst-armtlsdescloc.c: New file.
  42999. * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
  43000. * sysdeps/arm/tst-armtlsdescextnow.c: New file.
  43001. * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
  43002. * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
  43003. * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
  43004. * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
  43005. `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
  43006. (modules-names): Add `tst-armtlsdescmod',
  43007. `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
  43008. (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
  43009. (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
  43010. (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
  43011. (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
  43012. (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
  43013. (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
  43014. ($(objpfx)tst-armtlsdescloc): New dependency.
  43015. ($(objpfx)tst-armtlsdescextnow): Likewise.
  43016. ($(objpfx)tst-armtlsdescextlazy): Likewise.
  43017. * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
  43018. TLS scheme support.
  43019. * sysdeps/arm/configure: Regenerate.
  43020. 2014-06-20 Joseph Myers <joseph@codesourcery.com>
  43021. * include/fcntl.h (__atfct_seterrno): Remove prototype.
  43022. (__atfct_seterrno_2): Likewise.
  43023. * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
  43024. <kernel-features.h>.
  43025. (__ASSUME_ATFCTS): Do not undefine and redefine.
  43026. * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
  43027. (__have_atfcts): Remove conditional definition.
  43028. (__fxstatat([__NR_fstatat64]: Make code unconditional.
  43029. (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
  43030. unreachable if [__ASSUME_ATFCTS].
  43031. * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
  43032. not undefine and redefine.
  43033. * sysdeps/unix/sysv/linux/faccessat.c: Do not include
  43034. <kernel-features.h>.
  43035. (faccessat) [__NR_faccessat]: Make code unconditional.
  43036. (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
  43037. * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
  43038. <kernel-features.h>.
  43039. (fchmodat) [__NR_fchmodat]: Make code unconditional.
  43040. (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
  43041. * sysdeps/unix/sysv/linux/fchownat.c: Do not include
  43042. <kernel-features.h>.
  43043. (fchownat) [__NR_fchownat]: Make code unconditional.
  43044. (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
  43045. * sysdeps/unix/sysv/linux/futimesat.c: Do not include
  43046. <kernel-features.h>.
  43047. (futimesat) [__NR_futimesat]: Make code unconditional.
  43048. (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
  43049. * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
  43050. <kernel-features.h>.
  43051. (__fxstatat) [__NR_newfstatat]: Make code unconditional.
  43052. (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
  43053. * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
  43054. <kernel-features.h>.
  43055. (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
  43056. (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
  43057. * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
  43058. * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
  43059. <kernel-features.h>.
  43060. (__fxstatat) [__NR_fstatat64]: Make code unconditional.
  43061. (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
  43062. * sysdeps/unix/sysv/linux/linkat.c: Do not include
  43063. <kernel-features.h>.
  43064. (linkat) [__NR_linkat]: Make code unconditional.
  43065. (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
  43066. * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
  43067. * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
  43068. <kernel-features.h>.
  43069. (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
  43070. (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
  43071. * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
  43072. <kernel-features.h>.
  43073. (mkdirat) [__NR_mkdirat]: Make code unconditional.
  43074. (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
  43075. * sysdeps/unix/sysv/linux/openat.c: Do not include
  43076. <kernel-features.h>.
  43077. [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
  43078. [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
  43079. (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
  43080. (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
  43081. * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
  43082. * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
  43083. <kernel-features.h>.
  43084. (readlinkat) [__NR_readlinkat]: Make code unconditional.
  43085. (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
  43086. result of INLINE_SYSCALL directly, not via int variable.
  43087. * sysdeps/unix/sysv/linux/renameat.c: Do not include
  43088. <kernel-features.h>.
  43089. [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
  43090. (renameat) [__NR_renameat]: Make code unconditional.
  43091. (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
  43092. * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
  43093. * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
  43094. * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
  43095. * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
  43096. (__ASSUME_ATFCTS): Do not undefine and redefine.
  43097. * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
  43098. <kernel-features.h>.
  43099. (symlinkat) [__NR_symlinkat]: Make code unconditional.
  43100. (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
  43101. * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
  43102. <kernel-features.h>.
  43103. (unlinkat) [__NR_unlinkat]: Make code unconditional.
  43104. (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
  43105. * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
  43106. (__ASSUME_ATFCTS): Do not undefine and redefine.
  43107. * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
  43108. <kernel-features.h>.
  43109. (__fxstatat) [__NR_newfstatat]: Make code unconditional.
  43110. (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
  43111. * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
  43112. <kernel-features.h>.
  43113. (__xmknodat) [__NR_mknodat]: Make code unconditional.
  43114. (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
  43115. 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
  43116. * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
  43117. 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
  43118. [BZ #17069]
  43119. * posix/regcomp.c (parse_reg_exp): Deallocate partially
  43120. constructed tree before returning error.
  43121. * posix/bug-regexp36.c: Expand test case.
  43122. 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
  43123. [BZ #6803]
  43124. * math/libm-test.inc (scalbln_test_date):
  43125. Add errno expectations.
  43126. * math/w_scalblnf.c: New File.
  43127. Add wrapper which checks for setting errno to ERANGE.
  43128. Add weak_alias for corresponding scalbln function.
  43129. * math/w_scalbln.c: Likewise.
  43130. * math/w_scalblnl.c: Likewise.
  43131. * math/Makefile (libm-calls): Add w_scalbln.
  43132. * sysdeps/ieee754/flt-32/s_scalblnf.c:
  43133. Remove weak_alias for corresponding scalbln function.
  43134. * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
  43135. * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
  43136. * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
  43137. * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
  43138. * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
  43139. * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
  43140. * sysdeps/i386/fpu/s_scalbn.S: Likewise.
  43141. * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
  43142. * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
  43143. * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
  43144. Remove long_double_symbol for scalblnl function in libm, libc.
  43145. * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
  43146. Add wrapper which checks for setting errno to ERANGE.
  43147. Add long_double_symbol for scalblnl function in libm, libc.
  43148. * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
  43149. Remove long_double_symbol for scalblnl in libm.
  43150. * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
  43151. Add wrapper which checks for setting errno to ERANGE.
  43152. Add long_double_symbol for scalblnl function in libm.
  43153. * sysdeps/ia64/fpu/w_scalblnf.c: New File.
  43154. Do not use wrapper because of own implementation.
  43155. 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
  43156. * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
  43157. 3 bytes for __pad1 for x32.
  43158. (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
  43159. 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
  43160. H.J. Lu <hongjiu.lu@intel.com>
  43161. * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
  43162. * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
  43163. * sysdeps/x86_64/multiarch/memset.S: Likewise.
  43164. * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
  43165. * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
  43166. 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
  43167. [BZ #17069]
  43168. * posix/regcomp.c (parse_expression): Deallocate partially
  43169. constructed tree before returning error.
  43170. * posix/Makefile.c (tests): Add bug-regex36.
  43171. (generated): Add bug-regex36.mtrace.
  43172. (tests-special): Add $(objpfx)bug-regex36-mem.out
  43173. (bug-regex36-ENV): New variable.
  43174. ($(objpfx)bug-regex36-mem.out): New rule.
  43175. * posix/bug-regex36.c: New file.
  43176. 2014-06-19 Will Newton <will.newton@linaro.org>
  43177. * malloc/malloc.c (systrim): If extra is zero then return
  43178. early.
  43179. 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
  43180. * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
  43181. 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
  43182. * sysdeps/aarch64/strchr.S: New file.
  43183. 2014-06-18 Joseph Myers <joseph@codesourcery.com>
  43184. [BZ #17022]
  43185. * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
  43186. from arguments -2 or below.
  43187. * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
  43188. * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
  43189. 2014-06-18 Andreas Schwab <schwab@suse.de>
  43190. [BZ #17062]
  43191. * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
  43192. of a bracket expr not to run off the end of the string.
  43193. * posix/Makefile (tests): Add tst-fnmatch3.
  43194. * posix/tst-fnmatch3.c: New file.
  43195. 2014-06-18 Joseph Myers <joseph@codesourcery.com>
  43196. * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
  43197. * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
  43198. [$(cross-compiling) = no]: Likewise.
  43199. * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
  43200. [$(cross-compiling) = no]: Likewise.
  43201. 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  43202. [BZ #17031]
  43203. * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
  43204. double, adjusted for any remainder from the high double.
  43205. * math/libm-test.inc (nearbyint): Add tests.
  43206. (rint): Likewise.
  43207. 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  43208. * nptl/sysdeps/powerpc/Makefile: Moved ...
  43209. * sysdeps/powerpc/nptl/Makefile: ... here.
  43210. * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
  43211. * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
  43212. * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
  43213. * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
  43214. * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
  43215. * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
  43216. * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
  43217. * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
  43218. * nptl/sysdeps/powerpc/tls.h: Moved ...
  43219. * sysdeps/powerpc/nptl/tls.h: ... here.
  43220. 2014-06-16 Joseph Myers <joseph@codesourcery.com>
  43221. [BZ #16681]
  43222. * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
  43223. * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
  43224. * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
  43225. * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
  43226. * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
  43227. * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
  43228. * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
  43229. * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
  43230. * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
  43231. 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
  43232. * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
  43233. 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
  43234. * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
  43235. defined operator.
  43236. * scripts/cross-test-ssh.sh (timeoutfactor): Default to
  43237. $TIMEOUTFACTOR.
  43238. 2014-06-16 Florian Weimer <fweimer@redhat.com>
  43239. [BZ #17058]
  43240. * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
  43241. non-executed part of the test.
  43242. 2014-06-16 Andreas Schwab <schwab@suse.de>
  43243. * string/bits/string2.h (strdup, strndup): Update feature guard.
  43244. 2014-06-14 David S. Miller <davem@davemloft.net>
  43245. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  43246. 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
  43247. * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
  43248. that was previously under [RESET_PID].
  43249. * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
  43250. * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
  43251. * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
  43252. * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
  43253. (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
  43254. (__libc_vfork): New strong alias.
  43255. * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
  43256. 2014-06-14 Andi Kleen <ak@linux.intel.com>
  43257. * sysdeps/generic/elide.h: New file.
  43258. 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
  43259. * Makefile (installed-headers): Adjust path of pthread.h header.
  43260. 2014-06-13 Roland McGrath <roland@hack.frob.com>
  43261. * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
  43262. * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
  43263. * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
  43264. * sysdeps/s390/nptl/bits/semaphore.h: ... here.
  43265. * nptl/sysdeps/s390/Makefile: Moved ...
  43266. * sysdeps/s390/nptl/Makefile: ... here.
  43267. * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
  43268. * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
  43269. * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
  43270. * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
  43271. * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
  43272. * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
  43273. * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
  43274. * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
  43275. * nptl/sysdeps/s390/pthreaddef.h: Moved ...
  43276. * sysdeps/s390/nptl/pthreaddef.h: ... here.
  43277. * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
  43278. * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
  43279. * nptl/sysdeps/s390/tls.h: Moved ...
  43280. * sysdeps/s390/nptl/tls.h: ... here.
  43281. * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
  43282. * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
  43283. 2014-06-13 David S. Miller <davem@davemloft.net>
  43284. * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
  43285. * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
  43286. * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
  43287. * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
  43288. * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
  43289. * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
  43290. * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
  43291. * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
  43292. * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
  43293. * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
  43294. * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
  43295. Remove RESET_PID cpp guards.
  43296. * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
  43297. Remove RESET_PID cpp guards.
  43298. * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
  43299. 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
  43300. * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
  43301. __sp to uintptr_t.
  43302. 2014-06-13 Andi Kleen <ak@linux.intel.com>
  43303. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
  43304. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
  43305. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
  43306. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
  43307. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
  43308. * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
  43309. * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
  43310. * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
  43311. * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
  43312. * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
  43313. * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
  43314. * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
  43315. * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
  43316. * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
  43317. * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
  43318. * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
  43319. * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
  43320. * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
  43321. * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
  43322. * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
  43323. * nptl/pthread_rwlock_rdlock.c: Include elide.h.
  43324. (pthread_rwlock_rdlock): Add elision.
  43325. * nptl/pthread_rwlock_wrlock.c: Include elide.h.
  43326. (pthread_rwlock_wrlock): Add elision.
  43327. * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
  43328. (pthread_rwlock_trywrlock): Add elision.
  43329. * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
  43330. (pthread_rwlock_tryrdlock): Add elision.
  43331. * nptl/pthread_rwlock_unlock.c: Include elide.h.
  43332. (pthread_rwlock_tryrdlock): Add elision unlock.
  43333. * nptl/sysdeps/pthread/pthread.h:
  43334. (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
  43335. (PTHREAD_RWLOCK_INITIALIZER,
  43336. PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
  43337. Handle new elision field.
  43338. * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
  43339. * sysdeps/arm/nptl/bits/pthreadtypes.h
  43340. (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
  43341. * sysdeps/sh/nptl/bits/pthreadtypes.h
  43342. (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
  43343. * sysdeps/tile/nptl/bits/pthreadtypes.h
  43344. (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
  43345. * sysdeps/a/nptl/bits/pthreadtypes.h
  43346. (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
  43347. * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
  43348. (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
  43349. * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
  43350. (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
  43351. * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
  43352. (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
  43353. * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
  43354. (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
  43355. * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
  43356. (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
  43357. * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
  43358. (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
  43359. * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
  43360. (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
  43361. * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
  43362. (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
  43363. * sysdeps/unix/sysv/linux/x86/elision-conf.c:
  43364. (elision_init): Set try_xbegin to zero when no RTM.
  43365. * sysdeps/x86/nptl/bits/pthreadtypes.h
  43366. (pthread_rwlock_t): Change __pad1 to __rwelision.
  43367. (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
  43368. 2014-06-13 Andi Kleen <ak@linux.intel.com>
  43369. * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
  43370. Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
  43371. * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
  43372. Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
  43373. 2014-06-13 Meador Inge <meadori@codesourcery.com>
  43374. [BZ #16996]
  43375. * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
  43376. that the cached result has been set before returning it.
  43377. 2014-06-12 Roland McGrath <roland@hack.frob.com>
  43378. * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
  43379. * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
  43380. * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
  43381. * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
  43382. * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
  43383. * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
  43384. * nptl/sysdeps/sparc/Makefile: Moved ...
  43385. * sysdeps/sparc/nptl/Makefile: ... here.
  43386. * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
  43387. * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
  43388. * nptl/sysdeps/sparc/tls.h: Moved ...
  43389. * sysdeps/sparc/nptl/tls.h: ... here.
  43390. * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
  43391. * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
  43392. * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
  43393. * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
  43394. * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
  43395. * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
  43396. * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
  43397. * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
  43398. * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
  43399. * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
  43400. * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
  43401. * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
  43402. * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
  43403. * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
  43404. * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
  43405. * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
  43406. * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
  43407. * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
  43408. Update #include.
  43409. * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
  43410. * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
  43411. Update #include.
  43412. * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
  43413. * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
  43414. Update #include.
  43415. * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
  43416. * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
  43417. Update #include.
  43418. * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
  43419. * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
  43420. * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
  43421. * sysdeps/pthread/posix-timer.h: Include <list.h>.
  43422. (struct list_links): Type removed.
  43423. (struct thread_node, struct timer_node): Replace struct list_links
  43424. with struct list_head.
  43425. (list_unlink_ip): Likewise.
  43426. * sysdeps/pthread/timer_routines.c
  43427. (timer_free_list, thread_free_list, thread_active_list): Likewise.
  43428. (list_append, list_insbefore): Likewise.
  43429. (list_init): Function removed.
  43430. (thread_init, init_module): Use INIT_LIST_HEAD instead.
  43431. * sysdeps/nptl/Makefile: Move tst-timer bits to ...
  43432. * sysdeps/pthread/Makefile: ... here, new file.
  43433. * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
  43434. * sysdeps/nptl/Implies: ... here.
  43435. * sysdeps/unix/sysv/linux/Implies: Add nptl.
  43436. * nptl/sysdeps/pthread/list.h: Moved ...
  43437. * include/list.h: ... here.
  43438. * nptl/sysdeps/pthread/createthread.c: Moved ...
  43439. * nptl/createthread.c: ... here.
  43440. * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
  43441. * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
  43442. * nptl/pt-longjmp.c: ... here.
  43443. * nptl/sysdeps/pthread/Makefile: Moved ...
  43444. * sysdeps/nptl/Makefile: ... here.
  43445. * nptl/sysdeps/pthread/Subdirs: Moved ...
  43446. * sysdeps/nptl/Subdirs: ... here.
  43447. * nptl/sysdeps/pthread/aio_misc.h: Moved ...
  43448. * sysdeps/nptl/aio_misc.h: ... here.
  43449. * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
  43450. * sysdeps/nptl/bits/libc-lock.h: ... here.
  43451. * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
  43452. * sysdeps/nptl/bits/libc-lockP.h: ... here.
  43453. * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
  43454. * sysdeps/nptl/bits/stdio-lock.h: ... here.
  43455. * nptl/sysdeps/pthread/configure: Moved ...
  43456. * sysdeps/nptl/configure: ... here.
  43457. * nptl/sysdeps/pthread/configure.ac: Moved ...
  43458. * sysdeps/nptl/configure.ac: ... here.
  43459. * nptl/sysdeps/pthread/gai_misc.h: Moved ...
  43460. * sysdeps/nptl/gai_misc.h: ... here.
  43461. * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
  43462. * sysdeps/nptl/librt-cancellation.c: ... here.
  43463. * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
  43464. * sysdeps/nptl/malloc-machine.h: ... here.
  43465. * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
  43466. * sysdeps/nptl/pthread-functions.h: ... here.
  43467. * nptl/sysdeps/pthread/pthread.h: Moved ...
  43468. * sysdeps/nptl/pthread.h: ... here.
  43469. * nptl/sysdeps/pthread/setxid.h: Moved ...
  43470. * sysdeps/nptl/setxid.h: ... here.
  43471. * nptl/sysdeps/pthread/sigfillset.c: Moved ...
  43472. * sysdeps/nptl/sigfillset.c: ... here.
  43473. * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
  43474. * sysdeps/nptl/tcb-offsets.h: ... here.
  43475. * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
  43476. * sysdeps/nptl/tst-mqueue8x.c: ... here.
  43477. * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
  43478. * sysdeps/nptl/unwind-forcedunwind.c: ... here.
  43479. * nptl/sysdeps/pthread/allocalim.h: Moved ...
  43480. * sysdeps/pthread/allocalim.h: ... here.
  43481. * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
  43482. * sysdeps/pthread/bits/sigthread.h: ... here.
  43483. * nptl/sysdeps/pthread/flockfile.c: Moved ...
  43484. * sysdeps/pthread/flockfile.c: ... here.
  43485. * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
  43486. * sysdeps/pthread/ftrylockfile.c: ... here.
  43487. * nptl/sysdeps/pthread/funlockfile.c: Moved ...
  43488. * sysdeps/pthread/funlockfile.c: ... here.
  43489. * nptl/sysdeps/pthread/posix-timer.h: Moved ...
  43490. * sysdeps/pthread/posix-timer.h: ... here.
  43491. * nptl/sysdeps/pthread/timer_create.c: Moved ...
  43492. * sysdeps/pthread/timer_create.c: ... here.
  43493. * nptl/sysdeps/pthread/timer_delete.c: Moved ...
  43494. * sysdeps/pthread/timer_delete.c: ... here.
  43495. * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
  43496. * sysdeps/pthread/timer_getoverr.c: ... here.
  43497. * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
  43498. * sysdeps/pthread/timer_gettime.c: ... here.
  43499. * nptl/sysdeps/pthread/timer_routines.c: Moved ...
  43500. * sysdeps/pthread/timer_routines.c: ... here.
  43501. * nptl/sysdeps/pthread/timer_settime.c: Moved ...
  43502. * sysdeps/pthread/timer_settime.c: ... here.
  43503. * nptl/sysdeps/pthread/tst-timer.c: Moved ...
  43504. * sysdeps/pthread/tst-timer.c: ... here.
  43505. * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
  43506. * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
  43507. * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
  43508. * nptl/sysdeps/pthread/sigprocmask.c: File removed.
  43509. * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
  43510. * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
  43511. * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
  43512. * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
  43513. Update #include target.
  43514. * nptl/sysdeps/i386/i686/Makefile: Moved ...
  43515. * sysdeps/i386/i686/nptl/Makefile: ... here.
  43516. * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
  43517. * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
  43518. Update #include target.
  43519. * nptl/sysdeps/i386/i686/tls.h: Moved ...
  43520. * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
  43521. * nptl/sysdeps/i386/Makefile: Moved ...
  43522. * sysdeps/i386/nptl/Makefile: ... here.
  43523. * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
  43524. * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
  43525. * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
  43526. * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
  43527. * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
  43528. * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
  43529. * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
  43530. * nptl/sysdeps/i386/pthreaddef.h: Moved ...
  43531. * sysdeps/i386/nptl/pthreaddef.h: ... here.
  43532. * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
  43533. * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
  43534. * nptl/sysdeps/i386/tls.h: Moved ...
  43535. * sysdeps/i386/nptl/tls.h: ... here.
  43536. * sysdeps/sh/Makefile [$(subdir) = csu]
  43537. (gen-as-const-headers): Add tcb-offsets.sym.
  43538. * nptl/sysdeps/sh/Makefile: File removed.
  43539. * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
  43540. * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
  43541. * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
  43542. * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
  43543. * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
  43544. * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
  43545. * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
  43546. * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
  43547. * nptl/sysdeps/sh/pthreaddef.h: Moved ...
  43548. * sysdeps/sh/nptl/pthreaddef.h: ... here.
  43549. * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
  43550. * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
  43551. * nptl/sysdeps/sh/tls.h: Moved ...
  43552. * sysdeps/sh/nptl/tls.h: ... here.
  43553. * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
  43554. * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
  43555. * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
  43556. * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
  43557. * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
  43558. * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
  43559. * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
  43560. * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
  43561. * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
  43562. * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
  43563. * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
  43564. * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
  43565. * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
  43566. * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
  43567. * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
  43568. * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
  43569. * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
  43570. * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
  43571. * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
  43572. * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
  43573. * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
  43574. * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
  43575. * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
  43576. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
  43577. * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
  43578. Moved ...
  43579. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
  43580. * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
  43581. Moved ...
  43582. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
  43583. * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
  43584. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
  43585. * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
  43586. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
  43587. * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
  43588. * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
  43589. * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
  43590. * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
  43591. * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
  43592. * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
  43593. * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
  43594. * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
  43595. * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
  43596. * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
  43597. * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
  43598. * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
  43599. * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
  43600. * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
  43601. 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
  43602. * posix/spawn_faction_addopen.c: Include string.h.
  43603. 2014-06-11 Roland McGrath <roland@hack.frob.com>
  43604. * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
  43605. * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
  43606. * nptl/sysdeps/x86_64/Makefile: Moved ...
  43607. * sysdeps/x86_64/nptl/Makefile: ... here.
  43608. * nptl/sysdeps/x86_64/configure: Moved ...
  43609. * sysdeps/x86_64/nptl/configure: ... here.
  43610. * nptl/sysdeps/x86_64/configure.ac: Moved ...
  43611. * sysdeps/x86_64/nptl/configure.ac: ... here.
  43612. * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
  43613. * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
  43614. * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
  43615. * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
  43616. * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
  43617. * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
  43618. * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
  43619. * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
  43620. * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
  43621. * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
  43622. * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
  43623. * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
  43624. * nptl/sysdeps/x86_64/tls.h: Moved ...
  43625. * sysdeps/x86_64/nptl/tls.h: ... here.
  43626. * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
  43627. * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
  43628. * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
  43629. * sysdeps/x86_64/x32/nptl/tls.h: ... here.
  43630. * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
  43631. 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  43632. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  43633. 2014-06-11 Joseph Myers <joseph@codesourcery.com>
  43634. * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
  43635. type.
  43636. [POSIX] (off_t): Likewise.
  43637. * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
  43638. [POSIX] (S_ISBLK): Require macro.
  43639. [POSIX] (S_ISCHR): Likewise.
  43640. [POSIX] (S_ISDIR): Likewise.
  43641. [POSIX] (S_ISFIFO): Likewise.
  43642. [POSIX] (S_ISREG): Likewise.
  43643. [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
  43644. optional-macro.
  43645. * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
  43646. type.
  43647. [POSIX] (time_t): Likewise.
  43648. [POSIX] (timer_t): Likewise.
  43649. 2014-06-11 Florian Weimer <fweimer@redhat.com>
  43650. [BZ #17048]
  43651. * posix/spawn_int.h (struct __spawn_action): Make the path string
  43652. non-const to support deallocation.
  43653. * posix/spawn_faction_addopen.c
  43654. (posix_spawn_file_actions_addopen): Make a copy of the pathname.
  43655. * posix/spawn_faction_destroy.c
  43656. (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
  43657. path in all spawn_do_open actions.
  43658. * posix/tst-spawn.c (do_test): Exercise the copy operation in
  43659. posix_spawn_file_actions_addopen.
  43660. 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
  43661. * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
  43662. * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
  43663. * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
  43664. conditional code always true.
  43665. (__libc_vfork): New alias.
  43666. 2014-06-11 Roland McGrath <roland@hack.frob.com>
  43667. * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
  43668. * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
  43669. * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
  43670. * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
  43671. * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
  43672. * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
  43673. * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
  43674. * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
  43675. * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
  43676. 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
  43677. * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
  43678. * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
  43679. multiarch strcmp for PPC64.
  43680. * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
  43681. * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
  43682. * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
  43683. multiarch optimizations.
  43684. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
  43685. (__libc_ifunc_impl_list): Likewise.
  43686. 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
  43687. * benchtests/scripts/validate_benchout.py: New script.
  43688. * benchtests/Makefile (bench-func): Call it.
  43689. * benchtests/scripts/benchout.schema.json: New file.
  43690. 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
  43691. * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
  43692. * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
  43693. * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
  43694. * sysdeps/tile/nptl/bits/semaphore.h: ... here.
  43695. * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
  43696. * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
  43697. * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
  43698. * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
  43699. * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
  43700. * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
  43701. * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
  43702. * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
  43703. * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
  43704. * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
  43705. * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
  43706. * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
  43707. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
  43708. Moved ...
  43709. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
  43710. ... here.
  43711. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
  43712. Moved ...
  43713. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
  43714. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
  43715. Moved ...
  43716. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
  43717. ... here.
  43718. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
  43719. Moved ...
  43720. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
  43721. ... here.
  43722. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
  43723. Moved ...
  43724. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
  43725. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
  43726. Moved ...
  43727. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
  43728. ... here.
  43729. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
  43730. Moved ...
  43731. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
  43732. ... here.
  43733. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
  43734. Moved ...
  43735. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
  43736. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
  43737. Moved ...
  43738. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
  43739. ... here.
  43740. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
  43741. Moved ...
  43742. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
  43743. ... here.
  43744. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
  43745. Moved ...
  43746. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
  43747. ... here.
  43748. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
  43749. Moved ...
  43750. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
  43751. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
  43752. Moved ...
  43753. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
  43754. ... here.
  43755. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
  43756. Moved ...
  43757. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
  43758. ... here.
  43759. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
  43760. Moved ...
  43761. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
  43762. ... here.
  43763. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
  43764. Moved ...
  43765. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
  43766. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
  43767. Moved ...
  43768. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
  43769. ... here.
  43770. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
  43771. Moved ...
  43772. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
  43773. ... here.
  43774. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
  43775. Moved ...
  43776. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
  43777. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
  43778. Moved ...
  43779. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
  43780. ... here.
  43781. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
  43782. Moved ...
  43783. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
  43784. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
  43785. Moved ...
  43786. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
  43787. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
  43788. Moved ...
  43789. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
  43790. ... here.
  43791. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
  43792. Moved ...
  43793. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
  43794. ... here.
  43795. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
  43796. Moved ...
  43797. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
  43798. ... here.
  43799. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
  43800. Moved ...
  43801. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
  43802. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
  43803. Moved ...
  43804. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
  43805. ... here.
  43806. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
  43807. Moved ...
  43808. * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
  43809. ... here.
  43810. * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
  43811. * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
  43812. * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
  43813. * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
  43814. * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
  43815. Moved ...
  43816. * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
  43817. ... here.
  43818. * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
  43819. * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
  43820. * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
  43821. * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
  43822. * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
  43823. * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
  43824. * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
  43825. * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
  43826. * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
  43827. * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
  43828. * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
  43829. * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
  43830. * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
  43831. Moved ...
  43832. * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
  43833. * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
  43834. Moved ...
  43835. * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
  43836. * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
  43837. * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
  43838. * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
  43839. Moved ...
  43840. * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
  43841. * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
  43842. * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
  43843. * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
  43844. * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
  43845. * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
  43846. * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
  43847. 2014-06-10 Wilco <wdijkstr@arm.com>
  43848. * math/test-fenv-return.c: New file.
  43849. * math/Makefile: Add new test test-fenv-return.
  43850. 2014-06-10 Joseph Myers <joseph@codesourcery.com>
  43851. [BZ #17042]
  43852. * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
  43853. when x - 1 is zero.
  43854. * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
  43855. * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
  43856. * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
  43857. 0.0L for an argument of 1.0L.
  43858. * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
  43859. Likewise.
  43860. * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
  43861. value when x - 1 is zero.
  43862. * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
  43863. * sysdeps/i386/fpu/libm-test-ulps: Update.
  43864. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  43865. 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
  43866. [BZ #15119]
  43867. * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
  43868. 2014-06-09 Roland McGrath <roland@hack.frob.com>
  43869. * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
  43870. * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
  43871. 2014-06-09 Roland McGrath <roland@hack.frob.com>
  43872. * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
  43873. * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
  43874. * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
  43875. * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
  43876. * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
  43877. * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
  43878. * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
  43879. * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
  43880. * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
  43881. if not already defined.
  43882. (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
  43883. * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
  43884. * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
  43885. (TLS_INIT_TP): Use it.
  43886. (TLS_DEFINE_INIT_TP): New macro.
  43887. * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
  43888. 2014-06-09 Joseph Myers <joseph@codesourcery.com>
  43889. * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
  43890. constant.
  43891. [POSIX] (IXANY): Likewise.
  43892. [POSIX] (OLCUC): Likewise.
  43893. [POSIX || POSIX2008] (CBAUD): Do not allow.
  43894. [POSIX || POSIX2008] (DEFECHO): Likewise.
  43895. [POSIX || POSIX2008] (ECHOCTL): Likewise.
  43896. [POSIX || POSIX2008] (ECHOKE): Likewise.
  43897. [POSIX || POSIX2008] (ECHOPRT): Likewise.
  43898. [POSIX || POSIX2008] (EXTA): Likewise.
  43899. [POSIX || POSIX2008] (EXTB): Likewise.
  43900. [POSIX || POSIX2008] (FLUSHO): Likewise.
  43901. [POSIX || POSIX2008] (LOBLK): Likewise.
  43902. [POSIX || POSIX2008] (PENDIN): Likewise.
  43903. [POSIX || POSIX2008] (SWTCH): Likewise.
  43904. [POSIX || POSIX2008] (VDISCARD): Likewise.
  43905. [POSIX || POSIX2008] (VDSUSP): Likewise.
  43906. [POSIX || POSIX2008] (VLNEXT): Likewise.
  43907. [POSIX || POSIX2008] (VREPRINT): Likewise.
  43908. [POSIX || POSIX2008] (VSTATUS): Likewise.
  43909. [POSIX || POSIX2008] (VWERASE): Likewise.
  43910. (B*): Change to B[0123456789]*.
  43911. * conform/data/time.h-data [POSIX || UNIX98]
  43912. (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
  43913. [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
  43914. [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
  43915. [POSIX] (tm_*): Do not allow.
  43916. 2014-06-07 Joseph Myers <joseph@codesourcery.com>
  43917. * Makefile (install): Don't set LANGUAGE.
  43918. * Makefile.in (install): Likewise.
  43919. * assert/Makefile (test-assert-ENV): Remove variable.
  43920. (test-assert-perr-ENV): Likewise.
  43921. * elf/Makefile (neededtest4-ENV): Likewise.
  43922. * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
  43923. [$(cross-compiling) = no]: Don't set LANGUAGE.
  43924. * io/ftwtest-sh (LANG): Remove variable.
  43925. * libio/Makefile (tst-widetext-ENV): Likewise.
  43926. * manual/install.texi (Running make install): Don't refer to
  43927. environment settings for make install.
  43928. * INSTALL: Regenerated.
  43929. * nptl/tst-tls6.sh: Don't set LANG.
  43930. * posix/globtest.sh (LANG): Remove variable.
  43931. * string/Makefile (tester-ENV): Likewise.
  43932. (inl-tester-ENV): Likewise.
  43933. (noinl-tester-ENV): Likewise.
  43934. * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
  43935. [$(cross-compiling) = no]: Don't set LANGUAGE.
  43936. * timezone/Makefile (build-testdata): Use $(built-program-cmd)
  43937. without explicit environment settings.
  43938. 2014-06-06 Roland McGrath <roland@hack.frob.com>
  43939. * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
  43940. * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
  43941. * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
  43942. * sysdeps/sh/nptl/bits/semaphore.h: ... here.
  43943. 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
  43944. * crypt/crypt-private.h [DOS]: Add some includes taken from the
  43945. other files in the crypt directory.
  43946. * crypt/crypt.c: Remove duplicate includes.
  43947. * crypt/crypt-entry.c: Likewise.
  43948. * crypt/crypt_util.c: Likewise.
  43949. 2014-06-06 Joseph Myers <joseph@codesourcery.com>
  43950. * Makeconfig (run-program-env): New variable.
  43951. (run-program-prefix-before-env): Likewise.
  43952. (run-program-prefix-after-env): Likewise.
  43953. (run-program-prefix): Define in terms of new variables.
  43954. (built-program-cmd-before-env): New variable.
  43955. (built-program-cmd-after-env): Likewise.
  43956. (built-program-cmd): Define in terms of new variables.
  43957. (test-program-prefix-before-env): New variable.
  43958. (test-program-prefix-after-env): Likewise.
  43959. (test-program-prefix): Define in terms of new variables.
  43960. (test-program-cmd-before-env): New variable.
  43961. (test-program-cmd-after-env): Likewise.
  43962. (test-program-cmd): Define in terms of new variables.
  43963. * Rules (make-test-out): Use $(run-program-env).
  43964. * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
  43965. (help): Do not mention environment variables. Mention
  43966. --timeoutfactor option.
  43967. (timeoutfactor): New variable.
  43968. (blacklist_exports): Remove function.
  43969. (exports): Remove variable.
  43970. (command): Do not include ${exports}.
  43971. * manual/install.texi (Configuring and compiling): Do not mention
  43972. test wrappers preserving environment variables. Mention that last
  43973. assignment to a variable must take precedence.
  43974. * INSTALL: Regenerated.
  43975. * benchtests/Makefile (run-bench): Use $(run-program-env).
  43976. * catgets/Makefile ($(objpfx)test1.cat): Use
  43977. $(built-program-cmd-before-env), $(run-program-env) and
  43978. $(built-program-cmd-after-env).
  43979. ($(objpfx)test2.cat): Do not specify environment variables
  43980. explicitly.
  43981. ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
  43982. $(run-program-env) and $(built-program-cmd-after-env).
  43983. ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
  43984. $(run-program-env) and $(test-program-cmd-after-env).
  43985. ($(objpfx)sample.SJIS.cat): Do not specify environment variables
  43986. explicitly.
  43987. * catgets/test-gencat.sh: Use test_program_cmd_before_env,
  43988. run_program_env and test_program_cmd_after_env arguments.
  43989. * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
  43990. * elf/tst-pathopt.sh: Use run_program_env argument.
  43991. * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
  43992. $(test-wrapper-env) and $(run-program-env).
  43993. * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
  43994. run_program_env arguments.
  43995. * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
  43996. * intl/Makefile ($(objpfx)tst-gettext.out): Use
  43997. $(test-program-prefix-before-env), $(run-program-env) and
  43998. $(test-program-prefix-after-env).
  43999. ($(objpfx)tst-gettext2.out): Likewise.
  44000. * intl/tst-gettext.sh: Use test_program_prefix_before_env,
  44001. run_program_env and test_program_prefix_after_env arguments.
  44002. * intl/tst-gettext2.sh: Likewise.
  44003. * intl/tst-gettext4.sh: Do not set environment variables
  44004. explicitly.
  44005. * intl/tst-gettext6.sh: Likewise.
  44006. * intl/tst-translit.sh: Likewise.
  44007. * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
  44008. $(test-program-prefix-before-env), $(run-program-env) and
  44009. $(test-program-prefix-after-env).
  44010. * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
  44011. run_program_env and test_program_prefix_after_env arguments.
  44012. * math/Makefile (run-regen-ulps): Use $(run-program-env).
  44013. * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
  44014. * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
  44015. explicitly with each use of ${test_wrapper_env}.
  44016. * posix/Makefile ($(objpfx)wordexp-tst.out): Use
  44017. $(test-program-prefix-before-env), $(run-program-env) and
  44018. $(test-program-prefix-after-env).
  44019. * posix/tst-getconf.sh: Do not set environment variables
  44020. explicitly.
  44021. * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
  44022. run_program_env and test_program_prefix_after_env arguments.
  44023. * stdio-common/tst-printf.sh: Do not set environment variables
  44024. explicitly.
  44025. * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
  44026. $(test-program-prefix-before-env), $(run-program-env) and
  44027. $(test-program-prefix-after-env).
  44028. * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
  44029. run_program_env and test_program_prefix_after_env arguments.
  44030. Split $test calls into $test_pre and $test.
  44031. * timezone/Makefile (build-testdata): Use
  44032. $(built-program-cmd-before-env), $(run-program-env) and
  44033. $(built-program-cmd-after-env).
  44034. 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  44035. * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
  44036. strlen for non SHARED builds.
  44037. 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
  44038. * nptl/allocatestack.c (check_list): Inlined function...
  44039. (__reclaim_stacks): ... here.
  44040. 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
  44041. [BZ #15698]
  44042. * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
  44043. memory overrun.
  44044. 2014-06-05 Joseph Myers <joseph@codesourcery.com>
  44045. * Rules (make-test-out): Include
  44046. LOCPATH=$(common-objpfx)localedata in default environment.
  44047. * debug/Makefile (tst-chk1-ENV): Remove variable.
  44048. (tst-chk2-ENV): Likewise.
  44049. (tst-chk3-ENV): Likewise.
  44050. (tst-chk4-ENV): Likewise.
  44051. (tst-chk5-ENV): Likewise.
  44052. (tst-chk6-ENV): Likewise.
  44053. (tst-lfschk1-ENV): Likewise.
  44054. (tst-lfschk2-ENV): Likewise.
  44055. (tst-lfschk3-ENV): Likewise.
  44056. (tst-lfschk4-ENV): Likewise.
  44057. (tst-lfschk5-ENV): Likewise.
  44058. (tst-lfschk6-ENV): Likewise.
  44059. * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
  44060. (tst-iconv7-ENV): Likewise.
  44061. * intl/Makefile (LOCPATH-ENV): Likewise.
  44062. (tst-codeset-ENV): Likewise.
  44063. (tst-gettext3-ENV): Likewise.
  44064. (tst-gettext5-ENV): Likewise.
  44065. * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
  44066. (tst-fopenloc-ENV): Likewise.
  44067. (tst-fgetws-ENV): Remove variable.
  44068. (tst-ungetwc1-ENV): Likewise.
  44069. (tst-ungetwc2-ENV): Likewise.
  44070. (bug-ungetwc2-ENV): Likewise.
  44071. (tst-swscanf-ENV): Likewise.
  44072. (bug-ftell-ENV): Likewise.
  44073. (tst-fgetwc-ENV): Likewise.
  44074. (tst-fseek-ENV): Likewise.
  44075. (tst-ftell-partial-wide-ENV): Likewise.
  44076. (tst-ftell-active-handler-ENV): Likewise.
  44077. (tst-ftell-append-ENV): Likewise.
  44078. * posix/Makefile (tst-fnmatch-ENV): Likewise.
  44079. (tst-regexloc-ENV): Likewise.
  44080. (bug-regex1-ENV): Likewise.
  44081. (tst-regex-ENV): Likewise.
  44082. (tst-regex2-ENV): Likewise.
  44083. (bug-regex5-ENV): Likewise.
  44084. (bug-regex6-ENV): Likewise.
  44085. (bug-regex17-ENV): Likewise.
  44086. (bug-regex18-ENV): Likewise.
  44087. (bug-regex19-ENV): Likewise.
  44088. (bug-regex20-ENV): Likewise.
  44089. (bug-regex22-ENV): Likewise.
  44090. (bug-regex23-ENV): Likewise.
  44091. (bug-regex25-ENV): Likewise.
  44092. (bug-regex26-ENV): Likewise.
  44093. (bug-regex30-ENV): Likewise.
  44094. (bug-regex32-ENV): Likewise.
  44095. (bug-regex33-ENV): Likewise.
  44096. (bug-regex34-ENV): Likewise.
  44097. (bug-regex35-ENV): Likewise.
  44098. (tst-rxspencer-ENV): Likewise.
  44099. (tst-rxspencer-no-utf8-ENV): Likewise.
  44100. * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
  44101. (tst-sscanf-ENV): Likewise.
  44102. (tst-swprintf-ENV): Likewise.
  44103. (tst-swscanf-ENV): Likewise.
  44104. (test-vfprintf-ENV): Likewise.
  44105. (scanf13-ENV): Likewise.
  44106. (bug14-ENV): Likewise.
  44107. (tst-grouping-ENV): Likewise.
  44108. * stdlib/Makefile (tst-strtod-ENV): Likewise.
  44109. (tst-strtod3-ENV): Likewise.
  44110. (tst-strtod4-ENV): Likewise.
  44111. (tst-strtod5-ENV): Likewise.
  44112. (testmb2-ENV): Likewise./
  44113. * string/Makefile (tst-strxfrm-ENV): Likewise.
  44114. (tst-strxfrm2-ENV): Likewise.
  44115. (bug-strcoll1-ENV): Likewise.
  44116. (test-strcasecmp-ENV): Likewise.
  44117. (test-strncasecmp-ENV): Likewise.
  44118. * time/Makefile (tst-strptime-ENV): Likewise.
  44119. (tst-ftime_l-ENV): Likewise.
  44120. * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
  44121. (tst-mbrtowc-ENV): Likewise.
  44122. (tst-wcrtomb-ENV): Likewise.
  44123. (tst-mbrtowc2-ENV): Likewise.
  44124. (tst-c16c32-1-ENV): Likewise.
  44125. (tst-mbsnrtowcs-ENV): Likewise.
  44126. 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
  44127. * manual/resource.texi (How to get information about the memory
  44128. subsystem?): Fix typo.
  44129. Reported by Ivan Peon de la Parra <peon@keba.com>
  44130. 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
  44131. [BZ #16882]
  44132. * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
  44133. (pthread_spin_lock): Branch out of spin loop to proper location.
  44134. * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
  44135. (pthread_spin_lock): Likewise.
  44136. * nptl/tst-spin4.c: New test.
  44137. * nptl/Makefile (tests): Add tst-spin4.
  44138. 2014-06-03 Andreas Schwab <schwab@suse.de>
  44139. [BZ #15946]
  44140. * resolv/res_send.c (send_dg): Reload file descriptor after
  44141. calling reopen.
  44142. 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
  44143. * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
  44144. 2014-06-03 Richard Henderson <rth@redhat.com>
  44145. * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
  44146. * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
  44147. * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
  44148. SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
  44149. in the SAVE_PID block.
  44150. (__libc_vfork): New alias.
  44151. * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
  44152. * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
  44153. child in registers, not on the stack. Remove RESET_PID conditionals.
  44154. * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
  44155. 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
  44156. * sysdeps/aarch64/libm-test-ulps: Regenerate.
  44157. 2014-06-03 Wilco <wdijkstr@arm.com>
  44158. * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
  44159. (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
  44160. (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
  44161. Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
  44162. * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
  44163. Likewise.
  44164. 2014-06-03 Wilco <wdijkstr@arm.com>
  44165. * sysdeps/aarch64/fpu/math_private.h
  44166. (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
  44167. (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
  44168. (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
  44169. (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
  44170. Fix declarations.
  44171. 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
  44172. * crypt/crypt-private.h: Include ufc-crypt.h.
  44173. (__b64_from_24bit): Declare extern.
  44174. * crypt/crypt_util.c(__b64_from_24bit): New function.
  44175. (b64t): New static const variable.
  44176. * crypt/md5-crypt.c (b64_from_24bit): Remove function.
  44177. (b64t): Remove variable.
  44178. (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
  44179. * crypt/sha256-crypt.c: Include crypt-private.h.
  44180. (b64t): Remove variable.
  44181. (__sha256_crypt_r): Remove b64_from_24bit and replace
  44182. with __b64_from_24bit.
  44183. * crypt/sha512-crypt.c: Likewise.
  44184. 2014-06-02 Roland McGrath <roland@hack.frob.com>
  44185. * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
  44186. * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
  44187. Label the code __libc_vfork rather than __vfork.
  44188. [!NOT_IN_libc] (vfork): Define as weak alias.
  44189. [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
  44190. * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
  44191. * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
  44192. 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
  44193. * malloc/malloc.c (malloc_info): Fix format specifier for
  44194. n_mmaps.
  44195. 2014-06-02 Wilco <wdijkstr@arm.com>
  44196. * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
  44197. FPCR write.
  44198. 2014-06-02 Wilco <wdijkstr@arm.com>
  44199. [BZ #17009]
  44200. * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
  44201. Rewrite to reduce FPCR/FPSR accesses.
  44202. 2014-06-01 David S. Miller <davem@davemloft.net>
  44203. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  44204. 2014-05-31 David S. Miller <davem@davemloft.net>
  44205. * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
  44206. to occur in round to nearest mode when |x| >= 2.0
  44207. 2014-05-30 Richard Henderson <rth@twiddle.net>
  44208. * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
  44209. (PSEUDO_RET_NOERRNO): Remove.
  44210. (ret): Don't redefine.
  44211. (ret_NOERRNO): Define in terms of ret.
  44212. (ret_ERRVAL): Likewise.
  44213. * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
  44214. use of PSEUDO_RET; perform the error check directly.
  44215. 2014-05-30 Marko Myllynen <myllynen@redhat.com>
  44216. * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
  44217. with __int128_t.
  44218. 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
  44219. * malloc/malloc (malloc_info): Fix formatting.
  44220. 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
  44221. Roland McGrath <roland@hack.frob.com>
  44222. * malloc/malloc (malloc_info): Also print mmapped statistics.
  44223. 2014-05-30 Roland McGrath <roland@hack.frob.com>
  44224. * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
  44225. * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
  44226. 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
  44227. * malloc/malloc.c (malloc_info): Inline mi_arena.
  44228. 2014-05-29 Richard Henderson <rth@twiddle.net>
  44229. * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
  44230. Remove comma before expanding ASM_ARGS_##nr.
  44231. (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
  44232. Make _x0 a strict output; make _x8 a strict input; adjust expansion
  44233. of ASM_ARGS_##nr.
  44234. (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
  44235. (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
  44236. (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
  44237. (ASM_ARGS_1): Add leading comma.
  44238. * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
  44239. (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
  44240. to __errno_location.
  44241. * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
  44242. Remove the expected plt for __errno_location.
  44243. * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
  44244. [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
  44245. call to __read_tp.
  44246. * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
  44247. Always allocate 64 bytes of stack frame. Use ldp/stp to create
  44248. it and break it down.
  44249. (DOCARGS_0, DOCARGS_1): Do nothing.
  44250. (DOCARGS_2): Update to store into the new stack frame.
  44251. (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
  44252. (UNDOCARGS_1): Update to restore from the new stack frame.
  44253. (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
  44254. (UNDOCARGS_5, UNDOCARGS_6): Likewise.
  44255. * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
  44256. (SINGLE_THREAD_P): New parameter for result regno.
  44257. (PSEUDO): Update to match; use cbz instead of beq.
  44258. * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
  44259. Use ENTRY to define the _nocancel entry point. Share the syscall
  44260. and syscall error check paths with the cancel path.
  44261. (PSEUDO_END): New.
  44262. * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
  44263. whitespace; tabs before and after asm mnemonics.
  44264. 2014-05-29 Eric Wong <normalperson@yhbt.net>
  44265. [BZ #15132]
  44266. * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
  44267. Call fstat64 or stat64 internally, depending on arguments passed.
  44268. Replace stat buffer argument with file descriptor argument.
  44269. (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
  44270. * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
  44271. Pass fd to __internal_statvfs instead of calling fstat64.
  44272. * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
  44273. Pass fd to __internal_statvfs64 instead of calling fstat64.
  44274. * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
  44275. Pass -1 to __internal_statvfs instead of calling stat64.
  44276. * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
  44277. Pass -1 to __internal_statvfs64 instead of calling stat64.
  44278. 2014-05-28 Roland McGrath <roland@hack.frob.com>
  44279. * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
  44280. that was previously under [RESET_PID].
  44281. * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
  44282. * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
  44283. * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
  44284. 2014-05-27 Roland McGrath <roland@hack.frob.com>
  44285. * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
  44286. * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
  44287. * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
  44288. 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
  44289. * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
  44290. 2014-05-27 Andreas Schwab <schwab@suse.de>
  44291. * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
  44292. TLS_INIT_TP macro.
  44293. * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
  44294. * elf/rtld.c (init_tls, dl_main): Likewise.
  44295. * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
  44296. * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
  44297. * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
  44298. * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
  44299. * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
  44300. * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
  44301. * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
  44302. * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
  44303. * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
  44304. * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
  44305. * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
  44306. * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
  44307. * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
  44308. * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
  44309. * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
  44310. * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
  44311. * sysdeps/generic/tls.h: Update description.
  44312. 2014-05-27 Will Newton <will.newton@linaro.org>
  44313. [BZ #16990]
  44314. * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
  44315. and restore r2 rather than just restoring.
  44316. 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
  44317. [BZ #16724]
  44318. * libio/tst-ftell-append.c: New test case.
  44319. * libio/Makefile (tests): Add test case.
  44320. * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
  44321. append mode.
  44322. * libio/wfileops.c (do_ftell_wide): Likewise.
  44323. 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  44324. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  44325. * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
  44326. ...
  44327. * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
  44328. * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
  44329. * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
  44330. * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
  44331. * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
  44332. * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
  44333. * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
  44334. * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
  44335. * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
  44336. Moved ...
  44337. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
  44338. * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
  44339. Moved ...
  44340. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
  44341. * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
  44342. * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
  44343. * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
  44344. * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
  44345. * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
  44346. ...
  44347. * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
  44348. * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
  44349. Moved ...
  44350. * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
  44351. here.
  44352. * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
  44353. ...
  44354. * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
  44355. * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
  44356. * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
  44357. * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
  44358. * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
  44359. * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
  44360. * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
  44361. * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
  44362. merge into ...
  44363. * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
  44364. * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
  44365. ...
  44366. * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
  44367. * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
  44368. ...
  44369. * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
  44370. * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
  44371. Moved ...
  44372. * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
  44373. here.
  44374. * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
  44375. Moved ...
  44376. * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
  44377. * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
  44378. Moved ...
  44379. * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
  44380. * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
  44381. conditional [RESET_PID].
  44382. * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
  44383. * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
  44384. removed.
  44385. * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
  44386. removed.
  44387. * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
  44388. <tcb-offsets.h>.
  44389. (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
  44390. (__libc_vfork): New strong alias.
  44391. * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
  44392. removed.
  44393. * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
  44394. Removed.
  44395. * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
  44396. <tcb-offsets.h>.
  44397. (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
  44398. (__libc_vfork): New strong alias.
  44399. * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
  44400. removed.
  44401. * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
  44402. removed.
  44403. 2014-05-26 Carlos O'Donell <carlos@redhat.com>
  44404. * malloc/malloc.c (mi_arena): New function.
  44405. (malloc_info): Remove nested function mi_arena. Call non-nosted
  44406. function mi_arena.
  44407. 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  44408. * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
  44409. by insrwi.
  44410. * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
  44411. * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
  44412. * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
  44413. * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
  44414. * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
  44415. * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
  44416. * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
  44417. 2014-05-26 Andreas Schwab <schwab@suse.de>
  44418. [BZ #16984]
  44419. * locale/programs/repertoire.c (repertoire_read): Add slash
  44420. between I18NPATH element and file name.
  44421. * locale/programs/locfile.c (locfile_read): Likewise.
  44422. 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
  44423. * nptl/pthread_mutexattr_settype.c
  44424. (__pthread_mutexattr_settype):
  44425. Disable lock elision for PTHREAD_MUTEX_NORMAL.
  44426. 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
  44427. * nptl/tst-mutex5 (do_test):
  44428. Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
  44429. 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
  44430. * benchtests/README: Document 'init' directive.
  44431. * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
  44432. BENCH_INIT.
  44433. * scripts/bench.py (gen_source): Define BENCH_INIT macro.
  44434. (parse_file): Recognize 'init' directive.
  44435. 2014-05-26 Kyle McMartin <kyle@redhat.com>
  44436. [BZ #16796]
  44437. * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
  44438. alignment of struct pthread.
  44439. 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
  44440. [BZ #16878]
  44441. * nscd/netgroupcache.c (addgetnetgrentX): Look for
  44442. NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
  44443. * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
  44444. NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
  44445. 2014-05-25 Richard Henderson <rth@twiddle.net>
  44446. * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
  44447. (SINGLE_THREAD_P_PIC): Remove.
  44448. * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
  44449. (SINGLE_THREAD_P_PIC): Remove.
  44450. * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
  44451. branch to syscall error ...
  44452. (PSEUDO): ... here.
  44453. [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
  44454. from __local_syscall_error to .Lsyscall_error.
  44455. [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
  44456. (SYSCALL_ERROR): Update label name.
  44457. * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
  44458. Do not use DOARGS/UNDOARGS.
  44459. * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
  44460. (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
  44461. (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
  44462. (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
  44463. (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
  44464. * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
  44465. block comment.
  44466. * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
  44467. define if !NOT_IN_libc.
  44468. * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
  44469. define with non-default symbol versions.
  44470. 2014-05-23 Richard Henderson <rth@twiddle.net>
  44471. * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
  44472. (vfork, __vfork): Define via compat_symbol.
  44473. * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
  44474. [!HAVE_IFUNC] (vfork_compat): Remove.
  44475. [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
  44476. 2014-05-23 Joseph Myers <joseph@codesourcery.com>
  44477. [BZ #16978]
  44478. * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
  44479. * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
  44480. variable.
  44481. 2014-05-23 Richard Henderson <rth@twiddle.net>
  44482. * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
  44483. * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
  44484. * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
  44485. * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
  44486. * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
  44487. * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
  44488. * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
  44489. * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
  44490. * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
  44491. * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
  44492. * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
  44493. * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
  44494. * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
  44495. * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
  44496. * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
  44497. * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
  44498. * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
  44499. * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
  44500. * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
  44501. * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
  44502. * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
  44503. * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
  44504. * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
  44505. * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
  44506. * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
  44507. * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
  44508. * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
  44509. * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
  44510. * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
  44511. * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
  44512. * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
  44513. * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
  44514. * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
  44515. * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
  44516. * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
  44517. * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
  44518. * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
  44519. * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
  44520. * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
  44521. * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
  44522. * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
  44523. * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
  44524. * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
  44525. * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
  44526. * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
  44527. * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
  44528. * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
  44529. * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
  44530. * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
  44531. * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
  44532. * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
  44533. * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
  44534. * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
  44535. * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
  44536. * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
  44537. * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
  44538. * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
  44539. * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
  44540. * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
  44541. * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
  44542. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
  44543. * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
  44544. * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
  44545. before exiting on error.
  44546. (__libc_vfork): New strong alias.
  44547. * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
  44548. * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
  44549. * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
  44550. that was previously under [RESET_PID].
  44551. * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
  44552. * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
  44553. 2014-05-23 Joseph Myers <joseph@codesourcery.com>
  44554. [BZ #16977]
  44555. * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
  44556. value when x - 1 is zero.
  44557. * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
  44558. * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
  44559. * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
  44560. 0.0L for an argument of 1.0L.
  44561. * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
  44562. Likewise.
  44563. * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
  44564. value when x - 1 is zero.
  44565. * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
  44566. * sysdeps/i386/fpu/libm-test-ulps: Update.
  44567. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  44568. 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
  44569. * manual/filesys.texi (Scanning Directory Content): Fix prototype of
  44570. alphasort and versionsort.
  44571. 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  44572. * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
  44573. macro.
  44574. [copysignf]: Likewise.
  44575. 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
  44576. * crypt/md5-crypt.c: Fix formatting.
  44577. 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
  44578. * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
  44579. (b64_from_24bit): New function.
  44580. 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  44581. * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
  44582. libc_hidden_builtin_def to ifunc.
  44583. * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
  44584. [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
  44585. 2014-05-21 Roland McGrath <roland@hack.frob.com>
  44586. * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
  44587. * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
  44588. 2014-05-21 Joseph Myers <joseph@codesourcery.com>
  44589. * nscd/Depend (linuxthreads): Remove.
  44590. (nptl): Add.
  44591. * resolv/Depend (linuxthreads): Remove.
  44592. * rt/Depend (linuxthreads): Remove.
  44593. * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
  44594. (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
  44595. $(common-objpfx)elf/.
  44596. (link-libc-before-gnulib): Likewise.
  44597. (elfobjdir): Remove variable.
  44598. * Makefile (install): Use $(elf-objpfx) instead of
  44599. $(common-objpfx)elf/.
  44600. * Makerules (link-libc-args): Use $(elf-objpfx) instead of
  44601. $(elfobjdir)/.
  44602. (link-libc-deps): Likewise.
  44603. ($(common-objpfx)libc.so): Likewise.
  44604. ($(common-objpfx)linkobj/libc.so): Likewise.
  44605. [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
  44606. instead of $(common-objpfx)elf/.
  44607. (symbolic-link-list): Likewise.
  44608. * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
  44609. [$(cross-compiling) = no]: Likewise.
  44610. * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
  44611. $(elfobjdir)/.
  44612. (static-gnulib-arch): Likewise.
  44613. * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
  44614. [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
  44615. $(common-objpfx)elf/.
  44616. 2014-05-21 Richard Henderson <rth@redhat.com>
  44617. * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
  44618. (SINGLE_THREAD_P): Use the correct width load. Fold
  44619. into the ldr offset.
  44620. * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
  44621. (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
  44622. 2014-05-20 Joseph Myers <joseph@codesourcery.com>
  44623. * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
  44624. (libgcc_s_resume): Use __attribute_used__.
  44625. * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
  44626. Likewise.
  44627. 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  44628. * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
  44629. optimization when used with float constants.
  44630. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  44631. 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
  44632. [BZ #16915]
  44633. * locale/nl_langinfo_l.c: Make direct reference to every
  44634. _nl_current_CATEGORY symbol.
  44635. * localedata/Makefile (test-srcs): Add tst-langinfo-static.
  44636. (tests-static): Add tst-langinfo-static.
  44637. (tests-special): Add tst-langinfo-static.out.
  44638. ($(objpfx)tst-langinfo.out): Redirect output.
  44639. ($(objpfx)tst-langinfo-static.out): New.
  44640. * localedata/tst-langinfo.sh: Send output to stdout.
  44641. * localedata/tst-langinfo-static.c: New file.
  44642. [BZ #16965]
  44643. * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
  44644. when the shift amount is modulo the limb size.
  44645. 2014-05-20 Richard Henderson <rth@redhat.com>
  44646. [BZ #16967]
  44647. * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
  44648. Change type of sa_flags from unsigned int to int.
  44649. [BZ #16966]
  44650. * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
  44651. * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
  44652. 2014-05-20 Will Newton <will.newton@linaro.org>
  44653. * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
  44654. Test the return value of the system call in the nocancel case.
  44655. 2014-05-20 Will Newton <will.newton@linaro.org>
  44656. Yvan Roux <yvan.roux@linaro.org>
  44657. * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
  44658. #include of asm/ptrace.h.
  44659. (PTRACE_GET_THREAD_AREA): Remove #undef.
  44660. (PTRACE_GETHBPREGS): Likewise.
  44661. (PTRACE_SETHBPREGS): Likewise.
  44662. (struct user_regs_struct): New structure.
  44663. (struct user_fpsimd_struct): New structure.
  44664. * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
  44665. #include of asm/ptrace.h and second #include of sys/user.h.
  44666. (PTRACE_GET_THREAD_AREA): Remove #undef.
  44667. (PTRACE_GETHBPREGS): Likewise.
  44668. (PTRACE_SETHBPREGS): Likewise.
  44669. (ELF_NGREG): Use new struct user_regs_struct.
  44670. (elf_fpregset_t): Use new struct user_fpsimd_struct.
  44671. 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  44672. * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
  44673. * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
  44674. 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
  44675. [BZ #16958]
  44676. * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
  44677. membar to avoid block loads/stores to overlap previous stores.
  44678. 2014-05-17 Richard Henderson <rth@redhat.com>
  44679. * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
  44680. Create the __##syscall_name##_nocancel entry point.
  44681. * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
  44682. Remove; let the sysdep-cancel.h code create it.
  44683. 2014-05-17 David S. Miller <davem@davemloft.net>
  44684. * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
  44685. Protect with __USE_GNU.
  44686. (TIOCSET_TEMPT): Likewise.
  44687. (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
  44688. TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
  44689. these are already provided in bits/ioctl-types.h
  44690. 2014-05-16 Roland McGrath <roland@hack.frob.com>
  44691. * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
  44692. * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
  44693. * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
  44694. Use wait4 regardless of [__NR_waitpid].
  44695. 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
  44696. PR libgcc/60166
  44697. * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
  44698. (_FP_NANSIGN_Q): Set the quiet bit.
  44699. 2014-05-16 Joseph Myers <joseph@codesourcery.com>
  44700. * benchtests/Makefile
  44701. ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
  44702. not $(common-objpfx)math/libm.so.
  44703. ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
  44704. $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
  44705. * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
  44706. $(common-objpfx)dlfcn/libdl.so.
  44707. ($(objpfx)tst-audit8): Depend on $(libm), not
  44708. $(common-objpfx)math/libm.so.
  44709. * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
  44710. not $(common-objpfx)dlfcn/libdl.so.
  44711. * math/Makefile
  44712. ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
  44713. Depend on $(libm), not $(objpfx)libm.so. Do not condition on
  44714. [$(build-shared) = yes].
  44715. ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
  44716. $(common-objpfx)nptl/libpthread.so.
  44717. * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
  44718. $(common-objpfx)math/libm.so$(libm.so-version) or
  44719. $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
  44720. * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
  44721. $(common-objpfx)dlfcn/libdl.so.
  44722. * setjmp/Makefile (link-libm): Remove variable.
  44723. ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
  44724. * stdio-common/Makefile (link-libm): Remove variable.
  44725. ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
  44726. * stdlib/Makefile (link-libm): Remove variable.
  44727. ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
  44728. ($(objpfx)tst-strtod-round): Likewise.
  44729. ($(objpfx)tst-tininess): Likewise.
  44730. ($(objpfx)tst-strtod-underflow): Likewise.
  44731. ($(objpfx)tst-strtod6): Likewise.
  44732. ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
  44733. $(libdl), not $(common-objpfx)nptl/libpthread.so and
  44734. $(common-objpfx)dlfcn/libdl.so.
  44735. 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  44736. * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
  44737. BSD terminal modes definitions.
  44738. 2014-05-16 Roland McGrath <roland@hack.frob.com>
  44739. * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
  44740. * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
  44741. * sysdeps/unix/sysv/linux/arch-fork.h: New file.
  44742. * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
  44743. * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
  44744. Don't do #include_next.
  44745. * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
  44746. * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
  44747. Don't do #include_next.
  44748. * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
  44749. * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
  44750. * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
  44751. * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
  44752. 2014-05-16 Allan McRae <allan@archlinux.org>
  44753. * po/sv.po: Update Swedish translation from translation project.
  44754. * timezone/Makefile ($(objpfx)tzselect): Use correct variable
  44755. in sed expression.
  44756. 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
  44757. [BZ #16917]
  44758. * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
  44759. errno if the TIOCGPTN ioctl fails with an error different than
  44760. EINVAL.
  44761. * login/tst-ptsname.c: New file.
  44762. * login/Makefile (tests): Add tst-ptsname.
  44763. [BZ #16943]
  44764. * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
  44765. and prlimit64.
  44766. 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
  44767. [BZ #16849]
  44768. * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
  44769. herrno to return EAI_AGAIN.
  44770. 2014-05-14 Roland McGrath <roland@hack.frob.com>
  44771. * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
  44772. * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
  44773. * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
  44774. * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
  44775. * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
  44776. * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
  44777. * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
  44778. * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
  44779. * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
  44780. * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
  44781. * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
  44782. * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
  44783. * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
  44784. * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
  44785. * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
  44786. * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
  44787. * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
  44788. * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
  44789. * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
  44790. * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
  44791. * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
  44792. * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
  44793. * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
  44794. * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
  44795. * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
  44796. * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
  44797. * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
  44798. * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
  44799. * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
  44800. * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
  44801. * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
  44802. * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
  44803. * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
  44804. * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
  44805. * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
  44806. Moved ...
  44807. * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
  44808. * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
  44809. * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
  44810. * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
  44811. * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
  44812. * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
  44813. * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
  44814. * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
  44815. * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
  44816. * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
  44817. * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
  44818. * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
  44819. * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
  44820. * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
  44821. * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
  44822. * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
  44823. * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
  44824. * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
  44825. * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
  44826. * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
  44827. * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
  44828. * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
  44829. * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
  44830. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
  44831. * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
  44832. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
  44833. * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
  44834. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
  44835. Moved ...
  44836. * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
  44837. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
  44838. * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
  44839. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
  44840. * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
  44841. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
  44842. * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
  44843. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
  44844. * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
  44845. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
  44846. * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
  44847. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
  44848. * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
  44849. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
  44850. * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
  44851. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
  44852. * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
  44853. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
  44854. * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
  44855. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
  44856. Moved ...
  44857. * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
  44858. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
  44859. * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
  44860. * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
  44861. * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
  44862. (libpthread-sysdep_routines): Add elision-related stuff here instead.
  44863. * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
  44864. * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
  44865. * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
  44866. * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
  44867. * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
  44868. * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
  44869. * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
  44870. * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
  44871. * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
  44872. * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
  44873. * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
  44874. * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
  44875. * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
  44876. * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
  44877. * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
  44878. * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
  44879. * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
  44880. * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
  44881. * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
  44882. * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
  44883. * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
  44884. * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
  44885. * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
  44886. * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
  44887. * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
  44888. * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
  44889. * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
  44890. * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
  44891. * sysdeps/unix/sysv/linux/mips/fork.h: New file.
  44892. * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
  44893. * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
  44894. * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
  44895. * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
  44896. * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
  44897. * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
  44898. * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
  44899. Moved ...
  44900. * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
  44901. * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
  44902. Moved ...
  44903. * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
  44904. * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
  44905. Moved ...
  44906. * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
  44907. * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
  44908. Moved ...
  44909. * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
  44910. * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
  44911. * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
  44912. * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
  44913. Moved ...
  44914. * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
  44915. * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
  44916. * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
  44917. * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
  44918. * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
  44919. * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
  44920. * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
  44921. * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
  44922. Moved ...
  44923. * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
  44924. * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
  44925. Moved ...
  44926. * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
  44927. ... here.
  44928. * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
  44929. * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
  44930. * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
  44931. * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
  44932. * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
  44933. Moved ...
  44934. * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
  44935. ... here.
  44936. * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
  44937. Moved ...
  44938. * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
  44939. * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
  44940. * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
  44941. * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
  44942. * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
  44943. * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
  44944. Moved ...
  44945. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
  44946. * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
  44947. Moved ...
  44948. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
  44949. * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
  44950. Moved ...
  44951. * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
  44952. * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
  44953. Moved ...
  44954. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
  44955. * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
  44956. * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
  44957. * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
  44958. Moved ...
  44959. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
  44960. * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
  44961. * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
  44962. * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
  44963. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
  44964. * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
  44965. * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
  44966. * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
  44967. Moved ...
  44968. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
  44969. * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
  44970. Moved ...
  44971. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
  44972. ... here.
  44973. * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
  44974. * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
  44975. * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
  44976. * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
  44977. * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
  44978. Moved ...
  44979. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
  44980. ... here.
  44981. * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
  44982. Moved ...
  44983. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
  44984. * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
  44985. * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
  44986. * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
  44987. * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
  44988. * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
  44989. * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
  44990. * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
  44991. * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
  44992. * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
  44993. Moved ...
  44994. * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
  44995. * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
  44996. Moved ...
  44997. * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
  44998. * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
  44999. Moved ...
  45000. * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
  45001. * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
  45002. Moved ...
  45003. * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
  45004. * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
  45005. * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
  45006. * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
  45007. * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
  45008. * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
  45009. Moved ...
  45010. * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
  45011. * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
  45012. * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
  45013. * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
  45014. * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
  45015. * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
  45016. * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
  45017. * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
  45018. Moved ...
  45019. * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
  45020. * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
  45021. Moved ...
  45022. * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
  45023. ... here.
  45024. * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
  45025. * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
  45026. * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
  45027. * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
  45028. * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
  45029. Moved ...
  45030. * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
  45031. ... here.
  45032. * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
  45033. Moved ...
  45034. * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
  45035. * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
  45036. * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
  45037. * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
  45038. * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
  45039. * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
  45040. * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
  45041. * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
  45042. * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
  45043. * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
  45044. * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
  45045. * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
  45046. * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
  45047. * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
  45048. * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
  45049. * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
  45050. * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
  45051. * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
  45052. * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
  45053. * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
  45054. * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
  45055. * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
  45056. * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
  45057. * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
  45058. * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
  45059. * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
  45060. * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
  45061. * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
  45062. * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
  45063. * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
  45064. * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
  45065. * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
  45066. * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
  45067. Moved ...
  45068. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
  45069. * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
  45070. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
  45071. * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
  45072. Moved ...
  45073. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
  45074. * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
  45075. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
  45076. * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
  45077. * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
  45078. * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
  45079. * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
  45080. * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
  45081. Moved ...
  45082. * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
  45083. * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
  45084. Moved ...
  45085. * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
  45086. * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
  45087. * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
  45088. * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
  45089. * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
  45090. * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
  45091. * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
  45092. * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
  45093. * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
  45094. * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
  45095. * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
  45096. * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
  45097. * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
  45098. * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
  45099. * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
  45100. * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
  45101. * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
  45102. * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
  45103. * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
  45104. * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
  45105. * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
  45106. * sysdeps/unix/sysv/linux/i386/fork.h: New file.
  45107. * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
  45108. * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
  45109. * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
  45110. * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
  45111. * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
  45112. * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
  45113. * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
  45114. * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
  45115. * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
  45116. * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
  45117. * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
  45118. * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
  45119. * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
  45120. * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
  45121. * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
  45122. * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
  45123. * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
  45124. * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
  45125. * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
  45126. * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
  45127. * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
  45128. * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
  45129. * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
  45130. * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
  45131. * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
  45132. * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
  45133. * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
  45134. Update #include.
  45135. * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
  45136. Likewise.
  45137. * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
  45138. Likewise.
  45139. * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
  45140. Likewise.
  45141. * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
  45142. Likewise.
  45143. * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
  45144. Likewise.
  45145. * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
  45146. Likewise.
  45147. * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
  45148. Likewise.
  45149. * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
  45150. Likewise.
  45151. * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
  45152. Likewise.
  45153. * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
  45154. * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
  45155. * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
  45156. * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
  45157. * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
  45158. * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
  45159. * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
  45160. * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
  45161. * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
  45162. * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
  45163. * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
  45164. * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
  45165. * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
  45166. * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
  45167. * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
  45168. * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
  45169. that was previously under [RESET_PID].
  45170. * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
  45171. * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
  45172. * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
  45173. * sysdeps/i386/nptl/Implies: New file.
  45174. * sysdeps/x86_64/nptl/Implies: New file.
  45175. * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
  45176. * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
  45177. * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
  45178. * sysdeps/x86/nptl/bits/semaphore.h: ... here.
  45179. * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
  45180. (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
  45181. (__libc_vfork): New strong alias.
  45182. * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
  45183. * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
  45184. * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
  45185. (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
  45186. (__libc_vfork): New strong alias.
  45187. * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
  45188. * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
  45189. * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
  45190. (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
  45191. (__libc_vfork): New strong alias.
  45192. * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
  45193. * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
  45194. * nptl/pt-vfork.c: New file.
  45195. * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
  45196. (libpthread: GLIBC_2.20): New version set (empty).
  45197. 2014-05-14 Will Newton <will.newton@linaro.org>
  45198. * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
  45199. rather than #if.
  45200. 2014-05-14 Joseph Myers <joseph@codesourcery.com>
  45201. [BZ #16564]
  45202. * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
  45203. arguments with exponent 65 or above.
  45204. * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
  45205. arguments 0x1p113L or above.
  45206. * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
  45207. to arguments 0x1p107L or above.
  45208. * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
  45209. positive arguments with exponent 65 or above.
  45210. * math/auto-libm-test-in: Add more tests of log1p.
  45211. * math/auto-libm-test-out: Regenerated.
  45212. [BZ #16928]
  45213. * math/s_cacos.c (__cacos): Ensure zero real part of result from
  45214. non-finite arguments is +0.
  45215. * math/s_cacosf.c (__cacosf): Likewise.
  45216. * math/s_cacosl.c (__cacosl): Likewise.
  45217. * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
  45218. * sysdeps/i386/fpu/libm-test-ulps: Update.
  45219. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  45220. [BZ #16927]
  45221. * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
  45222. value.
  45223. * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
  45224. * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
  45225. * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
  45226. for explicit high bit of mantissa when testing for argument equal
  45227. to 1.
  45228. * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
  45229. * sysdeps/i386/fpu/libm-test-ulps: Update.
  45230. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  45231. [BZ #16516]
  45232. * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
  45233. (__erf): Scale by 16 instead of 8 in potentially underflowing
  45234. case. Ensure exception if result actually underflows.
  45235. * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
  45236. (__erff): Scale by 16 instead of 8 in potentially underflowing
  45237. case. Ensure exception if result actually underflows.
  45238. * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
  45239. (efx8): Remove variable.
  45240. (__erfl): Scale by 16 instead of 8 in potentially underflowing
  45241. case. Ensure exception if result actually underflows.
  45242. * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
  45243. (efx8): Remove variable.
  45244. (__erfl): Scale by 16 instead of 8 in potentially underflowing
  45245. case. Ensure exception if result actually underflows.
  45246. * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
  45247. (efx8): Remove variable.
  45248. (__erfl): Scale by 16 instead of 8 in potentially underflowing
  45249. case. Ensure exception if result actually underflows.
  45250. * math/auto-libm-test-in: Add more tests of erf.
  45251. * math/auto-libm-test-out: Regenerated.
  45252. 2014-05-14 Andreas Schwab <schwab@suse.de>
  45253. * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
  45254. Remove code conditionalized on USE___THREAD.
  45255. * config.h.in (HAVE_PT_CHOWN): Define as 0.
  45256. * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
  45257. not definedness.
  45258. 2014-05-14 Joseph Myers <joseph@codesourcery.com>
  45259. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
  45260. Define unconditionally.
  45261. (__ASSUME_O_CLOEXEC): Likewise.
  45262. (__ASSUME_SOCK_CLOEXEC): Likewise.
  45263. (__ASSUME_IN_NONBLOCK): Likewise.
  45264. (__ASSUME_PIPE2): Likewise.
  45265. (__ASSUME_EVENTFD2): Likewise.
  45266. (__ASSUME_SIGNALFD4): Likewise.
  45267. (__ASSUME_DUP3): Likewise.
  45268. * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
  45269. (__ASSUME_DUP3): Do not define.
  45270. (__ASSUME_EVENTFD2): Likewise.
  45271. (__ASSUME_IN_NONBLOCK): Likewise.
  45272. (__ASSUME_O_CLOEXEC): Likewise.
  45273. (__ASSUME_PIPE2): Likewise.
  45274. (__ASSUME_SIGNALFD4): Likewise.
  45275. (__ASSUME_SOCK_CLOEXEC): Likewise.
  45276. (__ASSUME_UTIMES): Undefine.
  45277. * sysdeps/unix/sysv/linux/alpha/kernel-features.h
  45278. (__ASSUME_UTIMES): Do not define.
  45279. (__ASSUME_O_CLOEXEC): Likewise.
  45280. (__ASSUME_SOCK_CLOEXEC): Likewise.
  45281. (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
  45282. 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
  45283. 0x020621].
  45284. (__ASSUME_PIPE2): Likewise.
  45285. (__ASSUME_EVENTFD2): Likewise.
  45286. (__ASSUME_SIGNALFD4): Likewise.
  45287. [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
  45288. * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
  45289. Do not define.
  45290. (__ASSUME_EVENTFD2): Likewise.
  45291. (__ASSUME_SIGNALFD4): Likewise.
  45292. * sysdeps/unix/sysv/linux/hppa/kernel-features.h
  45293. (__ASSUME_32BITUIDS): Likewise.
  45294. (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
  45295. (__ASSUME_IPC64): Likewise.
  45296. (__ASSUME_ST_INO_64_BIT): Likewise.
  45297. (__ASSUME_GETDENTS64_SYSCALL): Likewise.
  45298. [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
  45299. * sysdeps/unix/sysv/linux/ia64/kernel-features.h
  45300. (__ASSUME_UTIMES): Do not define.
  45301. (__ASSUME_PSELECT): Likewise.
  45302. (__ASSUME_PPOLL): Likewise.
  45303. (__ASSUME_O_CLOEXEC): Likewise.
  45304. (__ASSUME_SOCK_CLOEXEC): Likewise.
  45305. (__ASSUME_IN_NONBLOCK): Likewise.
  45306. (__ASSUME_PIPE2): Likewise.
  45307. (__ASSUME_EVENTFD2): Likewise.
  45308. (__ASSUME_SIGNALFD4): Likewise.
  45309. (__ASSUME_DUP3): Likewise.
  45310. * sysdeps/unix/sysv/linux/m68k/kernel-features.h
  45311. (__ASSUME_UTIMES): Likewise.
  45312. (__ASSUME_O_CLOEXEC): Likewise.
  45313. (__ASSUME_SOCK_CLOEXEC): Likewise.
  45314. (__ASSUME_IN_NONBLOCK): Likewise.
  45315. (__ASSUME_PIPE2): Likewise.
  45316. (__ASSUME_EVENTFD2): Likewise.
  45317. (__ASSUME_SIGNALFD4): Likewise.
  45318. (__ASSUME_DUP3): Likewise.
  45319. * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
  45320. (__ASSUME_UTIMES): Likewise.
  45321. (__ASSUME_O_CLOEXEC): Likewise.
  45322. (__ASSUME_SOCK_CLOEXEC): Likewise.
  45323. (__ASSUME_IN_NONBLOCK): Likewise.
  45324. (__ASSUME_PIPE2): Likewise.
  45325. (__ASSUME_EVENTFD2): Likewise.
  45326. (__ASSUME_SIGNALFD4): Likewise.
  45327. (__ASSUME_DUP3): Likewise.
  45328. * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
  45329. Likewise.
  45330. (__ASSUME_UTIMES): Likewise.
  45331. (__ASSUME_EVENTFD2): Likewise.
  45332. (__ASSUME_SIGNALFD4): Likewise.
  45333. * sysdeps/unix/sysv/linux/tile/kernel-features.h
  45334. (__ASSUME_O_CLOEXEC): Likewise.
  45335. (__ASSUME_SOCK_CLOEXEC): Likewise.
  45336. (__ASSUME_IN_NONBLOCK): Likewise.
  45337. (__ASSUME_PIPE2): Likewise.
  45338. (__ASSUME_EVENTFD2): Likewise.
  45339. (__ASSUME_SIGNALFD4): Likewise.
  45340. (__ASSUME_DUP3): Likewise.
  45341. (__ASSUME_UTIMES): Undefine.
  45342. * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
  45343. feclearexcept. Remove symbol versioning code.
  45344. * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
  45345. symbol versioning code.
  45346. * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
  45347. symbol versioning code.
  45348. * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
  45349. feupdateenv. Remove symbol versioning code.
  45350. * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
  45351. fegetexceptflag. Remove symbol versioning code.
  45352. * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
  45353. fesetexceptflag. Remove symbol versioning code.
  45354. * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
  45355. GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
  45356. * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
  45357. (__posix_fadvise64_l32): Remove prototype.
  45358. [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
  45359. code.
  45360. 2014-05-13 Roland McGrath <roland@hack.frob.com>
  45361. * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
  45362. * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
  45363. * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
  45364. * sysdeps/arm/nptl/bits/semaphore.h: ... here.
  45365. 2014-05-13 Sami Kerola <kerolasa@iki.fi>
  45366. * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
  45367. current working directory
  45368. 2014-05-13 Roland McGrath <roland@hack.frob.com>
  45369. * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
  45370. * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
  45371. * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
  45372. * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
  45373. * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
  45374. * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
  45375. * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
  45376. * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
  45377. * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
  45378. * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
  45379. * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
  45380. * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
  45381. * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
  45382. * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
  45383. * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
  45384. * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
  45385. * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
  45386. * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
  45387. * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
  45388. * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
  45389. * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
  45390. * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
  45391. * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
  45392. * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
  45393. * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
  45394. * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
  45395. * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
  45396. * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
  45397. * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
  45398. * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
  45399. * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
  45400. * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
  45401. * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
  45402. * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
  45403. * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
  45404. * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
  45405. * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
  45406. * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
  45407. * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
  45408. * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
  45409. * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
  45410. * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
  45411. * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
  45412. * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
  45413. * sysdeps/unix/sysv/linux/arm/Makefile
  45414. [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
  45415. Add rt-aeabi_unwind_cpp_pr1.
  45416. [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
  45417. Add nptl-aeabi_unwind_cpp_pr1.
  45418. [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
  45419. * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
  45420. * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
  45421. * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
  45422. * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
  45423. * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
  45424. * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
  45425. * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
  45426. * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
  45427. * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
  45428. * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
  45429. Deconditionalize the code that was previously under [RESET_PID].
  45430. * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
  45431. * sysdeps/generic/exit-thread.h: New file.
  45432. * sysdeps/unix/sysv/linux/exit-thread.h: New file.
  45433. * include/unistd.h (__exit_thread): Remove declaration.
  45434. * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
  45435. * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
  45436. * csu/libc-start.c: Include <exit-thread.h>.
  45437. (LIBC_START_MAIN): Pass no argument to __exit_thread.
  45438. * nptl/pthread_create.c: Include <exit-thread.h>.
  45439. (start_thread): Call __exit_thread in place of __exit_thread_inline.
  45440. * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
  45441. * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
  45442. * nptl/sysdeps/s390/pthreaddef.h: Likewise.
  45443. * nptl/sysdeps/sh/pthreaddef.h: Likewise.
  45444. * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
  45445. * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
  45446. * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
  45447. * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
  45448. * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
  45449. * sysdeps/arm/nptl/pthreaddef.h: Likewise.
  45450. * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
  45451. * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
  45452. * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
  45453. * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
  45454. * sysdeps/mips/nptl/pthreaddef.h: Likewise.
  45455. * sysdeps/tile/nptl/pthreaddef.h: Likewise.
  45456. 2014-05-13 Andreas Schwab <schwab@suse.de>
  45457. * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
  45458. 2014-05-12 Joseph Myers <joseph@codesourcery.com>
  45459. * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
  45460. (__ASSUME_UTIMES): Do not condition on kernel version.
  45461. (__ASSUME_PSELECT): Define unconditionally.
  45462. (__ASSUME_PPOLL): Likewise.
  45463. (__ASSUME_ATFCTS): Likewise.
  45464. (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
  45465. (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
  45466. (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
  45467. (__ASSUME_UTIMENSAT): Define unconditionally.
  45468. (__ASSUME_PRIVATE_FUTEX): Likewise.
  45469. (__ASSUME_FALLOCATE): Likewise.
  45470. (__ASSUME_O_CLOEXEC): Likewise.
  45471. (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
  45472. (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
  45473. (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
  45474. (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
  45475. (__ASSUME_IN_NONBLOCK): Likewise.
  45476. (__ASSUME_PIPE2): Likewise.
  45477. (__ASSUME_EVENTFD2): Likewise.
  45478. (__ASSUME_SIGNALFD4): Likewise.
  45479. (__ASSUME_DUP3): Likewise.
  45480. [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
  45481. (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
  45482. (__ASSUME_AT_RANDOM): Likewise.
  45483. (__ASSUME_PREADV): Likewise.
  45484. (__ASSUME_PWRITEV): Likewise.
  45485. (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
  45486. (__ASSUME_F_GETOWN_EX): Define unconditionally.
  45487. (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
  45488. * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
  45489. [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
  45490. * sysdeps/unix/sysv/linux/alpha/kernel-features.h
  45491. (__ASSUME_O_CLOEXEC): Define unconditionally.
  45492. (__ASSUME_PSELECT): Do not undefine conditionally.
  45493. (__ASSUME_PPOLL): Likewise.
  45494. (__ASSUME_ATFCTS): Likewise.
  45495. (__ASSUME_SET_ROBUST_LIST): Likewise.
  45496. (__ASSUME_UTIMENSAT): Likewise.
  45497. (__ASSUME_FDATASYNC): Define unconditionally.
  45498. * sysdeps/unix/sysv/linux/arm/kernel-features.h
  45499. (__ASSUME_SIGFRAME_V2): Likewise.
  45500. )__ASSUME_EVENTFD2): Likewise.
  45501. (__ASSUME_SIGNALFD4): Likewise.
  45502. (__ASSUME_PSELECT): Do not undefine conditionally.
  45503. (__ASSUME_PPOLL): Likewise.
  45504. * sysdeps/unix/sysv/linux/ia64/kernel-features.h
  45505. (__ASSUME_PSELECT): Define unconditionally.
  45506. (__ASSUME_PPOLL): Likewise.
  45507. (__ASSUME_O_CLOEXEC): Likewise.
  45508. (__ASSUME_SOCK_CLOEXEC): Likewise.
  45509. (__ASSUME_IN_NONBLOCK): Likewise.
  45510. (__ASSUME_PIPE2): Likewise.
  45511. (__ASSUME_EVENTFD2): Likewise.
  45512. (__ASSUME_SIGNALFD4): Likewise.
  45513. (__ASSUME_DUP3): Likewise.
  45514. * sysdeps/unix/sysv/linux/m68k/kernel-features.h
  45515. (__ASSUME_O_CLOEXEC): Likewise.
  45516. (__ASSUME_SOCK_CLOEXEC): Likewise.
  45517. (__ASSUME_IN_NONBLOCK): Likewise.
  45518. (__ASSUME_PIPE2): Likewise.
  45519. (__ASSUME_EVENTFD2): Likewise.
  45520. (__ASSUME_SIGNALFD4): Likewise.
  45521. (__ASSUME_DUP3): Likewise.
  45522. * sysdeps/unix/sysv/linux/mips/kernel-features.h
  45523. (__ASSUME_EVENTFD2): Likewise.
  45524. (__ASSUME_SIGNALFD4): Likewise.
  45525. (__ASSUME_ACCEPT4_SYSCALL): Likewise.
  45526. 2014-05-12 Andreas Schwab <schwab@suse.de>
  45527. [BZ #16932]
  45528. * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
  45529. (_nss_nis_gethostbyname4_r): Return error if item length is larger
  45530. than maximum RPC packet size.
  45531. * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
  45532. * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
  45533. * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
  45534. (_nss_nis_getservbyport_r): Likewise.
  45535. 2014-05-12 Will Newton <will.newton@linaro.org>
  45536. * malloc/Makefile (tests): Add tst-mallopt.
  45537. * malloc/tst-mallopt.c: New file.
  45538. 2014-05-09 Roland McGrath <roland@hack.frob.com>
  45539. * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
  45540. [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
  45541. 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  45542. * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
  45543. (tst-tlsmod6.so): Likewise.
  45544. 2014-05-09 Roland McGrath <roland@hack.frob.com>
  45545. * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
  45546. 2014-05-09 Joseph Myers <joseph@codesourcery.com>
  45547. [BZ #16064]
  45548. * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
  45549. and <dl-procinfo.h>.
  45550. (__fegetenv): Save SSE state in envp->__eip if supported.
  45551. * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
  45552. envp->__eip if supported.
  45553. * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
  45554. and <dl-procinfo.h>.
  45555. (__fesetenv): Always set __eip, __cs_selector, __opcode,
  45556. __data_offset and __data_selector in environment to 0. Set SSE
  45557. state if supported.
  45558. * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
  45559. test-fenv-sse.
  45560. [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
  45561. -mfpmath=sse.
  45562. * sysdeps/x86/fpu/test-fenv-sse.c: New file.
  45563. 2014-05-09 Will Newton <will.newton@linaro.org>
  45564. * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
  45565. and libc_relro_required for ARM.
  45566. * sysdeps/arm/preconfigure: Regenerate.
  45567. 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
  45568. Stefan Liebler <stli@linux.vnet.ibm.com>
  45569. * config.make.in (enable-lock-elision): New Makefile variable.
  45570. * configure.ac: Likewise.
  45571. * configure: Regenerate.
  45572. * sysdeps/s390/configure.ac:
  45573. Add check for gcc transactions support.
  45574. * sysdeps/s390/configure: Regenerate.
  45575. * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
  45576. Build elision files if enabled.
  45577. * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
  45578. Add lock elision support for s390.
  45579. * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
  45580. * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
  45581. * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
  45582. * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
  45583. * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
  45584. * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
  45585. * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
  45586. Likewise.
  45587. * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
  45588. Likewise.
  45589. * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
  45590. Likewise.
  45591. * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
  45592. Likewise.
  45593. * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
  45594. (__lll_timedlock_elision, __lll_lock_elision)
  45595. (__lll_unlock_elision, __lll_trylock_elision)
  45596. (lll_timedlock_elision, lll_lock_elision)
  45597. (lll_unlock_elision, lll_trylock_elision): Add.
  45598. * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
  45599. (pthread_mutex_t): Add lock elision support for s390.
  45600. 2014-05-14 Wilco <wdijkstr@arm.com>
  45601. * sysdeps/arm/fclrexcpt.c: Cleanup.
  45602. * sysdeps/arm/fedisblxcpt.c: Cleanup.
  45603. * sysdeps/arm/feenablxcpt.c: Cleanup.
  45604. * sysdeps/arm/fegetenv.c: Cleanup.
  45605. * sysdeps/arm/fegetexcept.c: Cleanup.
  45606. * sysdeps/arm/fegetround.c: Cleanup.
  45607. * sysdeps/arm/feholdexcpt.c: Cleanup.
  45608. * sysdeps/arm/fesetenv.c: Cleanup.
  45609. * sysdeps/arm/fesetround.c: Cleanup.
  45610. * sysdeps/arm/feupdateenv.c: Cleanup.
  45611. * sysdeps/arm/fgetexcptflg.c: Cleanup.
  45612. * sysdeps/arm/fraiseexcpt.c: Cleanup.
  45613. * sysdeps/arm/fsetexcptflg.c: Cleanup.
  45614. * sysdeps/arm/ftestexcept.c: Cleanup.
  45615. * sysdeps/arm/get-rounding-mode.h: Cleanup.
  45616. * sysdeps/arm/setfpucw.c: Cleanup.
  45617. 2014-05-09 Will Newton <will.newton@linaro.org>
  45618. * sysdeps/arm/armv7/strcmp.S: New file.
  45619. * NEWS: Mention addition of ARMv7 optimized strcmp.
  45620. 2014-05-08 Roland McGrath <roland@hack.frob.com>
  45621. * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
  45622. look for %.ac rather than %.in.
  45623. * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
  45624. * sysdeps/unix/sysv/linux/configure.ac: Likewise.
  45625. * sysdeps/mach/hurd/configure: Regenerated.
  45626. * sysdeps/unix/sysv/linux/configure: Regenerated.
  45627. * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
  45628. 2014-05-07 Steve Ellcey <sellcey@mips.com>
  45629. [BZ #16922]
  45630. * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
  45631. (LONG_SUB): Ditto.
  45632. (PTR_SUB): Ditto.
  45633. 2014-05-07 Andreas Schwab <schwab@suse.de>
  45634. * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
  45635. when skipping over non-matching result from nscd.
  45636. 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
  45637. [BZ #16876]
  45638. * nptl/sockperf.c (client): Check socket return value.
  45639. [BZ #16877]
  45640. * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
  45641. nscd security class.
  45642. 2014-05-06 Roland McGrath <roland@hack.frob.com>
  45643. * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
  45644. * sysdeps/arm/unwind.h: ... here.
  45645. 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
  45646. [BZ #16916]
  45647. * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
  45648. Define.
  45649. 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
  45650. * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
  45651. * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
  45652. multiarch strncpy for PPC64.
  45653. * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
  45654. * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
  45655. * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
  45656. multiarch optimizations.
  45657. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
  45658. (__libc_ifunc_impl_list): Likewise.
  45659. * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
  45660. * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
  45661. multiarch stpncpy for PPC64.
  45662. * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
  45663. * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
  45664. 2014-05-06 Andreas Schwab <schwab@suse.de>
  45665. [BZ #16912]
  45666. * gmon/mcount.c (_MCOUNT_DECL): Use
  45667. atomic_compare_and_exchange_bool_acq instead of
  45668. catomic_compare_and_exchange_bool_acq.
  45669. 2014-05-05 Roland McGrath <roland@hack.frob.com>
  45670. * elf/Makefile (others, install-bin): Remove pldd.
  45671. (pldd-modules): Variable removed.
  45672. ($(objpfx)pldd): Target removed.
  45673. * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
  45674. (others, install-bin): Append pldd here.
  45675. ($(objpfx)pldd): New target.
  45676. * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
  45677. to 0, so the first #if test emitted later doesn't see it undefined.
  45678. (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
  45679. * sysdeps/gnu/errlist.c: Regenerated.
  45680. 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  45681. * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
  45682. [libc_hidden_builtin_def]: Define to empty value.
  45683. * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
  45684. [libc_hidden_builtin_def]: Likewise.
  45685. * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
  45686. [libc_hidden_builtin_def]: Likewise.
  45687. * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
  45688. [libc_hidden_builtin_def]: Likewise.
  45689. * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
  45690. __redirect_memcpy and define ifunc as default hidden symbol.
  45691. * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
  45692. * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
  45693. 2014-05-04 Adam Conrad <adconrad@0c3.net>
  45694. * locale/iso-4217.def: Reintroduce XDR currency.
  45695. 2014-05-04 Allan McRae <allan@archlinux.org>
  45696. * po/eo.po: Update Esperanto translation from translation project.
  45697. 2014-05-02 Carlos O'Donell <carlos@redhat.com>
  45698. * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
  45699. and FEATURE_INDEX_MAX to 1.
  45700. [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
  45701. 2014-05-01 Steve Ellcey <sellcey@mips.com>
  45702. * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
  45703. * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
  45704. * iconvdata/big5.c (ONE_DIRECTION): Define.
  45705. * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
  45706. * iconvdata/cp1255.c (ONE_DIRECTION): Define.
  45707. * iconvdata/cp1258.c (ONE_DIRECTION): Define.
  45708. * iconvdata/cp932.c (ONE_DIRECTION): Define.
  45709. * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
  45710. * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
  45711. * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
  45712. * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
  45713. * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
  45714. * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
  45715. * iconvdata/gb18030.c (ONE_DIRECTION): Define.
  45716. * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
  45717. * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
  45718. * iconvdata/gbk.c (ONE_DIRECTION): Define.
  45719. * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
  45720. * iconvdata/ibm930.c (ONE_DIRECTION): Define.
  45721. * iconvdata/ibm932.c (ONE_DIRECTION): Define.
  45722. * iconvdata/ibm933.c (ONE_DIRECTION): Define.
  45723. * iconvdata/ibm935.c (ONE_DIRECTION): Define.
  45724. * iconvdata/ibm937.c (ONE_DIRECTION): Define.
  45725. * iconvdata/ibm939.c (ONE_DIRECTION): Define.
  45726. * iconvdata/ibm943.c (ONE_DIRECTION): Define.
  45727. * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
  45728. * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
  45729. * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
  45730. * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
  45731. * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
  45732. * iconvdata/iso646.c (ONE_DIRECTION): Define.
  45733. * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
  45734. * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
  45735. * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
  45736. * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
  45737. * iconvdata/johab.c (ONE_DIRECTION): Define.
  45738. * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
  45739. * iconvdata/sjis.c (ONE_DIRECTION): Define.
  45740. * iconvdata/t.61.c (ONE_DIRECTION): Define.
  45741. * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
  45742. * iconvdata/tscii.c (ONE_DIRECTION): Define.
  45743. * iconvdata/uhc.c (ONE_DIRECTION): Define.
  45744. * iconvdata/unicode.c (ONE_DIRECTION): Define.
  45745. * iconvdata/utf-16.c (ONE_DIRECTION): Define.
  45746. * iconvdata/utf-32.c (ONE_DIRECTION): Define.
  45747. * iconvdata/utf-7.c (ONE_DIRECTION): Define.
  45748. 2014-05-01 Roland McGrath <roland@hack.frob.com>
  45749. * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
  45750. (_IO_JUMPS_OFFSET): Define to 0.
  45751. * nptl/sysdeps/pthread/bits/libc-lock.h
  45752. [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
  45753. (__libc_lock_define_initialized_recursive): Always define using
  45754. initializer. Modern compilers treat uninitialized (implicit zero) and
  45755. explicit zero initializers the same (i.e. put the datum in bss).
  45756. 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
  45757. * nscd/nscd-client.h: Include <string.h>.
  45758. 2014-05-01 David S. Miller <davem@davemloft.net>
  45759. [BZ #16885]
  45760. * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
  45761. multiple zero bytes exist at the end of a string.
  45762. Reported by Aurelien Jarno <aurelien@aurel32.net>
  45763. * string/test-strcmp.c (check): Add explicit test for situations where
  45764. there are multiple zero bytes after the first.
  45765. 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
  45766. [BZ #16890]
  45767. * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
  45768. when compiling wprintf.
  45769. * stdio-common/tstdiomisc.c (t3): New function.
  45770. (main): Call it.
  45771. 2014-05-01 Steve Ellcey <sellcey@mips.com>
  45772. * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
  45773. * iconv/gconv_simple.c (ONE_DIRECTION): Define.
  45774. * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
  45775. * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
  45776. 2014-05-01 Steve Ellcey <sellcey@mips.com>
  45777. * stdlib/longlong.h: Updated from GCC.
  45778. 2014-05-01 Will Newton <will.newton@linaro.org>
  45779. Bernard Ogden <bernie.ogden@linaro.org>
  45780. * NEWS: Update fixed bug list.
  45781. [BZ #15119]
  45782. * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
  45783. 2014-04-30 David S. Miller <davem@davemloft.net>
  45784. * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
  45785. (libc_feholdexcept_setround_sparc_ctx): New function.
  45786. (libc_fesetenv_sparc_ctx): Likewise.
  45787. (libc_feupdateenv_sparc_ctx): Likewise.
  45788. (libc_feholdsetround_sparc_ctx): Likewise.
  45789. (libc_feholdexcept_setround_ctx): Define.
  45790. (libc_feholdexcept_setroundf_ctx): Likewise.
  45791. (libc_feholdexcept_setroundl_ctx): Likewise.
  45792. (libc_fesetenv_ctx): Likewise.
  45793. (libc_fesetenvf_ctx): Likewise.
  45794. (libc_fesetenvl_ctx): Likewise.
  45795. (libc_feupdateenv_ctx): Likewise.
  45796. (libc_feupdateenvf_ctx): Likewise.
  45797. (libc_feupdateenvl_ctx): Likewise.
  45798. (libc_feresetround_ctx): Likewise.
  45799. (libc_feresetroundf_ctx): Likewise.
  45800. (libc_feresetroundl_ctx): Likewise.
  45801. (libc_feholdsetround_ctx): Likewise.
  45802. (libc_feholdsetroundf_ctx): Likewise.
  45803. (libc_feholdsetroundl_ctx): Likewise.
  45804. * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
  45805. with __USE_GNU instead of XOPEN cpp guards.
  45806. * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
  45807. 0.
  45808. * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
  45809. with XOPEN cpp guards.
  45810. 2014-04-30 Julian Brown <julian@codesourcery.com>
  45811. [BZ #16888]
  45812. * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
  45813. handling.
  45814. 2014-04-30 Joseph Myers <joseph@codesourcery.com>
  45815. [BZ #9894]
  45816. * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
  45817. Change to 2.6.32.
  45818. (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
  45819. * sysdeps/unix/sysv/linux/configure: Regenerated.
  45820. * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
  45821. * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
  45822. * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
  45823. * sysdeps/unix/sysv/linux/tile/configure: Likewise.
  45824. * README: Update reference to required Linux kernel version.
  45825. * manual/install.texi (Linux): Update reference to required Linux
  45826. kernel headers version.
  45827. * INSTALL: Regenerated.
  45828. * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
  45829. header inclusion.
  45830. [POSIX] (limits.h): Likewise.
  45831. [POSIX] (math.h): Likewise.
  45832. [POSIX] (sys/wait.h): Likewise.
  45833. * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
  45834. function.
  45835. [POSIX] (stddef.h): Do not allow header inclusion.
  45836. 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  45837. * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
  45838. 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
  45839. * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
  45840. Return immediately after lll_futex_wake.
  45841. 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
  45842. [BZ #16791]
  45843. * nscd/nscd-client.h (datahead_init_common): Initialize entire
  45844. structure.
  45845. (datahead_init_pos): Call datahead_init_common early.
  45846. (datahead_init_neg): Likewise.
  45847. * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
  45848. datahead_init_neg): New functions.
  45849. * nscd/aicache.c (addhstaiX): Use them.
  45850. * nscd/grpcache.c (cache_addgr): Likewise.
  45851. * nscd/hstcache.c (cache_addhst): Likewise.
  45852. * nscd/initgrcache.c (addinitgroupsX): Likewise.
  45853. * nscd/netgroupcache.c (do_notfound): Likewise.
  45854. (addgetnetgrentX): Likewise.
  45855. (addinnetgrX): Likewise.
  45856. * nscd/pwdcache.c (cache_addpw): Likewise.
  45857. * nscd/servicescache.c (cache_addserv): Likewise.
  45858. 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
  45859. Atsushi Onoe <atsushi@onoe.org>
  45860. [BZ #14308]
  45861. [BZ #12994]
  45862. [BZ #13651]
  45863. * resolv/res_query.c (__libc_res_nsearch): Return if at least
  45864. one response is valid.
  45865. * resolv/res_send.c (send_dg): Check for validity of other
  45866. response if the current response is a referral.
  45867. 2014-04-29 Steve Ellcey <sellcey@mips.com>
  45868. * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
  45869. 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
  45870. [BZ #16823]
  45871. * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
  45872. Always divide by positive zero when computing -Inf result.
  45873. * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
  45874. * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
  45875. 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  45876. * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
  45877. FPSCR if value do not change.
  45878. * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
  45879. * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
  45880. * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
  45881. * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
  45882. * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
  45883. * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
  45884. function.
  45885. 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
  45886. * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
  45887. * sysdeps/unix/sysv/linux/hppa: Move directory from
  45888. ports/systeps/unix/sysv/linux/hppa.
  45889. * README: Update listing for hppa-*-linux-gnu.
  45890. 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
  45891. [BZ #16754]
  45892. * manual/stdio.texi (Hook functions): Fix types of stream hook
  45893. functions.
  45894. [BZ #16854]
  45895. * socket/sys/socket.h: Fix typo in comment.
  45896. 2014-04-28 Wilco <wdijkstr@arm.com>
  45897. * sysdeps/arm/fenv_private.h: New file.
  45898. * sysdeps/arm/math_private.h: New file.
  45899. * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
  45900. 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
  45901. * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
  45902. with __int128_t.
  45903. (La_x86_64_retval): Likewise.
  45904. 2014-04-24 Ian Bolton <ian.bolton@arm.com>
  45905. * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
  45906. fpsr if value didn't change.
  45907. * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
  45908. to fpcr if value didn't change.
  45909. * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
  45910. * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
  45911. fpsr or fpcr if value didn't change.
  45912. * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
  45913. * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
  45914. fpcr if value didn't change.
  45915. * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
  45916. to fpsr if value didn't change.
  45917. 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
  45918. * nptl/tst-sem3.c: Use test-skeleton.c
  45919. (main): Rename to do_test. Use return instead of
  45920. exit.
  45921. * nptl/tst-sem4.c: Use test-skeleton.c
  45922. (main): Rename to do_test.
  45923. 2014-04-22 David S. Miller <davem@davemloft.net>
  45924. * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
  45925. (struct sigaction): New struct member __glibc_reserved0, change
  45926. type of sa_flags to int.
  45927. 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
  45928. * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
  45929. (COUNT_LEADING_ZEROS_0): Define for AArch64.
  45930. 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
  45931. * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
  45932. * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
  45933. 2014-04-22 Will Newton <will.newton@linaro.org>
  45934. Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
  45935. * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
  45936. (__longjmp): Add longjmp and longjmp_target SystemTap
  45937. probes.
  45938. * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
  45939. (__sigsetjmp): Add setjmp SystemTap probe.
  45940. 2014-04-17 Carlos O'Donell <carlos@redhat.com>
  45941. * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
  45942. match manual order.
  45943. 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  45944. * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
  45945. * sysdeps/powerpc/fpu/fenv_private.h
  45946. (libc_feholdexcept_setroundl_ctx): Define to
  45947. libc_feholdexcept_setround_ppc_ctx.
  45948. (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
  45949. (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
  45950. (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
  45951. (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
  45952. 2014-04-17 Ian Bolton <ian.bolton@arm.com>
  45953. * sysdeps/aarch64/math-tests.h: New file.
  45954. 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
  45955. * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
  45956. New.
  45957. * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
  45958. Check and set bit_AVX2_Usable.
  45959. * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
  45960. macro.
  45961. (bit_AVX2): Likewise.
  45962. (index_AVX2_Usable): Likewise.
  45963. (CPUID_AVX2): Likewise.
  45964. (HAS_AVX2): Likewise.
  45965. 2014-04-17 Will Newton <will.newton@linaro.org>
  45966. * manual/setjmp.texi (System V contexts): Add note that
  45967. calling setcontext on a context created by a call to a
  45968. signal handler is undefined. Update text to note that
  45969. setcontext from a signal handler is possible but not
  45970. recommended.
  45971. [BZ #16629]
  45972. * stdlib/tst-setcontext.c: Include signal.h.
  45973. (main): Check that the signal stack before and
  45974. after swapcontext is the same.
  45975. * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
  45976. Re-implement to restore registers in user code and avoid
  45977. rt_sigreturn system call.
  45978. 2014-04-17 Wilco <wdijkstr@arm.com>
  45979. * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
  45980. * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
  45981. * math/test-fenv.c: Skip exception trap tests on targets which only
  45982. support non-stop mode.
  45983. 2014-04-17 Ian Bolton <ian.bolton@arm.com>
  45984. Wilco Dijkstra <wilco.dijkstra@arm.com>
  45985. * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
  45986. (libc_feholdsetround_aarch64_ctx)
  45987. (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
  45988. (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
  45989. (libc_feresetround_ctx, libc_feresetroundf_ctx)
  45990. (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
  45991. (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
  45992. (libc_feresetround_noexl_ctx): Define.
  45993. 2014-04-16 Richard Henderson <rth@redhat.com>
  45994. * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
  45995. * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
  45996. unwind tables.
  45997. * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
  45998. const from the non-libc, non-ldso copy.
  45999. * sysdeps/alpha/libm-test-ulps: Regenerate.
  46000. 2014-04-16 Ian Bolton <ian.bolton@arm.com>
  46001. Wilco Dijkstra <wilco.dijkstra@arm.com>
  46002. * sysdeps/aarch64/fpu/math_private.h: New file.
  46003. 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
  46004. * sysdeps/aarch64/libm-test-ulps: Regenerate.
  46005. 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
  46006. [BZ #16275]
  46007. * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
  46008. (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
  46009. * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
  46010. Intel MPX bound registers before _dl_profile_fixup.
  46011. * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
  46012. registers after _dl_profile_fixup. Save and restore bound
  46013. registers bnd0/bnd1 when calling _dl_call_pltexit.
  46014. * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
  46015. (LR_BND_OFFSET): Likewise.
  46016. (LRV_BND0_OFFSET): Likewise.
  46017. (LRV_BND1_OFFSET): Likewise.
  46018. 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
  46019. * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
  46020. to...
  46021. * sysdeps/mach/hurd/i386/tls.h: ... here.
  46022. (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
  46023. pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
  46024. fields.
  46025. 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
  46026. * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
  46027. 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
  46028. * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
  46029. 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
  46030. [BZ #14770]
  46031. * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
  46032. * sysdeps/s390/configure: Regenerate.
  46033. [BZ #16824]
  46034. * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
  46035. Set round-to-nearest internally to reduce error accumulation.
  46036. 2014-04-16 Alan Modra <amodra@gmail.com>
  46037. [BZ #16740]
  46038. [BZ #16619]
  46039. * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
  46040. * math/libm-test.inc (frexp_test_data): Add tests.
  46041. * NEWS: Update fixed bug list.
  46042. 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
  46043. * benchtests/Makefile: Depend on libraries in build directory.
  46044. (bench-math): Separate out math tests.
  46045. (bench-pthread): Separate out pthread tests.
  46046. (bench): Include math and pthread tests.
  46047. 2014-04-14 Carlos O'Donell <carlos@redhat.com>
  46048. [BZ #16831]
  46049. * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
  46050. _dl_debug_initialize.
  46051. * configure.ac: Remove SELinux header check.
  46052. * configure: Regenerate.
  46053. * nscd/selinux.c (perms): Array of const char* to permission names.
  46054. (nscd_request_avc_has_perm): Call security_deny_unknown to find
  46055. default policy. Call string_to_security_class and string_to_av_perm to
  46056. translate strings. Enforce default policy and call avs_has_perm with
  46057. results of translated strings.
  46058. 2014-04-13 David S. Miller <davem@davemloft.net>
  46059. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  46060. 2014-04-12 Allan McRae <allan@archlinux.org>
  46061. [BZ #16838]
  46062. * manual/string.texi (Collation Functions): Fix qsort argument
  46063. order in example.
  46064. Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
  46065. 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
  46066. * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
  46067. Make the test a no-op if there are no exceptions defined.
  46068. 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
  46069. * elf/Makefile (tests): make tst-dlopen-aout conditional on
  46070. enable-hardcoded-path-in-tests
  46071. 2014-04-11 Will Newton <will.newton@linaro.org>
  46072. * benchtests/Makefile (extra-objs): Add json-lib.o.
  46073. (bench-func): Tidy up JSON output.
  46074. * benchtests/bench-skeleton.c: Include json-lib.h.
  46075. (main): Use JSON library functions to do output of
  46076. benchmark results.
  46077. * benchtests/bench-timing-type.c (main): Output the
  46078. timing type simply, leaving formatting to the user.
  46079. * benchtests/json-lib.c: New file.
  46080. * benchtests/json-lib.h: Likewise.
  46081. 2014-04-11 Torvald Riegel <triegel@redhat.com>
  46082. [BZ #15215]
  46083. * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
  46084. * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
  46085. memory barriers. Add comments.
  46086. * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
  46087. * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
  46088. * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
  46089. * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
  46090. * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
  46091. * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
  46092. 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
  46093. * sysdeps/s390/s390-32/configure.ac: Unify file with ...
  46094. * sysdeps/s390/s390-64/configure.ac: ... this ...
  46095. * sysdeps/s390/configure.ac: ... to here.
  46096. * sysdeps/s390/s390-32/configure: Delete file.
  46097. * sysdeps/s390/s390-64/configure: Delete file.
  46098. * sysdeps/s390/configure: Regenerate.
  46099. 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
  46100. * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
  46101. 2014-04-11 Will Newton <will.newton@linaro.org>
  46102. * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
  46103. to zero if it is not defined elsewhere. (mtrim): Test
  46104. the value of MALLOC_DEBUG with #if rather than #ifdef.
  46105. 2014-04-10 Torvald Riegel <triegel@redhat.com>
  46106. * benchtests/pthread_once-inputs: New file.
  46107. * benchtests/pthread_once-source.c: New file.
  46108. * benchtests/README: Update documentation.
  46109. 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
  46110. H.J. Lu <hongjiu.lu@intel.com>
  46111. [BZ #16275]
  46112. * config.h.in (HAVE_MPX_SUPPORT): New #undef.
  46113. * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
  46114. * sysdeps/x86_64/configure: Regenerated.
  46115. * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
  46116. macro.
  46117. (REGISTER_SAVE_RAX): Likewise.
  46118. (REGISTER_SAVE_RCX): Likewise.
  46119. (REGISTER_SAVE_RDX): Likewise.
  46120. (REGISTER_SAVE_RSI): Likewise.
  46121. (REGISTER_SAVE_RDI): Likewise.
  46122. (REGISTER_SAVE_R8): Likewise.
  46123. (REGISTER_SAVE_R9): Likewise.
  46124. (REGISTER_SAVE_BND0): Likewise.
  46125. (REGISTER_SAVE_BND1): Likewise.
  46126. (REGISTER_SAVE_BND2): Likewise.
  46127. (_dl_runtime_resolve): Use them. Save and restore Intel MPX
  46128. bound registers when calling _dl_fixup.
  46129. 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  46130. * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
  46131. * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
  46132. of its definition.
  46133. * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
  46134. * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
  46135. * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
  46136. * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
  46137. * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
  46138. * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
  46139. * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
  46140. 2014-04-09 Peter Brett <peter@peter-b.co.uk>
  46141. [BZ #15514]
  46142. * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
  46143. pathconf(_PC_NAME_MAX).
  46144. 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  46145. * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
  46146. Remove macro usage.
  46147. (__PTHREAD_SPINS): Move definition to ...
  46148. * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
  46149. (__PTHREAD_SPINS): ... here.
  46150. * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
  46151. (__PTHREAD_SPIN): Likewise.
  46152. * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
  46153. (__PTHREAD_SPIN): Likewise.
  46154. * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
  46155. (__PTHREAD_SPIN): Likewise.
  46156. * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
  46157. (__PTHREAD_SPIN): Likewise.
  46158. * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
  46159. (__PTHREAD_SPIN): Likewise.
  46160. * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
  46161. (__PTHREAD_SPIN): Likewise.
  46162. * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
  46163. (__PTHREAD_SPIN): Likewise.
  46164. * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
  46165. (__PTHREAD_SPIN): Likewise.
  46166. * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
  46167. (__PTHREAD_SPIN): Likewise.
  46168. * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
  46169. (__PTHREAD_SPIN): Likewise.
  46170. * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
  46171. (__PTHREAD_SPIN): Likewise.
  46172. * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
  46173. (__PTHREAD_SPIN): Likewise.
  46174. * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
  46175. * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
  46176. * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
  46177. * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
  46178. imply folder.
  46179. * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
  46180. * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
  46181. * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
  46182. * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
  46183. correct imply path.
  46184. * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
  46185. strlen symbol for non multi-arch builds.
  46186. * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
  46187. missing hidden_def and weak_alias.
  46188. 2014-04-08 Carlos O'Donell <carlos@redhat.com>
  46189. * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
  46190. 2014-04-07 Will Newton <will.newton@linaro.org>
  46191. * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
  46192. and contents. [!_LIBC] Remove #ifndef and contents.
  46193. (basename): Use ANSI prototype. [_LIBC] Remove #idef.
  46194. * string/memccpy.c (__memccpy): Use ANSI prototype.
  46195. * string/memfrob.c (memfrob): Likewise.
  46196. * string/strcoll.c (STRCOLL): Likewise.
  46197. * string/strlen.c (strlen): Likewise.
  46198. * string/strtok.c (STRTOK): Likewise.
  46199. * string/strcat.c: Remove unused #include of memcopy.h.
  46200. (strcat): Use ANSI prototype.
  46201. * string/strchr.c: Remove unused #include of memcopy.h.
  46202. (strchr): Use ANSI prototype.
  46203. * string/strcmp.c: Remove unused #include of memcopy.h.
  46204. (strcmp): Use ANSI prototype.
  46205. * string/strcpy.c: Remove unused #include of memcopy.h.
  46206. (strcpy): Use ANSI prototype.
  46207. 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  46208. * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
  46209. * config.make.in (config-extra-cppflags): Set it from
  46210. libc_extra_cppflags.
  46211. * configure.ac (libc_extra_cflags): Make it accumulate over
  46212. configure fragments.
  46213. (libc_extra_cppflags): New flag.
  46214. * configure. Regenerate.
  46215. * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
  46216. (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
  46217. not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
  46218. * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
  46219. [BZ #16815]
  46220. * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
  46221. result for FE_DOWNWARD rounding mode.
  46222. * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
  46223. Likewise.
  46224. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  46225. 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
  46226. * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
  46227. in function argument name.
  46228. 2014-04-03 David Svoboda <svoboda@cert.org>
  46229. [BZ #5666]
  46230. * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
  46231. explicitly.
  46232. 2014-04-03 Roland McGrath <roland@hack.frob.com>
  46233. * elf/dl-unmap-segments.h: New file.
  46234. * sysdeps/generic/ldsodefs.h
  46235. (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
  46236. * elf/dl-close.c: Include <dl-unmap-segments.h>.
  46237. * elf/dl-fptr.c: Likewise.
  46238. (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
  46239. * sysdeps/aarch64/tlsdesc.c: Likewise.
  46240. * sysdeps/arm/tlsdesc.c: Likewise.
  46241. * sysdeps/i386/tlsdesc.c: Likewise.
  46242. * sysdeps/tile/dl-runtime.c: Likewise.
  46243. * sysdeps/x86_64/tlsdesc.c: Likewise.
  46244. * elf/dl-load.h: New file.
  46245. * elf/dl-load.c: Include it.
  46246. (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
  46247. Macros moved to dl-load.h.
  46248. (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
  46249. (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
  46250. Use _dl_unmap_segments in place of __munmap.
  46251. Break out segment-mapping loop into ...
  46252. * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
  46253. 2014-04-03 Will Newton <will.newton@linaro.org>
  46254. * elf/dl-lookup.c (do_lookup_x): Remove comment
  46255. referring to nested function and move variable
  46256. declarations down to before first use.
  46257. 2014-04-02 Joseph Myers <joseph@codesourcery.com>
  46258. [BZ #16799]
  46259. [BZ #16800]
  46260. * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
  46261. with 0 numerator.
  46262. * math/s_catanf.c (__catanf): Likewise.
  46263. * math/s_catanh.c (__catanh): Likewise.
  46264. * math/s_catanhf.c (__catanhf): Likewise.
  46265. * math/s_catanhl.c (__catanhl): Likewise.
  46266. * math/s_catanl.c (__catanl): Likewise.
  46267. * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
  46268. by positive zero when computing -Inf result.
  46269. * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
  46270. (catanh_test): Likewise.
  46271. * sysdeps/i386/fpu/libm-test-ulps: Update.
  46272. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  46273. [BZ #16789]
  46274. * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
  46275. instead of using underflowing value in computing result.
  46276. * math/s_clog10.c (__clog10): Likewise.
  46277. * math/s_clog10f.c (__clog10f): Likewise.
  46278. * math/s_clog10l.c (__clog10l): Likewise.
  46279. * math/s_clogf.c (__clogf): Likewise.
  46280. * math/s_clogl.c (__clogl): Likewise.
  46281. * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
  46282. (clog10_test): Likewise.
  46283. * sysdeps/i386/fpu/libm-test-ulps: Update.
  46284. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  46285. 2014-04-02 Alan Modra <amodra@gmail.com>
  46286. [BZ #16739]
  46287. * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
  46288. output when value is near a power of two. Use int64_t for lx and
  46289. remove casts. Use decimal rather than hex exponent constants.
  46290. Don't use long double multiplication when double will suffice.
  46291. * math/libm-test.inc (nextafter_test_data): Add tests.
  46292. * NEWS: Add 16739 and 16786 to bug list.
  46293. * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
  46294. * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
  46295. 2014-04-01 Will Newton <will.newton@linaro.org>
  46296. * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
  46297. -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
  46298. 2014-04-01 Florian Weimer <fweimer@redhat.com>
  46299. [BZ #13347]
  46300. * nptl/nptl-init.c (sighandler_setxid): Check system call result.
  46301. * nptl/tst-setuid2.c: New file.
  46302. * nptl/Makefile (xtests): Add tst-setuid2.
  46303. 2014-04-01 Alan Modra <amodra@gmail.com>
  46304. [BZ #16786]
  46305. * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
  46306. 2014-03-31 Joseph Myers <joseph@codesourcery.com>
  46307. [BZ #6803]
  46308. [BZ #6804]
  46309. * math/w_scalb.c (__scalb): For non-SVID mode, check result and
  46310. set errno as appropriate.
  46311. * math/w_scalbf.c (__scalbf): Likewise.
  46312. * math/w_scalbl.c (__scalbl): Likewise.
  46313. * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
  46314. ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
  46315. * math/libm-test.inc (scalb_test_data): Add errno expectations.
  46316. Add more NaN tests.
  46317. [BZ #16349]
  46318. * math/w_atan2.c: Include <errno.h>.
  46319. (__atan2): Set errno for result underflowing to zero.
  46320. * math/w_atan2f.c: Include <errno.h>.
  46321. (__atan2f): Set errno for result underflowing to zero.
  46322. * math/w_atan2l.c: Include <errno.h>.
  46323. (__atan2l): Set errno for result underflowing to zero.
  46324. * math/auto-libm-test-in: Don't allow missing errno for some atan2
  46325. tests.
  46326. * math/auto-libm-test-out: Regenerated.
  46327. 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  46328. * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
  46329. Encode instruction correctly in little endian.
  46330. * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
  46331. Likewise.
  46332. * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
  46333. Likewise.
  46334. * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
  46335. Likewise.
  46336. * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
  46337. Likewise.
  46338. 2014-03-31 Joseph Myers <joseph@codesourcery.com>
  46339. [BZ #9894]
  46340. * sysdeps/unix/sysv/linux/kernel-features.h
  46341. [__sparc__ && !__arch64__ && !__sparc_v9__]
  46342. (__ASSUME_SET_ROBUST_LIST): Do not define.
  46343. [__sparc__ && !__arch64__ && !__sparc_v9__]
  46344. (__ASSUME_FUTEX_LOCK_PI): Likewise.
  46345. [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
  46346. Likewise.
  46347. * sysdeps/unix/sysv/linux/arm/kernel-features.h
  46348. (__ASSUME_FUTEX_LOCK_PI): Undefine.
  46349. (__ASSUME_REQUEUE_PI): Likewise.
  46350. (__ASSUME_SET_ROBUST_LIST): Likewise.
  46351. * sysdeps/unix/sysv/linux/m68k/kernel-features.h
  46352. [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
  46353. Undefine.
  46354. * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
  46355. [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
  46356. Likewise.
  46357. [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
  46358. Likewise.
  46359. [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
  46360. Likewise.
  46361. * sysdeps/unix/sysv/linux/mips/kernel-features.h
  46362. [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
  46363. Undefine.
  46364. [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
  46365. [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
  46366. Likewise.
  46367. [BZ #16648]
  46368. * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
  46369. [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
  46370. * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
  46371. 2014-03-31 Will Newton <will.newton@linaro.org>
  46372. * benchtests/Makefile (bench): Add ffs and ffsll to list
  46373. of tests.
  46374. * benchtests/ffs-inputs: New file.
  46375. * benchtests/ffsll-inputs: Likewise.
  46376. 2014-03-29 Joseph Myers <joseph@codesourcery.com>
  46377. [BZ #16770]
  46378. * math/e_scalb.c (__ieee754_scalb): Check second argument is not
  46379. too large before casting to int.
  46380. * math/e_scalbf.c (__ieee754_scalbf): Likewise.
  46381. * math/e_scalbl.c (__ieee754_scalbl): Likewise.
  46382. * math/libm-test.inc (scalb_test_data): Add more tests.
  46383. 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
  46384. * benchtests/Makefile (DETAILED_OPT): New make option.
  46385. (bench-func): Run benchmark program with -d if DETAILED_OPT is
  46386. set.
  46387. * benchtests/bench-skeleton.c: Include stdbool.h.
  46388. (main): Store and print timings per input.
  46389. * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
  46390. member to each argument value.
  46391. (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
  46392. (_print_arg_data): Initialize per-input timing to 0.
  46393. * benchtests/Makefile (timing-type): New binary.
  46394. (bench-clean): Also remove bench-timing-type.
  46395. (bench): New target for timing-type.
  46396. (bench-func): Print output in JSON format.
  46397. * benchtests/bench-skeleton.c (main): Print output in JSON
  46398. format.
  46399. * benchtests/bench-timing-type.c: New file.
  46400. * benchtests/bench-timing.h (TIMING_TYPE): New macro.
  46401. (TIMING_PRINT_STATS): Remove.
  46402. * benchtests/scripts/bench.py (_print_arg_data): Store variant
  46403. name separately.
  46404. * benchtests/bench-modf.c: Remove.
  46405. * benchtests/modf-inputs: New inputs file.
  46406. 2014-03-28 Joseph Myers <joseph@codesourcery.com>
  46407. [BZ #16362]
  46408. * math/s_clog10.c (M_PI_LOG10E): New macro.
  46409. (__clog10): Use M_PI_LOG10E instead of M_PI when real and
  46410. imaginary parts are 0.
  46411. * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
  46412. (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
  46413. imaginary parts are 0.
  46414. * math/s_clog10l.c (M_PI_LOG10El): New macro.
  46415. (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
  46416. imaginary parts are 0.
  46417. * math/libm-test.inc (clog10_test_data): Update expected results
  46418. for when real and imaginary parts are 0.
  46419. 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
  46420. * elf/dl-load.c: Finish conversion of __builtin_expect into
  46421. __glibc_{un}likely.
  46422. 2014-03-27 Joseph Myers <joseph@codesourcery.com>
  46423. [BZ #16348]
  46424. * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
  46425. 1+x for argument with exponent below -67.
  46426. * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
  46427. Likewise.
  46428. * math/auto-libm-test-in: Add more tests of exp.
  46429. * math/auto-libm-test-out: Regenerated.
  46430. 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
  46431. [BZ #16759]
  46432. * inet/getnetgrent_r.c (get_nonempty_val): New function.
  46433. (nscd_getnetgrent): Use it.
  46434. [BZ #16760]
  46435. * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
  46436. of stpcpy.
  46437. 2014-03-27 Andi Kleen <ak@linux.intel.com>
  46438. * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
  46439. (lll_robust_lock, lll_cond_lock, lll_timedlock)
  46440. (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
  46441. (lll_robust_unlock): Remove out of line section. Use cfi
  46442. intrinsics.
  46443. (LLL_STUB_UNWIND_INFO*): Remove.
  46444. * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
  46445. (lll_robust_lock, lll_cond_lock, lll_timedlock)
  46446. (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
  46447. (lll_robust_unlock): Remove out of line section. Use cfi
  46448. intrinsics.
  46449. (LLL_STUB_UNWIND_INFO*): Remove.
  46450. 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
  46451. [BZ #16758]
  46452. * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
  46453. blank values.
  46454. 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
  46455. * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
  46456. 2014-03-26 Joseph Myers <joseph@codesourcery.com>
  46457. [BZ #16198]
  46458. * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
  46459. fnstenv.
  46460. * math/test-fenv-preserve.c: New file.
  46461. * math/Makefile (tests): Add test-fenv-preserve.
  46462. 2014-03-26 Will Newton <will.newton@linaro.org>
  46463. * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
  46464. 2014-03-25 Roland McGrath <roland@hack.frob.com>
  46465. * scripts/versionlist.awk: Partition the version sets and emit all
  46466. GLIBC_* (sorted) before all others (sorted).
  46467. 2014-03-25 Joseph Myers <joseph@codesourcery.com>
  46468. * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
  46469. GLIBC_2.2.5 version.
  46470. 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  46471. * scripts/localplt.awk: Check for PLT generated by internal IFUNC
  46472. calls.
  46473. * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
  46474. previous change.
  46475. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  46476. 2014-03-25 Andreas Schwab <schwab@suse.de>
  46477. * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
  46478. label to be used after in6ailist is initialized.
  46479. 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  46480. * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
  46481. (__PTHREAD_MUTEX_HAVE_ELISION): New define.
  46482. 2014-03-25 Joseph Myers <joseph@codesourcery.com>
  46483. [BZ #16357]
  46484. [BZ #16599]
  46485. * math/gen-auto-libm-tests.c (fp_format_desc): Add field
  46486. min_plus_half.
  46487. (fp_formats): Update initializers.
  46488. (init_fp_formats): Initialize new field.
  46489. (output_for_one_input_case): Allow underflow for results up to
  46490. min_plus_half.
  46491. * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
  46492. * math/auto-libm-test-in: Don't mark some underflows from asin and
  46493. atanh as spurious.
  46494. * math/auto-libm-test-out: Regenerated.
  46495. * sysdeps/i386/fpu/libm-test-ulps: Update.
  46496. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  46497. 2014-03-25 Andreas Schwab <schwab@suse.de>
  46498. * libio/Makefile (tst-ftell-partial-wide-ENV)
  46499. (tst-ftell-active-handler-ENV): Define.
  46500. 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
  46501. * NEWS: Add 16712, 16713, 16714 to fixed bug list.
  46502. 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
  46503. * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
  46504. 2014-03-24 Joseph Myers <joseph@codesourcery.com>
  46505. * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
  46506. * sysdeps/x86_64/fpu/multiarch/e_exp.c
  46507. [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
  46508. 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
  46509. [BZ #16634]
  46510. * elf/dl-load.c (open_verify): Add mode parameter.
  46511. Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
  46512. (open_path): Change from boolean 'secure' to complete flag 'mode'
  46513. (_dl_map_object): Adjust.
  46514. * elf/Makefile (tests): Add tst-dlopen-aout.
  46515. * elf/tst-dlopen-aout.c: New test.
  46516. 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
  46517. [BZ #16714]
  46518. * sysdeps/unix/sysv/linux/s390/bits/stat.h
  46519. (struct stat): Rename member pad0 to __glibc_reserved0.
  46520. [BZ #16712]
  46521. * sysdeps/s390/s390-32/bits/wordsize.h
  46522. (__WORDSIZE32_SIZE_ULONG): New define.
  46523. * sysdeps/s390/s390-64/bits/wordsize.h
  46524. (__WORDSIZE32_SIZE_ULONG): Likewise.
  46525. * sysdeps/generic/stdint.h (SIZE_MAX):
  46526. Define as UL if __WORDSIZE32_SIZE_ULONG.
  46527. [BZ #16713]
  46528. * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
  46529. (__glibc_reserved0): New variable.
  46530. (sa_flags): Change type to int.
  46531. * posix/Makefile (before-compile): Use += before-compile instead
  46532. of a :=.
  46533. * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
  46534. (__PTHREAD_MUTEX_HAVE_ELISION): New define.
  46535. 2014-03-20 Andreas Schwab <schwab@suse.de>
  46536. [BZ #16743]
  46537. * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
  46538. non-matching result from nscd.
  46539. 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
  46540. * scripts/bench.py: Moved to ...
  46541. * benchtests/scripts/bench.py: ... here.
  46542. * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
  46543. 2014-03-24 Andreas Schwab <schwab@suse.de>
  46544. [BZ #16002]
  46545. * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
  46546. alloca_account and account alloca use for struct in6ailist.
  46547. 2014-03-24 Joseph Myers <joseph@codesourcery.com>
  46548. [BZ #16284]
  46549. * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
  46550. rounding mode to recompute results that overflow to infinity or
  46551. underflow to zero.
  46552. * math/auto-libm-test-in: Don't mark tests as expected to fail for
  46553. bug 16284.
  46554. * math/auto-libm-test-out: Regenerated.
  46555. * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
  46556. (ccosh_test): Likewise.
  46557. (csin_test_data): Use plus_oflow.
  46558. (csin_test): Use ALL_RM_TEST.
  46559. (csinh_test_data): Use plus_oflow.
  46560. (csinh_test): Use ALL_RM_TEST.
  46561. * sysdeps/i386/fpu/libm-test-ulps: Update.
  46562. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  46563. 2014-03-21 Joseph Myers <joseph@codesourcery.com>
  46564. * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
  46565. * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
  46566. * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
  46567. [BZ #16731]
  46568. * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
  46569. when x - 1 is zero.
  46570. * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
  46571. * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
  46572. * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
  46573. * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
  46574. argument is 1.
  46575. * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
  46576. * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
  46577. zero.
  46578. * math/libm-test.inc (log_test): Use ALL_RM_TEST.
  46579. * sysdeps/i386/fpu/libm-test-ulps: Update.
  46580. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  46581. 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
  46582. * scripts/bench.pl: Remove file.
  46583. * scripts/bench.py: New benchmark script.
  46584. * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
  46585. * benchtests/README: Mention python dependency.
  46586. * scripts/pylintrc: New file.
  46587. * scripts/pylint: New file.
  46588. * bits/mathdef.h: Use #ifdef instead of #if.
  46589. * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
  46590. _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
  46591. * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
  46592. _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
  46593. * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
  46594. _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
  46595. 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  46596. Vidya Ranganathan <vidya@linux.vnet.ibm.com>
  46597. * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
  46598. * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
  46599. and strpbrk-ppc64 objects.
  46600. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  46601. (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
  46602. * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
  46603. multiarch strpbrk for POWER7.
  46604. * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
  46605. multiarch strpbrk for PPC64.
  46606. * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
  46607. ifunc selector.
  46608. * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
  46609. strpbrk for POWER7.
  46610. 2014-03-20 Joseph Myers <joseph@codesourcery.com>
  46611. * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
  46612. (atan_test): Likewise.
  46613. (atanh_test_data): Use NO_TEST_INLINE for two tests.
  46614. (atanh_test): Use ALL_RM_TEST.
  46615. (atan2_test_data): Likewise.
  46616. (cabs_test): Likewise.
  46617. (cacosh_test): Likewise.
  46618. (carg_test): Likewise.
  46619. (casin_test): Likewise.
  46620. (casinh_test): Likewise.
  46621. (cbrt_test): Likewise.
  46622. (csqrt_test): Likewise.
  46623. (erf_test): Likewise.
  46624. (erfc_test): Likewise.
  46625. (pow10_test): Likewise.
  46626. (exp2_test): Likewise.
  46627. (hypot_test): Likewise.
  46628. (j0_test): Likewise.
  46629. (j1_test): Likewise.
  46630. (lgamma_test): Likewise.
  46631. (gamma_test): Likewise.
  46632. (sincos_test): Likewise.
  46633. (tanh_test): Likewise.
  46634. (y0_test): Likewise.
  46635. (y1_test): Likewise.
  46636. * sysdeps/i386/fpu/libm-test-ulps: Update.
  46637. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  46638. 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  46639. * string/strcspn.c (strcspn): Using macro to redefine symbol name.
  46640. * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
  46641. and strcspn-ppc64 objects.
  46642. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  46643. (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
  46644. * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
  46645. multiarch strcspn for POWER7.
  46646. * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
  46647. multiarch strcspn for PPC64.
  46648. * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
  46649. ifunc selector.
  46650. * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
  46651. strcspn for POWER7.
  46652. 2014-03-20 Joseph Myers <joseph@codesourcery.com>
  46653. * math/gen-libm-test.pl (generate_testfile): Expect only function
  46654. name as argument to AUTO_TESTS_* and pass results for all rounding
  46655. modes to parse_args.
  46656. (parse_auto_input): Separate inputs of automatic tests from
  46657. outputs before storing in %auto_tests.
  46658. * math/libm-test.inc (acos_test_data): Update call to
  46659. AUTO_TESTS_f_f.
  46660. (acos_test): Use ALL_RM_TEST.
  46661. (acos_tonearest_test_data): Remove.
  46662. (acos_test_tonearest): Likewise.
  46663. (acos_towardzero_test_data): Likewise.
  46664. (acos_test_towardzero): Likewise.
  46665. (acos_downward_test_data): Likewise.
  46666. (acos_test_downward): Likewise.
  46667. (acos_upward_test_data): Likewise.
  46668. (acos_test_upward): Likewise.
  46669. (acosh_test_data): Update call to AUTO_TESTS_f_f.
  46670. (asin_test_data): Likewise.
  46671. (asin_test): Use ALL_RM_TEST.
  46672. (asin_tonearest_test_data): Remove.
  46673. (asin_test_tonearest): Likewise.
  46674. (asin_towardzero_test_data): Likewise.
  46675. (asin_test_towardzero): Likewise.
  46676. (asin_downward_test_data): Likewise.
  46677. (asin_test_downward): Likewise.
  46678. (asin_upward_test_data): Likewise.
  46679. (asin_test_upward): Likewise.
  46680. (asinh_test_data): Update call to AUTO_TESTS_f_f.
  46681. (atan_test_data): Likewise.
  46682. (atanh_test_data): Likewise.
  46683. (atan2_test_data): Update call to AUTO_TESTS_ff_f.
  46684. (cabs_test_data): Update call to AUTO_TESTS_c_f.
  46685. (carg_test_data): Likewise.
  46686. (cbrt_test_data): Update call to AUTO_TESTS_f_f.
  46687. (ccos_test_data): Update call to AUTO_TESTS_c_c.
  46688. (ccosh_test_data): Likewise.
  46689. (cexp_test_data): Likewise.
  46690. (clog_test_data): Likewise.
  46691. (clog10_test_data): Likewise.
  46692. (cos_test_data): Update call to AUTO_TESTS_f_f.
  46693. (cos_test): Use ALL_RM_TEST.
  46694. (cos_tonearest_test_data): Remove.
  46695. (cos_test_tonearest): Likewise.
  46696. (cos_towardzero_test_data): Likewise.
  46697. (cos_test_towardzero): Likewise.
  46698. (cos_downward_test_data): Likewise.
  46699. (cos_test_downward): Likewise.
  46700. (cos_upward_test_data): Likewise.
  46701. (cos_test_upward): Likewise.
  46702. (cosh_test_data): Update call to AUTO_TESTS_f_f.
  46703. (cosh_test): Use ALL_RM_TEST.
  46704. (cosh_tonearest_test_data): Remove.
  46705. (cosh_test_tonearest): Likewise.
  46706. (cosh_towardzero_test_data): Likewise.
  46707. (cosh_test_towardzero): Likewise.
  46708. (cosh_downward_test_data): Likewise.
  46709. (cosh_test_downward): Likewise.
  46710. (cosh_upward_test_data): Likewise.
  46711. (cosh_test_upward): Likewise.
  46712. (cpow_test_data): Update call to AUTO_TESTS_cc_c.
  46713. (csqrt_test_data): Update call to AUTO_TESTS_c_c.
  46714. (ctan_test_data): Likewise.
  46715. (ctan_test): Use ALL_RM_TEST.
  46716. (ctan_tonearest_test_data): Remove.
  46717. (ctan_test_tonearest): Likewise.
  46718. (ctan_towardzero_test_data): Likewise.
  46719. (ctan_test_towardzero): Likewise.
  46720. (ctan_downward_test_data): Likewise.
  46721. (ctan_test_downward): Likewise.
  46722. (ctan_upward_test_data): Likewise.
  46723. (ctan_test_upward): Likewise.
  46724. (ctanh_test_data): Update call to AUTO_TESTS_c_c.
  46725. (ctanh_test): Use ALL_RM_TEST.
  46726. (ctanh_tonearest_test_data): Remove.
  46727. (ctanh_test_tonearest): Likewise.
  46728. (ctanh_towardzero_test_data): Likewise.
  46729. (ctanh_test_towardzero): Likewise.
  46730. (ctanh_downward_test_data): Likewise.
  46731. (ctanh_test_downward): Likewise.
  46732. (ctanh_upward_test_data): Likewise.
  46733. (ctanh_test_upward): Likewise.
  46734. (erf_test_data): Update call to AUTO_TESTS_f_f.
  46735. (erfc_test_data): Likewise.
  46736. (exp_test_data): Likewise.
  46737. (exp_test): Use ALL_RM_TEST.
  46738. (exp_tonearest_test_data): Remove.
  46739. (exp_test_tonearest): Likewise.
  46740. (exp_towardzero_test_data): Likewise.
  46741. (exp_test_towardzero): Likewise.
  46742. (exp_downward_test_data): Likewise.
  46743. (exp_test_downward): Likewise.
  46744. (exp_upward_test_data): Likewise.
  46745. (exp_test_upward): Likewise.
  46746. (exp10_test_data): Update call to AUTO_TESTS_f_f.
  46747. (exp10_test): Use ALL_RM_TEST.
  46748. (exp10_tonearest_test_data): Remove.
  46749. (exp10_test_tonearest): Likewise.
  46750. (exp10_towardzero_test_data): Likewise.
  46751. (exp10_test_towardzero): Likewise.
  46752. (exp10_downward_test_data): Likewise.
  46753. (exp10_test_downward): Likewise.
  46754. (exp10_upward_test_data): Likewise.
  46755. (exp10_test_upward): Likewise.
  46756. (exp2_test_data): Update call to AUTO_TESTS_f_f.
  46757. (expm1_test_data): Likewise.
  46758. (expm1_test): Use ALL_RM_TEST.
  46759. (expm1_tonearest_test_data): Remove.
  46760. (expm1_test_tonearest): Likewise.
  46761. (expm1_towardzero_test_data): Likewise.
  46762. (expm1_test_towardzero): Likewise.
  46763. (expm1_downward_test_data): Likewise.
  46764. (expm1_test_downward): Likewise.
  46765. (expm1_upward_test_data): Likewise.
  46766. (expm1_test_upward): Likewise.
  46767. (fma_test_data): Update call to AUTO_TESTS_fff_f.
  46768. (fma_test): Use ALL_RM_TEST.
  46769. (fma_towardzero_test_data): Remove.
  46770. (fma_test_towardzero): Likewise.
  46771. (fma_downward_test_data): Likewise.
  46772. (fma_test_downward): Likewise.
  46773. (fma_upward_test_data): Likewise.
  46774. (fma_test_upward): Likewise.
  46775. (hypot_test_data): Update call to AUTO_TESTS_ff_f.
  46776. (j0_test_data): Update call to AUTO_TESTS_f_f.
  46777. (j1_test_data): Likewise.
  46778. (jn_test_data): Update call to AUTO_TESTS_if_f.
  46779. (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
  46780. (log_test_data): Update call to AUTO_TESTS_f_f.
  46781. (log10_test_data): Likewise.
  46782. (log1p_test_data): Likewise.
  46783. (log2_test_data): Likewise.
  46784. (pow_test_data): Update call to AUTO_TESTS_ff_f.
  46785. (pow_tonearest_test_data): Likewise.
  46786. (sin_test_data): Update call to AUTO_TESTS_f_f.
  46787. (sin_test): Use ALL_RM_TEST.
  46788. (sin_tonearest_test_data): Remove.
  46789. (sin_test_tonearest): Likewise.
  46790. (sin_towardzero_test_data): Likewise.
  46791. (sin_test_towardzero): Likewise.
  46792. (sin_downward_test_data): Likewise.
  46793. (sin_test_downward): Likewise.
  46794. (sin_upward_test_data): Likewise.
  46795. (sin_test_upward): Likewise.
  46796. (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
  46797. (sinh_test_data): Update call to AUTO_TESTS_f_f.
  46798. (sinh_test): Use ALL_RM_TEST.
  46799. (sinh_tonearest_test_data): Remove.
  46800. (sinh_test_tonearest): Likewise.
  46801. (sinh_towardzero_test_data): Likewise.
  46802. (sinh_test_towardzero): Likewise.
  46803. (sinh_downward_test_data): Likewise.
  46804. (sinh_test_downward): Likewise.
  46805. (sinh_upward_test_data): Likewise.
  46806. (sinh_test_upward): Likewise.
  46807. (sqrt_test_data): Update call to AUTO_TESTS_f_f.
  46808. (sqrt_test): Use ALL_RM_TEST.
  46809. (sqrt_tonearest_test_data): Remove.
  46810. (sqrt_test_tonearest): Likewise.
  46811. (sqrt_towardzero_test_data): Likewise.
  46812. (sqrt_test_towardzero): Likewise.
  46813. (sqrt_downward_test_data): Likewise.
  46814. (sqrt_test_downward): Likewise.
  46815. (sqrt_upward_test_data): Likewise.
  46816. (sqrt_test_upward): Likewise.
  46817. (tan_test_data): Update call to AUTO_TESTS_f_f.
  46818. (tan_test): Use ALL_RM_TEST.
  46819. (tan_tonearest_test_data): Remove.
  46820. (tan_test_tonearest): Likewise.
  46821. (tan_towardzero_test_data): Likewise.
  46822. (tan_test_towardzero): Likewise.
  46823. (tan_downward_test_data): Likewise.
  46824. (tan_test_downward): Likewise.
  46825. (tan_upward_test_data): Likewise.
  46826. (tan_test_upward): Likewise.
  46827. (tanh_test_data): Update call to AUTO_TESTS_f_f.
  46828. (tgamma_test_data): Likewise.
  46829. (y0_test_data): Likewise.
  46830. (y1_test_data): Likewise.
  46831. (yn_test_data): Update call to AUTO_TESTS_if_f.
  46832. (main): Do not call removed functions.
  46833. 2014-03-19 Joseph Myers <joseph@codesourcery.com>
  46834. * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
  46835. (ldexp_test_data): Remove.
  46836. (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
  46837. scalbn_test_data.
  46838. (scalb_test): Use ALL_RM_TEST.
  46839. 2014-03-19 Andreas Schwab <schwab@suse.de>
  46840. * nscd/nscd.service: Also invalidate netgroup cache on reload.
  46841. 2014-03-19 Joseph Myers <joseph@codesourcery.com>
  46842. [BZ #16649]
  46843. * sysdeps/unix/sysv/linux/alpha/kernel-features.h
  46844. [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
  46845. [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
  46846. * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
  46847. (__ASSUME_PREADV): Undefine.
  46848. (__ASSUME_PWRITEV): Likewise.
  46849. 2014-03-18 Roland McGrath <roland@hack.frob.com>
  46850. * bits/mman-linux.h: Add comment about non-Linux use.
  46851. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
  46852. bits/mman-linux.h resting place.
  46853. * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
  46854. * bits/mman-linux.h: ... here.
  46855. 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  46856. * conform/conformtest.pl: Add standard definition when calling C
  46857. preprocessor on data files.
  46858. (checknamespace): Remove unused variable.
  46859. 2014-03-18 Joseph Myers <joseph@codesourcery.com>
  46860. * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
  46861. minus_oflow, plus_uflow and minus_uflow in expected results.
  46862. * math/libm-test.inc (scalbn_test_data): Add more tests of
  46863. negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
  46864. minus_uflow.
  46865. (scalbn_test): Use ALL_RM_TEST.
  46866. (scalbln_test_data): Add more tests of negative arguments. Use
  46867. plus_oflow, minus_oflow, plus_uflow and minus_uflow.
  46868. (scalbln_test): Use ALL_RM_TEST.
  46869. 2014-03-18 Roland McGrath <roland@hack.frob.com>
  46870. * scripts/abilist.awk: Ignore symbols marked with .hidden.
  46871. 2014-03-18 Will Newton <will.newton@linaro.org>
  46872. * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
  46873. inaccurate comment.
  46874. 2014-03-18 Joseph Myers <joseph@codesourcery.com>
  46875. * Makerules [!subdir] (check-abi): Exit with error status if a
  46876. test failed.
  46877. 2014-03-17 Joseph Myers <joseph@codesourcery.com>
  46878. * math/libm-test.inc (nearbyint_test_data): Include all tests used
  46879. for rint. Include results for all rounding modes.
  46880. (nearbyint_test): Use ALL_RM_TEST.
  46881. (rint_test_data): Include all tests used for nearbyint.
  46882. 2014-03-17 Will Newton <will.newton@linaro.org>
  46883. * nptl/sysdeps/pthread/pthread.h: Revert previous
  46884. change.
  46885. * sysdeps/generic/ldsodefs.h: Revert previous
  46886. change.
  46887. * libio/genops.c: Revert previous change.
  46888. * libio/libioP.h: Likewise.
  46889. * stdio-common/vfprintf.c: Likewise.
  46890. * sysdeps/generic/math_private.h: Revert previous
  46891. change.
  46892. * sysdeps/generic/math_private.h: Check whether
  46893. HAVE_RM_CTX is defined with #ifdef rather
  46894. than #if.
  46895. * argp/argp-fmtstream.h: Check whether
  46896. __STRICT_ANSI__ is defined with #ifdef rather
  46897. than #if.
  46898. * argp/argp.h: Likewise.
  46899. * libio/genops.c: Check whether
  46900. _IO_JUMPS_OFFSET is defined with #ifdef rather
  46901. than #if.
  46902. * libio/libioP.h: Likewise.
  46903. * stdio-common/vfprintf.c: Likewise.
  46904. * sysdeps/generic/ldsodefs.h: Check whether
  46905. HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
  46906. than #if.
  46907. * nptl/sysdeps/pthread/pthread.h: Check
  46908. __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
  46909. its value.
  46910. 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
  46911. * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
  46912. setting O_APPEND.
  46913. * libio/tst-ftell-active-handler.c (do_append_test): Add a
  46914. test case.
  46915. [BZ #16680]
  46916. * libio/fileops.c (_IO_file_open): Seek to end of file but
  46917. don't cache the offset.
  46918. (get_file_offset): Remove function.
  46919. (do_ftell): Use cached offset when available.
  46920. * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
  46921. don't cache the offset.
  46922. * libio/tst-ftell-active-handler.c (do_rewind_test): New test
  46923. case.
  46924. (do_one_test): Call it.
  46925. (do_ftell_test): Fix up expected old offset for a+ mode.
  46926. * libio/wfileops.c (do_ftell_wide): Used cached offset when
  46927. available.
  46928. * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
  46929. up test status with function return status.
  46930. (do_write_test): Likewise.
  46931. (do_append_test): Likewise.
  46932. * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
  46933. && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
  46934. Remove.
  46935. 2014-03-17 Joseph Myers <joseph@codesourcery.com>
  46936. * math/gen-libm-test.pl (parse_args): Handle results specified for
  46937. each rounding mode separately.
  46938. * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
  46939. tests and results from lrint_tonearest_test_data,
  46940. lrint_towardzero_test_data, lrint_downward_test_data and
  46941. lrint_upward_test_data.
  46942. (lrint_test): Use ALL_RM_TEST.
  46943. (lrint_tonearest_test_data): Remove.
  46944. (lrint_test_tonearest): Likewise.
  46945. (lrint_towardzero_test_data): Likewise.
  46946. (lrint_test_towardzero): Likewise.
  46947. (lrint_downward_test_data): Likewise.
  46948. (lrint_test_downward): Likewise.
  46949. (lrint_upward_test_data): Likewise.
  46950. (lrint_test_upward): Likewise.
  46951. (llrint_test_data): Merge in per-rounding-mode tests and results
  46952. from llrint_tonearest_test_data, llrint_towardzero_test_data,
  46953. llrint_downward_test_data and llrint_upward_test_data.
  46954. (llrint_test): Use ALL_RM_TEST.
  46955. (llrint_tonearest_test_data): Remove.
  46956. (llrint_test_tonearest): Likewise.
  46957. (llrint_towardzero_test_data): Likewise.
  46958. (llrint_test_towardzero): Likewise.
  46959. (llrint_downward_test_data): Likewise.
  46960. (llrint_test_downward): Likewise.
  46961. (llrint_upward_test_data): Likewise.
  46962. (llrint_test_upward): Likewise.
  46963. (rint_test_data): Merge in per-rounding-mode tests and results
  46964. from rint_tonearest_test_data, rint_towardzero_test_data,
  46965. rint_downward_test_data and rint_upward_test_data. Add
  46966. per-rounding-mode results for tests not in those arrays.
  46967. (rint_test): Use ALL_RM_TEST.
  46968. (rint_tonearest_test_data): Remove.
  46969. (rint_test_tonearest): Likewise.
  46970. (rint_towardzero_test_data): Likewise.
  46971. (rint_test_towardzero): Likewise.
  46972. (rint_downward_test_data): Likewise.
  46973. (rint_test_downward): Likewise.
  46974. (rint_upward_test_data): Likewise.
  46975. (rint_test_upward): Likewise.
  46976. (main): Don't call removed functions.
  46977. 2014-03-14 Roland McGrath <roland@hack.frob.com>
  46978. * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
  46979. "Compiled on ..." crapola. It is anti-useful.
  46980. 2014-03-14 Joseph Myers <joseph@codesourcery.com>
  46981. * scripts/evaluate-test.sh: Handle fourth argument to determine
  46982. whether test run should stop on failure.
  46983. * Makeconfig (stop-on-test-failure): New variable.
  46984. (evaluate-test): Pass fourth argument to evaluate-test.sh based on
  46985. $(stop-on-test-failure).
  46986. * Makefile (tests): Give a summary of results from testing and
  46987. exit with failure status if they include an ERROR or FAIL.
  46988. (xtests): Likewise.
  46989. * manual/install.texi (Configuring and compiling): Mention
  46990. stop-on-test-failure=y.
  46991. * INSTALL: Regenerated.
  46992. 2014-03-14 Roland McGrath <roland@hack.frob.com>
  46993. * scripts/versionlist.awk: New file.
  46994. * Makerules [$(build-shared) = yes]
  46995. (postclean-generated): Add Versions.def, not Versions.def.v and
  46996. Versions.def.v.i.
  46997. ($(common-objpfx)Versions.def.v.i): Target removed.
  46998. ($(common-objpfx)Versions.def): New target.
  46999. ($(common-objpfx)Versions.all): Depend on that rather that
  47000. $(common-objpfx)Versions.def.v.
  47001. * Versions.def: File removed.
  47002. * Makeconfig (+gccwarn): Add -Wundef.
  47003. * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
  47004. a dl-sysdep.h breaking its contract.
  47005. [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
  47006. * include/stackinfo.h: New file.
  47007. * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
  47008. * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
  47009. * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
  47010. * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
  47011. * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
  47012. * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
  47013. * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
  47014. * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
  47015. * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
  47016. * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
  47017. * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
  47018. * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
  47019. * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
  47020. * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
  47021. * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
  47022. 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  47023. [BZ #16707]
  47024. * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
  47025. implementation.
  47026. * math/libm-test.inc (round_test_data): Add more tests.
  47027. [BZ #16706]
  47028. * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
  47029. implementation.
  47030. * math/libm-test.inc (nearbyint_test_data): Add more tests.
  47031. [BZ #16701]
  47032. * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
  47033. implementation.
  47034. * math/libm-test.inc (ceil_test_data): Add more tests.
  47035. * math/libm-test.inc (trunc_test_data): Add more tests related to
  47036. BZ#16414.
  47037. 2014-03-14 Roland McGrath <roland@hack.frob.com>
  47038. * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
  47039. with #if rather than #ifdef.
  47040. * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
  47041. 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
  47042. * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
  47043. first. Disable AVX-512 GCC support if assembler doesn't support
  47044. it.
  47045. * sysdeps/x86_64/configure: Regenerated.
  47046. 2014-03-13 Carlos O'Donell <carlos@redhat.com>
  47047. * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
  47048. [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
  47049. (__old_pthread_attr_setstack): Likewise.
  47050. * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
  47051. [!_STACK_GROWS_DOWN]: Likewise.
  47052. 2014-03-13 Mike Frysinger <vapier@gentoo.org>
  47053. * config.make.in (have-bash2): Delete.
  47054. * configure.ac (libc_cv_have_bash2): Delete.
  47055. * configure: Regenerate.
  47056. * elf/Makefile (common-ldd-rewrite): Rename to ...
  47057. (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
  47058. (sh-ldd-rewrite): Delete.
  47059. (bash-ldd-rewrite): Delete.
  47060. (have-bash2): Delete checks.
  47061. [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
  47062. ldd-rewrite.
  47063. * config.make.in (have-ksh): Delete.
  47064. (KSH): Delete.
  47065. * configure.ac (libc_cv_have_ksh): Delete.
  47066. * configure: Regenerate.
  47067. * elf/Makefile: Delete $(have-ksh) check.
  47068. ($(objpfx)sotruss): Change KSH to BASH.
  47069. * elf/sotruss.ksh: Rename to ...
  47070. * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
  47071. function style to match POSIX. Drop ksh vim mode setting.
  47072. * manual/time.texi (Specifying the Time Zone with TZ): Change
  47073. Tuesday to Thursday.
  47074. * debug/tst-longjmp_chk2.c: Update header comment.
  47075. (stackoverflow_handler): Add comment. Call assert on pass value.
  47076. 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
  47077. [BZ #16194]
  47078. * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
  47079. (HAVE_AVX512_ASM_SUPPORT): Likewise.
  47080. * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
  47081. (La_x86_64_vector): Add zmm.
  47082. * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
  47083. (modules-names): Add tst-auditmod10a and tst-auditmod10b.
  47084. ($(objpfx)tst-audit10): New target.
  47085. ($(objpfx)tst-audit10.out): Likewise.
  47086. (tst-audit10-ENV): New.
  47087. (AVX512-CFLAGS): Likewise.
  47088. (CFLAGS-tst-audit10.c): Likewise.
  47089. (CFLAGS-tst-auditmod10a.c): Likewise.
  47090. (CFLAGS-tst-auditmod10b.c): Likewise.
  47091. * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
  47092. HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
  47093. * sysdeps/x86_64/configure: Regenerated.
  47094. * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
  47095. AVX-512 zmm register support.
  47096. (_dl_x86_64_save_sse): Likewise.
  47097. (_dl_x86_64_restore_sse): Likewise.
  47098. * sysdeps/x86_64/dl-trampoline.h: Updated to support different
  47099. size vector registers.
  47100. * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
  47101. (ZMM_SIZE): Likewise.
  47102. * sysdeps/x86_64/tst-audit10.c: New file.
  47103. * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
  47104. * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
  47105. 2014-03-13 Roland McGrath <roland@hack.frob.com>
  47106. * configure.ac (HAVE_EHDR_START): New check.
  47107. * configure: Regenerated.
  47108. * config.h.in (HAVE_EHDR_START): New #undef.
  47109. * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
  47110. assuming the lowest-addressed segment maps the start of the file.
  47111. 2014-03-13 Joseph Myers <joseph@codesourcery.com>
  47112. * INSTALL: Regenerated.
  47113. 2014-03-13 Will Newton <will.newton@linaro.org>
  47114. * manual/setjmp.texi (System V contexts): Improve
  47115. clarity and grammar of documentation.
  47116. 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
  47117. [BZ #16381]
  47118. * elf/Makefile (tests): Add tst-pie2.
  47119. (tests-pie): Add tst-pie2.
  47120. * elf/tst-pie2.c: New file.
  47121. * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
  47122. for ET_EXEC.
  47123. * elf/rtld.c (map_doit): Load executable as lt_executable.
  47124. (dl_main): Likewise.
  47125. 2014-03-12 Joseph Myers <joseph@codesourcery.com>
  47126. [BZ #16642]
  47127. * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
  47128. (__ASSUME_PSELECT): Undefine.
  47129. 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  47130. [BZ #16689]
  47131. * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
  47132. (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
  47133. static build.
  47134. * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
  47135. selector for static builds.
  47136. 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
  47137. [BZ #16695]
  47138. * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
  47139. key in the buffer.
  47140. 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  47141. * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
  47142. IFUNC selector for static builds.
  47143. 2014-03-11 Joseph Myers <joseph@codesourcery.com>
  47144. * sysdeps/mips/math_private.h [__mips_hard_float]
  47145. (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
  47146. libc_feresetround_mips_ctx.
  47147. [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
  47148. [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
  47149. [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
  47150. [BZ #16677]
  47151. * math/s_nextafter.c (__nextafter): Do not return value from
  47152. overflowing computation.
  47153. * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
  47154. * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
  47155. * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
  47156. Likewise.
  47157. * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
  47158. Likewise.
  47159. * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
  47160. * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
  47161. 2014-03-11 Roland McGrath <roland@hack.frob.com>
  47162. * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
  47163. * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
  47164. Move sfi_sp use from the load-multiple (that no longer sets sp) to
  47165. the new mov targetting sp.
  47166. 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  47167. [BZ #16683]
  47168. * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
  47169. Define it for static builds as well.
  47170. (NO_BZERO_IMPL): Likewise.
  47171. 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
  47172. * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
  47173. * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
  47174. multiarch strspn for PPC64.
  47175. * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
  47176. * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
  47177. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
  47178. (__libc_ifunc_impl_list): Likewise.
  47179. * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
  47180. multiarch optimizations
  47181. * string/strspn.c (strspn): Using macro to redefine symbol name.
  47182. 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
  47183. Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  47184. * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
  47185. * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
  47186. multiarch strncat for PPC64.
  47187. * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
  47188. * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
  47189. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
  47190. (__libc_ifunc_impl_list): Likewise.
  47191. * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
  47192. multiarch optimizations
  47193. 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
  47194. [BZ #16639]
  47195. * nscd/nscd.service: Make service type forking.
  47196. 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  47197. * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
  47198. sign in non default rounding modes.
  47199. * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
  47200. 2014-03-08 Joseph Myers <joseph@codesourcery.com>
  47201. * math/libm-test.inc (ALL_RM_TEST): New macro.
  47202. (ceil_test): Use ALL_RM_TEST.
  47203. (cimag_test): Likewise.
  47204. (conj_test): Likewise.
  47205. (copysign_test): Likewise.
  47206. (cproj_test): Likewise.
  47207. (creal_test): Likewise.
  47208. (fabs_test): Likewise.
  47209. (floor_test): Likewise.
  47210. (fmax_test): Likewise.
  47211. (fmin_test): Likewise.
  47212. (fmod_test): Likewise.
  47213. (fpclassify_test): Likewise.
  47214. (frexp_test): Likewise.
  47215. (ilogb_test): Likewise.
  47216. (isfinite_test): Likewise.
  47217. (finite_test): Likewise.
  47218. (isgreater_test): Likewise.
  47219. (isgreaterequal_test): Likewise.
  47220. (isinf_test): Likewise.
  47221. (isless_test): Likewise.
  47222. (islessequal_test): Likewise.
  47223. (islessgreater_test): Likewise.
  47224. (isnan_test): Likewise.
  47225. (isnormal_test): Likewise.
  47226. (issignaling_test): Likewise.
  47227. (isunordered_test): Likewise.
  47228. (logb_test): Likewise.
  47229. (logb_downward_test_data): Remove.
  47230. (logb_test_downward): Likewise.
  47231. (lround_test): Use ALL_RM_TEST.
  47232. (llround_test): Likewise.
  47233. (modf_test): Likewise.
  47234. (nexttoward_test): Likewise.
  47235. (remainder_test): Likewise.
  47236. (drem_test): Likewise.
  47237. (remainder_tonearest_test_data): Likewise.
  47238. (remainder_test_tonearest): Likewise.
  47239. (drem_test_tonearest): Likewise.
  47240. (remainder_towardzero_test_data): Likewise.
  47241. (remainder_test_towardzero): Likewise.
  47242. (drem_test_towardzero): Likewise.
  47243. (remainder_downward_test_data): Likewise.
  47244. (remainder_test_downward): Likewise.
  47245. (drem_test_downward): Likewise.
  47246. (remainder_upward_test_data): Likewise.
  47247. (remainder_test_upward): Likewise.
  47248. (drem_test_upward): Likewise.
  47249. (remquo_test): Use ALL_RM_TEST. Remove comment about x.
  47250. (round_test): Use ALL_RM_TEST.
  47251. (signbit_test): Likewise.
  47252. (trunc_test): Likewise.
  47253. (significand_test): Likewise.
  47254. (main): Don't call removed functions.
  47255. 2014-03-07 Joseph Myers <joseph@codesourcery.com>
  47256. [BZ #16674]
  47257. * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
  47258. || __USE_XOPEN2K8].
  47259. (ILL_ILLOPN): Likewise.
  47260. (ILL_ILLADR): Likewise.
  47261. (ILL_ILLTRP): Likewise.
  47262. (ILL_PRVOPC): Likewise.
  47263. (ILL_PRVREG): Likewise.
  47264. (ILL_COPROC): Likewise.
  47265. (ILL_BADSTK): Likewise.
  47266. (FPE_INTDIV): Likewise.
  47267. (FPE_INTOVF): Likewise.
  47268. (FPE_FLTDIV): Likewise.
  47269. (FPE_FLTOVF): Likewise.
  47270. (FPE_FLTUND): Likewise.
  47271. (FPE_FLTRES): Likewise.
  47272. (FPE_FLTINV): Likewise.
  47273. (FPE_FLTSUB): Likewise.
  47274. (SEGV_MAPERR): Likewise.
  47275. (SEGV_ACCERR): Likewise.
  47276. (BUS_ADRALN): Likewise.
  47277. (BUS_ADRERR): Likewise.
  47278. (BUS_OBJERR): Likewise.
  47279. (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
  47280. (TRAP_TRACE): Likewise.
  47281. (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
  47282. __USE_XOPEN2K8].
  47283. (CLD_KILLED): Likewise.
  47284. (CLD_DUMPED): Likewise.
  47285. (CLD_TRAPPED): Likewise.
  47286. (CLD_STOPPED): Likewise.
  47287. (CLD_CONTINUED): Likewise.
  47288. (POLL_IN): Likewise.
  47289. (POLL_OUT): Likewise.
  47290. (POLL_MSG): Likewise.
  47291. (POLL_ERR): Likewise.
  47292. (POLL_PRI): Likewise.
  47293. (POLL_HUP): Likewise.
  47294. * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
  47295. Likewise.
  47296. (ILL_ILLOPN): Likewise.
  47297. (ILL_ILLADR): Likewise.
  47298. (ILL_ILLTRP): Likewise.
  47299. (ILL_PRVOPC): Likewise.
  47300. (ILL_PRVREG): Likewise.
  47301. (ILL_COPROC): Likewise.
  47302. (ILL_BADSTK): Likewise.
  47303. (FPE_INTDIV): Likewise.
  47304. (FPE_INTOVF): Likewise.
  47305. (FPE_FLTDIV): Likewise.
  47306. (FPE_FLTOVF): Likewise.
  47307. (FPE_FLTUND): Likewise.
  47308. (FPE_FLTRES): Likewise.
  47309. (FPE_FLTINV): Likewise.
  47310. (FPE_FLTSUB): Likewise.
  47311. (SEGV_MAPERR): Likewise.
  47312. (SEGV_ACCERR): Likewise.
  47313. (BUS_ADRALN): Likewise.
  47314. (BUS_ADRERR): Likewise.
  47315. (BUS_OBJERR): Likewise.
  47316. (BUS_MCEERR_AR): Likewise.
  47317. (BUS_MCEERR_AO): Likewise.
  47318. (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
  47319. (TRAP_TRACE): Likewise.
  47320. (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
  47321. __USE_XOPEN2K8].
  47322. (CLD_KILLED): Likewise.
  47323. (CLD_DUMPED): Likewise.
  47324. (CLD_TRAPPED): Likewise.
  47325. (CLD_STOPPED): Likewise.
  47326. (CLD_CONTINUED): Likewise.
  47327. (POLL_IN): Likewise.
  47328. (POLL_OUT): Likewise.
  47329. (POLL_MSG): Likewise.
  47330. (POLL_ERR): Likewise.
  47331. (POLL_PRI): Likewise.
  47332. (POLL_HUP): Likewise.
  47333. * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
  47334. (ILL_ILLOPN): Likewise.
  47335. (ILL_ILLADR): Likewise.
  47336. (ILL_ILLTRP): Likewise.
  47337. (ILL_PRVOPC): Likewise.
  47338. (ILL_PRVREG): Likewise.
  47339. (ILL_COPROC): Likewise.
  47340. (ILL_BADSTK): Likewise.
  47341. (FPE_INTDIV): Likewise.
  47342. (FPE_INTOVF): Likewise.
  47343. (FPE_FLTDIV): Likewise.
  47344. (FPE_FLTOVF): Likewise.
  47345. (FPE_FLTUND): Likewise.
  47346. (FPE_FLTRES): Likewise.
  47347. (FPE_FLTINV): Likewise.
  47348. (FPE_FLTSUB): Likewise.
  47349. (SEGV_MAPERR): Likewise.
  47350. (SEGV_ACCERR): Likewise.
  47351. (BUS_ADRALN): Likewise.
  47352. (BUS_ADRERR): Likewise.
  47353. (BUS_OBJERR): Likewise.
  47354. (BUS_MCEERR_AR): Likewise.
  47355. (BUS_MCEERR_AO): Likewise.
  47356. (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
  47357. (TRAP_TRACE): Likewise.
  47358. (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
  47359. __USE_XOPEN2K8].
  47360. (CLD_KILLED): Likewise.
  47361. (CLD_DUMPED): Likewise.
  47362. (CLD_TRAPPED): Likewise.
  47363. (CLD_STOPPED): Likewise.
  47364. (CLD_CONTINUED): Likewise.
  47365. (POLL_IN): Likewise.
  47366. (POLL_OUT): Likewise.
  47367. (POLL_MSG): Likewise.
  47368. (POLL_ERR): Likewise.
  47369. (POLL_PRI): Likewise.
  47370. (POLL_HUP): Likewise.
  47371. * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
  47372. Likewise.
  47373. (ILL_ILLOPN): Likewise.
  47374. (ILL_ILLADR): Likewise.
  47375. (ILL_ILLTRP): Likewise.
  47376. (ILL_PRVOPC): Likewise.
  47377. (ILL_PRVREG): Likewise.
  47378. (ILL_COPROC): Likewise.
  47379. (ILL_BADSTK): Likewise.
  47380. (ILL_BADIADDR): Likewise.
  47381. (ILL_BREAK): Likewise.
  47382. (FPE_INTDIV): Likewise.
  47383. (FPE_INTOVF): Likewise.
  47384. (FPE_FLTDIV): Likewise.
  47385. (FPE_FLTOVF): Likewise.
  47386. (FPE_FLTUND): Likewise.
  47387. (FPE_FLTRES): Likewise.
  47388. (FPE_FLTINV): Likewise.
  47389. (FPE_FLTSUB): Likewise.
  47390. (FPE_DECOVF): Likewise.
  47391. (FPE_DECDIV): Likewise.
  47392. (FPE_DECERR): Likewise.
  47393. (FPE_INVASC): Likewise.
  47394. (FPE_INVDEC): Likewise.
  47395. (SEGV_MAPERR): Likewise.
  47396. (SEGV_ACCERR): Likewise.
  47397. (SEGV_PSTKOVF): Likewise.
  47398. (BUS_ADRALN): Likewise.
  47399. (BUS_ADRERR): Likewise.
  47400. (BUS_OBJERR): Likewise.
  47401. (BUS_MCEERR_AR): Likewise.
  47402. (BUS_MCEERR_AO): Likewise.
  47403. (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
  47404. (TRAP_TRACE): Likewise.
  47405. (TRAP_BRANCH): Likewise.
  47406. (TRAP_HWBKPT): Likewise.
  47407. (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
  47408. __USE_XOPEN2K8].
  47409. (CLD_KILLED): Likewise.
  47410. (CLD_DUMPED): Likewise.
  47411. (CLD_TRAPPED): Likewise.
  47412. (CLD_STOPPED): Likewise.
  47413. (CLD_CONTINUED): Likewise.
  47414. (POLL_IN): Likewise.
  47415. (POLL_OUT): Likewise.
  47416. (POLL_MSG): Likewise.
  47417. (POLL_ERR): Likewise.
  47418. (POLL_PRI): Likewise.
  47419. (POLL_HUP): Likewise.
  47420. * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
  47421. (ILL_ILLOPN): Likewise.
  47422. (ILL_ILLADR): Likewise.
  47423. (ILL_ILLTRP): Likewise.
  47424. (ILL_PRVOPC): Likewise.
  47425. (ILL_PRVREG): Likewise.
  47426. (ILL_COPROC): Likewise.
  47427. (ILL_BADSTK): Likewise.
  47428. (FPE_INTDIV): Likewise.
  47429. (FPE_INTOVF): Likewise.
  47430. (FPE_FLTDIV): Likewise.
  47431. (FPE_FLTOVF): Likewise.
  47432. (FPE_FLTUND): Likewise.
  47433. (FPE_FLTRES): Likewise.
  47434. (FPE_FLTINV): Likewise.
  47435. (FPE_FLTSUB): Likewise.
  47436. (SEGV_MAPERR): Likewise.
  47437. (SEGV_ACCERR): Likewise.
  47438. (BUS_ADRALN): Likewise.
  47439. (BUS_ADRERR): Likewise.
  47440. (BUS_OBJERR): Likewise.
  47441. (BUS_MCEERR_AR): Likewise.
  47442. (BUS_MCEERR_AO): Likewise.
  47443. (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
  47444. (TRAP_TRACE): Likewise.
  47445. (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
  47446. __USE_XOPEN2K8].
  47447. (CLD_KILLED): Likewise.
  47448. (CLD_DUMPED): Likewise.
  47449. (CLD_TRAPPED): Likewise.
  47450. (CLD_STOPPED): Likewise.
  47451. (CLD_CONTINUED): Likewise.
  47452. (POLL_IN): Likewise.
  47453. (POLL_OUT): Likewise.
  47454. (POLL_MSG): Likewise.
  47455. (POLL_ERR): Likewise.
  47456. (POLL_PRI): Likewise.
  47457. (POLL_HUP): Likewise.
  47458. * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
  47459. (ILL_ILLOPN): Likewise.
  47460. (ILL_ILLADR): Likewise.
  47461. (ILL_ILLTRP): Likewise.
  47462. (ILL_PRVOPC): Likewise.
  47463. (ILL_PRVREG): Likewise.
  47464. (ILL_COPROC): Likewise.
  47465. (ILL_BADSTK): Likewise.
  47466. (FPE_INTDIV): Likewise.
  47467. (FPE_INTOVF): Likewise.
  47468. (FPE_FLTDIV): Likewise.
  47469. (FPE_FLTOVF): Likewise.
  47470. (FPE_FLTUND): Likewise.
  47471. (FPE_FLTRES): Likewise.
  47472. (FPE_FLTINV): Likewise.
  47473. (FPE_FLTSUB): Likewise.
  47474. (SEGV_MAPERR): Likewise.
  47475. (SEGV_ACCERR): Likewise.
  47476. (BUS_ADRALN): Likewise.
  47477. (BUS_ADRERR): Likewise.
  47478. (BUS_OBJERR): Likewise.
  47479. (BUS_MCEERR_AR): Likewise.
  47480. (BUS_MCEERR_AO): Likewise.
  47481. (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
  47482. (TRAP_TRACE): Likewise.
  47483. (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
  47484. __USE_XOPEN2K8].
  47485. (CLD_KILLED): Likewise.
  47486. (CLD_DUMPED): Likewise.
  47487. (CLD_TRAPPED): Likewise.
  47488. (CLD_STOPPED): Likewise.
  47489. (CLD_CONTINUED): Likewise.
  47490. (POLL_IN): Likewise.
  47491. (POLL_OUT): Likewise.
  47492. (POLL_MSG): Likewise.
  47493. (POLL_ERR): Likewise.
  47494. (POLL_PRI): Likewise.
  47495. (POLL_HUP): Likewise.
  47496. * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
  47497. (ILL_ILLOPN): Likewise.
  47498. (ILL_ILLADR): Likewise.
  47499. (ILL_ILLTRP): Likewise.
  47500. (ILL_PRVOPC): Likewise.
  47501. (ILL_PRVREG): Likewise.
  47502. (ILL_COPROC): Likewise.
  47503. (ILL_BADSTK): Likewise.
  47504. (FPE_INTDIV): Likewise.
  47505. (FPE_INTOVF): Likewise.
  47506. (FPE_FLTDIV): Likewise.
  47507. (FPE_FLTOVF): Likewise.
  47508. (FPE_FLTUND): Likewise.
  47509. (FPE_FLTRES): Likewise.
  47510. (FPE_FLTINV): Likewise.
  47511. (FPE_FLTSUB): Likewise.
  47512. (SEGV_MAPERR): Likewise.
  47513. (SEGV_ACCERR): Likewise.
  47514. (BUS_ADRALN): Likewise.
  47515. (BUS_ADRERR): Likewise.
  47516. (BUS_OBJERR): Likewise.
  47517. (BUS_MCEERR_AR): Likewise.
  47518. (BUS_MCEERR_AO): Likewise.
  47519. (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
  47520. (TRAP_TRACE): Likewise.
  47521. (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
  47522. __USE_XOPEN2K8].
  47523. (CLD_KILLED): Likewise.
  47524. (CLD_DUMPED): Likewise.
  47525. (CLD_TRAPPED): Likewise.
  47526. (CLD_STOPPED): Likewise.
  47527. (CLD_CONTINUED): Likewise.
  47528. (POLL_IN): Likewise.
  47529. (POLL_OUT): Likewise.
  47530. (POLL_MSG): Likewise.
  47531. (POLL_ERR): Likewise.
  47532. (POLL_PRI): Likewise.
  47533. (POLL_HUP): Likewise.
  47534. * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
  47535. (ILL_ILLOPN): Likewise.
  47536. (ILL_ILLADR): Likewise.
  47537. (ILL_ILLTRP): Likewise.
  47538. (ILL_PRVOPC): Likewise.
  47539. (ILL_PRVREG): Likewise.
  47540. (ILL_COPROC): Likewise.
  47541. (ILL_BADSTK): Likewise.
  47542. (ILL_DBLFLT): Likewise.
  47543. (ILL_HARDWALL): Likewise.
  47544. (FPE_INTDIV): Likewise.
  47545. (FPE_INTOVF): Likewise.
  47546. (FPE_FLTDIV): Likewise.
  47547. (FPE_FLTOVF): Likewise.
  47548. (FPE_FLTUND): Likewise.
  47549. (FPE_FLTRES): Likewise.
  47550. (FPE_FLTINV): Likewise.
  47551. (FPE_FLTSUB): Likewise.
  47552. (SEGV_MAPERR): Likewise.
  47553. (SEGV_ACCERR): Likewise.
  47554. (BUS_ADRALN): Likewise.
  47555. (BUS_ADRERR): Likewise.
  47556. (BUS_OBJERR): Likewise.
  47557. (BUS_MCEERR_AR): Likewise.
  47558. (BUS_MCEERR_AO): Likewise.
  47559. (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
  47560. (TRAP_TRACE): Likewise.
  47561. (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
  47562. __USE_XOPEN2K8].
  47563. (CLD_KILLED): Likewise.
  47564. (CLD_DUMPED): Likewise.
  47565. (CLD_TRAPPED): Likewise.
  47566. (CLD_STOPPED): Likewise.
  47567. (CLD_CONTINUED): Likewise.
  47568. (POLL_IN): Likewise.
  47569. (POLL_OUT): Likewise.
  47570. (POLL_MSG): Likewise.
  47571. (POLL_ERR): Likewise.
  47572. (POLL_PRI): Likewise.
  47573. (POLL_HUP): Likewise.
  47574. * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
  47575. (ILL_ILLOPN): Likewise.
  47576. (ILL_ILLADR): Likewise.
  47577. (ILL_ILLTRP): Likewise.
  47578. (ILL_PRVOPC): Likewise.
  47579. (ILL_PRVREG): Likewise.
  47580. (ILL_COPROC): Likewise.
  47581. (ILL_BADSTK): Likewise.
  47582. (FPE_INTDIV): Likewise.
  47583. (FPE_INTOVF): Likewise.
  47584. (FPE_FLTDIV): Likewise.
  47585. (FPE_FLTOVF): Likewise.
  47586. (FPE_FLTUND): Likewise.
  47587. (FPE_FLTRES): Likewise.
  47588. (FPE_FLTINV): Likewise.
  47589. (FPE_FLTSUB): Likewise.
  47590. (SEGV_MAPERR): Likewise.
  47591. (SEGV_ACCERR): Likewise.
  47592. (BUS_ADRALN): Likewise.
  47593. (BUS_ADRERR): Likewise.
  47594. (BUS_OBJERR): Likewise.
  47595. (BUS_MCEERR_AR): Likewise.
  47596. (BUS_MCEERR_AO): Likewise.
  47597. (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
  47598. (TRAP_TRACE): Likewise.
  47599. (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
  47600. __USE_XOPEN2K8].
  47601. (CLD_KILLED): Likewise.
  47602. (CLD_DUMPED): Likewise.
  47603. (CLD_TRAPPED): Likewise.
  47604. (CLD_STOPPED): Likewise.
  47605. (CLD_CONTINUED): Likewise.
  47606. (POLL_IN): Likewise.
  47607. (POLL_OUT): Likewise.
  47608. (POLL_MSG): Likewise.
  47609. (POLL_ERR): Likewise.
  47610. (POLL_PRI): Likewise.
  47611. (POLL_HUP): Likewise.
  47612. * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
  47613. (test-xfail-POSIX/sys/wait.h/conform): Likewise.
  47614. [BZ #16670]
  47615. * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
  47616. before #include of <time.h>.
  47617. [!__USE_XOPEN2K] (__need_timespec): Likewise.
  47618. * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
  47619. (test-xfail-UNIX98/sched.h/conform): Likewise.
  47620. 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
  47621. * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
  47622. error absence of trapping exception support.
  47623. * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
  47624. 2014-03-07 Joseph Myers <joseph@codesourcery.com>
  47625. * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
  47626. ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
  47627. * timezone/Makefile (testdata): Move definition above include of
  47628. Rules.
  47629. (test-zones): New variable.
  47630. (tests-special): Add zone files.
  47631. (build-testdata): Use $(evaluate-test).
  47632. * elf/Makefile (tests-special): Rename tests to end with .out.
  47633. ($(objpfx)noload-mem): Likewise.
  47634. ($(objpfx)tst-leaks1-mem): Likewise.
  47635. ($(objpfx)tst-leaks1-static-mem.out): Likewise.
  47636. * iconv/Makefile (xtests-special): Change test-iconvconfig to
  47637. $(objpfx)test-iconvconfig.out.
  47638. (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
  47639. set -e inside subshell and redirect output to file.
  47640. * iconvdata/Makefile (generated): Rename tests to end with .out.
  47641. Correct type.
  47642. (tests-special): Rename tests to end with .out.
  47643. ($(objpfx)mtrace-tst-loading): Likewise.
  47644. * intl/Makefile (generated): Likewise.
  47645. (tests-special): Likewise.
  47646. ($(objpfx)mtrace-tst-gettext): Likewise.
  47647. * misc/Makefile (generated): Likewise.
  47648. (tests-special): Likewise.
  47649. ($(objpfx)tst-error1-mem): Likewise.
  47650. * nptl/Makefile (tests-special): Likewise.
  47651. ($(objpfx)tst-stack3-mem): Likewise.
  47652. (generated): Likewise.
  47653. * posix/Makefile (generated): Likewise.
  47654. (tests-special): Likewise.
  47655. (xtests-special): Likewise.
  47656. ($(objpfx)tst-fnmatch-mem): Likewise.
  47657. ($(objpfx)bug-regex2-mem): Likewise.
  47658. ($(objpfx)bug-regex14-mem): Likewise.
  47659. ($(objpfx)bug-regex21-mem): Likewise.
  47660. ($(objpfx)bug-regex31-mem): Likewise.
  47661. ($(objpfx)tst-vfork3-mem): Likewise.
  47662. ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
  47663. ($(objpfx)tst-pcre-mem): Likewise.
  47664. ($(objpfx)tst-boost-mem): Likewise.
  47665. ($(objpfx)bug-ga2-mem): Likewise.
  47666. ($(objpfx)bug-glob2-mem): Likewise.
  47667. * resolv/Makefile (generate): Likewise.
  47668. (tests-special): Likewise.
  47669. (xtests-special): Likewise.
  47670. (generated): Likewise.
  47671. ($(objpfx)mtrace-tst-leaks): Likewise.
  47672. ($(objpfx)mtrace-tst-leaks2): Likewise.
  47673. * scripts/merge-test-results.sh: New file.
  47674. * Makefile (tests-special-notdir): New variable.
  47675. (tests): Run merge-test-results.sh.
  47676. (xtests): Likewise.
  47677. * Rules (tests-special-notdir): New variable.
  47678. (xtests-special-notdir): Likewise.
  47679. (tests): Run merge-test-results.sh
  47680. (xtests): Likewise.
  47681. * Makeconfig (test-xfail-name): New variable.
  47682. (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
  47683. compute variable name for expected failures.
  47684. * conform/Makefile (conformtest-headers-data): New variable.
  47685. (conformtest-standards): Likewise.
  47686. (conformtest-headers-ISO): Likewise.
  47687. (conformtest-headers-ISO99): Likewise.
  47688. (conformtest-headers-ISO11): Likewise.
  47689. (conformtest-headers-POSIX): Likewise.
  47690. (conformtest-headers-XPG3): Likewise.
  47691. (conformtest-headers-XPG4): Likewise.
  47692. (conformtest-headers-UNIX98): Likewise.
  47693. (conformtest-headers-XOPEN2K): Likewise.
  47694. (conformtest-headers-POSIX2008): Likewise.
  47695. (conformtest-headers-XOPEN2K8): Likewise.
  47696. (conformtest-header-list-base): Likewise.
  47697. (conformtest-header-list-tests): Likewise.
  47698. (conformtest-header-base): Likewise.
  47699. (conformtest-header-tests): Likewise.
  47700. (tests-special): Add $(conformtest-header-list-tests). If
  47701. [$(fast-check) && !$(cross-compiling)], add
  47702. $(conformtest-header-tests) instead of
  47703. $(objpfx)run-conformtest.out.
  47704. (generated): Add $(conformtest-header-list-base). If
  47705. [$(fast-check) && !$(cross-compiling)], add
  47706. $(conformtest-header-base). Remove previous setting.
  47707. ($(conformtest-header-list-tests)): New target.
  47708. (test-xfail-run-conformtest): Remove variable.
  47709. ($(objpfx)run-conformtest.out): Remove target.
  47710. (test-xfail-ISO11/complex.h/conform): New variable.
  47711. (test-xfail-ISO11/stdalign.h/conform): Likewise.
  47712. (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
  47713. (test-xfail-XPG3/varargs.h/conform): Likewise.
  47714. (test-xfail-XPG4/varargs.h/conform): Likewise.
  47715. (test-xfail-UNIX98/varargs.h/conform): Likewise.
  47716. (test-xfail-XPG4/ndbm.h/conform): Likewise.
  47717. (test-xfail-UNIX98/ndbm.h/conform): Likewise.
  47718. (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
  47719. (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
  47720. (test-xfail-XPG3/fcntl.h/conform): Likewise.
  47721. (test-xfail-XPG3/ftw.h/conform): Likewise.
  47722. (test-xfail-XPG3/grp.h/conform): Likewise.
  47723. (test-xfail-XPG3/langinfo.h/conform): Likewise.
  47724. (test-xfail-XPG3/limits.h/conform): Likewise.
  47725. (test-xfail-XPG3/pwd.h/conform): Likewise.
  47726. (test-xfail-XPG3/search.h/conform): Likewise.
  47727. (test-xfail-XPG3/signal.h/conform): Likewise.
  47728. (test-xfail-XPG3/stdio.h/conform): Likewise.
  47729. (test-xfail-XPG3/stdlib.h/conform): Likewise.
  47730. (test-xfail-XPG3/string.h/conform): Likewise.
  47731. (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
  47732. (test-xfail-XPG3/sys/msg.h/conform): Likewise.
  47733. (test-xfail-XPG3/sys/sem.h/conform): Likewise.
  47734. (test-xfail-XPG3/sys/shm.h/conform): Likewise.
  47735. (test-xfail-XPG3/sys/stat.h/conform): Likewise.
  47736. (test-xfail-XPG3/sys/types.h/conform): Likewise.
  47737. (test-xfail-XPG3/sys/wait.h/conform): Likewise.
  47738. (test-xfail-XPG3/termios.h/conform): Likewise.
  47739. (test-xfail-XPG3/time.h/conform): Likewise.
  47740. (test-xfail-XPG3/unistd.h/conform): Likewise.
  47741. (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
  47742. (test-xfail-XPG4/fcntl.h/conform): Likewise.
  47743. (test-xfail-XPG4/langinfo.h/conform): Likewise.
  47744. (test-xfail-XPG4/netdb.h/conform): Likewise.
  47745. (test-xfail-XPG4/netinet/in.h/conform): Likewise.
  47746. (test-xfail-XPG4/signal.h/conform): Likewise.
  47747. (test-xfail-XPG4/stdio.h/conform): Likewise.
  47748. (test-xfail-XPG4/stdlib.h/conform): Likewise.
  47749. (test-xfail-XPG4/stropts.h/conform): Likewise.
  47750. (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
  47751. (test-xfail-XPG4/sys/msg.h/conform): Likewise.
  47752. (test-xfail-XPG4/sys/sem.h/conform): Likewise.
  47753. (test-xfail-XPG4/sys/shm.h/conform): Likewise.
  47754. (test-xfail-XPG4/sys/socket.h/conform): Likewise.
  47755. (test-xfail-XPG4/sys/stat.h/conform): Likewise.
  47756. (test-xfail-XPG4/sys/time.h/conform): Likewise.
  47757. (test-xfail-XPG4/sys/types.h/conform): Likewise.
  47758. (test-xfail-XPG4/sys/wait.h/conform): Likewise.
  47759. (test-xfail-XPG4/termios.h/conform): Likewise.
  47760. (test-xfail-XPG4/ucontext.h/conform): Likewise.
  47761. (test-xfail-XPG4/unistd.h/conform): Likewise.
  47762. (test-xfail-XPG4/utmpx.h/conform): Likewise.
  47763. (test-xfail-POSIX/sched.h/conform): Likewise.
  47764. (test-xfail-POSIX/signal.h/conform): Likewise.
  47765. (test-xfail-POSIX/sys/wait.h/conform): Likewise.
  47766. (test-xfail-POSIX/tar.h/conform): Likewise.
  47767. (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
  47768. (test-xfail-UNIX98/fcntl.h/conform): Likewise.
  47769. (test-xfail-UNIX98/langinfo.h/conform): Likewise.
  47770. (test-xfail-UNIX98/netdb.h/conform): Likewise.
  47771. (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
  47772. (test-xfail-UNIX98/sched.h/conform): Likewise.
  47773. (test-xfail-UNIX98/signal.h/conform): Likewise.
  47774. (test-xfail-UNIX98/stdio.h/conform): Likewise.
  47775. (test-xfail-UNIX98/stdlib.h/conform): Likewise.
  47776. (test-xfail-UNIX98/stropts.h/conform): Likewise.
  47777. (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
  47778. (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
  47779. (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
  47780. (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
  47781. (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
  47782. (test-xfail-UNIX98/sys/time.h/conform): Likewise.
  47783. (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
  47784. (test-xfail-UNIX98/ucontext.h/conform): Likewise.
  47785. (test-xfail-UNIX98/unistd.h/conform): Likewise.
  47786. (test-xfail-UNIX98/utmpx.h/conform): Likewise.
  47787. (test-xfail-XOPEN2K/aio.h/conform): Likewise.
  47788. (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
  47789. (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
  47790. (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
  47791. (test-xfail-XOPEN2K/math.h/conform): Likewise.
  47792. (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
  47793. (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
  47794. (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
  47795. (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
  47796. (test-xfail-XOPEN2K/signal.h/conform): Likewise.
  47797. (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
  47798. (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
  47799. (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
  47800. (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
  47801. (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
  47802. (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
  47803. (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
  47804. (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
  47805. (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
  47806. (test-xfail-XOPEN2K/termios.h/conform): Likewise.
  47807. (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
  47808. (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
  47809. (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
  47810. (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
  47811. (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
  47812. (test-xfail-POSIX2008/netdb.h/conform): Likewise.
  47813. (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
  47814. (test-xfail-POSIX2008/signal.h/conform): Likewise.
  47815. (test-xfail-POSIX2008/stropts.h/conform): Likewise.
  47816. (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
  47817. (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
  47818. (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
  47819. (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
  47820. (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
  47821. (test-xfail-XOPEN2K8/math.h/conform): Likewise.
  47822. (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
  47823. (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
  47824. (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
  47825. (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
  47826. (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
  47827. (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
  47828. (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
  47829. (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
  47830. (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
  47831. (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
  47832. (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
  47833. (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
  47834. (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
  47835. (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
  47836. (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
  47837. (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
  47838. (conformtest-cc-flags): Likewise.
  47839. ($(conformtest-header-tests): New target.
  47840. * conform/check-header-lists.sh: New file.
  47841. * conform/run-conformtest.sh: Remove.
  47842. * conform/conformtest.pl: Allow ' and \ in values given for
  47843. constants.
  47844. * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
  47845. inclusion.
  47846. [POSIX] (sys/types.h): Likewise.
  47847. [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
  47848. inclusion.
  47849. [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
  47850. inclusion.
  47851. * conform/data/signal.h-data (SIGIO): Remove expectation.
  47852. [XPG3] (SIGBUS): Do not expect.
  47853. [POSIX || XPG3] (SIGPOLL): Likewise.
  47854. [POSIX || XPG3] (SIGPROF): Likewise.
  47855. [POSIX || XPG3] (SIGSYS): Likewise.
  47856. [XPG3] (SIGTRAP): Likewise.
  47857. [POSIX || XPG3] (SIGURG): Likewise.
  47858. [POSIX || XPG3] (SIGVTALRM): Likewise.
  47859. [POSIX || XPG3] (SIGXCPU): Likewise.
  47860. [POSIX || XPG3] (SIGXFSZ): Likewise.
  47861. [POSIX] (SA_SIGINFO): Expect.
  47862. [XPG3] (siginfo_t): Do not expect type or contents.
  47863. [POSIX] (si_pid): Do not expect element.
  47864. [POSIX] (si_uid): Likewise.
  47865. [POSIX] (si_addr): Likewise.
  47866. [POSIX] (si_status): Likewise.
  47867. [POSIX] (si_band): Likewise.
  47868. [XPG4] (si_value): Likewise.
  47869. [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
  47870. [POSIX || XPG3] (ILL_ILLOPN): Likewise.
  47871. [POSIX || XPG3] (ILL_ILLADR): Likewise.
  47872. [POSIX || XPG3] (ILL_ILLTRP): Likewise.
  47873. [POSIX || XPG3] (ILL_PRVOPC): Likewise.
  47874. [POSIX || XPG3] (ILL_PRVREG): Likewise.
  47875. [POSIX || XPG3] (ILL_COPROC): Likewise.
  47876. [POSIX || XPG3] (ILL_BADSTK): Likewise.
  47877. [POSIX || XPG3] (FPE_INTDIV): Likewise.
  47878. [POSIX || XPG3] (FPE_INTOVF): Likewise.
  47879. [POSIX || XPG3] (FPE_FLTDIV): Likewise.
  47880. [POSIX || XPG3] (FPE_FLTOVF): Likewise.
  47881. [POSIX || XPG3] (FPE_FLTUND): Likewise.
  47882. [POSIX || XPG3] (FPE_FLTRES): Likewise.
  47883. [POSIX || XPG3] (FPE_FLTINV): Likewise.
  47884. [POSIX || XPG3] (FPE_FLTSUB): Likewise.
  47885. [POSIX || XPG3] (SEGV_MAPERR): Likewise.
  47886. [POSIX || XPG3] (SEGV_ACCERR): Likewise.
  47887. [POSIX || XPG3] (BUS_ADRALN): Likewise.
  47888. [POSIX || XPG3] (BUS_ADRERR): Likewise.
  47889. [POSIX || XPG3] (BUS_OBJERR): Likewise.
  47890. [POSIX || XPG3] (CLD_EXITED): Likewise.
  47891. [POSIX || XPG3] (CLD_KILLED): Likewise.
  47892. [POSIX || XPG3] (CLD_DUMPED): Likewise.
  47893. [POSIX || XPG3] (CLD_TRAPPED): Likewise.
  47894. [POSIX || XPG3] (CLD_STOPPED): Likewise.
  47895. [POSIX || XPG3] (CLD_CONTINUED): Likewise.
  47896. [POSIX || XPG3] (POLL_IN): Likewise.
  47897. [POSIX || XPG3] (POLL_OUT): Likewise.
  47898. [POSIX || XPG3] (POLL_MSG): Likewise.
  47899. [POSIX || XPG3] (POLL_ERR): Likewise.
  47900. [POSIX || XPG3] (POLL_PRI): Likewise.
  47901. [POSIX || XPG3] (POLL_HUP): Likewise.
  47902. [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
  47903. [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
  47904. (SIG*): Do not allow.
  47905. [XPG3] (si_*): Likewise.
  47906. [XPG3] (SI_*): Likewise.
  47907. [XPG3 || XPG4] (sigev_*): Likewise.
  47908. [XPG3 || XPG4] (SIGEV_*): Likewise.
  47909. [XPG3 || XPG4] (sival_*): Likewise.
  47910. [POSIX || XPG3 || XPG4] (uc_*): Likewise.
  47911. [POSIX || XPG3] (BUS_*): Likewise.
  47912. [POSIX || XPG3] (CLD_*): Likewise.
  47913. [POSIX || XPG3] (FPE_*): Likewise.
  47914. [POSIX || XPG3] (ILL_*): Likewise.
  47915. [POSIX || XPG3] (POLL_*): Likewise.
  47916. [POSIX || XPG3] (SEGV_*): Likewise.
  47917. [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
  47918. [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
  47919. [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
  47920. [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
  47921. [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
  47922. * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
  47923. Specify type and value.
  47924. (TVERSLEN): Likewise.
  47925. (REGTYPE): Likewise.
  47926. (AREGTYPE): Likewise.
  47927. (LNKTYPE): Likewise.
  47928. (SYMTYPE): Likewise.
  47929. (CHRTYPE): Likewise.
  47930. (BLKTYPE): Likewise.
  47931. (DIRTYPE): Likewise.
  47932. (FIFOTYPE): Likewise.
  47933. (CONTTYPE): Likewise.
  47934. (TSUID): Likewise.
  47935. (TSGID): Likewise.
  47936. (TSVTX): Likewise.
  47937. (TUREAD): Likewise.
  47938. (TUWRITE): Likewise.
  47939. (TUEXEC): Likewise.
  47940. (TGREAD): Likewise.
  47941. (TGWRITE): Likewise.
  47942. (TGEXEC): Likewise.
  47943. (TOREAD): Likewise.
  47944. (TOWRITE): Likewise.
  47945. (TOEXEC): Likewise.
  47946. [POSIX] (TSVTX): Expect constant.
  47947. 2014-03-06 Joseph Myers <joseph@codesourcery.com>
  47948. * Makefile (tests): Change dependencies to ....
  47949. (tests-special): ... additions to this variable.
  47950. (tests): Depend on $(tests-special).
  47951. * Makerules (check-abi-list): New variable.
  47952. (check-abi): Depend on $(check-abi-list).
  47953. [$(subdir) = elf] (tests-special): Add
  47954. $(objpfx)check-abi-libc.out.
  47955. [$(build-shared) = yes && subdir] (tests-special): Add
  47956. $(check-abi-list).
  47957. [$(build-shared) = yes && subdir] (tests): Do not depend on
  47958. check-abi.
  47959. * Rules (tests): Depend on $(tests-special).
  47960. (xtests): Depend on $(xtests-special).
  47961. * catgets/Makefile (tests): Change dependencies to ....
  47962. (tests-special): ... additions to this variable.
  47963. * conform/Makefile (tests): Change dependencies to ....
  47964. (tests-special): ... additions to this variable.
  47965. * elf/Makefile (tests): Change dependencies to ....
  47966. (tests-special): ... additions to this variable.
  47967. * grp/Makefile (tests): Change dependencies to ....
  47968. (tests-special): ... additions to this variable.
  47969. * iconv/Makefile (xtests): Change dependencies to ....
  47970. (xtests-special): ... additions to this variable.
  47971. * iconvdata/Makefile (tests): Change dependencies to ....
  47972. (tests-special): ... additions to this variable.
  47973. * intl/Makefile (tests): Change dependencies to ....
  47974. (tests-special): ... additions to this variable. Also add
  47975. $(objpfx)tst-gettext.out.
  47976. * io/Makefile (tests): Change dependencies to ....
  47977. (tests-special): ... additions to this variable.
  47978. * libio/Makefile (tests): Change dependencies to ....
  47979. (tests-special): ... additions to this variable.
  47980. * malloc/Makefile (tests): Change dependencies to ....
  47981. (tests-special): ... additions to this variable.
  47982. * misc/Makefile (tests): Change dependencies to ....
  47983. (tests-special): ... additions to this variable.
  47984. * nptl/Makefile (tests): Change dependencies to ....
  47985. (tests-special): ... additions to this variable.
  47986. * nptl_db/Makefile (tests): Change dependencies to ....
  47987. (tests-special): ... additions to this variable.
  47988. * posix/Makefile (tests): Change dependencies to ....
  47989. (tests-special): ... additions to this variable.
  47990. (xtests): Change dependencies to ....
  47991. (xtests-special): ... additions to this variable.
  47992. * resolv/Makefile (tests): Change dependencies to ....
  47993. (tests-special): ... additions to this variable.
  47994. (xtests): Change dependencies to ....
  47995. (xtests-special): ... additions to this variable.
  47996. * stdio-common/Makefile (tests): Change dependencies to ....
  47997. (tests-special): ... additions to this variable.
  47998. (do-tst-unbputc): Remove target.
  47999. (do-tst-printf): Likewise.
  48000. * stdlib/Makefile (tests): Change dependencies to ....
  48001. (tests-special): ... additions to this variable.
  48002. * string/Makefile (tests): Change dependencies to ....
  48003. (tests-special): ... additions to this variable.
  48004. * sysdeps/x86/Makefile (tests): Change dependencies to ....
  48005. (tests-special): ... additions to this variable.
  48006. * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
  48007. whole file.
  48008. * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
  48009. whole file.
  48010. * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
  48011. * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
  48012. * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
  48013. * conform/data/arpa/inet.h-data [XPG3]: Likewise.
  48014. * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
  48015. * conform/data/fmtmsg.h-data [XPG3]: Likewise.
  48016. * conform/data/libgen.h-data [XPG3]: Likewise.
  48017. * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
  48018. * conform/data/ndbm.h-data [XPG3]: Likewise.
  48019. * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
  48020. * conform/data/netdb.h-data [XPG3]: Likewise.
  48021. * conform/data/netinet/in.h-data [XPG3]: Likewise.
  48022. * conform/data/poll.h-data [XPG3]: Likewise.
  48023. * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
  48024. * conform/data/strings.h-data [XPG3]: Likewise.
  48025. * conform/data/stropts.h-data [XPG3]: Likewise.
  48026. * conform/data/sys/mman.h-data [XPG3]: Likewise.
  48027. * conform/data/sys/resource.h-data [XPG3]: Likewise.
  48028. * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
  48029. Likewise.
  48030. * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
  48031. * conform/data/sys/time.h-data [XPG3]: Likewise.
  48032. * conform/data/sys/timeb.h-data [XPG3]: Likewise.
  48033. * conform/data/sys/uio.h-data [XPG3]: Likewise.
  48034. * conform/data/sys/un.h-data [XPG3]: Likewise.
  48035. * conform/data/syslog.h-data [XPG3]: Likewise.
  48036. * conform/data/ucontext.h-data [XPG3]: Likewise.
  48037. * conform/data/utmpx.h-data [XPG3]: Likewise.
  48038. * conform/data/varargs.h-data [UNIX98]: Enable file.
  48039. * manual/Makefile (INSTALL_INFO): Remove variable setting.
  48040. * math/libm-test.inc (struct test_f_f_data): Move expected results
  48041. into structure for each rounding mode.
  48042. (struct test_ff_f_data): Likewise.
  48043. (struct test_ff_f_data_nexttoward): Likewise.
  48044. (struct test_fi_f_data): Likewise.
  48045. (struct test_fl_f_data): Likewise.
  48046. (struct test_if_f_data): Likewise.
  48047. (struct test_fff_f_data): Likewise.
  48048. (struct test_c_f_data): Likewise.
  48049. (struct test_f_f1_data): Likewise.
  48050. (struct test_fF_f1_data): Likewise.
  48051. (struct test_ffI_f1_data): Likewise.
  48052. (struct test_c_c_data): Likewise.
  48053. (struct test_cc_c_data): Likewise.
  48054. (struct test_f_i_data): Likewise.
  48055. (struct test_ff_i_data): Likewise.
  48056. (struct test_f_l_data): Likewise.
  48057. (struct test_f_L_data): Likewise.
  48058. (struct test_fFF_11_data): Likewise.
  48059. (RM_): New macro.
  48060. (RM_FE_DOWNWARD): Likewise.
  48061. (RM_FE_TONEAREST): Likewise.
  48062. (RM_FE_TOWARDZERO): Likewise.
  48063. (RM_FE_UPWARD): Likewise.
  48064. (RUN_TEST_LOOP_f_f): Update references to expected results.
  48065. (RUN_TEST_LOOP_2_f): Likewise.
  48066. (RUN_TEST_LOOP_fff_f): Likewise.
  48067. (RUN_TEST_LOOP_c_f): Likewise.
  48068. (RUN_TEST_LOOP_f_f1): Likewise.
  48069. (RUN_TEST_LOOP_fF_f1): Likewise.
  48070. (RUN_TEST_LOOP_fI_f1): Likewise.
  48071. (RUN_TEST_LOOP_ffI_f1): Likewise.
  48072. (RUN_TEST_LOOP_c_c): Likewise.
  48073. (RUN_TEST_LOOP_cc_c): Likewise.
  48074. (RUN_TEST_LOOP_f_i): Likewise.
  48075. (RUN_TEST_LOOP_f_i_tg): Likewise.
  48076. (RUN_TEST_LOOP_ff_i_tg): Likewise.
  48077. (RUN_TEST_LOOP_f_b): Likewise.
  48078. (RUN_TEST_LOOP_f_b_tg): Likewise.
  48079. (RUN_TEST_LOOP_f_l): Likewise.
  48080. (RUN_TEST_LOOP_f_L): Likewise.
  48081. (RUN_TEST_LOOP_fFF_11): Likewise.
  48082. * math/gen-libm-test.pl (parse_args): Output four copies of
  48083. expected results for each test.
  48084. * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
  48085. (__ASSUME_UTIMES): Remove.
  48086. * sysdeps/unix/sysv/linux/tile/kernel-features.h
  48087. (__ASSUME_UTIMES): Likewise.
  48088. * math/gen-auto-libm-tests.c: Update comment on output format.
  48089. (output_for_one_input_case): Generate before-rounding and
  48090. after-rounding information as conditions on output flags not
  48091. floating-point format.
  48092. * math/auto-libm-test-out: Regenerated.
  48093. * math/gen-libm-test.pl (cond_value): New function.
  48094. (or_cond_value): Use cond_value.
  48095. (generate_testfile): Handle conditional exceptions.
  48096. 2014-03-05 Joseph Myers <joseph@codesourcery.com>
  48097. * math/libm-test.inc (max_valid_error): New variable.
  48098. (init_max_error): Take new argument specifying whether function
  48099. results are exactly determined. Set max_valid_error and bound
  48100. other variables for errors based on this argument.
  48101. (set_max_error): Do not record results above max_valid_error.
  48102. (check_float_internal): Only accept errors of up to 0.5ulps if
  48103. also at most max_valid_error.
  48104. (START): Take new argument EXACT and pass it to init_max_error.
  48105. (acos_test): Update call to START.
  48106. (acos_test_tonearest): Likewise.
  48107. (acos_test_towardzero): Likewise.
  48108. (acos_test_downward): Likewise.
  48109. (acos_test_upward): Likewise.
  48110. (acosh_test): Likewise.
  48111. (asin_test): Likewise.
  48112. (asin_test_tonearest): Likewise.
  48113. (asin_test_towardzero): Likewise.
  48114. (asin_test_downward): Likewise.
  48115. (asin_test_upward): Likewise.
  48116. (asinh_test): Likewise.
  48117. (atan_test): Likewise.
  48118. (atanh_test): Likewise.
  48119. (atan2_test): Likewise.
  48120. (cabs_test): Likewise.
  48121. (cacos_test): Likewise.
  48122. (cacosh_test): Likewise.
  48123. (carg_test): Likewise.
  48124. (casin_test): Likewise.
  48125. (casinh_test): Likewise.
  48126. (catan_test): Likewise.
  48127. (catanh_test): Likewise.
  48128. (cbrt_test): Likewise.
  48129. (ccos_test): Likewise.
  48130. (ccosh_test): Likewise.
  48131. (ceil_test): Likewise.
  48132. (cexp_test): Likewise.
  48133. (cimag_test): Likewise.
  48134. (clog_test): Likewise.
  48135. (clog10_test): Likewise.
  48136. (conj_test): Likewise.
  48137. (copysign_test): Likewise.
  48138. (cos_test): Likewise.
  48139. (cos_test_tonearest): Likewise.
  48140. (cos_test_towardzero): Likewise.
  48141. (cos_test_downward): Likewise.
  48142. (cos_test_upward): Likewise.
  48143. (cosh_test): Likewise.
  48144. (cosh_test_tonearest): Likewise.
  48145. (cosh_test_towardzero): Likewise.
  48146. (cosh_test_downward): Likewise.
  48147. (cosh_test_upward): Likewise.
  48148. (cpow_test): Likewise.
  48149. (cproj_test): Likewise.
  48150. (creal_test): Likewise.
  48151. (csin_test): Likewise.
  48152. (csinh_test): Likewise.
  48153. (csqrt_test): Likewise.
  48154. (ctan_test): Likewise.
  48155. (ctan_test_tonearest): Likewise.
  48156. (ctan_test_towardzero): Likewise.
  48157. (ctan_test_downward): Likewise.
  48158. (ctan_test_upward): Likewise.
  48159. (ctanh_test): Likewise.
  48160. (ctanh_test_tonearest): Likewise.
  48161. (ctanh_test_towardzero): Likewise.
  48162. (ctanh_test_downward): Likewise.
  48163. (ctanh_test_upward): Likewise.
  48164. (erf_test): Likewise.
  48165. (erfc_test): Likewise.
  48166. (exp_test): Likewise.
  48167. (exp_test_tonearest): Likewise.
  48168. (exp_test_towardzero): Likewise.
  48169. (exp_test_downward): Likewise.
  48170. (exp_test_upward): Likewise.
  48171. (exp10_test): Likewise.
  48172. (exp10_test_tonearest): Likewise.
  48173. (exp10_test_towardzero): Likewise.
  48174. (exp10_test_downward): Likewise.
  48175. (exp10_test_upward): Likewise.
  48176. (pow10_test): Likewise.
  48177. (exp2_test): Likewise.
  48178. (expm1_test): Likewise.
  48179. (expm1_test_tonearest): Likewise.
  48180. (expm1_test_towardzero): Likewise.
  48181. (expm1_test_downward): Likewise.
  48182. (expm1_test_upward): Likewise.
  48183. (fabs_test): Likewise.
  48184. (fdim_test): Likewise.
  48185. (floor_test): Likewise.
  48186. (fma_test): Likewise.
  48187. (fma_test_towardzero): Likewise.
  48188. (fma_test_downward): Likewise.
  48189. (fma_test_upward): Likewise.
  48190. (fmax_test): Likewise.
  48191. (fmin_test): Likewise.
  48192. (fmod_test): Likewise.
  48193. (fpclassify_test): Likewise.
  48194. (frexp_test): Likewise.
  48195. (hypot_test): Likewise.
  48196. (ilogb_test): Likewise.
  48197. (isfinite_test): Likewise.
  48198. (finite_test): Likewise.
  48199. (isgreater_test): Likewise.
  48200. (isgreaterequal_test): Likewise.
  48201. (isinf_test): Likewise.
  48202. (isless_test): Likewise.
  48203. (islessequal_test): Likewise.
  48204. (islessgreater_test): Likewise.
  48205. (isnan_test): Likewise.
  48206. (isnormal_test): Likewise.
  48207. (issignaling_test): Likewise.
  48208. (isunordered_test): Likewise.
  48209. (j0_test): Likewise.
  48210. (j1_test): Likewise.
  48211. (jn_test): Likewise.
  48212. (ldexp_test): Likewise.
  48213. (lgamma_test): Likewise.
  48214. (gamma_test): Likewise.
  48215. (lrint_test): Likewise.
  48216. (lrint_test_tonearest): Likewise.
  48217. (lrint_test_towardzero): Likewise.
  48218. (lrint_test_downward): Likewise.
  48219. (lrint_test_upward): Likewise.
  48220. (llrint_test): Likewise.
  48221. (llrint_test_tonearest): Likewise.
  48222. (llrint_test_towardzero): Likewise.
  48223. (llrint_test_downward): Likewise.
  48224. (llrint_test_upward): Likewise.
  48225. (log_test): Likewise.
  48226. (log10_test): Likewise.
  48227. (log1p_test): Likewise.
  48228. (log2_test): Likewise.
  48229. (logb_test): Likewise.
  48230. (logb_test_downward): Likewise.
  48231. (lround_test): Likewise.
  48232. (llround_test): Likewise.
  48233. (modf_test): Likewise.
  48234. (nearbyint_test): Likewise.
  48235. (nextafter_test): Likewise.
  48236. (nexttoward_test): Likewise.
  48237. (pow_test): Likewise.
  48238. (pow_test_tonearest): Likewise.
  48239. (pow_test_towardzero): Likewise.
  48240. (pow_test_downward): Likewise.
  48241. (pow_test_upward): Likewise.
  48242. (remainder_test): Likewise.
  48243. (drem_test): Likewise.
  48244. (remainder_test_tonearest): Likewise.
  48245. (drem_test_tonearest): Likewise.
  48246. (remainder_test_towardzero): Likewise.
  48247. (drem_test_towardzero): Likewise.
  48248. (remainder_test_downward): Likewise.
  48249. (drem_test_downward): Likewise.
  48250. (remainder_test_upward): Likewise.
  48251. (drem_test_upward): Likewise.
  48252. (remquo_test): Likewise.
  48253. (rint_test): Likewise.
  48254. (rint_test_tonearest): Likewise.
  48255. (rint_test_towardzero): Likewise.
  48256. (rint_test_downward): Likewise.
  48257. (rint_test_upward): Likewise.
  48258. (round_test): Likewise.
  48259. (scalb_test): Likewise.
  48260. (scalbn_test): Likewise.
  48261. (scalbln_test): Likewise.
  48262. (signbit_test): Likewise.
  48263. (sin_test): Likewise.
  48264. (sin_test_tonearest): Likewise.
  48265. (sin_test_towardzero): Likewise.
  48266. (sin_test_downward): Likewise.
  48267. (sin_test_upward): Likewise.
  48268. (sincos_test): Likewise.
  48269. (sinh_test): Likewise.
  48270. (sinh_test_tonearest): Likewise.
  48271. (sinh_test_towardzero): Likewise.
  48272. (sinh_test_downward): Likewise.
  48273. (sinh_test_upward): Likewise.
  48274. (sqrt_test): Likewise.
  48275. (sqrt_test_tonearest): Likewise.
  48276. (sqrt_test_towardzero): Likewise.
  48277. (sqrt_test_downward): Likewise.
  48278. (sqrt_test_upward): Likewise.
  48279. (tan_test): Likewise.
  48280. (tan_test_tonearest): Likewise.
  48281. (tan_test_towardzero): Likewise.
  48282. (tan_test_downward): Likewise.
  48283. (tan_test_upward): Likewise.
  48284. (tanh_test): Likewise.
  48285. (tgamma_test): Likewise.
  48286. (trunc_test): Likewise.
  48287. (y0_test): Likewise.
  48288. (y1_test): Likewise.
  48289. (yn_test): Likewise.
  48290. (significand_test): Likewise.
  48291. * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
  48292. individual tests in comment.
  48293. (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
  48294. (prev_max_error): New variable.
  48295. (prev_real_max_error): Likewise.
  48296. (prev_imag_max_error): Likewise.
  48297. (compare_ulp_data): Don't refer to test names in comment.
  48298. (find_test_ulps): Remove function.
  48299. (find_function_ulps): Likewise.
  48300. (find_complex_function_ulps): Likewise.
  48301. (init_max_error): Take function name as argument. Look up ulps
  48302. for that function.
  48303. (print_ulps): Remove function.
  48304. (print_max_error): Use prev_max_error instead of calling
  48305. find_function_ulps.
  48306. (print_complex_max_error): Use prev_real_max_error and
  48307. prev_imag_max_error instead of calling find_complex_function_ulps.
  48308. (check_float_internal): Take max_ulp parameter instead of calling
  48309. find_test_ulps. Don't call print_ulps.
  48310. (check_float): Update call to check_float_internal.
  48311. (check_complex): Update calls to check_float_internal.
  48312. (START): Pass argument to init_max_error.
  48313. * math/gen-libm-test.pl (%results): Don't include "kind"
  48314. information.
  48315. (parse_ulps): Don't handle ulps of individual tests.
  48316. (print_ulps_file): Likewise.
  48317. (output_ulps): Likewise.
  48318. * math/README.libm-test: Update.
  48319. * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
  48320. individual tests.
  48321. * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
  48322. * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
  48323. * sysdeps/arm/libm-test-ulps: Likewise.
  48324. * sysdeps/i386/fpu/libm-test-ulps: Likewise.
  48325. * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
  48326. * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
  48327. * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
  48328. * sysdeps/microblaze/libm-test-ulps: Likewise.
  48329. * sysdeps/mips/mips32/libm-test-ulps: Likewise.
  48330. * sysdeps/mips/mips64/libm-test-ulps: Likewise.
  48331. * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
  48332. * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
  48333. * sysdeps/s390/fpu/libm-test-ulps: Likewise.
  48334. * sysdeps/sh/libm-test-ulps: Likewise.
  48335. * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
  48336. * sysdeps/tile/libm-test-ulps: Likewise.
  48337. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  48338. 2014-03-04 Joseph Myers <joseph@codesourcery.com>
  48339. * math/libm-test.inc (print_complex_max_error): Check separately
  48340. whether real and imaginary errors are within allowed range and
  48341. pass 0 to print_complex_function_ulps instead of value within
  48342. allowed range.
  48343. 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
  48344. * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
  48345. formatting.
  48346. (get_handles_fopen): Likewise.
  48347. (do_write_test): Likewise.
  48348. * libio/wfileops.c (do_ftell_wide): Fix up formatting.
  48349. * libio/fileops.c (do_ftell): Use cached offset when
  48350. available.
  48351. * libio/iofwide.c (do_ftell_wide): Likewise.
  48352. * libio/iofdopen.c (_IO_new_fdopen): Don't use
  48353. _IO_file_attach.
  48354. * libio/wfileops.c (_IO_fwide): Don't cache offset.
  48355. [BZ #16532]
  48356. * libio/libioP.h (get_file_offset): New function.
  48357. * libio/fileops.c (get_file_offset): Likewise.
  48358. (do_ftell): Likewise.
  48359. (_IO_new_file_seekoff): Split out ftell logic.
  48360. * libio/wfileops.c (do_ftell_wide): Likewise.
  48361. (_IO_wfile_seekoff): Split out ftell logic.
  48362. * libio/tst-ftell-active-handler.c: New test case.
  48363. * libio/Makefile (tests): Add it.
  48364. 2014-03-03 Roland McGrath <roland@hack.frob.com>
  48365. * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
  48366. * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
  48367. 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
  48368. [BZ #16639]
  48369. * nscd/connections.c (nscd_init): Call do_exit.
  48370. (start_threads): Call do_exit and notify_parent.
  48371. (begin_drop_privileges): Call do_exit.
  48372. (finish_drop_privileges): Likewise.
  48373. * nscd/selinux.c (preserve_capabilities): Likewise.
  48374. (install_real_capabilities): Likewise.
  48375. (nscd_selinux_enabled): Likewise.
  48376. (avc_create_thread): Likewise.
  48377. (avc_alloc_lock): Likewise.
  48378. (nscd_avc_init): Likewise.
  48379. * nscd/nscd.c (parent_fd): New static variable.
  48380. (main): Create a pipe between parent and child processes.
  48381. Skip closing parent_fd.
  48382. (monitor_child): New function.
  48383. (do_exit): Likewise.
  48384. (notify_parent): Likewise.
  48385. * nscd/nscd.h (notify_parent): Likewise.
  48386. (do_exit): Likewise.
  48387. 2014-03-03 Carlos O'Donell <carlos@redhat.com>
  48388. * malloc/malloc.c (__libc_calloc): Revert last change.
  48389. 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  48390. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  48391. 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  48392. * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
  48393. * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
  48394. implementation.
  48395. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
  48396. (__libc_ifunc_impl_list): Likewise.
  48397. * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
  48398. * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
  48399. * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
  48400. * string/strrchr.c: Define STRRCHR.
  48401. 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
  48402. * benchtest/bench-strtok.c (simple_strtok): Delete.
  48403. (strtok_string): Use as benchmark.
  48404. * string/strtok (STRTOK): New macro.
  48405. 2014-02-28 Carlos O'Donell <carlos@redhat.com>
  48406. * manual/threads.texi: Add header and standard comments to all
  48407. functions.
  48408. * elf/dl-lookup.c (check_match): New function.
  48409. (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
  48410. (do_lookup_x): Remove nested function check_match. Use non-nested
  48411. function check_match.
  48412. 2014-02-28 Roland McGrath <roland@hack.frob.com>
  48413. * csu/Makefile (generated, before-compile): Use += rather than =.
  48414. * catgets/Makefile (generated, generated-dirs): Likewise.
  48415. * debug/Makefile (generated): Likewise.
  48416. * dlfcn/Makefile (generated): Likewise.
  48417. * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
  48418. * iconvdata/Makefile (before-compile, generated): Likewise.
  48419. * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
  48420. * libio/Makefile (generated): Likewise.
  48421. * malloc/Makefile (generated): Likewise.
  48422. * manual/Makefile (generated, generated-dirs): Likewise.
  48423. * misc/Makefile (generated): Likewise.
  48424. * posix/Makefile (generated): Likewise.
  48425. * resolv/Makefile (generated): Likewise.
  48426. * sunrpc/Makefile (generated, generated-dirs): Likewise.
  48427. * timezone/Makefile (generated, generated-dirs): Likewise.
  48428. * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
  48429. 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  48430. * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
  48431. power8 implementation.
  48432. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
  48433. file: POWER8 llround ifunc implementation.
  48434. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
  48435. (__lllround): Add POWER8 implementation.
  48436. * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
  48437. POWER8 llround implementation.
  48438. * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
  48439. power8 implementation.
  48440. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
  48441. file: POWER8 llrint ifunc implementation.
  48442. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
  48443. Add POWER8 implementation.
  48444. * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
  48445. POWER8 llrint implementation.
  48446. * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
  48447. power8 implementation.
  48448. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
  48449. file: POWER8 finite ifunc implementation.
  48450. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
  48451. Add POWER8 implementation.
  48452. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
  48453. Likewise.
  48454. * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
  48455. POWER8 finite implementation.
  48456. * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
  48457. * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
  48458. power8 implementation.
  48459. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
  48460. file: POWER8 isinf ifunc implementation.
  48461. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
  48462. POWER8 implementation.
  48463. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
  48464. Likewise.
  48465. * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
  48466. isinf implementation.
  48467. * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
  48468. * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
  48469. (INIT_ARCH): Add hwcap2 initialization.
  48470. * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
  48471. power8 implementation.
  48472. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
  48473. file: POWER8 isnan ifunc implementation.
  48474. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
  48475. POWER8 implementation.
  48476. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
  48477. Likewise.
  48478. * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
  48479. isnan implementation.
  48480. * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
  48481. 2014-02-27 Joey Ye <joey.ye@arm.com>
  48482. * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
  48483. (_FP_NANFRAC_Q): Set to zero.
  48484. 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
  48485. [BZ #16623]
  48486. * math/auto-libm-test-in: New test inputs.
  48487. * math/auto-libm-test-out: Regenerate.
  48488. * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
  48489. and DA.
  48490. (__cos): Likewise.
  48491. * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
  48492. 2014-02-27 Joseph Myers <joseph@codesourcery.com>
  48493. * scripts/evaluate-test.sh: Take new argument indicating whether
  48494. failure is expected.
  48495. * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
  48496. indicating whether failure is expected.
  48497. * conform/Makefile (test-xfail-run-conformtest): New variable.
  48498. ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
  48499. level.
  48500. * posix/Makefile (test-xfail-annexc): New variable.
  48501. ($(objpfx)annexc.out): Don't expect to fail at makefile level.
  48502. 2014-02-26 Joseph Myers <joseph@codesourcery.com>
  48503. * argp/Makefile: Include Makeconfig immediately after defining
  48504. subdir.
  48505. * assert/Makefile: Likewise.
  48506. * benchtests/Makefile: Likewise.
  48507. * catgets/Makefile: Likewise.
  48508. * conform/Makefile: Likewise.
  48509. * crypt/Makefile: Likewise.
  48510. * csu/Makefile: Likewise.
  48511. (all): Remove target.
  48512. * ctype/Makefile: Include Makeconfig immediately after defining
  48513. subdir.
  48514. * debug/Makefile: Likewise.
  48515. * dirent/Makefile: Likewise.
  48516. * dlfcn/Makefile: Likewise.
  48517. * gmon/Makefile: Likewise.
  48518. * gnulib/Makefile: Likewise.
  48519. * grp/Makefile: Likewise.
  48520. * gshadow/Makefile: Likewise.
  48521. * hesiod/Makefile: Likewise.
  48522. * hurd/Makefile: Likewise.
  48523. (all): Remove target.
  48524. * iconvdata/Makefile: Include Makeconfig immediately after
  48525. defining subdir.
  48526. * inet/Makefile: Likewise.
  48527. * intl/Makefile: Likewise.
  48528. * io/Makefile: Likewise.
  48529. * libio/Makefile: Likewise.
  48530. (all): Remove target.
  48531. * locale/Makefile: Include Makeconfig immediately after defining
  48532. subdir.
  48533. * login/Makefile: Likewise.
  48534. * mach/Makefile: Likewise.
  48535. (all): Remove target.
  48536. * malloc/Makefile: Include Makeconfig immediately after defining
  48537. subdir.
  48538. (all): Remove target.
  48539. * manual/Makefile: Include Makeconfig immediately after defining
  48540. subdir.
  48541. * math/Makefile: Likewise.
  48542. * misc/Makefile: Likewise.
  48543. * nis/Makefile: Likewise.
  48544. * nss/Makefile: Likewise.
  48545. * po/Makefile: Likewise.
  48546. (all): Remove target.
  48547. * posix/Makefile: Include Makeconfig immediately after defining
  48548. subdir.
  48549. * pwd/Makefile: Likewise.
  48550. * resolv/Makefile: Likewise.
  48551. * resource/Makefile: Likewise.
  48552. * rt/Makefile: Likewise.
  48553. * setjmp/Makefile: Likewise.
  48554. * shadow/Makefile: Likewise.
  48555. * signal/Makefile: Likewise.
  48556. * socket/Makefile: Likewise.
  48557. * soft-fp/Makefile: Likewise.
  48558. * stdio-common/Makefile: Likewise.
  48559. * stdlib/Makefile: Likewise.
  48560. * streams/Makefile: Likewise.
  48561. * string/Makefile: Likewise.
  48562. * sunrpc/Makefile: Likewise.
  48563. (all): Remove target.
  48564. * sysvipc/Makefile: Include Makeconfig immediately after defining
  48565. subdir.
  48566. * termios/Makefile: Likewise.
  48567. * time/Makefile: Likewise.
  48568. * timezone/Makefile: Likewise.
  48569. (all): Remove target.
  48570. * wcsmbs/Makefile: Include Makeconfig immediately after defining
  48571. subdir.
  48572. * wctype/Makefile: Likewise.
  48573. 2014-02-26 Steve Ellcey <sellcey@mips.com>
  48574. * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
  48575. (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
  48576. (libc_feholdexcept_setround_mips): Ditto.
  48577. (libc_feholdsetround): New.
  48578. (libc_feholdsetroundf): New.
  48579. (libc_feholdsetroundl): New.
  48580. (libc_feupdateenv_test_mips): New.
  48581. (libc_feupdateenv_test): New.
  48582. (libc_feupdateenv_testf): New.
  48583. (libc_feupdateenv_testl): New.
  48584. (libc_feresetround): New.
  48585. (libc_feresetroundf): New.
  48586. (libc_feresetroundl): New.
  48587. (libc_fetestexcept_mips): New.
  48588. (libc_fetestexcept): New.
  48589. (libc_fetestexceptf): New.
  48590. (libc_fetestexceptl): New.
  48591. (HAVE_RM_CTX): New.
  48592. (libc_feholdexcept_setround_mips_ctx): New.
  48593. (libc_feholdexcept_setround_ctx): New.
  48594. (libc_feholdexcept_setroundf_ctx): New.
  48595. (libc_feholdexcept_setroundl_ctx): New.
  48596. (libc_fesetenv_mips_ctx): New.
  48597. (libc_fesetenv_ctx): New.
  48598. (libc_fesetenv_ctxf): New.
  48599. (libc_fesetenv_ctxl): New.
  48600. (libc_feupdateenv_mips_ctx): New.
  48601. (libc_feupdateenv_ctx): New.
  48602. (libc_feupdateenvf_ctx): New.
  48603. (libc_feupdateenvl_ctx): New.
  48604. (libc_feholdsetround_mips_ctx): New.
  48605. (libc_feholdsetround_ctx): New.
  48606. (libc_feholdsetroundf_ctx): New.
  48607. (libc_feholdsetroundl_ctx): New.
  48608. (libc_feresetround_mips_ctx): New.
  48609. (libc_feresetround_ctx): New.
  48610. (libc_feresetroundf_ctx): New.
  48611. (libc_feresetroundl_ctx): New.
  48612. 2014-02-26 Carlos O'Donell <carlos@redhat.com>
  48613. * manual/ipc.texi (Semaphores): Use @Theglibc{}.
  48614. * manual/ipc.texi: New file.
  48615. * manual/Makefile (chapters): Add ipc.
  48616. * manual/job.texi: Add "Inter-Process Communication" to next.
  48617. * manual/process.texi: Add "Inter-Process Communication" to prev.
  48618. 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  48619. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  48620. 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
  48621. * malloc/malloc.c (__libc_calloc): Simplify implementation.
  48622. * manual/arith.texi: Fix spaces after sentences.
  48623. * manual/charset.texi: Likewise.
  48624. * manual/errno.texi: Likewise.
  48625. * manual/install.texi: Likewise.
  48626. * manual/llio.texi: Likewise.
  48627. * manual/locale.texi: Likewise.
  48628. * manual/maint.texi: Likewise.
  48629. * manual/math.texi: Likewise.
  48630. * manual/memory.texi: Likewise.
  48631. * manual/message.texi: Likewise.
  48632. * manual/probes.texi: Likewise.
  48633. * manual/resource.texi: Likewise.
  48634. * manual/signal.texi: Likewise.
  48635. * manual/socket.texi: Likewise.
  48636. * manual/stdio.texi: Likewise.
  48637. * manual/string.texi: Likewise.
  48638. * manual/time.texi: Likewise.
  48639. * manual/users.texi: Likewise.
  48640. 2014-02-25 Carlos O'Donell <carlos@redhat.com>
  48641. [BZ #16632]
  48642. * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
  48643. _DEFAULT_SOURCE is defined.
  48644. 2014-02-25 Ulrich Drepper <drepper@gmail.com>
  48645. Carlos O'Donell <carlos@redhat.com>
  48646. [BZ #16613]
  48647. * elf/dl-tls.c (_dl_count_modids): New function.
  48648. * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
  48649. * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
  48650. audit library and increment generation counter.
  48651. (_dl_allocate_tls_init): Add assertion to check TLS generation count.
  48652. * elf/tst-audit9.c: New file.
  48653. * elf/tst-auditmod9a.c: New file.
  48654. * elf/tst-auditmod9b.c: New file.
  48655. * elf/Makefile: Add rules to build and run tst-audit9.
  48656. 2014-02-25 Florian Weimer <fweimer@redhat.com>
  48657. [BZ #15347]
  48658. * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
  48659. 2014-02-25 Will Newton <will.newton@linaro.org>
  48660. * sysdeps/arm/__longjmp.S: Include stap-probe.h.
  48661. (__longjmp): Restore sp and lr before restoring callee
  48662. saved registers. Add longjmp and longjmp_target
  48663. SystemTap probe point.
  48664. * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
  48665. * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
  48666. Define to zero to match jmpbuf layout.
  48667. * sysdeps/arm/setjmp.S: Include stap-probe.h.
  48668. (__sigsetjmp): Save sp and lr before saving callee
  48669. saved registers. Add setjmp SystemTap probe point.
  48670. 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
  48671. * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
  48672. 2014-02-24 Andreas Schwab <schwab@suse.de>
  48673. [BZ #15804]
  48674. * elf/pldd.c (wait_for_ptrace_stop): New function.
  48675. (main): Call it after attaching.
  48676. 2014-02-22 Roland McGrath <roland@hack.frob.com>
  48677. * Makerules ($(common-objpfx)Versions.v.i): No longer depend
  48678. on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
  48679. Versions files is now verboten.
  48680. * hurd/Versions (libc: GLIBC_2.0):
  48681. Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
  48682. (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
  48683. [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
  48684. * mach/Versions: Likewise.
  48685. * csu/Versions: Remove unused %include.
  48686. * resolv/Versions: Likewise.
  48687. 2014-02-21 Joseph Myers <joseph@codesourcery.com>
  48688. * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
  48689. ($(objpfx)check-local-headers.out): Likewise.
  48690. ($(objpfx)begin-end-check.out): Likewise.
  48691. * Makerules (check-abi-%.out): Likewise.
  48692. * catgets/Makefile ($(objpfx)test1.cat): Likewise.
  48693. ($(objpfx)test2.cat): Likewise.
  48694. ($(objpfx)de/libc.cat): Likewise.
  48695. ($(objpfx)test-gencat.out): Likewise.
  48696. * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
  48697. * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
  48698. ($(objpfx)noload-mem): Likewise.
  48699. ($(objpfx)tst-pathopt.out): Likewise.
  48700. ($(objpfx)tst-rtld-load-self.out): Likewise.
  48701. ($(objpfx)tst-array1-cmp.out): Likewise.
  48702. ($(objpfx)tst-array1-static-cmp.out): Likewise.
  48703. ($(objpfx)tst-array2-cmp.out): Likewise.
  48704. ($(objpfx)tst-array3-cmp.out): Likewise.
  48705. ($(objpfx)tst-array4-cmp.out): Likewise.
  48706. ($(objpfx)tst-array5-cmp.out): Likewise.
  48707. ($(objpfx)tst-array5-static-cmp.out): Likewise.
  48708. ($(objpfx)check-textrel.out): Likewise.
  48709. ($(objpfx)check-execstack.out): Likewise.
  48710. ($(objpfx)check-localplt.out): Likewise.
  48711. ($(objpfx)order2-cmp.out): Likewise.
  48712. ($(objpfx)tst-leaks1-mem): Likewise.
  48713. ($(objpfx)tst-leaks1-static-mem): Likewise.
  48714. ($(objpfx)tst-initorder-cmp.out): Likewise.
  48715. ($(objpfx)tst-initorder2-cmp.out): Likewise.
  48716. ($(objpfx)tst-unused-dep.out): Likewise.
  48717. ($(objpfx)tst-unused-dep-cmp.out): Likewise.
  48718. * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
  48719. * iconv/Makefile (test-iconvconfig): Likewise.
  48720. * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
  48721. ($(objpfx)iconv-test.out): Likewise.
  48722. ($(objpfx)tst-tables.out): Likewise.
  48723. * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
  48724. ($(objpfx)tst-gettext.out): Likewise.
  48725. ($(objpfx)tst-translit.out): Likewise.
  48726. ($(objpfx)tst-gettext2.out): Likewise.
  48727. ($(objpfx)tst-gettext4.out): Likewise.
  48728. ($(objpfx)tst-gettext6.out): Likewise.
  48729. * io/Makefile ($(objpfx)ftwtest.out): Likewise.
  48730. * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
  48731. ($(objpfx)tst-fopenloc-cmp.out): Likewise.
  48732. ($(objpfx)tst-fopenloc-mem.out): Likewise.
  48733. * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
  48734. * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
  48735. * posix/Makefile ($(objpfx)globtest.out): Likewise.
  48736. ($(objpfx)wordexp-tst.out): Likewise.
  48737. ($(objpfx)annexc.out): Likewise.
  48738. ($(objpfx)tst-fnmatch-mem): Likewise.
  48739. ($(objpfx)bug-regex2-mem): Likewise.
  48740. ($(objpfx)bug-regex14-mem): Likewise.
  48741. ($(objpfx)bug-regex21-mem): Likewise.
  48742. ($(objpfx)bug-regex31-mem): Likewise.
  48743. ($(objpfx)tst-vfork3-mem): Likewise.
  48744. ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
  48745. ($(objpfx)tst-pcre-mem): Likewise.
  48746. ($(objpfx)tst-boost-mem): Likewise.
  48747. ($(objpfx)tst-getconf.out): Likewise.
  48748. ($(objpfx)bug-ga2-mem): Likewise.
  48749. ($(objpfx)bug-glob2-mem): Likewise.
  48750. * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
  48751. ($(objpfx)mtrace-tst-leaks2): Likewise.
  48752. * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
  48753. ($(objpfx)tst-printf.out): Likewise.
  48754. ($(objpfx)tst-setvbuf1.out): Likewise.
  48755. ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
  48756. * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
  48757. ($(objpfx)tst-fmtmsg.out): Likewise.
  48758. * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
  48759. * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
  48760. * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
  48761. * bits/sigaction.h [__USE_MISC]: Likewise.
  48762. * bits/waitstatus.h: Update #endif comments.
  48763. * ctype/ctype.h: Likewise.
  48764. * dirent/dirent.h: Likewise.
  48765. [__USE_MISC]: Remove redundant conditionals.
  48766. * grp/grp.h: Update #endif comments.
  48767. [__USE_GNU]: Remove redundant conditionals.
  48768. [__USE_MISC]: Likewise.
  48769. * inet/netinet/in.h [__USE_GNU]: Likewise.
  48770. * io/sys/stat.h [__USE_MISC]: Likewise.
  48771. * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
  48772. * libio/bits/stdio.h: Update #endif comments.
  48773. [__USE_MISC]: Remove redundant conditionals.
  48774. * libio/bits/stdio2.h [__USE_MISC]: Likewise.
  48775. * libio/stdio.h: Update #endif comments.
  48776. [__USE_MISC]: Remove redundant conditionals.
  48777. * math/bits/math-finite.h [__USE_MISC]: Likewise.
  48778. * math/bits/mathcalls.h [__USE_MISC]: Likewise.
  48779. * math/math.h: Update #else and #endif comments.
  48780. [__USE_MISC]: Remove redundant conditionals.
  48781. * misc/sys/uio.h: Update #endif comments.
  48782. * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
  48783. * posix/glob.h [__USE_MISC]: Likewise.
  48784. * posix/sys/types.h: Update #endif comments.
  48785. [__USE_MISC]: Remove redundant conditionals.
  48786. * posix/sys/wait.h: Update #endif comments.
  48787. [__USE_MISC]: Remove redundant conditionals.
  48788. * posix/unistd.h: Update #endif comments.
  48789. [__USE_MISC]: Remove redundant conditionals.
  48790. * pwd/pwd.h [__USE_GNU]: Likewise.
  48791. [__USE_MISC]: Likewise.
  48792. * resolv/netdb.h [__USE_GNU]: Likewise.
  48793. * signal/signal.h: Update #endif comments.
  48794. [__USE_MISC]: Remove redundant conditionals.
  48795. * stdlib/stdlib.h: Update #else and #endif comments.
  48796. [__USE_MISC]: Remove redundant conditionals.
  48797. [__USE_GNU]: Likewise.
  48798. * string/bits/string2.h [__USE_MISC]: Likewise.
  48799. * string/string.h: Update #endif comments.
  48800. [__USE_MISC]: Remove redundant conditionals.
  48801. * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
  48802. Likewise.
  48803. * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
  48804. * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
  48805. * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
  48806. Likewise.
  48807. * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
  48808. Likewise.
  48809. * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
  48810. comments.
  48811. [__USE_MISC]: Remove redundant conditionals.
  48812. * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
  48813. * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
  48814. * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
  48815. * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
  48816. * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
  48817. Likewise.
  48818. * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
  48819. * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
  48820. Likewise.
  48821. * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
  48822. * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
  48823. Likewise.
  48824. * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
  48825. Likewise.
  48826. * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
  48827. * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
  48828. Likewise.
  48829. * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
  48830. Likewise.
  48831. * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
  48832. * sysdeps/x86/bits/string.h: Update #endif comments.
  48833. * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
  48834. conditionals.
  48835. * time/sys/time.h: Update #endif comments.
  48836. * time/time.h: Likewise.
  48837. [__USE_MISC]: Remove redundant conditionals.
  48838. 2014-02-21 Yury Gribov <y.gribov@samsung.com>
  48839. [BZ #16600]
  48840. * sysdeps/arm/libm-test-ulps: Update for VFPv4.
  48841. 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
  48842. * Versions.def (librt): Add GLIBC_2.17.
  48843. 2014-02-21 Adam Conrad <adconrad@0c3.net>
  48844. * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
  48845. synonym for _SYS_AUXV_H to allow direct inclusion.
  48846. * sysdeps/sparc/bits/hwcap.h: Likewise.
  48847. * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
  48848. _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
  48849. * sysdeps/sparc/sysdep.h: Likewise.
  48850. 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
  48851. * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
  48852. 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  48853. * benchtests/bench-strrchr.c: Print length instead of position.
  48854. 2014-02-20 Joseph Myers <joseph@codesourcery.com>
  48855. [BZ #16611]
  48856. * sysdeps/unix/sysv/linux/kernel-features.h
  48857. [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
  48858. (__ASSUME_SENDMMSG_SOCKETCALL): Define.
  48859. [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
  48860. __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
  48861. Likewise.
  48862. [__i386__ || __powerpc__ || __sh__ || __sparc__]
  48863. (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
  48864. [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
  48865. (__ASSUME_SENDMMSG): Define instead of using previous
  48866. [__LINUX_KERNEL_VERSION >= 0x020627] condition.
  48867. * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
  48868. (__ASSUME_SENDMMSG_SYSCALL): Define.
  48869. * sysdeps/unix/sysv/linux/alpha/kernel-features.h
  48870. [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
  48871. Likewise.
  48872. * sysdeps/unix/sysv/linux/arm/kernel-features.h
  48873. [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
  48874. Likewise.
  48875. * sysdeps/unix/sysv/linux/ia64/kernel-features.h
  48876. [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
  48877. Likewise.
  48878. * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
  48879. && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
  48880. !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
  48881. [__ASSUME_SENDMMSG]: Change conditionals to
  48882. [__ASSUME_SENDMMSG_SOCKETCALL].
  48883. * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
  48884. [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
  48885. Define.
  48886. * sysdeps/unix/sysv/linux/mips/kernel-features.h
  48887. [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
  48888. Likewise.
  48889. * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
  48890. !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
  48891. !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
  48892. [!__ASSUME_SENDMMSG]: Change conditional to
  48893. [!__ASSUME_SENDMMSG_SOCKETCALL].
  48894. * sysdeps/unix/sysv/linux/tile/kernel-features.h
  48895. [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
  48896. Define.
  48897. [BZ #16610]
  48898. * sysdeps/unix/sysv/linux/kernel-features.h
  48899. [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
  48900. (__ASSUME_RECVMMSG_SOCKETCALL): Define.
  48901. [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
  48902. __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
  48903. || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
  48904. [__i386__ || __sparc__]
  48905. (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
  48906. [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
  48907. (__ASSUME_RECVMMSG): Define instead of using previous
  48908. [__LINUX_KERNEL_VERSION >= 0x020621] condition.
  48909. * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
  48910. (__ASSUME_RECVMMSG_SYSCALL): Define.
  48911. * sysdeps/unix/sysv/linux/alpha/kernel-features.h
  48912. [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
  48913. Likewise.
  48914. * sysdeps/unix/sysv/linux/arm/kernel-features.h
  48915. [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
  48916. Likewise.
  48917. * sysdeps/unix/sysv/linux/ia64/kernel-features.h
  48918. [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
  48919. Likewise.
  48920. * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
  48921. && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
  48922. !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
  48923. [__ASSUME_RECVMMSG]: Change condition to
  48924. [__ASSUME_RECVMMSG_SOCKETCALL].
  48925. * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
  48926. [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
  48927. Define.
  48928. (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
  48929. * sysdeps/unix/sysv/linux/mips/kernel-features.h
  48930. [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
  48931. Likewise.
  48932. * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
  48933. !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
  48934. !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
  48935. [!__ASSUME_RECVMMSG]: Change condition to
  48936. [!__ASSUME_RECVMMSG_SOCKETCALL].
  48937. * sysdeps/unix/sysv/linux/tile/kernel-features.h
  48938. (__ASSUME_RECVMMSG_SYSCALL): Define.
  48939. [BZ #16609]
  48940. * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
  48941. __powerpc__ || __s390__ || __sh__ || __sparc__]
  48942. (__ASSUME_SOCKETCALL): Define.
  48943. [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
  48944. (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
  48945. [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
  48946. || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
  48947. __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
  48948. [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
  48949. [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
  48950. (__ASSUME_ACCEPT4): Define instead of using previous
  48951. [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
  48952. __powerpc__ || __sparc__ || __s390__)] condition.
  48953. * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
  48954. (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
  48955. * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
  48956. !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
  48957. !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
  48958. [!__ASSUME_ACCEPT4]: Change condition to
  48959. [!__ASSUME_ACCEPT4_SOCKETCALL].
  48960. * sysdeps/unix/sysv/linux/alpha/kernel-features.h
  48961. (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
  48962. condition to [__LINUX_KERNEL_VERSION >= 0x030200].
  48963. * sysdeps/unix/sysv/linux/arm/kernel-features.h
  48964. [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
  48965. __ASSUME_ACCEPT4_SYSCALL.
  48966. * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
  48967. Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
  48968. * sysdeps/unix/sysv/linux/ia64/kernel-features.h
  48969. [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
  48970. __ASSUME_ACCEPT4_SYSCALL.
  48971. * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
  48972. && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
  48973. !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
  48974. [__ASSUME_ACCEPT4]: Change condition to
  48975. [__ASSUME_ACCEPT4_SOCKETCALL].
  48976. * sysdeps/unix/sysv/linux/m68k/kernel-features.h
  48977. (__ASSUME_SOCKETCALL): Define.
  48978. [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
  48979. * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
  48980. (__ASSUME_SOCKETCALL): Define.
  48981. (__ASSUME_ACCEPT4): Remove.
  48982. [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
  48983. Define.
  48984. * sysdeps/unix/sysv/linux/mips/kernel-features.h
  48985. [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
  48986. Likewise.
  48987. * sysdeps/unix/sysv/linux/tile/kernel-features.h
  48988. (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
  48989. * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
  48990. macro.
  48991. (HWCAP_ARM_LPAE): Likewise.
  48992. (HWCAP_ARM_EVTSTRM): Likewise.
  48993. * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
  48994. Add vpfd32, lpae and evtstrm.
  48995. * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
  48996. Increase to 22.
  48997. 2014-02-19 Joseph Myers <joseph@codesourcery.com>
  48998. * math/auto-libm-test-in: Add tests of clog10.
  48999. * math/auto-libm-test-out: Regenerated.
  49000. * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
  49001. * sysdeps/i386/fpu/libm-test-ulps: Update.
  49002. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  49003. 2014-02-18 Andreas Schwab <schwab@suse.de>
  49004. [BZ #16574]
  49005. * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
  49006. Store non-zero if the second buffer was newly allocated.
  49007. (send_dg): Likewise.
  49008. (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
  49009. to send_vc and send_dg.
  49010. (res_nsend): Pass NULL for ansp2_malloced.
  49011. * resolv/res_query.c (__libc_res_nquery): Add parameter
  49012. answerp2_malloced and pass it down to __libc_res_nsend.
  49013. (res_nquery): Pass additional NULL to __libc_res_nquery.
  49014. (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
  49015. down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
  49016. second answer buffer if answerp2_malloced was set.
  49017. (res_nsearch): Pass additional NULL to __libc_res_nsearch.
  49018. (__libc_res_nquerydomain): Add parameter
  49019. answerp2_malloced and pass it down to __libc_res_nquery.
  49020. (res_nquerydomain): Pass additional NULL to
  49021. __libc_res_nquerydomain.
  49022. * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
  49023. additional NULL to __libc_res_nsend and __libc_res_nquery.
  49024. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
  49025. additional NULL to __libc_res_nsearch.
  49026. (_nss_dns_gethostbyname4_r): Revert last change. Use new
  49027. parameter of __libc_res_nsearch to check for separately allocated
  49028. second buffer.
  49029. (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
  49030. __libc_res_nquery.
  49031. * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
  49032. additional NULL to __libc_res_nquery.
  49033. * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
  49034. __libc_res_nsearch.
  49035. (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
  49036. * include/resolv.h: Update prototypes of __libc_res_nquery,
  49037. __libc_res_nsearch, __libc_res_nsend.
  49038. 2014-02-18 Joseph Myers <joseph@codesourcery.com>
  49039. * math/auto-libm-test-in: Add tests of fma.
  49040. * math/auto-libm-test-out: Regenerated.
  49041. * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
  49042. (fma_towardzero_test_data): Likewise.
  49043. (fma_downward_test_data): Likewise.
  49044. (fma_upward_test_data): Likewise.
  49045. * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
  49046. mpc_mode.
  49047. (rounding_modes): Add values for new field.
  49048. (func_calc_method): Add value mpfr_fff_f.
  49049. (func_calc_desc): Add mpfr_fff_f union field.
  49050. (test_function): Add field exact_args.
  49051. (FUNC): Add macro argument EXACT_ARGS.
  49052. (FUNC_mpfr_f_f): Update call to FUNC.
  49053. (FUNC_mpfr_f_f): Likewise.
  49054. (FUNC_mpfr_ff_f): Likewise.
  49055. (FUNC_mpfr_if_f): Likewise.
  49056. (FUNC_mpc_c_f): Likewise.
  49057. (FUNC_mpc_c_c): Likewise.
  49058. (test_functions): Add fma. Update calls to FUNC.
  49059. (handle_input_arg): Add argument exact_args.
  49060. (add_test): Update call to handle_input_arg.
  49061. (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
  49062. (output_for_one_input_case): Update call to calc_generic_results.
  49063. Recalculate exact zero results in each rounding mode.
  49064. * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
  49065. non-negative before setting low bit.
  49066. * math/auto-libm-test-in: Mark one asin test possibly having
  49067. spurious underflow.
  49068. * math/auto-libm-test-out: Regenerated.
  49069. * sysdeps/i386/fpu/libm-test-ulps: Update.
  49070. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  49071. 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
  49072. * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
  49073. * sysdeps/unix/sysv/linux/microblaze: Move directory from
  49074. ports/sysdeps/unix/sysv/linux/microblaze.
  49075. * README: Add missing listing for microblaze*-*-linux-gnu.
  49076. 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
  49077. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
  49078. duplicate code
  49079. 2014-02-16 Mike Frysinger <vapier@gentoo.org>
  49080. * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
  49081. * sysdeps/unix/sysv/linux/ia64: Move directory from
  49082. ports/sysdeps/unix/sysv/linux/ia64.
  49083. * README: Update listing for ia64-*-linux-gnu.
  49084. 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
  49085. Joseph Myers <joseph@codesourcery.com>
  49086. * Makeconfig (test-name): New variable.
  49087. (evaluate-test): Likewise.
  49088. * Makerules (do-test-clean): Remove .test-result files.
  49089. (common-mostlyclean): Likewise.
  49090. * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
  49091. * scripts/evaluate-test.sh: New file.
  49092. 2014-02-14 Joseph Myers <joseph@codesourcery.com>
  49093. * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
  49094. separate $(objpfx)tst-fopenloc-cmp.out and
  49095. $(objpfx)tst-fopenloc-mem.out targets.
  49096. (tests): Update dependencies.
  49097. * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
  49098. (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
  49099. tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
  49100. (tst-rxspencer-no-utf8-ARGS): New variable.
  49101. (tst-rxspencer-no-utf8-ENV): Likewise.
  49102. (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
  49103. instead of $(objpfx)tst-rxspencer-mem.
  49104. ($(objpfx)tst-rxspencer-mem): Change target to
  49105. $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
  49106. $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
  49107. * posix/tst-rxspencer-no-utf8.c: New file.
  49108. * elf/Makefile ($(objpfx)order.out): Remove rule.
  49109. [$(run-built-tests) = yes] (tests): Depend on
  49110. $(objpfx)order-cmp.out.
  49111. ($(objpfx)order-cmp.out): New rule.
  49112. [$(run-built-tests) = yes] (tests): Depend on
  49113. $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
  49114. $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
  49115. $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
  49116. $(objpfx)tst-array5-static-cmp.out.
  49117. ($(objpfx)tst-array1.out): Remove rule.
  49118. ($(objpfx)tst-array1-cmp.out): New rule.
  49119. ($(objpfx)tst-array1-static.out): Remove rule.
  49120. ($(objpfx)tst-array1-static-cmp.out): New rule.
  49121. ($(objpfx)tst-array2.out): Remove rule.
  49122. ($(objpfx)tst-array2-cmp.out): New rule.
  49123. ($(objpfx)tst-array3.out): Remove rule.
  49124. ($(objpfx)tst-array3-cmp.out): New rule.
  49125. ($(objpfx)tst-array4.out): Remove rule.
  49126. ($(objpfx)tst-array4-cmp.out): New rule.
  49127. ($(objpfx)tst-array5.out): Remove rule.
  49128. ($(objpfx)tst-array5-cmp.out): New rule.
  49129. ($(objpfx)tst-array5-static.out): Remove rule.
  49130. ($(objpfx)tst-array5-static-cmp.out): New rule.
  49131. [$(run-built-tests) = yes] (tests): Depend on
  49132. $(objpfx)order2-cmp.out.
  49133. ($(objpfx)order2.out): Remove rule.
  49134. ($(objpfx)order2-cmp.out): New rule.
  49135. ($(objpfx)tst-initorder.out): Remove rule.
  49136. [$(run-built-tests) = yes] (tests): Depend on
  49137. $(objpfx)tst-initorder-cmp.out.
  49138. ($(objpfx)tst-initorder-cmp.out): New rule.
  49139. ($(objpfx)tst-initorder2.out): Remove rule.
  49140. [$(run-built-tests) = yes] (tests): Depend on
  49141. $(objpfx)tst-initorder2-cmp.out.
  49142. ($(objpfx)tst-initorder2-cmp.out): New rule.
  49143. [$(run-built-tests) = yes] (tests): Depend on
  49144. $(objpfx)tst-unused-dep-cmp.out.
  49145. ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
  49146. ($(objpfx)tst-unused-dep-cmp.out): New rule.
  49147. * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
  49148. on $(objpfx)tst-setvbuf1-cmp.out.
  49149. ($(objpfx)tst-setvbuf1.out): Do not run cmp.
  49150. ($(objpfx)tst-setvbuf1-cmp.out): New rule.
  49151. * string/Makefile [$(run-built-tests) = yes] (tests): Depend
  49152. $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
  49153. ($(objpfx)tst-svc.out): Remove rule.
  49154. ($(objpfx)tst-svc-cmp.out): New rule.
  49155. 2014-02-13 Joseph Myers <joseph@codesourcery.com>
  49156. * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
  49157. * ctype/ctype.h [__USE_MISC]: Likewise.
  49158. * dirent/dirent.h [__USE_MISC]: Likewise.
  49159. * grp/grp.h [__USE_MISC]: Likewise.
  49160. * io/fcntl.h [__USE_MISC]: Likewise.
  49161. * io/sys/stat.h [__USE_MISC]: Likewise.
  49162. * libio/stdio.h [__USE_MISC]: Likewise.
  49163. * posix/unistd.h [__USE_MISC]: Likewise.
  49164. * pwd/pwd.h [__USE_MISC]: Likewise.
  49165. * stdlib.h [__USE_MISC]: Likewise.
  49166. * string/bits/string2.h [__USE_MISC]: Likewise.
  49167. * string/string.h [__USE_MISC]: Likewise.
  49168. * time/time.h [__USE_MISC]: Likewise.
  49169. 2014-02-13 Andreas Schwab <schwab@suse.de>
  49170. [BZ #16574]
  49171. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
  49172. second answer buffer if it was separately allocated.
  49173. 2014-02-12 Joseph Myers <joseph@codesourcery.com>
  49174. * sysdeps/mips/math-tests.h: Include <features.h>.
  49175. [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
  49176. (ROUNDING_TESTS_long_double): Do not define.
  49177. [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
  49178. (EXCEPTION_TESTS_long_double): Likewise.
  49179. * sysdeps/mips/mips64/libm-test-ulps: Update.
  49180. * include/features.h (__USE_BSD): Remove macro definitions.
  49181. (__USE_SVID): Likewise.
  49182. (_BSD_SOURCE): Likewise.
  49183. (_SVID_SOURCE): Likewise.
  49184. [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
  49185. from definition of _DEFAULT_SOURCE.
  49186. [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
  49187. [_DEFAULT_SOURCE].
  49188. * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
  49189. * bits/mman.h [__USE_BSD]: Likewise.
  49190. * bits/termios.h [__USE_BSD]: Likewise.
  49191. * bits/waitstatus.h [__USE_BSD]: Likewise.
  49192. * ctype/ctype.h [__USE_SVID]: Likewise.
  49193. * dirent/dirent.h [__USE_BSD]: Likewise.
  49194. * grp/grp.h [__USE_SVID]: Likewise.
  49195. [__USE_BSD]: Likewise.
  49196. * inet/netinet/igmp.h [__USE_BSD]: Likewise.
  49197. * io/fcntl.h [__USE_BSD]: Likewise.
  49198. * io/ftw.h [__USE_BSD]: Likewise.
  49199. * io/sys/stat.h [__USE_BSD]: Likewise.
  49200. * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
  49201. * libio/bits/stdio2.h [__USE_BSD]: Likewise.
  49202. * libio/stdio.h [__USE_SVID]: Likewise.
  49203. [__USE_BSD]: Likewise.
  49204. * math/math.h [__USE_SVID]: Likewise.
  49205. [__USE_BSD]: Likewise.
  49206. * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
  49207. * misc/bits/syslog.h [__USE_BSD]: Likewise.
  49208. * misc/search.h [__USE_SVID]: Likewise.
  49209. * misc/sys/mman.h [__USE_BSD]: Likewise.
  49210. * misc/sys/syslog.h [__USE_BSD]: Likewise.
  49211. * misc/sys/uio.h [__USE_BSD]: Likewise.
  49212. * posix/bits/unistd.h [__USE_BSD]: Likewise.
  49213. * posix/glob.h [__USE_BSD]: Likewise.
  49214. * posix/regex.h [__USE_BSD]: Likewise.
  49215. * posix/sys/types.h [__USE_BSD]: Likewise.
  49216. [__USE_SVID]: Likewise.
  49217. * posix/sys/utsname.h [__USE_SVID]: Likewise.
  49218. * posix/sys/wait.h [__USE_BSD]: Likewise.
  49219. [__USE_SVID]: Likewise.
  49220. * posix/unistd.h [__USE_BSD]: Likewise.
  49221. [__USE_SVID]: Likewise.
  49222. * pwd/pwd.h [__USE_SVID]: Likewise.
  49223. * resolv/netdb.h [__USE_BSD]: Likewise.
  49224. * setjmp/setjmp.h [__USE_BSD]: Likewise.
  49225. * signal/signal.h [__USE_BSD]: Likewise.
  49226. [__USE_SVID]: Likewise.
  49227. * socket/sys/socket.h [__USE_BSD]: Likewise.
  49228. * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
  49229. * stdlib/stdlib.h [__USE_BSD]: Likewise.
  49230. [__USE_SVID]: Likewise.
  49231. * string/bits/string2.h [__USE_BSD]: Likewise.
  49232. [__USE_SVID]: Likewise.
  49233. * string/bits/string3.h [__USE_BSD]: Likewise.
  49234. * string/endian.h [__USE_BSD]: Likewise.
  49235. * string/string.h [__USE_SVID]: Likewise.
  49236. [__USE_BSD]: Likewise.
  49237. * string/strings.h [__USE_BSD]: Likewise.
  49238. * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
  49239. * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
  49240. * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
  49241. * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
  49242. * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
  49243. * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
  49244. Likewise.
  49245. * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
  49246. Likewise.
  49247. * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
  49248. * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
  49249. Likewise.
  49250. * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
  49251. * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
  49252. Likewise.
  49253. * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
  49254. Likewise.
  49255. * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
  49256. * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
  49257. * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
  49258. Likewise.
  49259. * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
  49260. Likewise.
  49261. * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
  49262. * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
  49263. * termios/termios.h [__USE_BSD]: Likewise.
  49264. * time/sys/time.h [__USE_BSD]: Likewise.
  49265. * time/time.h [__USE_BSD]: Likewise.
  49266. [__USE_SVID]: Likewise.
  49267. * Makefile (subdir_targets): Remove subdir_lint.out.
  49268. * stdio-common/Makefile (do-tst-unbputc): Remove target.
  49269. (do-tst-printf): Likewise.
  49270. (tests): Depend directly on $(objpfx)tst-unbputc.out and
  49271. $(objpfx)tst-printf.out.
  49272. * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
  49273. * Makerules (check-abi-%): Change target to
  49274. $(objpfx)check-abi-%.out.
  49275. (check-abi target): Update dependencies.
  49276. (check-abi-pattern variable): Redirect output of diff to $@.
  49277. (check-abi variable): Likewise.
  49278. * elf/Makefile (check-abi): Update dependencies.
  49279. * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
  49280. unused.
  49281. (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
  49282. value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
  49283. subnormal range.
  49284. (_FP_PACK_CANONICAL): Determine tininess based on rounding to
  49285. normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
  49286. value has largest subnormal exponent.
  49287. * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
  49288. (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
  49289. * sysdeps/aarch64/soft-fp/sfp-machine.h
  49290. (_FP_TININESS_AFTER_ROUNDING): New macro.
  49291. * sysdeps/alpha/soft-fp/sfp-machine.h
  49292. (_FP_TININESS_AFTER_ROUNDING): Likewise.
  49293. * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
  49294. Likewise.
  49295. * sysdeps/mips/mips64/soft-fp/sfp-machine.h
  49296. (_FP_TININESS_AFTER_ROUNDING): Likewise.
  49297. * sysdeps/mips/soft-fp/sfp-machine.h
  49298. (_FP_TININESS_AFTER_ROUNDING): Likewise.
  49299. * sysdeps/powerpc/soft-fp/sfp-machine.h
  49300. (_FP_TININESS_AFTER_ROUNDING): Likewise.
  49301. * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
  49302. Likewise.
  49303. * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
  49304. (_FP_TININESS_AFTER_ROUNDING): Likewise.
  49305. * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
  49306. (_FP_TININESS_AFTER_ROUNDING): Likewise.
  49307. * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
  49308. Likewise.
  49309. 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
  49310. [BZ #16545]
  49311. * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
  49312. model 1.
  49313. 2014-02-12 Richard Henderson <rth@redhat.com>
  49314. * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
  49315. * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
  49316. * sysdeps/unix/sysv/linux/alpha: Move directory from
  49317. ports/sysdeps/unix/sysv/linux/alpha.
  49318. * README: Update listing for alpha-*-linux-gnu.
  49319. 2014-02-11 Joseph Myers <joseph@codesourcery.com>
  49320. * include/features.h: Update comment documenting feature test
  49321. macros.
  49322. [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
  49323. _DEFAULT_SOURCE.
  49324. * manual/creature.texi (_BSD_SOURCE): Remove documentation.
  49325. (_SVID_SOURCE): Likewise.
  49326. (_DEFAULT_SOURCE): Update description of default features.
  49327. (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
  49328. with _GNU_SOURCE.
  49329. * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
  49330. (S_ISVTX): Likewise.
  49331. * manual/math.texi (Mathematical Constants): Likewise.
  49332. * manual/signal.texi (Interrupted Primitives): Likewise.
  49333. * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
  49334. * math/test-matherr.c (_SVID_SOURCE): Do not define.
  49335. * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
  49336. Don't refer to _SVID_SOURCE in warning text.
  49337. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
  49338. * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
  49339. already defined.
  49340. (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
  49341. * sysdeps/mips/dl-lookup.c: Remove.
  49342. * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
  49343. 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
  49344. [BZ #16447]
  49345. * math/auto-libm-test-in: Add testcase for expl.
  49346. * math/auto-libm-test-out: Regenerate.
  49347. * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
  49348. calculation of unsafe.
  49349. * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
  49350. 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
  49351. * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
  49352. * sysdeps/unix/sysv/linux/aarch64: Move directory from
  49353. ports/sysdeps/unix/sysv/linux/aarch64.
  49354. * README: Update listing for aarch64*-*-linux-gnu.
  49355. 2014-02-11 Will Newton <will.newton@linaro.org>
  49356. * manual/probes.texi (Mathematical Function Probes): Use
  49357. "triggered" instead of "hit".
  49358. * manual/probes.texi (Internal Probes): Add documentation
  49359. of setjmp, longjmp and longjmp_target probes.
  49360. * include/stap-probe.h: Add comment about probe argument
  49361. format.
  49362. * malloc/mtrace.c (attribute_hidden): Remove unused macro
  49363. definition. (tr_where, tr_freehook, tr_mallochook,
  49364. tr_reallochook, tr_memalignhook): Use ANSI protoype.
  49365. 2014-02-11 David S. Miller <davem@davemloft.net>
  49366. * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
  49367. processing int_tests.
  49368. 2014-02-10 Joseph Myers <joseph@codesourcery.com>
  49369. * sysdeps/mips: Move directory from ports/sysdeps/mips.
  49370. * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
  49371. * sysdeps/unix/sysv/linux/mips: Move directory from
  49372. ports/sysdeps/unix/sysv/linux/mips.
  49373. * README: Update listing for mips-*-linux-gnu and
  49374. mips64-*-linux-gnu.
  49375. 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
  49376. * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
  49377. * sysdeps/unix/sysv/linux/m68k: Move directory from
  49378. ports/sysdeps/unix/sysv/linux/m68k.
  49379. * README: Update listing for m68k-*-linux-gnu.
  49380. 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
  49381. * sysdeps/tile: Move directory from ports/sysdeps/tile.
  49382. * sysdeps/unix/sysv/linux/generic: Move directory from
  49383. ports/sysdeps/unix/sysv/linux/generic.
  49384. * sysdeps/unix/sysv/linux/tile: Move directory from
  49385. ports/sysdeps/unix/sysv/linux/tile.
  49386. * README: Update listing for tile*-*-linux-gnu.
  49387. 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
  49388. * assert/assert.c (__assert_fail_base): Use glibc_likely instead
  49389. __builtin_expect.
  49390. * benchtests/bench-memmem.c (simple_memmem): Likewise.
  49391. * catgets/open_catalog.c (__open_catalog): Likewise.
  49392. * csu/libc-start.c (LIBC_START_MAIN): Likewise.
  49393. * debug/confstr_chk.c: Likewise.
  49394. * debug/fread_chk.c (__fread_chk): Likewise.
  49395. * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
  49396. * debug/getgroups_chk.c: Likewise.
  49397. * debug/mbsnrtowcs_chk.c: Likewise.
  49398. * debug/mbsrtowcs_chk.c: Likewise.
  49399. * debug/mbstowcs_chk.c: Likewise.
  49400. * debug/memcpy_chk.c: Likewise.
  49401. * debug/memmove_chk.c: Likewise.
  49402. * debug/mempcpy_chk.c: Likewise.
  49403. * debug/memset_chk.c: Likewise.
  49404. * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
  49405. * debug/strcat_chk.c (__strcat_chk): Likewise.
  49406. * debug/strcpy_chk.c (__strcpy_chk): Likewise.
  49407. * debug/strncat_chk.c (__strncat_chk): Likewise.
  49408. * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
  49409. * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
  49410. * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
  49411. * debug/wcpncpy_chk.c: Likewise.
  49412. * debug/wcscat_chk.c (__wcscat_chk): Likewise.
  49413. * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
  49414. * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
  49415. * debug/wcsncpy_chk.c: Likewise.
  49416. * debug/wcsnrtombs_chk.c: Likewise.
  49417. * debug/wcsrtombs_chk.c: Likewise.
  49418. * debug/wcstombs_chk.c: Likewise.
  49419. * debug/wmemcpy_chk.c: Likewise.
  49420. * debug/wmemmove_chk.c: Likewise.
  49421. * debug/wmempcpy_chk.c: Likewise.
  49422. * debug/wmemset_chk.c: Likewise.
  49423. * dirent/scandirat.c (SCANDIRAT): Likewise.
  49424. * dlfcn/dladdr1.c (dladdr1): Likewise.
  49425. * dlfcn/dladdr.c (dladdr): Likewise.
  49426. * dlfcn/dlclose.c (dlclose_doit): Likewise.
  49427. * dlfcn/dlerror.c (__dlerror): Likewise.
  49428. * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
  49429. * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
  49430. * dlfcn/dlopen.c (dlopen_doit): Likewise.
  49431. * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
  49432. * dlfcn/dlsym.c (dlsym_doit): Likewise.
  49433. * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
  49434. * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
  49435. * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
  49436. Likewise.
  49437. * elf/dl-conflict.c: Likewise.
  49438. * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
  49439. * elf/dl-dst.h: Likewise.
  49440. * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
  49441. * elf/dl-fptr.c (_dl_make_fptr): Likewise.
  49442. * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
  49443. * elf/dl-init.c (call_init, _dl_init): Likewise.
  49444. * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
  49445. * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
  49446. (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
  49447. Likewise.
  49448. * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
  49449. Likewise.
  49450. * elf/dl-minimal.c (__libc_memalign): Likewise.
  49451. * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
  49452. * elf/dl-reloc.c (_dl_relocate_object): Likewise.
  49453. * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
  49454. * elf/dl-sym.c (do_sym): Likewise.
  49455. * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
  49456. (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
  49457. * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
  49458. * elf/dl-writev.h (_dl_writev): Likewise.
  49459. * elf/ldconfig.c (search_dir): Likewise.
  49460. * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
  49461. (dl_main): Likewise.
  49462. * elf/setup-vdso.h (setup_vdso): Likewise.
  49463. * grp/compat-initgroups.c (compat_call): Likewise.
  49464. * grp/fgetgrent.c (fgetgrent): Likewise.
  49465. * grp/initgroups.c (getgrouplist, initgroups): Likewise.
  49466. * grp/putgrent.c (putgrent): Likewise.
  49467. * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
  49468. Likewise.
  49469. * hurd/hurdinit.c: Likewise.
  49470. * iconvdata/8bit-gap.c (struct): Likewise.
  49471. * iconvdata/ansi_x3.110.c : Likewise.
  49472. * iconvdata/big5.c : Likewise.
  49473. * iconvdata/big5hkscs.c : Likewise.
  49474. * iconvdata/cp1255.c: Likewise.
  49475. * iconvdata/cp1258.c : Likewise.
  49476. * iconvdata/cp932.c : Likewise.
  49477. * iconvdata/euc-cn.c: Likewise.
  49478. * iconvdata/euc-jisx0213.c : Likewise.
  49479. * iconvdata/euc-jp.c: Likewise.
  49480. * iconvdata/euc-jp-ms.c : Likewise.
  49481. * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
  49482. * iconvdata/gb18030.c : Likewise.
  49483. * iconvdata/gbbig5.c (const): Likewise.
  49484. * iconvdata/gbgbk.c: Likewise.
  49485. * iconvdata/gbk.c : Likewise.
  49486. * iconvdata/ibm1364.c : Likewise.
  49487. * iconvdata/ibm930.c : Likewise.
  49488. * iconvdata/ibm932.c: Likewise.
  49489. * iconvdata/ibm933.c : Likewise.
  49490. * iconvdata/ibm935.c : Likewise.
  49491. * iconvdata/ibm937.c : Likewise.
  49492. * iconvdata/ibm939.c : Likewise.
  49493. * iconvdata/ibm943.c: Likewise.
  49494. * iconvdata/iso_11548-1.c: Likewise.
  49495. * iconvdata/iso-2022-cn.c : Likewise.
  49496. * iconvdata/iso-2022-cn-ext.c : Likewise.
  49497. * iconvdata/iso-2022-jp-3.c: Likewise.
  49498. * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
  49499. * iconvdata/iso-2022-kr.c : Likewise.
  49500. * iconvdata/iso646.c (gconv_end): Likewise.
  49501. * iconvdata/iso_6937-2.c : Likewise.
  49502. * iconvdata/iso_6937.c : Likewise.
  49503. * iconvdata/iso8859-1.c: Likewise.
  49504. * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
  49505. * iconvdata/shift_jisx0213.c : Likewise.
  49506. * iconvdata/sjis.c : Likewise.
  49507. * iconvdata/t.61.c : Likewise.
  49508. * iconvdata/tcvn5712-1.c : Likewise.
  49509. * iconvdata/tscii.c: Likewise.
  49510. * iconvdata/uhc.c : Likewise.
  49511. * iconvdata/unicode.c (gconv_end): Likewise.
  49512. * iconvdata/utf-16.c (gconv_end): Likewise.
  49513. * iconvdata/utf-32.c (gconv_end): Likewise.
  49514. * iconvdata/utf-7.c (base64): Likewise.
  49515. * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
  49516. * iconv/gconv_close.c (__gconv_close): Likewise.
  49517. * iconv/gconv_open.c (__gconv_open): Likewise.
  49518. * iconv/gconv_simple.c (internal_ucs4_loop_single)
  49519. (ucs4_internal_loop, ucs4_internal_loop_unaligned)
  49520. (ucs4_internal_loop_single, internal_ucs4le_loop_single)
  49521. (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
  49522. (ucs4le_internal_loop_single): Likewise.
  49523. * iconv/iconv.c (iconv): Likewise.
  49524. * iconv/iconv_close.c: Likewise.
  49525. * iconv/loop.c (SINGLE): Likewise.
  49526. * iconv/skeleton.c (FUNCTION_NAME): Likewise.
  49527. * include/atomic.h: Likewise.
  49528. * inet/inet6_option.c (option_alloc): Likewise.
  49529. * intl/bindtextdom.c (set_binding_values): Likewise.
  49530. * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
  49531. * intl/loadmsgcat.c (_nl_load_domain): Likewise.
  49532. * intl/localealias.c (read_alias_file): Likewise.
  49533. * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
  49534. * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
  49535. (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
  49536. * libio/fmemopen.c (fmemopen): Likewise.
  49537. * libio/iofgets.c (_IO_fgets): Likewise.
  49538. * libio/iofgets_u.c (fgets_unlocked): Likewise.
  49539. * libio/iofgetws.c (fgetws): Likewise.
  49540. * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
  49541. * libio/iogetdelim.c (_IO_getdelim): Likewise.
  49542. * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
  49543. (adjust_wide_data, _IO_wfile_seekoff): Likewise.
  49544. * locale/findlocale.c (_nl_find_locale): Likewise.
  49545. * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
  49546. * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
  49547. Likewise.
  49548. * locale/setlocale.c (setlocale): Likewise.
  49549. * login/programs/pt_chown.c (main): Likewise.
  49550. * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
  49551. * malloc/malloc.c (_int_malloc, _int_free): Likewise.
  49552. * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
  49553. (mmap, mmap64, mremap, munmap): Likewise.
  49554. * math/e_exp2l.c: Likewise.
  49555. * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
  49556. * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
  49557. * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
  49558. * math/s_catan.c (__catan): Likewise.
  49559. * math/s_catanf.c (__catanf): Likewise.
  49560. * math/s_catanh.c (__catanh): Likewise.
  49561. * math/s_catanhf.c (__catanhf): Likewise.
  49562. * math/s_catanhl.c (__catanhl): Likewise.
  49563. * math/s_catanl.c (__catanl): Likewise.
  49564. * math/s_ccosh.c (__ccosh): Likewise.
  49565. * math/s_ccoshf.c (__ccoshf): Likewise.
  49566. * math/s_ccoshl.c (__ccoshl): Likewise.
  49567. * math/s_cexp.c (__cexp): Likewise.
  49568. * math/s_cexpf.c (__cexpf): Likewise.
  49569. * math/s_cexpl.c (__cexpl): Likewise.
  49570. * math/s_clog10.c (__clog10): Likewise.
  49571. * math/s_clog10f.c (__clog10f): Likewise.
  49572. * math/s_clog10l.c (__clog10l): Likewise.
  49573. * math/s_clog.c (__clog): Likewise.
  49574. * math/s_clogf.c (__clogf): Likewise.
  49575. * math/s_clogl.c (__clogl): Likewise.
  49576. * math/s_csin.c (__csin): Likewise.
  49577. * math/s_csinf.c (__csinf): Likewise.
  49578. * math/s_csinh.c (__csinh): Likewise.
  49579. * math/s_csinhf.c (__csinhf): Likewise.
  49580. * math/s_csinhl.c (__csinhl): Likewise.
  49581. * math/s_csinl.c (__csinl): Likewise.
  49582. * math/s_csqrt.c (__csqrt): Likewise.
  49583. * math/s_csqrtf.c (__csqrtf): Likewise.
  49584. * math/s_csqrtl.c (__csqrtl): Likewise.
  49585. * math/s_ctan.c (__ctan): Likewise.
  49586. * math/s_ctanf.c (__ctanf): Likewise.
  49587. * math/s_ctanh.c (__ctanh): Likewise.
  49588. * math/s_ctanhf.c (__ctanhf): Likewise.
  49589. * math/s_ctanhl.c (__ctanhl): Likewise.
  49590. * math/s_ctanl.c (__ctanl): Likewise.
  49591. * math/w_pow.c: Likewise.
  49592. * math/w_powf.c: Likewise.
  49593. * math/w_powl.c: Likewise.
  49594. * math/w_scalb.c (sysv_scalb): Likewise.
  49595. * math/w_scalbf.c (sysv_scalbf): Likewise.
  49596. * math/w_scalbl.c (sysv_scalbl): Likewise.
  49597. * misc/error.c (error_tail): Likewise.
  49598. * misc/pselect.c (__pselect): Likewise.
  49599. * nis/nis_callback.c (__nis_create_callback): Likewise.
  49600. * nis/nis_call.c (__nisfind_server): Likewise.
  49601. * nis/nis_creategroup.c (nis_creategroup): Likewise.
  49602. * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
  49603. * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
  49604. * nis/nis_getservlist.c (nis_getservlist): Likewise.
  49605. * nis/nis_lookup.c (nis_lookup): Likewise.
  49606. * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
  49607. * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
  49608. (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
  49609. * nis/nis_xdr.c (xdr_endpoint): Likewise.
  49610. * nis/nss_compat/compat-grp.c (getgrent_next_file)
  49611. (internal_getgrnam_r, internal_getgrgid_r): Likewise.
  49612. * nis/nss_compat/compat-initgroups.c (add_group)
  49613. (internal_getgrent_r): Likewise.
  49614. * nis/nss_compat/compat-pwd.c (getpwent_next_file)
  49615. (internal_getpwnam_r, internal_getpwuid_r): Likewise.
  49616. * nis/nss_compat/compat-spwd.c (getspent_next_file)
  49617. (internal_getspnam_r): Likewise.
  49618. * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
  49619. (_nss_nis_getaliasbyname_r): Likewise.
  49620. * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
  49621. (_nss_nis_getntohost_r): Likewise.
  49622. * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
  49623. (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
  49624. (_nss_nis_getgrgid_r): Likewise.
  49625. * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
  49626. (internal_nis_gethostent_r, internal_gethostbyname2_r)
  49627. (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
  49628. (_nss_nis_gethostbyname4_r): Likewise.
  49629. * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
  49630. (initgroups_netid): Likewise.
  49631. * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
  49632. * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
  49633. (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
  49634. * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
  49635. (_nss_nis_getprotobynumber_r): Likewise.
  49636. * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
  49637. (_nss_nis_getsecretkey): Likewise.
  49638. * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
  49639. (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
  49640. (_nss_nis_getpwuid_r): Likewise.
  49641. * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
  49642. (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
  49643. * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
  49644. (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
  49645. * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
  49646. (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
  49647. * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
  49648. Likewise.
  49649. * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
  49650. (_nss_nisplus_getntohost_r): Likewise.
  49651. * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
  49652. (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
  49653. * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
  49654. (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
  49655. Likewise.
  49656. * nis/nss_nisplus/nisplus-initgroups.c
  49657. (_nss_nisplus_initgroups_dyn): Likewise.
  49658. * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
  49659. (_nss_nisplus_getnetbyaddr_r): Likewise.
  49660. * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
  49661. (_nss_nisplus_getprotobynumber_r): Likewise.
  49662. * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
  49663. (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
  49664. * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
  49665. Likewise.
  49666. * nis/nss_nisplus/nisplus-service.c
  49667. (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
  49668. (_nss_nisplus_getservbyport_r): Likewise.
  49669. * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
  49670. (_nss_nisplus_getspnam_r): Likewise.
  49671. * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
  49672. Likewise.
  49673. * nscd/aicache.c (addhstaiX): Likewise.
  49674. * nscd/cache.c (cache_search, prune_cache): Likewise.
  49675. * nscd/connections.c (register_traced_file, send_ro_fd)
  49676. (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
  49677. (main_loop_epoll): Likewise.
  49678. * nscd/grpcache.c (addgrbyX): Likewise.
  49679. * nscd/hstcache.c (addhstbyX): Likewise.
  49680. * nscd/initgrcache.c (addinitgroupsX): Likewise.
  49681. * nscd/mem.c (gc, mempool_alloc): Likewise.
  49682. * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
  49683. (addinnetgrX): Likewise.
  49684. * nscd/nscd-client.h (__nscd_acquire_maplock)
  49685. (__nscd_drop_map_ref): Likewise.
  49686. * nscd/nscd_getai.c (__nscd_getai): Likewise.
  49687. * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
  49688. * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
  49689. Likewise.
  49690. * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
  49691. * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
  49692. * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
  49693. (__nscd_get_map_ref): Likewise.
  49694. * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
  49695. * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
  49696. Likewise.
  49697. * nscd/pwdcache.c (addpwbyX): Likewise.
  49698. * nscd/selinux.c (preserve_capabilities): Likewise.
  49699. * nscd/servicescache.c (addservbyX): Likewise.
  49700. * nss/nss_files/files-XXX.c (internal_getent): Likewise.
  49701. * posix/fnmatch.c (fnmatch): Likewise.
  49702. * posix/getopt.c (_getopt_internal_r): Likewise.
  49703. * posix/glob.c (glob, glob_in_dir): Likewise.
  49704. * posix/wordexp.c (exec_comm_child): Likewise.
  49705. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
  49706. (getanswer_r, gaih_getanswer_slice): Likewise.
  49707. * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
  49708. * resolv/res_init.c: Likewise.
  49709. * resolv/res_mkquery.c (res_nmkquery): Likewise.
  49710. * resolv/res_query.c (__libc_res_nquery): Likewise.
  49711. * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
  49712. Likewise.
  49713. * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
  49714. * stdio-common/perror.c (perror): Likewise.
  49715. * stdio-common/printf_fp.c (___printf_fp): Likewise.
  49716. * stdio-common/tmpnam.c (tmpnam): Likewise.
  49717. * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
  49718. * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
  49719. * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
  49720. Likewise.
  49721. * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
  49722. * stdlib/putenv.c (putenv): Likewise.
  49723. * stdlib/setenv.c (__add_to_environ): Likewise.
  49724. * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
  49725. * stdlib/strtol_l.c (INTERNAL): Likewise.
  49726. * string/memmem.c (memmem): Likewise.
  49727. * string/strerror.c (strerror): Likewise.
  49728. * string/strnlen.c (__strnlen): Likewise.
  49729. * string/test-memmem.c (simple_memmem): Likewise.
  49730. * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
  49731. * sunrpc/pm_getport.c (__get_socket): Likewise.
  49732. * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
  49733. * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
  49734. * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
  49735. (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
  49736. Likewise.
  49737. * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
  49738. * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
  49739. * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
  49740. * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
  49741. * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
  49742. * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
  49743. Likewise.
  49744. * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
  49745. Likewise.
  49746. * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
  49747. * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
  49748. * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
  49749. * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
  49750. * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
  49751. * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
  49752. * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
  49753. * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
  49754. * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
  49755. * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
  49756. * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
  49757. * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
  49758. Likewise.
  49759. * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
  49760. Likewise.
  49761. * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
  49762. Likewise.
  49763. * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
  49764. * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
  49765. * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
  49766. * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
  49767. * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
  49768. * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
  49769. * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
  49770. * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
  49771. * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
  49772. * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
  49773. * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
  49774. * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
  49775. * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
  49776. * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
  49777. * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
  49778. * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
  49779. Likewise.
  49780. * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
  49781. Likewise.
  49782. * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
  49783. Likewise.
  49784. * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
  49785. Likewise.
  49786. * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
  49787. * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
  49788. * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
  49789. Likewise.
  49790. * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
  49791. * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
  49792. * sysdeps/posix/opendir.c (__opendirat): Likewise.
  49793. * sysdeps/posix/sleep.c: Likewise.
  49794. * sysdeps/posix/tempname.c: Likewise.
  49795. * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
  49796. * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
  49797. Likewise.
  49798. * sysdeps/powerpc/powerpc32/dl-machine.h
  49799. (elf_machine_runtime_setup, elf_machine_rela): Likewise.
  49800. * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
  49801. * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
  49802. * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
  49803. * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
  49804. Likewise.
  49805. * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
  49806. * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
  49807. (elf_machine_rela, elf_machine_lazy_rel): Likewise.
  49808. * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
  49809. (elf_machine_rela, elf_machine_lazy_rel): Likewise.
  49810. * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
  49811. * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
  49812. * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
  49813. * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
  49814. * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
  49815. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
  49816. (elf_machine_lazy_rel): Likewise.
  49817. * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
  49818. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
  49819. (elf_machine_lazy_rel): Likewise.
  49820. * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
  49821. * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
  49822. * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
  49823. * sysdeps/unix/grantpt.c (grantpt): Likewise.
  49824. * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
  49825. * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
  49826. * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
  49827. * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
  49828. Likewise.
  49829. * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
  49830. * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
  49831. * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
  49832. * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
  49833. * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
  49834. * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
  49835. * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
  49836. * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
  49837. * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
  49838. * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
  49839. * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
  49840. Likewise.
  49841. * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
  49842. (__posix_fallocate64_l64): Likewise.
  49843. * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
  49844. (posix_fallocate): Likewise.
  49845. * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
  49846. Likewise.
  49847. * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
  49848. * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
  49849. (getifaddrs_internal): Likewise.
  49850. * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
  49851. * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
  49852. * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
  49853. * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
  49854. * sysdeps/unix/sysv/linux/posix_fallocate64.c
  49855. (__posix_fallocate64_l64): Likewise.
  49856. * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
  49857. Likewise.
  49858. * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
  49859. * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
  49860. (__get_clockfreq): Likewise.
  49861. * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
  49862. * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
  49863. * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
  49864. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
  49865. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
  49866. * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
  49867. * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
  49868. * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
  49869. Likewise.
  49870. * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
  49871. * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
  49872. * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
  49873. * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
  49874. * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
  49875. * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
  49876. * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
  49877. Likewise.
  49878. * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
  49879. (posix_fallocate): Likewise.
  49880. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
  49881. * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
  49882. * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
  49883. * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
  49884. (elf_machine_rela, elf_machine_rela_relative)
  49885. (elf_machine_lazy_rel): Likewise.
  49886. * time/asctime.c (asctime_internal): Likewise.
  49887. * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
  49888. * time/tzset.c (__tzset_parse_tz): Likewise.
  49889. * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
  49890. * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
  49891. * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
  49892. * wcsmbs/wcsmbsload.h: Likewise.
  49893. [BZ #15894]
  49894. * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
  49895. * malloc/arena.c (grow_heap, get_free_list, reused_arena)
  49896. (arena_get2): Remove THREAD_STATS conditionals.
  49897. * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
  49898. (__malloc_stats, int): Likewise.
  49899. 2014-02-08 Mike Frysinger <vapier@gentoo.org>
  49900. * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
  49901. f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
  49902. * manual/setjmp.texi: Fix typos/grammar errors.
  49903. * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
  49904. Only return early when n is <= 0. Delete unused return statement.
  49905. * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
  49906. (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
  49907. * debug/tst-longjmp_chk3.c: New file.
  49908. * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
  49909. (test_main): Replace code with set_fortify_handler call.
  49910. * debug/test-strcpy_chk.c: Likewise.
  49911. * debug/tst-chk1.c: Likewise.
  49912. * debug/tst-longjmp_chk.c: Likewise.
  49913. * test-skeleton.c: Include fcntl.h & paths.h
  49914. (set_fortify_handler): Define.
  49915. * debug/tst-longjmp_chk.c: Add header comment and include
  49916. ../test-skeleton.c.
  49917. (do_test): Mark static.
  49918. (TEST_FUNCTION): Define.
  49919. * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
  49920. (IP_PMTUDISC_INTERFACE): Likewise.
  49921. (IP_MULTICAST_IF): Likewise.
  49922. (IP_MULTICAST_TTL): Likewise.
  49923. (IP_MULTICAST_LOOP): Likewise.
  49924. (IP_ADD_MEMBERSHIP): Likewise.
  49925. (IP_DROP_MEMBERSHIP): Likewise.
  49926. (IP_UNBLOCK_SOURCE): Likewise.
  49927. (IP_BLOCK_SOURCE): Likewise.
  49928. (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
  49929. (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
  49930. (IP_MSFILTER): Likewise.
  49931. (MCAST_JOIN_GROUP): Likewise.
  49932. (MCAST_BLOCK_SOURCE): Likewise.
  49933. (MCAST_UNBLOCK_SOURCE): Likewise.
  49934. (MCAST_LEAVE_GROUP): Likewise.
  49935. (MCAST_JOIN_SOURCE_GROUP): Likewise.
  49936. (MCAST_LEAVE_SOURCE_GROUP): Likewise.
  49937. (MCAST_MSFILTER): Likewise.
  49938. (IP_MULTICAST_ALL): Likewise.
  49939. (IP_UNICAST_IF): Likewise.
  49940. * timezone/Makefile: Delete $(have-ksh) check.
  49941. ($(objpfx)tzselect): Change $(KSH) to $(BASH).
  49942. * timezone/tzselect.ksh: Add +x mode bits.
  49943. * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
  49944. (ANON_INODE_FS_MAGIC): Likewise.
  49945. (BDEVFS_MAGIC): Likewise.
  49946. (BINFMTFS_MAGIC): Likewise.
  49947. (BTRFS_TEST_MAGIC): Likewise.
  49948. (CRAMFS_MAGIC_WEND): Likewise.
  49949. (DEBUGFS_MAGIC): Likewise.
  49950. (ECRYPTFS_SUPER_MAGIC): Likewise.
  49951. (EXT3_SUPER_MAGIC): Likewise.
  49952. (EXT4_SUPER_MAGIC): Likewise.
  49953. (FUTEXFS_SUPER_MAGIC): Likewise.
  49954. (HOSTFS_SUPER_MAGIC): Likewise.
  49955. (HUGETLBFS_MAGIC): Likewise.
  49956. (MINIX3_SUPER_MAGIC): Likewise.
  49957. (MTD_INODE_FS_MAGIC): Likewise.
  49958. (NILFS_SUPER_MAGIC): Likewise.
  49959. (OPENPROM_SUPER_MAGIC): Likewise.
  49960. (PIPEFS_MAGIC): Likewise.
  49961. (PSTOREFS_MAGIC): Likewise.
  49962. (QNX6_SUPER_MAGIC): Likewise.
  49963. (RAMFS_MAGIC): Likewise.
  49964. (REISERFS_SUPER_MAGIC_STRING): Likewise.
  49965. (REISER2FS_SUPER_MAGIC_STRING): Likewise.
  49966. (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
  49967. (SECURITYFS_MAGIC): Likewise.
  49968. (SELINUX_MAGIC): Likewise.
  49969. (SMACK_MAGIC): Likewise.
  49970. (SOCKFS_MAGIC): Likewise.
  49971. (SQUASHFS_MAGIC): Likewise.
  49972. (STACK_END_MAGIC): Likewise.
  49973. (TMPFS_MAGIC): Likewise.
  49974. (USBDEVICE_SUPER_MAGIC): Likewise.
  49975. (V9FS_MAGIC): Likewise.
  49976. (XENFS_SUPER_MAGIC): Likewise.
  49977. (CRAMFS_MAGIC): Fix typo in comment.
  49978. (EXT2_SUPER_MAGIC): Update comment.
  49979. (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
  49980. 2014-02-08 Joseph Myers <joseph@codesourcery.com>
  49981. * sysdeps/arm: Move directory from ports/sysdeps/arm.
  49982. * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
  49983. * sysdeps/unix/sysv/linux/arm: Move directory from
  49984. ports/sysdeps/unix/sysv/linux/arm.
  49985. * README: Update listing for arm-*-linux-gnueabi.
  49986. * README: Remove mention of am33.
  49987. 2014-02-07 Roland McGrath <roland@hack.frob.com>
  49988. * bits/sigset.h (__sigemptyset): Use a statement expression rather
  49989. than the comma operator, to avoid "rhs of comma has no effect"
  49990. compiler warnings.
  49991. (__sigfillset, __sigandset, __sigorset): Likewise.
  49992. * include/signal.h (__sigemptyset): Likewise.
  49993. * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
  49994. 2014-02-07 Allan McRae <allan@archlinux.org>
  49995. * version.h (RELEASE): Set to "development".
  49996. (VERSION): Set to "2.19.90"
  49997. * NEWS: Add 2.20 section.
  49998. 2014-02-06 Carlos O'Donell <carlos@redhat.com>
  49999. [BZ #16529]
  50000. * inet/netinet/in.h: Remove comma after IPPROTO_MH.
  50001. 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
  50002. * manual/contrib.texi: Update entry for Carlos O'Donell,
  50003. Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
  50004. 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
  50005. * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
  50006. * sysdeps/unix/sysv/linux/kernel-features.h
  50007. [__LINUX_KERNEL_VERSION >= 0x020621]
  50008. (__ASSUME_PROC_PID_TASK_COMM): Define.
  50009. 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
  50010. [BZ #16398]
  50011. * libio/wfileops.c (_IO_wfile_seekoff): Break out form
  50012. conversion when destination buffer does not have enough space.
  50013. * libio/tst-ftell-partial-wide.c: New test case.
  50014. * libio/Makefile (tests): Add tst-ftell-partial-wide.
  50015. * manual/contrib.texi: Update entry for Ondřej Bílka, Will
  50016. Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
  50017. Leonard and Allan McRae.
  50018. 2014-02-04 David S. Miller <davem@davemloft.net>
  50019. * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
  50020. 32-bit.
  50021. 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  50022. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
  50023. New file
  50024. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
  50025. New file
  50026. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
  50027. New file.
  50028. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
  50029. New file.
  50030. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
  50031. New file.
  50032. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
  50033. New file.
  50034. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
  50035. New file.
  50036. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
  50037. New file.
  50038. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
  50039. New file.
  50040. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
  50041. New file.
  50042. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
  50043. New file.
  50044. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
  50045. New file.
  50046. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
  50047. New file.
  50048. 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  50049. * nptl/shlib-versions: Change powerpc*le start to 2.17.
  50050. * shlib-versions: Likewise.
  50051. 2014-02-04 Roland McGrath <roland@hack.frob.com>
  50052. Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  50053. * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
  50054. (abilist-pattern): New variable, set to %-le.abilist.
  50055. * Makerules (abilist-pattern): New variable.
  50056. (vpath): Use $(abilist-pattern) in place of %.abilist.
  50057. (check-abi-% pattern rule): Likewise.
  50058. (check-abi, update-abi): Likewise.
  50059. 2014-02-04 Eric Wong <normalperson@yhbt.net>
  50060. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
  50061. 2014-02-03 Carlos O'Donell <carlos@redhat.com>
  50062. * manual/startup.texi: Add next, previous, and top entries for
  50063. the `Program Arguments' and `Environment Variables' nodes.
  50064. 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
  50065. * manual/macros.texi: Add comments before MTASC-safety macros.
  50066. * manual/users.texi: Document MTASC-safety properties.
  50067. * manual/threads.texi (pthread_key_create, pthread_key_delete)
  50068. (pthread_getspecific, pthread_setspecific): Format with
  50069. @deftypefun, and add @safety note.
  50070. * manual/signal.texi: Move comments that analyze the above
  50071. functions to their home place.
  50072. 2014-02-03 Allan McRae <allan@archlinux.org>
  50073. * po/sl.po: Update Slovenian translation from translation project.
  50074. 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
  50075. * manual/time.texi (timegm): Add missing blank after @c.
  50076. Reported by Joseph Myers <joseph@codesourcery.com>.
  50077. 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
  50078. * manual/check-safety.sh: New.
  50079. * manual/Makefile ($(objpfx)stamp-summary): Run it.
  50080. * manual/terminal.texi: Document MTASC-safety properties.
  50081. * manual/filesys.texi: Document MTASC-safety properties.
  50082. * manual/errno.texi: Document MTASC-safety properties.
  50083. * manual/intro.texi: Document safety identifiers and
  50084. conditionals.
  50085. * manual/string.texi (wcstok): Fix prototype.
  50086. (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
  50087. * manual/time.texi: Document MTASC-safety properties.
  50088. * manual/string.texi: Document MTASC-safety properties.
  50089. * manual/threads.texi: Document MTASC-safety properties.
  50090. * manual/stdio.texi: Document MTASC-safety properties.
  50091. * manual/syslog.texi: Document MTASC-safety properties.
  50092. * manual/sysinfo.texi: Document MTASC-safety properties.
  50093. * manual/startup.texi: Document MTASC-safety properties.
  50094. * manual/socket.texi: Document MTASC-safety properties.
  50095. * manual/signal.texi: Document MTASC-safety properties.
  50096. 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
  50097. * manual/setjmp.texi: Document MTASC-safety properties.
  50098. * manual/search.texi: Document MTASC-safety properties.
  50099. * manual/resource.texi: Document MTASC-safety properties.
  50100. * manual/process.texi: Document MTASC-safety properties.
  50101. * manual/platform.texi: Document MTASC-safety properties.
  50102. * manual/pipe.texi: Document MTASC-safety properties.
  50103. * manual/pattern.texi: Document MTASC-safety properties.
  50104. * manual/message.texi: Document MTASC-safety properties.
  50105. [BZ #12751]
  50106. * manual/memory.texi: Document MTASC-safety properties.
  50107. * manual/math.texi: Document MTASC-safety properties.
  50108. * manual/locale.texi: Document MTASC-safety properties.
  50109. * manual/llio.texi: Document MTASC-safety properties.
  50110. * manual/libdl.texi: New.
  50111. * manual/lang.texi: Document MTASC-safety properties.
  50112. * manual/job.texi: Document MTASC-safety properties.
  50113. * manual/getopt.texi: Document MTASC-safety properties.
  50114. * manual/ctype.texi: Document MTASC-safety properties.
  50115. 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
  50116. [BZ #16046]
  50117. * csu/libc-tls.c (static_map): Remove variable.
  50118. (__libc_setup_tls): Use main executable's link map for TLS data.
  50119. * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
  50120. casing for LM_ID_BASE and GL(dl_nns).
  50121. * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
  50122. function. Alias dl_iterate_phdr to __dl_iterate_phdr.
  50123. * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
  50124. casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
  50125. * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
  50126. member.
  50127. (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
  50128. l_phnum members.
  50129. 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
  50130. * manual/debug.texi: Document MTASC-safety properties.
  50131. 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
  50132. [BZ #16510]
  50133. * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
  50134. of __x86_64__ when disabling x87 inline functions.
  50135. 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
  50136. * manual/charset.texi: Document MTASC-safety properties.
  50137. * manual/crypt.texi: Document MTASC-safety properties.
  50138. * manual/conf.texi: Document MTASC-safety properties.
  50139. * manual/arith.texi: Document MTASC-safety properties.
  50140. * manual/argp.texi: Document MTASC-safety properties.
  50141. * manual/macros.texi: Introduce macros to document multi
  50142. thread, asynchronous signal and asynchronous cancellation
  50143. safety properties.
  50144. * manual/intro.texi: Introduce the properties themselves.
  50145. 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  50146. * sysdeps/sh/sh4/Makefile: New file.
  50147. 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
  50148. * math/gen-libm-test.pl ($srcdir): New variable.
  50149. ($auto_input): Use it.
  50150. 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
  50151. [BZ #16506]
  50152. * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
  50153. access beyond array bounds when parsing netgroups file.
  50154. * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
  50155. the old buffer before realloc.
  50156. 2014-01-27 Allan McRae <allan@archlinux.org>
  50157. * po/fr.po: Update French translation from translation project.
  50158. 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  50159. * sysdeps/sh/libm-test-ulps: Regenerate.
  50160. 2014-01-24 David S. Miller <davem@davemloft.net>
  50161. * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
  50162. 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  50163. * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
  50164. * sysdeps/sh/libm-test-ulps: ... here and regenerated.
  50165. 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
  50166. [BZ #16474]
  50167. * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
  50168. string pointers after reallocation.
  50169. 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  50170. * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
  50171. __SH4A__ instead of __SH_FPU_ANY__.
  50172. 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  50173. * sysdeps/sh/fpu_control.h: New file.
  50174. * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
  50175. * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
  50176. * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
  50177. * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
  50178. * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
  50179. * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
  50180. * sysdeps/sh/sys/ucontext.h: Remove.
  50181. * sysdeps/sh/sys: Remove directory.
  50182. 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  50183. * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
  50184. s390/sys/ucontext.h.
  50185. * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
  50186. * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
  50187. 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
  50188. [BZ #15605]
  50189. * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
  50190. 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  50191. [BZ #16431]
  50192. * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
  50193. Adjust the vDSO correctly for internal calls.
  50194. * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
  50195. 2014-01-20 Allan McRae <allan@archlinux.org>
  50196. * po/ca.po: Update Catalan translation from translation project.
  50197. 2014-01-16 Mike Frysinger <vapier@gentoo.org>
  50198. * sysdeps/s390/sotruss-lib.c: New file.
  50199. 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  50200. [BZ #16430]
  50201. * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
  50202. (__GI___gettimeofday): Alias for a different internal symbol to avoid
  50203. local calls issues by not having a PLT stub required for IFUNC calls.
  50204. * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
  50205. 2014-01-16 Joseph Myers <joseph@codesourcery.com>
  50206. * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
  50207. * math/test-fpucw-static.c: Likewise.
  50208. 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
  50209. [BZ #16453]
  50210. * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
  50211. 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  50212. * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
  50213. implementation for powerpc.
  50214. 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
  50215. [BZ #14782]
  50216. * sysdeps/posix/system.c (__libc_system): Do not enable
  50217. asynchronous cancellation.
  50218. 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  50219. [BZ #16427]
  50220. * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
  50221. handling only for numbers special also in the IEEE case.
  50222. 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  50223. * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
  50224. 2014-01-11 Allan McRae <allan@archlinux.org>
  50225. * po/bg.po: Update Bulgarian translation from translation project.
  50226. * po/de.po: Update German translation from translation project.
  50227. 2014-01-10 Roland McGrath <roland@hack.frob.com>
  50228. * sysdeps/generic/gcc-compat.h: New file.
  50229. 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
  50230. * benchtests/asin-inputs: Correct slow inputs.
  50231. * benchtests/acos-inputs: Likewise.
  50232. 2014-01-10 Allan McRae <allan@archlinux.org>
  50233. * po:sv.po: Update Swedish translation from translation project.
  50234. * po/vi.po: Update Vietnamese translation from translation project.
  50235. * po/eo.po: Update Esperanto translation from translation project.
  50236. * po/cs.po: Update Czech translation from translation project.
  50237. * po/nl.po: Update Dutch translation from translation project.
  50238. * po/pl.po: Update Polish translation from translation project.
  50239. * po/ru.po: Update Russian translation from translation project.
  50240. * po/uk.po: Update Ukrainian translation from translation project.
  50241. 2014-01-08 Brooks Moses <bmoses@google.com>
  50242. * elf/dl-load.c: Fix comment typo.
  50243. 2014-01-08 Carlos O'Donell <carlos@redhat.com>
  50244. * po/header.pot: Rename to...
  50245. * po/pot.header: ... this.
  50246. * po/Makefile: Use pot.header.
  50247. 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
  50248. Maxim Kuvyrkov <maxim@kugelworks.com>
  50249. [BZ #16394]
  50250. * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
  50251. SRC and DEST against LEN.
  50252. 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  50253. [BZ #16414]
  50254. * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
  50255. implementation.
  50256. * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
  50257. 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  50258. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  50259. 2014-01-08 Joseph Myers <joseph@codesourcery.com>
  50260. [BZ #16408]
  50261. * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
  50262. for large positive arguments.
  50263. 2014-01-07 Joseph Myers <joseph@codesourcery.com>
  50264. * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
  50265. * math/auto-libm-test-in: Mark various tests with
  50266. xfail-rounding:ldbl-128ibm.
  50267. * math/auto-libm-test-out: Regenerated.
  50268. [BZ #16407]
  50269. * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
  50270. Increase overflow threshold.
  50271. 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
  50272. [BZ #14286]
  50273. * stdio-common/vfprintf.c: Check for integer overflow.
  50274. 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  50275. * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
  50276. the first argument and return value of __tls_get_addr_internal.
  50277. 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  50278. * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
  50279. also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
  50280. 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  50281. * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
  50282. * sysdeps/s390/rtld-global-offsets.sym: New file.
  50283. * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
  50284. GLIBC_2.19 symbol.
  50285. * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
  50286. * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
  50287. * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
  50288. ... this.
  50289. * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
  50290. * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
  50291. ... this.
  50292. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
  50293. Regenerate.
  50294. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
  50295. Regenerate.
  50296. * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
  50297. halfs of GPRs for high_gprs contexts.
  50298. * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
  50299. restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
  50300. field.
  50301. * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
  50302. uc_flags field.
  50303. * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
  50304. 64 bit versions:
  50305. * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
  50306. for high GPRs (uc_high_gprs) and for future extensions
  50307. (__reserved).
  50308. * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
  50309. for future extensions (__reserved).
  50310. * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
  50311. 64 bit versions:
  50312. * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
  50313. SC_HIGHGPRS offset definition.
  50314. * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
  50315. * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
  50316. * Versions.def: Add GLIBC_2.19 for libpthread.
  50317. * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
  50318. siglongjmp for libpthread with GLIBC_2.19 symver.
  50319. * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
  50320. * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
  50321. * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
  50322. * sysdeps/s390/__longjmp.c: New file.
  50323. * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
  50324. * sysdeps/s390/longjmp.c: New file.
  50325. * sysdeps/s390/setjmp.S: New file.
  50326. * sysdeps/s390/sigjmp.S: New file.
  50327. * sysdeps/s390/v1-longjmp.c: New file.
  50328. * sysdeps/s390/v1-setjmp.h: New file.
  50329. * sysdeps/s390/v1-sigjmp.c: New file.
  50330. * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
  50331. * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
  50332. GLIBC_2.19 version.
  50333. * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
  50334. * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
  50335. versioned symbols for ____longjmp_chk.
  50336. * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
  50337. Likewise.
  50338. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
  50339. Regenerate.
  50340. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
  50341. Regenerate.
  50342. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
  50343. Regenerate.
  50344. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
  50345. Regenerate.
  50346. * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
  50347. * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
  50348. * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
  50349. * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
  50350. * sysdeps/s390/s390-32/setjmp-common.S: ... this.
  50351. * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
  50352. * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
  50353. * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
  50354. * sysdeps/s390/s390-64/setjmp-common.S: ... this.
  50355. * sysdeps/s390/rtld-__longjmp.c: New file.
  50356. * sysdeps/s390/rtld-setjmp.S: New file.
  50357. 2014-01-06 Joseph Myers <joseph@codesourcery.com>
  50358. [BZ #16400]
  50359. * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
  50360. Return -__logl (x) for small positive arguments without evaluating
  50361. a polynomial.
  50362. 2014-01-06 Mike Frysinger <vapier@gentoo.org>
  50363. * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
  50364. Rename to ...
  50365. (__ptrace_peeksiginfo_args): ... this.
  50366. * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
  50367. * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
  50368. * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
  50369. 2014-01-06 Allan McRae <allan@archlinux.org>
  50370. * inet/netinet/in.h: Fix typo in comment.
  50371. 2014-01-05 Andreas Jaeger <aj@suse.de>
  50372. * sysdeps/i386/fpu/libm-test-ulps: Update.
  50373. 2014-01-05 Allan McRae <allan@archlinux.org>
  50374. * po/libc.pot: Regenerated.
  50375. * malloc/memusagestat.c: Fix gettext call formatting.
  50376. 2014-01-04 Sami Kerola <kerolasa@iki.fi>
  50377. * nscd/nscd.c: Improve usage() output.
  50378. 2014-01-04 Mike Frysinger <vapier@gentoo.org>
  50379. * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
  50380. * sysdeps/unix/sysv/linux/configure: Regenerated.
  50381. * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
  50382. * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
  50383. 2014-01-03 Joseph Myers <joseph@codesourcery.com>
  50384. [BZ #16390]
  50385. * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
  50386. (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
  50387. 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  50388. * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
  50389. extra tokens at end of #undef directive.
  50390. * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
  50391. * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
  50392. * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
  50393. 2014-01-03 Joseph Myers <joseph@codesourcery.com>
  50394. * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
  50395. * math/auto-libm-test-in: Mark various tests with
  50396. xfail-rounding:ldbl-128ibm.
  50397. * math/auto-libm-test-out: Regenerated.
  50398. 2014-01-02 Joseph Myers <joseph@codesourcery.com>
  50399. [BZ #16386]
  50400. * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
  50401. numbers with subnormal high part when calculating exponent.
  50402. [BZ #16385]
  50403. * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
  50404. fabs.
  50405. [BZ #16384]
  50406. * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
  50407. M_LN2l.
  50408. (__ieee754_acoshl): Use __log1pl not __log1p.
  50409. 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
  50410. * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
  50411. (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
  50412. (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
  50413. (grow_heap, heap_trim, _int_new_arena, get_free_list)
  50414. (reused_arena, arena_get2): Convert to GNU style.
  50415. * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
  50416. (mem2mem_check, mem2chunk_check, top_check, realloc_check)
  50417. (memalign_check, __malloc_set_state): Likewise.
  50418. * malloc/mallocbug.c (main): Likewise.
  50419. * malloc/malloc.c (__malloc_assert, malloc_init_state)
  50420. (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
  50421. (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
  50422. (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
  50423. (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
  50424. (__posix_memalign, malloc_info): Likewise.
  50425. * malloc/malloc.h: Likewise.
  50426. * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
  50427. (mallochook, memalignhook, reallochook, mabort): Likewise.
  50428. * malloc/mcheck.h: Likewise.
  50429. * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
  50430. (free, mmap, mmap64, mremap, munmap, dest): Likewise.
  50431. * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
  50432. * malloc/morecore.c (__default_morecore): Likewise.
  50433. * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
  50434. * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
  50435. (_obstack_allocated_p, obstack_free, _obstack_memory_used)
  50436. (print_and_abort): Likewise.
  50437. * malloc/obstack.h: Likewise.
  50438. * malloc/set-freeres.c (__libc_freeres): Likewise.
  50439. * malloc/tst-mallocstate.c (main): Likewise.
  50440. * malloc/tst-mtrace.c (main): Likewise.
  50441. * malloc/tst-realloc.c (do_test): Likewise.
  50442. 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
  50443. [BZ #16366]
  50444. * nscd/netgroupcache.c (do_notfound): New function.
  50445. (addgetnetgrentX): Use it.
  50446. [BZ # 16365]
  50447. * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
  50448. NSS_STATUS_NOTFOUND.
  50449. 2014-01-01 Joseph Myers <joseph@codesourcery.com>
  50450. * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
  50451. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  50452. 2014-01-01 Allan McRae <allan@archlinux.org>
  50453. * scripts/update-copyrights: Update configure input file suffix.
  50454. * NEWS: Update copyright year.
  50455. * catgets/gencat.c: Likewise.
  50456. * csu/version.c: Likewise.
  50457. * debug/catchsegv.sh: Likewise.
  50458. * debug/pcprofiledump.c: Likewise.
  50459. * debug/xtrace.sh: Likewise.
  50460. * elf/ldconfig.c: Likewise.
  50461. * elf/ldd.bash.in: Likewise.
  50462. * elf/pldd.c: Likewise.
  50463. * elf/sotruss.ksh: Likewise.
  50464. * elf/sprof.c: Likewise.
  50465. * iconv/iconv_prog.c: Likewise.
  50466. * iconv/iconvconfig.c: Likewise.
  50467. * locale/programs/locale.c: Likewise.
  50468. * locale/programs/localedef.c: Likewise.
  50469. * login/programs/pt_chown.c: Likewise.
  50470. * malloc/memusage.sh: Likewise.
  50471. * malloc/memusagestat.c: Likewise.
  50472. * malloc/mtrace.pl: Likewise.
  50473. * manual/libc.texinfo: Likewise.
  50474. * nscd/nscd.c: Likewise.
  50475. * nss/getent.c: Likewise.
  50476. * nss/makedb.c: Likewise.
  50477. * posix/getconf.c: Likewise.
  50478. * scripts/test-installation.pl: Likewise.
  50479. * All files with FSF copyright notices: Update copyright dates
  50480. using scripts/update-copyrights.
  50481. * intl/plural.c: Regenerated.
  50482. * locale/programs/charmap-kw.h: Likewise.
  50483. * locale/programs/locfile-kw.h: Likewise.
  50484. 2013-12-31 Mike Frysinger <vapier@gentoo.org>
  50485. * sysdeps/unix/sysv/linux/configure: Regenerated.
  50486. * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
  50487. the linux/fanotify.h header.
  50488. * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
  50489. HAVE_LINUX_FANOTIFY_H is defined.
  50490. 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
  50491. * benchtests/cos-inputs: New inputs.
  50492. * benchtests/sin-inputs: Likewise.
  50493. * benchtests/atan-inputs: New inputs. Fix name of multiple
  50494. precision fallback inputs.
  50495. * benchtests/atanh-inputs: New inputs.
  50496. * benchtests/tanh-inputs: Likewise.
  50497. * benchtests/acosh-inputs: New inputs.
  50498. * benchtests/asinh-inputs: Likewise.
  50499. * benchtests/cosh-inputs: New inputs.
  50500. * benchtests/sinh-inputs: Likewise.
  50501. * benchtests/acos-inputs: Add more inputs.
  50502. * benchtests/asin-inputs: Likewise.
  50503. 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
  50504. [BZ #16375]
  50505. * manual/arith.texi: Fix spelling.
  50506. * manual/charset.texi: Likewise.
  50507. * manual/errno.texi: Likewise.
  50508. * manual/filesys.texi: Likewise.
  50509. * manual/lang.texi: Likewise.
  50510. * manual/llio.texi: Likewise.
  50511. * manual/locale.texi: Likewise.
  50512. * manual/message.texi: Likewise.
  50513. * manual/resource.texi: Likewise.
  50514. * manual/search.texi: Likewise.
  50515. * manual/setjmp.texi: Likewise.
  50516. * manual/stdio.texi: Likewise.
  50517. * manual/string.texi: Likewise.
  50518. * manual/sysinfo.texi: Likewise.
  50519. * manual/time.texi: Likewise.
  50520. 2013-12-27 Carlos O'Donell <carlos@redhat.com>
  50521. * po/sl.po: New file.
  50522. 2013-12-27 Mike Frysinger <vapier@gentoo.org>
  50523. * .gitignore: Add core/.gdbinit/.gdb_history.
  50524. 2013-12-27 Allan McRae <allan@archlinux.org>
  50525. [BZ #16369]
  50526. * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
  50527. Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
  50528. 2013-12-24 Brooks Moses <bmoses@google.com>
  50529. * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
  50530. all compilers that claim C++98 compliance, not just GCC.
  50531. * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
  50532. Likewise.
  50533. 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
  50534. * NEWS: Restore accidentally deleted bug-fix entries.
  50535. 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
  50536. Ondřej Bílka <neleai@seznam.cz>
  50537. [BZ #15073]
  50538. * malloc/malloc.c (_int_free): Perform sanity check only if we
  50539. have_lock.
  50540. 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
  50541. [BZ #12986]
  50542. * manual/stdio.texi (String Input Conversions): Clarify that character
  50543. classes are not supported.
  50544. 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  50545. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  50546. 2013-12-22 Joseph Myers <joseph@codesourcery.com>
  50547. [BZ #16337]
  50548. * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
  50549. Calculate results for small negative arguments directly rather
  50550. than using reflection formula with special underflow handling.
  50551. * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
  50552. * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
  50553. sysdeps/unix/bsd/bsd4.4/syscalls.list.
  50554. (fchflags): Likewise.
  50555. (revoke): Likewise.
  50556. (setlogin): Likewise.
  50557. (sigaltstack): Likewise.
  50558. (wait4): Likewise.
  50559. (sigblock): Remove.
  50560. (sigsetmask): Likewise.
  50561. (wait3): Likewise.
  50562. (waitpid): Likewise.
  50563. * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
  50564. * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
  50565. file.
  50566. * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
  50567. * sysdeps/unix/bsd/Makefile: ... here.
  50568. * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
  50569. * sysdeps/unix/bsd/Versions: ... here.
  50570. * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
  50571. * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
  50572. * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
  50573. * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
  50574. * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
  50575. * sysdeps/unix/bsd/sigblock.c: ... here.
  50576. * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
  50577. * sysdeps/unix/bsd/sigsetmask.c: ... here.
  50578. * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
  50579. * sysdeps/unix/bsd/sigvec.c: ... here.
  50580. * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
  50581. * sysdeps/unix/bsd/tcdrain.c: ... here.
  50582. * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
  50583. * sysdeps/unix/bsd/tcgetattr.c: ... here.
  50584. * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
  50585. * sysdeps/unix/bsd/tcsetattr.c: ... here.
  50586. * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
  50587. * sysdeps/unix/bsd/wait.c: ... here.
  50588. * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
  50589. * sysdeps/unix/bsd/wait3.c: ... here.
  50590. * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
  50591. * sysdeps/unix/bsd/waitpid.c: ... here.
  50592. 2013-12-21 Joseph Myers <joseph@codesourcery.com>
  50593. [BZ #16356]
  50594. * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
  50595. round-to-nearest for [!USE_AS_EXPM1L].
  50596. * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
  50597. * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
  50598. more tests of exp and exp10. Expect some exp10 tests to miss
  50599. exceptions or fail in directed rounding modes.
  50600. * math/auto-libm-test-out: Regenerated.
  50601. * math/libm-test.inc (exp10_tonearest_test_data): New array.
  50602. (exp10_test_tonearest): New function.
  50603. (exp10_towardzero_test_data): New array.
  50604. (exp10_test_towardzero): New function.
  50605. (exp10_downward_test_data): New array.
  50606. (exp10_test_downward): New function.
  50607. (exp10_upward_test_data): New array.
  50608. (exp10_test_upward): New function.
  50609. (main): Call the new functions.
  50610. * sysdeps/i386/fpu/libm-test-ulps: Update.
  50611. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  50612. 2013-12-20 Joseph Myers <joseph@codesourcery.com>
  50613. * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
  50614. asinh, atan, atan2, atanh, cbrt, cos and cosh.
  50615. * math/auto-libm-test-out: Regenerated.
  50616. * math/libm-test.inc (acosh_test_data): Add more tests.
  50617. (atanh_test_data): Likewise.
  50618. (ceil_test_data): Likewise.
  50619. (copysign_test_data): Likewise.
  50620. * sysdeps/i386/fpu/libm-test-ulps: Update.
  50621. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  50622. * timezone/checktab.awk: Update from tzcode 2013i.
  50623. * timezone/private.h: Likewise.
  50624. * timezone/scheck.c: Likewise.
  50625. * timezone/tzfile.h: Likewise.
  50626. * timezone/tzselect.ksh: Likewise.
  50627. * timezone/zdump.c: Likewise.
  50628. * timezone/zic.c: Likewise.
  50629. * math/auto-libm-test-in: Add tests of cpow.
  50630. * math/auto-libm-test-out: Regenerated.
  50631. * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
  50632. * math/gen-auto-libm-tests.c (func_calc_method): Add value
  50633. mpc_cc_c.
  50634. (func_calc_desc): Add mpc_cc_c union field.
  50635. (test_functions): Add cpow.
  50636. (special_fill_2pi): New function.
  50637. (special_real_inputs): Add 2pi.
  50638. (calc_generic_results): Handle mpc_cc_c.
  50639. * sysdeps/i386/fpu/libm-test-ulps: Update.
  50640. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  50641. * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
  50642. csqrt, ctan and ctanh.
  50643. * math/auto-libm-test-out: Regenerated.
  50644. * math/libm-test.inc (TEST_COND_x86_64): New macro.
  50645. (TEST_COND_x86): Likewise.
  50646. (ccos_test_data): Use AUTO_TESTS_c_c.
  50647. (ccosh_test_data): Likewise.
  50648. (cexp_test_data): Likewise.
  50649. (clog_test_data): Likewise.
  50650. (csqrt_test_data): Likewise.
  50651. (ctan_test_data): Likewise.
  50652. (ctan_tonearest_test_data): Likewise.
  50653. (ctan_towardzero_test_data): Likewise.
  50654. (ctan_downward_test_data): Likewise.
  50655. (ctan_upward_test_data): Likewise.
  50656. (ctanh_test_data): Likewise.
  50657. (ctanh_tonearest_test_data): Likewise.
  50658. (ctanh_towardzero_test_data): Likewise.
  50659. (ctanh_downward_test_data): Likewise.
  50660. (ctanh_upward_test_data): Likewise.
  50661. * math/gen-auto-libm-tests.c (func_calc_method): Add value
  50662. mpc_c_c.
  50663. (func_calc_desc): Add mpc_c_c union field.
  50664. (FUNC_mpc_c_c): New macro.
  50665. (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
  50666. ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
  50667. ctanh.
  50668. (special_fill_min_subnorm_p120): New function.
  50669. (special_real_inputs): Add min_subnorm_p120.
  50670. (calc_generic_results): Handle mpc_c_c.
  50671. * sysdeps/i386/fpu/libm-test-ulps: Update.
  50672. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  50673. 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
  50674. * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
  50675. (do_sin_slow): New functions.
  50676. (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
  50677. (cslow2, csloww1, csloww2): Use the new functions.
  50678. * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
  50679. Use M to change sign of result instead of X. Assume X is
  50680. positive.
  50681. (csloww1): Likewise.
  50682. (__sin): Adjust.
  50683. (__cos): Adjust.
  50684. * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
  50685. arguments A and DA.
  50686. (__sin): Adjust.
  50687. (__cos): Likewise.
  50688. * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
  50689. (__cos): Likewise.
  50690. (sloww1): Don't adjust sign of DX.
  50691. (csloww1): Likewise.
  50692. (sloww2): Use X directly and don't adjust sign of DX.
  50693. (csloww2): Likewise.
  50694. 2013-12-19 Joseph Myers <joseph@codesourcery.com>
  50695. * math/auto-libm-test-in: Add tests of cabs and carg.
  50696. * math/auto-libm-test-out: Regenerated.
  50697. * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
  50698. (carg_test_data): Likewise.
  50699. * math/gen-auto-libm-tests.c (func_calc_method): Add value
  50700. mpc_c_f.
  50701. (func_calc_desc): Add mpc_c_f union field.
  50702. (test_functions): Add cabs and carg.
  50703. (calc_generic_results): Handle mpc_c_f.
  50704. * sysdeps/powerpc/powerpc32/libgcc-compat.S
  50705. [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
  50706. as a macro and a compat symbol.
  50707. [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
  50708. [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
  50709. [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
  50710. [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
  50711. [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
  50712. [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
  50713. not use .hidden.
  50714. [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
  50715. Likewise.
  50716. [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
  50717. Likewise.
  50718. [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
  50719. Likewise.
  50720. [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
  50721. Likewise.
  50722. [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
  50723. Likewise.
  50724. * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
  50725. __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
  50726. from GLIBC_2.3.2.
  50727. 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  50728. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  50729. 2013-12-19 Joseph Myers <joseph@codesourcery.com>
  50730. * manual/texinfo.tex: Update to version 2013-11-26.10 with
  50731. trailing whitespace removed.
  50732. * scripts/config.guess: Update to version 2013-11-29.
  50733. * scripts/config.sub: Update to version 2013-10-01.
  50734. * math/auto-libm-test-in: Add tests of sincos.
  50735. * math/auto-libm-test-out: Regenerated.
  50736. * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
  50737. * math/gen-auto-libm-tests.c (func_calc_method): Add value
  50738. mpfr_f_11.
  50739. (func_calc_desc): Add mpfr_f_11 union field.
  50740. (test_functions): Add sincos.
  50741. (calc_generic_results): Handle mpfr_f_11.
  50742. * sysdeps/i386/fpu/libm-test-ulps: Update.
  50743. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  50744. 2013-12-19 Andreas Schwab <schwab@suse.de>
  50745. * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
  50746. CALL_MCOUNT.
  50747. * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
  50748. * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
  50749. [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
  50750. 2013-12-19 Joseph Myers <joseph@codesourcery.com>
  50751. * math/gen-libm-test.pl (%beautify): Remove M_* constants.
  50752. * sysdeps/i386/fpu/libm-test-ulps: Update.
  50753. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  50754. [BZ #16293]
  50755. * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
  50756. round-to-nearest mode when using frndint.
  50757. * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
  50758. * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
  50759. * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
  50760. Likewise.
  50761. * math/auto-libm-test-in: Add more tests of expm1. Do not expect
  50762. sinh test to fail.
  50763. * math/auto-libm-test-out: Regenerated.
  50764. * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
  50765. (TEST_COND_x86): Likewise.
  50766. (expm1_tonearest_test_data): New array.
  50767. (expm1_test_tonearest): New function.
  50768. (expm1_towardzero_test_data): New array.
  50769. (expm1_test_towardzero): New function.
  50770. (expm1_downward_test_data): New array.
  50771. (expm1_test_downward): New function.
  50772. (expm1_upward_test_data): New array.
  50773. (expm1_test_upward): New function.
  50774. (main): Run the new test functions.
  50775. * sysdeps/i386/fpu/libm-test-ulps: Update.
  50776. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  50777. * include/features.h: Update comment documenting feature test
  50778. macros. Mention _DEFAULT_SOURCE in comment.
  50779. [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
  50780. [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
  50781. _BSD_SOURCE and _SVID_SOURCE.
  50782. [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
  50783. !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
  50784. !_SVID_SOURCE]: Likewise.
  50785. [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
  50786. (__USE_POSIX_IMPLICITLY): Define.
  50787. [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
  50788. (_POSIX_SOURCE): Undefine and redefine.
  50789. [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
  50790. (_POSIX_C_SOURCE): Likewise.
  50791. * manual/creature.texi (_DEFAULT_SOURCE): Document.
  50792. (Feature Test Macros): Update documentation of default features.
  50793. 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  50794. * benchtests/Makefile: Add bench-strtok.
  50795. * benchtests/bench-strtok.c: New file: strtok benchtest.
  50796. 2013-12-19 Allan McRae <allan@archlinux.org>
  50797. * manual/install.texi: Suppress menu for plain text output.
  50798. * INSTALL: Regenerated.
  50799. 2013-12-18 Brooks Moses <bmoses@google.com>
  50800. [BZ #15846]
  50801. * misc/getauxval.c: Include errno.h.
  50802. (__getauxval): Set errno to ENOENT if the requested type is not
  50803. found.
  50804. * misc/sys/auxv.h (getauxval): Document that it may set errno;
  50805. don't declare with __attribute_const__.
  50806. * elf/tst-auxv.c: Add tests for errno and type-not-found case.
  50807. * manual/startup.texi: Document that getauxval sets errno.
  50808. 2013-12-18 Joseph Myers <joseph@codesourcery.com>
  50809. * math/auto-libm-test-in: Add tests of jn and yn.
  50810. * math/auto-libm-test-out: Regenerated.
  50811. * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
  50812. (yn_test_data): Likewise.
  50813. * math/gen-auto-libm-tests.c (func_calc_method): Add value
  50814. mpfr_if_f.
  50815. (func_calc_desc): Add mpfr_if_f union field.
  50816. (FUNC_mpfr_if_f): New macro.
  50817. (test_functions): Add jn and yn.
  50818. (calc_generic_results): Assert type of second input for
  50819. mpfr_ff_f. Handle mpfr_if_f.
  50820. (output_for_one_input_case): Disable all checking for arguments
  50821. fitting floating-point types in case of an integer argument.
  50822. * sysdeps/i386/fpu/libm-test-ulps: Update.
  50823. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  50824. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
  50825. Don't expect fegetround reference in libm.so.
  50826. 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
  50827. * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
  50828. $(config-cflags-nofma).
  50829. 2013-12-18 Joseph Myers <joseph@codesourcery.com>
  50830. * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
  50831. * math/auto-libm-test-out: Regenerated.
  50832. [BZ #16338]
  50833. * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
  50834. to determine exponent and adjust argument to have exponent of -1.
  50835. * math/auto-libm-test-in: Add more tests of log, log10, log1p and
  50836. log2.
  50837. * math/auto-libm-test-out: Regenerated.
  50838. * sysdeps/i386/fpu/libm-test-ulps: Update.
  50839. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  50840. 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
  50841. * manual/probes.texi: Remove cases when per-thread arenas are
  50842. disabled.
  50843. 2013-12-18 Andreas Schwab <schwab@suse.de>
  50844. * sysdeps/i386/i686/multiarch/strstr.c: Remove.
  50845. * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
  50846. * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
  50847. * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
  50848. * sysdeps/i386/i686/multiarch/Makefile: Update.
  50849. * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
  50850. 2013-12-17 Joseph Myers <joseph@codesourcery.com>
  50851. * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
  50852. * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
  50853. 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
  50854. [BZ #15968]
  50855. Support TZ transition times < 00:00:00.
  50856. This is needed for version-3 tz-format files; it supports time
  50857. stamps past 2037 for America/Godthab (the only entry in the tz
  50858. database for which this change is relevant).
  50859. * manual/time.texi (TZ Variable): Document transition times
  50860. from -167:59:59 through -00:00:01.
  50861. * time/tzset.c (tz_rule): Time of day is now signed.
  50862. (__tzset_parse_tz): Parse negative time of day.
  50863. Document TZ transition times >= 25:00:00.
  50864. * manual/time.texi (TZ Variable): Document transition times from
  50865. 25:00:00 through 167:59:59. These are already supported, and this
  50866. support will help with version-3 tz-format files.
  50867. * manual/time.texi (TZ Variable): Modernize North America example
  50868. to reflect current (i.e., 2007-and-later) daylight saving rules.
  50869. * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
  50870. 2013-12-17 Joseph Myers <joseph@codesourcery.com>
  50871. * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
  50872. * sysdeps/unix/bsd/bits/stat.h: Likewise.
  50873. * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
  50874. * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
  50875. * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
  50876. * sysdeps/unix/bsd/bsdstat.h: Likewise.
  50877. * sysdeps/unix/bsd/clock.c: Likewise.
  50878. * sysdeps/unix/bsd/i386/vfork.S: Likewise.
  50879. * sysdeps/unix/bsd/i386/wait3.S: Likewise.
  50880. * sysdeps/unix/bsd/init-posix.c: Likewise.
  50881. * sysdeps/unix/bsd/poll.c: Likewise.
  50882. * sysdeps/unix/bsd/ptsname.c: Likewise.
  50883. * sysdeps/unix/bsd/seekdir.c: Likewise.
  50884. * sysdeps/unix/bsd/setegid.c: Likewise.
  50885. * sysdeps/unix/bsd/seteuid.c: Likewise.
  50886. * sysdeps/unix/bsd/setgid.c: Likewise.
  50887. * sysdeps/unix/bsd/setrgid.c: Likewise.
  50888. * sysdeps/unix/bsd/setruid.c: Likewise.
  50889. * sysdeps/unix/bsd/setsid.c: Likewise.
  50890. * sysdeps/unix/bsd/setuid.c: Likewise.
  50891. * sysdeps/unix/bsd/sigaction.c: Likewise.
  50892. * sysdeps/unix/bsd/sigprocmask.c: Likewise.
  50893. * sysdeps/unix/bsd/sigsuspend.c: Likewise.
  50894. * sysdeps/unix/bsd/sys/reboot.h: Likewise.
  50895. * sysdeps/unix/bsd/telldir.c: Likewise.
  50896. * sysdeps/unix/bsd/times.c: Likewise.
  50897. * sysdeps/unix/bsd/usleep.c: Likewise.
  50898. * misc/Makefile (install-lib): Remove libbsd-compat.a.
  50899. ($(objpfx)libbsd-compat.a): Remove rule.
  50900. * include/features.h (__FAVOR_BSD): Do not define.
  50901. * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
  50902. features conflicting with POSIX.
  50903. (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
  50904. (_BSD_SOURCE): Remove description of not being a subset of other
  50905. feature test macros.
  50906. * manual/job.texi (getpgrp): Do not document BSD version.
  50907. (getpgid): Do not document by reference to BSD getpgrp.
  50908. * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
  50909. * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
  50910. * signal/signal.h [__FAVOR_BSD]: Likewise.
  50911. * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
  50912. instead of making contents conditional on [__FAVOR_BSD].
  50913. * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
  50914. 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  50915. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  50916. 2013-12-17 Joseph Myers <joseph@codesourcery.com>
  50917. [BZ #16314]
  50918. * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
  50919. values below 2**-450, not 2**-500.
  50920. * math/auto-libm-test-in: Don't allow spurious underflow from
  50921. hypot.
  50922. * math/auto-libm-test-out: Regenerated.
  50923. [BZ #16316]
  50924. [BZ #16330]
  50925. * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
  50926. values of ha and hb and sort them after adjusting subnormal
  50927. arguments.
  50928. * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
  50929. Likewise.
  50930. * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
  50931. values of ea and eb and sort them after adjusting subnormal
  50932. arguments.
  50933. * math/auto-libm-test-in: Do not expect some hypot tests of
  50934. subnormals to fail. Add more hypot tests.
  50935. * math/auto-libm-test-out: Regenerated.
  50936. 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  50937. [BZ #13304]
  50938. * sysdeps/sh/s_fma.c: New file.
  50939. * sysdeps/sh/s_fmaf.c: New file.
  50940. * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
  50941. version.
  50942. * sysdeps/sh/Implies: Add sh/soft-fp.
  50943. 2013-12-16 Roland McGrath <roland@hack.frob.com>
  50944. * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
  50945. level of indirection to members `objname', `errstring', `malloced'.
  50946. (_dl_signal_error): Store through pointers in *LCATCH rather modifying
  50947. *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
  50948. it as the __longjmp argument (just pass 1 instead).
  50949. (_dl_catch_error): Initialize C with argument pointers and address of
  50950. volatile local ERRCODE rather than copying values out of C at return.
  50951. 2013-12-16 Joseph Myers <joseph@codesourcery.com>
  50952. * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
  50953. * math/auto-libm-test-out: Regenerated.
  50954. * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
  50955. (hypot_test_data): Likewise.
  50956. (pow_test_data): Likewise.
  50957. (pow_tonearest_test_data): Likewise.
  50958. * math/gen-auto-libm-tests.c (func_calc_method): Add value
  50959. mpfr_ff_f.
  50960. (func_calc_desc): Add mpfr_ff_f union field.
  50961. (FUNC_mpfr_ff_f): New macro.
  50962. (test_functions): Add atan2, hypot and pow.
  50963. (special_fill_min): New function.
  50964. (special_fill_minus_min): Likewise.
  50965. (special_fill_min_subnorm): Likewise.
  50966. (special_fill_minus_min_subnorm): Likewise.
  50967. (special_real_inputs): Add min, -min, min_subnorm and
  50968. -min_subnorm.
  50969. (calc_generic_results): Handle mpfr_ff_f.
  50970. * sysdeps/i386/fpu/libm-test-ulps: Update.
  50971. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  50972. 2013-12-16 Will Newton <will.newton@linaro.org>
  50973. * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
  50974. (Aligned Memory Blocks): Add documentation for aligned_alloc
  50975. and suggest it as an alternative to posix_memalign.
  50976. (Hooks for Malloc): Document __memalign_hook is also called
  50977. for aligned_alloc. (Summary of Malloc): Add summary for
  50978. aligned alloc. Document __memalign_hook is also called
  50979. for aligned_alloc.
  50980. 2013-12-16 Will Newton <will.newton@linaro.org>
  50981. * manual/memory.texi (Malloc Examples): Clarify default
  50982. alignment documentation. Suggest posix_memalign rather
  50983. than memalign or valloc.
  50984. (Aligned Memory Blocks): Remove suggestion to use memalign
  50985. or valloc. Remove obsolete comment about BSD.
  50986. Document memalign errno values and mark the function obsolete.
  50987. Document posix_memalign returned error codes. Mark valloc
  50988. as obsolete. (Hooks for Malloc): __memalign_hook is also
  50989. called for posix_memalign and valloc.
  50990. (Summary of Malloc): Add posix_memalign to function summary.
  50991. __memalign_hook is also called for posix_memalign and valloc.
  50992. 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
  50993. * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
  50994. TAYLOR_SIN.
  50995. (__sin): Adjust.
  50996. (__cos): Likewise.
  50997. (sloww): Use mynumber union. Expand ternary operator into
  50998. if-else statements.
  50999. (cslow): use mynumber union.
  51000. 2013-12-16 Allan McRae <allan@archlinux.org>
  51001. * configure.ac: Set AUTOCONF when maintainer-mode is not used.
  51002. * configure: Regenerated.
  51003. * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
  51004. [BZ #14120]
  51005. * configure.ac: Added --enable-maintainer-mode. Check for
  51006. autoconf when enabled.
  51007. * configure: Regenerated.
  51008. * nscd/nscd.service: New file.
  51009. * nscd/nscd.tmpfiles: New file.
  51010. 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
  51011. [BZ #12100]
  51012. * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
  51013. * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
  51014. * sysdeps/x86_64/multiarch/strstr.c: ... here.
  51015. (strstr): Add __strstr_sse2_unaligned ifunc.
  51016. * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
  51017. * sysdeps/x86_64/multiarch/strcasestr.c ... here.
  51018. (strcasestr): Remove __strcasestr_sse42 ifunc.
  51019. * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
  51020. * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
  51021. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
  51022. 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  51023. * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
  51024. * sysdeps/sh/bits/fenv.h: ... here.
  51025. * sysdeps/sh/sh4/fpu/bits: Remove directory.
  51026. 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  51027. * NEWS: Mention ppc64 STT_GNU_IFUNC support.
  51028. * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
  51029. hypotf multiarch implementations.
  51030. * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
  51031. * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
  51032. * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
  51033. multiarch hypot for PPC64.
  51034. * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
  51035. * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
  51036. * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
  51037. multiarch hypotf for PPC64.
  51038. * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
  51039. modff multiarch implementations.
  51040. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
  51041. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
  51042. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
  51043. multiarch modf for PPC64.
  51044. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
  51045. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
  51046. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
  51047. multiarch modff for PPC64.
  51048. * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
  51049. and logl multiarch implementations.
  51050. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
  51051. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
  51052. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
  51053. multiarch logb for PPC64.
  51054. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
  51055. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
  51056. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
  51057. multiarch logb for PPC64.
  51058. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
  51059. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
  51060. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
  51061. multiarch logb for PPC64.
  51062. * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
  51063. isinff multiarch implementation.
  51064. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
  51065. file.
  51066. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
  51067. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
  51068. multiarch isinf for PPC64.
  51069. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
  51070. file.
  51071. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
  51072. multiarch isinff for PPC64.
  51073. * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
  51074. finitef multiarch implementation.
  51075. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
  51076. file.
  51077. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
  51078. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
  51079. multiarch finite for PPC64.
  51080. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
  51081. file.
  51082. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
  51083. multiarch finitef for PPC64.
  51084. * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
  51085. lrint multiarch implementation.
  51086. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
  51087. file.
  51088. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
  51089. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
  51090. multiarch llrint for PPC64.
  51091. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
  51092. multiarch lrint for PPC64.
  51093. * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
  51094. copysignf multiarch implementation.
  51095. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
  51096. file.
  51097. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
  51098. file.
  51099. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
  51100. multiarch copysign for PPC64.
  51101. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
  51102. multiarch copysignf for PPC64.
  51103. * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
  51104. multiarch implementation.
  51105. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
  51106. file.
  51107. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
  51108. file.
  51109. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
  51110. file.
  51111. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
  51112. file.
  51113. multiarch llround for PPC64.
  51114. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
  51115. multiarch trunc for PPC64.
  51116. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
  51117. multiarch truncf for PPC64.
  51118. * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
  51119. multiarch implementation.
  51120. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
  51121. file.
  51122. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
  51123. file.
  51124. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
  51125. file.
  51126. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
  51127. file.
  51128. multiarch llround for PPC64.
  51129. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
  51130. multiarch round for PPC64.
  51131. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
  51132. multiarch roundf for PPC64.
  51133. * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
  51134. multiarch implementation.
  51135. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
  51136. file.
  51137. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
  51138. file.
  51139. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
  51140. file.
  51141. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
  51142. file.
  51143. multiarch llround for PPC64.
  51144. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
  51145. multiarch floor for PPC64.
  51146. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
  51147. multiarch floorf for PPC64.
  51148. * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
  51149. multiarch implementation.
  51150. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
  51151. file.
  51152. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
  51153. file.
  51154. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
  51155. file.
  51156. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
  51157. file.
  51158. multiarch llround for PPC64.
  51159. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
  51160. multiarch ceil for PPC64.
  51161. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
  51162. multiarch ceilf for PPC64.
  51163. * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
  51164. multiarch implementation.
  51165. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
  51166. file.
  51167. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
  51168. file.
  51169. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
  51170. file.
  51171. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
  51172. multiarch llround for PPC64.
  51173. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
  51174. multiarch lround for PPC64.
  51175. * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
  51176. multiarch implementation.
  51177. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
  51178. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
  51179. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
  51180. file.
  51181. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
  51182. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
  51183. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
  51184. multiarch isnan for PPC64.
  51185. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
  51186. multiarch isnanf for PPC64.
  51187. * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
  51188. * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
  51189. * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
  51190. * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
  51191. * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
  51192. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
  51193. * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
  51194. * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
  51195. * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
  51196. * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
  51197. * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
  51198. multiarch implementations.
  51199. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  51200. (__libc_ifunc_impl_list): Likewise.
  51201. * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
  51202. * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
  51203. * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
  51204. multiarch stpcpy for PPC64.
  51205. * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
  51206. multiarch implementations.
  51207. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  51208. (__libc_ifunc_impl_list): Likewise.
  51209. * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
  51210. * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
  51211. * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
  51212. multiarch strcpy for PPC64.
  51213. * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
  51214. redefine function name.
  51215. (_wordcopy_fwd_dest_aligned): Likewise.
  51216. (_wordcopy_bwd_aligned): Likewise.
  51217. (_wordcopy_bwd_dest_aligned): Likewise.
  51218. * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
  51219. multiarch implementations.
  51220. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  51221. (__libc_ifunc_impl_list): Likewise.
  51222. * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
  51223. * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
  51224. * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
  51225. * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
  51226. multiarch wcscpy for PPC64.
  51227. * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
  51228. multiarch implementations.
  51229. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  51230. (__libc_ifunc_impl_list): Likewise.
  51231. * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
  51232. * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
  51233. * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
  51234. * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
  51235. multiarch wcscpy for PPC64.
  51236. * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
  51237. multiarch implementations.
  51238. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  51239. (__libc_ifunc_impl_list): Likewise.
  51240. * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
  51241. * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
  51242. * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
  51243. * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
  51244. multiarch wcsrchr for PPC64.
  51245. * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
  51246. multiarch implementations.
  51247. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  51248. (__libc_ifunc_impl_list): Likewise.
  51249. * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
  51250. * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
  51251. * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
  51252. * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
  51253. multiarch wcschr for PPC64.
  51254. * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
  51255. multiarch implementations.
  51256. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  51257. (__libc_ifunc_impl_list): Likewise.
  51258. * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
  51259. * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
  51260. * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
  51261. multiarch strchrnul for PPC64.
  51262. * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
  51263. implementations.
  51264. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  51265. (__libc_ifunc_impl_list): Likewise.
  51266. * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
  51267. * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
  51268. * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
  51269. * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
  51270. strchr for PPC64.
  51271. * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
  51272. implementations.
  51273. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  51274. (__libc_ifunc_impl_list): Likewise.
  51275. * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
  51276. * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
  51277. * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
  51278. * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
  51279. strncmp for PPC64.
  51280. * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
  51281. multiarch implementations.
  51282. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  51283. (__libc_ifunc_impl_list): Likewise.
  51284. * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
  51285. * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
  51286. strncasecmp for PPC64.
  51287. * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
  51288. * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
  51289. multiarch strncasecmp_l for PPC64.
  51290. * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
  51291. multiarch implementations.
  51292. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
  51293. (__libc_ifunc_impl_list): Likewise.
  51294. * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
  51295. * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
  51296. multiarch strcasecmp for PPC64.
  51297. * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
  51298. file.
  51299. * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
  51300. multiarch strcasecmp_l for PPC64.
  51301. * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
  51302. implementations.
  51303. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  51304. (__libc_ifunc_impl_list): Likewise.
  51305. * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
  51306. * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
  51307. * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
  51308. strnlen for PPC64.
  51309. * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
  51310. implementations.
  51311. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  51312. (__libc_ifunc_impl_list): Likewise.
  51313. * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
  51314. * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
  51315. * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
  51316. strlen for PPC64.
  51317. * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
  51318. implementations.
  51319. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  51320. (__libc_ifunc_impl_list): Likewise.
  51321. * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
  51322. * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
  51323. * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
  51324. rawmemrchr for PPC64.
  51325. * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
  51326. implementation.
  51327. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  51328. (__libc_ifunc_impl_list): Likewise.
  51329. * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
  51330. * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
  51331. * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
  51332. memrchr for PPC64.
  51333. * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
  51334. implementation.
  51335. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  51336. (__libc_ifunc_impl_list): Likewise.
  51337. * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
  51338. * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
  51339. * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
  51340. memchr for PPC64.
  51341. * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
  51342. implementation.
  51343. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  51344. (__libc_ifunc_impl_list): Likewise.
  51345. * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
  51346. * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
  51347. * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
  51348. mempcpy for PPC64.
  51349. * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
  51350. avoid cretion of __bzero symbol.
  51351. * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
  51352. Likewise.
  51353. * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
  51354. Likewise.
  51355. * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
  51356. Likewise.
  51357. * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
  51358. multiarch implementations.
  51359. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  51360. (__libc_ifunc_impl_list): Likewise.
  51361. * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
  51362. * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
  51363. * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
  51364. * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
  51365. bzero for PPC32.
  51366. * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
  51367. * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
  51368. * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
  51369. * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
  51370. * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
  51371. memset for PPC64.
  51372. * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
  51373. * string/memcmp.c (memcmp): Using macro to redefine symbol name.
  51374. * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
  51375. implementations.
  51376. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
  51377. (__libc_ifunc_impl_list): Likewise.
  51378. * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
  51379. * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
  51380. * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
  51381. * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
  51382. memcmp for PPC64.
  51383. * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
  51384. multiarch for POWER/PPC64.
  51385. * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
  51386. * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
  51387. * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
  51388. * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
  51389. * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
  51390. * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
  51391. * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
  51392. * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
  51393. * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
  51394. memcpy for PPC64.
  51395. * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
  51396. * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
  51397. * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
  51398. * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
  51399. * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
  51400. * sysdeps/powerpc/powerpc64/power5/Implies: New File.
  51401. * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
  51402. * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
  51403. * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
  51404. * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
  51405. * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
  51406. * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
  51407. * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
  51408. * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
  51409. * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
  51410. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
  51411. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
  51412. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
  51413. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
  51414. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
  51415. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
  51416. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
  51417. 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  51418. * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
  51419. 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
  51420. * benchtests/Makefile (bench): Add exp2 and log2.
  51421. (LDLIBS-bench-exp2): Add -lm.
  51422. (LDLIBS-bench-log2): Likewise.
  51423. * benchtests/exp2-inputs: New inputs file.
  51424. * benchtests/log2-inputs: New inputs file.
  51425. * benchtests/log-inputs: Add new inputs.
  51426. * benchtests/tan-inputs: Likewise.
  51427. 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
  51428. * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
  51429. definition...
  51430. (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
  51431. (csloww2): ... from here.
  51432. * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
  51433. instead of structures.
  51434. * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
  51435. (POLYNOMIAL): Likewise.
  51436. (TAYLOR_SLOW): Likewise.
  51437. (__sin): Likewise.
  51438. (__cos): Likewise.
  51439. (slow1): Likewise.
  51440. (slow2): Likewise.
  51441. (sloww): Likewise.
  51442. (sloww1); Likewise.
  51443. (sloww2): Likewise.
  51444. (bsloww1): Likewise.
  51445. (bsloww2): Likewise.
  51446. (cslow2): Likewise.
  51447. (csloww): Likewise.
  51448. (csloww1): Likewise.
  51449. (csloww2): Likewise.
  51450. 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
  51451. * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
  51452. (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
  51453. Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
  51454. * malloc/hooks.c (realloc_check): Likewise.
  51455. * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
  51456. * malloc/arena.c: Remove PER_THREAD conditional.
  51457. [!PER_THREAD]: Remove code.
  51458. (ptmalloc_unlock_all2): Likewise.
  51459. (ptmalloc_init): Likewise.
  51460. (_int_new_arena): Likewise.
  51461. (arena_get2): Likewise.
  51462. * malloc/hooks.c (__malloc_get_state): Likewise.
  51463. (__malloc_set_state): Likewise.
  51464. * malloc/malloc.c: Likewise.
  51465. (struct malloc_state): Likewise.
  51466. (struct malloc_par): Likewise.
  51467. (__libc_realloc): Likewise.
  51468. (__libc_mallopt): Likewise.
  51469. 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  51470. * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
  51471. 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
  51472. * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
  51473. macro to a function. Check for zero perturb_byte.
  51474. (_int_malloc, _int_free): Remove zero perturb_byte checks.
  51475. * malloc/malloc.c: (force_reg): Remove.
  51476. (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
  51477. (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
  51478. force_reg by atomic_forced_read.
  51479. * malloc/arena.c (ptmalloc_init): Likewise.
  51480. * malloc/hooks.c (top_check): Likewise.
  51481. 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  51482. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  51483. 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
  51484. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
  51485. 2013-12-08 Joseph Myers <joseph@codesourcery.com>
  51486. * math/auto-libm-test-in: Add tests of lgamma.
  51487. * math/auto-libm-test-out: Regenerated.
  51488. * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
  51489. (M_LOG_2_SQRT_PIl): Likewise.
  51490. (lgamma_test_data): Use AUTO_TESTS_f_f1.
  51491. * math/gen-auto-libm-tests.c (func_calc_method): Add value
  51492. mpfr_f_f1.
  51493. (func_calc_desc): Add mpfr_f_f1 union field.
  51494. (ARGS1): New macro.
  51495. (ARGS2): Likewise.
  51496. (ARGS3): Likewise.
  51497. (ARGS4): Likewise.
  51498. (RET1): Likewise.
  51499. (RET2): Likewise.
  51500. (CALC): Likewise.
  51501. (FUNC): Likewise.
  51502. (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
  51503. (test_functions): Add lgamma.
  51504. (calc_generic_results): Handle mpfr_f_f1.
  51505. * sysdeps/i386/fpu/libm-test-ulps: Update.
  51506. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  51507. 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  51508. * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
  51509. __mpn_add_n for PowerPC64/POWER7.
  51510. * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
  51511. __mpn_sub_n for PowerPC64/POWER7.
  51512. * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
  51513. __mpn_addmul_1 for PowerPC64.
  51514. * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
  51515. __mpn_submul_1 for PowerPC64.
  51516. * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
  51517. for PowerPC64.
  51518. * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
  51519. for PowerPC64.
  51520. 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
  51521. [BZ #15089]
  51522. * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
  51523. 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  51524. * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
  51525. * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
  51526. add multiarch folders.
  51527. * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
  51528. * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
  51529. * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
  51530. * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
  51531. * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
  51532. * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
  51533. * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
  51534. * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
  51535. * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
  51536. * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
  51537. * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
  51538. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
  51539. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
  51540. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
  51541. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
  51542. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
  51543. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
  51544. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
  51545. __ieee754_hypot and __ieee754_hypotf multiarch implementations.
  51546. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
  51547. New file.
  51548. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
  51549. New file.
  51550. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
  51551. multiarch __ieee754_hypot for PowerPC32.
  51552. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
  51553. New file.
  51554. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
  51555. New file.
  51556. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
  51557. multiarch __ieee754_hypotf for PowerPC32.
  51558. * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
  51559. long_double_symbol only if __logbl is defined.
  51560. * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
  51561. * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
  51562. * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
  51563. * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
  51564. * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
  51565. * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
  51566. * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
  51567. path for implementation.
  51568. * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
  51569. * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
  51570. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
  51571. logb, and logbl multiarch implementations for PowerPC32.
  51572. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
  51573. file.
  51574. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
  51575. file.
  51576. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
  51577. multiarch logb for PowerPC32.
  51578. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
  51579. file.
  51580. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
  51581. file.
  51582. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
  51583. multiarch logbf for PowerPC32.
  51584. * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
  51585. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
  51586. file.
  51587. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
  51588. multiarch logbl implementation for PowerPC32.
  51589. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
  51590. and modff multiarch implementations.
  51591. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
  51592. New file.
  51593. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
  51594. New file.
  51595. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
  51596. multiarch modf for PowerPC32.
  51597. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
  51598. New file.
  51599. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
  51600. New file.
  51601. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
  51602. multiarch modff for PowerPC32.
  51603. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
  51604. and lrintf multiarch implementations.
  51605. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
  51606. New file.
  51607. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
  51608. New file.
  51609. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
  51610. multiarch lrint for PowerPC32.
  51611. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
  51612. file: multiarch lrintf for PowerPC32.
  51613. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
  51614. and lroundf multiarch implementations.
  51615. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
  51616. New file.
  51617. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
  51618. New file.
  51619. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
  51620. New file.
  51621. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
  51622. multiarch lround for PowerPC32.
  51623. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
  51624. file: multiarch lroundf for PowerPC32.
  51625. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
  51626. copysign and copysignf multiarch implementations.
  51627. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
  51628. New file.
  51629. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
  51630. New file.
  51631. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
  51632. file: multiarch copysign for PowerPC32.
  51633. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
  51634. file: multiarch copysignf for PowerPC32.
  51635. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
  51636. and truncf multiarch implementations.
  51637. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
  51638. New file.
  51639. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
  51640. file.
  51641. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
  51642. multiarch trunc for PowerPC32.
  51643. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
  51644. New file.
  51645. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
  51646. New file.
  51647. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
  51648. multiarch truncf for PowerPC32.
  51649. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
  51650. and roundf multiarch implementations.
  51651. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
  51652. New file.
  51653. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
  51654. file.
  51655. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
  51656. multiarch round for PowerPC32.
  51657. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
  51658. New file.
  51659. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
  51660. New file.
  51661. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
  51662. multiarch roundf for PowerPC32.
  51663. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
  51664. and floorf multiarch implementations.
  51665. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
  51666. New file.
  51667. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
  51668. file.
  51669. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
  51670. multiarch floor for PowerPC32.
  51671. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
  51672. New file.
  51673. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
  51674. New file.
  51675. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
  51676. multiarch floorf for PowerPC32.
  51677. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
  51678. and ceilf multiarch implementations.
  51679. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
  51680. New file.
  51681. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
  51682. file.
  51683. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
  51684. multiarch ceil for PowerPC32.
  51685. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
  51686. New file.
  51687. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
  51688. file.
  51689. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
  51690. multiarch ceilf for PowerPC32.
  51691. * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
  51692. is defined.
  51693. * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
  51694. FINITEF is defined.
  51695. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
  51696. and finitef multiarch implementations.
  51697. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
  51698. New file.
  51699. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
  51700. file.
  51701. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
  51702. multiarch finite for PowerPC32.
  51703. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
  51704. New file.
  51705. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
  51706. file: multiarch finitef for PowerPC32.
  51707. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
  51708. and isinff multiarch implementations.
  51709. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
  51710. file.
  51711. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
  51712. file.
  51713. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
  51714. multiarch isinf for PowerPC32.
  51715. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
  51716. New file.
  51717. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
  51718. multiarch isinff for PowerPC32.
  51719. * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
  51720. alias when __isnan is defined.
  51721. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
  51722. and isnanf multiarch implementations.
  51723. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
  51724. file.
  51725. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
  51726. file.
  51727. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
  51728. file.
  51729. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
  51730. file.
  51731. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
  51732. multiarch isnan for PowerPC32.
  51733. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
  51734. New file.
  51735. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
  51736. New file.
  51737. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
  51738. multiarch isnanf for PowerPC32.
  51739. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
  51740. and sqrtf multiarch implementations.
  51741. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
  51742. file.
  51743. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
  51744. file.
  51745. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
  51746. multiarch sqrt for PowerPC32.
  51747. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
  51748. file.
  51749. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
  51750. file.
  51751. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
  51752. multiarch sqrtf for PowerPC32.
  51753. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
  51754. and llroundf multiarch implementations.
  51755. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
  51756. New file.
  51757. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
  51758. New file.
  51759. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
  51760. New file.
  51761. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
  51762. file: multiarch llround for PowerPC32.
  51763. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
  51764. file: multiarch llroundf for PowerPC32.
  51765. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
  51766. multiarch PowerPC32 fpu implementations.
  51767. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
  51768. New file.
  51769. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
  51770. New file.
  51771. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
  51772. multiarch llrint for PowerPC32.
  51773. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
  51774. New file.
  51775. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
  51776. New file.
  51777. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
  51778. file.
  51779. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
  51780. * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
  51781. file.
  51782. * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
  51783. file.
  51784. * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
  51785. file.
  51786. * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
  51787. multiarch wordcopy for PPC32.
  51788. * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
  51789. wordcopy objects.
  51790. * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
  51791. (__libc_ifunc_impl_list): Likewise.
  51792. * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
  51793. * sysdeps/powerpc/power4/wordcopy.c: ... to here.
  51794. * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
  51795. * sysdeps/powerpc/power6/wordcopy.c: ... to here.
  51796. * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
  51797. * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
  51798. * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
  51799. * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
  51800. file.
  51801. * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
  51802. file.
  51803. * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
  51804. file.
  51805. * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
  51806. multiarch wcscpy for PPC32.
  51807. * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
  51808. multiarch objects.
  51809. * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
  51810. (__libc_ifunc_impl_list): Likewise.
  51811. * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
  51812. * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
  51813. * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
  51814. sysdeps/powerpc/power6/wcscpy.c.
  51815. * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
  51816. * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
  51817. file.
  51818. * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
  51819. file.
  51820. * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
  51821. file.
  51822. * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
  51823. multiarch wcsrchr for PPC32.
  51824. * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
  51825. multiarch objects.
  51826. * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
  51827. (__libc_ifunc_impl_list): Likewise.
  51828. * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
  51829. * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
  51830. * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
  51831. sysdeps/powerpc/power6/wcsrchr.c.
  51832. * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
  51833. file.
  51834. * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
  51835. file.
  51836. * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
  51837. * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
  51838. multiarch wcschr for PPc32.
  51839. * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
  51840. multiarch objects.
  51841. * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
  51842. (__libc_ifunc_impl_list): Likewise.
  51843. * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
  51844. * sysdeps/powerpc/power6/wcschr.c: ... to here.
  51845. * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
  51846. sysdeps/powerpc/power6/wcschr.c.
  51847. * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
  51848. * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
  51849. file.
  51850. * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
  51851. * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
  51852. file: multiarch strchr for PPC32.
  51853. * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
  51854. multiarch objects.
  51855. * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
  51856. (__libc_ifunc_impl_list): Likewise.
  51857. * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
  51858. name.
  51859. * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
  51860. file.
  51861. * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
  51862. file.
  51863. * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
  51864. multiarch strchrnul for PPC32.
  51865. * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
  51866. multiarch objects.
  51867. * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
  51868. (__libc_ifunc_impl_list): Likewise.
  51869. * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
  51870. file.
  51871. * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
  51872. multiarch strncasecmp for PPC32.
  51873. * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
  51874. file.
  51875. * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
  51876. multiarch strncasecmp_l for PPC32.
  51877. * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
  51878. strncasecmp multiarch objects.
  51879. * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
  51880. (__libc_ifunc_impl_list): Likewise.
  51881. * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
  51882. file.
  51883. * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
  51884. multiarch strncasecmp for PPC32.
  51885. * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
  51886. New file.
  51887. * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
  51888. multiarch strcasecmp_l for PPC32.
  51889. * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
  51890. multiarch objects.
  51891. * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
  51892. (__libc_ifunc_impl_list): Likewise.
  51893. * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
  51894. file.
  51895. * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
  51896. file.
  51897. * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
  51898. multiarch strncmp for PPC32.
  51899. * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
  51900. multiarch objects.
  51901. * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
  51902. (__libc_ifunc_impl_list): Likewise.
  51903. * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
  51904. * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
  51905. file.
  51906. * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
  51907. * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
  51908. * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
  51909. multiarch objects.
  51910. * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
  51911. (__libc_ifunc_impl_list): Likewise.
  51912. * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
  51913. file.
  51914. * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
  51915. file.
  51916. * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
  51917. * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
  51918. multiarch objects.
  51919. * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
  51920. (__libc_ifunc_impl_list): Likewise.
  51921. * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
  51922. file.
  51923. * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
  51924. file.
  51925. * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
  51926. multiarch rawmemchr for PPC32.
  51927. * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
  51928. multiarch objects.
  51929. * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
  51930. (__libc_ifunc_impl_list): Likewise.
  51931. * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
  51932. file.
  51933. * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
  51934. file.
  51935. * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
  51936. file: memrchr multiarch for PPC32.
  51937. * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
  51938. multiarch objects.
  51939. * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
  51940. (__libc_ifunc_impl_list): Likewise.
  51941. * string/memchr.c (__memchr): Using macro to redefine symbol name.
  51942. * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
  51943. file.
  51944. * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
  51945. * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
  51946. multiarch memchr for PPC32.
  51947. * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
  51948. multiarch objects.
  51949. * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
  51950. (__libc_ifunc_impl_list): Likewise.
  51951. * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
  51952. * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
  51953. file.
  51954. * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
  51955. file.
  51956. * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
  51957. file: multiarch mempcpy for PPC32.
  51958. * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
  51959. multiarch objects.
  51960. * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
  51961. (__libc_ifunc_impl_list): Likewise.
  51962. * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
  51963. * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
  51964. * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
  51965. * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
  51966. multiarch bzero for PPC32.
  51967. * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
  51968. file.
  51969. * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
  51970. file.
  51971. * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
  51972. * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
  51973. file: multiarch memset for PPC32.
  51974. * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
  51975. * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
  51976. memset multiarch objects.
  51977. * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
  51978. (__libc_ifunc_impl_list): Likewise.
  51979. * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
  51980. file.
  51981. * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
  51982. * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
  51983. memcmp for PPC32.
  51984. * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
  51985. * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
  51986. multiarch objects.
  51987. * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
  51988. (__libc_ifunc_impl_list): Likewise.
  51989. * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
  51990. * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
  51991. * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
  51992. file.
  51993. * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
  51994. file.
  51995. * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
  51996. file.
  51997. * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
  51998. multiarch memcpy for PPC32.
  51999. * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
  52000. multiarch objects.
  52001. * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
  52002. (__libc_ifunc_impl_list): Likewise.
  52003. * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
  52004. support multiarch for POWER/PPC32.
  52005. * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
  52006. Likewise.
  52007. * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
  52008. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
  52009. Implies file to make multiarch folder appers before the fpu and
  52010. default folder for power4 configuration.
  52011. 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
  52012. * scripts/bench.pl: Append volatile keyword to type.
  52013. 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  52014. * sysdeps/sh/sotruss-lib.c: New file.
  52015. * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
  52016. 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  52017. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  52018. 2013-12-05 Joseph Myers <joseph@codesourcery.com>
  52019. [BZ #6810]
  52020. * math/w_tgamma.c: Include <errno.h>.
  52021. (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
  52022. * math/w_tgammaf.c: Include <errno.h>.
  52023. (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
  52024. * math/w_tgammal.c: Include <errno.h>.
  52025. (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
  52026. * math/auto-libm-test-in: Do not allow missing errno on tgamma
  52027. underflow. Add more tgamma tests.
  52028. * math/auto-libm-test-out: Regenerated.
  52029. * sysdeps/i386/fpu/libm-test-ulps: Update.
  52030. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  52031. * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
  52032. sin, sinh, tan, tanh, tgamma, y0 and y1.
  52033. * math/auto-libm-test-out: Regenerated.
  52034. * math/libm-test.inc (TEST_COND_x86_64): New macro.
  52035. (TEST_COND_x86): Likewise.
  52036. (M_E2l): Remove macro.
  52037. (M_E3l): Likewise.
  52038. (M_2_SQRT_PIl): Likewise.
  52039. (M_SQRT_PIl): Likewise.
  52040. (M_1_DIV_El): Likewise.
  52041. (log_test_data): Use AUTO_TESTS_f_f.
  52042. (log10_test_data): Likewise.
  52043. (log1p_test_data): Likewise.
  52044. (log2_test_data): Likewise.
  52045. (sin_test_data): Likewise.
  52046. (sin_tonearest_test_data): Likewise.
  52047. (sin_towardzero_test_data): Likewise.
  52048. (sin_downward_test_data): Likewise.
  52049. (sin_upward_test_data): Likewise.
  52050. (sinh_test_data): Likewise.
  52051. (sinh_tonearest_test_data): Likewise.
  52052. (sinh_towardzero_test_data): Likewise.
  52053. (sinh_downward_test_data): Likewise.
  52054. (sinh_upward_test_data): Likewise.
  52055. (tan_test_data): Likewise.
  52056. (tan_tonearest_test_data): Likewise.
  52057. (tan_towardzero_test_data): Likewise.
  52058. (tan_downward_test_data): Likewise.
  52059. (tan_upward_test_data): Likewise.
  52060. (tanh_test_data): Likewise.
  52061. (tgamma_test_data): Likewise.
  52062. (y0_test_data): Likewise.
  52063. (y1_test_data): Likewise.
  52064. * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
  52065. (special_real_inputs): Add pi/4.
  52066. * sysdeps/i386/fpu/libm-test-ulps: Update.
  52067. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  52068. 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  52069. * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
  52070. "longjmp_target" static probes.
  52071. (__longjmp): Rename to __longjmp_symbol.
  52072. * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
  52073. * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
  52074. on which longjmp to generate.
  52075. * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
  52076. * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
  52077. probe.
  52078. (__sigsetjmp): Rename to __sigsetjmp_symbol.
  52079. (__sigjmp_save): Rename to __sigjmp_save_symbol.
  52080. * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
  52081. * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
  52082. and __sigjmp_save_symbol based on which sigsetjmp to generated.
  52083. * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
  52084. * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
  52085. __longjmp_symbol based on which __longjmp to generate.
  52086. * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
  52087. probe.
  52088. (setjmp): Rename to setjmp_symbol.
  52089. (__sigsetjmp): Rename to __sigsetjmp_symbol.
  52090. (_setjmp): Rename to _setjmp_symbol.
  52091. (__sigsetjmp): Rename to __sigsetjmp_symbol.
  52092. * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
  52093. _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
  52094. which setjmp to generate.
  52095. * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
  52096. "longjmp_target" static probes.
  52097. 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
  52098. * benchtests/README: Add note about output arguments.
  52099. * benchtests/bench-sincos.c: Remove file.
  52100. * benchtests/sincos-inputs: New file.
  52101. * scripts/bench.pl: Identify output arguments and define
  52102. static variables for them.
  52103. * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
  52104. [BZ #15941]
  52105. * Makefile (INSTALL): Add install-plain.texi as the primary
  52106. dependency.
  52107. * manual/install-plain.texi: New file.
  52108. * manual/install.texi: Include node directive only for
  52109. non-plaintext output.
  52110. 2013-12-04 Joseph Myers <joseph@codesourcery.com>
  52111. * stdlib/longlong.h: Update from GCC.
  52112. [BZ #6807]
  52113. [BZ #15901]
  52114. * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
  52115. * math/w_j0f.c (y0f): Likewise.
  52116. * math/w_j0l.c (__y0l): Likewise.
  52117. * math/w_j1.c (y1): Likewise.
  52118. * math/w_j1f.c (y1f): Likewise.
  52119. * math/w_j1l.c (__y1l): Likewise.
  52120. * math/w_jn.c (yn): Likewise.
  52121. * math/w_jnf.c (ynf): Likewise.
  52122. * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
  52123. Bessel function pole errors in _POSIX_ mode. Use NAN as return
  52124. value for Bessel function domain errors outside _SVID_ mode.
  52125. Adjust sign of return value for yn (negative integer, 0).
  52126. * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
  52127. by zero in return for negative x and set sign appropriately for
  52128. negative n.
  52129. * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
  52130. * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
  52131. * math/libm-test.inc (y0_test_data): Add more tests and adjust
  52132. expectations in error cases.
  52133. (y1_test_data): Likewise.
  52134. (yn_test_data): Likewise.
  52135. * sysdeps/i386/fpu/libm-test-ulps: Update.
  52136. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  52137. 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  52138. * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
  52139. "64" to "64-v1". Add "64-v2".
  52140. (abi-64-options): Rename to ...
  52141. (abi-64-v1-options): ... this. Redefine _CALL_ELF.
  52142. (abi-64-condition): Rename to ...
  52143. (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
  52144. (abi-64-ld-soname): Rename to ...
  52145. (abi-64-v1-ld-soname): ... this.
  52146. (abi-64-v2-options): Define.
  52147. (abi-64-v2-condition): Likewise.
  52148. (abi-64-v2-ld-soname): Likewise.
  52149. * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
  52150. (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
  52151. * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
  52152. * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
  52153. * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
  52154. 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  52155. Alan Modra <amodra@gmail.com>
  52156. * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
  52157. New versions for use with the ELFv2 ABI.
  52158. (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
  52159. * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
  52160. declaration.
  52161. (struct La_ppc64v2_retval): Likewise.
  52162. (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
  52163. (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
  52164. * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
  52165. to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
  52166. (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
  52167. * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
  52168. Do not save or restore CR.
  52169. (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
  52170. (_dl_profile_resolve): Do no save or restore CR. Support extended
  52171. return values for ELFv2 ABI. Fix location of FPR return registers.
  52172. * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
  52173. updated values for _CALL_ELF == 2.
  52174. (La_regs, La_retval, int_retval): Likewise.
  52175. 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  52176. * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
  52177. (FRAME_MIN_SIZE_PARM): Likewise.
  52178. (FRAME_BACKCHAIN): Likewise.
  52179. (FRAME_CR_SAVE): Likewise.
  52180. (FRAME_LR_SAVE): Likewise.
  52181. (FRAME_TOC_SAVE): Likewise.
  52182. (FRAME_PARM_SAVE): Likewise.
  52183. (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
  52184. FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
  52185. FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
  52186. (call_mcount_parm_offset): New macro.
  52187. (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
  52188. (PROF): Use symbolic stack frame offsets.
  52189. (TAIL_CALL_SYSCALL_ERROR): Likewise.
  52190. * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
  52191. Redefine in terms of FRAME_MIN_SIZE.
  52192. (_dl_runtime_resolve): Use symbolic stack frame offsets.
  52193. (_dl_profile_resolve): Likewise. Update comment.
  52194. * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
  52195. symbols stack frame offsets.
  52196. (__sigsetjmp): Likewise.
  52197. * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
  52198. * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
  52199. * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
  52200. * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
  52201. * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
  52202. (FRAME_BACKCHAIN): Remove.
  52203. (FRAME_CR_SAVE): Likewise.
  52204. (FRAME_LR_SAVE): Likewise.
  52205. (FRAME_COMPILER_DW): Likewise.
  52206. (FRAME_LINKER_DW): Likewise.
  52207. (FRAME_TOC_SAVE): Likewise.
  52208. (FRAME_PARM_SAVE): Likewise.
  52209. (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
  52210. (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
  52211. (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
  52212. * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
  52213. (CHECK_SP): Use symbolic stack frame offsets.
  52214. * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
  52215. zone" instead of caller's parameter save area for temp storage.
  52216. * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
  52217. Likewise. Also, use symbolic stack frame offsets.
  52218. * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
  52219. stackblock): Redefine for _CALL_ELF == 2 to save parameters into
  52220. our own stack frame instead of the caller's.
  52221. (__socket): Use symbolic stack frame offsets.
  52222. 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  52223. Alan Modra <amodra@gmail.com>
  52224. * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
  52225. Define.
  52226. (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
  52227. (PPC64_LOCAL_ENTRY_OFFSET): Define.
  52228. * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
  52229. New function.
  52230. (elf_machine_fixup_plt): Call it.
  52231. (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
  52232. reloc arguments.
  52233. (elf_machine_rela): Update call to elf_machine_plt_conflict.
  52234. * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
  52235. (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
  52236. r2 before calling target.
  52237. 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  52238. Alan Modra <amodra@gmail.com>
  52239. * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
  52240. (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
  52241. versions of macros to support ELFv2 ABI.
  52242. (LOCALENTRY): New macro.
  52243. (ENTRY, EALIGN): Use it.
  52244. * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
  52245. * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
  52246. fall through into ENTRY entry point.
  52247. * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
  52248. Only define if _CALL_ELF != 2.
  52249. (elf_machine_matches_host): Verify ABI version matches.
  52250. (RTLD_START): Use LOCALENTRY.
  52251. (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
  52252. (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
  52253. (PLT_ENTRY_WORDS): New macro.
  52254. (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
  52255. (elf_machine_runtime_setup): Support ELFv2 ABI.
  52256. (elf_machine_fixup_plt): Likewise.
  52257. (elf_machine_plt_conflict): Likewise.
  52258. (resolve_ifunc): Likewise.
  52259. * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
  52260. * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
  52261. Likewise.
  52262. * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
  52263. (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
  52264. * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
  52265. (makecontext): Support ELFv2 ABI.
  52266. * elf/elf.h (EF_PPC64_ABI): Define.
  52267. 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  52268. * sysdeps/powerpc/powerpc64/sysdep.h
  52269. (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
  52270. (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
  52271. (ENTRY) [ASSEMBLER]: ... but instead here ...
  52272. (EALIGN) [ASSEMBLER]: ... and here.
  52273. (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
  52274. (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
  52275. (ENTRY_2) [!ASSEMBLER]: Use it.
  52276. * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
  52277. ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
  52278. * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
  52279. (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
  52280. * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
  52281. * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
  52282. Use PPC64_LOAD_FUNCPTR.
  52283. * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
  52284. 2013-12-04 Alan Modra <amodra@gmail.com>
  52285. * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
  52286. (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
  52287. (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
  52288. (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
  52289. * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
  52290. overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
  52291. R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
  52292. Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
  52293. R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
  52294. Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
  52295. 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
  52296. * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
  52297. (__makecontext): Fix incorrect CFI when backtracing out of
  52298. context created via makecontext.
  52299. * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
  52300. (__setcontext): Fix incorrect CFI during switch to new context.
  52301. (__novec_setcontext): Likewise.
  52302. 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
  52303. [BZ #4772]
  52304. * time/strptime_l.c (__strptime_internal): Allow modifiers
  52305. in strptime.
  52306. * time/tst-strptime.c (day_tests): Add testcase.
  52307. 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
  52308. * scripts/bench.pl: Skip over blank lines.
  52309. 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
  52310. [BZ #926]
  52311. * manual/time.texi (Calendar Time): Clarify what timezone functions
  52312. use.
  52313. 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  52314. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  52315. 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
  52316. * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
  52317. implementation.
  52318. * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
  52319. * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
  52320. * debug/memset_chk.c (__memset_chk): Likewise.
  52321. * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
  52322. * debug/strncpy_chk.c: Likewise.
  52323. 2013-12-03 Joseph Myers <joseph@codesourcery.com>
  52324. [BZ #15268]
  52325. [BZ #15425]
  52326. * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
  52327. (__ieee754_exp): For possibly underflowing results, check size of
  52328. result and force underflow exception if required.
  52329. * math/auto-libm-test-in: Add more tests of exp.
  52330. * math/auto-libm-test-out: Regenerated.
  52331. * sysdeps/i386/fpu/libm-test-ulps: Update.
  52332. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  52333. [BZ #16283]
  52334. * math/w_exp2.c (__exp2): Handle a zero result as underflow.
  52335. * math/w_exp2f.c (__exp2f): Likewise.
  52336. * math/w_exp2l.c (__exp2l): Likewise.
  52337. * math/auto-libm-test-in: Do not allow missing errno on exp2
  52338. underflow.
  52339. * math/auto-libm-test-out: Regenerated.
  52340. 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
  52341. [BZ #16274]
  52342. * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
  52343. handle filename validation.
  52344. * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
  52345. (do_open): Delete.
  52346. 2013-12-03 Joseph Myers <joseph@codesourcery.com>
  52347. [BZ #6786]
  52348. * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
  52349. (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
  52350. * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
  52351. <float.h>.
  52352. (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
  52353. * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
  52354. (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
  52355. * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
  52356. (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
  52357. * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
  52358. (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
  52359. * math/auto-libm-test-in: Don't allow missing errno from erfc.
  52360. Add more erfc tests.
  52361. * math/auto-libm-test-out: Regenerated.
  52362. * sysdeps/i386/fpu/libm-test-ulps: Update.
  52363. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  52364. * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
  52365. exp2, expm1, j0 and j1.
  52366. * math/auto-libm-test-out: Regenerated.
  52367. * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
  52368. (erfc_test_data): Likewise.
  52369. (exp_test_data): Likewise.
  52370. (exp_tonearest_test_data): Likewise.
  52371. (exp_towardzero_test_data): Likewise.
  52372. (exp_downward_test_data): Likewise.
  52373. (exp_upward_test_data): Likewise.
  52374. (exp10_test_data): Likewise.
  52375. (exp2_test_data): Likewise.
  52376. (expm1_test_data): Likewise.
  52377. (j0_test_data): Likewise.
  52378. (j1_test_data): Likewise.
  52379. * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
  52380. (input_flag_type): Add flag_xfail_rounding.
  52381. (input_flags): Add xfail-rounding.
  52382. (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
  52383. (output_for_one_input_case): Handle flag_xfail_rounding.
  52384. * sysdeps/i386/fpu/libm-test-ulps: Update.
  52385. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  52386. 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
  52387. [BZ #16289]
  52388. * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
  52389. division by 0.
  52390. 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
  52391. [BZ #16195]
  52392. * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
  52393. (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
  52394. (STAP_PROBE0): New macro.
  52395. (STAP_PROBE1): Likewise.
  52396. (STAP_PROBE2): Likewise.
  52397. (STAP_PROBE3): Likewise.
  52398. (STAP_PROBE4): Likewise.
  52399. 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
  52400. * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
  52401. 2013-12-02 Steve Ellcey <sellcey@mips.com>
  52402. * benchtests/Makefile (bench): Add sqrt.
  52403. (LDLIBS-bench-sqrt): New.
  52404. * benchtests/sqrt-input: New.
  52405. 2013-12-02 Pavel Simerda <psimerda@redhat.com>
  52406. * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
  52407. (GAIH_EAI): Likewise.
  52408. (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
  52409. (gaih_inet): Likewise.
  52410. (getaddrinfo): Don't use GAIH_EAI.
  52411. * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
  52412. (struct gaih): Remove definition.
  52413. 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
  52414. * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
  52415. Use HERRNOP directly.
  52416. 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  52417. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  52418. 2013-11-30 Joseph Myers <joseph@codesourcery.com>
  52419. * math/gen-auto-libm-tests.c (test_functions): Add more
  52420. single-argument functions.
  52421. (special_fill_pi_2): New function.
  52422. (special_fill_minus_pi_2): Likewise.
  52423. (special_fill_pi_6): Likewise.
  52424. (special_fill_minus_pi_6): Likewise.
  52425. (special_fill_pi_3): Likewise.
  52426. (special_fill_2pi_3): Likewise.
  52427. (special_fill_e): Likewise.
  52428. (special_fill_1_e): Likewise.
  52429. (special_fill_e_minus_1): Likewise.
  52430. (special_real_inputs): Add more special inputs.
  52431. (output_for_one_input_case): Do not require ERANGE on underflow to
  52432. zero if round-to-nearest result does not underflow to zero, unless
  52433. exact results required.
  52434. * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
  52435. atan, atanh, cbrt, cos and cosh.
  52436. * math/auto-libm-test-out: Regenerated.
  52437. * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
  52438. (acos_tonearest_test_data): Likewise.
  52439. (acos_towardzero_test_data): Likewise.
  52440. (acos_downward_test_data): Likewise.
  52441. (acos_upward_test_data): Likewise.
  52442. (acosh_test_data): Likewise.
  52443. (asin_test_data): Likewise.
  52444. (asin_tonearest_test_data): Likewise.
  52445. (asin_towardzero_test_data): Likewise.
  52446. (asin_upward_test_data): Likewise.
  52447. (asinh_test_data): Likewise.
  52448. (atan_test_data): Likewise.
  52449. (atanh_test_data): Likewise.
  52450. (cbrt_test_data): Likewise.
  52451. (cos_test_data): Likewise.
  52452. (cos_tonearest_test_data): Likewise.
  52453. (cos_towardzero_test_data): Likewise.
  52454. (cos_downward_test_data): Likewise.
  52455. (cos_upward_test_data): Likewise.
  52456. (cosh_test_data): Likewise.
  52457. (cosh_tonearest_test_data): Likewise.
  52458. (cosh_towardzero_test_data): Likewise.
  52459. (cosh_downward_test_data): Likewise.
  52460. (cosh_upward_test_data): Likewise.
  52461. * sysdeps/i386/fpu/libm-test-ulps: Update.
  52462. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  52463. 2013-11-29 Joseph Myers <joseph@codesourcery.com>
  52464. [BZ #6787]
  52465. * math/w_exp10.c (__exp10): Handle a zero result as underflow.
  52466. * math/w_exp10f.c (__exp10f): Likewise.
  52467. * math/w_exp10l.c (__exp10l): Likewise.
  52468. * math/libm-test.inc (exp10_test_data): Add more tests and expect
  52469. errno settings in existing tests.
  52470. [BZ #14032]
  52471. * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
  52472. precision control set to double precision.
  52473. * sysdeps/i386/fpu/w_sqrt.c: New file.
  52474. * math/auto-libm-test-in: Add more tests.
  52475. * math/auto-libm-test-out: Update.
  52476. * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
  52477. (sqrt_test_tonearest): New function.
  52478. (sqrt_towardzero_test_data): New variable.
  52479. (sqrt_test_towardzero): New function.
  52480. (sqrt_downward_test_data): New variable.
  52481. (sqrt_test_downward): New function.
  52482. (sqrt_upward_test_data): New variable.
  52483. (sqrt_test_upward): New function.
  52484. (main): Call the new functions.
  52485. * math/gen-auto-libm-tests.c: New file.
  52486. * math/auto-libm-test-in: Likewise.
  52487. * math/auto-libm-test-out: New generated file.
  52488. * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
  52489. variables.
  52490. (%beautify): Add generated representations of zero.
  52491. (top level): Set $auto_input and call parse_auto_input.
  52492. (beautify): Remove trailing "f" from hex float constants.
  52493. (parse_args): Handle XFAIL_TEST.
  52494. (convert_condition): New function.
  52495. (or_value): Likewise.
  52496. (or_cond_value): Likewise.
  52497. (generate_testfile): Handle AUTO_TESTS_* lines.
  52498. (parse_auto_input): New function.
  52499. * math/libm-test.inc (XFAIL_TEST): New macro.
  52500. (ERRNO_UNCHANGED): Update value.
  52501. (ERRNO_EDOM): Likewise.
  52502. (ERRNO_ERANGE): Likewise.
  52503. (IGNORE_RESULT): Likewise.
  52504. (TEST_COND_flt_32): New macro.
  52505. (TEST_COND_dbl_64): Likewise.
  52506. (TEST_COND_ldbl_96_intel): Likewise.
  52507. (TEST_COND_ldbl_96_m68k): Likewise.
  52508. (TEST_COND_ldbl_128): Likewise.
  52509. (TEST_COND_ldbl_128ibm): Likewise.
  52510. (TEST_COND_long32): Likewise.
  52511. (TEST_COND_long64): Likewise.
  52512. (TEST_COND_before_rounding): Likewise.
  52513. (TEST_COND_after_rounding): Likewise.
  52514. (enable_test): Handle XFAIL_TEST flag.
  52515. (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
  52516. with finite results.
  52517. * math/Makefile ($(objpfx)libm-test.stmp): Depend on
  52518. auto-libm-test-out.
  52519. 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
  52520. Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  52521. [BZ #16214]
  52522. * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
  52523. __tls_get_addr_internal instead of __tls_get_offset in order to
  52524. avoid GOT pointer dependency. Make rtld export
  52525. __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
  52526. __tls_get_addr since we are a __tls_get_offset platform.
  52527. * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
  52528. GOT pointer being set up before.
  52529. * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
  52530. 2013-11-28 Joseph Myers <joseph@codesourcery.com>
  52531. * manual/math.texi (Errors in Math Functions): Document accuracy
  52532. goals.
  52533. [BZ #15004]
  52534. * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
  52535. * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
  52536. * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
  52537. * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
  52538. * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
  52539. * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
  52540. * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
  52541. * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
  52542. * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
  52543. * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
  52544. * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
  52545. * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
  52546. * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
  52547. * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
  52548. * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
  52549. * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
  52550. * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
  52551. * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
  52552. * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
  52553. * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
  52554. * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
  52555. Likewise.
  52556. * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
  52557. Likewise.
  52558. * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
  52559. Likewise.
  52560. * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
  52561. * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
  52562. (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
  52563. atomic-feupdateenv and flt-rounds.
  52564. * sysdeps/powerpc/nofpu/Versions (libc): Add
  52565. __atomic_feholdexcept, __atomic_feclearexcept,
  52566. __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
  52567. * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
  52568. (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
  52569. * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
  52570. (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
  52571. here.
  52572. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
  52573. Update.
  52574. * manual/arith.texi (FP Exceptions): Document that exceptions may
  52575. not be raised when matherr is used.
  52576. (Math Error Reporting): Document overflow in directed rounding
  52577. modes. Document that errno may not be set when finite values are
  52578. returned on overflow. Document intent to set errno on underflow
  52579. only for underflow to zero.
  52580. [BZ #16271]
  52581. * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
  52582. round-to-nearest then adjust result for other rounding modes.
  52583. * include/fenv.h (fegetround): Use libm_hidden_proto.
  52584. * math/fegetround.c (fegetround): Use libm_hidden_def.
  52585. * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
  52586. * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
  52587. * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
  52588. * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
  52589. Likewise.
  52590. * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
  52591. * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
  52592. * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
  52593. * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
  52594. 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
  52595. [BZ #16077]
  52596. * nss/Versions (libnss_files): Add
  52597. _nss_files_gethostbyname3_r.
  52598. * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
  52599. New function.
  52600. (HOST_DB_LOOKUP): Remove macro.
  52601. (_nss_files_gethostbyname_r): Implement function without the
  52602. HOST_DB_LOOKUP macro.
  52603. (_nss_files_gethostbyname2_r): Likewise.
  52604. 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
  52605. * malloc/malloc.c (__libc_calloc): Make memset a tail call.
  52606. 2013-11-26 Uroš Bizjak <ubizjak@gmail.com>
  52607. * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
  52608. _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
  52609. warning.
  52610. 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  52611. * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
  52612. __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
  52613. * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
  52614. * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
  52615. * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
  52616. __fe_nomask_env_priv and attribute_hidden.
  52617. * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
  52618. (libc_feupdateenv_test_ppc): Likewise.
  52619. (libc_feresetround_ppc): Likewise.
  52620. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
  52621. (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
  52622. compat_symbol macro.
  52623. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
  52624. (__fe_nomask_env): Likewise.
  52625. * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
  52626. 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
  52627. * string/Makefile: Remove ifunc tests.
  52628. * string/test-string.h: Define TEST_IFUNC.
  52629. * string/test-bcopy-ifunc.c: Remove.
  52630. * string/test-bzero-ifunc.c: Likewise.
  52631. * string/test-memccpy-ifunc.c: Likewise.
  52632. * string/test-memchr-ifunc.c: Likewise.
  52633. * string/test-memcmp-ifunc.c: Likewise.
  52634. * string/test-memcpy-ifunc.c: Likewise.
  52635. * string/test-memmem-ifunc.c: Likewise.
  52636. * string/test-memmove-ifunc.c: Likewise.
  52637. * string/test-mempcpy-ifunc.c: Likewise.
  52638. * string/test-memrchr-ifunc.c: Likewise.
  52639. * string/test-memset-ifunc.c: Likewise.
  52640. * string/test-rawmemchr-ifunc.c: Likewise.
  52641. * string/test-stpcpy-ifunc.c: Likewise.
  52642. * string/test-stpncpy-ifunc.c: Likewise.
  52643. * string/test-strcasecmp-ifunc.c: Likewise.
  52644. * string/test-strcasestr-ifunc.c: Likewise.
  52645. * string/test-strcat-ifunc.c: Likewise.
  52646. * string/test-strchr-ifunc.c: Likewise.
  52647. * string/test-strchrnul-ifunc.c: Likewise.
  52648. * string/test-strcmp-ifunc.c: Likewise.
  52649. * string/test-strcpy-ifunc.c: Likewise.
  52650. * string/test-strcspn-ifunc.c: Likewise.
  52651. * string/test-strlen-ifunc.c: Likewise.
  52652. * string/test-strncasecmp-ifunc.c: Likewise.
  52653. * string/test-strncat-ifunc.c: Likewise.
  52654. * string/test-strncmp-ifunc.c: Likewise.
  52655. * string/test-strncpy-ifunc.c: Likewise.
  52656. * string/test-strnlen-ifunc.c: Likewise.
  52657. * string/test-strpbrk-ifunc.c: Likewise.
  52658. * string/test-strrchr-ifunc.c: Likewise.
  52659. * string/test-strspn-ifunc.c: Likewise.
  52660. * string/test-strstr-ifunc.c: Likewise.
  52661. 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
  52662. * benchtests/Makefile: Remove ifunc tests.
  52663. * benchtests/bench-string.h: Define TEST_IFUNC.
  52664. * benchtests/bench-bcopy-ifunc.c: Remove.
  52665. * benchtests/bench-bzero-ifunc.c: Likewise.
  52666. * benchtests/bench-memccpy-ifunc.c: Likewise.
  52667. * benchtests/bench-memchr-ifunc.c: Likewise.
  52668. * benchtests/bench-memcmp-ifunc.c: Likewise.
  52669. * benchtests/bench-memcpy-ifunc.c: Likewise.
  52670. * benchtests/bench-memmem-ifunc.c: Likewise.
  52671. * benchtests/bench-memmove-ifunc.c: Likewise.
  52672. * benchtests/bench-mempcpy-ifunc.c: Likewise.
  52673. * benchtests/bench-memrchr-ifunc.c: Likewise.
  52674. * benchtests/bench-memset-ifunc.c: Likewise.
  52675. * benchtests/bench-rawmemchr-ifunc.c: Likewise.
  52676. * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
  52677. * benchtests/bench-stpcpy-ifunc.c: Likewise.
  52678. * benchtests/bench-stpncpy-ifunc.c: Likewise.
  52679. * benchtests/bench-strcasecmp-ifunc.c: Likewise.
  52680. * benchtests/bench-strcasestr-ifunc.c: Likewise.
  52681. * benchtests/bench-strcat-ifunc.c: Likewise.
  52682. * benchtests/bench-strchr-ifunc.c: Likewise.
  52683. * benchtests/bench-strchrnul-ifunc.c: Likewise.
  52684. * benchtests/bench-strcmp-ifunc.c: Likewise.
  52685. * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
  52686. * benchtests/bench-strcpy-ifunc.c: Likewise.
  52687. * benchtests/bench-strcspn-ifunc.c: Likewise.
  52688. * benchtests/bench-strlen-ifunc.c: Likewise.
  52689. * benchtests/bench-strncasecmp-ifunc.c: Likewise.
  52690. * benchtests/bench-strncat-ifunc.c: Likewise.
  52691. * benchtests/bench-strncmp-ifunc.c: Likewise.
  52692. * benchtests/bench-strncpy-ifunc.c: Likewise.
  52693. * benchtests/bench-strnlen-ifunc.c: Likewise.
  52694. * benchtests/bench-strpbrk-ifunc.c: Likewise.
  52695. * benchtests/bench-strrchr-ifunc.c: Likewise.
  52696. * benchtests/bench-strsep-ifunc.c: Likewise.
  52697. * benchtests/bench-strspn-ifunc.c: Likewise.
  52698. * benchtests/bench-strstr-ifunc.c: Likewise.
  52699. 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
  52700. * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
  52701. 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
  52702. * resolv/netdb.h: Use __glibc_reserved instead __unused.
  52703. * rt/aio.h: Likewise.
  52704. * sysdeps/gnu/bits/utmp.h: Likewise.
  52705. * sysdeps/gnu/bits/utmpx.h: Likewise.
  52706. * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
  52707. * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
  52708. * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
  52709. * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
  52710. * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
  52711. * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
  52712. * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
  52713. * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
  52714. * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
  52715. * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
  52716. * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
  52717. * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
  52718. * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
  52719. * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
  52720. * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
  52721. * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
  52722. * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
  52723. * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
  52724. * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
  52725. * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
  52726. * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
  52727. * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
  52728. * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
  52729. * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
  52730. * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
  52731. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
  52732. * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
  52733. * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
  52734. * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
  52735. * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
  52736. * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
  52737. * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
  52738. * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
  52739. * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
  52740. * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
  52741. * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
  52742. * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
  52743. * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
  52744. * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
  52745. * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
  52746. * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
  52747. * sysdeps/x86/fpu/bits/fenv.h: Likewise.
  52748. 2013-11-25 Carlos O'Donell <carlos@redhat.com>
  52749. [BZ #16245]
  52750. * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
  52751. Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
  52752. 2013-11-25 Joseph Myers <joseph@codesourcery.com>
  52753. * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
  52754. * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
  52755. Likewise.
  52756. 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  52757. * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
  52758. SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
  52759. * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
  52760. (__fesetround): Remove define.
  52761. * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
  52762. rounding and exceptions handling.
  52763. * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
  52764. * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
  52765. (__fe_nomask_env): Likewise.
  52766. * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
  52767. __fegetround instead of fegetround.
  52768. * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
  52769. * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
  52770. 2013-11-21 Roland McGrath <roland@hack.frob.com>
  52771. * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
  52772. it's there.
  52773. * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
  52774. 2013-11-21 Meador Inge <meadori@codesourcery.com>
  52775. [BZ #11157]
  52776. * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
  52777. (encrypt_r): Likewise.
  52778. * malloc/obstack.h (obstack_free): Likewise.
  52779. * posix/unistd.h (encrypt): Likewise.
  52780. 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
  52781. * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
  52782. DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
  52783. DL_CALL_DT_FINI() that call the functions directly.
  52784. * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
  52785. * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
  52786. * elf/dl-fini.c: Likewise.
  52787. 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
  52788. * malloc/hooks.c (memalign_check): Add alignment rounding.
  52789. * malloc/malloc.c (_mid_memalign): New function.
  52790. (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
  52791. Implement by calling _mid_memalign.
  52792. * manual/probes.texi (Memory Allocation Probes): Remove
  52793. memory_valloc_retry and memory_pvalloc_retry.
  52794. 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
  52795. * locale/programs/locarchive.c (open_archive): Add const
  52796. qualifier to ARCHIVEFNAME and copy default fname to
  52797. DEFAULT_FNAME.
  52798. [BZ #15601]
  52799. * libio/tst-widetext.input: Rename Oriya to Odia.
  52800. * locale/iso-639.def: Likewise.
  52801. * manual/probes.texi (Mathematical Function Probes): Add
  52802. documentation for sin, cos, asin and acos probes.
  52803. * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
  52804. (__sin32): Add slowasin probe.
  52805. (__cos32): Add slowacos probe.
  52806. (__mpsin): Add slowsin probe.
  52807. (__mpcos): Add slowcos probe.
  52808. 2013-11-19 Joseph Myers <joseph@codesourcery.com>
  52809. [BZ #15483]
  52810. * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
  52811. thread-local __sim_exceptions_thread and global
  52812. __sim_exceptions_global.
  52813. (__sim_disabled_exceptions): Change to thread-local
  52814. __sim_disabled_exceptions_thread and global
  52815. __sim_disabled_exceptions_global.
  52816. (__sim_round_mode): Change to thread-local __sim_round_mode_thread
  52817. and global __sim_round_mode_global.
  52818. (__simulate_exceptions): Use thread-local floating-point state and
  52819. set global state from it as needed.
  52820. * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
  52821. __sim_exceptions_thread, __sim_disabled_exceptions_thread and
  52822. __sim_round_mode_thread.
  52823. * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
  52824. (__sim_exceptions): Change to thread-local __sim_exceptions_thread
  52825. and global __sim_exceptions_global.
  52826. (__sim_disabled_exceptions): Change to thread-local
  52827. __sim_disabled_exceptions_thread and global
  52828. __sim_disabled_exceptions_global.
  52829. (__sim_round_mode): Change to thread-local __sim_round_mode_thread
  52830. and global __sim_round_mode_global.
  52831. [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
  52832. (SIM_SET_GLOBAL): Likewise.
  52833. * sysdeps/powerpc/soft-fp/sfp-machine.h
  52834. [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
  52835. __sim_round_mode_thread.
  52836. [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
  52837. __sim_disabled_exceptions_thread.
  52838. (__sim_exceptions): Change to __sim_exceptions_thread.
  52839. (__sim_disabled_exceptions): Change to
  52840. __sim_disabled_exceptions_thread.
  52841. (__sim_round_mode): Change to __sim_round_mode_thread.
  52842. * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
  52843. thread-local floating-point state and set global state from it as
  52844. needed.
  52845. * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
  52846. * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
  52847. (__sim_disabled_exceptions): Remove extern declaration.
  52848. (feenableexcept): Use thread-local floating-point state and set
  52849. global state from it as needed.
  52850. * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
  52851. extern declaration.
  52852. (__sim_disabled_exceptions): Likewise.
  52853. (__sim_round_mode): Likewise.
  52854. (__fegetenv): Use thread-local floating-point state.
  52855. * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
  52856. * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
  52857. * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
  52858. floating-point state and set global state from it as needed.
  52859. * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
  52860. * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
  52861. * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
  52862. Likewise.
  52863. * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
  52864. * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
  52865. Likewise.
  52866. sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
  52867. * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
  52868. Use __sim_round_mode_thread.
  52869. * math/test-fenv-tls.c: New file.
  52870. * math/Makefile (tests): Add test-fenv-tls.
  52871. ($(objpfx)test-fenv-tls): Depend on
  52872. $(common-objpfx)nptl/libpthread.so.
  52873. 2013-11-19 Andreas Schwab <schwab@suse.de>
  52874. * locale/programs/locale.c (show_info): Decode wordarray elements.
  52875. * locale/categories.def (LC_MONETARY): Add element for
  52876. _NL_MONETARY_CRNCYSTR.
  52877. * locale/C-monetary.c (conversion_rate): New variable.
  52878. (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
  52879. element.
  52880. 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
  52881. * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
  52882. Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
  52883. 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
  52884. * elf/Makefile (tst-auxv): New test.
  52885. * elf/tst-auxv.c: New
  52886. * elf/rtld.c (dl_main): Adjust AT_EXECFN
  52887. 2013-11-18 Joseph Myers <joseph@codesourcery.com>
  52888. * include/libc-symbols.h (__hidden_proto): Add argument "thread".
  52889. (hidden_proto): Caller changed.
  52890. (hidden_tls_proto): New macro.
  52891. (libc_hidden_tls_proto): Likewise.
  52892. (rtld_hidden_tls_proto): Likewise.
  52893. (libm_hidden_tls_proto): Likewise.
  52894. (libresolv_hidden_tls_proto): Likewise.
  52895. (librt_hidden_tls_proto): Likewise.
  52896. (libdl_hidden_tls_proto): Likewise.
  52897. (libnss_files_hidden_tls_proto): Likewise.
  52898. (libnsl_hidden_tls_proto): Likewise.
  52899. (libnss_nisplus_hidden_tls_proto): Likewise.
  52900. (libutil_hidden_tls_proto): Likewise.
  52901. 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
  52902. [BZ #10253]
  52903. * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
  52904. (decompose_rpath): Defer expansion to fillin_rpath.
  52905. (_dl_init_paths): Pass linkmap to fillin_rpath.
  52906. 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
  52907. * benchtests/Makefile: Add strsep.
  52908. * benchtests/bench-strsep.c: New file: strsep benchtest.
  52909. * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
  52910. 2013-11-18 Andreas Schwab <schwab@suse.de>
  52911. * locale/programs/locale.c (show_info) [case byte]: Check for
  52912. '\377' instead of '\177'.
  52913. * locale/C-monetary.c (not_available): Always use "\377".
  52914. * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
  52915. unspecified p_sign_posn and n_sign_posn. Check for '\377' to
  52916. detect unavailable sign_posn locale elements.
  52917. * locale/localeconv.c (__localeconv): For grouping and
  52918. mon_grouping handle "\177" and "\377" like no grouping.
  52919. (INT_ELEM): New macro. Use it to set all numeric members.
  52920. * locale/programs/ld-monetary.c (monetary_read)
  52921. <tok_mon_grouping>: Normalize single -1 to the empty string.
  52922. * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
  52923. Likewise.
  52924. 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
  52925. [BZ #16055]
  52926. * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
  52927. when we match (nil).
  52928. * stdio-common/tst-sscanf.c (struct test): Add testcase.
  52929. 2013-11-16 Joseph Myers <joseph@codesourcery.com>
  52930. * math/libm-test.inc (TEST_NAN_SIGN): New macro.
  52931. (NO_TEST_INLINE): Update value.
  52932. (ERRNO_UNCHANGED): Likewise.
  52933. (ERRNO_EDOM): Likewise.
  52934. (ERRNO_ERANGE): Likewise.
  52935. (IGNORE_RESULT): Likewise.
  52936. (check_float_internal): Check signs of NaN results if
  52937. TEST_NAN_SIGN used.
  52938. (check_complex): Pass TEST_NAN_SIGN flag through to second
  52939. check_float_internal call.
  52940. (copysign_test_data): Add tests with quiet NaNs as second
  52941. argument. Use TEST_NAN_SIGN.
  52942. (fabs_test_data): Add test of negative quiet NaN argument. Use
  52943. TEST_NAN_SIGN.
  52944. (signbit_test_data): Add tests of quiet NaN argument.
  52945. * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
  52946. * math/gen-libm-test.pl (show_exceptions): Take extra argument
  52947. $ignore_result.
  52948. (parse_args): Handle function results specified as IGNORE.
  52949. * math/libm-test.inc (IGNORE_RESULT): New macro.
  52950. (check_float_internal): Do not check numerical result if flag
  52951. IGNORE_RESULT set.
  52952. (check_complex): Pass through IGNORE_RESULT to second
  52953. check_float_internal call.
  52954. (check_int): Do not check numerical result if flag IGNORE_RESULT
  52955. set.
  52956. (check_long): Likewise.
  52957. (check_bool): Likewise.
  52958. (check_longlong): Likewise.
  52959. (lrint_test_data): Add tests of infinite and NaN arguments.
  52960. (lrint_tonearest_test_data): Likewise.
  52961. (lrint_towardzero_test_data): Likewise.
  52962. (lrint_downward_test_data): Likewise.
  52963. (lrint_upward_test_data): Likewise.
  52964. (llrint_test_data): Likewise.
  52965. (llrint_tonearest_test_data): Likewise.
  52966. (llrint_towardzero_test_data): Likewise.
  52967. (llrint_downward_test_data): Likewise.
  52968. (llrint_upward_test_data): Likewise.
  52969. (lround_test_data): Likewise.
  52970. (llround_test_data): Likewise.
  52971. * math/libm-test.inc (NO_TEST_INLINE): New macro.
  52972. (ERRNO_UNCHANGED): Update value.
  52973. (ERRNO_EDOM): Likewise.
  52974. (ERRNO_ERANGE): Likewise.
  52975. (NO_TEST_INLINE_FLOAT): New macro.
  52976. (NO_TEST_INLINE_DOUBLE): Likewise.
  52977. (enable_test): New function.
  52978. (RUN_TEST_f_f): Check enable_test before running test.
  52979. (RUN_TEST_2_f): Likewise.
  52980. (RUN_TEST_fff_f): Likewise.
  52981. (RUN_TEST_c_f): Likewise.
  52982. (RUN_TEST_f_f1): Likewise.
  52983. (RUN_TEST_fF_f1): Likewise.
  52984. (RUN_TEST_fI_f1): Likewise.
  52985. (RUN_TEST_ffI_f1): Likewise.
  52986. (RUN_TEST_c_c): Likewise.
  52987. (RUN_TEST_cc_c): Likewise.
  52988. (RUN_TEST_f_i): Likewise.
  52989. (RUN_TEST_f_i_tg): Likewise.
  52990. (RUN_TEST_ff_i_tg): Likewise.
  52991. (RUN_TEST_f_b): Likewise.
  52992. (RUN_TEST_f_b_tg): Likewise.
  52993. (RUN_TEST_f_l): Likewise.
  52994. (RUN_TEST_f_L): Likewise.
  52995. (RUN_TEST_fFF_11): Likewise.
  52996. (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
  52997. conditionals.
  52998. (cosh_test_data): Likewise.
  52999. (exp_test_data): Likewise.
  53000. (expm1_test_data): Likewise.
  53001. (hypot_test_data): Likewise.
  53002. (pow_test_data): Likewise.
  53003. (sinh_test_data): Likewise.
  53004. (tanh_test_data): Likewise.
  53005. * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
  53006. flags argument.
  53007. * libm-test.inc (acos_test_data): Disallow inexact exceptions for
  53008. tests with quiet NaN input and output.
  53009. (acosh_test_data): Likewise.
  53010. (asin_test_data): Likewise.
  53011. (asinh_test_data): Likewise.
  53012. (atan_test_data): Likewise.
  53013. (atanh_test_data): Likewise.
  53014. (atan2_test_data): Likewise.
  53015. (cbrt_test_data): Likewise.
  53016. (cos_test_data): Likewise.
  53017. (cosh_test_data): Likewise.
  53018. (erf_test_data): Likewise.
  53019. (erfc_test_data): Likewise.
  53020. (exp_test_data): Likewise.
  53021. (exp10_test_data): Likewise.
  53022. (exp2_test_data): Likewise.
  53023. (expm1_test_data): Likewise.
  53024. (hypot_test_data): Likewise.
  53025. (j0_test_data): Likewise.
  53026. (j1_test_data): Likewise.
  53027. (jn_test_data): Likewise.
  53028. (lgamma_test_data): Likewise.
  53029. (log_test_data): Likewise.
  53030. (log10_test_data): Likewise.
  53031. (log1p_test_data): Likewise.
  53032. (log2_test_data): Likewise.
  53033. (pow_test_data): Likewise.
  53034. (scalb_test_data): Likewise.
  53035. (sin_test_data): Likewise.
  53036. (sincos_test_data): Likewise.
  53037. (sinh_test_data): Likewise.
  53038. (tan_test_data): Likewise.
  53039. (tanh_test_data): Likewise.
  53040. (tgamma_test_data): Likewise.
  53041. (y0_test_data): Likewise.
  53042. (y1_test_data): Likewise.
  53043. (yn_test_data): Likewise.
  53044. [BZ #16167]
  53045. * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
  53046. argument being NaN and avoid computations with second argument in
  53047. that case.
  53048. * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
  53049. * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
  53050. * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
  53051. 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
  53052. * locale/iso-639.def: Add Chitwani Tharu (the).
  53053. 2013-11-14 Andreas Schwab <schwab@suse.de>
  53054. * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
  53055. word instead of empty string.
  53056. 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  53057. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
  53058. (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
  53059. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
  53060. (__fe_nomask_env): Likewise.
  53061. 2013-11-13 Steve Ellcey <sellcey@mips.com>
  53062. * benchtests/bench-timing.h: Include time.h.
  53063. 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
  53064. [BZ #15997]
  53065. * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
  53066. to 3.4.0 for x32.
  53067. * sysdeps/unix/sysv/linux/configure: Regenerated.
  53068. 2013-11-13 Joseph Myers <joseph@codesourcery.com>
  53069. [BZ #16151]
  53070. * stdlib/strtod_l.c (round_and_return): Do not consider
  53071. retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
  53072. exponent one less than half the least subnormal exponent.
  53073. * stdlib/test-strtod-round-data: Add more tests.
  53074. * stdlib/tst-strtod-round.c (tests): Regenerated.
  53075. 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  53076. [BZ #14143]
  53077. * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
  53078. (__fe_mask_env): Likewise.
  53079. * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
  53080. libm_hidden_proto and add function prototype.
  53081. (__fe_mask_env): Add function prototype.
  53082. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
  53083. (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
  53084. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
  53085. (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
  53086. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
  53087. (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
  53088. 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
  53089. * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
  53090. set reference_name to "" to avoid passing NULL to DSO_FILENAME.
  53091. 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
  53092. * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
  53093. of htab_find_slot().
  53094. 2013-11-11 David S. Miller <davem@davemloft.net>
  53095. [BZ #16150]
  53096. * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
  53097. symbol in the non-vis3 case in static builds.
  53098. * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
  53099. * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
  53100. * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
  53101. * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
  53102. 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
  53103. [BZ #387]
  53104. * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
  53105. it is empty.
  53106. 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  53107. * benchtests/Makefile: Add bench-strtod.
  53108. * benchtests/bench-strtod.c: New file: strtod benchtest
  53109. 2013-11-11 Andreas Schwab <schwab@suse.de>
  53110. [BZ #16153]
  53111. * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
  53112. terminating NUL in key length.
  53113. 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  53114. * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
  53115. Add artificial ODP entry for vDSO symbol for PPC64.
  53116. * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
  53117. * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
  53118. 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
  53119. [BZ #15374]
  53120. * nss/getent.c (services_keys): Recognize services starting with digit.
  53121. 2013-11-06 David S. Miller <davem@davemloft.net>
  53122. [BZ #15985]
  53123. * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
  53124. on pre-v9 cpus, use a fnegs+fmovs sequence instead.
  53125. 2013-11-06 Will Newton <will.newton@linaro.org>
  53126. * manual/memory.texi (Malloc Examples): Remove register
  53127. keyword from examples.
  53128. 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
  53129. * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
  53130. 2013-11-04 Joseph Myers <joseph@codesourcery.com>
  53131. [BZ #6981]
  53132. * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
  53133. depending on [__GCC_IEC_559 > 0].
  53134. [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
  53135. depending on [__GCC_IEC_559_COMPLEX > 0].
  53136. 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
  53137. * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
  53138. to iso-639.def.
  53139. 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
  53140. * elf/rtld.c: Remove unused NONTLS_INIT_TP.
  53141. 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
  53142. [BZ #16112]
  53143. * malloc/malloc (malloc_info): Do not handle first bin as
  53144. special case.
  53145. 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
  53146. * locale/iso-639.def: Add Central Nahuatl (nhn).
  53147. 2013-11-01 Bruno Haible <bruno@clisp.org>
  53148. [BZ #7003]
  53149. * manual/math.texi (BSD Random): Specify range upper bound as
  53150. in POSIX.
  53151. 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
  53152. * locale/iso-639.def: Add Meadow Mari (mhr).
  53153. 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
  53154. [BZ #14752], [BZ #15763]
  53155. * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
  53156. Validate name.
  53157. * rt/tst_shm.c: Add test for escaping directory.
  53158. 2013-10-31 Andreas Schwab <schwab@suse.de>
  53159. [BZ #15917]
  53160. * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
  53161. followed by 'x' as part of digit sequence.
  53162. * stdio-common/tst-sscanf.c (double_tests2): New tests.
  53163. 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
  53164. [BZ #16037]
  53165. * configure.ac: allow GNU Make 4.0 and greater.
  53166. * configure: Regenerated.
  53167. 2013-10-30 Will Newton <will.newton@linaro.org>
  53168. [BZ #16038]
  53169. * malloc/hooks.c (memalign_check): Limit alignment to the
  53170. maximum representable power of two.
  53171. * malloc/malloc.c (__libc_memalign): Likewise.
  53172. * malloc/tst-memalign.c (do_test): Add test for very
  53173. large alignment values.
  53174. * malloc/tst-posix_memalign.c (do_test): Likewise.
  53175. 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
  53176. [BZ #11087]
  53177. * malloc/malloc.c (sysmalloc): Compute statistics atomically.
  53178. (munmap_chunk): Likewise.
  53179. (mremap_chunk): Likewise.
  53180. 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
  53181. [BZ #15799]
  53182. * stdlib/div.c (div): Remove obsolete code.
  53183. * stdlib/ldiv.c (ldiv): Likewise.
  53184. * stdlib/lldiv.c (lldiv): Likewise.
  53185. 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
  53186. [BZ #16071]
  53187. * nss/nss_files/files-XXX.c (get_contents_ret): New
  53188. enumerator.
  53189. (get_contents): New function.
  53190. (internal_getent): Use it. Expand size of LINEBUFLEN.
  53191. 2013-10-30 Mike Frysinger <vapier@gentoo.org>
  53192. * configure.in: Moved to ...
  53193. * configure.ac: ... here. Change reference to configure.in
  53194. to configure.ac.
  53195. * sysdeps/arm/preconfigure.ac: ... here.
  53196. configure.in to configure.ac.
  53197. * sysdeps/gnu/configure.in: Moved to ...
  53198. * sysdeps/gnu/configure.ac: ... here.
  53199. * sysdeps/i386/configure.in: Moved to ...
  53200. * sysdeps/i386/configure.ac: ... here.
  53201. * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
  53202. * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
  53203. * sysdeps/mach/configure.in: Moved to ...
  53204. * sysdeps/mach/configure.ac: ... here.
  53205. * sysdeps/mach/hurd/configure.in: Moved to ...
  53206. * sysdeps/mach/hurd/configure.ac: ... here.
  53207. * sysdeps/powerpc/configure.in: Moved to ...
  53208. * sysdeps/powerpc/configure.ac: ... here.
  53209. * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
  53210. * sysdeps/powerpc/powerpc32/configure.ac: ... here.
  53211. * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
  53212. * sysdeps/powerpc/powerpc64/configure.ac: ... here.
  53213. * sysdeps/s390/s390-32/configure.in: Moved to ...
  53214. * sysdeps/s390/s390-32/configure.ac: ... here.
  53215. * sysdeps/s390/s390-64/configure.in: Moved to ...
  53216. * sysdeps/s390/s390-64/configure.ac: ... here.
  53217. * sysdeps/sh/configure.in: Moved to ...
  53218. * sysdeps/sh/configure.ac: ... here.
  53219. * sysdeps/sparc/configure.in: Moved to ...
  53220. * sysdeps/sparc/configure.ac: ... here.
  53221. * sysdeps/unix/sysv/linux/configure.in: Moved to ...
  53222. * sysdeps/unix/sysv/linux/configure.ac: ... here.
  53223. * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
  53224. * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
  53225. * sysdeps/x86_64/configure.in: Moved to ...
  53226. * sysdeps/x86_64/configure.ac: ... here.
  53227. * sysdeps/x86_64/preconfigure.in: Moved to ...
  53228. * sysdeps/x86_64/preconfigure.ac: ... here.
  53229. * aclocal.m4: Change reference to configure.in to configure.ac.
  53230. * config.h.in: Likewise.
  53231. * manual/install.texi: Likewise.
  53232. * manual/maint.texi: Likewise.
  53233. * Makefile: Likewise.
  53234. * malloc/Makefile: Likewise.
  53235. * nscd/Makefile: Likewise.
  53236. * Makeconfig: Change reference to configure.in and
  53237. preconfigure.in to configure.ac and preconfigure.ac
  53238. respectively.
  53239. * INSTALL: Regenerated.
  53240. * configure: Likewise.
  53241. * sysdeps/gnu/configure: Likewise.
  53242. * sysdeps/i386/configure: Likewise.
  53243. * sysdeps/ieee754/ldbl-opt/configure: Likewise.
  53244. * sysdeps/mach/configure: Likewise.
  53245. * sysdeps/mach/hurd/configure: Likewise.
  53246. * sysdeps/powerpc/configure: Likewise.
  53247. * sysdeps/powerpc/powerpc32/configure: Likewise.
  53248. * sysdeps/powerpc/powerpc64/configure: Likewise.
  53249. * sysdeps/s390/s390-32/configure: Likewise.
  53250. * sysdeps/s390/s390-64/configure: Likewise.
  53251. * sysdeps/sh/configure: Likewise.
  53252. * sysdeps/sparc/configure: Likewise.
  53253. * sysdeps/unix/sysv/linux/configure: Likewise.
  53254. * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
  53255. * sysdeps/x86_64/configure: Likewise.
  53256. * sysdeps/x86_64/preconfigure: Likewise.
  53257. 2013-10-29 Andreas Schwab <schwab@suse.de>
  53258. * stdio-common/Makefile (tst-swscanf-ENV): Define.
  53259. 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
  53260. * benchtests/pow-inputs: Add new inputs.
  53261. * benchtests/exp-inputs: Add new inputs.
  53262. * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
  53263. conditional check for return value.
  53264. (__cos32): Likewise.
  53265. 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  53266. * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
  53267. to provide a boost for large inputs with word alignment.
  53268. * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
  53269. implementation based on optimized PPC64 strcpy.
  53270. * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
  53271. strcpy for PPC64/POWER7 based on both doubleword and word load/store.
  53272. * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
  53273. stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
  53274. 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
  53275. [BZ #2801]
  53276. * manual/socket.texi (Host Names): Fix gethostbyname_r example.
  53277. 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
  53278. [BZ #14876]
  53279. * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
  53280. * time/tst-strptime.c (day_tests): Add testcase.
  53281. 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
  53282. [BZ #14029]
  53283. * manual/pattern.texi: Acknowledge that fnmatch can fail.
  53284. 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
  53285. [BZ #16074]
  53286. * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
  53287. MAP_FAILED on error.
  53288. 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
  53289. [BZ #16072]
  53290. * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
  53291. heap for large requests.
  53292. 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
  53293. [BZ #9954]
  53294. * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
  53295. result if the result has no associated interface.
  53296. * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
  53297. interface for all 127.X.Y.Z addresses.
  53298. 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
  53299. * locale/iso-639.def: Add Ligurian (lij)
  53300. 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
  53301. [BZ #15825]
  53302. * sunrpc/rpc_main.c: Document rpcgen -5.
  53303. 2013-10-19 Michael Stahl <mstahl@redhat.com>
  53304. * elf/rtld.c (do_preload): Print the reason why preloading failed.
  53305. 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
  53306. [BZ #10278]
  53307. * posix/glob.c: Match only directories when trailing slash is present.
  53308. * posix/tst-gnuglob.c (my_opendir): Do not open files.
  53309. (main): Add testcase.
  53310. 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
  53311. [BZ #15670]
  53312. * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
  53313. 2013-10-18 Carlos O'Donell <carlos@redhat.com>
  53314. * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
  53315. AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
  53316. AUTH_DES and cindex for FIPS 140-2.
  53317. (DES Encryption): Add cindex FIPS 46-3.
  53318. * locale/locarchive.h (struct locarhandle): Add fname.
  53319. * locale/programs/localedef.c (main): Pass ARGV[remaining]
  53320. if an optional argument was specified to --list-archive,
  53321. otherwise NULL.
  53322. * locale/programs/locarchive.c (show_archive_content): Take new
  53323. argument fname and pass it via ah.fname to open_archive.
  53324. * locale/programs/localedef.h: Update decl.
  53325. (open_archive): If AH->fname is non-null, open that file
  53326. rather than the default file name, and don't ignore ENOENT.
  53327. (create_archive): Set AH.fname to NULL.
  53328. (delete_locales_from_archive): Likewise.
  53329. (add_locales_to_archive): Likewise.
  53330. * locale/programs/locfile.c (write_all_categories): Likewise.
  53331. 2013-10-18 Joseph Myers <joseph@codesourcery.com>
  53332. Aldy Hernandez <aldyh@redhat.com>
  53333. * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
  53334. * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
  53335. * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
  53336. * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
  53337. * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
  53338. * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
  53339. * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
  53340. * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
  53341. * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
  53342. * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
  53343. * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
  53344. * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
  53345. * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
  53346. * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
  53347. * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
  53348. Likewise.
  53349. * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
  53350. Likewise.
  53351. * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
  53352. Likewise.
  53353. * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
  53354. Likewise.
  53355. * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
  53356. * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
  53357. Likewise.
  53358. * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
  53359. * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
  53360. * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
  53361. * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
  53362. Likewise.
  53363. * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
  53364. * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
  53365. * sysdeps/powerpc/preconfigure: Likewise.
  53366. * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
  53367. Likewise.
  53368. * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
  53369. Replace contents of file by #include of <fenv_libc.h>.
  53370. * sysdeps/powerpc/soft-fp/sfp-machine.h
  53371. [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
  53372. and <sys/prctl.h>.
  53373. [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
  53374. [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
  53375. [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
  53376. [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
  53377. [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
  53378. [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
  53379. [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
  53380. [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
  53381. [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
  53382. [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
  53383. [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
  53384. [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
  53385. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
  53386. Allow copysignl PLT reference to be missing.
  53387. 2013-10-18 Richard Sandiford <richard@codesourcery.com>
  53388. Joseph Myers <joseph@codesourcery.com>
  53389. [BZ #15948]
  53390. * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
  53391. single character.
  53392. (add_to_tablewc): Assert sequence of wide characters is nonempty.
  53393. 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
  53394. * elf/tst-tls-dlinfo.c: Don't include tls.h.
  53395. * elf/tst-tls1.c: Likewise.
  53396. * elf/tst-tls10.h: Likewise.
  53397. * elf/tst-tls14.c: Likewise.
  53398. * elf/tst-tls2.c: Likewise.
  53399. * elf/tst-tls3.c: Likewise.
  53400. * elf/tst-tls4.c: Likewise.
  53401. * elf/tst-tls5.c: Likewise.
  53402. * elf/tst-tls6.c: Likewise.
  53403. * elf/tst-tls7.c: Likewise.
  53404. * elf/tst-tls8.c: Likewise.
  53405. * elf/tst-tls9.c: Likewise.
  53406. * elf/tst-tlsmod1.c: Likewise.
  53407. * elf/tst-tlsmod13.c: Likewise.
  53408. * elf/tst-tlsmod13a.c: Likewise.
  53409. * elf/tst-tlsmod14a.c: Likewise.
  53410. * elf/tst-tlsmod16a.c: Likewise.
  53411. * elf/tst-tlsmod16b.c: Likewise.
  53412. * elf/tst-tlsmod2.c: Likewise.
  53413. * elf/tst-tlsmod3.c: Likewise.
  53414. * elf/tst-tlsmod4.c: Likewise.
  53415. * elf/tst-tlsmod5.c: Likewise.
  53416. * elf/tst-tlsmod6.c: Likewise.
  53417. 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
  53418. [BZ #12486]
  53419. * malloc/malloc.c: remove checks for statistics.
  53420. 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
  53421. [BZ #15277]
  53422. * inet/inet_net.c (inet_network): Detect additional invalid strings.
  53423. * inet/tst-network.c: Add testcase.
  53424. 2013-10-17 Andreas Schwab <schwab@suse.de>
  53425. [BZ #15218]
  53426. * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
  53427. to determine canonical name.
  53428. 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
  53429. * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
  53430. * sysdeps/ieee754/dbl-64/dla.h: Likewise.
  53431. * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
  53432. * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
  53433. * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
  53434. * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
  53435. * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
  53436. * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
  53437. * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
  53438. * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
  53439. * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
  53440. * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
  53441. * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
  53442. * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
  53443. * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
  53444. * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
  53445. * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
  53446. * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
  53447. * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
  53448. * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
  53449. * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
  53450. * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
  53451. * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
  53452. * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
  53453. * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
  53454. * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
  53455. * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
  53456. * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
  53457. * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
  53458. * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
  53459. * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
  53460. * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
  53461. * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
  53462. * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
  53463. * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
  53464. * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
  53465. * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
  53466. * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
  53467. * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
  53468. * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
  53469. * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
  53470. * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
  53471. * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
  53472. * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
  53473. * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
  53474. * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
  53475. * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
  53476. * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
  53477. * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
  53478. * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
  53479. * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
  53480. * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
  53481. * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
  53482. * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
  53483. * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
  53484. * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
  53485. * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
  53486. * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
  53487. 2013-10-17 Joseph Myers <joseph@codesourcery.com>
  53488. [BZ #16041]
  53489. * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
  53490. make result into a quiet NaN.
  53491. 2013-10-16 Joseph Myers <joseph@codesourcery.com>
  53492. * soft-fp/adddf3.c: Fix horizontal whitespace.
  53493. * soft-fp/addsf3.c: Likewise.
  53494. * soft-fp/addtf3.c: Likewise.
  53495. * soft-fp/divdf3.c: Likewise.
  53496. * soft-fp/divsf3.c: Likewise.
  53497. * soft-fp/divtf3.c: Likewise.
  53498. * soft-fp/double.h: Likewise.
  53499. * soft-fp/eqdf2.c: Likewise.
  53500. * soft-fp/eqsf2.c: Likewise.
  53501. * soft-fp/eqtf2.c: Likewise.
  53502. * soft-fp/extenddftf2.c: Likewise.
  53503. * soft-fp/extended.h: Likewise.
  53504. * soft-fp/extendsfdf2.c: Likewise.
  53505. * soft-fp/extendsftf2.c: Likewise.
  53506. * soft-fp/extendxftf2.c: Likewise.
  53507. * soft-fp/fixdfdi.c: Likewise.
  53508. * soft-fp/fixdfsi.c: Likewise.
  53509. * soft-fp/fixdfti.c: Likewise.
  53510. * soft-fp/fixsfdi.c: Likewise.
  53511. * soft-fp/fixsfsi.c: Likewise.
  53512. * soft-fp/fixsfti.c: Likewise.
  53513. * soft-fp/fixtfdi.c: Likewise.
  53514. * soft-fp/fixtfsi.c: Likewise.
  53515. * soft-fp/fixtfti.c: Likewise.
  53516. * soft-fp/fixunsdfdi.c: Likewise.
  53517. * soft-fp/fixunsdfsi.c: Likewise.
  53518. * soft-fp/fixunsdfti.c: Likewise.
  53519. * soft-fp/fixunssfdi.c: Likewise.
  53520. * soft-fp/fixunssfsi.c: Likewise.
  53521. * soft-fp/fixunssfti.c: Likewise.
  53522. * soft-fp/fixunstfdi.c: Likewise.
  53523. * soft-fp/fixunstfsi.c: Likewise.
  53524. * soft-fp/fixunstfti.c: Likewise.
  53525. * soft-fp/floatdidf.c: Likewise.
  53526. * soft-fp/floatdisf.c: Likewise.
  53527. * soft-fp/floatditf.c: Likewise.
  53528. * soft-fp/floatsidf.c: Likewise.
  53529. * soft-fp/floatsisf.c: Likewise.
  53530. * soft-fp/floatsitf.c: Likewise.
  53531. * soft-fp/floattidf.c: Likewise.
  53532. * soft-fp/floattisf.c: Likewise.
  53533. * soft-fp/floattitf.c: Likewise.
  53534. * soft-fp/floatundidf.c: Likewise.
  53535. * soft-fp/floatundisf.c: Likewise.
  53536. * soft-fp/floatunditf.c: Likewise.
  53537. * soft-fp/floatunsidf.c: Likewise.
  53538. * soft-fp/floatunsisf.c: Likewise.
  53539. * soft-fp/floatunsitf.c: Likewise.
  53540. * soft-fp/floatuntidf.c: Likewise.
  53541. * soft-fp/floatuntisf.c: Likewise.
  53542. * soft-fp/floatuntitf.c: Likewise.
  53543. * soft-fp/fmadf4.c: Likewise.
  53544. * soft-fp/fmasf4.c: Likewise.
  53545. * soft-fp/fmatf4.c: Likewise.
  53546. * soft-fp/gedf2.c: Likewise.
  53547. * soft-fp/gesf2.c: Likewise.
  53548. * soft-fp/getf2.c: Likewise.
  53549. * soft-fp/ledf2.c: Likewise.
  53550. * soft-fp/lesf2.c: Likewise.
  53551. * soft-fp/letf2.c: Likewise.
  53552. * soft-fp/muldf3.c: Likewise.
  53553. * soft-fp/mulsf3.c: Likewise.
  53554. * soft-fp/multf3.c: Likewise.
  53555. * soft-fp/negdf2.c: Likewise.
  53556. * soft-fp/negsf2.c: Likewise.
  53557. * soft-fp/negtf2.c: Likewise.
  53558. * soft-fp/op-1.h: Likewise.
  53559. * soft-fp/op-2.h: Likewise.
  53560. * soft-fp/op-4.h: Likewise.
  53561. * soft-fp/op-8.h: Likewise.
  53562. * soft-fp/op-common.h: Likewise.
  53563. * soft-fp/quad.h: Likewise.
  53564. * soft-fp/single.h: Likewise.
  53565. * soft-fp/soft-fp.h: Likewise.
  53566. * soft-fp/sqrtdf2.c: Likewise.
  53567. * soft-fp/sqrtsf2.c: Likewise.
  53568. * soft-fp/sqrttf2.c: Likewise.
  53569. * soft-fp/subdf3.c: Likewise.
  53570. * soft-fp/subsf3.c: Likewise.
  53571. * soft-fp/subtf3.c: Likewise.
  53572. * soft-fp/truncdfsf2.c: Likewise.
  53573. * soft-fp/trunctfdf2.c: Likewise.
  53574. * soft-fp/trunctfsf2.c: Likewise.
  53575. * soft-fp/trunctfxf2.c: Likewise.
  53576. * soft-fp/unorddf2.c: Likewise.
  53577. * soft-fp/unordsf2.c: Likewise.
  53578. * soft-fp/unordtf2.c: Likewise.
  53579. 2013-10-15 Joseph Myers <joseph@codesourcery.com>
  53580. * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
  53581. * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
  53582. 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
  53583. * elf/dl-libc.c: Clear initfini list after freeing.
  53584. 2013-10-14 Joseph Myers <joseph@codesourcery.com>
  53585. * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
  53586. * soft-fp/addsf3.c: Likewise.
  53587. * soft-fp/addtf3.c: Likewise.
  53588. * soft-fp/divdf3.c: Likewise.
  53589. * soft-fp/divsf3.c: Likewise.
  53590. * soft-fp/divtf3.c: Likewise.
  53591. * soft-fp/double.h: Likewise.
  53592. * soft-fp/eqdf2.c: Likewise.
  53593. * soft-fp/eqsf2.c: Likewise.
  53594. * soft-fp/eqtf2.c: Likewise.
  53595. * soft-fp/extenddftf2.c: Likewise.
  53596. * soft-fp/extended.h: Likewise.
  53597. * soft-fp/extendsfdf2.c: Likewise.
  53598. * soft-fp/extendsftf2.c: Likewise.
  53599. * soft-fp/extendxftf2.c: Likewise.
  53600. * soft-fp/fixdfdi.c: Likewise.
  53601. * soft-fp/fixdfsi.c: Likewise.
  53602. * soft-fp/fixdfti.c: Likewise.
  53603. * soft-fp/fixsfdi.c: Likewise.
  53604. * soft-fp/fixsfsi.c: Likewise.
  53605. * soft-fp/fixsfti.c: Likewise.
  53606. * soft-fp/fixtfdi.c: Likewise.
  53607. * soft-fp/fixtfsi.c: Likewise.
  53608. * soft-fp/fixtfti.c: Likewise.
  53609. * soft-fp/fixunsdfdi.c: Likewise.
  53610. * soft-fp/fixunsdfsi.c: Likewise.
  53611. * soft-fp/fixunsdfti.c: Likewise.
  53612. * soft-fp/fixunssfdi.c: Likewise.
  53613. * soft-fp/fixunssfsi.c: Likewise.
  53614. * soft-fp/fixunssfti.c: Likewise.
  53615. * soft-fp/fixunstfdi.c: Likewise.
  53616. * soft-fp/fixunstfsi.c: Likewise.
  53617. * soft-fp/fixunstfti.c: Likewise.
  53618. * soft-fp/floatdidf.c: Likewise.
  53619. * soft-fp/floatdisf.c: Likewise.
  53620. * soft-fp/floatditf.c: Likewise.
  53621. * soft-fp/floatsidf.c: Likewise.
  53622. * soft-fp/floatsisf.c: Likewise.
  53623. * soft-fp/floatsitf.c: Likewise.
  53624. * soft-fp/floattidf.c: Likewise.
  53625. * soft-fp/floattisf.c: Likewise.
  53626. * soft-fp/floattitf.c: Likewise.
  53627. * soft-fp/floatundidf.c: Likewise.
  53628. * soft-fp/floatundisf.c: Likewise.
  53629. * soft-fp/floatunsidf.c: Likewise.
  53630. * soft-fp/floatunsisf.c: Likewise.
  53631. * soft-fp/floatuntidf.c: Likewise.
  53632. * soft-fp/floatuntisf.c: Likewise.
  53633. * soft-fp/floatuntitf.c: Likewise.
  53634. * soft-fp/fmadf4.c: Likewise.
  53635. * soft-fp/fmasf4.c: Likewise.
  53636. * soft-fp/fmatf4.c: Likewise.
  53637. * soft-fp/gedf2.c: Likewise.
  53638. * soft-fp/gesf2.c: Likewise.
  53639. * soft-fp/getf2.c: Likewise.
  53640. * soft-fp/ledf2.c: Likewise.
  53641. * soft-fp/lesf2.c: Likewise.
  53642. * soft-fp/letf2.c: Likewise.
  53643. * soft-fp/muldf3.c: Likewise.
  53644. * soft-fp/mulsf3.c: Likewise.
  53645. * soft-fp/multf3.c: Likewise.
  53646. * soft-fp/negdf2.c: Likewise.
  53647. * soft-fp/negsf2.c: Likewise.
  53648. * soft-fp/negtf2.c: Likewise.
  53649. * soft-fp/op-1.h: Likewise.
  53650. * soft-fp/op-2.h: Likewise.
  53651. * soft-fp/op-4.h: Likewise.
  53652. * soft-fp/op-8.h: Likewise.
  53653. * soft-fp/op-common.h: Likewise.
  53654. * soft-fp/quad.h: Likewise.
  53655. * soft-fp/single.h: Likewise.
  53656. * soft-fp/soft-fp.h: Likewise.
  53657. * soft-fp/sqrtdf2.c: Likewise.
  53658. * soft-fp/sqrtsf2.c: Likewise.
  53659. * soft-fp/sqrttf2.c: Likewise.
  53660. * soft-fp/subdf3.c: Likewise.
  53661. * soft-fp/subsf3.c: Likewise.
  53662. * soft-fp/subtf3.c: Likewise.
  53663. * soft-fp/truncdfsf2.c: Likewise.
  53664. * soft-fp/trunctfdf2.c: Likewise.
  53665. * soft-fp/trunctfsf2.c: Likewise.
  53666. * soft-fp/trunctfxf2.c: Likewise.
  53667. * soft-fp/unorddf2.c: Likewise.
  53668. * soft-fp/unordsf2.c: Likewise.
  53669. * soft-fp/unordtf2.c: Likewise.
  53670. 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
  53671. [BZ #15672]
  53672. * misc/error.c (error_tail): Fix possible buffer overflow.
  53673. 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
  53674. [BZ #13028]
  53675. * res_send.c(__libc_res_nsend): Correctly copy the nameserver
  53676. address.
  53677. 2013-10-14 P. J. McDermott <pj@pehjota.net>
  53678. [BZ #832]
  53679. * elf/ldd.bash.in (try_trace): New function. Delete previous code
  53680. testing pipefail option.
  53681. 2013-10-12 Joseph Myers <joseph@codesourcery.com>
  53682. * soft-fp/double.h: Indent preprocessor directives inside #if.
  53683. * soft-fp/extended.h: Likewise.
  53684. * soft-fp/op-2.h: Likewise.
  53685. * soft-fp/op-4.h: Likewise.
  53686. * soft-fp/op-common.h: Likewise.
  53687. * soft-fp/quad.h: Likewise.
  53688. * soft-fp/single.h: Likewise.
  53689. * soft-fp/soft-fp.h: Likewise.
  53690. 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
  53691. * iconv/iconv_prog.c: Fix typos.
  53692. * stdio-common/psiginfo-data.h: Likewise.
  53693. 2013-10-12 Reuben Thomas <rrt@sc3d.org>
  53694. [BZ #15764]
  53695. * locale/setlocale.c: Fix typo.
  53696. 2013-10-12 Joseph Myers <joseph@codesourcery.com>
  53697. [BZ #16036]
  53698. * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
  53699. signaling NaN arguments.
  53700. * soft-fp/unordsf2.c (__unordsf2): Likewise.
  53701. * soft-fp/unordtf2.c (__unordtf2): Likewise.
  53702. [BZ #14910]
  53703. * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
  53704. unordered operands.
  53705. * soft-fp/gesf2.c (__gesf2): Likewise.
  53706. * soft-fp/getf2.c (__getf2): Likewise.
  53707. * soft-fp/ledf2.c (__ledf2): Likewise.
  53708. * soft-fp/lesf2.c (__lesf2): Likewise.
  53709. * soft-fp/letf2.c (__letf2): Likewise.
  53710. * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
  53711. * soft-fp/eqsf2.c (__eqsf2): Likewise.
  53712. * soft-fp/eqtf2.c (__eqtf2): Likewise.
  53713. * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
  53714. * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
  53715. * soft-fp/fixdfti.c (__fixdfti): Likewise.
  53716. * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
  53717. * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
  53718. * soft-fp/fixsfti.c (__fixsfti): Likewise.
  53719. * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
  53720. * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
  53721. * soft-fp/fixtfti.c (__fixtfti): Likewise.
  53722. * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
  53723. * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
  53724. * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
  53725. * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
  53726. * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
  53727. * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
  53728. * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
  53729. * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
  53730. * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
  53731. * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
  53732. * soft-fp/floatdisf.c (__floatdisf): Likewise.
  53733. * soft-fp/floatsisf.c (__floatsisf): Likewise.
  53734. * soft-fp/floattidf.c (__floattidf): Likewise.
  53735. * soft-fp/floattisf.c (__floattisf): Likewise.
  53736. * soft-fp/floattitf.c (__floattitf): Likewise.
  53737. * soft-fp/floatundidf.c (__floatundidf): Likewise.
  53738. * soft-fp/floatundisf.c (__floatundisf): Likewise.
  53739. * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
  53740. * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
  53741. * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
  53742. * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
  53743. * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
  53744. * soft-fp/gesf2.c (__gesf2): Likewise.
  53745. * soft-fp/getf2.c (__getf2): Likewise.
  53746. * soft-fp/ledf2.c (__ledf2): Likewise.
  53747. * soft-fp/lesf2.c (__lesf2): Likewise.
  53748. * soft-fp/letf2.c (__letf2): Likewise.
  53749. * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
  53750. Undefine and redefine.
  53751. [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
  53752. [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
  53753. [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
  53754. * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
  53755. (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
  53756. * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
  53757. (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
  53758. * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
  53759. (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
  53760. * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
  53761. (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
  53762. * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
  53763. (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
  53764. * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
  53765. (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
  53766. [BZ #16032]
  53767. * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
  53768. without decrementing exponent if mantissa >= that for the
  53769. denominator, not >.
  53770. (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
  53771. denominator, not >. Decrement exponent in < case instead of
  53772. incrementing in >= case.
  53773. * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
  53774. without decrementing exponent if mantissa >= that for the
  53775. denominator, not >.
  53776. * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
  53777. computing saturated result for unsigned overflow.
  53778. 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
  53779. Jeff Law <law@redhat.com>
  53780. * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
  53781. (atan2Mp): Add systemtap probe marker.
  53782. * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
  53783. (__ieee754_log): Add systemtap probe marker.
  53784. * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
  53785. (atanMp): Add systemtap probe marker.
  53786. * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
  53787. (tanMp): Add systemtap probe marker.
  53788. * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
  53789. (__slowexp): Add systemtap probe marker.
  53790. * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
  53791. (__slowpow): Add systemtap probe marker.
  53792. * manual/probes.texi: Document probes.
  53793. 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
  53794. [BZ #15362]
  53795. * libio/fileops.c (_IO_new_file_write): Return count of bytes
  53796. written.
  53797. (_IO_new_file_xsputn): Don't return EOF if nothing has been
  53798. written.
  53799. * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
  53800. written to buffer but not flushed.
  53801. * libio/iofwrite_u.c: Likewise.
  53802. * libio/iopadn.c: Return bytes returned even if EOF was
  53803. encountered.
  53804. * libio/iowpadn.c: Likewise.
  53805. * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
  53806. if _IO_padn does not write the whole buffer.
  53807. [!COMPILE_WPRINTF] (PAD): Likewise.
  53808. 2013-10-10 David S. Miller <davem@davemloft.net>
  53809. * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
  53810. directory block.
  53811. 2013-10-10 Joseph Myers <joseph@codesourcery.com>
  53812. * soft-fp/extendxftf2.c: Use copyright year range. Use URL
  53813. instead of FSF address.
  53814. * soft-fp/fixdfti.c: Likewise.
  53815. * soft-fp/fixsfti.c: Likewise.
  53816. * soft-fp/fixtfti.c: Likewise.
  53817. * soft-fp/fixunsdfti.c: Likewise.
  53818. * soft-fp/fixunssfti.c: Likewise.
  53819. * soft-fp/fixunstfti.c: Likewise.
  53820. * soft-fp/floattidf.c: Likewise.
  53821. * soft-fp/floattisf.c: Likewise.
  53822. * soft-fp/floattitf.c: Likewise.
  53823. * soft-fp/floatuntidf.c: Likewise.
  53824. * soft-fp/floatuntisf.c: Likewise.
  53825. * soft-fp/floatuntitf.c: Likewise.
  53826. * soft-fp/trunctfxf2.c: Likewise.
  53827. * soft-fp/extendxftf2.c: New file. Copied from libgcc.
  53828. * soft-fp/fixdfti.c: Likewise.
  53829. * soft-fp/fixsfti.c: Likewise.
  53830. * soft-fp/fixtfti.c: Likewise.
  53831. * soft-fp/fixunsdfti.c: Likewise.
  53832. * soft-fp/fixunssfti.c: Likewise.
  53833. * soft-fp/fixunstfti.c: Likewise.
  53834. * soft-fp/floattidf.c: Likewise.
  53835. * soft-fp/floattisf.c: Likewise.
  53836. * soft-fp/floattitf.c: Likewise.
  53837. * soft-fp/floatuntidf.c: Likewise.
  53838. * soft-fp/floatuntisf.c: Likewise.
  53839. * soft-fp/floatuntitf.c: Likewise.
  53840. * soft-fp/trunctfxf2.c: Likewise.
  53841. 2013-10-10 David S. Miller <davem@davemloft.net>
  53842. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  53843. 2013-10-10 Joseph Myers <joseph@codsourcery.com>
  53844. * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
  53845. (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
  53846. [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
  53847. [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
  53848. [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
  53849. [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
  53850. [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
  53851. * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
  53852. for NaNs before doing comparisons on argument.
  53853. * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
  53854. Likewise.
  53855. 2013-10-10 Will Newton <will.newton@linaro.org>
  53856. * malloc/hooks.c (memalign_check): Ensure the value of bytes
  53857. passed to _int_memalign does not overflow.
  53858. 2013-10-10 Torvald Riegel <triegel@redhat.com>
  53859. * scripts/bench.pl: Add include-sources directive.
  53860. * benchtests/README: Update documentation.
  53861. 2013-10-10 Joseph Myers <joseph@codesourcery.com>
  53862. * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
  53863. * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
  53864. instead of FP_INIT_ROUNDMODE.
  53865. * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
  53866. * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
  53867. [BZ #16034]
  53868. * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
  53869. copy class of input value.
  53870. * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
  53871. not handle exceptions.
  53872. * soft-fp/negsf2.c (__negsf2): Likewise.
  53873. * soft-fp/negtf2.c (__negtf2): Likewise.
  53874. * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
  53875. 2013-10-09 Joseph Myers <joseph@codesourcery.com>
  53876. * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
  53877. semicolon. From Linux kernel.
  53878. 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
  53879. * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
  53880. 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
  53881. [BZ #156]
  53882. * manual/socket.texi: Added statement about buffer
  53883. for gethostbyname2_r.
  53884. 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
  53885. * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
  53886. Use .p2align directive instead, throughout.
  53887. * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
  53888. * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
  53889. * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
  53890. * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
  53891. * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
  53892. * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
  53893. * sysdeps/x86_64/strchr.S: Likewise.
  53894. * sysdeps/x86_64/strrchr.S: Likewise.
  53895. 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
  53896. * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
  53897. * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
  53898. * sysdeps/generic/math_private.h (__mpsin1): Remove
  53899. declaration.
  53900. (__mpcos1): Likewise.
  53901. (__mpsin): New argument __range_reduce.
  53902. (__mpcos): Likewise.
  53903. * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
  53904. (slow): Use __mpsin and __mpcos.
  53905. (slow1): Likewise.
  53906. (slow2): Likewise.
  53907. (sloww): Likewise.
  53908. (sloww1): Likewise.
  53909. (sloww2): Likewise.
  53910. (bsloww): Likewise.
  53911. (bsloww1): Likewise.
  53912. (bsloww2): Likewise.
  53913. (cslow2): Likewise.
  53914. (csloww): Likewise.
  53915. (csloww1): Likewise.
  53916. (csloww2): Likewise.
  53917. * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
  53918. range_reduce. Merge in __mpsin1.
  53919. (__mpcos): Likewise.
  53920. (__mpsin1): Remove.
  53921. (__mpcos1): Likewise.
  53922. 2013-10-07 Joseph Myers <joseph@codesourcery.com>
  53923. * locale/loadlocale.c (_nl_intern_locale_data): Use
  53924. LOCFILE_ALIGNED_P.
  53925. * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
  53926. LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
  53927. * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
  53928. obstack data is appropriately aligned.
  53929. (obstack_int32_grow_fast): Likewise.
  53930. * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
  53931. * locale/programs/locfile.c (add_locale_uint32): Likewise.
  53932. (add_locale_uint32_array): Likewise.
  53933. 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
  53934. * benchtests/Makefile: Remove ARGLIST and RET variables.
  53935. ($(objpfx)bench-%.c): Pass only function name to the script.
  53936. * benchtests/README: Update documentation.
  53937. * benchtests/acos-inputs: Add new directives.
  53938. * benchtests/acosh-inputs: Likewise.
  53939. * benchtests/asin-inputs: Likewise.
  53940. * benchtests/asinh-inputs: Likewise.
  53941. * benchtests/atan-inputs: Likewise.
  53942. * benchtests/atanh-inputs: Likewise.
  53943. * benchtests/cos-inputs: Likewise.
  53944. * benchtests/cosh-inputs: Likewise.
  53945. * benchtests/exp-inputs: Likewise.
  53946. * benchtests/log-inputs: Likewise.
  53947. * benchtests/pow-inputs: Likewise.
  53948. * benchtests/rint-inputs: Likewise.
  53949. * benchtests/sin-inputs: Likewise.
  53950. * benchtests/sinh-inputs: Likewise.
  53951. * benchtests/tan-inputs: Likewise.
  53952. * benchtests/tanh-inputs: Likewise.
  53953. * scripts/bench.pl: Add support for new directives.
  53954. 2013-10-07 Alan Modra <amodra@gmail.com>
  53955. * README: Fix careless merge.
  53956. 2013-10-05 Alan Modra <amodra@gmail.com>
  53957. * NEWS: Mention powerpc64le support and bugs fixed.
  53958. * README: Both big-endian and little-endian powerpc64 supported.
  53959. 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
  53960. * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
  53961. (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
  53962. (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
  53963. _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
  53964. 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
  53965. * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
  53966. match prototype.
  53967. 2013-10-04 Joseph Myers <joseph@codesourcery.com>
  53968. * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
  53969. Move -mhard-float appending from
  53970. ports/sysdeps/powerpc/powerpc32/Makefile.
  53971. [$(with-fp) = yes] (ASFLAGS): Likewise.
  53972. [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
  53973. * sysdeps/powerpc/nofpu: Move directory from
  53974. ports/sysdeps/powerpc/nofpu.
  53975. * sysdeps/powerpc/soft-fp: Move directory from
  53976. ports/sysdeps/powerpc/soft-fp.
  53977. * sysdeps/powerpc/powerpc32/405: Move directory from
  53978. ports/sysdeps/powerpc/powerpc32/405.
  53979. * sysdeps/powerpc/powerpc32/440: Move directory from
  53980. ports/sysdeps/powerpc/powerpc32/440.
  53981. * sysdeps/powerpc/powerpc32/464: Move directory from
  53982. ports/sysdeps/powerpc/powerpc32/464.
  53983. * sysdeps/powerpc/powerpc32/476: Move directory from
  53984. ports/sysdeps/powerpc/powerpc32/476.
  53985. * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
  53986. from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
  53987. * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
  53988. from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
  53989. * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
  53990. from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
  53991. * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
  53992. from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
  53993. * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
  53994. from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
  53995. * README: Update for powerpc-*-linux-gnu software floating point
  53996. support in libc.
  53997. * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
  53998. case to powerpc/powerpc32*.
  53999. * sysdeps/unix/sysv/linux/configure: Regenerated.
  54000. * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
  54001. (_FPU_MASK_OM): Define as 0x04.
  54002. [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
  54003. [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
  54004. 0x00c10080.
  54005. [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
  54006. 0x0000003c.
  54007. [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
  54008. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
  54009. (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
  54010. getcontext_e500.
  54011. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
  54012. (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
  54013. setcontext_e500.
  54014. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
  54015. (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
  54016. and setcontext_e500.
  54017. 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
  54018. * locale/iso-3166.def: Update iso-1366.def and related occurrences
  54019. 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
  54020. * manual/threads.texi (Default Thread Attributes): Fix typo.
  54021. 2013-10-04 Will Newton <will.newton@linaro.org>
  54022. * malloc/Makefile: Add tst-memalign.
  54023. * malloc/tst-memalign.c: New file.
  54024. * malloc/tst-posix_memalign.c: Add comments.
  54025. (do_test): Add comments and call free on all potentially
  54026. allocated pointers. Add space after cast.
  54027. * malloc/tst-pvalloc.c: Add comments.
  54028. (do_test): Add comments and call free on all potentially
  54029. allocated pointers. Remove duplicate check for NULL pointer.
  54030. Add space after cast.
  54031. * malloc/tst-valloc.c: Add comments.
  54032. (do_test): Add comments and call free on all potentially
  54033. allocated pointers. Remove duplicate check for NULL pointer.
  54034. Add space after cast.
  54035. 2013-10-04 Alan Modra <amodra@gmail.com>
  54036. * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
  54037. Use stdint types in rather than __attribute__((mode())).
  54038. * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
  54039. 2013-10-04 Alan Modra <amodra@gmail.com>
  54040. * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
  54041. Correct handling of unaligned relocs for little-endian.
  54042. * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
  54043. 2013-10-04 Alan Modra <amodra@gmail.com>
  54044. * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
  54045. * configure: Regenerate.
  54046. * nptl/shlib-versions: Powerpc*le starts at 2.18.
  54047. * shlib-versions: Likewise.
  54048. 2013-10-04 Alan Modra <amodra@gmail.com>
  54049. * string/tester.c (test_memrchr): Increment reported test cycle.
  54050. 2013-10-04 Alan Modra <amodra@gmail.com>
  54051. * string/test-memcpy.c (do_one_test): When reporting errors, print
  54052. string address and don't overrun end of string.
  54053. 2013-10-04 Alan Modra <amodra@gmail.com>
  54054. * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
  54055. insrdi. Make better use of reg selection to speed exit slightly.
  54056. Schedule entry path a little better. Remove useless "are we done"
  54057. checks on entry to main loop. Handle wrapping around zero address.
  54058. Correct main loop count. Handle single left-over word from main
  54059. loop inline rather than by using loop_small. Remove extra word
  54060. case in loop_small caused by wrong loop count. Add little-endian
  54061. support.
  54062. * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
  54063. * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
  54064. cache hint.
  54065. * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
  54066. * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
  54067. support. Avoid rlwimi.
  54068. * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
  54069. 2013-10-04 Alan Modra <amodra@gmail.com>
  54070. * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
  54071. insrdi. Formatting.
  54072. * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
  54073. * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
  54074. * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
  54075. * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
  54076. * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
  54077. * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
  54078. 2013-10-04 Alan Modra <amodra@gmail.com>
  54079. * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
  54080. * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
  54081. * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
  54082. * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
  54083. * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
  54084. * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
  54085. * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
  54086. * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
  54087. * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
  54088. use of regs. Use power7 mtocrf. Tidy function tails.
  54089. 2013-10-04 Alan Modra <amodra@gmail.com>
  54090. * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
  54091. Formatting. Consistently use rXXX register defines or rN defines.
  54092. Use early exit labels that avoid restoring unused non-volatile regs.
  54093. Make cr field use more consistent with rWORDn compares. Rename
  54094. regs used as shift registers for unaligned loop, using rN defines
  54095. for short lifetime/multiple use regs.
  54096. * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
  54097. * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
  54098. addi 1,1,64 to pop stack frame. Simplify return value code.
  54099. * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
  54100. 2013-10-04 Alan Modra <amodra@gmail.com>
  54101. * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
  54102. support. Correct typos, formatting. Optimize tail. Use insrdi
  54103. rather than rlwimi.
  54104. * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
  54105. * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
  54106. little-endian support. Correct typos.
  54107. * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
  54108. rather than rlwimi.
  54109. * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
  54110. in loop and entry code to keep "and." results.
  54111. (strchr): Add little-endian support. Comment. Move cntlzd
  54112. earlier in tail.
  54113. * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
  54114. 2013-10-04 Alan Modra <amodra@gmail.com>
  54115. * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
  54116. * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
  54117. * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
  54118. * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
  54119. 2013-10-04 Alan Modra <amodra@gmail.com>
  54120. * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
  54121. (rTMP): Define as r11.
  54122. (strcmp): Add little-endian support. Optimise tail.
  54123. * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
  54124. * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
  54125. * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
  54126. * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
  54127. * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
  54128. * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
  54129. * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
  54130. 2013-10-04 Alan Modra <amodra@gmail.com>
  54131. * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
  54132. little-endian support. Remove unnecessary "are we done" tests.
  54133. Handle "s" wrapping around zero and extremely large "size".
  54134. Correct main loop count. Handle single left-over word from main
  54135. loop inline rather than by using small_loop. Correct comments.
  54136. Delete "zero" tail, use "end_max" instead.
  54137. * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
  54138. 2013-10-04 Alan Modra <amodra@gmail.com>
  54139. * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
  54140. support. Don't branch over align.
  54141. * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
  54142. * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
  54143. support. Rearrange tmp reg use to suit. Comment.
  54144. * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
  54145. 2013-10-04 Alan Modra <amodra@gmail.com>
  54146. * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
  54147. 2013-10-04 Alan Modra <amodra@gmail.com>
  54148. * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
  54149. conditional form of branch and link when obtaining pc.
  54150. * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
  54151. 2013-10-04 Alan Modra <amodra@gmail.com>
  54152. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
  54153. HIWORD/LOWORD.
  54154. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
  54155. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
  54156. 2013-10-04 Alan Modra <amodra@gmail.com>
  54157. * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
  54158. * sysdeps/powerpc/novmx-longjmp.c: Likewise.
  54159. * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
  54160. * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
  54161. * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
  54162. * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
  54163. * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
  54164. * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
  54165. * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
  54166. * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
  54167. 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
  54168. Alistair Popple <alistair@ozlabs.au.ibm.com>
  54169. Alan Modra <amodra@gmail.com>
  54170. [BZ #15723]
  54171. * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
  54172. * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
  54173. _dl_hwcap access for little-endian.
  54174. * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
  54175. destroy vmx regs when saving unaligned.
  54176. * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
  54177. * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
  54178. destroy vmx regs when saving unaligned.
  54179. 2013-10-04 Alan Modra <amodra@gmail.com>
  54180. * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
  54181. Don't use a union to pack hi/low value.
  54182. 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
  54183. * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
  54184. for little-endian.
  54185. * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
  54186. * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
  54187. * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
  54188. * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
  54189. * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
  54190. 2013-10-04 Alan Modra <amodra@gmail.com>
  54191. * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
  54192. constants to usual value for .cst8 section, and remove redundant
  54193. high address load.
  54194. * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
  54195. constant for 0x1p52. Load little-endian words of double from
  54196. correct stack offsets.
  54197. 2013-10-04 Alan Modra <amodra@gmail.com>
  54198. * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
  54199. * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
  54200. words of double from correct stack offsets.
  54201. * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
  54202. * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
  54203. * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
  54204. * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
  54205. * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
  54206. * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
  54207. * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
  54208. * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
  54209. * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
  54210. * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
  54211. * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
  54212. * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
  54213. * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
  54214. * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
  54215. * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
  54216. * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
  54217. * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
  54218. 2013-10-04 Alan Modra <amodra@gmail.com>
  54219. * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
  54220. 64-bit int/double union.
  54221. (_FPU_SETCW): Likewise.
  54222. * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
  54223. (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
  54224. 2013-10-04 Alan Modra <amodra@gmail.com>
  54225. * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
  54226. * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
  54227. 2013-10-04 Alan Modra <amodra@gmail.com>
  54228. * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
  54229. use vector int constants.
  54230. (__float_and_test24, __float_and8, __float_get_exp): Likewise.
  54231. 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
  54232. * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
  54233. array with long long.
  54234. * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
  54235. * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
  54236. * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
  54237. * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
  54238. * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
  54239. * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
  54240. * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
  54241. * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
  54242. * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
  54243. * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
  54244. * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
  54245. * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
  54246. * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
  54247. 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
  54248. * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
  54249. (__signbit): Likewise. Correct for little-endian.
  54250. (__signbitl): Call __signbit.
  54251. (lrint): Correct for little-endian.
  54252. (lrintf): Call lrint.
  54253. 2013-10-04 Alan Modra <amodra@gmail.com>
  54254. * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
  54255. union 32-bit int array member with 64-bit int array.
  54256. (t515, tm256): Double rather than long double.
  54257. (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
  54258. 2013-10-04 Alan Modra <amodra@gmail.com>
  54259. * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
  54260. Delete.
  54261. (IEEE854_LONG_DOUBLE_BIAS): Delete.
  54262. * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
  54263. version of math_ldbl.h.
  54264. 2013-10-04 Alan Modra <amodra@gmail.com>
  54265. [BZ #15734], [BZ #15735]
  54266. * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
  54267. all uses of ieee875 long double macros and unions. Simplify test
  54268. for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
  54269. ldbl_extract_mantissa value for ix,iy exponents. Properly
  54270. normalize after ldbl_extract_mantissa, and don't add hidden bit
  54271. already handled. Don't treat low word of ieee854 mantissa like
  54272. low word of IBM long double and mask off bit when testing for
  54273. zero.
  54274. * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
  54275. all uses of ieee875 long double macros and unions. Simplify tests
  54276. for 0.0L and inf. Correct double adjustment of k. Delete dead code
  54277. adjusting ha,hb. Simplify code setting kld. Delete two600 and
  54278. two1022, instead use their values. Recognise that tests for large
  54279. "a" and small "b" are mutually exclusive. Rename vars. Comment.
  54280. * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
  54281. Rewrite all uses of ieee875 long double macros and unions. Simplify
  54282. test for 0.0L and nan. Correct negation.
  54283. * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
  54284. ieee875 long double macros and unions. Correct output for large
  54285. magnitude x. Correct absolute value calculation.
  54286. (__erfcl): Likewise.
  54287. * math/libm-test.inc: Add tests for errors discovered in IBM long
  54288. double versions of fmodl, remainderl, erfl and erfcl.
  54289. 2013-10-04 Alan Modra <amodra@gmail.com>
  54290. * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
  54291. all uses of ieee854 long double macros and unions. Simplify tests
  54292. for long doubles that are fully specified by the high double.
  54293. * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
  54294. Likewise.
  54295. * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
  54296. Remove dead code too.
  54297. * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
  54298. (__ieee754_ynl): Likewise.
  54299. * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
  54300. * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
  54301. * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
  54302. Remove dead code too.
  54303. * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
  54304. * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
  54305. * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
  54306. * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
  54307. Simplify.
  54308. * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
  54309. Simplify.
  54310. * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
  54311. * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
  54312. * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
  54313. Comment on variable precision.
  54314. * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
  54315. * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
  54316. Likewise.
  54317. * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
  54318. * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
  54319. * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
  54320. * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
  54321. * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
  54322. 2013-10-04 Alan Modra <amodra@gmail.com>
  54323. * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
  54324. * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
  54325. all uses of ieee854 long double macros and unions.
  54326. * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
  54327. * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
  54328. * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
  54329. * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
  54330. * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
  54331. * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
  54332. Likewise.
  54333. * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
  54334. * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
  54335. * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
  54336. * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
  54337. * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
  54338. * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
  54339. Simplify sign and nan test too.
  54340. * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
  54341. * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
  54342. * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
  54343. * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
  54344. Likewise.
  54345. * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
  54346. * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
  54347. Likewise.
  54348. * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
  54349. * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
  54350. * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
  54351. * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
  54352. * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
  54353. * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
  54354. 2013-10-04 Alan Modra <amodra@gmail.com>
  54355. * stdio-common/printf_size.c (__printf_size): Don't use
  54356. union ieee854_long_double in fpnum union.
  54357. * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
  54358. signbit macro to retrieve sign from long double.
  54359. * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
  54360. retrieve sign from long double.
  54361. * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
  54362. * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
  54363. * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
  54364. * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
  54365. * math/test-misc.c (main): Don't use union ieee854_long_double.
  54366. 2013-10-04 Alan Modra <amodra@gmail.com>
  54367. [BZ #15680]
  54368. * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
  54369. * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
  54370. (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
  54371. calculation. Remove unnecessary test for denormal exponent.
  54372. * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
  54373. Correct handling of denormals. Avoid undefined shift behaviour.
  54374. Correct normalisation of low mantissa when low double is denormal.
  54375. * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
  54376. (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
  54377. (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
  54378. Correct normalisation of low mantissa. Test for overflow of high
  54379. mantissa and normalise.
  54380. (ldbl_nearbyint): Use more readable constant for two52.
  54381. * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
  54382. (__mpn_construct_long_double): Fix test for overflow of high
  54383. mantissa and correct normalisation. Avoid undefined shift.
  54384. 2013-10-04 Alan Modra <amodra@gmail.com>
  54385. * sysdeps/ieee754/ldbl-128ibm/ieee754.h
  54386. (union ibm_extended_long_double): Define as an array of ieee754_double.
  54387. (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
  54388. * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
  54389. to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
  54390. * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
  54391. * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
  54392. * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
  54393. * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
  54394. * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
  54395. * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
  54396. * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
  54397. * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
  54398. 2013-10-03 Joseph Myers <joseph@codesourcery.com>
  54399. * locale/programs/locarchive.c (add_locale): Use constant 4096 for
  54400. page size instead of calling getpagesize.
  54401. * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
  54402. (LOCFILE_ALIGN_MASK): Likewise.
  54403. (LOCFILE_ALIGN_UP): Likewise.
  54404. (LOCFILE_ALIGNED_P): Likewise.
  54405. * locale/programs/ld-collate.c (collate_output): Use the new
  54406. macros instead of __alignof__ (int32_t).
  54407. * locale/weight.h (findidx): Likewise.
  54408. 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
  54409. [BZ #431]
  54410. * manual/string.texi: Fix strncat and wcsncat.
  54411. 2013-10-03 Brooks Moses <bmoses@google.com>
  54412. [BZ #15915]
  54413. * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
  54414. * Makerules: ...here, and adjust associated comments.
  54415. 2013-10-02 Will Newton <will.newton@linaro.org>
  54416. * malloc/Makefile: Add tst-pvalloc.
  54417. * malloc/tst-pvalloc.c: New file.
  54418. 2013-10-02 Will Newton <will.newton@linaro.org>
  54419. * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
  54420. improve test coverage.
  54421. 2013-10-02 Will Newton <will.newton@linaro.org>
  54422. * malloc/Makefile: Add tst-posix_memalign.
  54423. * malloc/tst-posix_memalign.c: New file.
  54424. 2013-10-01 Eric Blake <eblake@redhat.com>
  54425. * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
  54426. Use __THROWNL rather than __THROW on static functions.
  54427. 2013-09-30 Petr Machata <pmachata@redhat.com>
  54428. * elf/elf.h (R_AARCH64_ABS16): New macro.
  54429. (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
  54430. (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
  54431. (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
  54432. (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
  54433. (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
  54434. (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
  54435. (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
  54436. (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
  54437. (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
  54438. (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
  54439. (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
  54440. (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
  54441. (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
  54442. (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
  54443. (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
  54444. (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
  54445. (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
  54446. (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
  54447. (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
  54448. (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
  54449. (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
  54450. (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
  54451. (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
  54452. (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
  54453. (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
  54454. (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
  54455. (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
  54456. (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
  54457. (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
  54458. (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
  54459. (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
  54460. (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
  54461. (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
  54462. (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
  54463. (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
  54464. (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
  54465. (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
  54466. (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
  54467. (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
  54468. (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
  54469. (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
  54470. (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
  54471. (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
  54472. (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
  54473. (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
  54474. (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
  54475. (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
  54476. (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
  54477. (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
  54478. (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
  54479. (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
  54480. (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
  54481. (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
  54482. (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
  54483. (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
  54484. (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
  54485. (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
  54486. (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
  54487. (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
  54488. (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
  54489. (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
  54490. (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
  54491. (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
  54492. (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
  54493. (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
  54494. (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
  54495. (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
  54496. (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
  54497. (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
  54498. (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
  54499. (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
  54500. (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
  54501. (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
  54502. (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
  54503. (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
  54504. (R_AARCH64_TLSDESC_OFF_G1): Likewise.
  54505. (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
  54506. (R_AARCH64_TLSDESC_LDR): Likewise.
  54507. (R_AARCH64_TLSDESC_ADD): Likewise.
  54508. (R_AARCH64_TLSDESC_CALL): Likewise.
  54509. 2013-09-30 Andreas Schwab <schwab@suse.de>
  54510. [BZ #15048]
  54511. * nscd/aicache.c (addhstaiX): Properly use the cache variable for
  54512. the nss database lookup.
  54513. * nscd/initgrcache.c (addinitgroupsX): Likewise.
  54514. * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
  54515. 2013-09-28 Mike Frysinger <vapier@gentoo.org>
  54516. * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
  54517. 2013-09-28 P. J. McDermott <pj@pehjota.net>
  54518. * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
  54519. ${Bash-specific parameter/pattern/string} parameter expansion.
  54520. * sysdeps/unix/make-syscalls.sh: Likewise.
  54521. 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  54522. * sysdeps/sh/stackguard-macros.h: New file.
  54523. 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
  54524. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
  54525. * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
  54526. * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
  54527. * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
  54528. * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
  54529. * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
  54530. 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  54531. * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
  54532. Fix thread ID register.
  54533. 2013-09-25 Joseph Myers <joseph@codesourcery.com>
  54534. * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
  54535. [POSIX || UNIX98]: Require rather than permitting all symbols from
  54536. <time.h>.
  54537. [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
  54538. element of struct sched_param.
  54539. [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
  54540. [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
  54541. [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
  54542. [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
  54543. constant.
  54544. 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
  54545. * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
  54546. argument calculation.
  54547. 2013-09-24 Joseph Myers <joseph@codesourcery.com>
  54548. * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
  54549. Expect macro.
  54550. [POSIX] (pthread_attr_t): Do not require type.
  54551. [POSIX] (pthread_cond_t): Likewise.
  54552. [POSIX] (pthread_condattr_t): Likewise.
  54553. [POSIX] (pthread_key_t): Likewise.
  54554. [POSIX] (pthread_mutex_t): Likewise.
  54555. [POSIX] (pthread_mutexattr_t): Likewise.
  54556. [POSIX] (pthread_once_t): Likewise.
  54557. [POSIX] (pthread_t): Likewise.
  54558. [POSIX-based standards] (pthread_atfork): Expect function.
  54559. 2013-09-24 Joseph Myers <joseph@codesourcery.com>
  54560. Richard Sandiford <richard@codesourcery.com>
  54561. * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
  54562. (swap_endianness_p): New extern variable.
  54563. (set_big_endian): New inline function.
  54564. (maybe_swap_uint32): Likewise.
  54565. (maybe_swap_uint32_array): Likewise.
  54566. (maybe_swap_uint32_obstack): Likewise.
  54567. * locale/programs/locfile.c: Include <stdbool.h>.
  54568. (swap_endianness_p): New variable.
  54569. (add_locale_uint32): Call maybe_swap_uint32.
  54570. (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
  54571. (write_locale_data): Call maybe_swap_uint32_array.
  54572. * locale/programs/ld-collate.c (obstack_int32_grow): Call
  54573. maybe_swap_uint32.
  54574. (obstack_int32_grow_fast): Likewise.
  54575. (output_weightwc): Call maybe_swap_uint32_obstack.
  54576. (collate_output): Likewise.
  54577. * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
  54578. (OPT_LITTLE_ENDIAN): Likewise.
  54579. (options): Add --little-endian and --big-endian options.
  54580. (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
  54581. * locale/programs/locarchive.c: Include "locfile.h".
  54582. (GET): New macro.
  54583. (SET): Likewise.
  54584. (INC): Likewise.
  54585. (create_archive): Use the new macros to access fields of
  54586. structures directly mapped from or written to locale archives.
  54587. (oldlocrecentcmp): Likewise.
  54588. (enlarge_archive): Likewise.
  54589. (insert_name): Likewise.
  54590. (add_alias): Likewise.
  54591. (add_locale): Likewise.
  54592. (delete_locales_from_archive): Likewise.
  54593. (show_archive_content): Likewise.
  54594. (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
  54595. locale data.
  54596. 2013-09-24 Roland McGrath <roland@hack.frob.com>
  54597. * manual/freemanuals.texi: Updated from (newly) canonical copy at
  54598. http://www.gnu.org/doc/freemanuals.texi.
  54599. * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
  54600. 2013-09-24 Will Newton <will.newton@linaro.org>
  54601. * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
  54602. macro.
  54603. 2013-09-23 Joseph Myers <joseph@codesourcery.com>
  54604. * locale/hashval.h (compute_hashval): Interpret bytes of key as
  54605. unsigned char.
  54606. 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
  54607. * manual/threads.texi (POSIX Threads): Fix a typo.
  54608. 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
  54609. [BZ #14547]
  54610. * string/tst-strcoll-overflow.c: New test case.
  54611. * string/Makefile (xtests): Add tst-strcoll-overflow.
  54612. * string/strcoll_l.c (STRCOLL): Skip allocating memory for
  54613. cache if string sizes may cause integer overflow.
  54614. [BZ #14547]
  54615. * string/strcoll_l.c (coll_seq): New members rule, idx,
  54616. save_idx and back_us.
  54617. (get_next_seq_nocache): New function.
  54618. (do_compare_nocache): New function.
  54619. (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
  54620. when malloc fails.
  54621. 2013-09-23 Carlos O'Donell <carlos@redhat.com>
  54622. [BZ #15754]
  54623. * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
  54624. __pointer_chk_guard_local, otherwise __pointer_chk_guard.
  54625. * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
  54626. [BZ #15754]
  54627. * elf/Makefile (tests): Add tst-ptrguard1.
  54628. (tests-static): Add tst-ptrguard1-static.
  54629. (tst-ptrguard1-ARGS): Define.
  54630. (tst-ptrguard1-static-ARGS): Define.
  54631. * elf/tst-ptrguard1.c: New file.
  54632. * elf/tst-ptrguard1-static.c: New file.
  54633. * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
  54634. * sysdeps/i386/stackguard-macros.h: Likewise.
  54635. * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
  54636. * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
  54637. * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
  54638. * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
  54639. * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
  54640. * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
  54641. 2013-09-23 Hector Marco <hecmargi@upv.es>
  54642. Ismael Ripoll <iripoll@disca.upv.es>
  54643. Carlos O'Donell <carlos@redhat.com>
  54644. [BZ #15754]
  54645. * sysdeps/generic/stackguard-macros.h: Define
  54646. __pointer_chk_guard_local and POINTER_CHK_GUARD.
  54647. * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
  54648. Define __pointer_chk_guard_local.
  54649. (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
  54650. Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
  54651. 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
  54652. [BZ #15859]
  54653. * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
  54654. 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
  54655. * include/string.h (__ffs): Declare as hidden.
  54656. * string/ffs.c (__ffs): Define as hidden.
  54657. * sysdeps/i386/ffs.c (__ffs): Likewise.
  54658. * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
  54659. * sysdeps/powerpc/ffs.c (__ffs): Likewise.
  54660. * sysdeps/s390/ffs.c (__ffs): Likewise.
  54661. * sysdeps/x86_64/ffs.c (__ffs): Likewise.
  54662. 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
  54663. * NEWS: Mention malloc probes.
  54664. * malloc/arena.c (new_heap): New memory_heap_new probe.
  54665. (grow_heap): New memory_heap_more probe.
  54666. (shrink_heap): New memory_heap_less probe.
  54667. (heap_trim): New memory_heap_free probe.
  54668. * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
  54669. (systrim): New memory_sbrk_less probe.
  54670. * manual/probes.texi: Document them.
  54671. * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
  54672. * manual/probes.texi: Document it.
  54673. * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
  54674. (__libc_realloc): Add memory_realloc_retry probe.
  54675. (__libc_memalign): Add memory_memalign_retry probe.
  54676. (__libc_valloc): Add memory_valloc_retry probe.
  54677. (__libc_pvalloc): Add memory_pvalloc_retry probe.
  54678. (__libc_calloc): Add memory_calloc_retry probe.
  54679. * manual/probes.texi: Document them.
  54680. * malloc/arena.c (get_free_list): Add probe
  54681. memory_arena_reuse_free_list.
  54682. (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
  54683. and memory_arena_reuse.
  54684. (arena_get2) [!PER_THREAD]: Likewise.
  54685. * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
  54686. memory_arena_reuse_realloc.
  54687. * manual/probes.texi: Document them.
  54688. * malloc/malloc.c (__libc_free): Add
  54689. memory_mallopt_free_dyn_thresholds probe.
  54690. (__libc_mallopt): Add multiple memory_mallopt probes.
  54691. * manual/probes.texi: Document them.
  54692. * malloc/malloc.c: Include stap-probe.h.
  54693. (__libc_mallopt): Add memory_mallopt probe.
  54694. * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
  54695. * manual/probes.texi: New.
  54696. * manual/Makefile (chapters): Add probes.
  54697. * manual/threads.texi: Set next node.
  54698. 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
  54699. [BZ #15963, #13985]
  54700. * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
  54701. czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
  54702. Add `Chinese' to `nan' entry name.
  54703. 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
  54704. * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
  54705. (POLYNOMIAL): Likewise.
  54706. (TAYLOR_SINCOS): Likewise.
  54707. (TAYLOR_SLOW): Likewise.
  54708. (__sin): Use TAYLOR_SINCOS.
  54709. (__cos): Likewise.
  54710. (slow): Use TAYLOR_SLOW.
  54711. (sloww): Likewise.
  54712. (bsloww): Likewise.
  54713. (csloww): Likewise.
  54714. 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
  54715. * stdlib/strtod_l.c: Fix buffer overrun.
  54716. 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
  54717. * benchtests/Makefile (bench): Add sincos.
  54718. * benchtests/bench-sincos.c: New file.
  54719. * math/libm-test.inc (cos_test_data): New test inputs.
  54720. (sin_test_data): Likewise.
  54721. * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
  54722. macro.
  54723. (__sin): Use it.
  54724. (__cos): Likewise.
  54725. (slow1): Likewise.
  54726. (slow2): Likewise.
  54727. (sloww1): Likewise.
  54728. (sloww2): Likewise.
  54729. (bsloww1): Likewise.
  54730. (bsloww2): Likewise.
  54731. (cslow2): Likewise.
  54732. (csloww1): Likewise.
  54733. (csloww2): Likewise.
  54734. * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
  54735. function.
  54736. (__sin): Use it.
  54737. (__cos): Likewise.
  54738. * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
  54739. gotos.
  54740. (__cos): Likewise.
  54741. 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
  54742. * config.h.in (HAVE_MIPS_NAN2008): New macro.
  54743. * elf/elf.h (EF_MIPS_NAN2008): Likewise.
  54744. * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
  54745. (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
  54746. (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
  54747. * elf/cache.c (print_entry): Handle the new cache flags.
  54748. 2013-09-18 Joseph Myers <joseph@codesourcery.com>
  54749. Aldy Hernandez <aldyh@redhat.com>
  54750. * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
  54751. Change condition to [_SOFT_FLOAT].
  54752. [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
  54753. [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
  54754. [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
  54755. [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
  54756. [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
  54757. [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
  54758. [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
  54759. [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
  54760. [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
  54761. [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
  54762. [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
  54763. [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
  54764. [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
  54765. [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
  54766. [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
  54767. [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
  54768. declaration.
  54769. 2013-09-18 Joseph Myers <joseph@codesourcery.com>
  54770. * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
  54771. macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
  54772. (__longjmp): Use LOAD_GP to load saved GPRs.
  54773. * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
  54774. macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
  54775. (__sigsetjmp): Use SAVE_GP to save GPRs.
  54776. * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
  54777. Do not append -msoft-float.
  54778. [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
  54779. 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
  54780. * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
  54781. 2013-09-17 Joseph Myers <joseph@codesourcery.com>
  54782. [BZ #15966]
  54783. * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
  54784. (_FPU_GETCW): Use initial "__" on variable and field names but not
  54785. on macro parameter name.
  54786. [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
  54787. parentheses around reference to macro parameter.
  54788. 2013-09-13 Richard Sandiford <richard@codesourcery.com>
  54789. * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
  54790. prototype.
  54791. (ctype_startup): Use uint32_t in cast and sizeof for
  54792. ctype->charnames.
  54793. 2013-09-11 Jia Liu <proljc@gmail.com>
  54794. * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
  54795. __daddr_t_defined.
  54796. [__FreeBSD__]: Likewise.
  54797. 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
  54798. * sysdeps/x86_64/multiarch/ifunc-impl-list.c
  54799. (__libc_ifunc_impl_list): Remove: __strchr_sse42.
  54800. * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
  54801. (strchr): Remove __strchr_sse42 ifunc selection.
  54802. * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
  54803. * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
  54804. 2013-09-11 Will Newton <will.newton@linaro.org>
  54805. * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
  54806. parameter to RES. Remove hardcoded 1000 value.
  54807. * benchtests/bench-skeleton.c (main): Pass RES parameter
  54808. to TIMING_INIT and multiply result by 1000.
  54809. 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  54810. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  54811. 2013-09-11 Andreas Schwab <schwab@suse.de>
  54812. * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
  54813. if not defined.
  54814. (O_TMPFILE) [__USE_GNU]: Define.
  54815. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
  54816. Define.
  54817. 2013-09-11 Will Newton <will.newton@linaro.org>
  54818. [BZ #15857]
  54819. * malloc/malloc.c (__libc_memalign): Check the value of bytes
  54820. does not overflow.
  54821. 2013-09-11 Will Newton <will.newton@linaro.org>
  54822. [BZ #15856]
  54823. * malloc/malloc.c (__libc_valloc): Check the value of bytes
  54824. does not overflow.
  54825. 2013-09-11 Will Newton <will.newton@linaro.org>
  54826. [BZ #15855]
  54827. * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
  54828. does not overflow.
  54829. 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
  54830. * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
  54831. * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
  54832. * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
  54833. * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
  54834. * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
  54835. 2013-09-10 Allan McRae <allan@archlinux.org>
  54836. [BZ #15748]
  54837. * manual/arith.texi (Parsing of Floats): Clarify
  54838. cross-reference.
  54839. [BZ #15849]
  54840. * manual/install.texi (Running make install): Mention
  54841. --enable-pt-chown.
  54842. * INSTALL: Regenerated.
  54843. 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
  54844. * csu/init-first.c (_init): Remove the !SHARED condition around
  54845. FPU control word initialization.
  54846. * elf/dl-support.c (_dl_fpu_control): New variable.
  54847. (_dl_aux_init) <AT_FPUCW>: Initialize it.
  54848. * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
  54849. (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
  54850. * math/test-fpucw-static.c: New file.
  54851. * math/test-fpucw-ieee.c: New file.
  54852. * math/test-fpucw-ieee-static.c: New file.
  54853. * math/Makefile (tests): Add `test-fpucw-ieee' and
  54854. `$(tests-static)'.
  54855. (tests-static): New variable.
  54856. [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
  54857. dependency to...
  54858. [($(build-shared),yes)]
  54859. ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
  54860. ... this.
  54861. [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
  54862. New dependency.
  54863. 2013-09-09 Allan McRae <allan@archlinux.org>
  54864. [BZ #15939]
  54865. * manual/string.texi (Collation Functions): Fix typo in
  54866. strcoll example.
  54867. Reported by Suren Karapetyan <me@suren.karapetyan.name>.
  54868. [BZ #15893]
  54869. * stdlib/isomac.c (get_null_defines): Fix memory leak.
  54870. [BZ #15892]
  54871. * libio/memstream.c (open_memstream): Fix memory leak.
  54872. * libio/wmemstream.c (open_wmemstream): Likewise.
  54873. [BZ #15895]
  54874. * nscd/netgroupcache.c: Fix nesting of ifdefs.
  54875. 2013-09-09 Will Newton <will.newton@linaro.org>
  54876. * malloc/Makefile: Add tst-realloc to tests.
  54877. * malloc/tst-realloc.c: New file.
  54878. 2013-09-09 Allan McRae <allan@archlinux.org>
  54879. [BZ #15844]
  54880. * COPYING: Update from GNU website to fix FSF address.
  54881. * COPYING.LIB: Likewise.
  54882. 2013-09-06 David S. Miller <davem@davemloft.net>
  54883. * po/zh_TW.po: Update Chinese (traditional) translation from
  54884. translation project.
  54885. 2013-09-06 Richard Sandiford <richard@codesourcery.com>
  54886. Joseph Myers <joseph@codesourcery.com>
  54887. * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
  54888. "localeinfo.h".
  54889. (obstack_chunk_alloc): New macro.
  54890. (obstack_chunk_free): Likewise.
  54891. (record_offset): New function.
  54892. (init_locale_data): Likewise.
  54893. (align_locale_data): Likewise.
  54894. (add_locale_empty): Likewise.
  54895. (add_locale_raw_data): Likewise.
  54896. (add_locale_raw_obstack): Likewise.
  54897. (add_locale_string): Likewise.
  54898. (add_locale_wstring): Likewise.
  54899. (add_locale_uint32): Likewise.
  54900. (add_locale_uint32_array): Likewise.
  54901. (add_locale_char): Likewise.
  54902. (start_locale_structure): Likewise.
  54903. (end_locale_structure): Likewise.
  54904. (start_locale_prelude): Likewise.
  54905. (end_locale_prelude): Likewise.
  54906. (write_locale_data): Take locale_file structure rather than an
  54907. iovec.
  54908. * locale/programs/locfile.h: Include "obstack.h".
  54909. (struct locale_file): Change to store locale file contents instead
  54910. of header.
  54911. (init_locale_data): New prototype.
  54912. (align_locale_data): Likewise.
  54913. (add_locale_empty): Likewise.
  54914. (add_locale_raw_data): Likewise.
  54915. (add_locale_raw_obstack): Likewise.
  54916. (add_locale_string): Likewise.
  54917. (add_locale_wstring): Likewise.
  54918. (add_locale_uint32): Likewise.
  54919. (add_locale_uint32_array): Likewise.
  54920. (add_locale_char): Likewise.
  54921. (start_locale_structure): Likewise.
  54922. (end_locale_structure): Likewise.
  54923. (start_locale_prelude): Likewise.
  54924. (end_locale_prelude): Likewise.
  54925. (write_locale_data): Update prototype.
  54926. * locale/programs/3level.h (struct TABLE): Remove result field.
  54927. (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
  54928. Use new locale_file interface.
  54929. [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
  54930. (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
  54931. * locale/programs/ld-address.c (address_output): Use new
  54932. locale_file interface.
  54933. * locale/programs/ld-collate.c (NO_FINALIZE): Change to
  54934. NO_ADD_LOCALE.
  54935. (collate_finish): Don't call collseq_table_finalize.
  54936. (collate_output): Use new locale_file interface.
  54937. * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
  54938. in file.
  54939. (NO_FINALIZE): Change to NO_ADD_LOCALE.
  54940. (TABLE): Move defines earlier in file.
  54941. (ELEMENT): Likewise.
  54942. (DEFAULT): Likewise.
  54943. (wctrans_table_add): Move macro and inline function earlier in
  54944. file.
  54945. (struct wctype_table): Move type earlier in file.
  54946. (add_locale_wctype_table): New static prototype.
  54947. (struct locale_ctype_t): Use logical types instead of struct iovec
  54948. pointers for members.
  54949. (ctype_output): Use new locale_file interface.
  54950. (wctype_table_finalize): Change to add_locale_wctype_table. Use
  54951. new locale_file interface.
  54952. (allocate_arrays): Update for use of new locale_file interface.
  54953. * locale/programs/ld-identification.c (identification_output): Use
  54954. new locale_file interface.
  54955. * locale/programs/ld-measurement.c (measurement_output): Likewise.
  54956. * locale/programs/ld-messages.c (messages_output): Likewise.
  54957. * locale/programs/ld-monetary.c (monetary_output): Likewise.
  54958. * locale/programs/ld-name.c (name_output): Likewise.
  54959. * locale/programs/ld-numeric.c (numeric_output): Likewise.
  54960. * locale/programs/ld-paper.c (paper_output): Likewise.
  54961. * locale/programs/ld-telephone.c (telephone_output): Likewise.
  54962. * locale/programs/ld-time.c (time_output): Likewise.
  54963. 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  54964. * benchtests/Makefile: Add memrchr benchmark.
  54965. * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
  54966. benchmark as memrchr.
  54967. * benchtests/bench-memrchr-ifunc.c: New file.
  54968. * benchtests/bench-memrchr.c: New file.
  54969. 2013-09-06 Will Newton <will.newton@linaro.org>
  54970. * benchtests/Makefile (string-bench): Add memcpy.
  54971. 2013-09-05 Carlos O'Donell <carlos@redhat.com>
  54972. Cong Wang <amwang@redhat.com>
  54973. [BZ #15850]
  54974. * sysdeps/unix/sysv/linux/bits/in.h
  54975. [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
  54976. * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
  54977. before __USE_KERNEL_IPV6_DEFS uses.
  54978. * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
  54979. IPPROTO_BEETPH.
  54980. [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
  54981. sockaddr_in6, or ipv6_mreq.
  54982. 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  54983. * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
  54984. memory access for final bytes in some large inputs.
  54985. * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
  54986. 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  54987. * string/test-memrchr.c: New file.
  54988. * string/test-memrchr-ifunc.c: New file.
  54989. * string/Makefile: Add new memrchr testcase.
  54990. 2013-09-05 Mike Frysinger <vapier@gentoo.org>
  54991. * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
  54992. fanotify_init returns EPERM.
  54993. 2013-09-04 Joseph Myers <joseph@codesourcery.com>
  54994. * conform/conformtest.pl (newtoken): Treat tokens not allowed as
  54995. errors.
  54996. (top level): Treat second token from macro or constant entries for
  54997. allowed headers as allowed.
  54998. * include/complex.h: Condition internal declarations on
  54999. [!_ISOMAC].
  55000. * include/fenv.h: Condition include of <stdbool.h> and internal
  55001. declarations on [!_ISOMAC].
  55002. 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
  55003. [BZ #15923]
  55004. * locale/iso-4217.def: Update iso-1427.def and related occurrences.
  55005. 2013-09-04 Joseph Myers <joseph@codesourcery.com>
  55006. * configure.in (--enable-versioning): Remove configure option.
  55007. (libc_cv_asm_symver_directive): Remove configure test.
  55008. (libc_cv_ld_version_script_option): Likewise.
  55009. (VERSIONING): Remove variable and AC_SUBST.
  55010. (DO_VERSIONING): Remove AC_DEFINE.
  55011. * configure: Regenerated.
  55012. * config.h.in (DO_VERSIONING): Remove macro.
  55013. * Makerules [$(versioning) = yes]: Change conditionals to
  55014. [$(build-shared) = yes].
  55015. * config.make.in (versioning): Remove variable.
  55016. * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
  55017. [$(build-shared) = yes].
  55018. * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
  55019. * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
  55020. * elf/Makefile [$(versioning) = yes]: Change conditionals to
  55021. [$(build-shared) = yes].
  55022. * extra-lib.mk [$(versioning) = yes]: Likewise.
  55023. * hurd/Makefile [$(versioning) = yes]: Likewise.
  55024. * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
  55025. [SHARED].
  55026. * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
  55027. [SHARED].
  55028. [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
  55029. [SHARED && !NO_HIDDEN].
  55030. * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
  55031. [SHARED].
  55032. [SHARED && DO_VERSIONING]: Likewise..
  55033. * libio/Makefile [$(versioning) = yes]: Change conditionals to
  55034. [$(build-shared) = yes].
  55035. * manual/install.texi (--disable-versioning): Remove
  55036. documentation.
  55037. * INSTALL: Regenerated.
  55038. * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
  55039. to [SHARED].
  55040. * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
  55041. [$(build-shared) = yes].
  55042. * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
  55043. * sysdeps/i386/i686/multiarch/strstr-c.c
  55044. [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
  55045. [SHARED && !NO_HIDDEN].
  55046. * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
  55047. [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
  55048. * sysdeps/powerpc/powerpc32/dl-machine.c
  55049. [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
  55050. * sysdeps/powerpc/powerpc32/sysdep.h
  55051. [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
  55052. to [SHARED && PIC && !NO_HIDDEN].
  55053. * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
  55054. conditional to [SHARED].
  55055. 2013-09-04 Will Newton <will.newton@linaro.org>
  55056. * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
  55057. * benchtests/bench-string.h: Include bench-timing.h instead
  55058. of including hp-timing.h directly. (INNER_LOOP_ITERS): New
  55059. define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
  55060. call to HP_TIMING_DIFF_INIT.
  55061. * benchtests/bench-memccpy.c: Use bench-timing.h macros
  55062. instead of hp-timing.h macros.
  55063. * benchtests/bench-memchr.c: Likewise.
  55064. * benchtests/bench-memcmp.c: Likewise.
  55065. * benchtests/bench-memcpy.c: Likewise.
  55066. * benchtests/bench-memmem.c: Likewise.
  55067. * benchtests/bench-memmove.c: Likewise.
  55068. * benchtests/bench-memset.c: Likewise.
  55069. * benchtests/bench-rawmemchr.c: Likewise.
  55070. * benchtests/bench-strcasecmp.c: Likewise.
  55071. * benchtests/bench-strcasestr.c: Likewise.
  55072. * benchtests/bench-strcat.c: Likewise.
  55073. * benchtests/bench-strchr.c: Likewise.
  55074. * benchtests/bench-strcmp.c: Likewise.
  55075. * benchtests/bench-strcpy.c: Likewise.
  55076. * benchtests/bench-strcpy_chk.c: Likewise.
  55077. * benchtests/bench-strlen.c: Likewise.
  55078. * benchtests/bench-strncasecmp.c: Likewise.
  55079. * benchtests/bench-strncat.c: Likewise.
  55080. * benchtests/bench-strncmp.c: Likewise.
  55081. * benchtests/bench-strncpy.c: Likewise.
  55082. * benchtests/bench-strnlen.c: Likewise.
  55083. * benchtests/bench-strpbrk.c: Likewise.
  55084. * benchtests/bench-strrchr.c: Likewise.
  55085. * benchtests/bench-strspn.c: Likewise.
  55086. * benchtests/bench-strstr.c: Likewise.
  55087. 2013-09-04 Will Newton <will.newton@linaro.org>
  55088. * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
  55089. 2013-09-03 Joseph Myers <joseph@codesourcery.com>
  55090. [BZ #15427]
  55091. * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
  55092. 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
  55093. * math/libm-test.inc (lgamma_test_data): Add more tests.
  55094. * sysdeps/i386/fpu/libm-test-ulps: Update.
  55095. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  55096. 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
  55097. * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
  55098. * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
  55099. Add ifunc.
  55100. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
  55101. Add strcmp-sse2-unaligned
  55102. * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
  55103. 2013-09-02 Mike Frysinger <vapier@gentoo.org>
  55104. * Versions.def (libc): Add GLIBC_2.19.
  55105. 2013-09-02 Mike Frysinger <vapier@gentoo.org>
  55106. * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
  55107. * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
  55108. 2013-09-02 Joseph Myers <joseph@codesourcery.com>
  55109. [BZ #14155]
  55110. * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
  55111. intermediate calculations in recurrence.
  55112. (__ieee754_ynf): Likewise.
  55113. * math/libm-test.inc (jn_test_data): Do not allow spurious
  55114. underflow exception. Add more tests.
  55115. (yn_test_data): Add more tests.
  55116. * sysdeps/i386/fpu/libm-test-ulps: Update.
  55117. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  55118. 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
  55119. * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
  55120. 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
  55121. * csu/init-first.c: Fix then/than typos.
  55122. * locale/programs/ld-collate.c: Likewise.
  55123. * locale/programs/linereader.h: Likewise.
  55124. * manual/charset.texi: Likewise.
  55125. * manual/filesys.texi: Likewise.
  55126. * manual/stdio.texi: Likewise.
  55127. * manual/string.texi: Likewise.
  55128. * stdlib/fmtmsg.c: Likewise.
  55129. * sysdeps/i386/stpncpy.S: Likewise.
  55130. * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
  55131. * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
  55132. * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
  55133. * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
  55134. 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
  55135. * elf/dl-open.c: Fix typos.
  55136. * iconvdata/gbbig5.c: Likewise.
  55137. * iconvdata/iso-2022-jp.c: Likewise.
  55138. * iconv/gconv_int.h: Likewise.
  55139. * iconv/loop.c: Likewise.
  55140. * nis/rpcsvc/nis.h: Likewise.
  55141. * resolv/ns_name.c: Likewise.
  55142. * stdio-common/vfscanf.c: Likewise.
  55143. * streams/stropts.h: Likewise.
  55144. * sunrpc/rpc_thread.c: Likewise.
  55145. * sysdeps/i386/strpbrk.S: Likewise.
  55146. * sysdeps/ieee754/k_standard.c: Likewise.
  55147. * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
  55148. * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
  55149. * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
  55150. * sysdeps/mach/hurd/profil.c: Likewise.
  55151. * sysdeps/s390/dl-procinfo.h: Likewise.
  55152. * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
  55153. * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
  55154. * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
  55155. * sysdeps/x86_64/dl-trampoline.S: Likewise.
  55156. * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
  55157. 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
  55158. * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
  55159. * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
  55160. 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
  55161. * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
  55162. aix specific files.
  55163. * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
  55164. * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
  55165. * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
  55166. * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
  55167. * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
  55168. * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
  55169. * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
  55170. * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
  55171. 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
  55172. Roland McGrath <roland@hack.frob.com>
  55173. * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
  55174. * sysdeps/mach/hurd/bits/errno.h: Regenerate.
  55175. 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
  55176. * sysdeps/mach/hurd/i386/init-first.c (init1): Use
  55177. __executable_start symbol instead of _start.
  55178. 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
  55179. * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
  55180. (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
  55181. Move macros to...
  55182. * sysdeps/gnu/ldsodefs.h: ... this new file.
  55183. * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
  55184. (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
  55185. instead of ELFOSABI_LINUX.
  55186. [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
  55187. * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
  55188. * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
  55189. * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
  55190. Likewise.
  55191. * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
  55192. * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
  55193. * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
  55194. Likewise.
  55195. * sysdeps/ieee754/ldbl-128ibm/ieee754.h
  55196. (ibm_extended_long_double): Add ieee_nan member.
  55197. * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
  55198. (do_test): New function.
  55199. * math/basic-test.c (TEST_CONVERT): New macro, renamed from
  55200. TEST_TRUNC.
  55201. (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
  55202. functions, renamed from truncdfsf_test, trunctfsf_test,
  55203. trunctfdf_test.
  55204. (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
  55205. functions.
  55206. (do_test): Run all these.
  55207. 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
  55208. * argp/argp-help.c: Fix typos.
  55209. * argp/argp-parse.c: Likewise.
  55210. * debug/backtracesyms.c: Likewise.
  55211. * elf/elf.h: Likewise.
  55212. * malloc/malloc.c: Likewise.
  55213. * nis/nis_print.c: Likewise.
  55214. * resolv/res_comp.c: Likewise.
  55215. * stdlib/stdlib.h: Likewise.
  55216. * sunrpc/clnt_tcp.c: Likewise.
  55217. * sunrpc/clnt_udp.c: Likewise.
  55218. * sunrpc/clnt_unix.c: Likewise.
  55219. * sysdeps/unix/bsd/ptsname.c: Likewise.
  55220. * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
  55221. * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
  55222. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
  55223. Likewise.
  55224. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
  55225. Likewise.
  55226. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
  55227. Likewise.
  55228. * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
  55229. 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
  55230. * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
  55231. * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
  55232. 2013-08-27 Mike Frysinger <vapier@gentoo.org>
  55233. [BZ #15897]
  55234. * dlfcn/Makefile (tests): Add bug-dl-leaf.
  55235. (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
  55236. ($(objpfx)bug-dl-leaf): New rule.
  55237. ($(objpfx)bug-dl-leaf.so): Likewise.
  55238. ($(objpfx)bug-dl-leaf.out): Likewise.
  55239. ($(objpfx)bug-dl-leaf-lib.so): Likewise.
  55240. ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
  55241. * dlfcn/bug-dl-leaf.c: New test.
  55242. * dlfcn/bug-dl-leaf-lib.c: Likewise.
  55243. * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
  55244. * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
  55245. (dlclose): Likewise.
  55246. (dlmopen): Likewise.
  55247. 2013-08-27 Roland McGrath <roland@hack.frob.com>
  55248. * include/netdb.h [!_ISOMAC]:
  55249. Don't include <tls.h>.
  55250. (h_errno, __libc_h_errno): Move declaration and macros out of
  55251. [_LIBC_REENTRANT].
  55252. * include/resolv.h [_RESOLV_H_]:
  55253. Don't include <tls.h>.
  55254. (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
  55255. * resolv/res_libc.c: Don't include <tls.h>.
  55256. (_res): Use __attribute__ ((nocommon)) in place of
  55257. __attribute__ ((section (".bss"))).
  55258. * Makefile ($(common-objpfx)linkobj/libc_pic.a):
  55259. If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
  55260. * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
  55261. * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
  55262. only under [SIOCGIFCONF && SIOCGIFNETMASK].
  55263. * resolv/res_mkquery.c: Include <sys/time.h>.
  55264. * inet/ifreq.c: Moved to ...
  55265. * sysdeps/unix/ifreq.c: ... here.
  55266. * inet/ifreq.c: New file, true stub version.
  55267. * socket/sa_len.c: New file.
  55268. * socket/Makefile (aux): Add it.
  55269. * sysdeps/unix/sysv/linux/Makefile
  55270. [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
  55271. * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
  55272. and #include <socket/sa_len.c>.
  55273. * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
  55274. HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
  55275. * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
  55276. * bits/socket.h: ... here.
  55277. * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
  55278. Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
  55279. (SOCK_MAX, SOCK_TYPE_MASK): New macros.
  55280. 2013-08-27 Andreas Schwab <schwab@suse.de>
  55281. [BZ #15736]
  55282. * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
  55283. * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
  55284. (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
  55285. * string/test-strcasecmp.c (test_main): Run tests in several
  55286. locales.
  55287. * string/test-strncasecmp.c (test_main): Likewise.
  55288. * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
  55289. (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
  55290. to __strcasecmp_nonascii and __strncasecmp_nonascii.
  55291. * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
  55292. (__strncasecmp_ssse3) [PIC]: Likewise.
  55293. 2013-08-26 Roland McGrath <roland@hack.frob.com>
  55294. * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
  55295. * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
  55296. instead of explicitly declaring xdecrypt.
  55297. * nis/nss_nis/nis-publickey.c: Likewise.
  55298. 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
  55299. [BZ #15890]
  55300. * nscd/aicache.c: Include res_hconf.h.
  55301. (addhstaiX): Initialize res_hconf.
  55302. 2013-08-26 Andreas Schwab <schwab@suse.de>
  55303. * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
  55304. ($(objpfx)tst-tls-atexit): Add dependencies here instead.
  55305. 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
  55306. * nscd/aicache.c (addhstaiX): Fix indentation.
  55307. 2013-08-25 Mike Frysinger <vapier@gentoo.org>
  55308. * configure.ac: Quote $build_pt_chown test.
  55309. * configure: Regenerated.
  55310. 2013-08-23 Joseph Myers <joseph@codesourcery.com>
  55311. [BZ #15532]
  55312. * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
  55313. * math/s_cexpf.c (__cexpf): Likewise.
  55314. * math/s_cexpl.c (__cexpl): Likewise.
  55315. * math/libm-test.inc (cexp_test_data): Correct expected return
  55316. value for NaN + i0. Add another test.
  55317. 2013-08-22 David S. Miller <davem@davemloft.net>
  55318. * po/ca.po: Update Catalan translation from translation project.
  55319. * po/uk.po: Add Ukrainian translations from translation project.
  55320. 2013-08-21 Joseph Myers <joseph@codesourcery.com>
  55321. [BZ #15797]
  55322. * math/s_fdim.c (__fdim): Check for infinite arguments if result
  55323. is infinite, not alongside NaN test.
  55324. * math/s_fdimf.c (__fdimf): Likewise.
  55325. * math/s_fdiml.c (__fdiml): Likewise.
  55326. * math/libm-test.inc (fdim_test_data): Add more tests. Test that
  55327. errno is unchanged.
  55328. 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
  55329. * argp/argp-help.c: Fix typos.
  55330. * crypt/speeds.c: Likewise.
  55331. * csu/check_fds.c: Likewise.
  55332. * elf/dl-load.c: Likewise.
  55333. * elf/dl-open.c: Likewise.
  55334. * elf/reldep3.c: Likewise.
  55335. * elf/reldep.c: Likewise.
  55336. * elf/sprof.c: Likewise.
  55337. * iconv/iconv_charmap.c: Likewise.
  55338. * iconv/skeleton.c: Likewise.
  55339. * iconv/strtab.c: Likewise.
  55340. * io/lockf64.c: Likewise.
  55341. * libio/libioP.h: Likewise.
  55342. * resolv/gai_notify.c: Likewise.
  55343. * resolv/ns_name.c: Likewise.
  55344. * resolv/ns_samedomain.c: Likewise.
  55345. * resolv/res_send.c: Likewise.
  55346. * stdlib/random.c: Likewise.
  55347. * sunrpc/rpc/xdr.h: Likewise.
  55348. * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
  55349. * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
  55350. * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
  55351. * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
  55352. * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
  55353. * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
  55354. * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
  55355. * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
  55356. * sysdeps/mach/hurd/check_fds.c: Likewise.
  55357. * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
  55358. * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
  55359. * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
  55360. * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
  55361. * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
  55362. * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
  55363. * sysdeps/pthread/aio_notify.c: Likewise.
  55364. * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
  55365. * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
  55366. * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
  55367. * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
  55368. * sysdeps/x86/fpu/bits/fenv.h: Likewise.
  55369. 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
  55370. * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
  55371. version if bit_Slow_SSE4_2 is set.
  55372. * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
  55373. * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
  55374. 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  55375. [BZ #15867]
  55376. * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
  55377. trampoline stack frame information.
  55378. * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
  55379. * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
  55380. (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
  55381. (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
  55382. (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
  55383. * sysdeps/unix/sysv/linux/powerpc/init-first.c
  55384. (_libc_vdso_platform_setup): Initialize the signal trampolines.
  55385. * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
  55386. sa_flags value.
  55387. * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
  55388. interrupting a syscall and set with option SA_SIGINFO.
  55389. 2013-08-20 Joseph Myers <joseph@codesourcery.com>
  55390. [BZ #15531]
  55391. * math/s_cproj.c (__cproj): Only return an infinity if one part of
  55392. argument is infinite.
  55393. * math/s_cprojf.c (__cprojf): Likewise.
  55394. * math/s_cprojl.c (__cprojl): Likewise.
  55395. * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
  55396. * math/libm-test.inc (cproj_test_data): Add more tests.
  55397. * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
  55398. * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
  55399. [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
  55400. size. Use __ffs to determine corresponding shift.
  55401. 2013-08-20 Joseph Myers <joseph@codesourcery.com>
  55402. Roland McGrath <roland@hack.frob.com>
  55403. * Makefile (INSTALL): Remove trailing blank lines from output of
  55404. makeinfo.
  55405. 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  55406. * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
  55407. Align 32 bit compat elf_greg to 8 bytes.
  55408. 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
  55409. * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
  55410. 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
  55411. * string/strcoll_l.c (coll_seq): New structure.
  55412. (get_next_seq_cached): New function.
  55413. (get_next_seq): New function.
  55414. (do_compare): New function.
  55415. (STRCOLL): Use GNU style definition. Simplify implementation
  55416. by using get_next_seq, get_next_seq_cached and do_compare.
  55417. 2013-08-16 Florian Weimer <fweimer@redhat.com>
  55418. [BZ #14699]
  55419. CVE-2013-4237
  55420. * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
  55421. member.
  55422. * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
  55423. member.
  55424. * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
  55425. * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
  55426. Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
  55427. conditional.
  55428. * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
  55429. GETDENTS_64BIT_ALIGNED.
  55430. * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
  55431. * manual/filesys.texi (Reading/Closing Directory): Document
  55432. ENAMETOOLONG return value of readdir_r. Recommend readdir more
  55433. strongly.
  55434. * manual/conf.texi (Limits for Files): Add portability note to
  55435. NAME_MAX, PATH_MAX.
  55436. (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
  55437. 2013-08-13 Andreas Schwab <schwab@suse.de>
  55438. [BZ #15749]
  55439. * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
  55440. of fabs.
  55441. * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
  55442. LDBL_MAX_EXP >= 16384]: Add tests for it.
  55443. 2013-08-12 David S. Miller <davem@davemloft.net>
  55444. * version.h (RELEASE): Set to "development".
  55445. (VERSION): Set to "2.18.90".
  55446. * NEWS: Add 2.19 section.
  55447. 2013-08-03 David S. Miller <davem@davemloft.net>
  55448. * po/ko.po: Update Korean translation from translation project.
  55449. 2013-08-01 David S. Miller <davem@davemloft.net>
  55450. * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
  55451. entries for Will Newton, Andi Kleen, David Holsgrove, and Ondřej
  55452. Bílka.
  55453. 2013-07-30 David S. Miller <davem@davemloft.net>
  55454. * po/fr.po: Update French translation from translation project.
  55455. 2013-07-28 David S. Miller <davem@davemloft.net>
  55456. * po/cs.po: Update Czech translation from translation project.
  55457. * po/sv.po: Update Swedish translation from translation project.
  55458. 2013-07-27 David S. Miller <davem@davemloft.net>
  55459. * po/eo.po: Update Esperanto translation from translation project.
  55460. * po/vi.po: Update Vietnamese translation from translation project.
  55461. * po/de.po: Update German translation from translation project.
  55462. 2013-07-26 David S. Miller <davem@davemloft.net>
  55463. * po/bg.po: Update Bulgarian translation from translation project.
  55464. * po/nl.po: Update Dutch translation from translation project.
  55465. * po/pl.po: Update Polish translation from translation project.
  55466. * po/ru.po: Update Russian translation from translation project.
  55467. 2013-07-24 David S. Miller <davem@davemloft.net>
  55468. * po/libc.pot: Update.
  55469. 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  55470. * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
  55471. variable page size.
  55472. * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
  55473. * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
  55474. * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
  55475. 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  55476. * sysdeps/s390/fpu/libm-test-ulps: Refresh.
  55477. 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
  55478. Andreas Schwab <schwab@suse.de>
  55479. Roland McGrath <roland@hack.frob.com>
  55480. Joseph Myers <joseph@codesourcery.com>
  55481. Carlos O'Donell <carlos@redhat.com>
  55482. [BZ #15755]
  55483. * config.h.in: Define HAVE_PT_CHOWN.
  55484. * config.make.in (build-pt-chown): New variable.
  55485. * configure.in (--enable-pt_chown): New configure option.
  55486. * configure: Regenerate.
  55487. * login/Makefile: Include Makeconfig. Build pt_chown only if
  55488. build-pt-chown is enabled.
  55489. * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
  55490. pt_chown to fix pty ownership.
  55491. * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
  55492. CLOSE_ALL_FDS.
  55493. * manual/install.texi (Configuring and compiling): Mention
  55494. --enable-pt_chown. Add @findex for grantpt.
  55495. * INSTALL: Regenerate.
  55496. 2013-07-20 David S. Miller <davem@davemloft.net>
  55497. * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
  55498. difference between 32-bit and 64-bit.
  55499. 2013-07-15 Carlos O'Donell <carlos@redhat.com>
  55500. [BZ #15711]
  55501. * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
  55502. Avoid system header dependency with -ffreestanding.
  55503. ($(objpfx)bits/syscall%d): Likewise.
  55504. 2013-07-13 David S. Miller <davem@davemloft.net>
  55505. * math/libm-test.inc (casin_test_data): Annotate more cases of missing
  55506. underflows from atanl/atan2l due to bug 15319.
  55507. (casinh_test_data): Likewise.
  55508. 2013-07-07 David S. Miller <davem@davemloft.net>
  55509. * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
  55510. 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
  55511. * sysdeps/i386/fpu/libm-test-ulps: Update.
  55512. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  55513. 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
  55514. * configure.in (--enable-lock-elision): Fix message text.
  55515. * INSTALL: Regenerate.
  55516. * configure: Regenerate.
  55517. 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  55518. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  55519. 2013-07-03 Andreas Jaeger <aj@suse.de>
  55520. * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
  55521. define.
  55522. (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
  55523. (ptrace_peeksiginfo_args): Add.
  55524. (__ptrace_peeksiginfo_flags): Add.
  55525. * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
  55526. * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
  55527. * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
  55528. 2013-07-03 Allan McRae <allan@archlinux.org>
  55529. * sysdeps/i386/fpu/libm-test-ulps: Update.
  55530. 2013-07-02 David S. Miller <davem@davemloft.net>
  55531. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  55532. 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
  55533. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
  55534. 2013-07-02 Joseph Myers <joseph@codesourcery.com>
  55535. * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
  55536. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  55537. 2013-07-02 Andi Kleen <ak@linux.intel.com>
  55538. * config.h.in (ENABLE_LOCK_ELISION): Add.
  55539. * configure.in (--enable-lock-elision): Add option.
  55540. * manual/install.texi: Document --enable lock elision.
  55541. * configure: Regenerate
  55542. * INSTALL: Regenerate.
  55543. 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
  55544. * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
  55545. SSE4.2 strcasecmp for libc.a.
  55546. * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
  55547. 2013-07-02 Joseph Myers <joseph@codesourcery.com>
  55548. [BZ #13304]
  55549. * soft-fp/op-common.h (_FP_FMA): New macro.
  55550. * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
  55551. (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
  55552. (_FP_MUL_MEAT_1_imm): ... here.
  55553. (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
  55554. (_FP_MUL_MEAT_1_wide): ... here.
  55555. (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
  55556. (_FP_MUL_MEAT_1_hard): ... here.
  55557. * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
  55558. (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
  55559. (_FP_MUL_MEAT_2_wide): ... here.
  55560. (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
  55561. (_FP_MUL_MEAT_2_wide_3mul): ... here.
  55562. (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
  55563. (_FP_MUL_MEAT_2_gmp): ... here.
  55564. * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
  55565. (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
  55566. (_FP_MUL_MEAT_4_wide): ... here.
  55567. (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
  55568. (_FP_MUL_MEAT_4_gmp): ... here.
  55569. * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
  55570. (_FP_WFRACBITS_DW_S): Likewise.
  55571. (_FP_WFRACXBITS_DW_S): Likewise.
  55572. (_FP_HIGHBIT_DW_S): Likewise.
  55573. (FP_FMA_S): Likewise.
  55574. (_FP_FRAC_HIGH_DW_S): Likewise.
  55575. * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
  55576. (_FP_WFRACBITS_DW_D): Likewise.
  55577. (_FP_WFRACXBITS_DW_D): Likewise.
  55578. (_FP_HIGHBIT_DW_D): Likewise.
  55579. (FP_FMA_D): Likewise.
  55580. (_FP_FRAC_HIGH_DW_D): Likewise.
  55581. * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
  55582. (_FP_WFRACBITS_DW_E): Likewise.
  55583. (_FP_WFRACXBITS_DW_E): Likewise.
  55584. (_FP_HIGHBIT_DW_E): Likewise.
  55585. (FP_FMA_E): Likewise.
  55586. (_FP_FRAC_HIGH_DW_E): Likewise.
  55587. * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
  55588. (_FP_WFRACBITS_DW_Q): Likewise.
  55589. (_FP_WFRACXBITS_DW_Q): Likewise.
  55590. (_FP_HIGHBIT_DW_Q): Likewise.
  55591. (FP_FMA_Q): Likewise.
  55592. (_FP_FRAC_HIGH_DW_Q): Likewise.
  55593. * soft-fp/fmasf4.c: New file.
  55594. * soft-fp/fmadf4.c: Likewise.
  55595. * soft-fp/fmatf4.c: Likewise.
  55596. 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
  55597. * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
  55598. bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
  55599. Silvermont.
  55600. * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
  55601. macro.
  55602. (index_Slow_SSE4_2): Likewise.
  55603. (index_Prefer_PMINUB_for_stringop): Likewise.
  55604. * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
  55605. bit_Slow_SSE4_2 is set.
  55606. * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
  55607. * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
  55608. 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
  55609. * sysdeps/powerpc/Makefile: Add comment about generating an offset to
  55610. rtld_global._dl_hwcap2.
  55611. * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
  55612. POWER8.
  55613. * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
  55614. POWER8 feature descriptions defined in _dl_hwcap2.
  55615. * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
  55616. string handling for POWER8 feature bits.
  55617. (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
  55618. (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
  55619. _dl_powerpc_cap_flags.
  55620. (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
  55621. * sysdeps/powerpc/rtld-global-offsets.sym
  55622. (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
  55623. _dl_hwcap2 in the rtld_global_ro structure.
  55624. 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
  55625. * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
  55626. hardware capabilities in support of AT_HWCAP2.
  55627. (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
  55628. * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
  55629. GLRO(dl_hwcap2).
  55630. (_dl_show_auxv): Add support for calling _dl_procinfo to display
  55631. AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
  55632. explicitly the unknown a_type display mechanism is used.
  55633. * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
  55634. * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
  55635. struct member.
  55636. * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
  55637. to macro prototype for AT_HWCAP2 support.
  55638. * sysdeps/i386/dl-procinfo.h: Likewise.
  55639. * sysdeps/s390/dl-procinfo.h: Likewise.
  55640. * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
  55641. macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
  55642. rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
  55643. return -1 for unknown a_type display fallback.
  55644. * sysdeps/sparc/dl-procinfo.h: Likewise.
  55645. * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
  55646. * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
  55647. 2013-06-28 Joseph Myers <joseph@codesourcery.com>
  55648. * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
  55649. instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
  55650. 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
  55651. [BZ #12492]
  55652. * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
  55653. mprotect making __stack_prot writable.
  55654. 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
  55655. Joseph Myers <joseph@codesourcery.com>
  55656. * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
  55657. as being properly aligned.
  55658. 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
  55659. * dlfcn/modstatic5.c: New file.
  55660. * dlfcn/tststatic5.c: New file.
  55661. * dlfcn/Makefile (tests): Add tststatic5.
  55662. (tests-static): Likewise.
  55663. (modules-names): Add modstatic5.
  55664. (tststatic5-ENV): New variable.
  55665. ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
  55666. [BZ #15022]
  55667. * elf/dl-support.c (_dl_main_map): New variable.
  55668. (_dl_ns): Use it to initialize [LM_ID_BASE] element.
  55669. (_dl_nns, _dl_load_adds): Set to 1.
  55670. (_dl_initial_searchlist): Refer to _dl_main_map.
  55671. (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
  55672. * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
  55673. call to _dl_get_origin.
  55674. * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
  55675. around call_map.
  55676. (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
  55677. * dlfcn/modstatic3.c: New file.
  55678. * dlfcn/tststatic3.c: New file.
  55679. * dlfcn/tststatic4.c: New file.
  55680. * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
  55681. (tests-static): Likewise.
  55682. (modules-names): Add modstatic3.
  55683. (tststatic3-ENV, tststatic4-ENV): New variables.
  55684. ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
  55685. ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
  55686. 2013-06-26 Joseph Myers <joseph@codesourcery.com>
  55687. * configure.in (CC): Require GCC version 4.4 or later.
  55688. * configure: Regenerated.
  55689. * manual/install.texi (Tools for Compilation): Update GCC version
  55690. requirement.
  55691. * INSTALL: Regenerated.
  55692. 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
  55693. [BZ #15674]
  55694. * string/test-memcmp.c (check2): New.
  55695. (main): Call check2.
  55696. * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
  55697. 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
  55698. [BZ #15022]
  55699. * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
  55700. over to...
  55701. (dl_open_worker) [!SHARED]: ... here.
  55702. 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
  55703. * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
  55704. 2013-06-25 Richard Henderson <rth@redhat.com>
  55705. * locale/programs/locarchive.c: Include <libc-internal.h>
  55706. 2013-06-25 Joseph Myers <joseph@codesourcery.com>
  55707. * manual/texinfo.tex: Update to version 2013-06-21.17, with
  55708. trailing whitespace removed.
  55709. 2013-06-24 Mike Frysinger <vapier@gentoo.org>
  55710. [BZ #10283]
  55711. * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
  55712. * locale/programs/locarchive.c: Include libc-mmap.h.
  55713. (prepare_address_space): Take two new outputs (the mmap base and len).
  55714. Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
  55715. values.
  55716. (create_archive): Declare new mmap base and len values for
  55717. prepare_address_space, and store the result in ah.
  55718. (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
  55719. (enlarge_archive): If ah->mmap_base is not NULL, use that and
  55720. ah->mmap_len to unmap rather than ah->addr and ah->reserved.
  55721. Declare new mmap base and len values for
  55722. prepare_address_space, and store the result in new_ah.
  55723. (open_archive): Declare new mmap base and len values for
  55724. prepare_address_space, and store the result in ah.
  55725. (close_archive): If ah->mmap_base is not NULL, use that and
  55726. ah->mmap_len to unmap rather than ah->addr and ah->reserved.
  55727. * sysdeps/generic/libc-mmap.h: New file.
  55728. 2013-06-24 Mike Frysinger <vapier@gentoo.org>
  55729. * include/libc-internal.h (ALIGN_DOWN): New helper macro.
  55730. (ALIGN_UP): Likewise.
  55731. (PTR_ALIGN_DOWN): Likewise.
  55732. (PTR_ALIGN_UP): Likewise.
  55733. 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
  55734. * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
  55735. entry mapped to PPC_PLATFORM_POWER8.
  55736. * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
  55737. POWER8.
  55738. (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
  55739. (_dl_string_platform): Add case for exporting platform position for
  55740. POWER8.
  55741. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
  55742. search path to sysdeps/powerpc/powerpc32/power8 directory.
  55743. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
  55744. search path to sysdeps/powerpc/powerpc64/power8 directory.
  55745. * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
  55746. power7 directories.
  55747. * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
  55748. power7 directories.
  55749. 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
  55750. * INSTALL: Regenerate.
  55751. * nscd/connections.c (nscd_init): Fix comment.
  55752. 2013-06-22 Joseph Myers <joseph@codesourcery.com>
  55753. * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
  55754. [BZ #15667]
  55755. * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
  55756. to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
  55757. 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
  55758. * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
  55759. DL_DST_REQ_STATIC.
  55760. (DL_DST_REQ_STATIC): Remove macro.
  55761. 2013-06-21 Joseph Myers <joseph@codesourcery.com>
  55762. [BZ #7006]
  55763. * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
  55764. with a shift of 0 bits.
  55765. 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
  55766. * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
  55767. $(tststatic-ENV).
  55768. 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  55769. [BZ #15655]
  55770. * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
  55771. 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  55772. * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
  55773. * configure.in (libc_cv_cc_loop_to_function): Check if compiler
  55774. accepts -fno-tree-loop-distribute-patterns.
  55775. * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
  55776. * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
  55777. recursive call.
  55778. * string/memset.c (memset): Likewise.
  55779. * string/test-memmove.c (simple_memmove): Disable loop transformation
  55780. to library calls.
  55781. * string/test-memset.c (simple_memset): Likewise.
  55782. * benchtests/bench-memmove.c (simple_memmove): Likewise.
  55783. * benchtests/bench-memset.c (simple_memset): Likewise.
  55784. * configure: Regenerated.
  55785. 2013-06-20 Joseph Myers <joseph@codesourcery.com>
  55786. * math/test-misc.c (main): Ignore fesetround failure when failures
  55787. of subsequent rounding tests would be ignored.
  55788. [BZ #15654]
  55789. * math/fedisblxcpt.c (fedisableexcept): Return 0.
  55790. * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
  55791. * math/fegetenv.c (__fegetenv): Return 0.
  55792. * math/fegetexcept.c (fegetexcept): Return 0.
  55793. * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
  55794. FE_TONEAREST.
  55795. * math/feholdexcpt.c (feholdexcept): Return 0.
  55796. * math/fesetenv.c (__fesetenv): Return 0.
  55797. * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
  55798. argument FE_TONEAREST.
  55799. * math/feupdateenv.c (__feupdateenv): Return 0.
  55800. * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
  55801. 2013-06-18 Roland McGrath <roland@hack.frob.com>
  55802. * elf/rtld-Rules (rtld-compile-command.S): New variable.
  55803. (rtld-compile-command.s, rtld-compile-command.c): New variables.
  55804. ($(objpfx)rtld-%.os rules): Use them.
  55805. 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  55806. * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
  55807. fields.
  55808. 2013-06-17 Roland McGrath <roland@hack.frob.com>
  55809. * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
  55810. length of target pattern, then descending length of dependency pattern.
  55811. * configure.in (AWK): Require gawk 3.1.2 or newer.
  55812. * manual/install.texi (Tools for Compilation): Say that we do.
  55813. * configure: Regenerated.
  55814. * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
  55815. ($(common-objpfx)sysd-rules): Replace shell logic with running ...
  55816. * scripts/sysd-rules.awk: ... this new script.
  55817. * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
  55818. than a glob-style pattern.
  55819. 2013-06-17 Joseph Myers <joseph@codesourcery.com>
  55820. * math/test-misc.c (main): Do not treat incorrectly rounded
  55821. conversions as failure unless ROUNDING_TESTS passes.
  55822. 2013-06-15 Joseph Myers <joseph@codesourcery.com>
  55823. [BZ #15631]
  55824. * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
  55825. restore exception state around main square root computation, then
  55826. check for inexactness explicitly.
  55827. * math/libm-test.inc (fma_test_data): Add another test.
  55828. 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
  55829. * manual/threads.texi (Non-POSIX Extensions): New document
  55830. node. Document pthread_getattr_default_np and
  55831. pthread_setattr_default_np.
  55832. * Versions.def (libpthread): Add GLIBC_2.18.
  55833. * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
  55834. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
  55835. Likewise.
  55836. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
  55837. Likewise.
  55838. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
  55839. Likewise.
  55840. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
  55841. Likewise.
  55842. * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
  55843. Likewise.
  55844. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
  55845. Likewise.
  55846. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
  55847. Likewise.
  55848. * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
  55849. Likewise.
  55850. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
  55851. Likewise.
  55852. 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
  55853. * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
  55854. Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
  55855. 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
  55856. H.J. Lu <hjl.tools@gmail.com>
  55857. [BZ #15627]
  55858. * sysdeps/x86_64/rtld-memset.c: Remove file.
  55859. * sysdeps/x86_64/rtld-memset.S: New file.
  55860. 2013-06-14 Joseph Myers <joseph@codesourcery.com>
  55861. * stdlib/tst-strtod-round.c: Include <math-tests.h>.
  55862. (test_in_one_mode): Take arguments for whether the rounding mode
  55863. is supported for each floating-point type.
  55864. (do_test): Pass new arguments to test_in_one_mode using
  55865. ROUNDING_TESTS.
  55866. 2013-06-13 Roland McGrath <roland@hack.frob.com>
  55867. * posix/tst-waitid.c (do_test): Distinguish different instances of
  55868. stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
  55869. sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
  55870. before entering the kernel for waitpid.
  55871. 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
  55872. * NEWS: Fix note on clock function precision. Text by Roland
  55873. McGrath.
  55874. 2013-06-13 Roland McGrath <roland@hack.frob.com>
  55875. * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
  55876. it into place only when and if the sanity check passes.
  55877. 2013-06-13 Joseph Myers <joseph@codesourcery.com>
  55878. * stdlib/gen-tst-strtod-round.c (round_str): Always generate
  55879. output for whether conversion result is exact. Take argument
  55880. indicating whether type is IBM long double.
  55881. (round_for_all): Change need_exact field to ibm_ld.
  55882. * stdlib/tst-strtod-round.c (struct exactness): New type.
  55883. (struct test): Change bool ld_ok field to struct exactness exact.
  55884. (TEST): Update all definitions for change to field.
  55885. (tests): Regenerate array contents.
  55886. (test_in_one_mode): Take pointer to new field instead of old ld_ok
  55887. field value. Check for IBM long double here.
  55888. (do_test): Update calls to test_in_one_mode.
  55889. 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
  55890. [BZ #12515]
  55891. * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
  55892. CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
  55893. 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  55894. [BZ #15605]
  55895. * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
  55896. generated by the compiler on loop optimizations.
  55897. * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
  55898. general definitions.
  55899. 2013-06-12 Joseph Myers <joseph@codesourcery.com>
  55900. * math/bug-nextafter.c: Include <math-tests.h>.
  55901. (main): Only test for exceptions if EXCEPTION_TESTS is true for
  55902. the relevant type.
  55903. * math/bug-nexttoward.c: Include <math-tests.h>.
  55904. (main): Only test for exceptions if EXCEPTION_TESTS is true for
  55905. the relevant type.
  55906. * math/test-misc.c: Include <math-tests.h>.
  55907. (main): Only test for exceptions if EXCEPTION_TESTS is true for
  55908. the relevant type.
  55909. 2013-06-12 Andreas Jaeger <aj@suse.de>
  55910. * po/ia.po: Update Interlingua translation from translation
  55911. project.
  55912. 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
  55913. * include/fenv.h: Include stdbool.h.
  55914. (struct rm_ctx): New structure.
  55915. * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
  55916. Define macro.
  55917. (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
  55918. (SET_RESTORE_ROUNDF): Likewise.
  55919. (SET_RESTORE_ROUNDL): Likewise.
  55920. (SET_RESTORE_ROUND_NOEX): Likewise.
  55921. (SET_RESTORE_ROUND_NOEXF): Likewise.
  55922. (SET_RESTORE_ROUND_NOEXL): Likewise.
  55923. (SET_RESTORE_ROUND_53BIT): Likewise.
  55924. [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
  55925. (libc_feresetround_noexf_ctx): Likewise.
  55926. (libc_feresetround_noexl_ctx): Likewise.
  55927. (libc_feholdsetround_53bit_ctx): Likewise.
  55928. (libc_feresetround_53bit_ctx): Likewise.
  55929. * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
  55930. (libc_feholdexcept_setround_sse_ctx): New function.
  55931. (libc_fesetenv_sse_ctx): Likewise.
  55932. (libc_feupdateenv_sse_ctx): Likewise.
  55933. (libc_feholdexcept_setround_387_prec_ctx): Likewise.
  55934. (libc_feholdexcept_setround_387_ctx): Likewise.
  55935. (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
  55936. (libc_feholdsetround_387_prec_ctx): Likewise.
  55937. (libc_feholdsetround_387_ctx): Likewise.
  55938. (libc_feholdsetround_387_53bit_ctx): Likewise.
  55939. (libc_feholdsetround_sse_ctx): Likewise.
  55940. (libc_feresetround_sse_ctx): Likewise.
  55941. (libc_feresetround_387_ctx): Likewise.
  55942. (libc_feupdateenv_387_ctx): Likewise.
  55943. (libc_feholdexcept_setroundf_ctx): Define macro.
  55944. (libc_fesetenvf_ctx): Likewise.
  55945. (libc_feupdateenvf_ctx): Likewise.
  55946. (libc_feholdsetroundf_ctx): Likewise.
  55947. (libc_feresetroundf_ctx): Likewise.
  55948. (libc_feholdexcept_setround_ctx): Likewise.
  55949. (libc_fesetenv_ctx): Likewise.
  55950. (libc_feupdateenv_ctx): Likewise.
  55951. (libc_feholdsetround_ctx): Likewise.
  55952. (libc_feresetround_ctx): Likewise.
  55953. (libc_feholdexcept_setroundl_ctx): Likewise.
  55954. (libc_feupdateenvl_ctx): Likewise.
  55955. (libc_feholdsetroundl_ctx): Likewise.
  55956. (libc_feresetroundl_ctx): Likewise.
  55957. [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
  55958. (libc_feresetround_53bit_ctx): Likewise.
  55959. 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
  55960. * locale/iso-639.def: Convert to UTF-8.
  55961. 2013-06-11 Joseph Myers <joseph@codesourcery.com>
  55962. * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
  55963. (EXCEPTION_TESTS_double): Likewise.
  55964. (EXCEPTION_TESTS_long_double): Likewise.
  55965. (EXCEPTION_TESTS): Likewise.
  55966. * math/libm-test.inc (test_exceptions): Only test exceptions if
  55967. EXCEPTION_TESTS (FLOAT).
  55968. 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
  55969. * benchtests/Makefile (string-bench): Add strcpy_chk and
  55970. stpcpy_chk.
  55971. * benchtests/bench-stpcpy_chk-ifunc.c: New file.
  55972. * benchtests/bench-stpcpy_chk.c: New file.
  55973. * benchtests/bench-strcpy_chk-ifunc.c: New file.
  55974. * benchtests/bench-strcpy_chk.c: New file.
  55975. * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
  55976. code.
  55977. (do_test): Likewise.
  55978. 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
  55979. * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
  55980. ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
  55981. * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
  55982. with tabs where appropriate.
  55983. [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
  55984. dl-procinfo.h.
  55985. [PPC_PLATFORM_PPC440]: Likewise.
  55986. [PPC_PLATFORM_PPC464]: Likewise.
  55987. [PPC_PLATFORM_PPC476]: Likewise.
  55988. (_dl_string_platform): Add support for detecting ppc405, ppc440,
  55989. ppc464, and ppc476 platform strings merging from ports/
  55990. dl-procinfo.h.
  55991. 2013-06-11 Andreas Schwab <schwab@suse.de>
  55992. [BZ #14991]
  55993. * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
  55994. (from_ucs4_idx): Regenerate.
  55995. (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
  55996. (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
  55997. (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
  55998. (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
  55999. (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
  56000. (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
  56001. (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
  56002. (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
  56003. from FROM_LOOP and TO_LOOP specific macros.
  56004. (BODY): Handle combining characters.
  56005. * iconvdata/BIG5HKSCS.irreversible: Update.
  56006. * iconvdata/BIG5HKSCS.precomposed: New file.
  56007. * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
  56008. characters.
  56009. * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
  56010. 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
  56011. * include/sys/time.h: Fix indentation and add copyright header.
  56012. * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
  56013. (do_test): Likewise.
  56014. * string/test-memchr.c (do_one_test): Likewise.
  56015. (do_test): Likewise.
  56016. * string/test-memcmp.c (do_one_test): Likewise.
  56017. (do_test): Likewise.
  56018. * string/test-memcpy.c (do_one_test): Likewise.
  56019. (do_test): Likewise.
  56020. * string/test-memmem.c (do_one_test): Likewise.
  56021. (do_test): Likewise.
  56022. (do_random_tests): Likewise.
  56023. * string/test-memmove.c (do_one_test): Likewise.
  56024. (do_test): Likewise.
  56025. * string/test-memset.c (do_one_test): Likewise.
  56026. (do_test): Likewise.
  56027. * string/test-rawmemchr.c (do_one_test): Likewise.
  56028. (do_test): Likewise.
  56029. * string/test-strcasecmp.c (do_one_test): Likewise.
  56030. (do_test): Likewise.
  56031. * string/test-strcasestr.c (do_one_test): Likewise.
  56032. (do_test): Likewise.
  56033. * string/test-strcat.c (do_one_test): Likewise.
  56034. (do_test): Likewise.
  56035. * string/test-strchr.c (do_one_test): Likewise.
  56036. (do_test): Likewise.
  56037. * string/test-strcmp.c (do_one_test): Likewise.
  56038. (do_test): Likewise.
  56039. * string/test-strcpy.c (do_one_test): Likewise.
  56040. (do_test): Likewise.
  56041. * string/test-string.h: Likewise.
  56042. (test_init): Likewise.
  56043. * string/test-strlen.c (do_one_test): Likewise.
  56044. (do_test): Likewise.
  56045. * string/test-strncasecmp.c (do_one_test): Likewise.
  56046. (do_test): Likewise.
  56047. * string/test-strncat.c (do_one_test): Likewise.
  56048. (do_test): Likewise.
  56049. * string/test-strncmp.c (do_one_test): Likewise.
  56050. (do_test_limit): Likewise.
  56051. (do_test): Likewise.
  56052. * string/test-strncpy.c (do_one_test): Likewise.
  56053. (do_test): Likewise.
  56054. * string/test-strnlen.c (do_one_test): Likewise.
  56055. (do_test): Likewise.
  56056. * string/test-strpbrk.c (do_one_test): Likewise.
  56057. (do_test): Likewise.
  56058. * string/test-strrchr.c (do_one_test): Likewise.
  56059. (do_test): Likewise.
  56060. * string/test-strspn.c (do_one_test): Likewise.
  56061. (do_test): Likewise.
  56062. * string/test-strstr.c (do_one_test): Likewise.
  56063. (do_test): Likewise.
  56064. * benchtests/Makefile (string-bench): Add string benchmarks.
  56065. * benchtests/bench-bcopy-ifunc.c: New file.
  56066. * benchtests/bench-bcopy.c: New file.
  56067. * benchtests/bench-bzero-ifunc.c: New file.
  56068. * benchtests/bench-bzero.c: New file.
  56069. * benchtests/bench-memccpy-ifunc.c: New file.
  56070. * benchtests/bench-memccpy.c: New file.
  56071. * benchtests/bench-memchr-ifunc.c: New file.
  56072. * benchtests/bench-memchr.c: New file.
  56073. * benchtests/bench-memcmp-ifunc.c: New file.
  56074. * benchtests/bench-memcmp.c: New file.
  56075. * benchtests/bench-memmem-ifunc.c: New file.
  56076. * benchtests/bench-memmem.c: New file.
  56077. * benchtests/bench-memmove-ifunc.c: New file.
  56078. * benchtests/bench-memmove.c: New file.
  56079. * benchtests/bench-mempcpy-ifunc.c: New file.
  56080. * benchtests/bench-mempcpy.c: New file.
  56081. * benchtests/bench-memset-ifunc.c: New file.
  56082. * benchtests/bench-memset.c: New file.
  56083. * benchtests/bench-rawmemchr-ifunc.c: New file.
  56084. * benchtests/bench-rawmemchr.c: New file.
  56085. * benchtests/bench-stpcpy-ifunc.c: New file.
  56086. * benchtests/bench-stpcpy.c: New file.
  56087. * benchtests/bench-stpncpy-ifunc.c: New file.
  56088. * benchtests/bench-stpncpy.c: New file.
  56089. * benchtests/bench-strcasecmp-ifunc.c: New file.
  56090. * benchtests/bench-strcasecmp.c: New file.
  56091. * benchtests/bench-strcasestr-ifunc.c: New file.
  56092. * benchtests/bench-strcasestr.c: New file.
  56093. * benchtests/bench-strcat-ifunc.c: New file.
  56094. * benchtests/bench-strcat.c: New file.
  56095. * benchtests/bench-strchr-ifunc.c: New file.
  56096. * benchtests/bench-strchr.c: New file.
  56097. * benchtests/bench-strchrnul-ifunc.c: New file.
  56098. * benchtests/bench-strchrnul.c: New file.
  56099. * benchtests/bench-strcmp-ifunc.c: New file.
  56100. * benchtests/bench-strcmp.c: New file.
  56101. * benchtests/bench-strcpy-ifunc.c: New file.
  56102. * benchtests/bench-strcpy.c: New file.
  56103. * benchtests/bench-strcspn-ifunc.c: New file.
  56104. * benchtests/bench-strcspn.c: New file.
  56105. * benchtests/bench-strlen-ifunc.c: New file.
  56106. * benchtests/bench-strlen.c: New file.
  56107. * benchtests/bench-strncasecmp-ifunc.c: New file.
  56108. * benchtests/bench-strncasecmp.c: New file.
  56109. * benchtests/bench-strncat-ifunc.c: New file.
  56110. * benchtests/bench-strncat.c: New file.
  56111. * benchtests/bench-strncmp-ifunc.c: New file.
  56112. * benchtests/bench-strncmp.c: New file.
  56113. * benchtests/bench-strncpy-ifunc.c: New file.
  56114. * benchtests/bench-strncpy.c: New file.
  56115. * benchtests/bench-strnlen-ifunc.c: New file.
  56116. * benchtests/bench-strnlen.c: New file.
  56117. * benchtests/bench-strpbrk-ifunc.c: New file.
  56118. * benchtests/bench-strpbrk.c: New file.
  56119. * benchtests/bench-strrchr-ifunc.c: New file.
  56120. * benchtests/bench-strrchr.c: New file.
  56121. * benchtests/bench-strspn-ifunc.c: New file.
  56122. * benchtests/bench-strspn.c: New file.
  56123. * benchtests/bench-strstr-ifunc.c: New file.
  56124. * benchtests/bench-strstr.c: New file.
  56125. * benchtests/Makefile: Disable parallel execution of targets.
  56126. (string-bench): Add memcpy.
  56127. (benchset): New variable to store a list of benchmark sets.
  56128. (bench-func): Renamed from bench.
  56129. (bench-set): New target.
  56130. (bench): Depend on bench-func and bench-set.
  56131. * benchtests/README: Add section on benchmark sets.
  56132. * benchtests/bench-memcpy-ifunc.c: New file.
  56133. * benchtests/bench-memcpy.c: New file.
  56134. * benchtests/bench-string.h: New file.
  56135. 2013-06-11 Andreas Schwab <schwab@suse.de>
  56136. [BZ #15577]
  56137. * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
  56138. * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
  56139. values in the triple.
  56140. * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
  56141. terminator in the group key.
  56142. 2013-06-11 Andreas Jaeger <aj@suse.de>
  56143. * po/zh_TW.po: Update Chinese (traditional) translation from
  56144. translation project.
  56145. 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
  56146. * include/time.h (__clock_gettime): Add libc_hidden_proto.
  56147. * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
  56148. __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
  56149. * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
  56150. (clock_getcpuclockid): Likewise.
  56151. * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
  56152. Add weak_alias and libc_hidden_def.
  56153. * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
  56154. * rt/clock_gettime.c (clock_gettime): Rename to
  56155. __clock_gettime. Add weak_alias and libc_hidden_def.
  56156. * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
  56157. * rt/clock_nanosleep.c (clock_nanosleep): Rename to
  56158. __clock_nanosleep. Add weak_alias and libc_hidden_def.
  56159. * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
  56160. * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
  56161. Likewise.
  56162. * rt/clock_settime.c (clock_settime): Rename to
  56163. __clock_settime. Add weak_alias and libc_hidden_def.
  56164. * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
  56165. 2013-06-10 Joseph Myers <joseph@codesourcery.com>
  56166. * mach/err_boot.sub: Remove trailing whitespace.
  56167. * mach/err_ipc.sub: Likewise.
  56168. * mach/err_mach.sub: Likewise.
  56169. * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
  56170. (ROUNDING_TESTS_double): Likewise.
  56171. (ROUNDING_TESTS_long_double): Likewise.
  56172. (ROUNDING_TESTS): Likewise.
  56173. * math/libm-test.inc: Include <math-tests.h>.
  56174. (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
  56175. (IF_ROUND_INIT_FE_TONEAREST): Likewise.
  56176. (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
  56177. (IF_ROUND_INIT_FE_UPWARD): Likewise.
  56178. 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
  56179. * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
  56180. of assigning.
  56181. 2013-06-08 Joseph Myers <joseph@codesourcery.com>
  56182. * sysdeps/gnu/errlist.awk: Do not generate space at end of
  56183. otherwise empty TRANS lines.
  56184. * sysdeps/gnu/errlist.c: Regenerated.
  56185. * catgets/gencat.c (error_print): Use (void) in function
  56186. definition.
  56187. * crypt/crypt_util.c (__init_des): Likewise.
  56188. * crypt/speeds.c (Stop): Likewise.
  56189. (main): Likewise.
  56190. * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
  56191. * inet/ruserpass.c (token): Likewise.
  56192. * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
  56193. * intl/localealias.c (extend_alias_table): Likewise.
  56194. * intl/plural-exp.c (init_germanic_plural): Likewise.
  56195. * libio/fcloseall.c (__fcloseall): Likewise.
  56196. * libio/genops.c (_IO_flush_all): Likewise.
  56197. (_IO_flush_all_linebuffered): Likewise.
  56198. (_IO_cleanup): Likewise.
  56199. (_IO_iter_begin): Likewise.
  56200. (_IO_iter_end): Likewise.
  56201. (_IO_list_lock): Likewise.
  56202. (_IO_list_unlock): Likewise.
  56203. (_IO_list_resetlock): Likewise.
  56204. * libio/getchar.c (getchar): Likewise.
  56205. * libio/getchar_u.c (getchar_unlocked): Likewise.
  56206. * libio/getwchar.c (getwchar): Likewise.
  56207. * libio/getwchar_u.c (getwchar_unlocked): Likewise.
  56208. * libio/oldstdfiles.c (_IO_check_libio): Likewise.
  56209. * login/getpt.c (__getpt): Likewise.
  56210. * login/tst-utmp.c (main): Likewise.
  56211. * malloc/hooks.c (__malloc_check_init): Likewise.
  56212. * malloc/malloc.c (__malloc_stats): Likewise.
  56213. * malloc/mtrace.c (tr_break): Likewise.
  56214. (mtrace): Likewise.
  56215. (muntrace): Likewise.
  56216. * misc/fstab.c (endfsent): Likewise.
  56217. * misc/getclktck.c (__getclktck): Likewise.
  56218. * misc/getdtsz.c (__getdtablesize): Likewise.
  56219. * misc/gethostid.c (gethostid): Likewise.
  56220. * misc/getpagesize.c (__getpagesize): Likewise.
  56221. * misc/getsysstats.c (__get_nprocs_conf): Likewise.
  56222. (__get_nprocs): Likewise.
  56223. (__get_phys_pages): Likewise.
  56224. (__get_avphys_pages): Likewise.
  56225. * misc/getttyent.c (getttyent): Likewise.
  56226. (setttyent): Likewise.
  56227. (endttyent): Likewise.
  56228. * misc/getusershell.c (getusershell): Likewise.
  56229. (endusershell): Likewise.
  56230. (setusershell): Likewise.
  56231. (initshells): Likewise.
  56232. * misc/hsearch.c (__hdestroy): Likewise.
  56233. * misc/sync.c (sync): Likewise.
  56234. * misc/syslog.c (closelog_internal): Likewise.
  56235. (closelog): Likewise.
  56236. * misc/ttyslot.c (ttyslot): Likewise.
  56237. * misc/vhangup.c (vhangup): Likewise.
  56238. * posix/fork.c (__fork): Likewise.
  56239. * posix/getegid.c (__getegid): Likewise.
  56240. * posix/geteuid.c (__geteuid): Likewise.
  56241. * posix/getgid.c (__getgid): Likewise.
  56242. * posix/getpid.c (__getpid): Likewise.
  56243. * posix/getppid.c (__getppid): Likewise.
  56244. * posix/getuid.c (__getuid): Likewise.
  56245. * posix/pause.c (pause): Likewise.
  56246. * posix/setpgrp.c (setpgrp): Likewise.
  56247. * posix/setsid.c (__setsid): Likewise.
  56248. * posix/test-vfork.c (noop): Likewise.
  56249. * resolv/gethnamaddr.c (_endhtent): Likewise.
  56250. (_gethtent): Likewise.
  56251. (ht_endhostent): Likewise.
  56252. (gethostent): Likewise.
  56253. (dns_service): Likewise.
  56254. * stdlib/drand48.c (drand48): Likewise.
  56255. * stdlib/lrand48.c (lrand48): Likewise.
  56256. * stdlib/mrand48.c (mrand48): Likewise.
  56257. * stdlib/rand.c (rand): Likewise.
  56258. * stdlib/random.c (__random): Likewise.
  56259. * stdlib/setenv.c (clearenv): Likewise.
  56260. * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
  56261. * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
  56262. * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
  56263. * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
  56264. (__get_nprocs): Likewise.
  56265. (__get_phys_pages): Likewise.
  56266. (__get_avphys_pages): Likewise.
  56267. * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
  56268. * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
  56269. * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
  56270. * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
  56271. * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
  56272. * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
  56273. * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
  56274. * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
  56275. * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
  56276. * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
  56277. * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
  56278. * sysdeps/mach/hurd/sync.c (sync): Likewise.
  56279. * sysdeps/posix/clock.c (clock): Likewise.
  56280. * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
  56281. * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
  56282. * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
  56283. * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
  56284. * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
  56285. * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
  56286. (__get_nprocs_conf): Likewise.
  56287. (__get_phys_pages): Likewise.
  56288. (__get_avphys_pages): Likewise.
  56289. * time/clock.c (clock): Likewise.
  56290. * time/tzset.c (__tzname_max): Likewise.
  56291. 2013-06-07 Joseph Myers <joseph@codesourcery.com>
  56292. * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
  56293. (__bswap_32): Do not use "register".
  56294. * crypt/crypt.c (_ufc_doit_r): Likewise.
  56295. * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
  56296. * debug/wcscat_chk.c (__wcscat_chk): Likewise.
  56297. * gmon/gmon.c (__monstartup): Likewise.
  56298. * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
  56299. * hurd/hurdmalloc.c (more_memory): Likewise.
  56300. (malloc): Likewise.
  56301. (free): Likewise.
  56302. (realloc): Likewise.
  56303. (malloc_fork_prepare): Likewise.
  56304. (malloc_fork_parent): Likewise.
  56305. (malloc_fork_child): Likewise.
  56306. * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
  56307. (_svcauth_des): Likewise.
  56308. * inet/inet_lnaof.c (inet_lnaof): Likewise.
  56309. * inet/inet_net.c (inet_network): Likewise.
  56310. * inet/inet_netof.c (inet_netof): Likewise.
  56311. * inet/rcmd.c (__validuser2_sa): Likewise.
  56312. * io/fts.c (fts_open): Likewise.
  56313. (fts_load): Likewise.
  56314. (fts_close): Likewise.
  56315. (fts_read): Likewise.
  56316. (fts_children): Likewise.
  56317. (fts_build): Likewise.
  56318. (fts_stat): Likewise.
  56319. (fts_sort): Likewise.
  56320. (fts_alloc): Likewise.
  56321. (fts_lfree): Likewise.
  56322. * libio/fileops.c (_IO_new_file_xsputn): Likewise.
  56323. (_IO_file_xsgetn): Likewise.
  56324. (_IO_file_xsgetn_mmap): Likewise.
  56325. * libio/iofopncook.c (_IO_cookie_read): Likewise.
  56326. (_IO_cookie_write): Likewise.
  56327. * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
  56328. * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
  56329. * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
  56330. * malloc/obstack.c (_obstack_begin): Likewise.
  56331. (_obstack_begin_1): Likewise.
  56332. (_obstack_newchunk): Likewise.
  56333. (_obstack_allocated_p): Likewise.
  56334. (obstack_free): Likewise.
  56335. (_obstack_memory_used): Likewise.
  56336. * misc/getttyent.c (getttynam): Likewise.
  56337. (getttyent): Likewise.
  56338. (skip): Likewise.
  56339. (value): Likewise.
  56340. * misc/getusershell.c (initshells): Likewise.
  56341. * misc/syslog.c (__vsyslog_chk): Likewise.
  56342. * misc/ttyslot.c (ttyslot): Likewise.
  56343. * nis/nis_hash.c (__nis_hash): Likewise.
  56344. * posix/fnmatch_loop.c (FCT): Likewise.
  56345. * posix/getconf.c (print_all): Likewise.
  56346. (main): Likewise.
  56347. * posix/getopt.c (exchange): Likewise.
  56348. * posix/glob.c (globfree): Likewise.
  56349. (prefix_array): Likewise.
  56350. (__glob_pattern_type): Likewise.
  56351. * resolv/arpa/nameser.h (NS_GET16): Likewise.
  56352. (NS_GET32): Likewise.
  56353. (NS_PUT16): Likewise.
  56354. (NS_PUT32): Likewise.
  56355. * resolv/gethnamaddr.c (getanswer): Likewise.
  56356. (gethostbyname2): Likewise.
  56357. (gethostbyaddr): Likewise.
  56358. (_gethtent): Likewise.
  56359. (_gethtbyname2): Likewise.
  56360. (_gethtbyaddr): Likewise.
  56361. * resolv/ns_print.c (dst_s_get_int16): Likewise.
  56362. * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
  56363. * resolv/res_init.c (__res_vinit): Likewise.
  56364. (net_mask): Likewise.
  56365. * resolv/res_mkquery.c (outchar): Likewise.
  56366. (PRINT): Likewise.
  56367. * stdio-common/printf_fp.c (outchar): Likewise.
  56368. (PRINT): Likewise.
  56369. * stdio-common/printf_fphex.c (outchar): Likewise.
  56370. (PRINT): Likewise.
  56371. * stdio-common/printf_size.c (outchar): Likewise.
  56372. (PRINT): Likewise.
  56373. * stdio-common/test_rdwr.c (main): Likewise.
  56374. * stdio-common/tfformat.c (matches): Likewise.
  56375. * stdio-common/vfprintf.c (outchar): Likewise.
  56376. (printf_unknown): Likewise.
  56377. (buffered_vfprintf): Likewise.
  56378. * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
  56379. * stdio-common/xbug.c (AppendToBuffer): Likewise.
  56380. (ReadFile): Likewise.
  56381. * stdlib/qsort.c (SWAP): Likewise.
  56382. (_quicksort): Likewise.
  56383. * stdlib/setenv.c (__add_to_environ): Likewise.
  56384. * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
  56385. * stdlib/strtol_l.c (__strtol_l): Likewise.
  56386. * stdlib/tst-strtod.c (main): Likewise.
  56387. * stdlib/tst-strtol.c (main): Likewise.
  56388. * stdlib/tst-strtoll.c (main): Likewise.
  56389. * string/bits/string2.h (__strcmp_cc): Likewise.
  56390. (__strcmp_cg): Likewise.
  56391. (__strcspn_c1): Likewise.
  56392. (__strcspn_c2): Likewise.
  56393. (__strcspn_c3): Likewise.
  56394. (__strspn_c1): Likewise.
  56395. (__strspn_c2): Likewise.
  56396. (__strspn_c3): Likewise.
  56397. (__strsep_1c): Likewise.
  56398. (__strsep_2c): Likewise.
  56399. (__strsep_3c): Likewise.
  56400. * string/memccpy.c (__memccpy): Likewise.
  56401. * string/stpcpy.c (__stpcpy): Likewise.
  56402. * string/strcmp.c (strcmp): Likewise.
  56403. * string/strrchr.c (strrchr): Likewise.
  56404. * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
  56405. Likewise.
  56406. * sysdeps/mach/hurd/getcwd.c
  56407. (_hurd_canonicalize_directory_name_internal): Likewise.
  56408. * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
  56409. * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
  56410. * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
  56411. * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
  56412. Likewise, in both definitions.
  56413. * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
  56414. definitions.
  56415. [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
  56416. 64] (__bswap_64): Likewise.
  56417. * time/test_time.c (main): Likewise.
  56418. * time/tzfile.c (__tzfile_read): Likewise.
  56419. (__tzfile_compute): Likewise.
  56420. * time/tzset.c (__tzset_parse_tz): Likewise.
  56421. (tzset_internal): Likewise.
  56422. (compute_change): Likewise.
  56423. * wcsmbs/wcscat.c (__wcscat): Likewise.
  56424. * wcsmbs/wcschr.c (wcschr): Likewise.
  56425. * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
  56426. * wcsmbs/wcscspn.c (wcscspn): Likewise.
  56427. * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
  56428. * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
  56429. * wcsmbs/wcsspn.c (wcsspn): Likewise.
  56430. * wcsmbs/wcsstr.c (wcsstr): Likewise.
  56431. * wcsmbs/wmemchr.c (wmemchr): Likewise.
  56432. * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
  56433. * wcsmbs/wmemset.c (wmemset): Likewise.
  56434. 2013-06-06 Joseph Myers <joseph@codesourcery.com>
  56435. * scripts/config.guess: Update to version 2013-05-16.
  56436. * scripts/config.sub: Update to version 2013-04-24.
  56437. * scripts/install-sh: Update to version 2011-11-20.07.
  56438. * scripts/mkinstalldirs: Update to version 2009-04-28.21.
  56439. * scripts/move-if-change: Update to version 2012-01-06 07:23.
  56440. 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
  56441. * debug/fgetws_u_chk.c: Fix leading whitespaces.
  56442. * elf/sln.c: Likewise.
  56443. * hurd/hurd/ioctl.h: Likewise.
  56444. * hurd/hurdmalloc.c: Likewise.
  56445. * hurd/xattr.c: Likewise.
  56446. * include/shlib-compat.h: Likewise.
  56447. * inet/ruserpass.c: Likewise.
  56448. * libio/iofgets_u.c: Likewise.
  56449. * libio/iofgetws_u.c: Likewise.
  56450. * locale/programs/ld-identification.c: Likewise.
  56451. * locale/programs/ld-time.c: Likewise.
  56452. * mach/msg-destroy.c: Likewise.
  56453. * nss/nss_files/files-netgrp.c: Likewise.
  56454. * resolv/res_data.c: Likewise.
  56455. * soft-fp/op-1.h: Likewise.
  56456. * soft-fp/op-2.h: Likewise.
  56457. * soft-fp/op-4.h: Likewise.
  56458. * soft-fp/op-common.h: Likewise.
  56459. * stdio-common/printf_fphex.c: Likewise.
  56460. * stdlib/strtod_l.c: Likewise.
  56461. * sunrpc/rpc/clnt.h: Likewise.
  56462. * sysdeps/generic/framestate.c: Likewise.
  56463. * sysdeps/i386/bsd-_setjmp.S: Likewise.
  56464. * sysdeps/i386/bsd-setjmp.S: Likewise.
  56465. * sysdeps/i386/__longjmp.S: Likewise.
  56466. * sysdeps/i386/setjmp.S: Likewise.
  56467. * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
  56468. * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
  56469. * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
  56470. * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
  56471. * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
  56472. * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
  56473. * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
  56474. * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
  56475. * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
  56476. * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
  56477. * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
  56478. * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
  56479. * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
  56480. * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
  56481. * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
  56482. * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
  56483. * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
  56484. * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
  56485. * sysdeps/ieee754/support.c: Likewise.
  56486. * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
  56487. * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
  56488. * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
  56489. * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
  56490. * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
  56491. * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
  56492. * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
  56493. * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
  56494. * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
  56495. * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
  56496. * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
  56497. * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
  56498. * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
  56499. * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
  56500. * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
  56501. * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
  56502. * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
  56503. * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
  56504. 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
  56505. * posix/transbug.c: Remove executable mode.
  56506. 2013-06-05 Joseph Myers <joseph@codesourcery.com>
  56507. * crypt/speeds.c: Remove trailing whitespace.
  56508. * dlfcn/default.c: Likewise.
  56509. * elf/ifuncdep2.c: Likewise.
  56510. * elf/ifuncmain1.c: Likewise.
  56511. * elf/ifuncmain1vis.c: Likewise.
  56512. * elf/testobj.h: Likewise.
  56513. * elf/tst-stackguard1.c: Likewise.
  56514. * gmon/sys/gmon.h: Likewise.
  56515. * hurd/hurdmsg.c: Likewise.
  56516. * hurd/new-fd.c: Likewise.
  56517. * hurd/ports-get.c: Likewise.
  56518. * iconvdata/ibm1008_420.c: Likewise.
  56519. * inet/tst-getni1.c: Likewise.
  56520. * inet/tst-getni2.c: Likewise.
  56521. * libio/ioungetc.c: Likewise.
  56522. * libio/wfiledoalloc.c: Likewise.
  56523. * manual/libm-err-tab.pl: Likewise.
  56524. * math/w_dremf.c: Likewise.
  56525. * misc/ftruncate.c: Likewise.
  56526. * posix/bug-glob2.c: Likewise.
  56527. * posix/tst-pcre.c: Likewise.
  56528. * posix/wait4.c: Likewise.
  56529. * resolv/README: Likewise.
  56530. * resolv/res_debug.h: Likewise.
  56531. * resolv/tst-inet_ntop.c: Likewise.
  56532. * setjmp/bug269-setjmp.c: Likewise.
  56533. * soft-fp/extended.h: Likewise.
  56534. * soft-fp/op-1.h: Likewise.
  56535. * soft-fp/op-2.h: Likewise.
  56536. * soft-fp/op-4.h: Likewise.
  56537. * soft-fp/op-8.h: Likewise.
  56538. * soft-fp/testit.c: Likewise.
  56539. * stdio-common/bug16.c: Likewise.
  56540. * stdlib/random.c: Likewise.
  56541. * sunrpc/rpcsvc/rquota.x: Likewise.
  56542. * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
  56543. * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
  56544. * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
  56545. * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
  56546. * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
  56547. * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
  56548. * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
  56549. * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
  56550. * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
  56551. * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
  56552. * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
  56553. * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
  56554. * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
  56555. * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
  56556. * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
  56557. * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
  56558. * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
  56559. * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
  56560. * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
  56561. * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
  56562. * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
  56563. * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
  56564. * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
  56565. * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
  56566. * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
  56567. * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
  56568. * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
  56569. * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
  56570. * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
  56571. * sysdeps/ieee754/s_lib_version.c: Likewise.
  56572. * sysdeps/mach/hurd/check_fds.c: Likewise.
  56573. * sysdeps/mach/hurd/getsockname.c: Likewise.
  56574. * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
  56575. * sysdeps/mach/hurd/recvfrom.c: Likewise.
  56576. * sysdeps/powerpc/bits/link.h: Likewise.
  56577. * sysdeps/powerpc/dl-procinfo.c: Likewise.
  56578. * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
  56579. * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
  56580. * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
  56581. * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
  56582. * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
  56583. * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
  56584. * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
  56585. * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
  56586. * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
  56587. * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
  56588. * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
  56589. * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
  56590. * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
  56591. * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
  56592. * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
  56593. * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
  56594. * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
  56595. * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
  56596. * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
  56597. * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
  56598. * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
  56599. * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
  56600. * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
  56601. * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
  56602. * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
  56603. * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
  56604. * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
  56605. * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
  56606. * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
  56607. * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
  56608. * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
  56609. * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
  56610. * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
  56611. * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
  56612. * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
  56613. * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
  56614. * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
  56615. * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
  56616. * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
  56617. * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
  56618. * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
  56619. * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
  56620. * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
  56621. * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
  56622. * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
  56623. * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
  56624. * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
  56625. * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
  56626. * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
  56627. * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
  56628. * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
  56629. * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
  56630. * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
  56631. * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
  56632. * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
  56633. * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
  56634. * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
  56635. * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
  56636. * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
  56637. * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
  56638. * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
  56639. * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
  56640. * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
  56641. * sysdeps/powerpc/sysdep.h: Likewise.
  56642. * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
  56643. * sysdeps/s390/s390-64/sub_n.S: Likewise.
  56644. * sysdeps/sh/dl-trampoline.S: Likewise.
  56645. * sysdeps/sh/memset.S: Likewise.
  56646. * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
  56647. * sysdeps/sh/strlen.S: Likewise.
  56648. * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
  56649. * sysdeps/sparc/sparc32/dotmul.S: Likewise.
  56650. * sysdeps/sparc/sparc32/memcpy.S: Likewise.
  56651. * sysdeps/sparc/sparc32/rem.S: Likewise.
  56652. * sysdeps/sparc/sparc32/sdiv.S: Likewise.
  56653. * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
  56654. * sysdeps/sparc/sparc32/strchr.S: Likewise.
  56655. * sysdeps/sparc/sparc32/udiv.S: Likewise.
  56656. * sysdeps/sparc/sparc32/urem.S: Likewise.
  56657. * sysdeps/sparc/sparc64/add_n.S: Likewise.
  56658. * sysdeps/sparc/sparc64/memcpy.S: Likewise.
  56659. * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
  56660. * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
  56661. * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
  56662. * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
  56663. * sysdeps/sparc/sparc64/strncmp.S: Likewise.
  56664. * sysdeps/sparc/sparc64/strncpy.S: Likewise.
  56665. * sysdeps/unix/bsd/times.c: Likewise.
  56666. * sysdeps/unix/sysv/linux/a.out.h: Likewise.
  56667. * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
  56668. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
  56669. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
  56670. * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
  56671. * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
  56672. * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
  56673. * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
  56674. * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
  56675. * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
  56676. * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
  56677. * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
  56678. * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
  56679. * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
  56680. * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
  56681. * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
  56682. * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
  56683. * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
  56684. * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
  56685. * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
  56686. * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
  56687. * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
  56688. * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
  56689. * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
  56690. * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
  56691. * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
  56692. * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
  56693. * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
  56694. * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
  56695. * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
  56696. * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
  56697. * sysdeps/x86_64/strcspn.S: Likewise.
  56698. 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
  56699. * locale/C-translit.h: Revert #include <stdint.h> because this is a
  56700. generated file. Regenerate properly from gen-translit.pl.
  56701. * locale/gen-translit.pl: Add #include <stdint.h>. This generates
  56702. locale/C-translit.h.
  56703. 2013-06-05 Andreas Schwab <schwab@suse.de>
  56704. [BZ #15100]
  56705. * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
  56706. week as 6 instead of -1.
  56707. * time/tst-strptime.c (day_tests): Add test case.
  56708. 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
  56709. * sysdeps/generic/math_private.h
  56710. (libc_feholdexcept_setround_53bit): Replace with
  56711. libc_feholdsetround_53bit.
  56712. (libc_feupdateenv_53bit): Replace with
  56713. libc_feresetround_53bit.
  56714. (SET_RESTORE_ROUND_53BIT): Adjust.
  56715. 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
  56716. * string/test-strchrnul.c: Add copyright header.
  56717. * posix/tst-getaddrinfo4.c: Increase test timeout.
  56718. 2013-06-03 Carlos O'Donell <carlos@redhat.com>
  56719. [BZ #15536]
  56720. * math/libm-test.inc (MAX_EXP): Remove
  56721. (MIN_EXP): Define.
  56722. (ulp): Use MIN_EXP - MANT_DIG.
  56723. (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
  56724. 2013-05-31 Carlos O'Donell <carlos@redhat.com>
  56725. * po/be.po: Revert last change.
  56726. * po/zh_CN.po: Likewise.
  56727. * po/header.pot: Likewise.
  56728. 2013-05-31 Joseph Myers <joseph@codesourcery.com>
  56729. * Makefile ($(common-objpfx)linkobj/libc.so): Define
  56730. link-libc-deps to empty as target-specific variable.
  56731. * Makerules (link-libc-args): New variable.
  56732. (libc-for-link): Likewise.
  56733. (link-libc-deps): Likewise.
  56734. (lib%.so): Depend on $(link-libc-deps). Link with
  56735. $(link-libc-args).
  56736. (build-module): Link with $(link-libc-args).
  56737. (build-module-asneeded): Likewise.
  56738. (build-module-helper-objlist): Filter out $(link-libc-deps) from
  56739. list of objects.
  56740. ($(common-objpfx)libc.so): Define link-libc-deps to empty as
  56741. target-specific variable.
  56742. ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
  56743. $(link-libc-deps) instead of libc.so and libc_nonshared.a.
  56744. * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
  56745. libc.
  56746. * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
  56747. libc and ld.so.
  56748. ($(objpfx)libpcprofile.so): Likewise.
  56749. * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
  56750. libc_nonshared.a.
  56751. ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
  56752. * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
  56753. * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
  56754. $(link-libc-deps).
  56755. ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
  56756. * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
  56757. * login/Makefile ($(objpfx)libutil.so): Likewise.
  56758. * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
  56759. * math/Makefile ($(objpfx)libm.so): Likewise.
  56760. * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
  56761. $(objpfx)libnsl.so): Define libc-for-link as target-specific
  56762. variable instead of depending directly on libc.
  56763. * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
  56764. ($(objpfx)/libnss_test1.so): Change dependencies on libc to
  56765. $(link-libc-deps).
  56766. * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
  56767. libc.
  56768. [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
  56769. ($(objpfx)libnss_dns.so): Remove dependencies on libc.
  56770. ($(objpfx)libanl.so): Likewise.
  56771. * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
  56772. ld.so.
  56773. * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
  56774. $(link-libc-deps).
  56775. * sysdeps/i386/fpu/Makefile: Remove file.
  56776. * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
  56777. ($(objpfx)libm.so): Remove dependency on ld.so.
  56778. 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
  56779. [BZ # 15553]
  56780. * nis/yp_xdr.c (XDRMAXNAME): Define.
  56781. (XDRMAXRECORD): Define.
  56782. (xdr_domainname): Use XDRMAXNAME.
  56783. (xdr_mapname): Likewise.
  56784. (xdr_peername): Likewise.
  56785. (xdr_keydat): Use XDRMAXRECORD.
  56786. (xdr_valdat): Likewise.
  56787. 2013-05-30 Jeff Law <law@redhat.com>
  56788. [BZ #14256]
  56789. * manual/errno.texi (ESTALE): Update to account for more than
  56790. just NFS file systems.
  56791. * sysdeps/gnu/errlist.c: Regenerated.
  56792. 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
  56793. [BZ #15465]
  56794. * elf/Makefile (tests): Add tst-null-argv.
  56795. (modules-names): Add tst-null-argv-lib.
  56796. ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
  56797. (tst-null-argv-ENV): Set environment for tst-null-argv.
  56798. * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
  56799. (RTLD_PROGNAME): New macro.
  56800. * elf/tst-null-argv.c: New test case.
  56801. * elf/tst-null-argv-lib.c: Library for test case.
  56802. * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
  56803. * elf/dl-deps.c (_dl_map_object_deps): Likewise.
  56804. * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
  56805. * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
  56806. * elf/dl-init.c (call_init): Likewise.
  56807. (_dl_init): Likewise.
  56808. * elf/dl-load.c (print_search_path): Likewise.
  56809. (_dl_map_object): Likewise.
  56810. * elf/dl-lookup.c (do_lookup_x): Likewise.
  56811. (add_dependency): Likewise.
  56812. (_dl_lookup_symbol_x): Likewise.
  56813. (_dl_debug_bindings): Likewise.
  56814. * elf/dl-open.c (_dl_show_scope): Likewise.
  56815. * elf/dl-reloc.c (_dl_relocate_object): Likewise.
  56816. * elf/dl-version.c (match_symbol): Likewise.
  56817. (_dl_check_map_versions): Likewise.
  56818. * elf/rtld.c (dl_main): Likewise.
  56819. (print_unresolved): Use RTLD_PROGNAME.
  56820. (print_missing_version): Likewise.
  56821. * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
  56822. (elf_machine_rela): Likewise.
  56823. * sysdeps/powerpc/powerpc32/dl-machine.c
  56824. (__process_machine_rela): Likewise.
  56825. * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
  56826. Likewise.
  56827. * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
  56828. Likewise.
  56829. * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
  56830. Likewise.
  56831. * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
  56832. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
  56833. Likewise.
  56834. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
  56835. Likewise.
  56836. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
  56837. 2013-05-28 Carlos O'Donell <carlos@redhat.com>
  56838. * po/be.po: Add descriptive title.
  56839. * po/zh_CN.po: Likewise.
  56840. * po/header.pot: Likewise.
  56841. 2013-05-28 Mike Frysinger <vapier@gentoo.org>
  56842. * locale/programs/locarchive.c (create_archive): Inlucde fname in
  56843. error message.
  56844. (enlarge_archive): Likewise.
  56845. 2013-05-28 Ben North <ben@redfrontdoor.org>
  56846. * manual/arith.texi (frexp): It is the magnitude of the return
  56847. value which lies in [0.5, 1), not the return value itself.
  56848. 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  56849. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  56850. 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
  56851. * stdio-common/bug26.c (main): Correct fscanf template.
  56852. * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
  56853. declare _dl_skip_args.
  56854. * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
  56855. Don't declare.
  56856. * manual/platform.texi: Add missing @end deftypefun.
  56857. 2013-05-24 Joseph Myers <joseph@codesourcery.com>
  56858. [BZ #15529]
  56859. * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
  56860. bit of mantissa of 2^16382.
  56861. * math/libm-test.inc (hypot_test_data): Add more tests.
  56862. * math/libm-test.inc: Add drem and pow10 to list of tested
  56863. functions.
  56864. (pow10_test): New function.
  56865. (drem_test): Likewise.
  56866. (drem_test_tonearest): Likewise.
  56867. (drem_test_towardzero): Likewise.
  56868. (drem_test_downward): Likewise.
  56869. (drem_test_upward): Likewise.
  56870. (main): Call the new functions.
  56871. * math/libm-test.inc (finite_test_data): Remove.
  56872. (finite_test): Run tests from isfinite_test_data.
  56873. (gamma_test_data): Remove.
  56874. (gamma_test): Run tests from lgamma_test_data.
  56875. * sysdeps/i386/fpu/libm-test-ulps: Update.
  56876. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  56877. 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  56878. * manual/platform.texi: Add PowerPC PPR function set documentation.
  56879. * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
  56880. implementation.
  56881. 2013-05-24 Carlos O'Donell <carlos@redhat.com>
  56882. * math/libm-test.inc (MAX_EXP): Define.
  56883. (ULPDIFF): Define.
  56884. (ulp): New function.
  56885. (check_float_internal): Use ULPDIFF.
  56886. (cpow_test): Disable failing test.
  56887. (check_ulp): Test ulp() implementation.
  56888. (main): Call check_ulp before starting tests.
  56889. 2013-05-24 Joseph Myers <joseph@codesourcery.com>
  56890. * math/gen-libm-test.pl (generate_testfile): Do not handle
  56891. START_DATA and END_DATA.
  56892. * math/libm-test.inc (acos_test_data): Do not use START_DATA and
  56893. END_DATA.
  56894. (acos_tonearest_test_data): Likewise.
  56895. (acos_towardzero_test_data): Likewise.
  56896. (acos_downward_test_data): Likewise.
  56897. (acos_upward_test_data): Likewise.
  56898. (acosh_test_data): Likewise.
  56899. (asin_test_data): Likewise.
  56900. (asin_tonearest_test_data): Likewise.
  56901. (asin_towardzero_test_data): Likewise.
  56902. (asin_downward_test_data): Likewise.
  56903. (asin_upward_test_data): Likewise.
  56904. (asinh_test_data): Likewise.
  56905. (atan_test_data): Likewise.
  56906. (atanh_test_data): Likewise.
  56907. (atan2_test_data): Likewise.
  56908. (cabs_test_data): Likewise.
  56909. (cacos_test_data): Likewise.
  56910. (cacosh_test_data): Likewise.
  56911. (carg_test_data): Likewise.
  56912. (casin_test_data): Likewise.
  56913. (casinh_test_data): Likewise.
  56914. (catan_test_data): Likewise.
  56915. (catanh_test_data): Likewise.
  56916. (cbrt_test_data): Likewise.
  56917. (ccos_test_data): Likewise.
  56918. (ccosh_test_data): Likewise.
  56919. (ceil_test_data): Likewise.
  56920. (cexp_test_data): Likewise.
  56921. (cimag_test_data): Likewise.
  56922. (clog_test_data): Likewise.
  56923. (clog10_test_data): Likewise.
  56924. (conj_test_data): Likewise.
  56925. (copysign_test_data): Likewise.
  56926. (cos_test_data): Likewise.
  56927. (cos_tonearest_test_data): Likewise.
  56928. (cos_towardzero_test_data): Likewise.
  56929. (cos_downward_test_data): Likewise.
  56930. (cos_upward_test_data): Likewise.
  56931. (cosh_test_data): Likewise.
  56932. (cosh_tonearest_test_data): Likewise.
  56933. (cosh_towardzero_test_data): Likewise.
  56934. (cosh_downward_test_data): Likewise.
  56935. (cosh_upward_test_data): Likewise.
  56936. (cpow_test_data): Likewise.
  56937. (cproj_test_data): Likewise.
  56938. (creal_test_data): Likewise.
  56939. (csin_test_data): Likewise.
  56940. (csinh_test_data): Likewise.
  56941. (csqrt_test_data): Likewise.
  56942. (ctan_test_data): Likewise.
  56943. (ctan_tonearest_test_data): Likewise.
  56944. (ctan_towardzero_test_data): Likewise.
  56945. (ctan_downward_test_data): Likewise.
  56946. (ctan_upward_test_data): Likewise.
  56947. (ctanh_test_data): Likewise.
  56948. (ctanh_tonearest_test_data): Likewise.
  56949. (ctanh_towardzero_test_data): Likewise.
  56950. (ctanh_downward_test_data): Likewise.
  56951. (ctanh_upward_test_data): Likewise.
  56952. (erf_test_data): Likewise.
  56953. (erfc_test_data): Likewise.
  56954. (exp_test_data): Likewise.
  56955. (exp_tonearest_test_data): Likewise.
  56956. (exp_towardzero_test_data): Likewise.
  56957. (exp_downward_test_data): Likewise.
  56958. (exp_upward_test_data): Likewise.
  56959. (exp10_test_data): Likewise.
  56960. (exp2_test_data): Likewise.
  56961. (expm1_test_data): Likewise.
  56962. (fabs_test_data): Likewise.
  56963. (fdim_test_data): Likewise.
  56964. (finite_test_data): Likewise.
  56965. (floor_test_data): Likewise.
  56966. (fma_test_data): Likewise.
  56967. (fma_towardzero_test_data): Likewise.
  56968. (fma_downward_test_data): Likewise.
  56969. (fma_upward_test_data): Likewise.
  56970. (fmax_test_data): Likewise.
  56971. (fmin_test_data): Likewise.
  56972. (fmod_test_data): Likewise.
  56973. (fpclassify_test_data): Likewise.
  56974. (frexp_test_data): Likewise.
  56975. (gamma_test_data): Likewise.
  56976. (hypot_test_data): Likewise.
  56977. (ilogb_test_data): Likewise.
  56978. (isfinite_test_data): Likewise.
  56979. (isgreater_test_data): Likewise.
  56980. (isgreaterequal_test_data): Likewise.
  56981. (isinf_test_data): Likewise.
  56982. (isless_test_data): Likewise.
  56983. (islessequal_test_data): Likewise.
  56984. (islessgreater_test_data): Likewise.
  56985. (isnan_test_data): Likewise.
  56986. (isnormal_test_data): Likewise.
  56987. (issignaling_test_data): Likewise.
  56988. (isunordered_test_data): Likewise.
  56989. (j0_test_data): Likewise.
  56990. (j1_test_data): Likewise.
  56991. (jn_test_data): Likewise.
  56992. (ldexp_test_data): Likewise.
  56993. (lgamma_test_data): Likewise.
  56994. (lrint_test_data): Likewise.
  56995. (lrint_tonearest_test_data): Likewise.
  56996. (lrint_towardzero_test_data): Likewise.
  56997. (lrint_downward_test_data): Likewise.
  56998. (lrint_upward_test_data): Likewise.
  56999. (llrint_test_data): Likewise.
  57000. (llrint_tonearest_test_data): Likewise.
  57001. (llrint_towardzero_test_data): Likewise.
  57002. (llrint_downward_test_data): Likewise.
  57003. (llrint_upward_test_data): Likewise.
  57004. (log_test_data): Likewise.
  57005. (log10_test_data): Likewise.
  57006. (log1p_test_data): Likewise.
  57007. (log2_test_data): Likewise.
  57008. (logb_test_data): Likewise.
  57009. (logb_downward_test_data): Likewise.
  57010. (lround_test_data): Likewise.
  57011. (llround_test_data): Likewise.
  57012. (modf_test_data): Likewise.
  57013. (nearbyint_test_data): Likewise.
  57014. (nextafter_test_data): Likewise.
  57015. (nexttoward_test_data): Likewise.
  57016. (pow_test_data): Likewise.
  57017. (pow_tonearest_test_data): Likewise.
  57018. (pow_towardzero_test_data): Likewise.
  57019. (pow_downward_test_data): Likewise.
  57020. (pow_upward_test_data): Likewise.
  57021. (remainder_test_data): Likewise.
  57022. (remainder_tonearest_test_data): Likewise.
  57023. (remainder_towardzero_test_data): Likewise.
  57024. (remainder_downward_test_data): Likewise.
  57025. (remainder_upward_test_data): Likewise.
  57026. (remquo_test_data): Likewise.
  57027. (rint_test_data): Likewise.
  57028. (rint_tonearest_test_data): Likewise.
  57029. (rint_towardzero_test_data): Likewise.
  57030. (rint_downward_test_data): Likewise.
  57031. (rint_upward_test_data): Likewise.
  57032. (round_test_data): Likewise.
  57033. (scalb_test_data): Likewise.
  57034. (scalbn_test_data): Likewise.
  57035. (scalbln_test_data): Likewise.
  57036. (signbit_test_data): Likewise.
  57037. (sin_test_data): Likewise.
  57038. (sin_tonearest_test_data): Likewise.
  57039. (sin_towardzero_test_data): Likewise.
  57040. (sin_downward_test_data): Likewise.
  57041. (sin_upward_test_data): Likewise.
  57042. (sincos_test_data): Likewise.
  57043. (sinh_test_data): Likewise.
  57044. (sinh_tonearest_test_data): Likewise.
  57045. (sinh_towardzero_test_data): Likewise.
  57046. (sinh_downward_test_data): Likewise.
  57047. (sinh_upward_test_data): Likewise.
  57048. (sqrt_test_data): Likewise.
  57049. (tan_test_data): Likewise.
  57050. (tan_tonearest_test_data): Likewise.
  57051. (tan_towardzero_test_data): Likewise.
  57052. (tan_downward_test_data): Likewise.
  57053. (tan_upward_test_data): Likewise.
  57054. (tanh_test_data): Likewise.
  57055. (tgamma_test_data): Likewise.
  57056. (trunc_test_data): Likewise.
  57057. (y0_test_data): Likewise.
  57058. (y1_test_data): Likewise.
  57059. (yn_test_data): Likewise.
  57060. (significand_test_data): Likewise.
  57061. * math/gen-libm-test.pl (@functions): Remove variable.
  57062. (generate_testfile): Don't handle START and END lines.
  57063. * math/libm-test.inc (START): New macro.
  57064. (END): Likewise.
  57065. (END_COMPLEX): Likewise.
  57066. (acos_test): Use END macro without arguments.
  57067. (acos_test_tonearest): Likewise.
  57068. (acos_test_towardzero): Likewise.
  57069. (acos_test_downward): Likewise.
  57070. (acos_test_upward): Likewise.
  57071. (acosh_test): Likewise.
  57072. (asin_test): Likewise.
  57073. (asin_test_tonearest): Likewise.
  57074. (asin_test_towardzero): Likewise.
  57075. (asin_test_downward): Likewise.
  57076. (asin_test_upward): Likewise.
  57077. (asinh_test): Likewise.
  57078. (atan_test): Likewise.
  57079. (atanh_test): Likewise.
  57080. (atan2_test): Likewise.
  57081. (cabs_test): Likewise.
  57082. (cacos_test): Use END_COMPLEX macro without arguments.
  57083. (cacosh_test): Likewise.
  57084. (carg_test): Use END macro without arguments.
  57085. (casin_test): Use END_COMPLEX macro without arguments.
  57086. (casinh_test): Likewise.
  57087. (catan_test): Likewise.
  57088. (catanh_test): Likewise.
  57089. (cbrt_test): Use END macro without arguments.
  57090. (ccos_test): Use END_COMPLEX macro without arguments.
  57091. (ccosh_test): Likewise.
  57092. (ceil_test): Use END macro without arguments.
  57093. (cexp_test): Use END_COMPLEX macro without arguments.
  57094. (cimag_test): Use END macro without arguments.
  57095. (clog_test): Use END_COMPLEX macro without arguments.
  57096. (clog10_test): Likewise.
  57097. (conj_test): Likewise.
  57098. (copysign_test): Use END macro without arguments.
  57099. (cos_test): Likewise.
  57100. (cos_test_tonearest): Likewise.
  57101. (cos_test_towardzero): Likewise.
  57102. (cos_test_downward): Likewise.
  57103. (cos_test_upward): Likewise.
  57104. (cosh_test): Likewise.
  57105. (cosh_test_tonearest): Likewise.
  57106. (cosh_test_towardzero): Likewise.
  57107. (cosh_test_downward): Likewise.
  57108. (cosh_test_upward): Likewise.
  57109. (cpow_test): Use END_COMPLEX macro without arguments.
  57110. (cproj_test): Likewise.
  57111. (creal_test): Use END macro without arguments.
  57112. (csin_test): Use END_COMPLEX macro without arguments.
  57113. (csinh_test): Likewise.
  57114. (csqrt_test): Likewise.
  57115. (ctan_test): Likewise.
  57116. (ctan_test_tonearest): Likewise.
  57117. (ctan_test_towardzero): Likewise.
  57118. (ctan_test_downward): Likewise.
  57119. (ctan_test_upward): Likewise.
  57120. (ctanh_test): Likewise.
  57121. (ctanh_test_tonearest): Likewise.
  57122. (ctanh_test_towardzero): Likewise.
  57123. (ctanh_test_downward): Likewise.
  57124. (ctanh_test_upward): Likewise.
  57125. (erf_test): Use END macro without arguments.
  57126. (erfc_test): Likewise.
  57127. (exp_test): Likewise.
  57128. (exp_test_tonearest): Likewise.
  57129. (exp_test_towardzero): Likewise.
  57130. (exp_test_downward): Likewise.
  57131. (exp_test_upward): Likewise.
  57132. (exp10_test): Likewise.
  57133. (exp2_test): Likewise.
  57134. (expm1_test): Likewise.
  57135. (fabs_test): Likewise.
  57136. (fdim_test): Likewise.
  57137. (finite_test): Likewise.
  57138. (floor_test): Likewise.
  57139. (fma_test): Likewise.
  57140. (fma_test_towardzero): Likewise.
  57141. (fma_test_downward): Likewise.
  57142. (fma_test_upward): Likewise.
  57143. (fmax_test): Likewise.
  57144. (fmin_test): Likewise.
  57145. (fmod_test): Likewise.
  57146. (fpclassify_test): Likewise.
  57147. (frexp_test): Likewise.
  57148. (gamma_test): Likewise.
  57149. (hypot_test): Likewise.
  57150. (ilogb_test): Likewise.
  57151. (isfinite_test): Likewise.
  57152. (isgreater_test): Likewise.
  57153. (isgreaterequal_test): Likewise.
  57154. (isinf_test): Likewise.
  57155. (isless_test): Likewise.
  57156. (islessequal_test): Likewise.
  57157. (islessgreater_test): Likewise.
  57158. (isnan_test): Likewise.
  57159. (isnormal_test): Likewise.
  57160. (issignaling_test): Likewise.
  57161. (isunordered_test): Likewise.
  57162. (j0_test): Likewise.
  57163. (j1_test): Likewise.
  57164. (jn_test): Likewise.
  57165. (ldexp_test): Likewise.
  57166. (lgamma_test): Likewise.
  57167. (lrint_test): Likewise.
  57168. (lrint_test_tonearest): Likewise.
  57169. (lrint_test_towardzero): Likewise.
  57170. (lrint_test_downward): Likewise.
  57171. (lrint_test_upward): Likewise.
  57172. (llrint_test): Likewise.
  57173. (llrint_test_tonearest): Likewise.
  57174. (llrint_test_towardzero): Likewise.
  57175. (llrint_test_downward): Likewise.
  57176. (llrint_test_upward): Likewise.
  57177. (log_test): Likewise.
  57178. (log10_test): Likewise.
  57179. (log1p_test): Likewise.
  57180. (log2_test): Likewise.
  57181. (logb_test): Likewise.
  57182. (logb_test_downward): Likewise.
  57183. (lround_test): Likewise.
  57184. (llround_test): Likewise.
  57185. (modf_test): Likewise.
  57186. (nearbyint_test): Likewise.
  57187. (nextafter_test): Likewise.
  57188. (nexttoward_test): Likewise.
  57189. (pow_test): Likewise.
  57190. (pow_test_tonearest): Likewise.
  57191. (pow_test_towardzero): Likewise.
  57192. (pow_test_downward): Likewise.
  57193. (pow_test_upward): Likewise.
  57194. (remainder_test): Likewise.
  57195. (remainder_test_tonearest): Likewise.
  57196. (remainder_test_towardzero): Likewise.
  57197. (remainder_test_downward): Likewise.
  57198. (remainder_test_upward): Likewise.
  57199. (remquo_test): Likewise.
  57200. (rint_test): Likewise.
  57201. (rint_test_tonearest): Likewise.
  57202. (rint_test_towardzero): Likewise.
  57203. (rint_test_downward): Likewise.
  57204. (rint_test_upward): Likewise.
  57205. (round_test): Likewise.
  57206. (scalb_test): Likewise.
  57207. (scalbn_test): Likewise.
  57208. (scalbln_test): Likewise.
  57209. (signbit_test): Likewise.
  57210. (sin_test): Likewise.
  57211. (sin_test_tonearest): Likewise.
  57212. (sin_test_towardzero): Likewise.
  57213. (sin_test_downward): Likewise.
  57214. (sin_test_upward): Likewise.
  57215. (sincos_test): Likewise.
  57216. (sinh_test): Likewise.
  57217. (sinh_test_tonearest): Likewise.
  57218. (sinh_test_towardzero): Likewise.
  57219. (sinh_test_downward): Likewise.
  57220. (sinh_test_upward): Likewise.
  57221. (sqrt_test): Likewise.
  57222. (tan_test): Likewise.
  57223. (tan_test_tonearest): Likewise.
  57224. (tan_test_towardzero): Likewise.
  57225. (tan_test_downward): Likewise.
  57226. (tan_test_upward): Likewise.
  57227. (tanh_test): Likewise.
  57228. (tgamma_test): Likewise.
  57229. (trunc_test): Likewise.
  57230. (y0_test): Likewise.
  57231. (y1_test): Likewise.
  57232. (yn_test): Likewise.
  57233. (significand_test): Likewise.
  57234. 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
  57235. [BZ #15381]
  57236. * libio/genops.c (_IO_no_init): Initialize wide struct info.
  57237. 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
  57238. [BZ #14894]
  57239. * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
  57240. __ppc_mdoio and __ppc_mdoom.
  57241. * manual/platform.texi: Document new functions __ppc_yield,
  57242. __ppc_mdoio and __ppc_mdoom.
  57243. 2013-05-22 Carlos O'Donell <carlos@redhat.com>
  57244. * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
  57245. (main): Mention "tls" pseudo-hwcap is legacy.
  57246. * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
  57247. 2013-05-22 Joseph Myers <joseph@codesourcery.com>
  57248. * math/gen-libm-test.pl (parse_args): Output only string of
  57249. arguments as text for test name, not full call or descriptions of
  57250. tests for extra outputs.
  57251. (generate_testfile): Do not pass function name to parse_args.
  57252. Generate this_func variable from START.
  57253. * math/libm-test.inc (struct test_f_f_data): Rename test_name
  57254. field to arg_str.
  57255. (struct test_ff_f_data): Likewise.
  57256. (test_ff_f_data_nexttoward): Likewise.
  57257. (struct test_fi_f_data): Likewise.
  57258. (struct test_fl_f_data): Likewise.
  57259. (struct test_if_f_data): Likewise.
  57260. (struct test_fff_f_data): Likewise.
  57261. (struct test_c_f_data): Likewise.
  57262. (struct test_f_f1_data): Likewise. Remove field extra_name.
  57263. (struct test_fF_f1_data): Likewise.
  57264. (struct test_ffI_f1_data): Likewise.
  57265. (struct test_c_c_data): Rename test_name field to arg_str.
  57266. (struct test_cc_c_data): Likewise.
  57267. (struct test_f_i_data): Likewise.
  57268. (struct test_ff_i_data): Likewise.
  57269. (struct test_f_l_data): Likewise.
  57270. (struct test_f_L_data): Likewise.
  57271. (struct test_fFF_11_data): Likewise. Remove fields extra1_name
  57272. and extra2_name.
  57273. (COMMON_TEST_SETUP): New macro.
  57274. (EXTRA_OUTPUT_TEST_SETUP): Likewise.
  57275. (COMMON_TEST_CLEANUP): Likewise.
  57276. (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
  57277. (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
  57278. macros.
  57279. (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
  57280. (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
  57281. macros.
  57282. (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
  57283. (RUN_TEST_fff_f): Take argument string. Call new setup and
  57284. cleanup macros.
  57285. (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
  57286. (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
  57287. macros.
  57288. (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
  57289. (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
  57290. macros.
  57291. (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
  57292. (RUN_TEST_fF_f1): Take argument string. Call new setup and
  57293. cleanup macros.
  57294. (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
  57295. (RUN_TEST_fI_f1): Take argument string. Call new setup and
  57296. cleanup macros.
  57297. (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
  57298. (RUN_TEST_ffI_f1): Take argument string. Call new setup and
  57299. cleanup macros.
  57300. (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
  57301. (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
  57302. macros.
  57303. (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
  57304. (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
  57305. macros.
  57306. (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
  57307. (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
  57308. macros.
  57309. (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
  57310. (RUN_TEST_f_i_tg): Take argument string. Call new setup and
  57311. cleanup macros.
  57312. (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
  57313. (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
  57314. cleanup macros.
  57315. (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
  57316. (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
  57317. macros.
  57318. (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
  57319. (RUN_TEST_f_b_tg): Take argument string. Call new setup and
  57320. cleanup macros.
  57321. (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
  57322. (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
  57323. macros.
  57324. (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
  57325. (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
  57326. macros.
  57327. (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
  57328. (RUN_TEST_fFF_11): Take argument string. Call new setup and
  57329. cleanup macros.
  57330. (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
  57331. 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
  57332. * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
  57333. to _sifields.sigfault.
  57334. (si_addr_lsb): Define new macro.
  57335. (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
  57336. * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
  57337. * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
  57338. 2013-05-03 Carlos O'Donell <carlos at redhat.com>
  57339. [BZ #15441]
  57340. * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
  57341. returns -1.
  57342. (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
  57343. null return -1.
  57344. * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
  57345. loading the domain.
  57346. 2013-05-22 Joseph Myers <joseph@codesourcery.com>
  57347. * math/gen-libm-test.pl (parse_args): Do not include expected
  57348. result in test name.
  57349. * sysdeps/i386/fpu/libm-test-ulps: Update test names.
  57350. * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
  57351. * sysdeps/s390/fpu/libm-test-ulps: Likewise.
  57352. * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
  57353. * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
  57354. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  57355. 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
  57356. * benchtests/Makefile: Sort function entries.
  57357. * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
  57358. tanh, asinh, acosh, atanh.
  57359. * benchtests/acos-inputs: New file.
  57360. * benchtests/acosh-inputs: New file.
  57361. * benchtests/asin-inputs: New file.
  57362. * benchtests/asinh-inputs: New file.
  57363. * benchtests/atanh-inputs: New file.
  57364. * benchtests/cosh-inputs: New file.
  57365. * benchtests/log-inputs: New file.
  57366. * benchtests/sinh-inputs: New file.
  57367. * benchtests/tanh-inputs: New file.
  57368. 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
  57369. [BZ #15339]
  57370. * posix/tst-getaddrinfo4.c: New test.
  57371. * posix/Makefile (tests): Add it.
  57372. 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
  57373. [BZ #15339]
  57374. * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
  57375. when no services were used.
  57376. * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
  57377. Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
  57378. 2013-05-21 Andreas Schwab <schwab@suse.de>
  57379. [BZ #15014]
  57380. * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
  57381. [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
  57382. successful.
  57383. * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
  57384. redundant variable declarations and reallocation of buffer when
  57385. parsing as IPv6 address. Always set NSS status when called from
  57386. reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
  57387. buffer too small. Correct computation of needed size.
  57388. * nss/Makefile (tests): Add test-digits-dots.
  57389. * nss/test-digits-dots.c: New test.
  57390. 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
  57391. * benchtests/Makefile: Remove instructions for adding
  57392. benchmark tests.
  57393. * benchtests/README: New file to explain how to execute and
  57394. enhance the benchmark tests.
  57395. 2013-05-21 Andreas Schwab <schwab@suse.de>
  57396. [BZ #15493]
  57397. * setjmp/Makefile (tests): Add tst-sigsetjmp.
  57398. * setjmp/tst-sigsetjmp.c: New test.
  57399. 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
  57400. * sysdeps/x86_64/memset.S (memset): New implementation.
  57401. (__bzero): Likewise.
  57402. (__memset_tail): New function.
  57403. 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
  57404. * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
  57405. * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
  57406. __memcpy_sse2_unaligned ifunc selection.
  57407. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
  57408. Add memcpy-sse2-unaligned.S.
  57409. * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
  57410. Add: __memcpy_sse2_unaligned.
  57411. 2013-05-19 Joseph Myers <joseph@codesourcery.com>
  57412. [BZ #15490]
  57413. * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
  57414. math_force_eval before restoring floating-point envrionment.
  57415. * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
  57416. * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
  57417. Likewise.
  57418. * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
  57419. <math_private.h>.
  57420. (__nearbyintl): Use math_force_eval before restoring
  57421. floating-point environment.
  57422. * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
  57423. * math/gen-libm-test.pl (special_functions): Remove.
  57424. (parse_args): Don't handle TEST_extra. Handle functions with no
  57425. return value.
  57426. * math/libm-test.inc (struct test_sincos_data): Replace with
  57427. struct test_fFF_11_data.
  57428. (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
  57429. (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
  57430. (sincos_test_data): Change element type to struct
  57431. test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
  57432. (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
  57433. RUN_TEST_LOOP_sincos.
  57434. * math/README.libm-test: Don't mention special handling of
  57435. individual functions.
  57436. * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
  57437. * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
  57438. * sysdeps/s390/fpu/libm-test-ulps: Likewise.
  57439. * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
  57440. * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
  57441. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  57442. * math/gen-libm-test.pl (get_variable): Remove function.
  57443. (parse_args): Don't show pointer parameters to call in test
  57444. names. Use "extra output N" in test names for extra outputs
  57445. rather than naming variables.
  57446. 2013-05-18 Joseph Myers <joseph@codesourcery.com>
  57447. [BZ #15488]
  57448. * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
  57449. __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
  57450. * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
  57451. double tests.
  57452. * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
  57453. disable.
  57454. (do_test) [NO_LONG_DOUBLE]: Do not disable call to
  57455. check_long_double.
  57456. * math/gen-libm-test.pl (@tests): Remove variable.
  57457. ($count): Likewise.
  57458. (new_test): Remove function.
  57459. (show_exceptions): New function.
  57460. (special_functions): Use show_exceptions instead of new_test.
  57461. (parse_args): Likewise.
  57462. (generate_testfile): Pass only function name in generated call to
  57463. print_max_error or print_complex_max_error.
  57464. (get_ulps): Do not handle complex tests specially.
  57465. (output_test): Rename to ...
  57466. (get_all_ulps_for_test): ... this. Return a string rather than
  57467. printing to a file. Require ulps to be present.
  57468. (output_ulps): Generate arrays rather than #defines.
  57469. * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
  57470. (struct ulp_data): New type.
  57471. (BUILD_COMPLEX_ULP): Remove macro.
  57472. (compare_ulp_data): New function.
  57473. (find_ulps): Likewise.
  57474. (find_test_ulps): Likewise.
  57475. (find_function_ulps): Likewise.
  57476. (find_complex_function_ulps): Likewise.
  57477. (print_max_error): Determine allowed ulps using
  57478. find_function_ulps.
  57479. (print_complex_max_error): Determine allowed ulps using
  57480. find_complex_function_ulps.
  57481. (check_float_internal): Determine max ulps using find_test_ulps.
  57482. (check_float): Do not take max_ulp parameter. Update call to
  57483. check_float_internal.
  57484. (check_complex): Likewise.
  57485. (check_int): Do not take max_ulp parameter.
  57486. (check_long): Likewise.
  57487. (check_bool): Likewise.
  57488. (check_longlong): Likewise.
  57489. (struct test_f_f_data): Remove max_ulp field.
  57490. (struct test_ff_f_data): Likewise.
  57491. (struct test_ff_f_data_nexttoward): Likewise.
  57492. (struct test_fi_f_data): Likewise.
  57493. (struct test_fl_f_data): Likewise.
  57494. (struct test_if_f_data): Likewise.
  57495. (struct test_fff_f_data): Likewise.
  57496. (struct test_c_f_data): Likewise.
  57497. (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
  57498. (struct test_fF_f1_data): Likewise.
  57499. (struct test_ffI_f1_data): Likewise.
  57500. (struct test_c_c_data): Remove max_ulp field.
  57501. (struct test_cc_c_data): Likewise.
  57502. (struct test_f_i_data): Likewise.
  57503. (struct test_ff_i_data): Likewise.
  57504. (struct test_f_l_data): Likewise.
  57505. (struct test_f_L_data): Likewise.
  57506. (struct test_sincos_data): Likewise.
  57507. (RUN_TEST_f_f): Do not handle ulps.
  57508. (RUN_TEST_LOOP_f_f): Likewise.
  57509. (RUN_TEST_2_f): Likewise.
  57510. (RUN_TEST_LOOP_2_f): Likewise.
  57511. (RUN_TEST_fff_f): Likewise.
  57512. (RUN_TEST_LOOP_fff_f): Likewise.
  57513. (RUN_TEST_c_f): Likewise.
  57514. (RUN_TEST_LOOP_c_f): Likewise.
  57515. (RUN_TEST_f_f1): Likewise.
  57516. (RUN_TEST_LOOP_f_f1): Likewise.
  57517. (RUN_TEST_fF_f1): Likewise.
  57518. (RUN_TEST_LOOP_fF_f1): Likewise.
  57519. (RUN_TEST_fI_f1): Likewise.
  57520. (RUN_TEST_LOOP_fI_f1): Likewise.
  57521. (RUN_TEST_ffI_f1): Likewise.
  57522. (RUN_TEST_LOOP_ffI_f1): Likewise.
  57523. (RUN_TEST_c_c): Likewise.
  57524. (RUN_TEST_LOOP_c_c): Likewise.
  57525. (RUN_TEST_cc_c): Likewise.
  57526. (RUN_TEST_LOOP_cc_c): Likewise.
  57527. (RUN_TEST_f_i): Likewise.
  57528. (RUN_TEST_LOOP_f_i): Likewise.
  57529. (RUN_TEST_f_i_tg): Likewise.
  57530. (RUN_TEST_LOOP_f_i_tg): Likewise.
  57531. (RUN_TEST_ff_i_tg): Likewise.
  57532. (RUN_TEST_LOOP_ff_i_tg): Likewise.
  57533. (RUN_TEST_f_b): Likewise.
  57534. (RUN_TEST_LOOP_f_b): Likewise.
  57535. (RUN_TEST_f_b_tg): Likewise.
  57536. (RUN_TEST_LOOP_f_b_tg): Likewise.
  57537. (RUN_TEST_f_l): Likewise.
  57538. (RUN_TEST_LOOP_f_l): Likewise.
  57539. (RUN_TEST_f_L): Likewise.
  57540. (RUN_TEST_LOOP_f_L): Likewise.
  57541. (RUN_TEST_sincos): Likewise.
  57542. (RUN_TEST_LOOP_sincos): Likewise.
  57543. 2013-05-17 Joseph Myers <joseph@codesourcery.com>
  57544. [BZ #15480]
  57545. [BZ #15485]
  57546. * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
  57547. main case of finite arguments, set rounding mode to FE_TONEAREST
  57548. and discard exceptions.
  57549. * math/libm-test.inc (remainder_test_data): Disallow "inexact"
  57550. exceptions.
  57551. (remainder_tonearest_test_data): New variable.
  57552. (remainder_test_tonearest): New function.
  57553. (remainder_towardzero_test_data): New variable.
  57554. (remainder_test_towardzero): New function.
  57555. (remainder_downward_test_data): New variable.
  57556. (remainder_test_downward): New function.
  57557. (remainder_upward_test_data): New variable.
  57558. (remainder_test_upward): New function.
  57559. (main): Call the new test functions.
  57560. * math/libm-test.inc (struct test_f_f1_data): Remove field
  57561. extra_init.
  57562. (struct test_fF_f1_data): Likewise.
  57563. (struct test_ffI_f1_data): Likewise.
  57564. (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
  57565. based on value of EXTRA_EXPECTED.
  57566. (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
  57567. (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
  57568. EXTRA_VAR based on value of EXTRA_EXPECTED.
  57569. (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
  57570. (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
  57571. EXTRA_VAR based on value of EXTRA_EXPECTED.
  57572. (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
  57573. (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
  57574. EXTRA_VAR based on value of EXTRA_EXPECTED.
  57575. (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
  57576. * math/gen-libm-test.pl (parse_args): Don't output initializers
  57577. for extra output values.
  57578. * math/libm-test.inc (check_int): Expect result to be exactly
  57579. equal to expected value and do not handle ulps.
  57580. (check_long): Likewise.
  57581. (check_longlong): Likewise.
  57582. * math/libm-test.inc (ceil_test_data): Test for "inexact"
  57583. exceptions.
  57584. (cimag_test_data): Likewise.
  57585. (conj_test_data): Likewise.
  57586. (copysign_test_data): Likewise.
  57587. (cproj_test_data): Likewise.
  57588. (creal_test_data): Likewise.
  57589. (fabs_test_data): Likewise.
  57590. (fdim_test_data): Likewise.
  57591. (finite_test_data): Likewise.
  57592. (floor_test_data): Likewise.
  57593. (fmax_test_data): Likewise.
  57594. (fmin_test_data): Likewise.
  57595. (fmod_test_data): Likewise.
  57596. (fpclassify_test_data): Likewise.
  57597. (frexp_test_data): Likewise.
  57598. (ilogb_test_data): Likewise.
  57599. (isfinite_test_data): Likewise.
  57600. (isgreater_test_data): Likewise.
  57601. (isgreaterequal_test_data): Likewise.
  57602. (isinf_test_data): Likewise.
  57603. (isless_test_data): Likewise.
  57604. (islessequal_test_data): Likewise.
  57605. (islessgreater_test_data): Likewise.
  57606. (isnan_test_data): Likewise.
  57607. (isnormal_test_data): Likewise.
  57608. (issignaling_test_data): Likewise.
  57609. (isunordered_test_data): Likewise.
  57610. (ldexp_test_data): Likewise.
  57611. (lrint_test_data): Likewise.
  57612. (lrint_test_data) [TEST_FLOAT]: Disable one test.
  57613. (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
  57614. (lrint_tonearest_test_data): Test for "inexact" exceptions.
  57615. (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
  57616. (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
  57617. (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
  57618. test input.
  57619. (lrint_towardzero_test_data): Test for "inexact" exceptions.
  57620. (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
  57621. (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
  57622. (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
  57623. that test input.
  57624. (lrint_downward_test_data): Test for "inexact" exceptions.
  57625. (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
  57626. (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
  57627. (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
  57628. test input.
  57629. (lrint_upward_test_data): Test for "inexact" exceptions.
  57630. (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
  57631. test input.
  57632. (llrint_test_data): Test for "inexact" exceptions.
  57633. (llrint_test_data) [TEST_FLOAT]: Disable one test.
  57634. (llrint_tonearest_test_data): Test for "inexact" exceptions.
  57635. (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
  57636. (llrint_towardzero_test_data): Test for "inexact" exceptions.
  57637. (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
  57638. (llrint_downward_test_data): Test for "inexact" exceptions.
  57639. (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
  57640. (llrint_upward_test_data): Test for "inexact" exceptions.
  57641. (logb_test_data): Likewise.
  57642. (logb_downward_test_data): Likewise.
  57643. (nextafter_test_data): Likewise.
  57644. (nexttoward_test_data): Likewise.
  57645. (remainder_test_data): Likewise.
  57646. (remquo_test_data): Likewise.
  57647. (scalbn_test_data): Likewise.
  57648. (scalbln_test_data): Likewise.
  57649. (signbit_test_data): Likewise.
  57650. (sqrt_test_data): Likewise.
  57651. (significand_test_data): Likewise.
  57652. 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
  57653. [BZ #15424]
  57654. * benchtests/bench-modf.c (struct args): Mark arg0 as
  57655. volatile.
  57656. * scripts/bench.pl: Mark members of struct args as volatile.
  57657. 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  57658. [BZ # 15497]
  57659. * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
  57660. negative infinity on POWER6 or lower.
  57661. * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
  57662. 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
  57663. [BZ #15442]
  57664. * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
  57665. (_FP_FRAC_SNANP_SEMIRAW): Likewise.
  57666. (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
  57667. (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
  57668. (_FP_SETQNAN): New macro.
  57669. (_FP_SETQNAN_SEMIRAW): Likewise.
  57670. (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
  57671. (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
  57672. (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
  57673. (FP_EXTEND): Use _FP_FRAC_SNANP.
  57674. (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
  57675. * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
  57676. into account.
  57677. * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
  57678. New macro.
  57679. * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
  57680. Likewise.
  57681. 2013-05-16 Joseph Myers <joseph@codesourcery.com>
  57682. * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
  57683. with DIVIDE_BY_ZERO_EXCEPTION.
  57684. (gamma_test_data): Likewise.
  57685. (lgamma_test_data): Likewise.
  57686. (log_test_data): Likewise.
  57687. (log10_test_data): Likewise.
  57688. (log2_test_data): Likewise.
  57689. (tgamma_test_data): Likewise.
  57690. * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
  57691. (acos_test_tonearest): Likewise.
  57692. (acos_test_towardzero): Likewise.
  57693. (acos_test_downward): Likewise.
  57694. (acos_test_upward): Likewise.
  57695. (acosh_test): Likewise.
  57696. (asin_test): Likewise.
  57697. (asin_test_tonearest): Likewise.
  57698. (asin_test_towardzero): Likewise.
  57699. (asin_test_downward): Likewise.
  57700. (asin_test_upward): Likewise.
  57701. (asinh_test): Likewise.
  57702. (atan_test): Likewise.
  57703. (atanh_test): Likewise.
  57704. (atan2_test): Likewise.
  57705. (cabs_test): Likewise.
  57706. (cacos_test): Likewise.
  57707. (cacosh_test): Likewise.
  57708. (casin_test): Likewise.
  57709. (casinh_test): Likewise.
  57710. (catan_test): Likewise.
  57711. (catanh_test): Likewise.
  57712. (cbrt_test): Likewise.
  57713. (ccos_test): Likewise.
  57714. (ccosh_test): Likewise.
  57715. (cexp_test): Likewise.
  57716. (clog_test): Likewise.
  57717. (clog10_test): Likewise.
  57718. (cos_test): Likewise.
  57719. (cos_test_tonearest): Likewise.
  57720. (cos_test_towardzero): Likewise.
  57721. (cos_test_downward): Likewise.
  57722. (cos_test_upward): Likewise.
  57723. (cosh_test): Likewise.
  57724. (cosh_test_tonearest): Likewise.
  57725. (cosh_test_towardzero): Likewise.
  57726. (cosh_test_downward): Likewise.
  57727. (cosh_test_upward): Likewise.
  57728. (cpow_test): Likewise.
  57729. (csin_test): Likewise.
  57730. (csinh_test): Likewise.
  57731. (csqrt_test): Likewise.
  57732. (ctan_test): Likewise.
  57733. (ctan_test_tonearest): Likewise.
  57734. (ctan_test_towardzero): Likewise.
  57735. (ctan_test_downward): Likewise.
  57736. (ctan_test_upward): Likewise.
  57737. (ctanh_test): Likewise.
  57738. (ctanh_test_tonearest): Likewise.
  57739. (ctanh_test_towardzero): Likewise.
  57740. (ctanh_test_downward): Likewise.
  57741. (ctanh_test_upward): Likewise.
  57742. (erf_test): Likewise.
  57743. (erfc_test): Likewise.
  57744. (exp_test): Likewise.
  57745. (exp_test_tonearest): Likewise.
  57746. (exp_test_towardzero): Likewise.
  57747. (exp_test_downward): Likewise.
  57748. (exp_test_upward): Likewise.
  57749. (exp10_test): Likewise.
  57750. (exp2_test): Likewise.
  57751. (expm1_test): Likewise.
  57752. (fmod_test): Likewise.
  57753. (gamma_test): Likewise.
  57754. (hypot_test): Likewise.
  57755. (j0_test): Likewise.
  57756. (j1_test): Likewise.
  57757. (jn_test): Likewise.
  57758. (lgamma_test): Likewise.
  57759. (log_test): Likewise.
  57760. (log10_test): Likewise.
  57761. (log1p_test): Likewise.
  57762. (log2_test): Likewise.
  57763. (logb_test_downward): Likewise.
  57764. (pow_test): Likewise.
  57765. (pow_test_tonearest): Likewise.
  57766. (pow_test_towardzero): Likewise.
  57767. (pow_test_downward): Likewise.
  57768. (pow_test_upward): Likewise.
  57769. (remainder_test): Likewise.
  57770. (remquo_test): Likewise.
  57771. (sin_test): Likewise.
  57772. (sin_test_tonearest): Likewise.
  57773. (sin_test_towardzero): Likewise.
  57774. (sin_test_downward): Likewise.
  57775. (sin_test_upward): Likewise.
  57776. (sincos_test): Likewise.
  57777. (sinh_test): Likewise.
  57778. (sinh_test_tonearest): Likewise.
  57779. (sinh_test_towardzero): Likewise.
  57780. (sinh_test_downward): Likewise.
  57781. (sinh_test_upward): Likewise.
  57782. (sqrt_test): Likewise.
  57783. (tan_test): Likewise.
  57784. (tan_test_tonearest): Likewise.
  57785. (tan_test_towardzero): Likewise.
  57786. (tan_test_downward): Likewise.
  57787. (tan_test_upward): Likewise.
  57788. (tanh_test): Likewise.
  57789. (tgamma_test): Likewise.
  57790. (y0_test): Likewise.
  57791. (y1_test): Likewise.
  57792. (yn_test): Likewise.
  57793. * math/gen-libm-test.pl (adjust_arg): Remove function.
  57794. (special_function): Remove argument $in_func. Only handle
  57795. generating output for tables of tests, not inside functions.
  57796. (parse_args): Likewise.
  57797. (generate_testfile): Remove variable $in_func. Update call to
  57798. parse_args.
  57799. * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
  57800. (MINUS_ZERO_INIT): Rename macro to minus_zero.
  57801. (PLUS_INFTY_INIT): Rename macro to plus_infty.
  57802. (MINUS_INFTY_INIT): Rename macro to minus_infty.
  57803. (QNAN_VALUE_INIT): Rename macro to qnan_value.
  57804. (MAX_VALUE_INIT): Rename macro to max_value.
  57805. (MIN_VALUE_INIT): Rename macro to min_value.
  57806. (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
  57807. (plus_zero): Remove variable.
  57808. (minus_zero): Likewise.
  57809. (plus_infty): Likewise.
  57810. (minus_infty): Likewise.
  57811. (qnan_value): Likewise.
  57812. (max_value): Likewise.
  57813. (min_value): Likewise.
  57814. (min_subnorm_value): Likewise.
  57815. 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
  57816. * crypt/sha512-block.c: Add missing #include <stdint.h> due to
  57817. uint64_t or uint32_t usage.
  57818. * crypt/sha256-block.c: Likewise.
  57819. * crypt/sha256-crypt.c: Likewise.
  57820. * crypt/sha256.c: Likewise.
  57821. * crypt/sha512-block.c: Likewise.
  57822. * crypt/sha512-crypt.c: Likewise.
  57823. * crypt/sha512.c: Likewise.
  57824. * debug/backtrace-tst.c: Likewise.
  57825. * debug/pcprofiledump.c: Likewise.
  57826. * elf/cache.c: Likewise.
  57827. * elf/dl-cache.c: Likewise.
  57828. * elf/dl-misc.c: Likewise.
  57829. * elf/dl-profile.c: Likewise.
  57830. * elf/dl-support.c: Likewise.
  57831. * elf/ldconfig.c: Likewise.
  57832. * elf/sprof.c: Likewise.
  57833. * iconv/dummy-repertoire.c: Likewise.
  57834. * iconv/iconv_charmap.c: Likewise.
  57835. * iconv/skeleton.c: Likewise.
  57836. * iconvdata/8bit-generic.c: Likewise.
  57837. * iconvdata/cp737.h: Likewise.
  57838. * iconvdata/cp775.h: Likewise.
  57839. * iconvdata/ibm1008.h: Likewise.
  57840. * iconvdata/ibm1025.h: Likewise.
  57841. * iconvdata/ibm1046.h: Likewise.
  57842. * iconvdata/ibm1097.h: Likewise.
  57843. * iconvdata/ibm1112.h: Likewise.
  57844. * iconvdata/ibm1122.h: Likewise.
  57845. * iconvdata/ibm1123.h: Likewise.
  57846. * iconvdata/ibm1124.h: Likewise.
  57847. * iconvdata/ibm1129.h: Likewise.
  57848. * iconvdata/ibm1130.h: Likewise.
  57849. * iconvdata/ibm1132.h: Likewise.
  57850. * iconvdata/ibm1133.h: Likewise.
  57851. * iconvdata/ibm1137.h: Likewise.
  57852. * iconvdata/ibm1140.h: Likewise.
  57853. * iconvdata/ibm1141.h: Likewise.
  57854. * iconvdata/ibm1142.h: Likewise.
  57855. * iconvdata/ibm1143.h: Likewise.
  57856. * iconvdata/ibm1144.h: Likewise.
  57857. * iconvdata/ibm1145.h: Likewise.
  57858. * iconvdata/ibm1146.h: Likewise.
  57859. * iconvdata/ibm1147.h: Likewise.
  57860. * iconvdata/ibm1148.h: Likewise.
  57861. * iconvdata/ibm1149.h: Likewise.
  57862. * iconvdata/ibm1153.h: Likewise.
  57863. * iconvdata/ibm1154.h: Likewise.
  57864. * iconvdata/ibm1155.h: Likewise.
  57865. * iconvdata/ibm1156.h: Likewise.
  57866. * iconvdata/ibm1157.h: Likewise.
  57867. * iconvdata/ibm1158.h: Likewise.
  57868. * iconvdata/ibm1160.h: Likewise.
  57869. * iconvdata/ibm1161.h: Likewise.
  57870. * iconvdata/ibm1162.h: Likewise.
  57871. * iconvdata/ibm1163.h: Likewise.
  57872. * iconvdata/ibm1164.h: Likewise.
  57873. * iconvdata/ibm1166.h: Likewise.
  57874. * iconvdata/ibm1167.h: Likewise.
  57875. * iconvdata/ibm12712.h: Likewise.
  57876. * iconvdata/ibm1390.h: Likewise.
  57877. * iconvdata/ibm1399.h: Likewise.
  57878. * iconvdata/ibm16804.h: Likewise.
  57879. * iconvdata/ibm4517.h: Likewise.
  57880. * iconvdata/ibm4899.h: Likewise.
  57881. * iconvdata/ibm4909.h: Likewise.
  57882. * iconvdata/ibm4971.h: Likewise.
  57883. * iconvdata/ibm5347.h: Likewise.
  57884. * iconvdata/ibm803.h: Likewise.
  57885. * iconvdata/ibm856.h: Likewise.
  57886. * iconvdata/ibm901.h: Likewise.
  57887. * iconvdata/ibm902.h: Likewise.
  57888. * iconvdata/ibm9030.h: Likewise.
  57889. * iconvdata/ibm9066.h: Likewise.
  57890. * iconvdata/ibm921.h: Likewise.
  57891. * iconvdata/ibm922.h: Likewise.
  57892. * iconvdata/ibm9448.h: Likewise.
  57893. * iconvdata/isiri-3342.h: Likewise.
  57894. * iconvdata/jis0201.h: Likewise.
  57895. * include/link.h: Likewise.
  57896. * include/netdb.h: Likewise.
  57897. * inet/check_native.c: Likewise.
  57898. * inet/check_pf.c: Likewise.
  57899. * inet/getipv4sourcefilter.c: Likewise.
  57900. * inet/getnameinfo.c: Likewise.
  57901. * inet/getsourcefilter.c: Likewise.
  57902. * inet/htonl.c: Likewise.
  57903. * inet/setipv4sourcefilter.c: Likewise.
  57904. * inet/setsourcefilter.c: Likewise.
  57905. * inet/test-inet6_opt.c: Likewise.
  57906. * inet/tst-network.c: Likewise.
  57907. * locale/C-collate.c: Likewise.
  57908. * locale/C-ctype.c: Likewise.
  57909. * locale/C-time.c: Likewise.
  57910. * locale/C-translit.h: Likewise.
  57911. * locale/loadarchive.c: Likewise.
  57912. * locale/programs/3level.h: Likewise.
  57913. * locale/programs/charmap.c: Likewise.
  57914. * locale/programs/charmap.h: Likewise.
  57915. * locale/programs/ld-address.c: Likewise.
  57916. * locale/programs/ld-collate.c: Likewise.
  57917. * locale/programs/ld-ctype.c: Likewise.
  57918. * locale/programs/ld-identification.c: Likewise.
  57919. * locale/programs/ld-measurement.c: Likewise.
  57920. * locale/programs/ld-messages.c: Likewise.
  57921. * locale/programs/ld-monetary.c: Likewise.
  57922. * locale/programs/ld-name.c: Likewise.
  57923. * locale/programs/ld-numeric.c: Likewise.
  57924. * locale/programs/ld-paper.c: Likewise.
  57925. * locale/programs/ld-telephone.c: Likewise.
  57926. * locale/programs/ld-time.c: Likewise.
  57927. * locale/programs/linereader.c: Likewise.
  57928. * locale/programs/locale.c: Likewise.
  57929. * locale/programs/locarchive.c: Likewise.
  57930. * locale/programs/locfile.h: Likewise.
  57931. * locale/programs/repertoire.c: Likewise.
  57932. * locale/programs/simple-hash.c: Likewise.
  57933. * locale/programs/simple-hash.h: Likewise.
  57934. * malloc/memusage.c: Likewise.
  57935. * malloc/memusagestat.c: Likewise.
  57936. * nis/nis_defaults.c: Likewise.
  57937. * nis/nis_hash.c: Likewise.
  57938. * nis/nis_print.c: Likewise.
  57939. * nis/nis_xdr.c: Likewise.
  57940. * nscd/connections.c: Likewise.
  57941. * nscd/hstcache.c: Likewise.
  57942. * nscd/nscd_gethst_r.c: Likewise.
  57943. * nscd/nscd_getserv_r.c: Likewise.
  57944. * nscd/nscd_helper.c: Likewise.
  57945. * nscd/servicescache.c: Likewise.
  57946. * nss/makedb.c: Likewise.
  57947. * nss/nss_db/db-XXX.c: Likewise.
  57948. * nss/nss_db/db-initgroups.c: Likewise.
  57949. * nss/nss_db/db-netgrp.c: Likewise.
  57950. * nss/nss_files/files-network.c: Likewise.
  57951. * nss/nss_files/files-parse.c: Likewise.
  57952. * posix/bug-regex5.c: Likewise.
  57953. * posix/fnmatch_loop.c: Likewise.
  57954. * posix/regcomp.c: Likewise.
  57955. * posix/regexec.c: Likewise.
  57956. * posix/tst-rfc3484-2.c: Likewise.
  57957. * posix/tst-rfc3484-3.c: Likewise.
  57958. * posix/tst-rfc3484.c: Likewise.
  57959. * resolv/nss_dns/dns-canon.c: Likewise.
  57960. * resolv/nss_dns/dns-network.c: Likewise.
  57961. * resolv/res_init.c: Likewise.
  57962. * resolv/res_mkquery.c: Likewise.
  57963. * resolv/tst-aton.c: Likewise.
  57964. * stdlib/cxa_atexit.c: Likewise.
  57965. * stdlib/cxa_finalize.c: Likewise.
  57966. * stdlib/gen-fpioconst.c: Likewise.
  57967. * stdlib/strtol_l.c: Likewise.
  57968. * string/tst-endian.c: Likewise.
  57969. * sunrpc/auth_des.c: Likewise.
  57970. * sunrpc/clnt_udp.c: Likewise.
  57971. * sunrpc/rtime.c: Likewise.
  57972. * sunrpc/svcauth_des.c: Likewise.
  57973. * sunrpc/xdr.c: Likewise.
  57974. * sunrpc/xdr_intXX_t.c: Likewise.
  57975. * sunrpc/xdr_rec.c: Likewise.
  57976. * sysdeps/generic/ldconfig.h: Likewise.
  57977. * sysdeps/generic/ldsodefs.h: Likewise.
  57978. * sysdeps/generic/memusage.h: Likewise.
  57979. * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
  57980. * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
  57981. * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
  57982. * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
  57983. * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
  57984. * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
  57985. * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
  57986. * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
  57987. * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
  57988. * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
  57989. * sysdeps/posix/getaddrinfo.c: Likewise.
  57990. * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
  57991. * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
  57992. * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
  57993. * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
  57994. * sysdeps/powerpc/test-gettimebase.c: Likewise.
  57995. * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
  57996. * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
  57997. * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
  57998. * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
  57999. * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
  58000. * sysdeps/unix/sysv/linux/preadv.c: Likewise.
  58001. * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
  58002. * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
  58003. * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
  58004. * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
  58005. * sysdeps/x86_64/dl-tls.h: Likewise.
  58006. * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
  58007. * time/alt_digit.c: Likewise.
  58008. * time/era.c: Likewise.
  58009. * wcsmbs/tst-c16c32-1.c: Likewise.
  58010. 2013-05-16 Joseph Myers <joseph@codesourcery.com>
  58011. * math/libm-test.inc (struct test_sincos_data): New type.
  58012. (RUN_TEST_LOOP_sincos): New macro.
  58013. (sincos_test_data): New variable.
  58014. (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
  58015. 2013-05-16 Richard Henderson <rth@redhat.com>
  58016. * math/atest-exp2.c (LIMB64): New macro.
  58017. (CONSTSZ): New macro.
  58018. (mp_exp1, mp_exp_m1, mp_log2): New variables.
  58019. (hexdig): Move ...
  58020. (print_mpn_fp): ... to function scope.
  58021. (read_mpn_hex): Remove.
  58022. (get_log2): Remove.
  58023. (exp2_mpn): Use mp_log2.
  58024. (main): Use mp_exp1.
  58025. 2013-05-16 Joseph Myers <joseph@codesourcery.com>
  58026. * math/libm-test.inc: Remove comment about not testing "inexact"
  58027. exceptions.
  58028. (INEXACT_EXCEPTION): New macro.
  58029. (NO_INEXACT_EXCEPTION): Likewise.
  58030. (INVALID_EXCEPTION_OK): Update value.
  58031. (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
  58032. (OVERFLOW_EXCEPTION_OK): Likewise.
  58033. (UNDERFLOW_EXCEPTION_OK): Likewise.
  58034. (IGNORE_ZERO_INF_SIGN): Likewise.
  58035. (ERRNO_UNCHANGED): Likewise.
  58036. (ERRNO_EDOM): Likewise.
  58037. (ERRNO_ERANGE): Likewise.
  58038. (test_exceptions): Handle testing "inexact" exceptions.
  58039. (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
  58040. (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
  58041. (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
  58042. (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
  58043. INEXACT_EXCEPTION.
  58044. (rint_towardzero_test_data): Likewise.
  58045. (rint_downward_test_data): Likewise.
  58046. (rint_upward_test_data): Likewise.
  58047. * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
  58048. with OVERFLOW_EXCEPTION.
  58049. (exp10_test_data): Likewise.
  58050. (exp2_test_data): Likewise.
  58051. (expm1_test_data): Likewise.
  58052. (lgamma_test_data): Likewise.
  58053. (pow_test_data): Likewise.
  58054. (tgamma_test_data): Likewise.
  58055. (yn_test_data): Remove duplicate test of overflow.
  58056. * math/libm-test.inc (struct test_cc_c_data): New type.
  58057. (RUN_TEST_LOOP_cc_c): New macro.
  58058. (cpow_test_data): New variable.
  58059. (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
  58060. * math/libm-test.inc (struct test_f_L_data): New type.
  58061. (RUN_TEST_LOOP_f_L): New macro.
  58062. (llrint_test_data): New variable.
  58063. (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
  58064. (llrint_tonearest_test_data): New variable.
  58065. (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
  58066. (llrint_towardzero_test_data): New variable.
  58067. (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
  58068. (llrint_downward_test_data): New variable.
  58069. (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
  58070. (llrint_upward_test_data): New variable.
  58071. (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
  58072. (llround_test_data): New variable.
  58073. (llround_test): Run tests with RUN_TEST_LOOP_f_L.
  58074. 2013-05-13 Peter Collingbourne <pcc@google.com>
  58075. * math/atest-exp2.c (get_log2): Remove const attribute.
  58076. 2013-05-15 Joseph Myers <joseph@codesourcery.com>
  58077. * math/libm-test.inc (struct test_f_l_data): New type.
  58078. (RUN_TEST_LOOP_f_l): New macro.
  58079. (lrint_test_data): New variable.
  58080. (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
  58081. (lrint_tonearest_test_data): New variable.
  58082. (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
  58083. (lrint_towardzero_test_data): New variable.
  58084. (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
  58085. (lrint_downward_test_data): New variable.
  58086. (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
  58087. (lrint_upward_test_data): New variable.
  58088. (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
  58089. (lround_test_data): New variable.
  58090. (lround_test): Run tests with RUN_TEST_LOOP_f_l.
  58091. 2013-05-15 Peter Collingbourne <pcc@google.com>
  58092. * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
  58093. (EXTRACT_WORDS64) Use where appropriate.
  58094. (INSERT_WORDS64) Likewise.
  58095. * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
  58096. constraints with x constraints.
  58097. * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
  58098. * malloc/obstack.c (_obstack_compat): Add initializer.
  58099. 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
  58100. * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
  58101. si_trapno and add si_addr_lsb to _sifields.sigfault.
  58102. (si_trapno): Remove macro.
  58103. (si_addr_lsb): Define new macro.
  58104. (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
  58105. 2013-05-15 Joseph Myers <joseph@codesourcery.com>
  58106. * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
  58107. instead of TEST_f_l.
  58108. (llrint_test_tonearest): Likewise.
  58109. (llrint_test_towardzero): Likewise.
  58110. (llrint_test_downward): Likewise.
  58111. (llrint_test_upward): Likewise.
  58112. (llround_test): Likewise.
  58113. * math/libm-test.inc (struct test_f_i_data): Add comment.
  58114. (RUN_TEST_LOOP_f_b): New macro.
  58115. (RUN_TEST_LOOP_f_b_tg): Likewise.
  58116. (finite_test_data): New variable.
  58117. (finite_test): Run tests with RUN_TEST_LOOP_f_b.
  58118. (isfinite_test_data): New variable.
  58119. (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
  58120. (isinf_test_data): New variable.
  58121. (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
  58122. (isnan_test_data): New variable.
  58123. (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
  58124. (isnormal_test_data): New variable.
  58125. (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
  58126. (issignaling_test_data): New variable.
  58127. (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
  58128. (signbit_test_data): New variable.
  58129. (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
  58130. * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
  58131. with INVALID_EXCEPTION.
  58132. (acosh_test_data): Likewise.
  58133. (asin_test_data): Likewise.
  58134. (atanh_test_data): Likewise.
  58135. (fmod_test_data): Likewise.
  58136. (log_test_data): Likewise.
  58137. (log10_test_data): Likewise.
  58138. (log2_test_data): Likewise.
  58139. (pow_test_data): Likewise.
  58140. (sqrt_test_data): Likewise.
  58141. (y0_test_data): Likewise.
  58142. (y1_test_data): Likewise.
  58143. (yn_test_data): Likewise.
  58144. * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
  58145. function contents.
  58146. * math/libm-test.inc (struct test_ff_i_data): New type.
  58147. (RUN_TEST_LOOP_ff_i_tg): New macro.
  58148. (isgreater_test_data): New variable.
  58149. (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
  58150. (isgreaterequal_test_data): New variable.
  58151. (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
  58152. (isless_test_data): New variable.
  58153. (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
  58154. (islessequal_test_data): New variable.
  58155. (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
  58156. (islessgreater_test_data): New variable.
  58157. (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
  58158. (isunordered_test_data): New variable.
  58159. (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
  58160. 2013-05-14 David S. Miller <davem@davemloft.net>
  58161. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  58162. 2013-05-14 Joseph Myers <joseph@codesourcery.com>
  58163. * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
  58164. * math/libm-test.inc (struct test_fF_f1_data): Change type of
  58165. extra_test to int.
  58166. (struct test_f_i_data): Change type of max_ulp to int.
  58167. * math/libm-test.inc (test_ffI_f1_data): New type.
  58168. (RUN_TEST_LOOP_ffI_f1): New macro.
  58169. (remquo_test_data): New variable.
  58170. (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
  58171. * setjmp/tst-setjmp-fp.c: New file.
  58172. * setjmp/Makefile (tests): Add tst-setjmp-fp.
  58173. (link-libm): New variable.
  58174. ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
  58175. * math/libm-test.inc (struct test_f_i_data): New type.
  58176. (RUN_TEST_LOOP_f_i): New macro.
  58177. (RUN_TEST_LOOP_f_i_tg): Likewise.
  58178. (fpclassify_test_data): New variable.
  58179. (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
  58180. (ilogb_test_data): New variable.
  58181. (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
  58182. * math/libm-test.inc (scalbln_test): Correct function name in END
  58183. call.
  58184. * math/libm-test.inc (struct test_f_f1_data): Add comment.
  58185. (RUN_TEST_LOOP_fI_f1): New macro.
  58186. (frexp_test_data): New variable.
  58187. (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
  58188. * math/libm-test.inc (struct test_fF_f1_data): New type.
  58189. (RUN_TEST_LOOP_fF_f1): New macro.
  58190. (modf_test_data): New variable.
  58191. (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
  58192. * math/libm-test.inc (struct test_f_f1_data): New type.
  58193. (RUN_TEST_LOOP_f_f1): New macro.
  58194. (gamma_test_data): New variable.
  58195. (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
  58196. (lgamma_test_data): New variable.
  58197. (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
  58198. 2013-05-13 Carlos O'Donell <carlos@redhat.com>
  58199. * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
  58200. * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
  58201. (main): Comment "tls" pseudo-hwcap.
  58202. 2013-05-13 Joseph Myers <joseph@codesourcery.com>
  58203. * math/libm-test.inc (struct test_fl_f_data): New type.
  58204. (RUN_TEST_LOOP_fl_f): New variable.
  58205. (scalbln_test_data): New variable.
  58206. (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
  58207. * math/libm-test.inc (struct test_fi_f_data): New type.
  58208. (RUN_TEST_LOOP_fi_f): New macro.
  58209. (ldexp_test_data): New variable.
  58210. (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
  58211. (scalbn_test_data): New variable.
  58212. (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
  58213. * math/libm-test.inc (struct test_c_f_data): New type.
  58214. (RUN_TEST_LOOP_c_f): New macro.
  58215. (cabs_test_data): New variable.
  58216. (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
  58217. (carg_test_data): New variable.
  58218. (carg_test): Run tests with RUN_TEST_LOOP_c_f.
  58219. (cimag_test_data): New variable.
  58220. (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
  58221. (creal_test_data): New variable.
  58222. (creal_test): Run tests with RUN_TEST_LOOP_c_f.
  58223. * math/libm-test.inc (struct test_if_f_data): New type.
  58224. (RUN_TEST_LOOP_if_f): New macro.
  58225. (jn_test_data): New variable.
  58226. (jn_test): Run tests with RUN_TEST_LOOP_if_f.
  58227. (yn_test_data): New variable.
  58228. (yn_test): Run tests with RUN_TEST_LOOP_if_f.
  58229. * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
  58230. 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  58231. * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
  58232. (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
  58233. 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
  58234. * benchtests/Makefile (CPPFLAGS-nonlib): Add
  58235. -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
  58236. (bench-deps): Add bench-timing.h.
  58237. * benchtests-bench-skeleton.c: Include bench-timing.h.
  58238. (main): Use TIMING_* macros instead of clock_gettime.
  58239. * benchtests/bench-timing.h: New file.
  58240. [BZ #14582]
  58241. * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
  58242. Renamed from _LIB_VERSION.
  58243. (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
  58244. 2013-05-12 Joseph Myers <joseph@codesourcery.com>
  58245. * math/libm-test.inc (struct test_fff_f_data): New type.
  58246. (RUN_TEST_LOOP_fff_f): New macro.
  58247. (fma_test_data): New variable.
  58248. (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
  58249. (fma_towardzero_test_data): New variable.
  58250. (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
  58251. (fma_downward_test_data): New variable.
  58252. (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
  58253. (fma_upward_test_data): New variable.
  58254. (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
  58255. * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
  58256. (struct test_c_c_data): New type.
  58257. (RUN_TEST_LOOP_c_c): New macro.
  58258. (cacos_test_data): New variable.
  58259. (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
  58260. (cacosh_test_data): New variable.
  58261. (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
  58262. (casin_test_data): New variable.
  58263. (casin_test): Run tests with RUN_TEST_LOOP_c_c.
  58264. (casinh_test_data): New variable.
  58265. (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
  58266. (catan_test_data): New variable.
  58267. (catan_test): Run tests with RUN_TEST_LOOP_c_c.
  58268. (catanh_test_data): New variable.
  58269. (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
  58270. (ccos_test_data): New variable.
  58271. (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
  58272. (ccosh_test_data): New variable.
  58273. (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
  58274. (cexp_test_data): New variable.
  58275. (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
  58276. (clog_test_data): New variable.
  58277. (clog_test): Run tests with RUN_TEST_LOOP_c_c.
  58278. (clog10_test_data): New variable.
  58279. (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
  58280. (conj_test_data): New variable.
  58281. (conj_test): Run tests with RUN_TEST_LOOP_c_c.
  58282. (cproj_test_data): New variable.
  58283. (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
  58284. (csin_test_data): New variable.
  58285. (csin_test): Run tests with RUN_TEST_LOOP_c_c.
  58286. (csinh_test_data): New variable.
  58287. (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
  58288. (csqrt_test_data): New variable.
  58289. (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
  58290. (ctan_test_data): New variable.
  58291. (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
  58292. (ctan_tonearest_test_data): New variable.
  58293. (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
  58294. (ctan_towardzero_test_data): New variable.
  58295. (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
  58296. (ctan_downward_test_data): New variable.
  58297. (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
  58298. (ctan_upward_test_data): New variable.
  58299. (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
  58300. (ctanh_test_data): New variable.
  58301. (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
  58302. (ctanh_tonearest_test_data): New variable.
  58303. (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
  58304. (ctanh_towardzero_test_data): New variable.
  58305. (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
  58306. (ctanh_downward_test_data): New variable.
  58307. (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
  58308. (ctanh_upward_test_data): New variable.
  58309. (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
  58310. * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
  58311. of BUILD_COMPLEX.
  58312. * math/libm-test.inc (struct test_ff_f_data): New type.
  58313. (struct test_ff_f_data_nexttoward): Likewise.
  58314. (RUN_TEST_LOOP_2_f): New macro.
  58315. (RUN_TEST_LOOP_ff_f): Likewise.
  58316. (atan2_test_data): New variable.
  58317. (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
  58318. (copysign_test_data): New variable.
  58319. (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
  58320. (fdim_test_data): New variable.
  58321. (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
  58322. (fmax_test_data): New variable.
  58323. (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
  58324. (fmin_test_data): New variable.
  58325. (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
  58326. (fmod_test_data): New variable.
  58327. (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
  58328. (hypot_test_data): New variable.
  58329. (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
  58330. (nextafter_test_data): New variable.
  58331. (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
  58332. (nexttoward_test_data): New variable.
  58333. (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
  58334. (pow_test_data): New variable.
  58335. (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
  58336. (pow_tonearest_test_data): New variable.
  58337. (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
  58338. (pow_towardzero_test_data): New variable.
  58339. (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
  58340. (pow_downward_test_data): New variable.
  58341. (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
  58342. (pow_upward_test_data): New variable.
  58343. (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
  58344. (remainder_test_data): New variable.
  58345. (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
  58346. (scalb_test_data): New variable.
  58347. (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
  58348. * sysdeps/i386/fpu/libm-test-ulps: Update.
  58349. 2013-05-11 Joseph Myers <joseph@codesourcery.com>
  58350. * math/libm-test.inc (fma_test): Use max_value instead of local
  58351. variable fltmax.
  58352. (nextafter_test): Likewise.
  58353. * math/libm-test.inc (acos_towardzero_test_data): New variable.
  58354. (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
  58355. (acos_downward_test_data): New variable.
  58356. (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
  58357. (acos_upward_test_data): New variable.
  58358. (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
  58359. (acosh_test_data): New variable.
  58360. (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
  58361. (asin_test_data): New variable.
  58362. (asin_test): Run tests with RUN_TEST_LOOP_f_f.
  58363. (asin_tonearest_test_data): New variable.
  58364. (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
  58365. (asin_towardzero_test_data): New variable.
  58366. (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
  58367. (asin_downward_test_data): New variable.
  58368. (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
  58369. (asin_upward_test_data): New variable.
  58370. (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
  58371. (asinh_test_data): New variable.
  58372. (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
  58373. (atan_test_data): New variable.
  58374. (atan_test): Run tests with RUN_TEST_LOOP_f_f.
  58375. (atanh_test_data): New variable.
  58376. (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
  58377. (cbrt_test_data): New variable.
  58378. (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
  58379. (ceil_test_data): New variable.
  58380. (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
  58381. (cos_test_data): New variable.
  58382. (cos_test): Run tests with RUN_TEST_LOOP_f_f.
  58383. (cos_tonearest_test_data): New variable.
  58384. (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
  58385. (cos_towardzero_test_data): New variable.
  58386. (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
  58387. (cos_downward_test_data): New variable.
  58388. (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
  58389. (cos_upward_test_data): New variable.
  58390. (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
  58391. (cosh_test_data): New variable.
  58392. (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
  58393. (cosh_tonearest_test_data): New variable.
  58394. (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
  58395. (cosh_towardzero_test_data): New variable.
  58396. (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
  58397. (cosh_downward_test_data): New variable.
  58398. (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
  58399. (cosh_upward_test_data): New variable.
  58400. (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
  58401. (erf_test_data): New variable.
  58402. (erf_test): Run tests with RUN_TEST_LOOP_f_f.
  58403. (erfc_test_data): New variable.
  58404. (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
  58405. (exp_test_data): New variable.
  58406. (exp_test): Run tests with RUN_TEST_LOOP_f_f.
  58407. (exp_tonearest_test_data): New variable.
  58408. (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
  58409. (exp_towardzero_test_data): New variable.
  58410. (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
  58411. (exp_downward_test_data): New variable.
  58412. (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
  58413. (exp_upward_test_data): New variable.
  58414. (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
  58415. (exp10_test_data): New variable.
  58416. (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
  58417. (exp2_test_data): New variable.
  58418. (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
  58419. (expm1_test_data): New variable.
  58420. (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
  58421. (fabs_test_data): New variable.
  58422. (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
  58423. (floor_test_data): New variable.
  58424. (floor_test): Run tests with RUN_TEST_LOOP_f_f.
  58425. (j0_test_data): New variable.
  58426. (j0_test): Run tests with RUN_TEST_LOOP_f_f.
  58427. (j1_test_data): New variable.
  58428. (j1_test): Run tests with RUN_TEST_LOOP_f_f.
  58429. (log_test_data): New variable.
  58430. (log_test): Run tests with RUN_TEST_LOOP_f_f.
  58431. (log10_test_data): New variable.
  58432. (log10_test): Run tests with RUN_TEST_LOOP_f_f.
  58433. (log1p_test_data): New variable.
  58434. (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
  58435. (log2_test_data): New variable.
  58436. (log2_test): Run tests with RUN_TEST_LOOP_f_f.
  58437. (logb_test_data): New variable.
  58438. (logb_test): Run tests with RUN_TEST_LOOP_f_f.
  58439. (logb_downward_test_data): New variable.
  58440. (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
  58441. (nearbyint_test_data): New variable.
  58442. (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
  58443. (rint_test_data): New variable.
  58444. (rint_test): Run tests with RUN_TEST_LOOP_f_f.
  58445. (rint_tonearest_test_data): New variable.
  58446. (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
  58447. (rint_towardzero_test_data): New variable.
  58448. (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
  58449. (rint_downward_test_data): New variable.
  58450. (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
  58451. (rint_upward_test_data): New variable.
  58452. (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
  58453. (round_test_data): New variable.
  58454. (round_test): Run tests with RUN_TEST_LOOP_f_f.
  58455. (sin_test_data): New variable.
  58456. (sin_test): Run tests with RUN_TEST_LOOP_f_f.
  58457. (sin_tonearest_test_data): New variable.
  58458. (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
  58459. (sin_towardzero_test_data): New variable.
  58460. (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
  58461. (sin_downward_test_data): New variable.
  58462. (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
  58463. (sin_upward_test_data): New variable.
  58464. (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
  58465. (sinh_test_data): New variable.
  58466. (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
  58467. (sinh_tonearest_test_data): New variable.
  58468. (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
  58469. (sinh_towardzero_test_data): New variable.
  58470. (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
  58471. (sinh_downward_test_data): New variable.
  58472. (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
  58473. (sinh_upward_test_data): New variable.
  58474. (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
  58475. (sqrt_test_data): New variable.
  58476. (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
  58477. (tan_test_data): New variable.
  58478. (tan_test): Run tests with RUN_TEST_LOOP_f_f.
  58479. (tan_tonearest_test_data): New variable.
  58480. (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
  58481. (tan_towardzero_test_data): New variable.
  58482. (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
  58483. (tan_downward_test_data): New variable.
  58484. (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
  58485. (tan_upward_test_data): New variable.
  58486. (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
  58487. (tanh_test_data): New variable.
  58488. (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
  58489. (tgamma_test_data): New variable.
  58490. (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
  58491. (trunc_test_data): New variable.
  58492. (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
  58493. (y0_test_data): New variable.
  58494. (y0_test): Run tests with RUN_TEST_LOOP_f_f.
  58495. (y1_test_data): New variable.
  58496. (y1_test): Run tests with RUN_TEST_LOOP_f_f.
  58497. (significand_test_data): New variable.
  58498. (significand_test): Run tests with RUN_TEST_LOOP_f_f.
  58499. 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
  58500. [BZ #12387]
  58501. * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
  58502. 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
  58503. * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
  58504. 2013-05-10 Andreas Jaeger <aj@suse.de>
  58505. [BZ #15448]
  58506. * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
  58507. (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
  58508. 2013-05-10 Joseph Myers <joseph@codesourcery.com>
  58509. * math/gen-libm-test.pl (adjust_arg): New function.
  58510. (special_functions): Handle generating output in both functions
  58511. and arrays.
  58512. (parse_args): Likewise.
  58513. (generate_testfile): Handle START_DATA and END_DATA. Pass extra
  58514. $in_func argument to parse_args.
  58515. * math/libm-test.inc (struct test_f_f_data): New type.
  58516. (IF_ROUND_INIT_): New macro.
  58517. (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
  58518. (IF_ROUND_INIT_FE_TONEAREST): Likewise.
  58519. (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
  58520. (IF_ROUND_INIT_FE_UPWARD): Likewise.
  58521. (ROUND_RESTORE_): Likewise.
  58522. (ROUND_RESTORE_FE_DOWNWARD): Likewise.
  58523. (ROUND_RESTORE_FE_TONEAREST): Likewise.
  58524. (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
  58525. (ROUND_RESTORE_FE_UPWARD): Likewise.
  58526. (RUN_TEST_LOOP_f_f): New macro.
  58527. (acos_test_data): New variable.
  58528. (acos_test): Run tests with RUN_TEST_LOOP_f_f.
  58529. (acos_tonearest_test_data): New variable.
  58530. (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
  58531. 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
  58532. * benchtests/bench-skeleton.c (startup): Fix coding style.
  58533. 2013-05-10 Joseph Myers <joseph@codesourcery.com>
  58534. [BZ #6809]
  58535. * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
  58536. negative infinity argument.
  58537. * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
  58538. negative infinity argument.
  58539. * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
  58540. negative infinity argument.
  58541. * math/libm-test.inc (tgamma_test): Expect errno to be set for
  58542. domain errors.
  58543. 2013-05-10 Florian Weimer <fweimer@redhat.com>
  58544. * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
  58545. * iconv/iconv_charmap.c (charmap_conversion): Likewise.
  58546. * iconv/iconv_prog.c (main): Likewise.
  58547. * locale/programs/charmap-dir.c (charmap_readdir)
  58548. (fopen_uncompressed): Likewise.
  58549. * locale/programs/locfile.c (siblings_uncached)
  58550. (write_locale_data): Use lstat64 instead of lstat.
  58551. * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
  58552. stat.
  58553. 2013-05-10 Andreas Jaeger <aj@suse.de>
  58554. [BZ #15395]
  58555. * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
  58556. localization.
  58557. Include <locale.h>.
  58558. 2013-05-09 Carlos O'Donell <carlos@redhat.com>
  58559. * elf/dl-close.c (_dl_close_worker): Add comments.
  58560. 2013-05-09 Joseph Myers <joseph@codesourcery.com>
  58561. [BZ #15359]
  58562. * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
  58563. high part of pi/2.
  58564. (__ieee754_rem_pio2l): Update comments.
  58565. [BZ #15429]
  58566. * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
  58567. high part of pi/2.
  58568. (__ieee754_rem_pio2l): Update comments.
  58569. * math/libm-test.inc (M_SQRT_2_2): Remove macro.
  58570. (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
  58571. * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
  58572. M_PI_4l.
  58573. * math/libm-test.inc (M_PI_34l): Define using decimal constant.
  58574. (M_PI_34_LOG10El): Likewise.
  58575. (M_PI2_LOG10El): Likewise.
  58576. (M_PI4_LOG10El): Likewise.
  58577. (M_PI_LOG10El): Likewise.
  58578. 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  58579. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  58580. 2013-05-08 Joseph Myers <joseph@codesourcery.com>
  58581. * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
  58582. (MINUS_ZERO_INIT): Likewise.
  58583. (PLUS_INFTY_INIT): Likewise.
  58584. (MINUS_INFTY_INIT): Likewise.
  58585. (QNAN_VALUE_INIT): Likewise.
  58586. (MAX_VALUE_INIT): Likewise.
  58587. (MIN_VALUE_INIT): Likewise.
  58588. (MIN_SUBNORM_VALUE_INIT): Likewise.
  58589. (plus_zero): Initialize with PLUS_ZERO_INIT.
  58590. (minus_zero): Initialize with MINUS_ZERO_INIT.
  58591. (plus_infty): Initialize with PLUS_INFTY_INIT.
  58592. (minus_infty): Initialize with MINUS_INFTY_INIT.
  58593. (qnan_value): Initialize with QNAN_VALUE_INIT.
  58594. (max_value): Initialize with MAX_VALUE_INIT.
  58595. (min_value): Initialize with MIN_VALUE_INIT.
  58596. (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
  58597. * math/libm-test.inc (RUN_TEST_if_f): New macro.
  58598. (jn_test): Use TEST_if_f instead of TEST_ff_f.
  58599. (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
  58600. (yn_test): Use TEST_if_f instead of TEST_ff_f.
  58601. * math/libm-test.inc (RUN_TEST_f_f): New macro.
  58602. (RUN_TEST_2_f): Likewise.
  58603. (RUN_TEST_ff_f): Likewise.
  58604. (RUN_TEST_fi_f): Likewise.
  58605. (RUN_TEST_fl_f): Likewise.
  58606. (RUN_TEST_fff_f): Likewise.
  58607. (RUN_TEST_c_f): Likewise.
  58608. (RUN_TEST_f_f1): Likewise.
  58609. (RUN_TEST_fF_f1): Likewise.
  58610. (RUN_TEST_fI_f1): Likewise.
  58611. (RUN_TEST_ffI_f1): Likewise.
  58612. (RUN_TEST_c_c): Likewise.
  58613. (RUN_TEST_cc_c): Likewise.
  58614. (RUN_TEST_f_i): Likewise.
  58615. (RUN_TEST_f_i_tg): Likewise.
  58616. (RUN_TEST_ff_i_tg): Likewise.
  58617. (RUN_TEST_f_b): Likewise.
  58618. (RUN_TEST_f_b_tg): Likewise.
  58619. (RUN_TEST_f_l): Likewise.
  58620. (RUN_TEST_f_L): Likewise.
  58621. (RUN_TEST_sincos): Likewise.
  58622. * math/gen-libm-test.pl (new_test): Take new argument to indicate
  58623. whether to show exceptions. Do not include ");\n" in return
  58624. value.
  58625. (special_functions): Output call to RUN_TEST_sincos instead of
  58626. check_float calls. Update calls to new_test.
  58627. (parse_args): Output call to single RUN_TEST_* macro instead of
  58628. check_* calls and other assignments. Update calls to new_test.
  58629. [BZ #2546]
  58630. [BZ #2560]
  58631. [BZ #5159]
  58632. [BZ #15426]
  58633. * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
  58634. input to result for tgamma overflow.
  58635. * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
  58636. (gamma_coeff): New variable.
  58637. (NCOEFF): New macro.
  58638. (gamma_positive): New function.
  58639. (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
  58640. underflow here. Use gamma_positive instead of exp (lgamma) for
  58641. other arguments.
  58642. * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
  58643. (gamma_coeff): New variable.
  58644. (NCOEFF): New macro.
  58645. (gammaf_positive): New function.
  58646. (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
  58647. underflow here. Use gamma_positive instead of exp (lgamma) for
  58648. other arguments.
  58649. * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
  58650. (gamma_coeff): New variable.
  58651. (NCOEFF): New macro.
  58652. (gammal_positive): New function.
  58653. (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
  58654. underflow here. Use gamma_positive instead of exp (lgamma) for
  58655. other arguments.
  58656. * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
  58657. (gamma_coeff): New variable.
  58658. (NCOEFF): New macro.
  58659. (gammal_positive): New function.
  58660. (__ieee754_gammal_r): Handle positive infinity, overflow and
  58661. underflow here. Handle NaN the same as positive infinity. Remove
  58662. check x < 0xffffffff for negative integers. Use gamma_positive
  58663. instead of exp (lgamma) for other arguments.
  58664. * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
  58665. (gamma_coeff): New variable.
  58666. (NCOEFF): New macro.
  58667. (gammal_positive): New function.
  58668. * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
  58669. * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
  58670. * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
  58671. * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
  58672. * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
  58673. * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
  58674. * sysdeps/generic/math_private.h (__gamma_productf): New
  58675. prototype.
  58676. (__gamma_product): Likewise.
  58677. (__gamma_productl): Likewise.
  58678. * math/Makefile (libm-calls): Add gamma_product.
  58679. * math/libm-test.inc (tgamma_test): Add more tests.
  58680. * sysdeps/i386/fpu/libm-test-ulps: Update.
  58681. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  58682. 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
  58683. * benchtests/bench-skeleton.c (main): Preheat CPU.
  58684. 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
  58685. * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
  58686. 2013-05-07 Roland McGrath <roland@hack.frob.com>
  58687. * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
  58688. and _dl_skip_args_internal.
  58689. 2013-05-07 Carlos O'Donell <carlos@redhat.com>
  58690. * manual/message.texi (Message Translation): Talk about users.
  58691. Message to key mapping impacts design.
  58692. 2013-05-06 Roland McGrath <roland@hack.frob.com>
  58693. * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
  58694. * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
  58695. * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
  58696. * sysdeps/wordsize-64/glob64.c: ... here.
  58697. * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
  58698. (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
  58699. New macros.
  58700. * debug/getlogin_r_chk.c: Moved to ...
  58701. * login/getlogin_r_chk.c: ... here.
  58702. * debug/Makefile (routines): Move getlogin_r_chk to ...
  58703. * login/Makefile (routines): ... here.
  58704. * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
  58705. * login/Versions (libc: GLIBC_2.4): ... here.
  58706. * io/poll.c (__poll): Renamed from poll.
  58707. Add libc_hidden_def.
  58708. (poll): Define as weak alias.
  58709. * debug/ptsname_r_chk.c: Moved to ...
  58710. * login/ptsname_r_chk.c: ... here.
  58711. * debug/Makefile (routines): Move ptsname_r_chk to ...
  58712. * login/Makefile (routines): ... here.
  58713. * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
  58714. * login/Versions (libc: GLIBC_2.4): ... here.
  58715. * posix/getlogin.c: Moved to ...
  58716. * login/getlogin.c: ... here.
  58717. * posix/getlogin_r.c: Moved to ...
  58718. * login/getlogin_r.c: ... here.
  58719. * posix/getlogin_r.c: Moved to ...
  58720. * login/getlogin_r.c: ... here.
  58721. * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
  58722. * login/Makefile (routines): ... here.
  58723. * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
  58724. * login/Versions (libc: GLIBC_2.0): ... here.
  58725. * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
  58726. (setrlimit): Define as weak alias.
  58727. * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
  58728. Call __ names for open, ftruncate, and close.
  58729. For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
  58730. (truncate): Define as weak alias.
  58731. 2013-05-06 Joseph Myers <joseph@codesourcery.com>
  58732. * math/gen-libm-test.pl (parse_args): Initialize x before each
  58733. test of frexp, modf and remquo.
  58734. * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
  58735. test signgam value.
  58736. 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  58737. [BZ #15418]
  58738. [BZ #15419]
  58739. * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
  58740. internal tests.
  58741. * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
  58742. 2013-05-06 Roland McGrath <roland@hack.frob.com>
  58743. * elf/dl-writev.h: New file.
  58744. * elf/dl-misc.c: Include it.
  58745. (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
  58746. * sysdeps/unix/sysv/linux/dl-writev.h: New file.
  58747. 2013-05-04 Joseph Myers <joseph@codesourcery.com>
  58748. * math/libm-test.inc (noXFails): Remove variable.
  58749. (noXPasses): Likewise.
  58750. (BUILD_COMPLEX_INT): Remove macro.
  58751. (print_screen): Remove xfail argument.
  58752. (print_screen_max_error): Likewise.
  58753. (update_stats): Likewise.
  58754. (print_max_error): Likewise. Update calls to other affected
  58755. functions.
  58756. (print_complex_max_error): Likewise.
  58757. (test_single_exception): Update calls to print_screen.
  58758. (test_single_errno): Likewise.
  58759. (check_float_internal): Remove xfail argument. Update calls to
  58760. other affected functions.
  58761. (check_float): Likewise.
  58762. (check_complex): Likewise.
  58763. (check_int): Likewise.
  58764. (check_long): Likewise.
  58765. (check_bool): Likewise.
  58766. (check_longlong): Likewise.
  58767. (main): Don't print noXFails and noXPasses.
  58768. * math/gen-libm-test.pl (top level): Don't mention expected
  58769. failure handling in comment.
  58770. (new_test): Don't handle expected failures.
  58771. (parse_args): Don't mention expected failure handling in comment.
  58772. (generate_testfile): Don't handle expected failures.
  58773. (parse_ulps): Likewise.
  58774. (print_ulps_file): Likewise.
  58775. (get_failure): Remove function.
  58776. (output_test): Don't handle expected failures.
  58777. * make/README.libm-test: Don't mention expected failure handling.
  58778. * math/libm-test.inc (plus_zero): Make const. Add initializer.
  58779. (minus_zero): Likewise.
  58780. (plus_infty): Likewise.
  58781. (minus_infty): Likewise.
  58782. (qnan_value): Likewise.
  58783. (max_value): Likewise.
  58784. (min_value): Likewise.
  58785. (min_subnorm_value): Likewise.
  58786. (initialize): Do not initialize those variables dynamically.
  58787. 2013-05-03 Roland McGrath <roland@hack.frob.com>
  58788. * io/open.c (__open_2): Moved to ...
  58789. * io/open_2.c: ... this new file.
  58790. * io/open64.c (__open64_2): Moved to ...
  58791. * io/open64_2.c: ... this new file.
  58792. * io/openat.c (__openat_2): Moved to ...
  58793. * io/openat_2.c: ... this new file.
  58794. * io/openat64.c (__openat64_2): Moved to ...
  58795. * io/openat64_2.c: ... this new file.
  58796. * io/Makefile (routines): Add them.
  58797. * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
  58798. * sysdeps/unix/sysv/linux/open_2.c: File removed.
  58799. * sysdeps/unix/sysv/linux/open64_2.c: File removed.
  58800. * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
  58801. * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
  58802. * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
  58803. (__openat64): Add hidden_ver.
  58804. * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
  58805. * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
  58806. * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
  58807. Separately conditionalize setting of GLRO(dl_sysinfo) so
  58808. that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
  58809. as well, but the actual setting is only under [NEED_DL_SYSINFO].
  58810. 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  58811. * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
  58812. * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
  58813. definition.
  58814. (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
  58815. * sysdeps/unix/sysv/linux/powerpc/init-first.c
  58816. (_libc_vdso_platform_setup): Add __vdso_time initialization.
  58817. * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
  58818. for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
  58819. 2013-05-03 Joseph Myers <joseph@codesourcery.com>
  58820. * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
  58821. test signgam value.
  58822. * math/libm-test.inc (hypot_test): Do not use
  58823. IGNORE_ZERO_INF_SIGN.
  58824. 2013-05-03 Andreas Jaeger <aj@suse.de>
  58825. * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
  58826. Linux 3.9.
  58827. * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
  58828. (PF_MAX): Adjust for VSOCK change.
  58829. 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  58830. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  58831. 2013-05-02 Carlos O'Donell <carlos@redhat.com>
  58832. [BZ #15264]
  58833. * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
  58834. * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
  58835. * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
  58836. 2013-05-02 David S. Miller <davem@davemloft.net>
  58837. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  58838. 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
  58839. * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
  58840. 2013-05-01 Roland McGrath <roland@hack.frob.com>
  58841. * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
  58842. 2013-05-01 Richard Smith <richard@metafoo.co.uk>
  58843. [BZ #14952]
  58844. * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
  58845. [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
  58846. Use __attribute__ ((__gnu_inline__)).
  58847. [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
  58848. Don't use __attribute__ ((__gnu_inline__)).
  58849. 2013-05-01 Joseph Myers <joseph@codesourcery.com>
  58850. [BZ #15423]
  58851. * math/s_catan.c (__catan): Handle small real or imaginary part of
  58852. input specially to avoid spurious underflow.
  58853. * math/s_catanf.c (__catanf): Likewise.
  58854. * math/s_catanh.c (__catanh): Likewise.
  58855. * math/s_catanhf.c (__catanhf): Likewise.
  58856. * math/s_catanhl.c (__catanhl): Likewise.
  58857. * math/s_catanl.c (__catanl): Likewise.
  58858. * math/libm-test.inc (catan_test): Add more tests.
  58859. (catanh_test): Likewise.
  58860. * sysdeps/i386/fpu/libm-test-ulps: Update.
  58861. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  58862. 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  58863. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  58864. 2013-04-30 Joseph Myers <joseph@codesourcery.com>
  58865. [BZ #15416]
  58866. * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
  58867. accurately for denominator in atan2.
  58868. * math/s_catanf.c (__catanf): Likewise.
  58869. * math/s_catanh.c (__catanh): Likewise.
  58870. * math/s_catanhf.c (__catanhf): Likewise.
  58871. * math/s_catanhl.c (__catanhl): Likewise.
  58872. * math/s_catanl.c (__catanl): Likewise.
  58873. * math/libm-test.inc (catan_test): Add more tests.
  58874. (catanh_test): Likewise.
  58875. * sysdeps/i386/fpu/libm-test-ulps: Update.
  58876. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  58877. 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
  58878. * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
  58879. * benchtests/Makefile (bench): Remove slow benchmarks.
  58880. * benchtests/atan-inputs: Add slow benchmark inputs.
  58881. * benchtests/bench-modf.c (NUM_VARIANTS): Define.
  58882. (BENCH_FUNC): Accept variant offset.
  58883. (VARIANT): Define.
  58884. * benchtests/bench-skeleton.c (main): Run benchmark for each
  58885. variant.
  58886. * benchtests/cos-inputs: Add slow benchmark inputs.
  58887. * benchtests/exp-inputs: Likewise.
  58888. * benchtests/pow-inputs: Likewise.
  58889. * benchtests/sin-inputs: Likewise.
  58890. * benchtests/slowatan-inputs: Remove.
  58891. * benchtests/slowatan.c: Remove.
  58892. * benchtests/slowcos-inputs: Remove.
  58893. * benchtests/slowcos.c: Remove.
  58894. * benchtests/slowexp-inputs: Remove.
  58895. * benchtests/slowexp.c: Remove.
  58896. * benchtests/slowpow-inputs: Remove.
  58897. * benchtests/slowpow.c: Remove.
  58898. * benchtests/slowsin-inputs: Remove.
  58899. * benchtests/slowsin.c: Remove.
  58900. * benchtests/slowtan-inputs: Remove.
  58901. * benchtests/slowtan.c: Remove.
  58902. * benchtests/tan-inputs: Add slow benchmark inputs.
  58903. * scripts/bench.pl: Parse comments and directives.
  58904. * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
  58905. in CPPFLAGS.
  58906. ($(objpfx)bench-%.c): Remove *-ITER.
  58907. * benchtests/bench-modf.c: Remove definition of ITER.
  58908. * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
  58909. (main): Loop for DURATION seconds instead of fixed number of
  58910. iterations.
  58911. * scripts/bench.pl: Don't expect iterations in parameters.
  58912. 2013-04-29 Roland McGrath <roland@hack.frob.com>
  58913. * io/fchdir.c (__fchdir): Renamed from fchdir.
  58914. (fchdir): Define as weak alias.
  58915. 2013-04-29 Joseph Myers <joseph@codesourcery.com>
  58916. * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
  58917. (ERRNO_EDOM): Likewise.
  58918. (ERRNO_ERANGE): Likewise.
  58919. (noErrnoTests): New variable.
  58920. (init_max_error): Set errno to 0.
  58921. (test_single_errno): New function.
  58922. (test_errno): Likewise.
  58923. (check_float_internal): Call test_errno. Set errno to 0.
  58924. (check_complex): Refer to errno tests in comment.
  58925. (check_int): Call test_errno. Set errno to 0.
  58926. (check_long): Likewise.
  58927. (check_bool): Likewise.
  58928. (check_longlong): Likewise.
  58929. (cos_test): Use ERRNO_* flags for errno tests instead of
  58930. check_int.
  58931. (expm1_test): Likewise.
  58932. (fmod_test): Likewise.
  58933. (ilogb_test): Likewise.
  58934. (lgamma_test): Likewise.
  58935. (pow_test): Likewise.
  58936. (remainder_test): Likewise.
  58937. (sin_test): Likewise.
  58938. (tan_test): Likewise.
  58939. (yn_test): Likewise.
  58940. (initialize): Set errno to 0.
  58941. (main): Print number of errno tests.
  58942. * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
  58943. 2013-04-29 Andreas Jaeger <aj@suse.de>
  58944. [BZ #15084]
  58945. * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
  58946. and RES_USEVC.
  58947. [BZ #15085]
  58948. * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
  58949. * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
  58950. unimplemented.
  58951. [BZ #15380]
  58952. * stdlib/random.c (__initstate): Return NULL if
  58953. __initstate fails.
  58954. [BZ #15086]
  58955. * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
  58956. RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
  58957. RES_SNGLKUPREOP.
  58958. 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  58959. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  58960. 2013-04-29 Joseph Myers <joseph@codesourcery.com>
  58961. * math/libm-test.inc (cacos_test): Add missing semicolons at ends
  58962. of individual tests.
  58963. (casin_test): Likewise.
  58964. (casinh_test): Likewise.
  58965. 2013-04-27 Joseph Myers <joseph@codesourcery.com>
  58966. [BZ #15409]
  58967. * math/s_catan.c (__catan): Handle arguments with large real or
  58968. imaginary part separately without squaring.
  58969. * math/s_catanf.c (__catanf): Likewise.
  58970. * math/s_catanh.c (__catanh): Likewise.
  58971. * math/s_catanhf.c (__catanhf): Likewise.
  58972. * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
  58973. and redefine.
  58974. (__catanhl): Handle arguments with large real or imaginary part
  58975. separately without squaring.
  58976. * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
  58977. and redefine.
  58978. (__catanl): Handle arguments with large real or imaginary part
  58979. separately without squaring.
  58980. * math/libm-test.inc (catan_test): Add more tests.
  58981. (catanh_test): Likewise.
  58982. * sysdeps/i386/fpu/libm-test-ulps: Update.
  58983. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  58984. 2013-04-27 Andreas Jaeger <aj@suse.de>
  58985. [BZ #15007]
  58986. * stdlib/stdlib.h: Update guards for qecvt.
  58987. * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
  58988. <stdlib.h>.
  58989. 2013-04-27 Allan McRae <allan@archlinux.org>
  58990. * sysdeps/i386/fpu/libm-test-ulps: Update.
  58991. 2013-04-26 Joseph Myers <joseph@codesourcery.com>
  58992. [BZ #15406]
  58993. * math/s_catan.c: Include <float.h>.
  58994. (__catan): Ensure underflow exception occurs for underflowed
  58995. result.
  58996. * math/s_catanf.c: Include <float.h>.
  58997. (__catanf): Ensure underflow exception occurs for underflowed
  58998. result.
  58999. * math/s_catanh.c: Include <float.h>.
  59000. (__catanh): Ensure underflow exception occurs for underflowed
  59001. result.
  59002. * math/s_catanhf.c: Include <float.h>.
  59003. (__catanhf): Ensure underflow exception occurs for underflowed
  59004. result.
  59005. * math/s_catanhl.c: Include <float.h>.
  59006. (__catanhl): Ensure underflow exception occurs for underflowed
  59007. result.
  59008. * math/s_catanl.c: Include <float.h>.
  59009. (__catanl): Ensure underflow exception occurs for underflowed
  59010. result.
  59011. * math/libm-test.inc (catan_test): Add more tests.
  59012. (catanh_test): Likewise.
  59013. [BZ #15405]
  59014. * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
  59015. underflowed result.
  59016. * math/s_ccoshf.c (__ccoshf): Likewise.
  59017. * math/s_ccoshl.c (__ccoshl): Likewise.
  59018. * math/s_csin.c (__csin): Likewise.
  59019. * math/s_csinf.c (__csinf): Likewise.
  59020. * math/s_csinh.c (__csinh): Likewise.
  59021. * math/s_csinhf.c (__csinhf): Likewise.
  59022. * math/s_csinhl.c (__csinhl): Likewise.
  59023. * math/s_csinl.c (__csinl): Likewise.
  59024. * math/libm-test.inc (ccos_test): Add more tests.
  59025. (ccosh_test): Likewise.
  59026. (csin_test): Likewise.
  59027. (csinh_test): Likewise.
  59028. 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  59029. * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
  59030. * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
  59031. * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
  59032. * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
  59033. * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
  59034. powerpc/power5+/fpu folders.
  59035. * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
  59036. 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
  59037. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
  59038. 2013-04-25 Joseph Myers <joseph@codesourcery.com>
  59039. * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
  59040. additions to variable.
  59041. [$(config-machine) = x86_64] (modules-names): Likewise.
  59042. ($(objpfx)tst-audit3): Remove dependency.
  59043. ($(objpfx)tst-audit3.out): Likewise.
  59044. ($(objpfx)tst-audit4): Likewise.
  59045. ($(objpfx)tst-audit4.out): Likewise.
  59046. ($(objpfx)tst-audit5): Likewise.
  59047. ($(objpfx)tst-audit5.out): Likewise.
  59048. ($(objpfx)tst-audit6): Likewise.
  59049. ($(objpfx)tst-audit6.out): Likewise.
  59050. ($(objpfx)tst-audit7): Likewise.
  59051. ($(objpfx)tst-audit7.out): Likewise.
  59052. (tst-audit3-ENV): Remove variable.
  59053. (tst-audit4-ENV): Likewise.
  59054. (tst-audit5-ENV): Likewise.
  59055. (tst-audit6-ENV): Likewise.
  59056. (tst-audit7-ENV): Likewise.
  59057. [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
  59058. [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
  59059. addition to variable.
  59060. [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
  59061. [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
  59062. [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
  59063. [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
  59064. [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
  59065. * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
  59066. tst-audit3, tst-audit4 and tst-audit5.
  59067. [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
  59068. tst-audit6 and tst-audit7.
  59069. [$(subdir) = elf] (modules-names): Add audit modules for those
  59070. tests.
  59071. [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
  59072. [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
  59073. [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
  59074. [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
  59075. [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
  59076. [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
  59077. [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
  59078. [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
  59079. [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
  59080. [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
  59081. [$(subdir) = elf] (tst-audit3-ENV): New variable.
  59082. [$(subdir) = elf] (tst-audit4-ENV): Likewise.
  59083. [$(subdir) = elf] (tst-audit5-ENV): Likewise.
  59084. [$(subdir) = elf] (tst-audit6-ENV): Likewise.
  59085. [$(subdir) = elf] (tst-audit7-ENV): Likewise.
  59086. [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
  59087. Likewise.
  59088. [$(subdir) = elf && $(config-cflags-avx) = yes]
  59089. (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
  59090. [$(subdir) = elf && $(config-cflags-avx) = yes]
  59091. (CFLAGS-tst-auditmod4a.c): Likewise.
  59092. [$(subdir) = elf && $(config-cflags-avx) = yes]
  59093. (CFLAGS-tst-auditmod4b.c): Likewise.
  59094. [$(subdir) = elf && $(config-cflags-avx) = yes]
  59095. (CFLAGS-tst-auditmod6b.c): Likewise.
  59096. [$(subdir) = elf && $(config-cflags-avx) = yes]
  59097. (CFLAGS-tst-auditmod6c.c): Likewise.
  59098. [$(subdir) = elf && $(config-cflags-avx) = yes]
  59099. (CFLAGS-tst-auditmod7b.c): Likewise.
  59100. * elf/tst-audit3.c: Move to ...
  59101. * sysdeps/x86_64/tst-audit3.c: ... here.
  59102. * elf/tst-audit4.c: Move to ...
  59103. * sysdeps/x86_64/tst-audit4.c: ... here.
  59104. * elf/tst-audit5.c: Move to ...
  59105. * sysdeps/x86_64/tst-audit5.c: ... here.
  59106. * elf/tst-audit6.c: Move to ...
  59107. * sysdeps/x86_64/tst-audit6.c: ... here.
  59108. * elf/tst-audit7.c: Move to ...
  59109. * sysdeps/x86_64/tst-audit7.c: ... here.
  59110. * elf/tst-auditmod3a.c: Move to ...
  59111. * sysdeps/x86_64/tst-auditmod3a.c: ... here.
  59112. * elf/tst-auditmod3b.c: Move to ...
  59113. * sysdeps/x86_64/tst-auditmod3b.c: ... here.
  59114. * elf/tst-auditmod4a.c: Move to ...
  59115. * sysdeps/x86_64/tst-auditmod4a.c: ... here.
  59116. * elf/tst-auditmod4b.c: Move to ...
  59117. * sysdeps/x86_64/tst-auditmod4b.c: ... here.
  59118. * elf/tst-auditmod5a.c: Move to ...
  59119. * sysdeps/x86_64/tst-auditmod5a.c: ... here.
  59120. * elf/tst-auditmod5b.c: Move to ...
  59121. * sysdeps/x86_64/tst-auditmod5b.c: ... here.
  59122. * elf/tst-auditmod6a.c: Move to ...
  59123. * sysdeps/x86_64/tst-auditmod6a.c: ... here.
  59124. * elf/tst-auditmod6b.c: Move to ...
  59125. * sysdeps/x86_64/tst-auditmod6b.c: ... here.
  59126. * elf/tst-auditmod6c.c: Move to ...
  59127. * sysdeps/x86_64/tst-auditmod6c.c: ... here.
  59128. * elf/tst-auditmod7a.c: Move to ...
  59129. * sysdeps/x86_64/tst-auditmod7a.c: ... here.
  59130. * elf/tst-auditmod7b.c: Move to ...
  59131. * sysdeps/x86_64/tst-auditmod7b.c: ... here.
  59132. 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
  59133. [BZ #15366]
  59134. * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
  59135. define unconditionally.
  59136. * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
  59137. define unconditionally.
  59138. (INT8_C, INT16_C, etc.): Likewise.
  59139. 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
  59140. * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
  59141. __ehdr_start with hidden visibility.
  59142. * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
  59143. 2013-04-24 Carlos O'Donell <carlos@redhat.com>
  59144. * math/libm-test.inc (cos_test): Use accurate hex constants.
  59145. (sincost_test): Likewise.
  59146. 2013-04-24 Joseph Myers <joseph@codesourcery.com>
  59147. * math/libm-test.inc (catan_test): Add more tests.
  59148. (catanh_test): Likewise.
  59149. * math/s_catanf.c (__catanf): Use suffixed floating-point
  59150. constants.
  59151. * math/s_catanhf.c (__catanhf): Likewise.
  59152. * math/s_catanhl.c (__catanhl): Likewise.
  59153. * math/s_catanl.c (__catanl): Likewise.
  59154. [BZ #15394]
  59155. * math/s_catan.c (__catan): Calculate imaginary part of result
  59156. with log1p not log unless computing log of number close to 0.
  59157. * math/s_catanf.c (__catanf): Likewise.
  59158. * math/s_catanl.c (__catanl): Likewise.
  59159. * math/s_catanh.c (__catanh): Calculate real part of result with
  59160. log1p not log unless computing log of number close to 0.
  59161. * math/s_catanhf.c (__catanhf): Likewise.
  59162. * math/s_catanhl.c (__catanhl): Likewise.
  59163. * math/libm-test.inc (catan_test): Add more tests.
  59164. (catanh_test): Likewise.
  59165. * sysdeps/i386/fpu/libm-test-ulps: Update.
  59166. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  59167. 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
  59168. * benchtests/Makefile: Mention files in which fast and slow
  59169. paths of math functions are implemented.
  59170. 2013-04-23 Roland McGrath <roland@hack.frob.com>
  59171. * sysdeps/posix/timespec_get.c: New file.
  59172. 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  59173. * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
  59174. POWER.
  59175. * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
  59176. for POWER.
  59177. * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
  59178. powerpc/power5/fpu folders.
  59179. * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
  59180. * benchtests/Makefile: Add modf testcase.
  59181. * benchtests/bench-modf.c: New file: Benchmark test for mo
  59182. 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
  59183. [BZ #14888]
  59184. * time/Makefile (tests): Add tst-strptime-whitespace.
  59185. * time/strptime_l.c (get_number): Use ISSPACE.
  59186. (__strptime_internal): Likewise.
  59187. * time/tst-strptime-whitespace.c: New test case.
  59188. 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
  59189. * nss/nss_files/files-init.c (TF): Don't initialize flexible array
  59190. member.
  59191. (_nss_files_init): Set it here.
  59192. 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
  59193. * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
  59194. f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
  59195. unsigned.
  59196. 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
  59197. * nss/getent.c (shadow_keys): Call endspent, not endpwent.
  59198. 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
  59199. * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
  59200. size just once.
  59201. 2013-04-21 David S. Miller <davem@davemloft.net>
  59202. * po/ru.po: Update Russion translation from translation project.
  59203. 2013-04-17 Adam Conrad <adconrad@0c3.net>
  59204. * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
  59205. and setfsgid.
  59206. 2013-04-17 Carlos O'Donell <carlos@redhat.com>
  59207. * configure.in: Remove i386 configure warning. Remove i386 case.
  59208. * configure: Regenerate.
  59209. * sysdeps/i386/configure.in: Raise error if config_machine is i386.
  59210. Add example to error message.
  59211. * sysdeps/i386/configure: Regenerate.
  59212. 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
  59213. * benchtests/Makefile (bench): Add cos, tan, slowcos and
  59214. slowtan.
  59215. * benchtests/cos-inputs: New file.
  59216. * benchtests/slowcos-inputs: New file.
  59217. * benchtests/slowcos.c: New file.
  59218. * benchtests/slowtan-inputs: New file.
  59219. * benchtests/slowtan.c: New file.
  59220. * benchtests/tan-inputs: New file.
  59221. 2013-04-16 Roland McGrath <roland@hack.frob.com>
  59222. * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
  59223. considered kosher.
  59224. 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
  59225. * benchtests/Makefile: Include cppflags-iterator.mk to add
  59226. -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
  59227. * Makefile.in (bench-clean): New target.
  59228. * benchtests/Makefile (bench-clean): Likewise.
  59229. 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
  59230. * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
  59231. 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
  59232. * stdio-common/tstdiomisc.c: Fix coding-style violation.
  59233. 2013-04-15 Andreas Schwab <schwab@suse.de>
  59234. * nscd/grpcache.c (cache_addgr): Properly check for short write.
  59235. * nscd/initgrcache.c (addinitgroupsX): Likewise.
  59236. * nscd/pwdcache.c (cache_addpw): Likewise.
  59237. * nscd/servicescache.c (cache_addserv): Likewise. Don't write
  59238. more than recsize.
  59239. 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
  59240. * benchtests/Makefile (bench): Write all output to
  59241. bench-out.tmp together.
  59242. 2013-04-15 Andreas Schwab <schwab@suse.de>
  59243. * nscd/nscd.c (main): Don't fork again after closing files.
  59244. 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
  59245. * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
  59246. * benchtests/Rules (bench-deps): Collect dependencies into a
  59247. single variable. Add Makefile to dependencies.
  59248. ($(objpfx)bench-%.c): Depend on bench-deps.
  59249. 2013-04-12 Roland McGrath <roland@hack.frob.com>
  59250. Xavier Roche <roche+kml2@exalead.com>
  59251. [BZ #15361]
  59252. * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
  59253. just that it's a file descriptor.
  59254. * manual/llio.texi (Synchronizing AIO Operations): Update description
  59255. for EBADF error from aio_fsync.
  59256. 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
  59257. * Rules (bench): Move target definition...
  59258. * benchtests/Makefile: ... here.
  59259. 2013-04-11 Carlos O'Donell <carlos@redhat.com>
  59260. * math/libm-test.inc (cos_test): Fix PI/2 test.
  59261. (sincos_test): Likewise.
  59262. * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
  59263. * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
  59264. 2013-04-11 Andreas Schwab <schwab@suse.de>
  59265. [BZ #13988]
  59266. * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
  59267. accept exponent character only when digits were seen.
  59268. * stdio-common/Makefile (tests): Add bug26.
  59269. * stdio-common/bug26.c: New file.
  59270. [BZ #14293]
  59271. * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
  59272. non-freeable.
  59273. 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
  59274. * Makeconfig (rtld-prefix): Define built linker prefix.
  59275. * Rules (run-bench): Use it.
  59276. * math/Makefile (run-regen-ulps): Likewise.
  59277. * Rules (bench): Remove eval.
  59278. 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
  59279. Roland McGrath <roland@hack.frob.com>
  59280. Ondřej Bílka <neleai@seznam.cz>
  59281. [BZ #15346]
  59282. * time/getdate.c: Include ctype.h and alloca.h.
  59283. (__getdate_r): Trim leading and trailing spaces of input.
  59284. * time/tst-getdate.c (tests): Add tests with leading and
  59285. trailing spaces.
  59286. 2013-04-08 Roland McGrath <roland@hack.frob.com>
  59287. [BZ #14280]
  59288. * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
  59289. when computing value.
  59290. 2013-04-06 Carlos O'Donell <carlos@redhat.com>
  59291. * math/README.libm-test (How can I generate "libm-test-ulps"?):
  59292. Use testrun.sh to run libm tests.
  59293. [BZ #15309]
  59294. * elf/dl-open.c (dl_open_worker): memset all of seen array.
  59295. 2013-04-06 Marko Myllynen <myllynen@redhat.com>
  59296. [BZ #15264]
  59297. * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
  59298. 2013-04-06 Carlos O'Donell <carlos@redhat.com>
  59299. * Makefile.in (regen-ulps): New target.
  59300. * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
  59301. [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
  59302. [ifneq (no,$(PERL)] (regen-ulps): New target.
  59303. [ifeq (no,$(PERL)] (regen-ulps): New target.
  59304. * math/libm-test.inc (ulps_file_name): Define.
  59305. (output_dir): New variable.
  59306. (options): Add "output-dir" option.
  59307. (parse_opt): Handle 'o' case.
  59308. (main): If output_dir is non-NULL use it as a prefix
  59309. otherwise use "".
  59310. * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
  59311. 2013-04-06 Carlos O'Donell <carlos@redhat.com>
  59312. [BZ #10060, #10062]
  59313. * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
  59314. * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
  59315. fail configure if __sync_val_compare_and_swap is not inlined.
  59316. * sysdeps/i386/configure: Regenerate.
  59317. * configure.in: Build for i686 when configured for i386.
  59318. * configure: Regenerate.
  59319. * README: Remove i386 reference.
  59320. 2013-04-06 Carlos O'Donell <carlos@redhat.com>
  59321. * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
  59322. * sysdeps/s390/s390-64/sysdep.h: Likewise.
  59323. 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
  59324. * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
  59325. (lmsnanval): New variables.
  59326. (F): Add conversion tests.
  59327. * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
  59328. * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
  59329. * stdio-common/tstdiomisc.c (F): Properly collect individual
  59330. tests' results.
  59331. [BZ #14686, #15336]
  59332. * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
  59333. * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
  59334. Instead, use input NaN values or generate a qNaN by arithmetic
  59335. operation. Also fix bugs to comply with the standard.
  59336. * math/libm-test.inc (remainder_test): Add more tests.
  59337. [BZ #15335, #15342]
  59338. * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
  59339. * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
  59340. input NaN values or generate a qNaN by arithmetic operation.
  59341. * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
  59342. unreachable code.
  59343. * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
  59344. definitions.
  59345. 2013-04-03 Joseph Myers <joseph@codesourcery.com>
  59346. [BZ #14478]
  59347. * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
  59348. underflowed result.
  59349. * math/s_cexpf.c (__cexpf): Likewise.
  59350. * math/s_cexpl.c (__cexpl): Likewise.
  59351. * math/libm-test.inc (cexp_test): Add more tests.
  59352. 2013-04-03 Andreas Schwab <schwab@suse.de>
  59353. [BZ #15330]
  59354. * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
  59355. order arrays from heap if bigger than alloca cutoff.
  59356. 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
  59357. * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
  59358. (SNAN_TESTS_double): Refer to GCC PR56831.
  59359. * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
  59360. GCC PR56828.
  59361. 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
  59362. * Rules (bench): Move bench.out after the run is complete.
  59363. * Rules (bench): Echo currently running benchmark.
  59364. * benchtests/Makefile (bench): Add atan and slowatan.
  59365. * benchtests/atan-inputs: New file.
  59366. * benchtests/slowatan-inputs: New file.
  59367. * benchtests/slowatan.c: New file.
  59368. * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
  59369. * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
  59370. its value.
  59371. [BZ #15305]
  59372. * sysdeps/unix/sysv/linux/kernel-features.h
  59373. [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
  59374. __ASSUME_XFS_RESTRICTED_CHOWN.
  59375. * sysdeps/unix/sysv/linux/pathconf.c
  59376. (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
  59377. Save and restore errno.
  59378. 2013-04-02 Joseph Myers <joseph@codesourcery.com>
  59379. [BZ #15327]
  59380. * math/s_cacosh.c (__cacosh): Implement for finite nonzero
  59381. arguments using __kernel_casinh.
  59382. * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
  59383. arguments using __kernel_casinhf.
  59384. * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
  59385. arguments using __kernel_casinhl.
  59386. * math/libm-test.inc (cacosh_test): Add more tests.
  59387. * sysdeps/i386/fpu/libm-test-ulps: Update.
  59388. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  59389. 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
  59390. * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
  59391. * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
  59392. * bench/Makefile (bench): Add sin and slowsin.
  59393. * benchtests/sin-inputs: New file.
  59394. * benchtests/slowsin-inputs: New file.
  59395. * benchtests/slowsin.c: New file.
  59396. * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
  59397. (bench): Add slowexp and slowpow.
  59398. (exp-ITER): Increase iterations.
  59399. (pow-ITER): Likewise.
  59400. * benchtests/exp-inputs: Change input.
  59401. * benchtests/pow-inputs: Likewise.
  59402. * benchtests/slowexp-inputs: New file.
  59403. * benchtests/slowexp.c: New file.
  59404. * benchtests/slowpow-inputs: New file.
  59405. * benchtests/slowpow.c: New file.
  59406. 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  59407. * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
  59408. instructions.
  59409. * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
  59410. * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
  59411. * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
  59412. * benchtests/Makefile: Add rint benchtest.
  59413. * benchtests/rint-inputs: Input for rint benchtest.
  59414. 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
  59415. * Versions.def (libm): Add GLIBC_2.18.
  59416. * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
  59417. hidden libm prototypes.
  59418. [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
  59419. * math/Makefile (libm-calls): Add s_issignaling.
  59420. * math/Versions (libm: GLIBC_2.18): Add __issignaling,
  59421. __issignalingf, __issignalingl. Adjust all libm.abilist files.
  59422. * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
  59423. declaration.
  59424. * math/math.h [__USE_GNU] (issignaling): New macro.
  59425. * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
  59426. * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
  59427. * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
  59428. * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
  59429. * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
  59430. * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
  59431. * manual/arith.texi (issignaling): New section.
  59432. * manual/libm-err-tab.pl (@all_functions): Update comment.
  59433. * math/gen-libm-test.pl (parse_args): Apply special handling for
  59434. issignaling.
  59435. * math/libm-test.inc (print_float, issignaling_test): New
  59436. functions.
  59437. (check_float_internal): Add issignaling checks.
  59438. * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
  59439. default definition.
  59440. * sysdeps/powerpc/math-tests.h: New file.
  59441. * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
  59442. tests.
  59443. * math/test-snan.c (TEST_FUNC): Likewise.
  59444. 2013-03-30 David S. Miller <davem@davemloft.net>
  59445. * po/de.po: Update from translation team.
  59446. 2013-03-30 Joseph Myers <joseph@codesourcery.com>
  59447. [BZ #10357]
  59448. * math/k_casinh.c (__kernel_casinh): Handle arguments with
  59449. imaginary part less than 1.0 and real part less than 0.5
  59450. specially.
  59451. * math/k_casinhf.c (__kernel_casinhf): Likewise.
  59452. * math/k_casinhl.c (__kernel_casinhl): Likewise.
  59453. * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
  59454. (cacos_test): Add more tests.
  59455. (casin_test): Likewise.
  59456. (casinh_test): Likewise.
  59457. * sysdeps/i386/fpu/libm-test-ulps: Update.
  59458. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  59459. 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
  59460. * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
  59461. ONE with its value.
  59462. * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
  59463. (__pow_mp): Replace ONE and MONE with their values.
  59464. * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
  59465. * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
  59466. * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
  59467. * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
  59468. * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
  59469. * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
  59470. * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
  59471. * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
  59472. (__pow_mp): Replace ZERO and MZERO with their values.
  59473. * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
  59474. * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
  59475. * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
  59476. * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
  59477. * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
  59478. * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
  59479. (__sqr): Likewise.
  59480. * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
  59481. * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
  59482. 2013-03-28 Roland McGrath <roland@hack.frob.com>
  59483. * include/stdlib.h [!SHARED] (__call_tls_dtors):
  59484. Declare with __attribute__ ((weak)).
  59485. * stdlib/exit.c (__libc_atexit) [!SHARED]:
  59486. Call __call_tls_dtors only if it's not NULL.
  59487. 2013-03-28 Roland McGrath <roland@hack.frob.com>
  59488. * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
  59489. didn't do it already, then set _dl_phdr and _dl_phnum based on the
  59490. magic __ehdr_start linker symbol if it's defined.
  59491. * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
  59492. them up here if it was already done.
  59493. * elf/dl-support.c (_dl_phdr): Make pointer to const.
  59494. (_dl_aux_init): Use const in cast when setting it.
  59495. * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
  59496. * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
  59497. * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
  59498. * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
  59499. Declare them here.
  59500. * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
  59501. * csu/libc-tls.c: Nor here.
  59502. * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
  59503. * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
  59504. (__libc_message): Never call vsyslog.
  59505. 2013-03-28 Alan Modra <amodra@gmail.com>
  59506. * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
  59507. Define as empty.
  59508. * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
  59509. Likewise.
  59510. 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  59511. [BZ #15214]
  59512. * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
  59513. underflow.
  59514. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  59515. 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
  59516. [BZ #15304]
  59517. * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
  59518. Don't add gid passed as argument.
  59519. * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
  59520. 2013-03-27 Joseph Myers <joseph@codesourcery.com>
  59521. [BZ #15307]
  59522. * math/k_casinh.c (__kernel_casinh): Handle arguments with
  59523. imaginary part between 1.0 and 1.5 and real part less than 0.5
  59524. specially.
  59525. * math/k_casinhf.c (__kernel_casinhf): Likewise.
  59526. * math/k_casinhl.c (__kernel_casinhl): Likewise.
  59527. * math/libm-test.inc (cacos_test): Add more tests.
  59528. (casin_test): Likewise.
  59529. (casinh_test): Likewise.
  59530. * sysdeps/i386/fpu/libm-test-ulps: Update.
  59531. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  59532. 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
  59533. * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
  59534. constants.
  59535. (norm): Likewise.
  59536. (denorm): Likewise.
  59537. (__dbl_mp): Likewise.
  59538. (add_magnitudes): Likewise.
  59539. (sub_magnitudes): Likewise.
  59540. (__add): Likewise.
  59541. (__sub): Likewise.
  59542. (__mul): Likewise.
  59543. (__sqr): Likewise.
  59544. (__inv): Likewise.
  59545. (__dvd): Likewise.
  59546. * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
  59547. commented code.
  59548. * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
  59549. (__dubcos): Likewise.
  59550. * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
  59551. (__ieee754_acos): Likewise.
  59552. * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
  59553. * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
  59554. (__exp1): Likewise.
  59555. * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
  59556. * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
  59557. (log1): Likewise.
  59558. (my_log2): Likewise.
  59559. (checkint): Likewise.
  59560. * sysdeps/ieee754/dbl-64/e_remainder.c
  59561. (__ieee754_remainder): Likewise.
  59562. * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
  59563. * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
  59564. (bsloww): Likewise.
  59565. * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
  59566. * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
  59567. * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
  59568. MANTISSA_STORE_T to store computations on mantissa. Use
  59569. macros for rounding and division.
  59570. (denorm): Likewise.
  59571. (__dbl_mp): Likewise.
  59572. (add_magnitudes): Likewise.
  59573. (sub_magnitudes): Likewise.
  59574. (__mul): Likewise.
  59575. (__sqr): Likewise.
  59576. * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
  59577. powers of two in terms of TWOPOW macro.
  59578. (mp_no): Make type of mantissa as MANTISSA_T.
  59579. [!RADIXI]: Define RADIXI.
  59580. [!TWO52]: Define TWO52.
  59581. * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
  59582. 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  59583. * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
  59584. llroundl symbol when building for PPC32.
  59585. 2013-03-24 Mark H Weaver <mhw@netris.org>
  59586. * manual/arith.texi (Normalization Functions): Fix prototypes for
  59587. scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
  59588. 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  59589. [BZ #13889]
  59590. * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
  59591. high value to check if expl overflow.
  59592. * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
  59593. to check for underflow and overflow.
  59594. * math/libm-test.inc: Add exp test.
  59595. 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
  59596. [BZ #11120]
  59597. * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
  59598. with NOT_IN_libc.
  59599. 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  59600. * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
  59601. symbol.
  59602. 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
  59603. * math/gen-libm-test.pl (parse_args, special_functions): Properly
  59604. wrap blocks consisting of several statements.
  59605. * sysdeps/generic/math-tests.h: New file.
  59606. * sysdeps/i386/fpu/math-tests.h: Likewise.
  59607. * math/test-snan.c: Include it.
  59608. (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
  59609. 2013-03-21 Joseph Myers <joseph@codesourcery.com>
  59610. [BZ #15285]
  59611. * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
  59612. (__ieee754_j0l): Do not improve calculations using cos of twice
  59613. input for inputs above LDBL_MAX / 2.0L.
  59614. (__ieee754_y0l): Likewise.
  59615. * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
  59616. (__ieee754_j1l): Do not improve calculations using cos of twice
  59617. input for inputs above LDBL_MAX / 2.0L.
  59618. (__ieee754_y1l): Likewise.
  59619. * math/libm-test.inc (j0_test): Add another test.
  59620. (j1_test): Likewise.
  59621. (y0_test): Likewise.
  59622. (y1_test): Likewise.
  59623. * sysdeps/i386/fpu/libm-test-ulps: Update.
  59624. 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
  59625. * Rules ($(objpfx)bench-%.c): Include code from a C source
  59626. file.
  59627. 2013-03-21 Joseph Myers <joseph@codesourcery.com>
  59628. [BZ #15287]
  59629. * math/k_casinh.c (__kernel_casinh): Handle arguments with
  59630. imaginary part 1.0 and real part less than 0.5 specially.
  59631. * math/k_casinhf.c (__kernel_casinhf): Likewise.
  59632. * math/k_casinhl.c (__kernel_casinhl): Likewise.
  59633. * math/libm-test.inc (cacos_test): Add more tests.
  59634. (casin_test): Likewise.
  59635. (casinh_test): Likewise.
  59636. * sysdeps/i386/fpu/libm-test-ulps: Update.
  59637. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  59638. 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
  59639. * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
  59640. * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
  59641. 2013-03-20 Joseph Myers <joseph@codesourcery.com>
  59642. * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
  59643. * config.make.in (config-cflags-sse4): Remove variable.
  59644. (config-cflags-avx): Likewise.
  59645. (config-cflags-sse2avx): Likewise.
  59646. (config-cflags-novzeroupper): Likewise.
  59647. (config-asflags-i686): Likewise.
  59648. (have-mfma4): Likewise.
  59649. (have-as-vis3): Likewise.
  59650. (MIG): Likewise.
  59651. * configure.in (MIG): Do not AC_SUBST.
  59652. (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
  59653. (libc_cv_cc_sse4): Do not AC_SUBST.
  59654. (libc_cv_cc_avx): Likewise.
  59655. (libc_cv_cc_sse2avx): Likewise.
  59656. (libc_cv_cc_novzeroupper): Likewise.
  59657. (libc_cv_cc_fma4): Likewise.
  59658. (libc_cv_as_i686): Likewise.
  59659. (libc_cv_sparc_as_vis3): Likewise.
  59660. * sysdeps/i386/configure.in (config-cflags-sse4): Set using
  59661. LIBC_CONFIG_VAR.
  59662. (config-asflags-i686): Likewise.
  59663. (config-cflags-avx): Likewise.
  59664. (config-cflags-sse2avx): Likewise.
  59665. (have-mfma4): Likewise.
  59666. (config-cflags-novzeroupper): Likewise.
  59667. * sysdeps/mach/configure.in (MIG): Likewise.
  59668. * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
  59669. * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
  59670. LIBC_CONFIG_VAR.
  59671. (config-cflags-avx): Likewise.
  59672. (config-cflags-sse2avx): Likewise.
  59673. (have-mfma4): Likewise.
  59674. (config-cflags-novzeroupper): Likewise.
  59675. * configure: Regenerated.
  59676. * sysdeps/i386/configure: Likewise.
  59677. * sysdeps/mach/configure: Likewise.
  59678. * sysdeps/sparc/configure: Likewise.
  59679. * sysdeps/x86_64/configure: Likewise.
  59680. 2013-03-20 Roland McGrath <roland@hack.frob.com>
  59681. [BZ #14812]
  59682. * locale/programs/localedef.c (options): Put N_ translation marker
  59683. on argument names, not just descriptions.
  59684. 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
  59685. * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
  59686. 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
  59687. [BZ #14176]
  59688. * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
  59689. 2013-03-19 Roland McGrath <roland@hack.frob.com>
  59690. * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
  59691. [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
  59692. [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
  59693. [!BEFORE_ABORT] (before_abort): New function.
  59694. [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
  59695. * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
  59696. (writev_for_fatal): New function.
  59697. (WRITEV_FOR_FATAL): New macro; call that.
  59698. (backtrace_and_maps): New function.
  59699. (BEFORE_ABORT): New macro; call that.
  59700. (struct str_list): Type removed.
  59701. (__libc_message, __libc_fatal): Functions removed.
  59702. Include <sysdeps/posix/libc_fatal.c> instead.
  59703. 2013-03-19 Joseph Myers <joseph@codesourcery.com>
  59704. * math/k_casinhf.c (__kernel_casinhf): Consistently use float
  59705. constants.
  59706. * math/k_casinhl.c (__kernel_casinhl): Consistently use long
  59707. double constants.
  59708. 2013-03-19 Andreas Schwab <schwab@suse.de>
  59709. * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
  59710. * sysdeps/gnu/configure: Regenerate.
  59711. * configure.in: Substitute libc_cv_rtlddir.
  59712. * configure: Regenerate.
  59713. * config.make.in (rtlddir): Set from libc_cv_rtlddir.
  59714. * Makeconfig (rtlddir, inst_rtlddir): New variables.
  59715. (rtld-LDFLAGS): Use them with $(rtld-installed-name).
  59716. * elf/Makefile (install-others, CFLAGS-interp.c)
  59717. (ldso_install, common-ldd-rewrite): Likewise.
  59718. ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
  59719. $(inst_slibdir)/$(rtld-installed-name).
  59720. * scripts/rellns-sh: Add -p option.
  59721. * Makerules (make-shlib-link): Use rellns-sh to get relative name
  59722. for source.
  59723. 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
  59724. * manual/nptl.texi: Renamed to ...
  59725. * manual/threads.texi: ... this.
  59726. * manual/Makefile (chapters): Update.
  59727. 2013-03-18 Roland McGrath <roland@hack.frob.com>
  59728. [BZ #14812]
  59729. * argp/argp-parse.c (argp_default_options): Put N_ translation marker
  59730. on argument names, not just descriptions.
  59731. * malloc/memusagestat.c (options): Likewise.
  59732. * nss/getent.c (options): Likewise.
  59733. 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
  59734. [BZ #14812]
  59735. * iconv/iconv_prog.c (options): Put N_ translation marker
  59736. on argument names, not just descriptions.
  59737. * iconv/iconvconfig.c (options): Likewise.
  59738. 2013-03-18 Ondřej Bílka <neleai@seznam.cz>
  59739. * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
  59740. implementation which is faster on all x86_64 architectures.
  59741. Tested on AMD, Intel Nehalem, SNB, IVB.
  59742. * sysdeps/x86_64/strnlen.S: Likewise.
  59743. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
  59744. Remove all multiarch strlen and strnlen versions.
  59745. * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
  59746. Remove strlen and strnlen related parts.
  59747. * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
  59748. Inline strlen part.
  59749. * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
  59750. * sysdeps/x86_64/multiarch/strlen.S: Remove.
  59751. * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
  59752. * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
  59753. * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
  59754. * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
  59755. * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
  59756. 2013-03-17 Carlos O'Donell <carlos@redhat.com>
  59757. * manual/memory.texi (Malloc Tunable Parameters):
  59758. Sort parameters alphabetically. Add comments for missing entries.
  59759. 2013-03-17 David S. Miller <davem@davemloft.net>
  59760. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  59761. 2013-03-16 Joseph Myers <joseph@codesourcery.com>
  59762. [BZ #15283]
  59763. * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
  59764. for arguments at most half maximum finite value.
  59765. * math/libm-test.inc (j0_test): Add more tests.
  59766. (j1_test): Likewise.
  59767. (y0_test): Likewise.
  59768. (y1_test): Likewise.
  59769. * sysdeps/i386/fpu/libm-test-ulps: Update.
  59770. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  59771. [BZ #14155]
  59772. * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
  59773. 1 / x and functions P and Q for arguments above 0x1p256L.
  59774. (__ieee754_y0l): Likewise.
  59775. * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
  59776. (__ieee754_y1l): Likewise.
  59777. * math/libm-test.inc (j0_test): Do not allow spurious underflows.
  59778. (j1_test): Likewise.
  59779. (y0_test): Likewise.
  59780. (y1_test): Likewise.
  59781. 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
  59782. * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
  59783. variable.
  59784. 2013-03-15 Roland McGrath <roland@hack.frob.com>
  59785. * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
  59786. (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
  59787. zero since it's initialized to EXEC_PAGESIZE.
  59788. * sysdeps/unix/sysv/linux/ldsodefs.h
  59789. (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
  59790. * sysdeps/generic/ldsodefs.h: ... here.
  59791. 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
  59792. * math/libm-test.inc (ldexp_test): Add missing START/END markers.
  59793. * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
  59794. math/test-snan.c.
  59795. * math/test-snan.c: Renamed from
  59796. sysdeps/powerpc/fpu/test-powerpc-snan.c.
  59797. * math/Makefile (tests): Add test-snan.
  59798. * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
  59799. test-powerpc-snan.
  59800. * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
  59801. SUFFIX. Initialize qNaN_var with __builtin_nan family of
  59802. functions.
  59803. (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
  59804. __builtin_nan family of functions.
  59805. * math/libm-test.inc (initialize): Initialize qnan_value with
  59806. __builtin_nan family of functions.
  59807. * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
  59808. Remove variables.
  59809. (init_signaling_nan, snan_float, snan_double, snan_ldouble):
  59810. Remove functions.
  59811. (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
  59812. storage class. Initialize qNaN_var and sNaN_var with
  59813. __builtin_nan and __builtin_nans families of functions,
  59814. respectively.
  59815. * math/libm-test.inc (acosh_test): Also test with qNaN input.
  59816. (sqrt_test): Remove duplicate test with qNaN input.
  59817. (lrint_test, llrint_test, lround_test, llround_test, rint_test)
  59818. (round_test, signbit_test, significand_test): Note missing +/-Inf
  59819. as well as qNaN tests.
  59820. * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
  59821. qNaN_var. Fix a few strings, too.
  59822. * math/libm-test.inc (nan_value): Rename to qnan_value.
  59823. * math/gen-libm-test.pl (%beautify): Adjust to that.
  59824. * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
  59825. * math/test-misc.c (main): Likewise.
  59826. * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
  59827. to __qnan_bytes, and __qnan_union, respectively.
  59828. * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
  59829. Likewise.
  59830. * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
  59831. and lqnanval, respectively.
  59832. * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
  59833. * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
  59834. * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
  59835. and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
  59836. * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
  59837. * math/test-misc.c (main) [__x86_64__]: Enable test for long
  59838. doubles.
  59839. * math/test-misc.c (main): Fix copy'n'pastos.
  59840. * misc/tst-efgcvt.c (special): Likewise.
  59841. * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
  59842. Remove declarations.
  59843. 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
  59844. * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
  59845. * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
  59846. * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
  59847. * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
  59848. 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  59849. * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
  59850. macro to return vdso values correctly in IFUNC implementations.
  59851. * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
  59852. Optimization by using IFUNC.
  59853. 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
  59854. Richard Henderson <rth@redhat.com>
  59855. Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  59856. * Makefile.in (bench): New target.
  59857. * NEWS: Mention the benchmark framework.
  59858. * Rules (bench): Likewise.
  59859. (binaries-bench): Generate binaries for functions to
  59860. benchmark.
  59861. * benchtests/Makefile: New makefile for benchmark tests.
  59862. * benchtests/bench-skeleton.c: New skeleton file for benchmark
  59863. programs.
  59864. * benchtests/exp-inputs: New input file for EXP function.
  59865. * benchtests/pow-inputs: New input file for POW function.
  59866. * scripts/bench.pl: New script to generate source files for
  59867. benchmark programs.
  59868. 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
  59869. * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
  59870. * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
  59871. computations on mantissa. Use macros for rounding and
  59872. division.
  59873. (denorm): Likewise.
  59874. (__dbl_mp): Likewise.
  59875. (add_magnitudes): Likewise.
  59876. (sub_magnitudes): Likewise.
  59877. (__mul): Likewise.
  59878. (__sqr): Likewise.
  59879. * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
  59880. powers of two in terms of TWOPOW macro.
  59881. (mp_no): Make type of mantissa as MANTISSA_T.
  59882. [!RADIXI]: Define RADIXI.
  59883. [!TWO52]: Define TWO52.
  59884. * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
  59885. * manual/nptl.texi (cindex): Modify threads to pthreads.
  59886. 2013-03-15 Joseph Myers <joseph@codesourcery.com>
  59887. * sysdeps/x86_64/preconfigure: Regenerated.
  59888. 2013-03-14 Joseph Myers <joseph@codesourcery.com>
  59889. [BZ #14155]
  59890. * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
  59891. 0x1p28 and above.
  59892. (qzero): Return -0.125 / x for arguments 0x1p28 and above.
  59893. * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
  59894. 0x1p28 and above.
  59895. (qzero): Return 0.375 / x for arguments 0x1p28 and above.
  59896. * math/libm-test.inc (j0_test): Do not allow one spurious
  59897. underflow exception.
  59898. (y1_test): Likewise.
  59899. 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
  59900. * manual/Makefile (chapters): Add nptl.
  59901. * manual/debug.texi (Debugging Support): Add link to Threads
  59902. chapter.
  59903. * manual/nptl.texi: New file.
  59904. * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
  59905. 2013-03-14 Petr Baudiš <pasky@ucw.cz>
  59906. * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
  59907. for non-NULL pointer before the memory validity test. Pointed
  59908. out by Holger Brunck <holger.brunck@keymile.com>.
  59909. 2013-03-13 Andreas Schwab <schwab@suse.de>
  59910. * extra-lib.mk (extra-objs): Add static-only-routines as .oS
  59911. instead of .os.
  59912. 2013-03-13 Joseph Myers <joseph@codesourcery.com>
  59913. * timezone/zic.c: Update from tzcode 2013b.
  59914. 2013-03-12 Carlos O'Donell <carlos@redhat.com>
  59915. * manual/install.texi (Configuring and compiling):
  59916. Mention i686 and i586.
  59917. * INSTALL: Regenerate.
  59918. 2013-03-12 Roland McGrath <roland@hack.frob.com>
  59919. * sysdeps/init_array/elf-init.c: New file.
  59920. * csu/elf-init.c
  59921. (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
  59922. (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
  59923. * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
  59924. __gmon_start__ as global, but as static with a .preinit_array pointer.
  59925. * sysdeps/init_array/gmon-start.c: New file. Use that.
  59926. * sysdeps/init_array/crti.S: New file, empty except for comments.
  59927. * sysdeps/init_array/crtn.S: Likewise.
  59928. 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
  59929. * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
  59930. definining bcopy.
  59931. * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
  59932. Remove Prefer_SSE_for_memop.
  59933. * sysdeps/x86_64/multiarch/init-arch.h: Remove
  59934. bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
  59935. HAS_PREFER_SSE_FOR_MEMOP.
  59936. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
  59937. memset-x86-64.
  59938. * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
  59939. Remove bzero, memset ifunc support.
  59940. * sysdeps/x86_64/multiarch/bzero.S: Remove file.
  59941. * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
  59942. * sysdeps/x86_64/multiarch/memset.S: Likewise.
  59943. * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
  59944. 2013-03-11 Andreas Schwab <schwab@suse.de>
  59945. [BZ #15234]
  59946. * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
  59947. by SHLIB_COMPAT.
  59948. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
  59949. (GLIBC_2.16): Remove pthread_atfork.
  59950. 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
  59951. * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
  59952. (ptestcases.h): Likewise.
  59953. 2013-03-08 Roland McGrath <roland@hack.frob.com>
  59954. * Makeconfig ($(common-objpfx)config.status): Depend on
  59955. sysdeps/*/preconfigure{,.in} too.
  59956. 2013-03-08 Joseph Myers <joseph@codesourcery.com>
  59957. * malloc/malloc.h (__malloc_ptr_t): Remove macro.
  59958. (__free_hook): Use void * instead of __malloc_ptr_t.
  59959. (__malloc_hook): Likewise.
  59960. (__realloc_hook): Likewise.
  59961. (__memalign_hook): Likewise.
  59962. (__after_morecore_hook): Likewise.
  59963. * malloc/arena.c (save_malloc_hook): Likewise.
  59964. (save_free_hook): Likewise.
  59965. * malloc/hooks.c (malloc_hook_ini): Likewise.
  59966. (realloc_hook_ini): Likewise.
  59967. (memalign_hook_ini): Likewise.
  59968. * malloc/malloc.c (malloc_hook_ini): Likewise.
  59969. (realloc_hook_ini): Likewise.
  59970. (memalign_hook_ini): Likewise.
  59971. (__free_hook): Likewise.
  59972. (__malloc_hook): Likewise.
  59973. (__realloc_hook): Likewise.
  59974. (__memalign_hook): Likewise.
  59975. (__libc_malloc): Likewise.
  59976. (__libc_free): Likewise.
  59977. (__libc_realloc): Likewise.
  59978. (__libc_memalign): Likewise.
  59979. (__libc_valloc): Likewise.
  59980. (__libc_pvalloc): Likewise.
  59981. (__libc_calloc): Likewise.
  59982. (__posix_memalign): Likewise.
  59983. * malloc/morecore.c (__sbrk): Likewise.
  59984. (__default_morecore): Likewise.
  59985. * malloc/morecore.c (__default_morecore): Use ISO C prototype.
  59986. * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
  59987. * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
  59988. __malloc_ptrdiff_t.
  59989. * malloc/malloc.h (__malloc_size_t): Remove macro.
  59990. * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
  59991. __malloc_size_t.
  59992. (old_memalign_hook): Likewise.
  59993. (old_realloc_hook): Likewise.
  59994. (struct hdr): Likewise.
  59995. (flood): Likewise.
  59996. (mallochook): Likewise.
  59997. (memalignhook): Likewise.
  59998. (reallochook): Likewise.
  59999. * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
  60000. (tr_old_realloc_hook): Likewise.
  60001. (tr_old_memalign_hook): Likewise.
  60002. (tr_mallochook): Likewise.
  60003. (tr_reallochook): Likewise.
  60004. (tr_memalignhook): Likewise.
  60005. 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  60006. * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
  60007. default_ldbl_pack and using as default implementation.
  60008. (ldbl_unpack): Rename to default_ldbl_unpack and using as default
  60009. implementation.
  60010. * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
  60011. redundant definition.
  60012. (ldbl_insert_mantissa): Likewise.
  60013. (ldbl_canonicalize): Likewise.
  60014. (ldbl_nearbyint): Likewise.
  60015. (ldbl_pack): Rename to ldbl_pack_ppc.
  60016. (ldbl_unpack): Rename to ldbl_unpack_ppc.
  60017. * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
  60018. * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
  60019. 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
  60020. * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
  60021. * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
  60022. * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
  60023. * sysdeps/powerpc/power4/fpu/Makefile: ... here.
  60024. * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
  60025. * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
  60026. * sysdeps/powerpc/powerpc32/power4/Implies: New file.
  60027. * sysdeps/powerpc/powerpc64/power4/Implies: New file.
  60028. 2013-03-07 Andreas Jaeger <aj@suse.de>
  60029. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
  60030. bits/mman-linux.h.
  60031. 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
  60032. * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
  60033. Include mpa.h and declare __MPEXP.
  60034. [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
  60035. * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
  60036. (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
  60037. * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
  60038. * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
  60039. (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
  60040. * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
  60041. * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
  60042. (__slowpow): Use long double EXPL and LOGL functions to
  60043. compute POW.
  60044. * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
  60045. (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
  60046. * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
  60047. * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
  60048. (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
  60049. * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
  60050. * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
  60051. intermediate variable to calculate exponent.
  60052. (__sqr): Likewise.
  60053. * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
  60054. Likewise.
  60055. (__sqr): Likewise.
  60056. * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
  60057. [!NO__SQR]: Define __sqr.
  60058. * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
  60059. and NO__SQR. Remove all code except __mul and __sqr. Include
  60060. sysdeps/ieee754/dbl-64/mpa.c.
  60061. * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
  60062. [BZ #12723]
  60063. * posix/Makefile (tests): Add tst-pathconf.
  60064. * posix/tst-pathconf.c: New test case.
  60065. * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
  60066. _PC_PIPE_BUF.
  60067. * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
  60068. 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
  60069. * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
  60070. 2013-03-06 Andreas Jaeger <aj@suse.de>
  60071. * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
  60072. definition via __MAP_ANONYMOUS.
  60073. * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
  60074. it's not part of Linux headers.
  60075. * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
  60076. (MAP_HUGE_MASK): Define.
  60077. * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
  60078. Define.
  60079. (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
  60080. * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
  60081. Define.
  60082. (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
  60083. * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
  60084. Define.
  60085. (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
  60086. * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
  60087. Define.
  60088. (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
  60089. * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
  60090. * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
  60091. * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
  60092. * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
  60093. * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
  60094. * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
  60095. * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
  60096. Handle f2fs.
  60097. * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
  60098. Handle f2fs and efivarfs.
  60099. * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
  60100. f2fs.
  60101. * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
  60102. (EFIVARFS_MAGIC): Add.
  60103. (F2FS_LINK_MAX): Add.
  60104. 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
  60105. * stdio-common/vfprintf.c: Replace __builtin_expect with
  60106. __glibc_unlikely.
  60107. 2013-03-06 Joseph Myers <joseph@codesourcery.com>
  60108. [BZ #13550]
  60109. * sysdeps/generic/bp-sym.h: Remove file.
  60110. * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
  60111. * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
  60112. <bp-sym.h> and <bp-asm.h>.
  60113. (__longjmp): Don't use BP_SYM.
  60114. * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
  60115. and <bp-asm.h>.
  60116. (memcpy): Don't use BP_SYM.
  60117. * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
  60118. <bp-sym.h> and <bp-asm.h>.
  60119. (memcpy): Don't use BP_SYM.
  60120. * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
  60121. <bp-asm.h>.
  60122. (memcpy): Don't use BP_SYM.
  60123. * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
  60124. <bp-asm.h>.
  60125. (memset): Don't use BP_SYM.
  60126. (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
  60127. (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
  60128. (__bzero): Don't use BP_SYM.
  60129. (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
  60130. (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
  60131. * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
  60132. <bp-sym.h> and <bp-asm.h>.
  60133. (memcmp): Don't use BP_SYM. Remove comment about bounded
  60134. pointers.
  60135. * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
  60136. <bp-sym.h> and <bp-asm.h>.
  60137. (memcpy): Don't use BP_SYM.
  60138. * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
  60139. <bp-sym.h> and <bp-asm.h>.
  60140. (memset): Don't use BP_SYM.
  60141. (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
  60142. (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
  60143. (__bzero): Don't use BP_SYM.
  60144. (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
  60145. (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
  60146. * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
  60147. <bp-sym.h> and <bp-asm.h>.
  60148. (strncmp): Don't use BP_SYM. Remove comment about bounded
  60149. pointers.
  60150. * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
  60151. <bp-sym.h> and <bp-asm.h>.
  60152. (memcpy): Don't use BP_SYM.
  60153. * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
  60154. <bp-sym.h> and <bp-asm.h>.
  60155. (memset): Don't use BP_SYM.
  60156. (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
  60157. (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
  60158. (__bzero): Don't use BP_SYM.
  60159. (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
  60160. (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
  60161. * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
  60162. <bp-sym.h> and <bp-asm.h>.
  60163. (__memchr): Don't use BP_SYM.
  60164. * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
  60165. <bp-sym.h> and <bp-asm.h>.
  60166. (memcmp): Don't use BP_SYM. Remove comment about bounded
  60167. pointers.
  60168. * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
  60169. <bp-sym.h> and <bp-asm.h>.
  60170. (memcpy): Don't use BP_SYM.
  60171. * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
  60172. <bp-sym.h> and <bp-asm.h>.
  60173. (__mempcpy): Don't use BP_SYM.
  60174. * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
  60175. <bp-sym.h> and <bp-asm.h>.
  60176. (__memrchr): Don't use BP_SYM.
  60177. * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
  60178. <bp-sym.h> and <bp-asm.h>.
  60179. (memset): Don't use BP_SYM.
  60180. (__bzero): Likewise.
  60181. * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
  60182. <bp-sym.h> and <bp-asm.h>.
  60183. (__rawmemchr): Don't use BP_SYM.
  60184. * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
  60185. <bp-sym.h> and <bp-asm.h>.
  60186. (__STRCMP): Don't use BP_SYM.
  60187. * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
  60188. <bp-sym.h> and <bp-asm.h>.
  60189. (strchr): Don't use BP_SYM.
  60190. * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
  60191. <bp-sym.h> and <bp-asm.h>.
  60192. (__strchrnul): Don't use BP_SYM.
  60193. * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
  60194. <bp-sym.h> and <bp-asm.h>.
  60195. (strlen): Don't use BP_SYM.
  60196. * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
  60197. <bp-sym.h> and <bp-asm.h>.
  60198. (strncmp): Don't use BP_SYM. Remove comment about bounded
  60199. pointers.
  60200. * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
  60201. <bp-sym.h> and <bp-asm.h>.
  60202. (__strnlen): Don't use BP_SYM.
  60203. * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
  60204. <bp-sym.h> and <bp-asm.h>.
  60205. (__GI__setjmp): Don't use BP_SYM.
  60206. (_setjmp): Likewise.
  60207. (__sigsetjmp): Likewise.
  60208. * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
  60209. (L(start_addresses)): Don't use BP_SYM.
  60210. (_start): Likewise.
  60211. * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
  60212. <bp-asm.h>.
  60213. (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
  60214. STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
  60215. (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
  60216. (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
  60217. * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
  60218. <bp-asm.h>.
  60219. (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
  60220. CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
  60221. about bounded pointers.
  60222. (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
  60223. (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
  60224. * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
  60225. <bp-asm.h>.
  60226. (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
  60227. about bounded pointers. Remove GKM FIXME comments.
  60228. (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
  60229. * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
  60230. <bp-asm.h>.
  60231. (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
  60232. STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
  60233. Remove GKM FIXME comments.
  60234. (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
  60235. (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
  60236. * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
  60237. <bp-asm.h>.
  60238. (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
  60239. about bounded pointers. Remove GKM FIXME comment.
  60240. * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
  60241. and <bp-asm.h>.
  60242. (strncmp): Don't use BP_SYM. Remove comment about bounded
  60243. pointers.
  60244. * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
  60245. <bp-sym.h> and <bp-asm.h>.
  60246. (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
  60247. * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
  60248. <bp-sym.h> and <bp-asm.h>.
  60249. (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
  60250. comment.
  60251. 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
  60252. * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
  60253. call free(NULL).
  60254. 2013-03-05 David S. Miller <davem@davemloft.net>
  60255. * po/es.po: Update from translation team.
  60256. 2013-03-05 Andreas Jaeger <aj@suse.de>
  60257. * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
  60258. <bits/mman-linux.h>.
  60259. (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
  60260. is fine.
  60261. * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
  60262. <bits/mman-linux.h> to end of file.
  60263. (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
  60264. is fine.
  60265. * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
  60266. <bits/mman-linux.h> to end of file.
  60267. (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
  60268. is fine.
  60269. * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
  60270. <bits/mman-linux.h> to end of file.
  60271. * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
  60272. (MCL_CURRENT, MCL_FUTURE): Define here.
  60273. 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  60274. [BZ #15232]
  60275. * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
  60276. attribute_hidden.
  60277. * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
  60278. 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  60279. * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
  60280. fourth parameter needed for rt_sigprocmask syscall.
  60281. * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
  60282. * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
  60283. * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
  60284. * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
  60285. * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
  60286. * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
  60287. 2013-03-04 Joseph Myers <joseph@codesourcery.com>
  60288. [BZ #13550]
  60289. * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
  60290. comment about bounded pointers.
  60291. * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
  60292. * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
  60293. 2013-03-04 Andreas Jaeger <aj@suse.de>
  60294. * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
  60295. common definitions.
  60296. * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
  60297. provided by bits/mman-linux.h and include <bits/mman-linux.h>.
  60298. * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
  60299. * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
  60300. * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
  60301. * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
  60302. 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  60303. [BZ #15055]
  60304. * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
  60305. __ieee754_sqrl instead of __sqrl.
  60306. 2013-03-01 Joseph Myers <joseph@codesourcery.com>
  60307. * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
  60308. * sysdeps/powerpc/fpu_control.h: ... here.
  60309. * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
  60310. * sysdeps/powerpc/bits/fenvinline.h: ... here.
  60311. * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
  60312. * sysdeps/powerpc/bits/mathinline.h: ... here.
  60313. 2013-03-01 Roland McGrath <roland@hack.frob.com>
  60314. * elf/dl-hwcaps.c (_dl_important_hwcaps):
  60315. Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
  60316. to just [NEED_DL_SYSINFO_DSO].
  60317. * elf/dl-support.c: Likewise.
  60318. * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
  60319. * elf/rtld.c (dl_main): Likewise.
  60320. * elf/setup-vdso.h (setup_vdso): Likewise.
  60321. * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
  60322. * sysdeps/unix/sysv/linux/dl-sysdep.c
  60323. (_dl_discover_osversion): Likewise.
  60324. 2013-03-01 Carlos O'Donell <carlos@redhat.com>
  60325. * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
  60326. * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
  60327. 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
  60328. * NEWS: Mention libm performance improvements and non-x86 PI
  60329. futex support.
  60330. * csu/libc-start.c (__pthread_initialize_minimal): Change
  60331. function arguments.
  60332. * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
  60333. 2013-02-28 Joseph Myers <joseph@codesourcery.com>
  60334. [BZ #13550]
  60335. * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
  60336. * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
  60337. <bp-sym.h> and <bp-asm.h>.
  60338. (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
  60339. * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
  60340. and <bp-asm.h>.
  60341. (memcpy): Don't use BP_SYM.
  60342. * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
  60343. <bp-asm.h>.
  60344. (__mpn_add_n): Don't use BP_SYM.
  60345. (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
  60346. * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
  60347. and <bp-asm.h>.
  60348. (__mpn_addmul_1): Don't use BP_SYM.
  60349. (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
  60350. * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
  60351. <bp-sym.h>.
  60352. (_setjmp): Don't use BP_SYM.
  60353. (__novmx_setjmp): Likewise.
  60354. (__GI__setjmp): Likewise.
  60355. (__vmx_setjmp): Likewise.
  60356. * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
  60357. <bp-sym.h>.
  60358. * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
  60359. (__bzero): Don't use BP_SYM.
  60360. (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
  60361. (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
  60362. * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
  60363. <bp-sym.h> and <bp-asm.h>.
  60364. (memcpy): Don't use BP_SYM.
  60365. * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
  60366. <bp-sym.h> and <bp-asm.h>.
  60367. (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
  60368. * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
  60369. <bp-sym.h> and <bp-asm.h>.
  60370. (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
  60371. * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
  60372. <bp-asm.h>.
  60373. (__mpn_lshift): Don't use BP_SYM.
  60374. (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
  60375. * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
  60376. <bp-asm.h>.
  60377. (memset): Don't use BP_SYM.
  60378. (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
  60379. (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
  60380. * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
  60381. <bp-asm.h>.
  60382. (__mpn_mul_1): Don't use BP_SYM.
  60383. (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
  60384. * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
  60385. <bp-sym.h> and <bp-asm.h>.
  60386. (memcmp): Don't use BP_SYM.
  60387. * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
  60388. <bp-sym.h> and <bp-asm.h>.
  60389. (memcpy): Don't use BP_SYM.
  60390. * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
  60391. <bp-sym.h> and <bp-asm.h>.
  60392. (memset): Don't use BP_SYM.
  60393. * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
  60394. <bp-sym.h> and <bp-asm.h>.
  60395. (strncmp): Don't use BP_SYM.
  60396. * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
  60397. <bp-sym.h> and <bp-asm.h>.
  60398. (memcpy): Don't use BP_SYM.
  60399. * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
  60400. <bp-sym.h> and <bp-asm.h>.
  60401. (memset): Don't use BP_SYM.
  60402. * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
  60403. <bp-sym.h> and <bp-asm.h>.
  60404. (__memchr): Don't use BP_SYM.
  60405. * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
  60406. <bp-sym.h> and <bp-asm.h>.
  60407. (memcmp): Don't use BP_SYM.
  60408. * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
  60409. <bp-sym.h> and <bp-asm.h>.
  60410. (memcpy): Don't use BP_SYM.
  60411. * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
  60412. <bp-sym.h> and <bp-asm.h>.
  60413. (__mempcpy): Don't use BP_SYM.
  60414. * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
  60415. <bp-sym.h> and <bp-asm.h>.
  60416. (__memrchr): Don't use BP_SYM.
  60417. * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
  60418. <bp-sym.h> and <bp-asm.h>.
  60419. (memset): Don't use BP_SYM.
  60420. * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
  60421. <bp-sym.h> and <bp-asm.h>.
  60422. (__rawmemchr): Don't use BP_SYM.
  60423. * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
  60424. <bp-sym.h> and <bp-asm.h>.
  60425. (__STRCMP): Don't use BP_SYM.
  60426. * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
  60427. <bp-sym.h> and <bp-asm.h>.
  60428. (strchr): Don't use BP_SYM.
  60429. * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
  60430. <bp-sym.h> and <bp-asm.h>.
  60431. (__strchrnul): Don't use BP_SYM.
  60432. * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
  60433. <bp-sym.h> and <bp-asm.h>.
  60434. (strlen): Don't use BP_SYM.
  60435. * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
  60436. <bp-sym.h> and <bp-asm.h>.
  60437. (strncmp): Don't use BP_SYM.
  60438. * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
  60439. <bp-sym.h> and <bp-asm.h>.
  60440. (__strnlen): Don't use BP_SYM.
  60441. * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
  60442. <bp-asm.h>.
  60443. (__mpn_rshift): Don't use BP_SYM.
  60444. (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
  60445. * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
  60446. <bp-sym.h> and <bp-asm.h>.
  60447. (__sigsetjmp): Don't use BP_SYM.
  60448. * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
  60449. (L(start_addresses)): Don't use BP_SYM.
  60450. (_start): Likewise.
  60451. * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
  60452. <bp-asm.h>.
  60453. (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
  60454. (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
  60455. (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
  60456. * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
  60457. <bp-asm.h>.
  60458. (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
  60459. (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
  60460. (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
  60461. * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
  60462. <bp-asm.h>.
  60463. (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
  60464. comments.
  60465. (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
  60466. * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
  60467. <bp-asm.h>.
  60468. (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
  60469. FIXME comments.
  60470. (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
  60471. (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
  60472. * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
  60473. <bp-asm.h>.
  60474. (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
  60475. comment.
  60476. * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
  60477. and <bp-asm.h>.
  60478. (strncmp): Don't use BP_SYM,
  60479. * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
  60480. <bp-asm.h>.
  60481. (__mpn_sub_n): Don't use BP_SYM.
  60482. (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
  60483. * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
  60484. and <bp-asm.h>.
  60485. (__mpn_submul_1): Don't use BP_SYM.
  60486. (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
  60487. * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
  60488. <bp-sym.h> and <bp-asm.h>.
  60489. (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
  60490. * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
  60491. <bp-sym.h> and <bp-asm.h>.
  60492. (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
  60493. comment.
  60494. 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
  60495. * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
  60496. Use ZK to minimize writes to Z.
  60497. (sub_magnitudes): Simplify code a bit.
  60498. * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
  60499. Use ZK to minimize writes to Z.
  60500. (sub_magnitudes): Simplify code a bit.
  60501. 2013-02-27 Roland McGrath <roland@hack.frob.com>
  60502. * csu/gmon-start.c: Add special exception to license text.
  60503. 2013-02-27 Richard Henderson <rth@redhat.com>
  60504. * scripts/config.guess: Update from config.git.
  60505. * scripts/config.sub: Likewise.
  60506. 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
  60507. * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
  60508. * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
  60509. * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
  60510. * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
  60511. * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
  60512. 2013-02-26 Roland McGrath <roland@hack.frob.com>
  60513. * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
  60514. [$(build-shared = yes].
  60515. 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
  60516. * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
  60517. (__mul): Reduce iterations for calculating mantissa.
  60518. * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
  60519. MPTWO.
  60520. (__mpranred): Likewise.
  60521. [BZ #15160]
  60522. * malloc/memusagestat.c (main): Draw graphs for heap and stack
  60523. only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
  60524. 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
  60525. * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
  60526. Define __attribute__.
  60527. 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
  60528. * locale/elem-hash.h (elem_hash): Mark as pure and possibly
  60529. unused.
  60530. * posix/regex_internal.h (__attribute): Remove.
  60531. [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
  60532. (re_string_context_at): Likewise.
  60533. (bitset_not): Use __attribute__ and mark function as possibly
  60534. unused.
  60535. (bitset_merge): Likewise.
  60536. (bitset_mask): Likewise.
  60537. (re_string_char_size_at): Likewise.
  60538. (re_string_wchar_at): Likewise.
  60539. (re_string_elem_size_at): Likewise.
  60540. 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
  60541. * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
  60542. code.
  60543. (cc32): Likewise.
  60544. * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
  60545. (__acr): Likewise.
  60546. (__cpy): Likewise.
  60547. (norm): Likewise.
  60548. (denorm): Likewise.
  60549. (__dbl_mp): Likewise.
  60550. (add_magnitudes): Likewise.
  60551. (sub_magnitudes): Likewise.
  60552. (__mul): Likewise.
  60553. (__inv): Likewise.
  60554. * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
  60555. style.
  60556. * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
  60557. style.
  60558. * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
  60559. code.
  60560. * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
  60561. up changes with default code.
  60562. * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
  60563. Likewise.
  60564. 2013-02-24 Allan McRae <allan@archlinux.org>
  60565. * manual/socket.texi (The Internet Namespace): Order menu items
  60566. to match that in the file.
  60567. * manual/libc-texinfo.sh: Use @detailmenu around the detailed
  60568. node listing of the info page menu.
  60569. 2013-02-21 Joseph Myers <joseph@codesourcery.com>
  60570. [BZ #13550]
  60571. * sysdeps/i386/bp-asm.h: Remove file.
  60572. * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
  60573. (PARMS): Do not use macros from bp-asm.h.
  60574. (S1): Likewise.
  60575. (S2): Likewise.
  60576. (SIZE): Likewise.
  60577. (__mpn_add_n): Do not use BP_SYM
  60578. * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
  60579. "bp-asm.h".
  60580. (PARMS): Do not use macros from bp-asm.h.
  60581. (S1): Likewise.
  60582. (SIZE): Likewise.
  60583. (__mpn_addmul_1): Do not use BP_SYM
  60584. * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
  60585. "bp-asm.h".
  60586. (PARMS): Do not use macros from bp-asm.h.
  60587. (SIGMSK): Likewise.
  60588. (_setjmp): Likewise. Do not use BP_SYM.
  60589. * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
  60590. "bp-asm.h".
  60591. (PARMS): Do not use macros from bp-asm.h.
  60592. (SIGMSK): Likewise.
  60593. (setjmp): Likewise. Do not use BP_SYM.
  60594. * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
  60595. "bp-asm.h".
  60596. (PARMS): Do not use macros from bp-asm.h.
  60597. (__frexp): Do not use BP_SYM.
  60598. (frexp): Likewise.
  60599. * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
  60600. "bp-asm.h".
  60601. (PARMS): Do not use macros from bp-asm.h.
  60602. (__frexpf): Do not use BP_SYM.
  60603. (frexpf): Likewise.
  60604. * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
  60605. "bp-asm.h".
  60606. (PARMS): Do not use macros from bp-asm.h.
  60607. (__frexpl): Do not use BP_SYM.
  60608. (frexpl): Likewise.
  60609. * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
  60610. "bp-asm.h".
  60611. (PARMS): Do not use macros from bp-asm.h.
  60612. (__remquo): Do not use BP_SYM.
  60613. (remquo): Likewise.
  60614. * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
  60615. "bp-asm.h".
  60616. (PARMS): Do not use macros from bp-asm.h.
  60617. (__remquof): Do not use BP_SYM.
  60618. (remquof): Likewise.
  60619. * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
  60620. "bp-asm.h".
  60621. (PARMS): Do not use macros from bp-asm.h.
  60622. (__remquol): Do not use BP_SYM.
  60623. (remquol): Likewise.
  60624. * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
  60625. "bp-asm.h".
  60626. (PARMS): Do not use macros from bp-asm.h.
  60627. (DEST): Likewise.
  60628. (SRC): Likewise.
  60629. (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
  60630. * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
  60631. "bp-asm.h".
  60632. (PARMS): Do not use macros from bp-asm.h.
  60633. (strlen): Do not use BP_SYM.
  60634. * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
  60635. "bp-asm.h".
  60636. (PARMS): Do not use macros from bp-asm.h.
  60637. (S1): Likewise.
  60638. (S2): Likewise.
  60639. (SIZE): Likewise.
  60640. (__mpn_add_n): Do not use BP_SYM.
  60641. * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
  60642. "bp-asm.h".
  60643. (PARMS): Do not use macros from bp-asm.h.
  60644. (S1): Likewise.
  60645. (SIZE): Likewise.
  60646. (__mpn_addmul_1): Do not use BP_SYM.
  60647. * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
  60648. weak_alias.
  60649. (bzero): Likewise.
  60650. * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
  60651. "bp-asm.h".
  60652. (PARMS): Do not use macros from bp-asm.h.
  60653. (S): Likewise.
  60654. (SIZE): Likewise.
  60655. (__mpn_lshift): Do not use BP_SYM.
  60656. * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
  60657. "bp-asm.h".
  60658. (PARMS): Do not use macros from bp-asm.h.
  60659. (DEST): Likewise.
  60660. (SRC): Likewise.
  60661. (LEN): Likewise.
  60662. (memcpy): Likewise. Do not use BP_SYM.
  60663. * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
  60664. libc_hidden_def and weak_alias.
  60665. (mempcpy): Do not use BP_SYM in weak_alias.
  60666. * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
  60667. "bp-asm.h".
  60668. (PARMS): Do not use macros from bp-asm.h.
  60669. (DEST): Likewise.
  60670. (LEN): Likewise.
  60671. [!BZERO_P] (CHR): Likewise.
  60672. (memset): Likewise. Do not use BP_SYM.
  60673. * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
  60674. "bp-asm.h".
  60675. (PARMS): Do not use macros from bp-asm.h.
  60676. (S1): Likewise.
  60677. (SIZE): Likewise.
  60678. (__mpn_mul_1): Do not use BP_SYM.
  60679. * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
  60680. "bp-asm.h".
  60681. (PARMS): Do not use macros from bp-asm.h.
  60682. (S): Likewise.
  60683. (SIZE): Likewise.
  60684. (__mpn_rshift): Do not use BP_SYM.
  60685. * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
  60686. "bp-asm.h".
  60687. (PARMS): Do not use macros from bp-asm.h.
  60688. (STR): Likewise.
  60689. (CHR): Likewise.
  60690. (strchr): Likewise. Do not use BP_SYM.
  60691. (index): Do not use BP_SYM in weak_alias.
  60692. * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
  60693. "bp-asm.h".
  60694. (PARMS): Do not use macros from bp-asm.h.
  60695. (DEST): Likewise.
  60696. (SRC): Likewise.
  60697. (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
  60698. * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
  60699. "bp-asm.h".
  60700. (PARMS): Do not use macros from bp-asm.h.
  60701. (strlen): Do not use BP_SYM.
  60702. * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
  60703. "bp-asm.h".
  60704. (PARMS): Do not use macros from bp-asm.h.
  60705. (S1): Likewise.
  60706. (S2): Likewise.
  60707. (SIZE): Likewise.
  60708. (__mpn_sub_n): Do not use BP_SYM.
  60709. * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
  60710. "bp-asm.h".
  60711. (PARMS): Do not use macros from bp-asm.h.
  60712. (S1): Likewise.
  60713. (SIZE): Likewise.
  60714. (__mpn_submul_1): Do not use BP_SYM.
  60715. * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
  60716. "bp-asm.h".
  60717. (PARMS): Do not use macros from bp-asm.h.
  60718. (S1): Likewise.
  60719. (S2): Likewise.
  60720. (SIZE): Likewise.
  60721. (__mpn_add_n): Do not use BP_SYM.
  60722. * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
  60723. weak_alias.
  60724. (bzero): Likewise.
  60725. * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
  60726. "bp-asm.h".
  60727. (PARMS): Do not use macros from bp-asm.h.
  60728. (BLK2): Likewise.
  60729. (LEN): Likewise.
  60730. (memcmp): Do not use BP_SYM.
  60731. (bcmp): Do not use BP_SYM in weak_alias.
  60732. * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
  60733. "bp-asm.h".
  60734. (PARMS): Do not use macros from bp-asm.h.
  60735. (DEST): Likewise.
  60736. (SRC): Likewise.
  60737. (LEN): Likewise.
  60738. (memcpy): Likewise. Do not use BP_SYM.
  60739. * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
  60740. "bp-asm.h".
  60741. (PARMS): Do not use macros from bp-asm.h.
  60742. (DEST): Likewise.
  60743. (SRC): Likewise.
  60744. (LEN): Likewise.
  60745. (memmove): Likewise. Do not use BP_SYM.
  60746. * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
  60747. "bp-asm.h".
  60748. (PARMS): Do not use macros from bp-asm.h.
  60749. (DEST): Likewise.
  60750. (SRC): Likewise.
  60751. (LEN): Likewise.
  60752. (__mempcpy): Likewise. Do not use BP_SYM.
  60753. (mempcpy): Do not use BP_SYM in weak_alias.
  60754. * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
  60755. "bp-asm.h".
  60756. (PARMS): Do not use macros from bp-asm.h.
  60757. (DEST): Likewise.
  60758. (LEN): Likewise.
  60759. [!BZERO_P] (CHR): Likewise.
  60760. (memset): Likewise. Do not use BP_SYM.
  60761. * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
  60762. "bp-asm.h".
  60763. (PARMS): Do not use macros from bp-asm.h.
  60764. (STR2): Likewise.
  60765. (strcmp): Do not use BP_SYM.
  60766. * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
  60767. "bp-asm.h".
  60768. (PARMS): Do not use macros from bp-asm.h.
  60769. (STR): Likewise.
  60770. (DELIM): Likewise.
  60771. [USE_AS_STRTOK_R] (SAVE): Likewise.
  60772. (FUNCTION): Likewise. Do not use BP_SYM.
  60773. * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
  60774. aliases.
  60775. (strtok_r): Likewise.
  60776. (__GI___strtok_r): Likewise.
  60777. * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
  60778. (PARMS): Do not use macros from bp-asm.h.
  60779. (S): Likewise.
  60780. (SIZE): Likewise.
  60781. (__mpn_lshift): Do not use BP_SYM.
  60782. * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
  60783. (PARMS): Do not use macros from bp-asm.h.
  60784. (STR): Likewise.
  60785. (CHR): Likewise.
  60786. (__memchr): Do not use BP_SYM.
  60787. (memchr): Do not use BP_SYM in weak_alias.
  60788. * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
  60789. (PARMS): Do not use macros from bp-asm.h.
  60790. (BLK2): Likewise.
  60791. (LEN): Likewise.
  60792. (memcmp): Do not use BP_SYM.
  60793. (bcmp): Do not use BP_SYM in weak_alias.
  60794. * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
  60795. (PARMS): Do not use macros from bp-asm.h.
  60796. (S1): Likewise.
  60797. (SIZE): Likewise.
  60798. (__mpn_mul_1): Do not use BP_SYM.
  60799. * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
  60800. "bp-asm.h".
  60801. (PARMS): Do not use macros from bp-asm.h.
  60802. (STR): Likewise.
  60803. (CHR): Likewise.
  60804. (__rawmemchr): Do not use BP_SYM.
  60805. (rawmemchr): Do not use BP_SYM in weak_alias.
  60806. * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
  60807. (PARMS): Do not use macros from bp-asm.h.
  60808. (S): Likewise.
  60809. (SIZE): Likewise.
  60810. (__mpn_rshift): Do not use BP_SYM.
  60811. * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
  60812. (PARMS): Do not use macros from bp-asm.h.
  60813. (SIGMSK): Likewise.
  60814. (__sigsetjmp): Likewise. Do not use BP_SYM.
  60815. * sysdeps/i386/start.S: Do not include "bp-sym.h".
  60816. (_start): Do not use BP_SYM.
  60817. * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
  60818. (PARMS): Do not use macros from bp-asm.h.
  60819. (DEST): Likewise.
  60820. (SRC): Likewise.
  60821. (__stpcpy): Likewise. Do not use BP_SYM.
  60822. (stpcpy): Do not use BP_SYM in weak_alias.
  60823. * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
  60824. "bp-asm.h".
  60825. (PARMS): Do not use macros from bp-asm.h.
  60826. (DEST): Likewise.
  60827. (SRC): Likewise.
  60828. (LEN): Likewise.
  60829. (__stpncpy): Likewise. Do not use BP_SYM.
  60830. (stpncpy): Do not use BP_SYM in weak_alias.
  60831. * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
  60832. (PARMS): Do not use macros from bp-asm.h.
  60833. (STR): Likewise.
  60834. (CHR): Likewise.
  60835. (strchr): Likewise. Do not use BP_SYM.
  60836. * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
  60837. "bp-asm.h".
  60838. (PARMS): Do not use macros from bp-asm.h.
  60839. (STR): Likewise.
  60840. (CHR): Likewise.
  60841. (__strchrnul): Likewise. Do not use BP_SYM.
  60842. (strchrnul): Do not use BP_SYM in weak_alias.
  60843. * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
  60844. "bp-asm.h".
  60845. (PARMS): Do not use macros from bp-asm.h.
  60846. (STOP): Likewise.
  60847. (strcspn): Do not use BP_SYM.
  60848. * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
  60849. "bp-asm.h".
  60850. (PARMS): Do not use macros from bp-asm.h.
  60851. (STR): Likewise.
  60852. (STOP): Likewise.
  60853. (strpbrk): Likewise. Do not use BP_SYM.
  60854. * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
  60855. "bp-asm.h".
  60856. (PARMS): Do not use macros from bp-asm.h.
  60857. (STR): Likewise.
  60858. (CHR): Likewise.
  60859. (strrchr): Likewise. Do not use BP_SYM.
  60860. * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
  60861. (PARMS): Do not use macros from bp-asm.h.
  60862. (SKIP): Likewise.
  60863. (strspn): Do not use BP_SYM.
  60864. * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
  60865. (PARMS): Do not use macros from bp-asm.h.
  60866. (STR): Likewise.
  60867. (DELIM): Likewise.
  60868. (SAVE): Likewise.
  60869. (FUNCTION): Likewise. Do not use BP_SYM.
  60870. * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
  60871. aliases.
  60872. (strtok_r): Likewise.
  60873. (__GI___strtok_r): Likewise.
  60874. * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
  60875. (PARMS): Do not use macros from bp-asm.h.
  60876. (S1): Likewise.
  60877. (S2): Likewise.
  60878. (SIZE): Likewise.
  60879. (__mpn_sub_n): Do not use BP_SYM.
  60880. * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
  60881. "bp-asm.h".
  60882. (PARMS): Do not use macros from bp-asm.h.
  60883. (S1): Likewise.
  60884. (SIZE): Likewise.
  60885. (__mpn_submul_1): Do not use BP_SYM.
  60886. * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
  60887. <bp-sym.h>.
  60888. * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
  60889. and <bp-asm.h>.
  60890. (PARMS): Do not use macros from bp-asm.h.
  60891. (FLAGS): Likewise.
  60892. (PTID): Likewise.
  60893. (TLS): Likewise.
  60894. (CTID): Likewise.
  60895. (__clone): Do not use BP_SYM.
  60896. (clone): Do not use BP_SYM in weak_alias.
  60897. * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
  60898. and <bp-asm.h>.
  60899. (PARMS): Do not use macros from bp-asm.h.
  60900. (LEN): Likewise.
  60901. (__mmap64): Do not use BP_SYM.
  60902. (mmap64): Do not use BP_SYM in weak_alias.
  60903. * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
  60904. <bp-sym.h> and <bp-asm.h>.
  60905. (PARMS): Do not use macros from bp-asm.h.
  60906. (__posix_fadvise64_l64): Do not use BP_SYM.
  60907. * sysdeps/unix/sysv/linux/i386/semtimedop.S
  60908. (PARMS): Do not use macros from bp-asm.h.
  60909. (NSOPS): Likewise.
  60910. (semtimedop): Do not use BP_SYM.
  60911. * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
  60912. and <bp-asm.h>.
  60913. 2013-02-21 Allan McRae <allan@archlinux.org>
  60914. * manual/message.texi (Charset conversion in gettext):
  60915. Move @end statement to beginning of line.
  60916. 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
  60917. * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
  60918. static.
  60919. * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
  60920. Likewise.
  60921. * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
  60922. (denorm): Likewise.
  60923. * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
  60924. * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
  60925. 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  60926. * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
  60927. tail-call to the resolved function if pltexit isn't needed.
  60928. 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
  60929. * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
  60930. or Y being zero as being unlikely.
  60931. * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
  60932. Likewise.
  60933. 2013-02-20 Carlos O'Donell <carlos@redhat.com>
  60934. * manual/nss.texi (System Databases and Name Service Switch):
  60935. Remove frobnicate @pxref.
  60936. 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
  60937. * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
  60938. __attribute__ ((unused)) to __attribute__ ((__unused__)).
  60939. 2013-02-20 Petr Machata <pmachata@redhat.com>
  60940. * elf/elf.h (R_ARM_TARGET1): New macro.
  60941. (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
  60942. (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
  60943. (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
  60944. (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
  60945. (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
  60946. (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
  60947. (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
  60948. (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
  60949. (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
  60950. (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
  60951. (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
  60952. (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
  60953. (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
  60954. (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
  60955. (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
  60956. (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
  60957. (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
  60958. (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
  60959. (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
  60960. (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
  60961. (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
  60962. (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
  60963. (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
  60964. (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
  60965. (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
  60966. (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
  60967. (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
  60968. (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
  60969. (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
  60970. (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
  60971. (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
  60972. (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
  60973. (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
  60974. (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
  60975. (R_ARM_THM_GOT_BREL12): Likewise.
  60976. (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
  60977. (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
  60978. (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
  60979. (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
  60980. (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
  60981. (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
  60982. (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
  60983. (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
  60984. (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
  60985. 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
  60986. * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
  60987. __attribute_used__ to __attribute__ ((unused)).
  60988. 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
  60989. * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
  60990. powerpc mpa.c.
  60991. * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
  60992. comment formatting.
  60993. * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
  60994. 2013-02-19 Joseph Myers <joseph@codesourcery.com>
  60995. [BZ #13550]
  60996. * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
  60997. Remove macro.
  60998. (ENTER): Remove both macro definitions.
  60999. (LEAVE): Likewise.
  61000. (CHECK_BOUNDS_LOW): Likewise.
  61001. (CHECK_BOUNDS_HIGH): Likewise.
  61002. (CHECK_BOUNDS_BOTH): Likewise.
  61003. (CHECK_BOUNDS_BOTH_WIDE): Likewise.
  61004. (RETURN_BOUNDED_POINTER): Likewise.
  61005. (RETURN_NULL_BOUNDED_POINTER): Likewise.
  61006. (PUSH_ERRNO_LOCATION_RETURN): Likewise.
  61007. (POP_ERRNO_LOCATION_RETURN): Likewise.
  61008. * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
  61009. (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
  61010. * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
  61011. macros.
  61012. (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
  61013. * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
  61014. * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
  61015. * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
  61016. * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
  61017. * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
  61018. * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
  61019. * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
  61020. * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
  61021. * sysdeps/i386/i486/strcat.S (strcat): Likewise.
  61022. * sysdeps/i386/i486/strlen.S (strlen): Likewise.
  61023. * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
  61024. (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
  61025. * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
  61026. removed macros.
  61027. (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
  61028. * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
  61029. macros.
  61030. (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
  61031. * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
  61032. * sysdeps/i386/i586/memset.S (memset): Likewise.
  61033. * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
  61034. (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
  61035. * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
  61036. macros.
  61037. (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
  61038. * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
  61039. Change uses of L(2) to L(out).
  61040. * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
  61041. * sysdeps/i386/i586/strlen.S (strlen): Likewise.
  61042. * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
  61043. (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
  61044. * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
  61045. removed macros.
  61046. (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
  61047. * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
  61048. macros.
  61049. (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
  61050. * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
  61051. (RETURN): Do not use macro LEAVE.
  61052. * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
  61053. * sysdeps/i386/i686/memmove.S (memmove): Likewise.
  61054. * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
  61055. * sysdeps/i386/i686/memset.S (memset): Likewise.
  61056. * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
  61057. (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
  61058. (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
  61059. * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
  61060. Likewise.
  61061. (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
  61062. (FUNCTION): Do not use removed macros. Combine labels L(1_1),
  61063. L(1_2) and L(1_3) into L(1).
  61064. (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
  61065. * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
  61066. (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
  61067. * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
  61068. (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
  61069. * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
  61070. * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
  61071. (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
  61072. * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
  61073. macros.
  61074. * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
  61075. (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
  61076. * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
  61077. * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
  61078. * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
  61079. (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
  61080. * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
  61081. * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
  61082. * sysdeps/i386/strcspn.S (strcspn): Likewise.
  61083. * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
  61084. * sysdeps/i386/strrchr.S (strrchr): Likewise.
  61085. * sysdeps/i386/strspn.S (strspn): Likewise.
  61086. * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
  61087. conditional code.
  61088. (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
  61089. (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
  61090. (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
  61091. (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
  61092. L(1_3) into L(1_1).
  61093. * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
  61094. (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
  61095. * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
  61096. macros.
  61097. (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
  61098. 2013-02-19 Jakub Jelinek <jakub@redhat.com>
  61099. * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
  61100. macro.
  61101. 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
  61102. * math/atest-exp.c (exp_mpn): Remove ROUND.
  61103. * math/atest-exp2.c (exp_mpn): Likewise.
  61104. * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
  61105. * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
  61106. * stdlib/tst-tls-atexit-lib.c: Likewise.
  61107. * stdlib/tst-tls-atexit.c: Likewise.
  61108. 2013-02-18 Mike Frysinger <vapier@gentoo.org>
  61109. * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
  61110. and __attribute_alloc_size__.
  61111. 2013-02-18 Mike Frysinger <vapier@gentoo.org>
  61112. * include/programs/xmalloc.h: Change __attribute_alloc_size to
  61113. __attribute_alloc_size__.
  61114. * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
  61115. * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
  61116. 2013-02-18 Mike Frysinger <vapier@gentoo.org>
  61117. * include/programs/xmalloc.h: New file.
  61118. * catgets/gencat.c: Include it.
  61119. (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
  61120. * elf/pldd.c: Likewise.
  61121. * iconv/iconv_charmap.c: Likewise.
  61122. * iconv/iconvconfig.c: Likewise.
  61123. * iconv/strtab.c: Likewise.
  61124. * locale/programs/locale.c: Likewise.
  61125. * locale/programs/localedef.h: Likewise.
  61126. * locale/programs/simple-hash.c: Likewise.
  61127. * nscd/nscd.h: Likewise.
  61128. * nss/makedb.c: Likewise.
  61129. * sysdeps/generic/ldconfig.h: Likewise.
  61130. 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
  61131. * Versions.def: Add GLIBC_2.18.
  61132. * include/link.h (struct link_map): New member l_tls_dtor_count.
  61133. * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
  61134. (__call_tls_dtors): Likewise.
  61135. * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
  61136. __cxa_thread_atexit_impl.
  61137. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
  61138. Likewise.
  61139. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
  61140. Likewise.
  61141. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
  61142. Likewise.
  61143. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
  61144. Likewise.
  61145. * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
  61146. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
  61147. Likewise.
  61148. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
  61149. Likewise.
  61150. * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
  61151. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
  61152. Likewise.
  61153. * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
  61154. (tests): Add test case tst-tls-atexit.
  61155. (modules-names): Add shared library for tst-tls-atexit.
  61156. * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
  61157. (GLIBC_PRIVATE): Add __call_tls_dtors.
  61158. * stdlib/cxa_thread_atexit_impl.c: New file with helper function
  61159. for libstdc++.
  61160. * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
  61161. * stdlib/tst-tls-atexit.c: New test case.
  61162. * stdlib/tst-tls-atexit-lib.c: New test case.
  61163. * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
  61164. * elf/Versions (ld): Add _dl_find_dso_for_object.
  61165. * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
  61166. * elf/dl-open.c (_dl_find_dso_for_object): New function.
  61167. (dl_open_worker): Use _dl_find_dso_for_object.
  61168. * elf/dl-sym.c (do_sym): Likewise.
  61169. * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
  61170. 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  61171. * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
  61172. Syntactic changes only.
  61173. (_dl_runtime_profile): Do a tail-call to the resolved function.
  61174. 2013-02-17 Joseph Myers <joseph@codesourcery.com>
  61175. [BZ #13550]
  61176. * sysdeps/x86_64/bp-asm.h: Remove file.
  61177. * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
  61178. <bp-sym.h> and <bp-asm.h>.
  61179. (__clone): Do not use BP_SYM.
  61180. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
  61181. <bp-sym.h> and <bp-asm.h>.
  61182. * sysdeps/unix/x86_64/sysdep.S: Likewise.
  61183. * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
  61184. "bp-asm.h".
  61185. (_setjmp): Do not use BP_SYM.
  61186. * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
  61187. "bp-asm.h".
  61188. (setjmp): Do not use BP_SYM.
  61189. * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
  61190. libc_hidden_def.
  61191. (mempcpy): Do not use BP_SYM in weak_alias.
  61192. * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
  61193. "bp-asm.h".
  61194. (strchr): Do not use BP_SYM.
  61195. * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
  61196. "bp-asm.h".
  61197. * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
  61198. * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
  61199. (_start): Do not use BP_SYM.
  61200. * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
  61201. "bp-asm.h".
  61202. (strcat): Do not use BP_SYM.
  61203. * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
  61204. "bp-asm.h".
  61205. (STRCMP): Do not use BP_SYM.
  61206. * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
  61207. "bp-asm.h".
  61208. (STRCPY): Do not use BP_SYM.
  61209. * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
  61210. "bp-asm.h".
  61211. * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
  61212. "bp-asm.h".
  61213. (FUNCTION): Do not use BP_SYM.
  61214. * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
  61215. weak_alias.
  61216. (__GI___strtok_r): Do not use BP_SYM in strong_alias.
  61217. 2013-02-17 Andreas Jaeger <aj@suse.de>
  61218. * time/Versions: Sort entries.
  61219. * string/Versions: Likewise.
  61220. * resolv/Versions: Likewise.
  61221. * posix/Versions: Likewise.
  61222. * iconv/Versions: Likewise.
  61223. * elf/Versions: Likewise.
  61224. * wcsmbs/Versions: Likewise.
  61225. 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
  61226. * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
  61227. loop termination condition.
  61228. * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
  61229. variable to calculate EZ.
  61230. (__sqr): Likewise.
  61231. * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
  61232. the lower precision input.
  61233. 2013-02-15 Joseph Myers <joseph@codesourcery.com>
  61234. [BZ #13550]
  61235. * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
  61236. [!link-extra-libs] (link-extra-libs-bounded): Likewise.
  61237. (run-via-rtld-prefix): Do not handle %-bp tests.
  61238. (test-via-rtld-prefix): Do not mention %-bp tests in comment.
  61239. (all-object-suffixes): Remove .ob.
  61240. (bppfx): Remove variable.
  61241. [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
  61242. [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
  61243. [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
  61244. [$(build-bounded) = yes] (libtype.ob): Likewise.
  61245. * Makerules (elide-routines.ob): Remove variable.
  61246. (do-tests-clean): Do not handle *-bp.out.
  61247. (common-mostlyclean): Do not handle *-bp and *-bp.out.
  61248. * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
  61249. [$(build-bounded) = yes] (xtests-bp.out): Likewise.
  61250. (tests): Do not include $(tests-bp.out).
  61251. (xtests): Do not include $(xtests-bp.out).
  61252. [$(build-bounded) = yes] (binaries-bounded): Remove variable.
  61253. [$(build-bounded) = yes] ($(addprefix
  61254. $(objpfx),$(binaries-bounded))): Remove rule.
  61255. ($(objpfx)%-bp.out): Remove rule.
  61256. * config.make.in (build-bounded): Remove variable.
  61257. * crypt/Makefile [$(build-bounded) = yes]
  61258. ($(tests:%=$(objpfx)%-bp)): Remove dependency.
  61259. * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
  61260. append to variable.
  61261. [$(build-bounded) = yes] (install-lib): Likewise.
  61262. [$(build-bounded) = yes] (generated): Likewise.
  61263. [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
  61264. Remove rule.
  61265. * intl/Makefile [$(build-bounded) = yes]
  61266. ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
  61267. * math/Makefile [$(build-bounded) = yes]
  61268. ($(tests:%=$(objpfx)%-bp): Likewise.
  61269. * misc/Makefile [$(build-bounded) = yes]
  61270. ($(objpfx)tst-tsearch-bp): Likewise.
  61271. * nptl/Makeconfig (bounded-thread-library): Remove variable.
  61272. * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
  61273. Remove dependency.
  61274. * string/Makefile (o-objects.ob): Remove variable.
  61275. * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
  61276. (CFLAGS-.ob): Remove variable.
  61277. [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
  61278. * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
  61279. both definitions of variable.
  61280. * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
  61281. (ASFLAGS-.ob): Remove variable.
  61282. 2013-02-14 Joseph Myers <joseph@codesourcery.com>
  61283. [BZ #13550]
  61284. * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
  61285. Remove __BOUNDED_POINTERS__ from condition.
  61286. * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
  61287. * string/bits/string2.h [!__NO_STRING_INLINES &&
  61288. !__BOUNDED_POINTERS__]: Likewise.
  61289. * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
  61290. Likewise.
  61291. * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
  61292. Remove conditional code.
  61293. * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
  61294. __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
  61295. !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
  61296. condition.
  61297. [BZ #13550]
  61298. * csu/libc-start.c: Do not include <bp-sym.h>.
  61299. [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
  61300. * elf/dl-open.c: Do not include <bp-sym.h>.
  61301. (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
  61302. * math/fegetenv.c: Do not include <bp-sym.h>.
  61303. (fegetenv): Do not use BP_SYM in versioned symbols.
  61304. * nptl/sysdeps/pthread/bits/libc-lockP.h
  61305. [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
  61306. <bp-sym.h>.
  61307. [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
  61308. (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
  61309. [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
  61310. (__pthread_mutex_destroy): Likewise.
  61311. [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
  61312. (__pthread_mutex_lock): Likewise.
  61313. [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
  61314. (__pthread_mutex_trylock): Likewise.
  61315. [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
  61316. (__pthread_mutex_unlock): Likewise.
  61317. [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
  61318. (__pthread_mutexattr_init): Likewise.
  61319. [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
  61320. (__pthread_mutexattr_destroy): Likewise.
  61321. [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
  61322. (__pthread_mutexattr_settype): Likewise.
  61323. [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
  61324. (__pthread_rwlock_init): Likewise.
  61325. [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
  61326. (__pthread_rwlock_destroy): Likewise.
  61327. [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
  61328. (__pthread_rwlock_rdlock): Likewise.
  61329. [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
  61330. (__pthread_rwlock_tryrdlock): Likewise.
  61331. [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
  61332. (__pthread_rwlock_wrlock): Likewise.
  61333. [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
  61334. (__pthread_rwlock_trywrlock): Likewise.
  61335. [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
  61336. (__pthread_rwlock_unlock): Likewise.
  61337. [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
  61338. (__pthread_key_create): Likewise.
  61339. [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
  61340. (__pthread_setspecific): Likewise.
  61341. [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
  61342. (__pthread_getspecific): Likewise.
  61343. [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
  61344. Likewise.
  61345. [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
  61346. (_pthread_cleanup_push_defer): Likewise.
  61347. [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
  61348. (_pthread_cleanup_pop_restore): Likewise.
  61349. [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
  61350. (pthread_setcancelstate): Likewise.
  61351. * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
  61352. <bp-sym.h>.
  61353. [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
  61354. (memchr): Do not use BP_SYM in weak_alias.
  61355. * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
  61356. (fegetenv): Do not use BP_SYM in versioned symbols.
  61357. * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
  61358. (fesetenv): Do not use BP_SYM in versioned symbols.
  61359. * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
  61360. (feupdateenv): Do not use BP_SYM in versioned symbols.
  61361. * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
  61362. (fesetexceptflag): Do not use BP_SYM in versioned symbols.
  61363. * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
  61364. (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
  61365. (open64): Do not use BP_SYM in weak_alias.
  61366. * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
  61367. (fegetenv): Do not use BP_SYM in versioned symbols.
  61368. * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
  61369. (fesetenv): Do not use BP_SYM in versioned symbols.
  61370. * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
  61371. (feupdateenv): Do not use BP_SYM in versioned symbols.
  61372. * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
  61373. (fegetexceptflag): Do not use BP_SYM in versioned symbols.
  61374. * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
  61375. (feraiseexcept): Do not use BP_SYM in versioned symbols.
  61376. * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
  61377. (fesetexceptflag): Do not use BP_SYM in versioned symbols.
  61378. * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
  61379. <bp-sym.h>.
  61380. (__libc_start_main): Do not use BP_SYM.
  61381. 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
  61382. * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
  61383. redundant return line.
  61384. (norm): Likewise.
  61385. (denorm): Likewise.
  61386. (dbl_mp): Likewise.
  61387. (sub_magnitudes): Likewise.
  61388. (__add): Likewise.
  61389. (__sub): Likewise.
  61390. (__mul): Likewise.
  61391. (__inv): Likewise.
  61392. (__dvd): Likewise.
  61393. * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
  61394. (norm): Likewise.
  61395. (denorm): Likewise.
  61396. (dbl_mp): Likewise.
  61397. (sub_magnitudes): Likewise.
  61398. (__add): Likewise.
  61399. (__sub): Likewise.
  61400. (__mul): Likewise.
  61401. (__inv): Likewise.
  61402. (__dvd): Likewise.
  61403. * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
  61404. instead of __mul.
  61405. * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
  61406. * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
  61407. (cc32): Likewise.
  61408. * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
  61409. * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
  61410. * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
  61411. of __mul for squares.
  61412. * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
  61413. function
  61414. * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
  61415. Likewise.
  61416. * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
  61417. * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
  61418. 2013-02-13 Joseph Myers <joseph@codesourcery.com>
  61419. [BZ #13550]
  61420. * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
  61421. code.
  61422. * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
  61423. prototype or function definition. Rename ubp_* variables and
  61424. parameters. Remove argv definitions conditional on
  61425. [__BOUNDED_POINTERS__].
  61426. * debug/backtrace.c (__backtrace): Do not use __unbounded.
  61427. * elf/dl-runtime.c (_dl_fixup): Likewise.
  61428. * include/set-hooks.h (RUN_HOOK): Likewise.
  61429. * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
  61430. definition.
  61431. * string/strcpy.c (strcpy): Do not use __unbounded.
  61432. * sysdeps/generic/frame.h (struct layout): Likewise.
  61433. * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
  61434. * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
  61435. * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
  61436. * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
  61437. * sysdeps/sparc/backtrace.c (struct layout): Likewise.
  61438. (__backtrace): Likewise.
  61439. * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
  61440. use __ptrvalue.
  61441. * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
  61442. * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
  61443. * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
  61444. Likewise.
  61445. * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
  61446. * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
  61447. * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
  61448. * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
  61449. * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
  61450. Do not use __unbounded.
  61451. * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
  61452. Rename __unboundedrlimits parameter to rlimits in prototype.
  61453. * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
  61454. Do not use __unbounded.
  61455. * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
  61456. not use __ptrvalue.
  61457. * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
  61458. * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
  61459. * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
  61460. * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
  61461. __ptrvalue or __unbounded.
  61462. (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
  61463. * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
  61464. use __unbounded.
  61465. (__new_msgctl): Do not use __ptrvalue.
  61466. * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
  61467. __unbounded.
  61468. (__libc_msgrcv): Do not use __ptrvalue.
  61469. * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
  61470. startup_info): Do not use __unbounded.
  61471. (__libc_start_main): Likewise. Rename ubp_* variables and
  61472. parameters. Remove argv definitions conditional on
  61473. [__BOUNDED_POINTERS__].
  61474. * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
  61475. __ptrvalue.
  61476. * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
  61477. use __unbounded.
  61478. * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
  61479. or __ptrvalue.
  61480. * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
  61481. use __unbounded.
  61482. (__new_shmctl): Do not use __ptrvalue.
  61483. * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
  61484. * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
  61485. Likewise.
  61486. * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
  61487. * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
  61488. (__libc_sigaction): Likewise.
  61489. * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
  61490. * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
  61491. Likewise.
  61492. * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
  61493. 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
  61494. * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
  61495. * string/mempcpy.c: Implement by calling memcpy.
  61496. 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
  61497. * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
  61498. * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
  61499. evaluation.
  61500. * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
  61501. values in the mantissa.
  61502. * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
  61503. minimize writes to Z.
  61504. (sub_magnitudes): Simplify code a bit.
  61505. 2013-02-12 Roland McGrath <roland@hack.frob.com>
  61506. * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
  61507. from the message. The linker prefixes all warnings with that already.
  61508. 2013-02-12 Andreas Schwab <schwab@suse.de>
  61509. [BZ #15078]
  61510. * posix/regexec.c (extend_buffers): Add parameter min_len.
  61511. (check_matching): Pass minimum needed length.
  61512. (clean_state_log_if_needed): Likewise.
  61513. (get_subexp): Likewise.
  61514. * posix/Makefile (tests): Add bug-regex34.
  61515. (bug-regex34-ENV): Define.
  61516. * posix/bug-regex34.c: New file.
  61517. [BZ #11561]
  61518. * posix/regcomp.c (parse_bracket_exp): When looking up collating
  61519. elements compare against the byte sequence of it, not its name.
  61520. * posix/Makefile (tests): Add bug-regex35.
  61521. (bug-regex35-ENV): Define.
  61522. * posix/bug-regex35.c: New file.
  61523. 2013-02-11 Tom de Vries <tom@codesourcery.com>
  61524. * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
  61525. comment.
  61526. Add RET0_IF_0 and CHECK_EOL to macro list in comment.
  61527. (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
  61528. (CHECK_EOL): Add undef.
  61529. 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
  61530. * bits/stdlib-bsearch.h: New file.
  61531. * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
  61532. * stdlib/stdlib.h: Likewise.
  61533. 2013-02-11 Roland McGrath <roland@hack.frob.com>
  61534. * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
  61535. * manual/errno.texi (Error Messages): Fix typo in error_print_progname
  61536. declaration.
  61537. * manual/search.texi (Array Search Function): Add missing const in
  61538. lfind prototype.
  61539. * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
  61540. declaration to use rlim_t.
  61541. (Basic Scheduling Functions): Remove erroneous const from
  61542. sched_getparam prototype. Remove erroneous * from
  61543. sched_get_priority_max and sched_get_priority_min prototypes.
  61544. (Resource Usage): Fix summary @comment on vtimes to refer to
  61545. sys/vtimes.h rather than vtimes.h.
  61546. Add missing *s in vtimes prototype.
  61547. (Limits on Resources): Fix ulimit prototype to return long int.
  61548. * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
  61549. prototypes to use long int rather than double.
  61550. (BSD Random): Fix initstate and setstate to use char *, not void *.
  61551. * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
  61552. prototype to make second argument 'struct aiocb64 *const[]'.
  61553. Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
  61554. (Status of AIO Operations): Remove erroneous const in aio_return and
  61555. aio_return64 prototypes.
  61556. (Synchronizing I/O): Fix sync prototype to return void.
  61557. * manual/startup.texi (Suboptions): Remove an erroneous const in
  61558. getsubopt prototype.
  61559. * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
  61560. * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
  61561. use size_t rather than int.
  61562. (Scanning All Users): Likewise for getpwent_r.
  61563. (Setting Groups): Add missing const to setgroups prototype.
  61564. * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
  61565. * manual/socket.texi (Host Names): Fix gethostbyaddr and
  61566. gethostbyaddr_r prototypes to use socklen_t rather than size_t and
  61567. 'const void *' rather than 'const char *'.
  61568. (Host Address Functions): Likewise for inet_ntop.
  61569. (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
  61570. (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
  61571. ssize_t for return value.
  61572. (Sending Data): Likewise for send, sendto, sendmsg.
  61573. (Socket Option Functions): Add a missing const in setsockopt prototype.
  61574. * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
  61575. use wchar_t for the argument.
  61576. (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
  61577. * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
  61578. take no arguments.
  61579. (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
  61580. double/float/long double for second argument.
  61581. Fix return types of significand, significandf, significandl.
  61582. * manual/filesys.texi (Setting Permissions): Use mode_t for second
  61583. argument in fchmod prototype.
  61584. (File Owner): Use uid_t and gid_t in fchown prototype.
  61585. (File Times): Add const to utimes, futimes, and lutimes prototypes.
  61586. (Making Special Files): Use mode_t and dev_t in mknod prototype.
  61587. (Scanning Directory Content): Fix scandir and scandir64 prototypes to
  61588. use 'const struct dirent **' as argument types to CMP function pointer
  61589. argument.
  61590. (Symbolic Links): Fix readlink prototype with ssize_t as return value.
  61591. (File Times): Fix summary magic @comment for struct utimbuf and utime
  61592. to refer to utime.h, not time.h.
  61593. * manual/string.texi (Argz Functions): Add missing const in
  61594. argz_extract and argz_next prototypes.
  61595. (Finding Tokens in a String): Likewise for basename.
  61596. (String/Array Comparison): Fix typo in wcscasecmp prototype.
  61597. (Copying and Concatenation): Fix typo in wmemmove prototype.
  61598. * manual/signal.texi (Using Pause): Use (void) in pause prototype.
  61599. (Signal Stack): Remove erroneous const in sigstack prototype.
  61600. * manual/time.texi (Setting an Alarm): Add missing const in setitimer
  61601. prototype.
  61602. (Simple Calendar Time): Likewise for stime.
  61603. * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
  61604. prototype.
  61605. * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
  61606. say sys/sysctl.h instead.
  61607. * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
  61608. and vsyslog prototypes.
  61609. 2013-02-11 Tom de Vries <tom@codesourcery.com>
  61610. * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
  61611. Remove.
  61612. 2013-02-11 Roland McGrath <roland@hack.frob.com>
  61613. * misc/sys/mman.h: Fix typo in mremap comment.
  61614. 2013-02-08 Roland McGrath <roland@hack.frob.com>
  61615. * manual/examples/mkfsock.c (make_named_socket): Don't add one for
  61616. the '\0' terminator.
  61617. 2013-02-08 Joseph Myers <joseph@codesourcery.com>
  61618. [BZ #13550]
  61619. * debug/segfault.c: Don't include <bp-checks.h>.
  61620. * sysdeps/generic/bp-checks.h: Remove file.
  61621. * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
  61622. (__GETDENTS): Don't use CHECK_N.
  61623. * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
  61624. * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
  61625. (__getgroups): Don't use CHECK_N.
  61626. * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
  61627. (setgroups): Don't use CHECK_N.
  61628. * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
  61629. * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
  61630. (__libc_msgrcv): Don't use CHECK_N.
  61631. * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
  61632. (__libc_msgsnd): Don't use CHECK_N.
  61633. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
  61634. <bp-checks.h>.
  61635. (__libc_pread): Don't use CHECK_N.
  61636. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
  61637. include <bp-checks.h>.
  61638. (__libc_pread64): Don't use CHECK_N.
  61639. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
  61640. include <bp-checks.h>.
  61641. (__libc_pwrite): Don't use CHECK_N.
  61642. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
  61643. include <bp-checks.h>.
  61644. (__libc_pwrite64): Don't use CHECK_N.
  61645. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
  61646. <bp-checks.h>.
  61647. (__libc_pread): Don't use CHECK_N.
  61648. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
  61649. include <bp-checks.h>.
  61650. (__libc_pread64): Don't use CHECK_N.
  61651. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
  61652. include <bp-checks.h>.
  61653. (__libc_pwrite): Don't use CHECK_N.
  61654. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
  61655. include <bp-checks.h>.
  61656. (__libc_pwrite64): Don't use CHECK_N.
  61657. * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
  61658. (do_pread): Don't use CHECK_N.
  61659. * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
  61660. (do_pread64): Don't use CHECK_N.
  61661. * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
  61662. (do_pwrite): Don't use CHECK_N.
  61663. * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
  61664. (do_pwrite64): Don't use CHECK_N.
  61665. * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
  61666. (__libc_readv): Don't use CHECK_N.
  61667. * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
  61668. (semop): Don't use CHECK_N.
  61669. * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
  61670. <bp-checks.h>.
  61671. (semtimedop): Don't use CHECK_N.
  61672. * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
  61673. (__libc_pread): Don't use CHECK_N.
  61674. * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
  61675. <bp-checks.h>.
  61676. (__libc_pread64): Don't use CHECK_N.
  61677. * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
  61678. <bp-checks.h>.
  61679. (__libc_pwrite): Don't use CHECK_N.
  61680. * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
  61681. <bp-checks.h>.
  61682. (__libc_pwrite64): Don't use CHECK_N.
  61683. * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
  61684. <bp-checks.h>.
  61685. (__libc_msgrcv): Don't use CHECK_N.
  61686. * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
  61687. (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
  61688. * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
  61689. (__libc_writev): Don't use CHECK_N.
  61690. 2013-02-08 Roland McGrath <roland@hack.frob.com>
  61691. * string/strcpy.c: Removed unused variable.
  61692. * Makeconfig (+sysdep-includes): Define with := rather than =.
  61693. Use an existing include/ subdir of each sysdeps dir before it.
  61694. 2013-02-08 Carlos O'Donell <carlos@redhat.com>
  61695. * nscd/connection.c (register_traced_file): Comment function.
  61696. [HAVE_INOTIFY] (union __inev): Define.
  61697. [HAVE_INOTIFY] (inotify_check_files): New function.
  61698. [HAVE_INOTIFY] (clear_db_cache): Likewise.
  61699. [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
  61700. clear_db_cache.
  61701. [HAVE_INOTIFY] (main_loop_epoll): Likewise.
  61702. 2013-02-08 Carlos O'Donell <carlos@redhat.com>
  61703. * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
  61704. loaded if not already and that a failure is permanent.
  61705. 2013-02-08 Carlos O'Donell <carlos@redhat.com>
  61706. [BZ #15006]
  61707. * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
  61708. * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
  61709. 2013-02-08 Joseph Myers <joseph@codesourcery.com>
  61710. [BZ #13550]
  61711. * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
  61712. (CHECK_1_NULL_OK): Likewise.
  61713. * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
  61714. (__fxstat): Do not use CHECK_1.
  61715. * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
  61716. <bp-checks.h>.
  61717. (___fxstat64): Do not use CHECK_1.
  61718. * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
  61719. <bp-checks.h>.
  61720. (__fxstatat): Do not use CHECK_1.
  61721. * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
  61722. <bp-checks.h>.
  61723. (__fxstatat64): Do not use CHECK_1.
  61724. * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
  61725. <bp-checks.h>.
  61726. (__fxstat): Do not use CHECK_1.
  61727. * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
  61728. <bp-checks.h>.
  61729. (__fxstatat): Do not use CHECK_1.
  61730. * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
  61731. <bp-checks.h>.
  61732. (__getresgid): Do not use CHECK_1.
  61733. * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
  61734. <bp-checks.h>.
  61735. (__getresuid): Do not use CHECK_1.
  61736. * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
  61737. <bp-checks.h>.
  61738. (__lxstat): Do not use CHECK_1.
  61739. * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
  61740. <bp-checks.h>.
  61741. (__old_msgctl): Do not use CHECK_1.
  61742. (__new_msgctl): Likewise.
  61743. * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
  61744. <bp-checks.h>.
  61745. (__new_setrlimit): Do not use CHECK_1.
  61746. * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
  61747. <bp-checks.h>.
  61748. (__old_shmctl): Do not use CHECK_1.
  61749. (__new_shmctl): Likewise.
  61750. * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
  61751. <bp-checks.h>.
  61752. (__xstat): Do not use CHECK_1.
  61753. * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
  61754. (__lxstat): Do not use CHECK_1.
  61755. * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
  61756. <bp-checks.h>.
  61757. (___lxstat64): Do not use CHECK_1.
  61758. * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
  61759. (__old_msgctl): Do not use CHECK_1.
  61760. (__new_msgctl): Likewise.
  61761. * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
  61762. <bp-checks.h>.
  61763. (__gettimeofday): Do not use CHECK_1.
  61764. * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
  61765. (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
  61766. * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
  61767. <bp-checks.h>.
  61768. (__gettimeofday): Do not use CHECK_1.
  61769. * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
  61770. (__old_shmctl): Do not use CHECK_1_NULL_OK.
  61771. (__new_shmctl): Do not use CHECK_1.
  61772. * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
  61773. <bp-checks.h>.
  61774. (do_sigtimedwait): Do not use CHECK_1.
  61775. * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
  61776. <bp-checks.h>.
  61777. (do_sigwaitinfo): Do not use CHECK_1.
  61778. * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
  61779. <bp-checks.h>.
  61780. (msgctl): Do not use CHECK_1.
  61781. * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
  61782. <bp-checks.h>.
  61783. (shmctl): Do not use CHECK_1.
  61784. * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
  61785. (ustat): Do not use CHECK_1.
  61786. * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
  61787. <bp-checks.h>.
  61788. (__fxstat): Do not use CHECK_1.
  61789. * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
  61790. <bp-checks.h>.
  61791. (__fxstatat): Do not use CHECK_1.
  61792. * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
  61793. <bp-checks.h>.
  61794. (__lxstat): Do not use CHECK_1.
  61795. * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
  61796. <bp-checks.h>.
  61797. (__xstat): Do not use CHECK_1.
  61798. * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
  61799. (__xstat): Do not use CHECK_1.
  61800. * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
  61801. (___xstat64): Do not use CHECK_1.
  61802. [BZ #13550]
  61803. * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
  61804. definitions.
  61805. (CHECK_BOUNDS_HIGH): Likewise.
  61806. * string/strcpy.c: Do not include <bp-checks.h>.
  61807. (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
  61808. 2013-02-07 Roland McGrath <roland@hack.frob.com>
  61809. * nscd/nscd-client.h (__nscd_drop_map_ref):
  61810. Add __attribute__ ((unused)).
  61811. * nis/nss-nisplus.h (niserr2nss): Likewise.
  61812. * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
  61813. under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
  61814. * csu/libc-tls.c (init_static_tls, init_slotinfo):
  61815. Remove inline keyword.
  61816. * include/rounding-mode.h (round_away): Likewise.
  61817. * libio/wfileops.c (adjust_wide_data): Likewise.
  61818. * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
  61819. (__m128i_strloadu_tolower): Likewise.
  61820. * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
  61821. (__m128i_strloadu_tolower): Likewise.
  61822. * time/mktime.c (ydhms_diff): Likewise.
  61823. * locale/elem-hash.h (elem_hash): Likewise.
  61824. * locale/setlocale.c (setdata): Likewise.
  61825. * posix/regex_internal.h (re_string_char_size_at): Likewise.
  61826. (re_string_wchar_at): Likewise.
  61827. (bitset_not, bitset_merge, bitset_mask): Likewise.
  61828. [!(__GNUC__ > 3)] (inline): Remove macro.
  61829. * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
  61830. * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
  61831. * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
  61832. (_dl_tlsdesc_wake_up_held_fixups): Likewise.
  61833. * string/memcmp.c (memcmp_bytes): Likewise.
  61834. * locale/programs/locarchive.c (compute_hashval): Likewise.
  61835. * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
  61836. * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
  61837. * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
  61838. * nss/getent.c (print_rpc, print_protocols): Likewise.
  61839. (print_passwd, print_group, print_aliases): Likewise.
  61840. * nis/nss-nisplus.h (niserr2nss): Likewise.
  61841. * nscd/connections.c (restart_p): Likewise.
  61842. Change return type to bool.
  61843. 2013-02-05 Roland McGrath <roland@hack.frob.com>
  61844. * Makeconfig (all-Depend-files): Add existing
  61845. $(sorted-subdirs:=/Depend) files.
  61846. (all-subdirs): Remove nss.
  61847. * sysdeps/unix/inet/Subdirs: Add it here instead.
  61848. * hesiod/Depend: New file.
  61849. * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
  61850. instead of calling alloca.
  61851. * io/lseek.c (__lseek): Rename to __libc_lseek.
  61852. Define __lseek as an alias.
  61853. * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
  61854. 2013-02-04 Carlos O'Donell <carlos@redhat.com>
  61855. * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
  61856. else clause and remove check for non-standard endianness.
  61857. 2013-02-04 David S. Miller <davem@davemloft.net>
  61858. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  61859. 2013-02-04 Joseph Myers <joseph@codesourcery.com>
  61860. [BZ #13550]
  61861. * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
  61862. (__ubp_memchr): Remove prototype.
  61863. [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
  61864. [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
  61865. [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
  61866. [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
  61867. * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
  61868. Remove alias.
  61869. * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
  61870. (__ubp_memchr): Likewise.
  61871. * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
  61872. (__ubp_memchr): Likewise.
  61873. * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
  61874. (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
  61875. (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
  61876. * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
  61877. CHECK_STRING.
  61878. * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
  61879. * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
  61880. (__getcwd): Do not use CHECK_STRING.
  61881. * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
  61882. <bp-checks.h>.
  61883. (__real_chown): Do not use CHECK_STRING.
  61884. * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
  61885. <bp-checks.h>.
  61886. (fchownat): Do not use CHECK_STRING.
  61887. * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
  61888. CHECK_STRING.
  61889. * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
  61890. <bp-checks.h>.
  61891. (__lchown): Do not use CHECK_STRING.
  61892. * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
  61893. * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
  61894. * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
  61895. * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
  61896. * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
  61897. include <bp-checks.h>.
  61898. (truncate64): Do not use CHECK_STRING.
  61899. * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
  61900. <bp-checks.h>.
  61901. (__real_chown): Do not use CHECK_STRING.
  61902. * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
  61903. <bp-checks.h>.
  61904. (__lchown): Do not use CHECK_STRING.
  61905. * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
  61906. <bp-checks.h>.
  61907. (__chown): Do not use CHECK_STRING.
  61908. * sysdeps/unix/sysv/linux/truncate64.c: Do not include
  61909. <bp-checks.h>.
  61910. (truncate64): Do not use CHECK_STRING.
  61911. * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
  61912. Likewise.
  61913. * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
  61914. (__xmknod): Do not use CHECK_STRING.
  61915. * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
  61916. <bp-checks.h>.
  61917. (__xmknodat): Do not use CHECK_STRING.
  61918. * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
  61919. * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
  61920. 2013-02-04 Andreas Schwab <schwab@suse.de>
  61921. [BZ #14142]
  61922. * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
  61923. * include/netdb.h: Likewise for h_errno.
  61924. * elf/tst-stackguard1.c: Include <tls.h>.
  61925. 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
  61926. * elf/link.h (struct link_map): Extend the l_addr comment.
  61927. * include/link.h (struct link_map): Likewise.
  61928. 2013-02-01 Joseph Myers <joseph@codesourcery.com>
  61929. [BZ #13550]
  61930. * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
  61931. (BOUNDED_1): Remove macro.
  61932. * debug/backtrace.c: Don't include <bp-checks.h>.
  61933. (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
  61934. (__backtrace): Likewise.
  61935. * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
  61936. <bp-checks.h>.
  61937. (__backtrace): Don't use BOUNDED_1.
  61938. * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
  61939. <bp-checks.h>.
  61940. (__backtrace): Don't use BOUNDED_1.
  61941. * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
  61942. (__backtrace): Don't use BOUNDED_1.
  61943. * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
  61944. (shmat): Don't use BOUNDED_N.
  61945. 2013-01-31 Joseph Myers <joseph@codesourcery.com>
  61946. [BZ #13550]
  61947. * sysdeps/generic/bp-start.h: Remove file.
  61948. * csu/libc-start.c: Don't include <bp-start.h>.
  61949. (LIBC_START_MAIN): Set up __environ directly instead of using
  61950. INIT_ARGV_and_ENVIRON.
  61951. * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
  61952. <bp-start.h>.
  61953. [BZ #13550]
  61954. * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
  61955. definitions.
  61956. (CHECK_FCNTL): Likewise.
  61957. (CHECK_N_PAGES): Likewise.
  61958. [BZ #13550]
  61959. * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
  61960. definitions.
  61961. (CHECK_SIGSET_NULL_OK): Likewise.
  61962. * sysdeps/unix/sysv/linux/sigpending.c: Don't include
  61963. <bp-checks.h>.
  61964. (sigpending): Don't use CHECK_SIGSET.
  61965. * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
  61966. <bp-checks.h>.
  61967. (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
  61968. * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
  61969. <bp-checks.h>.
  61970. (do_sigsuspend): Don't use CHECK_SIGSET.
  61971. * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
  61972. use CHECK_SIGSET.
  61973. * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
  61974. (do_sigwait): Don't use CHECK_SIGSET.
  61975. * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
  61976. use CHECK_SIGSET.
  61977. * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
  61978. include <bp-checks.h>.
  61979. (sigpending): Don't use CHECK_SIGSET.
  61980. * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
  61981. include <bp-checks.h>.
  61982. (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
  61983. * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
  61984. <bp-checks.h>.
  61985. (sigpending): Don't use CHECK_SIGSET.
  61986. * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
  61987. <bp-checks.h>.
  61988. (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
  61989. [BZ #13550]
  61990. * sysdeps/generic/bp-semctl.h: Remove file.
  61991. * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
  61992. <bp-checks.h> and <bp-semctl.h>.
  61993. (__old_semctl): Don't use CHECK_SEMCTL.
  61994. (__new_semctl): Likewise.
  61995. * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
  61996. and <bp-semctl.h>.
  61997. (__old_semctl): Don't use CHECK_SEMCTL.
  61998. (__new_semctl): Likewise.
  61999. * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
  62000. <bp-checks.h> and <bp-semctl.h>.
  62001. (__old_semctl): Don't use CHECK_SEMCTL.
  62002. (__new_semctl): Likewise.
  62003. * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
  62004. <bp-checks.h> and <bp-semctl.h>.
  62005. (semctl): Don't use CHECK_SEMCTL.
  62006. [BZ #13550]
  62007. * Makerules (elide-bp-thunks): Remove variable.
  62008. (elide-routines.oS): Don't use $(elide-bp-thunks).
  62009. (elide-routines.os): Likewise.
  62010. (elide-routines.o): Likewise.
  62011. (elide-routines.op): Likewise.
  62012. (elide-routines.og): Likewise.
  62013. (objects): Don't use $(bp-thunks).
  62014. * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
  62015. include.
  62016. (common-generated): Do not add s-proto-bp.d.
  62017. * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
  62018. (int): Likewise.
  62019. (typ): Likewise.
  62020. Do not generate makefile rules for bounded-pointer thunks.
  62021. * sysdeps/generic/bp-thunks.h: Remove file.
  62022. * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
  62023. * sysdeps/unix/s-proto-bp.S: Likewise.
  62024. [BZ #15062]
  62025. * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
  62026. parts of result separately when argument is not close to line from
  62027. -i to i and one part of argument is small.
  62028. * math/k_casinhf.c (__kernel_casinhf): Likewise.
  62029. * math/k_casinhl.c (__kernel_casinhl): Likewise.
  62030. * math/libm-test.inc (cacos_test): Add more tests.
  62031. (casin_test): Likewise.
  62032. (casinh_test): Likewise.
  62033. * sysdeps/i386/fpu/libm-test-ulps: Update.
  62034. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  62035. 2013-01-31 David S. Miller <davem@davemloft.net>
  62036. * po/de.po: Update from translation team.
  62037. 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
  62038. * time/tzfile.c: Include stdint.h for SIZE_MAX.
  62039. 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
  62040. * configure.in (_AC_PROG_CC_C89): New definition.
  62041. * configure: Regenerate.
  62042. * configure.in (AC_PROG_CPP): New definition.
  62043. * configure: Regenerate.
  62044. 2013-01-23 Joseph Myers <joseph@codesourcery.com>
  62045. * debug/tst-backtrace.h: New file.
  62046. * debug/tst-backtrace2.c: Include tst-backtrace.h.
  62047. (ret): Remove variable.
  62048. (x): Likewise.
  62049. (FAIL): Remove macro.
  62050. (NO_INLINE): Likewise.
  62051. (fn1): Use match function instead of strstr.
  62052. * debug/tst-backtrace3.c: Include tst-backtrace.h.
  62053. (ret): Remove variable.
  62054. (x): Likewise.
  62055. (FAIL): Remove macro.
  62056. (NO_INLINE): Likewise.
  62057. (fn): Use match function instead of strstr.
  62058. * debug/tst-backtrace4.c: Include tst-backtrace.h.
  62059. (ret): Remove variable.
  62060. (x): Likewise.
  62061. (FAIL): Remove macro.
  62062. (NO_INLINE): Likewise.
  62063. (handle_signal): Use match function instead of strstr.
  62064. * debug/tst-backtrace5.c: Include tst-backtrace.h.
  62065. (ret): Remove variable.
  62066. (x): Likewise.
  62067. (FAIL): Remove macro.
  62068. (NO_INLINE): Likewise.
  62069. (handle_signal): Use match function instead of strstr.
  62070. 2013-01-23 Roland McGrath <roland@hack.frob.com>
  62071. * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
  62072. 2013-01-23 David S. Miller <davem@davemloft.net>
  62073. * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
  62074. (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
  62075. argument of CAS if possible.
  62076. * sysdeps/sparc/sparc64/bits/atomic.h
  62077. (__arch_compare_and_exchange_val_32_acq): Likewise.
  62078. (__arch_compare_and_exchange_val_64_acq): Likewise.
  62079. 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
  62080. * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
  62081. * sysdeps/posix/ulimit.c: ... this.
  62082. Include <limits.h>.
  62083. * sysdeps/unix/bsd/ulimit.c: Remove file.
  62084. 2013-01-23 Adam Conrad <adconrad@0c3.net>
  62085. * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
  62086. (LDFLAGS-tst-array5): Likewise.
  62087. 2013-01-23 Joseph Myers <joseph@codesourcery.com>
  62088. [BZ #15036]
  62089. * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
  62090. based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
  62091. (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
  62092. * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
  62093. 2013-01-21 David S. Miller <davem@davemloft.net>
  62094. * sysdeps/sparc/backtrace.c: New file.
  62095. * sysdeps/sparc/sparc32/backtrace.h: New file.
  62096. * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
  62097. * sysdeps/sparc/sparc64/backtrace.h: New file.
  62098. * sysdeps/sparc/sparc64/backtrace.c: Delete.
  62099. * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
  62100. -funwind-tables.
  62101. 2013-01-21 Andreas Schwab <schwab@suse.de>
  62102. [BZ #15020]
  62103. * posix/wordexp.c (exec_comm): Avoid busy loop when command has
  62104. closed its stdout.
  62105. 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
  62106. * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
  62107. "mpa2.h".
  62108. * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
  62109. 2013-01-18 Joseph Myers <joseph@codesourcery.com>
  62110. Mark Mitchell <mark@codesourcery.com>
  62111. Tom de Vries <tom@codesourcery.com>
  62112. Paul Pluzhnikov <ppluzhnikov@google.com>
  62113. * debug/tst-backtrace2.c: New file.
  62114. * debug/tst-backtrace3.c: Likewise.
  62115. * debug/tst-backtrace4.c: Likewise.
  62116. * debug/tst-backtrace5.c: Likewise.
  62117. * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
  62118. (CFLAGS-tst-backtrace3.c): Likewise.
  62119. (CFLAGS-tst-backtrace4.c): Likewise.
  62120. (CFLAGS-tst-backtrace5.c): Likewise.
  62121. (LDFLAGS-tst-backtrace2): Likewise.
  62122. (LDFLAGS-tst-backtrace3): Likewise.
  62123. (LDFLAGS-tst-backtrace4): Likewise.
  62124. (LDFLAGS-tst-backtrace5): Likewise.
  62125. (tests): Add new tests tst-backtrace2, tst-backtrace3,
  62126. tst-backtrace4 and tst-backtrace5.
  62127. 2013-01-18 Anton Blanchard <anton@samba.org>
  62128. Ryan S. Arnold <rsa@linux.vnet.ibm.com>
  62129. * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
  62130. __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
  62131. * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
  62132. INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
  62133. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
  62134. (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
  62135. "+r" and remove output regs list as redundant. Add explicit inline
  62136. asm to specify register of return val to work around compiler codegen
  62137. bug. Remove (int) cast on return value. Add return type parameter to
  62138. use in macro so that this macro does not truncate return value for
  62139. 64-bit values.
  62140. (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
  62141. pass to INTERNAL_VSYSCALL_NCS.
  62142. (INLINE_VSYSCALL): Add 'long int' as return type to
  62143. INTERNAL_VSYSCALL_NCS macro invocation.
  62144. (INTERNAL_VSYSCALL): Add 'long int' as return type to
  62145. INTERNAL_VSYSCALL_NCS macro invocation.
  62146. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
  62147. 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
  62148. [BZ #14496]
  62149. * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
  62150. Fix application of SIMD FP exception mask.
  62151. * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
  62152. mp_no from a power of two.
  62153. * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
  62154. __mpexp_twomm1. Use __pow_mp.
  62155. * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
  62156. multiplication.
  62157. 2013-01-17 David S. Miller <davem@davemloft.net>
  62158. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  62159. 2013-01-17 Joseph Myers <joseph@codesourcery.com>
  62160. [BZ #15023]
  62161. * include/complex.h: Condition contents on [!_COMPLEX_H].
  62162. (__kernel_casinhf): New prototype.
  62163. (__kernel_casinh): Likewise.
  62164. (__kernel_casinhl): Likewise.
  62165. * math/Makefile (libm_calls): Add k_casinh.
  62166. * math/k_casinh.c: New file.
  62167. * math/k_casinhf.c: Likewise.
  62168. * math/k_casinhl.c: Likewise.
  62169. * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
  62170. finite nonzero arguments.
  62171. * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
  62172. finite nonzero arguments.
  62173. * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
  62174. finite nonzero arguments.
  62175. * math/s_casinh.c: Do not include <float.h>.
  62176. (__casinh): Move code for finite nonzero arguments to k_casinh.c.
  62177. * math/s_casinhf.c: Do not include <float.h>.
  62178. (__casinhf): Move code for finite nonzero arguments to
  62179. k_casinhf.c.
  62180. * math/s_casinhl.c: Do not include <float.h>.
  62181. [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
  62182. redefine.
  62183. (__casinhl): Move code for finite nonzero arguments to
  62184. k_casinhl.c.
  62185. * math/libm-test.inc (cacos_test): Add more tests.
  62186. * sysdeps/i386/fpu/libm-test-ulps: Update.
  62187. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  62188. 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
  62189. * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
  62190. * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
  62191. [!HAVE_MREMAP]: Remove [defined linux] case.
  62192. * malloc/arena.c: Do not include <malloc-sysdep.h>.
  62193. 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
  62194. * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
  62195. 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
  62196. * elf/elf.h (R_386_SIZE32): New relocation.
  62197. * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
  62198. R_386_SIZE32.
  62199. (elf_machine_rela): Likewise.
  62200. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
  62201. R_X86_64_SIZE64 and R_X86_64_SIZE32.
  62202. 2013-01-17 Joseph Myers <joseph@codesourcery.com>
  62203. * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
  62204. (FP_FAST_FMA): Do not define.
  62205. [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
  62206. * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
  62207. && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
  62208. * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
  62209. !_SOFT_FLOAT]: Likewise.
  62210. * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
  62211. [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
  62212. value.
  62213. [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
  62214. [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
  62215. [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
  62216. [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
  62217. [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
  62218. [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
  62219. file.
  62220. 2013-01-16 Andreas Schwab <schwab@suse.de>
  62221. [BZ #14327]
  62222. * include/stdlib.h (__mktemp): Add declaration.
  62223. * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
  62224. * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
  62225. 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
  62226. * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
  62227. definitions.
  62228. * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
  62229. * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
  62230. * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
  62231. definitions here.
  62232. * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
  62233. * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
  62234. definitions.
  62235. * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
  62236. and ONE.
  62237. * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
  62238. * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
  62239. * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
  62240. definitions.
  62241. * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
  62242. * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
  62243. definitions.
  62244. * sysdeps/ieee754/dbl-64/utan.h: Likewise.
  62245. * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
  62246. 2013-01-15 David S. Miller <davem@davemloft.net>
  62247. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
  62248. trunc{,f} to libm-sysdep_routes.
  62249. * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
  62250. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
  62251. file.
  62252. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
  62253. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
  62254. file.
  62255. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
  62256. file.
  62257. * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
  62258. * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
  62259. * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
  62260. * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
  62261. * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
  62262. * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
  62263. * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
  62264. * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
  62265. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
  62266. nearbyint{,f} to libm-sysdep_routes.
  62267. * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
  62268. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
  62269. New file.
  62270. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
  62271. file.
  62272. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
  62273. New file.
  62274. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
  62275. file.
  62276. * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
  62277. * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
  62278. * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
  62279. file.
  62280. * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
  62281. * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
  62282. file.
  62283. * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
  62284. * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
  62285. * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
  62286. * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
  62287. libc_feholdexcept and libc_fesetenv.
  62288. 2013-01-15 Mike Frysinger <vapier@gentoo.org>
  62289. * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
  62290. 2013-01-14 David S. Miller <davem@davemloft.net>
  62291. * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
  62292. (SPARC_ASM_VIS2_IFUNC): Likewise.
  62293. (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
  62294. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
  62295. use of 'siam' instruction.
  62296. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
  62297. Likewise.
  62298. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
  62299. Likewise.
  62300. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
  62301. Likewise.
  62302. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
  62303. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
  62304. * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
  62305. * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
  62306. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
  62307. file.
  62308. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
  62309. file.
  62310. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
  62311. file.
  62312. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
  62313. file.
  62314. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
  62315. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
  62316. * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
  62317. * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
  62318. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
  62319. new VIS2 routines.
  62320. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
  62321. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
  62322. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
  62323. Likewise.
  62324. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
  62325. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
  62326. * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
  62327. * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
  62328. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
  62329. routines to libm-sysdep_routines.
  62330. * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
  62331. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
  62332. fdim/fdimf to libm-sysdep_routines.
  62333. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
  62334. file.
  62335. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
  62336. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
  62337. file.
  62338. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
  62339. * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
  62340. * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
  62341. * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
  62342. * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
  62343. * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
  62344. * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
  62345. 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
  62346. * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
  62347. to optimize copies.
  62348. * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
  62349. * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
  62350. * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
  62351. * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
  62352. local variable MPTWO.
  62353. * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
  62354. Likewise.
  62355. 2013-01-13 Mike Frysinger <vapier@gentoo.org>
  62356. * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
  62357. GLOB_NOESCAPE.
  62358. 2013-01-13 Mike Frysinger <vapier@gentoo.org>
  62359. * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
  62360. 2013-01-13 Mike Frysinger <vapier@gentoo.org>
  62361. * manual/pattern.texi (glob_t): Document gl_flags.
  62362. (glob64_t): Likewise.
  62363. 2013-01-11 David S. Miller <davem@davemloft.net>
  62364. * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
  62365. * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
  62366. (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
  62367. * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
  62368. * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
  62369. * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
  62370. * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
  62371. * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
  62372. * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
  62373. * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
  62374. * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
  62375. * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
  62376. * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
  62377. * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
  62378. sparc V9 rather than using V8 code.
  62379. * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
  62380. * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
  62381. * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
  62382. Move to...
  62383. * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
  62384. Here.
  62385. 2013-01-11 Roland McGrath <roland@hack.frob.com>
  62386. [BZ #14941]
  62387. * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
  62388. not in the main loop.
  62389. * configure: Regenerated.
  62390. 2013-01-11 Joseph Myers <joseph@codesourcery.com>
  62391. * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
  62392. * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
  62393. to just #else.
  62394. * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
  62395. [!__GLIBC_HAVE_LONG_LONG] case.
  62396. * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
  62397. condition to just #else.
  62398. * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
  62399. __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
  62400. [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
  62401. * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
  62402. unconditional.
  62403. * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
  62404. * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
  62405. #elif condition to just #else.
  62406. * sysdeps/unix/sysv/linux/sys/sysmacros.h
  62407. [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
  62408. * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
  62409. #elif condition to just #else.
  62410. 2013-01-11 Steve Ellcey <sellcey@mips.com>
  62411. * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
  62412. (EF_MIPS_ARCH_64): Fix value.
  62413. (EF_MIPS_ARCH_32R2): New.
  62414. (EF_MIPS_ARCH_64R2): New.
  62415. 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
  62416. * Makeconfig (+link-pie-before-libc): New.
  62417. (+link-pie-after-libc): Likewise.
  62418. (+link-pie-tests): Likewise.
  62419. (+link-pie): Rewritten.
  62420. (link-before-libc): Remove $(config-LDFLAGS).
  62421. (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
  62422. (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
  62423. (config-LDFLAGS): Renamed to ...
  62424. (rtld-LDFLAGS): This.
  62425. (rtld-tests-LDFLAGS): New macro.
  62426. (link-libc-rpath-link): Likewise.
  62427. (link-libc-tests-rpath-link): Likewise.
  62428. (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
  62429. (link-libc): Prepand $(link-libc-rpath-link).
  62430. (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
  62431. (test-program-prefix): New macro.
  62432. (test-via-rtld-prefix): Likewise.
  62433. (test-program-cmd): Likewise.
  62434. (host-test-program-cmd): Likewise.
  62435. * Makefile ($(common-objpfx)testrun.sh): Replace
  62436. $(run-program-prefix) with $(test-program-prefix).
  62437. * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
  62438. $(rtld-LDFLAGS).
  62439. ($(common-objpfx)shlib.lds): Likewise.
  62440. (build-module-helper): Likewise.
  62441. ($(common-objpfx)format.lds): Likewise.
  62442. * Rules (binaries-pie-tests): New.
  62443. (binaries-pie-notests): Likewise.
  62444. (binaries-pie): Rewritten.
  62445. ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
  62446. ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
  62447. ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
  62448. (make-test-out): Replace $(host-built-program-cmd) with
  62449. $(host-test-program-cmd).
  62450. * config.make.in (build-hardcoded-path-in-tests): New variable.
  62451. * configure.in (--enable-hardcoded-path-in-tests): New configure
  62452. option.
  62453. (hardcoded_path_in_tests): New AC_SUBST.
  62454. * configure: Regenerated.
  62455. * catgets/Makefile ($(objpfx)test-gencat.out): Replace
  62456. $(built-program-cmd) with $(test-program-cmd).
  62457. * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
  62458. (test_program_cmd): This.
  62459. * elf/Makefile ($(objpfx)order.out): Run test with
  62460. $(test-program-prefix).
  62461. ($(objpfx)order2.out): Likewise.
  62462. ($(objpfx)tst-initorder.out): Likewise.
  62463. ($(objpfx)tst-initorder2.out): Likewise.
  62464. ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
  62465. $(test-program-cmd).
  62466. ($(objpfx)tst-array1-static.out): Likewise.
  62467. ($(objpfx)tst-array2.out): Likewise.
  62468. ($(objpfx)tst-array3.out): Likewise.
  62469. ($(objpfx)tst-array4.out): Likewise.
  62470. ($(objpfx)tst-array5.out): Likewise.
  62471. ($(objpfx)tst-array5-static.out): Likewise.
  62472. (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
  62473. $(test-program-cmd).
  62474. * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
  62475. $(run-program-prefix) with $(test-program-prefix).
  62476. * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
  62477. (test_program_prefix): This.
  62478. * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
  62479. $(run-program-prefix) with $(test-program-prefix).
  62480. * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
  62481. (test_program_prefix): This.
  62482. * iconvdata/tst-tables.sh: Likewise.
  62483. * intl/Makefile ($(objpfx)tst-gettext.out): Replace
  62484. $(run-program-prefix) with $(test-program-prefix).
  62485. ($(objpfx)tst-translit.out): Likewise.
  62486. ($(objpfx)tst-gettext2.out): Likewise.
  62487. ($(objpfx)tst-gettext4.out): Likewise.
  62488. ($(objpfx)tst-gettext6.out): Likewise.
  62489. * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
  62490. (test_program_prefix): This.
  62491. * intl/tst-gettext2.sh: Likewise.
  62492. * intl/tst-gettext4.sh Likewise.
  62493. * intl/tst-gettext6.sh: Likewise.
  62494. * intl/tst-translit.sh: Likewise.
  62495. * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
  62496. with $(test-program-cmd).
  62497. * libio/Makefile ($(objpfx)test-freopen.out): Replace
  62498. $(run-program-prefix) with $(test-program-prefix).
  62499. * libio/test-freopen.sh (run_program_prefix): Renamed to ...
  62500. (test_program_prefix): This.
  62501. * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
  62502. $(run-program-prefix) with $(test-program-prefix).
  62503. * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
  62504. (test_program_prefix): This.
  62505. * manual/install.texi: Document --enable-hardcoded-path-in-tests.
  62506. * posix/Makefile ($(objpfx)globtest.out): Replace
  62507. $(run-via-rtld-prefix) and $(test-wrapper) with
  62508. $(test-program-prefix) and $(test-via-rtld-prefix).
  62509. ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
  62510. $(test-program-prefix).
  62511. (tst-exec-ARGS): Replace $(host-built-program-cmd) with
  62512. $(host-test-program-cmd).
  62513. (tst-spawn-ARGS): Likewise.
  62514. ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
  62515. $(test-program-prefix).
  62516. * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
  62517. (test_via_rtld_prefix): This.
  62518. (test_wrapper): Renamed to ...
  62519. (test_program_prefix): This.
  62520. (run_program_prefix): Replaced by test_program_prefix.
  62521. * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
  62522. (test_program_prefix): This.
  62523. * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
  62524. with $(host-test-program-cmd).
  62525. * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
  62526. $(run-program-prefix) with $(test-program-prefix).
  62527. ($(objpfx)tst-printf.out): Likewise.
  62528. ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
  62529. $(test-program-cmd).
  62530. * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
  62531. (test_program_prefix): This.
  62532. * stdio-common/tst-unbputc.sh: Likewise.
  62533. * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
  62534. $(run-program-prefix) with $(test-program-prefix).
  62535. * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
  62536. (test_program_prefix): This.
  62537. * string/Makefile ($(objpfx)tst-svc.out): Replace
  62538. $(built-program-cmd) with $(test-program-cmd).
  62539. 2013-01-11 Andreas Jaeger <aj@suse.de>
  62540. [BZ #15003]
  62541. * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
  62542. value. Sync with Linux 3.7.
  62543. 2013-01-10 David S. Miller <davem@davemloft.net>
  62544. * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
  62545. * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
  62546. * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
  62547. 2013-01-10 Roland McGrath <roland@hack.frob.com>
  62548. * configure.in (sysnames): Drop use of $m0sub and $msub, which are
  62549. never set.
  62550. * configure: Regenerated.
  62551. 2013-01-10 David S. Miller <davem@davemloft.net>
  62552. * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
  62553. sparc V9 rather than using V8 code.
  62554. * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
  62555. * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
  62556. 2013-01-10 Roland McGrath <roland@hack.frob.com>
  62557. * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
  62558. (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
  62559. (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
  62560. (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
  62561. (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
  62562. (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
  62563. (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
  62564. (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
  62565. (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
  62566. (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
  62567. (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
  62568. (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
  62569. (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
  62570. (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
  62571. (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
  62572. (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
  62573. (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
  62574. (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
  62575. (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
  62576. (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
  62577. (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
  62578. (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
  62579. (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
  62580. (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
  62581. (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
  62582. (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
  62583. (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
  62584. 2013-01-10 David S. Miller <davem@davemloft.net>
  62585. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  62586. 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
  62587. * posix/Makefile (tests-static): New variable.
  62588. (tests): Add $(tests-static).
  62589. (tst-exec-static-ARGS): New variable.
  62590. (tst-spawn-static-ARGS): Likewise.
  62591. * posix/tst-exec-static.c: New file.
  62592. * posix/tst-spawn-static.c: Likewise.
  62593. * posix/tst-exec.c: Support run directly.
  62594. * posix/tst-spawn.c: Likewise.
  62595. 2013-01-10 Joseph Myers <joseph@codesourcery.com>
  62596. * elf/link.h (struct dl_phdr_info): Use __extension__ with long
  62597. long.
  62598. * math/bits/mathcalls.h (llrint): Likewise.
  62599. (llround): Likewise.
  62600. * stdlib/stdlib.h (struct drand48_data): Likewise.
  62601. * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
  62602. * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
  62603. * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
  62604. Likewise.
  62605. * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
  62606. Likewise.
  62607. * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
  62608. (elf_greg_t): Likewise.
  62609. * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
  62610. (__jmp_buf): Likewise.
  62611. * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
  62612. definitions.
  62613. (llrint): Likewise, for all definitions.
  62614. (llrintl): Likewise.
  62615. * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
  62616. Remove [__GNUC__] condition.
  62617. * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
  62618. condition to just [__USE_ISOC99].
  62619. [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
  62620. 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
  62621. [BZ #14200]
  62622. * sysdeps/unix/sysv/linux/x86/bits/environments.h
  62623. (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
  62624. defined.
  62625. (_POSIX_V6_ILP32_OFF32): Likewise.
  62626. (_XBS5_ILP32_OFF32): Likewise.
  62627. (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
  62628. (__ILP32_OFFBIG_LDFLAGS): Likewise.
  62629. 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
  62630. * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
  62631. * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
  62632. doubles __mpexp_twomm1. Adjust usage.
  62633. * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
  62634. Remove.
  62635. 2013-01-10 Andreas Schwab <schwab@suse.de>
  62636. [BZ #14964]
  62637. * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
  62638. (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
  62639. 2013-01-09 David S. Miller <davem@davemloft.net>
  62640. [BZ #15003]
  62641. * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
  62642. (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
  62643. (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
  62644. (TCP_FASTOPEN): Define.
  62645. (tcp_repair_opt): New structure.
  62646. (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
  62647. enum values.
  62648. (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
  62649. (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
  62650. (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
  62651. (tcp_cookie_transactions): New structure.
  62652. 2013-01-09 Anton Blanchard <anton@samba.org>
  62653. * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
  62654. * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
  62655. * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
  62656. * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
  62657. 2013-01-09 Joseph Myers <joseph@codesourcery.com>
  62658. * include/features.h (__USE_ANSI): Remove.
  62659. 2013-01-09 Roland McGrath <roland@hack.frob.com>
  62660. * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
  62661. * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
  62662. 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
  62663. * sysdeps/s390/fpu/libm-test-ulps: Update.
  62664. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  62665. * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
  62666. (__acr): Likewise.
  62667. (__cpy): Likewise.
  62668. (norm): Likewise.
  62669. (denorm): Likewise.
  62670. (__mp_dbl): Likewise.
  62671. (__dbl_mp): Likewise.
  62672. (add_magnitudes): Likewise.
  62673. (sub_magnitudes): Likewise.
  62674. (__add): Likewise.
  62675. (__sub): Likewise.
  62676. (__mul): Likewise.
  62677. (__inv): Likewise.
  62678. (__dvd): Likewise.
  62679. * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
  62680. (__acr): Likewise.
  62681. (__cpy): Likewise.
  62682. (norm): Likewise.
  62683. (denorm): Likewise.
  62684. (__mp_dbl): Likewise.
  62685. (__dbl_mp): Likewise.
  62686. (add_magnitudes): Likewise.
  62687. (sub_magnitudes): Likewise.
  62688. (__add): Likewise.
  62689. (__sub): Likewise.
  62690. (__mul): Likewise.
  62691. (__inv): Likewise.
  62692. (__dvd): Likewise.
  62693. * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
  62694. (__acr): Likewise.
  62695. (__cpy): Likewise.
  62696. (norm): Likewise.
  62697. (denorm): Likewise.
  62698. (__mp_dbl): Likewise.
  62699. (__dbl_mp): Likewise.
  62700. (add_magnitudes): Likewise.
  62701. (sub_magnitudes): Likewise.
  62702. (__add): Likewise.
  62703. (__sub): Likewise.
  62704. (__mul): Likewise.
  62705. (__inv): Likewise.
  62706. (__dvd): Likewise.
  62707. 2013-01-08 Joseph Myers <joseph@codesourcery.com>
  62708. * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
  62709. __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
  62710. * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
  62711. 2 && __USE_EXTERN_INLINES]: Likewise.
  62712. 2013-01-08 Andreas Jaeger <aj@suse.de>
  62713. [BZ #14985]
  62714. * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
  62715. Remove.
  62716. * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
  62717. * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
  62718. 2013-01-07 Anton Blanchard <anton@samba.org>
  62719. * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
  62720. * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
  62721. * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
  62722. * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
  62723. * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
  62724. * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
  62725. * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
  62726. * sysdeps/powerpc/powerpc32/memset.S: Likewise.
  62727. * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
  62728. * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
  62729. * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
  62730. * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
  62731. * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
  62732. * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
  62733. * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
  62734. * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
  62735. * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
  62736. * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
  62737. * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
  62738. * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
  62739. * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
  62740. * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
  62741. * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
  62742. * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
  62743. * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
  62744. * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
  62745. * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
  62746. * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
  62747. * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
  62748. * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
  62749. * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
  62750. * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
  62751. * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
  62752. * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
  62753. * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
  62754. * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
  62755. * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
  62756. * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
  62757. * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
  62758. * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
  62759. * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
  62760. * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
  62761. * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
  62762. 2013-01-07 Joseph Myers <joseph@codesourcery.com>
  62763. * malloc/malloc.h (__MALLOC_P): Remove all definitions.
  62764. (__MALLOC_PMT): Likewise.
  62765. [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
  62766. [__GNUC__], only on [_LIBC].
  62767. [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
  62768. [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
  62769. [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
  62770. * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
  62771. forward declaration.
  62772. (realloc_hook_ini): Likewise.
  62773. (memalign_hook_ini): Likewise.
  62774. (__libc_memalign): Do not use __MALLOC_PMT in variable
  62775. declaration.
  62776. (__libc_valloc): Likewise.
  62777. (__libc_pvalloc): Likewise.
  62778. (__libc_calloc): Likewise.
  62779. (__posix_memalign): Likewise.
  62780. [BZ #14996]
  62781. * math/s_casinh.c: Include <float.h>.
  62782. (__casinh): Do not do computation with squaring and square root
  62783. for large arguments.
  62784. * math/s_casinhf.c: Include <float.h>.
  62785. (__casinhf): Do not do computation with squaring and square root
  62786. for large arguments.
  62787. * math/s_casinhl.c: Include <float.h>.
  62788. [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
  62789. (__casinhl): Do not do computation with squaring and square root
  62790. for large arguments.
  62791. * math/libm-test.inc (casin_test): Add more tests.
  62792. (casinh_test): Likewise.
  62793. * sysdeps/i386/fpu/libm-test-ulps: Update.
  62794. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  62795. 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
  62796. * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
  62797. (__x86_64_raw_data_cache_size): Likewise.
  62798. (__x86_64_data_cache_size_half): Likewise.
  62799. (__x86_64_raw_data_cache_size_half): Likewise.
  62800. (__x86_64_shared_cache_size): Likewise.
  62801. (__x86_64_raw_shared_cache_size): Likewise.
  62802. (__x86_64_shared_cache_size_half): Likewise.
  62803. (__x86_64_raw_shared_cache_size_half): Likewise.
  62804. * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
  62805. to ...
  62806. (__x86_data_cache_size): This.
  62807. (__x86_64_raw_data_cache_size): Renamed to ...
  62808. (__x86_raw_data_cache_size): This.
  62809. (__x86_64_data_cache_size_half): Renamed to ...
  62810. (__x86_data_cache_size_half): This.
  62811. (__x86_64_raw_data_cache_size_half): Renamed to ...
  62812. (__x86_raw_data_cache_size_half): This.
  62813. (__x86_64_shared_cache_size): Renamed to ...
  62814. (__x86_shared_cache_size): This.
  62815. (__x86_64_raw_shared_cache_size): Renamed to ...
  62816. (__x86_raw_shared_cache_size): This.
  62817. (__x86_64_shared_cache_size_half): Renamed to ...
  62818. (__x86_shared_cache_size_half): This.
  62819. (__x86_64_raw_shared_cache_size_half): Renamed to ...
  62820. (__x86_raw_shared_cache_size_half): This.
  62821. * sysdeps/x86_64/memcpy.S: Updated.
  62822. * sysdeps/x86_64/memset.S: Likewise.
  62823. * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
  62824. * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
  62825. * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
  62826. 2013-01-04 David S. Miller <davem@davemloft.net>
  62827. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  62828. 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
  62829. * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
  62830. 1 to avoid redefinition warning.
  62831. (__USE_GNU): Don't define.
  62832. (init_signaling_nan): Protoize.
  62833. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  62834. 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
  62835. * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
  62836. * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
  62837. (__cpymn): Likewise.
  62838. (norm): Remove commented code.
  62839. (denorm): Likewise.
  62840. (__mp_dbl): Likewise.
  62841. (__inv): Likewise.
  62842. * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
  62843. (__cpymn): Likewise.
  62844. (norm): Remove commented code.
  62845. (denorm): Likewise.
  62846. (__mp_dbl): Likewise.
  62847. (__inv): Likewise.
  62848. * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
  62849. mp_no value for 1.0 and 2.0.
  62850. (norm): Use RADIXI instead of radixi.d.
  62851. (denorm): Likewise.
  62852. (__mul): Use 0.0 instead of zero.d.
  62853. * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
  62854. mp_no value for 1.0 and 2.0.
  62855. (norm): Use RADIXI instead of radixi.d.
  62856. (denorm): Likewise.
  62857. (__mul): Use 0.0 instead of zero.d.
  62858. 2013-01-04 Joseph Myers <joseph@codesourcery.com>
  62859. [BZ #14994]
  62860. * math/s_casinh.c (__casinh): Reduce finite argument to first
  62861. quadrant then set signs of results at the end.
  62862. * math/s_casinhf.c (__casinhf): Likewise.
  62863. * math/s_casinhl.c (__casinhl): Likewise.
  62864. * math/libm-test.inc (casin_test): Add more tests.
  62865. (casinh_test): Likewise.
  62866. * sysdeps/i386/fpu/libm-test-ulps: Update.
  62867. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  62868. 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
  62869. * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
  62870. * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
  62871. * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
  62872. declarations.
  62873. (denorm): Likewise.
  62874. (__mp_dbl): Likewise.
  62875. (__inv): Likewise.
  62876. * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
  62877. and adjust the header comment.
  62878. * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
  62879. variable name from declaration.
  62880. 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
  62881. * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
  62882. Initialize COMMON_CPUID_INDEX_7 element.
  62883. * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
  62884. (CPUID_RTM): Likewise.
  62885. (HAS_RTM): Likewise.
  62886. (COMMON_CPUID_INDEX_7): New enum.
  62887. 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
  62888. [BZ #14981]
  62889. * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
  62890. size is zero, record memory as freed.
  62891. 2013-01-03 Andreas Jaeger <aj@suse.de>
  62892. * po/ia.po: Add new Interlingua translation.
  62893. 2012-01-03 Allan McRae <allan@archlinux.org>
  62894. * locale/programs/localedef.c: Fix description of '--posix' flag.
  62895. 2013-01-02 Joseph Myers <joseph@codesourcery.com>
  62896. * NEWS: Update dates in second copyright notice.
  62897. * README: Update copyright dates in example.
  62898. * manual/libc.texinfo: Update copyright dates.
  62899. * scripts/test-installation.pl: Update copyright date in --version
  62900. output.
  62901. * hurd/ctty-input.c: Fix copyright notice formatting.
  62902. * hurd/ctty-output.c: Likewise.
  62903. * hurd/dtable.c: Likewise.
  62904. * hurd/hurd-raise.c: Likewise.
  62905. * hurd/hurdprio.c: Likewise.
  62906. * hurd/msgportdemux.c: Likewise.
  62907. * misc/sys/file.h: Likewise.
  62908. * misc/sys/ioctl.h: Likewise.
  62909. * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
  62910. * sysdeps/mach/hurd/chdir.c: Likewise.
  62911. * sysdeps/mach/hurd/fchdir.c: Likewise.
  62912. * sysdeps/mach/hurd/rename.c: Likewise.
  62913. * sysdeps/mach/hurd/rmdir.c: Likewise.
  62914. * sysdeps/mach/hurd/seekdir.c: Likewise.
  62915. * sysdeps/mach/hurd/setsid.c: Likewise.
  62916. * sysdeps/posix/wait3.c: Likewise.
  62917. * All files with FSF copyright notices: Update copyright dates
  62918. using scripts/update-copyrights.
  62919. * intl/plural.c: Regenerated.
  62920. * locale/programs/charmap-kw.h: Likewise.
  62921. * locale/programs/locfile-kw.h: Likewise.
  62922. 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
  62923. * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
  62924. four values.
  62925. * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
  62926. calculation loop and add branch prediction.
  62927. * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
  62928. check access beyond bounds of m1np.
  62929. * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
  62930. MPTWO.
  62931. (__inv): Remove local variable MPTWO to use the global
  62932. constant.
  62933. * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
  62934. * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
  62935. variable MPTWO.
  62936. * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
  62937. MP3HALFS static const.
  62938. 2013-01-01 David S. Miller <davem@davemloft.net>
  62939. * po/ca.po: Update from translation team.
  62940. 2013-01-01 Joseph Myers <joseph@codesourcery.com>
  62941. * scripts/update-copyrights: New file.
  62942. * Makeconfig: Reformat copyright notice.
  62943. * ctype/ctype.h: Likewise.
  62944. * debug/swprintf_chk.c: Likewise.
  62945. * elf/dl-cache.c: Likewise.
  62946. * elf/dl-debug.c: Likewise.
  62947. * elf/dl-object.c: Likewise.
  62948. * grp/initgroups.c: Likewise.
  62949. * hurd/Makefile: Likewise.
  62950. * hurd/hurd/signal.h: Likewise.
  62951. * hurd/hurdfault.c: Likewise.
  62952. * hurd/hurdioctl.c: Likewise.
  62953. * hurd/hurdlookup.c: Likewise.
  62954. * hurd/intr-msg.c: Likewise.
  62955. * iconv/gconv_open.c: Likewise.
  62956. * libio/swprintf.c: Likewise.
  62957. * locale/lc-ctype.c: Likewise.
  62958. * locale/nl_langinfo.c: Likewise.
  62959. * mach/Machrules: Likewise.
  62960. * mach/Makefile: Likewise.
  62961. * malloc/obstack.h: Likewise.
  62962. * manual/Makefile: Likewise.
  62963. * manual/tsort.awk: Likewise.
  62964. * misc/bits/stab.def: Likewise.
  62965. * nis/nis_print_group_entry.c: Likewise.
  62966. * nis/nis_table.c: Likewise.
  62967. * nis/nss_compat/compat-pwd.c: Likewise.
  62968. * nis/nss_compat/compat-spwd.c: Likewise.
  62969. * po/Makefile: Likewise.
  62970. * posix/fnmatch.c: Likewise.
  62971. * posix/regex.h: Likewise.
  62972. * resolv/Makefile: Likewise.
  62973. * resolv/nss_dns/dns-network.c: Likewise.
  62974. * resolv/res_hconf.c: Likewise.
  62975. * scripts/gen-sorted.awk: Likewise.
  62976. * soft-fp/soft-fp.h: Likewise.
  62977. * stdio-common/printf.h: Likewise.
  62978. * stdlib/monetary.h: Likewise.
  62979. * stdlib/random.c: Likewise.
  62980. * stdlib/random_r.c: Likewise.
  62981. * sysdeps/generic/Makefile: Likewise.
  62982. * sysdeps/gnu/Makefile: Likewise.
  62983. * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
  62984. * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
  62985. * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
  62986. * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
  62987. * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
  62988. * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
  62989. * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
  62990. * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
  62991. * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
  62992. * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
  62993. * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
  62994. * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
  62995. * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
  62996. * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
  62997. * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
  62998. * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
  62999. * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
  63000. * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
  63001. * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
  63002. * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
  63003. * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
  63004. * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
  63005. * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
  63006. * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
  63007. * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
  63008. * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
  63009. * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
  63010. * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
  63011. * sysdeps/mach/hurd/errnos.awk: Likewise.
  63012. * sysdeps/mach/hurd/fork.c: Likewise.
  63013. * sysdeps/mach/hurd/getcwd.c: Likewise.
  63014. * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
  63015. * sysdeps/mach/hurd/mmap.c: Likewise.
  63016. * sysdeps/mach/hurd/utimes.c: Likewise.
  63017. * sysdeps/mach/hurd/xmknod.c: Likewise.
  63018. * sysdeps/posix/profil.c: Likewise.
  63019. * sysdeps/posix/readdir_r.c: Likewise.
  63020. * sysdeps/powerpc/bits/mathdef.h: Likewise.
  63021. * sysdeps/powerpc/bits/setjmp.h: Likewise.
  63022. * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
  63023. * sysdeps/powerpc/powerpc32/memset.S: Likewise.
  63024. * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
  63025. * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
  63026. * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
  63027. * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
  63028. * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
  63029. * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
  63030. * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
  63031. * sysdeps/pthread/lio_listio.c: Likewise.
  63032. * sysdeps/sparc/dl-procinfo.h: Likewise.
  63033. * sysdeps/unix/i386/sysdep.S: Likewise.
  63034. * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
  63035. * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
  63036. * sysdeps/unix/sysv/linux/getdents.c: Likewise.
  63037. * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
  63038. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
  63039. * sysdeps/unix/sysv/linux/semctl.c: Likewise.
  63040. * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
  63041. * sysdeps/unix/sysv/linux/speed.c: Likewise.
  63042. * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
  63043. * sysdeps/wordsize-32/divdi3.c: Likewise.
  63044. * time/sys/time.h: Likewise.
  63045. * wcsmbs/Makefile: Likewise.
  63046. 2013-01-01 David S. Miller <davem@davemloft.net>
  63047. * po/fr.po: Update from translation team.
  63048. * catgets/gencat.c: Update copyright year.
  63049. * csu/version.c: Likewise.
  63050. * debug/catchsegv.sh: Likewise.
  63051. * debug/pcprofiledump.c: Likewise.
  63052. * debug/xtrace.sh: Likewise.
  63053. * elf/ldconfig.c: Likewise.
  63054. * elf/ldd.bash.in: Likewise.
  63055. * elf/pldd.c: Likewise.
  63056. * elf/sotruss.ksh: Likewise.
  63057. * elf/sprof.c: Likewise.
  63058. * iconv/iconv_prog.c: Likewise.
  63059. * iconv/iconvconfig.c: Likewise.
  63060. * locale/programs/locale.c: Likewise.
  63061. * locale/programs/localedef.c: Likewise.
  63062. * login/programs/pt_chown.c: Likewise.
  63063. * malloc/memusage.sh: Likewise.
  63064. * malloc/memusagestat.c: Likewise.
  63065. * malloc/mtrace.pl: Likewise.
  63066. * nscd/nscd.c: Likewise.
  63067. * nss/getent.c: Likewise.
  63068. * nss/makedb.c: Likewise.
  63069. * posix/getconf.c: Likewise.
  63070. 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
  63071. * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
  63072. numbers.
  63073. 2012-12-30 Mike Frysinger <vapier@gentoo.org>
  63074. * math/bits/mathcalls.h (modf): Use __nonnull.
  63075. 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
  63076. * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
  63077. (split): Use macro CN instead of the bare value.
  63078. * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
  63079. could be used.
  63080. * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
  63081. instead of the bare value.
  63082. (power1): Likewise.
  63083. 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
  63084. * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
  63085. __ATAN_TWOM.
  63086. * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
  63087. * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
  63088. their values.
  63089. * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
  63090. * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
  63091. * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
  63092. * sysdeps/ieee754/dbl-64/utan.h: Likewise.
  63093. 2012-12-28 Andreas Jaeger <aj@suse.de>
  63094. * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
  63095. values are from Linux 3.7.
  63096. * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
  63097. (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
  63098. 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
  63099. * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
  63100. TRUE case.
  63101. * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
  63102. (norm): Likewise.
  63103. * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
  63104. variables with preprocessor constants.
  63105. * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
  63106. * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
  63107. * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
  63108. 2012-12-27 Bruno Haible <bruno@clisp.org>
  63109. [BZ #14317]
  63110. * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
  63111. only if needed.
  63112. 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
  63113. * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
  63114. and use variable directly.
  63115. * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
  63116. * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
  63117. MPONE.
  63118. * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
  63119. * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
  63120. variable MPONE.
  63121. * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
  63122. * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
  63123. * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
  63124. include directive. Remove local variable MPONE.
  63125. * sysdeps/ieee754/dbl-64/mplog.h: Remove.
  63126. * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
  63127. * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
  63128. 2012-12-25 David S. Miller <davem@davemloft.net>
  63129. * version.h (RELEASE): Set to "development".
  63130. (VERSION): Set to "2.17.90".
  63131. * NEWS: Add 2.18 section.
  63132. 2012-12-21 David S. Miller <davem@davemloft.net>
  63133. * po/hr.po: Update from translation team.
  63134. 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  63135. * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
  63136. 2012-12-19 Steve Ellcey <sellcey@mips.com>
  63137. * NEWS: Mention new memcpy for MIPS.
  63138. 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
  63139. * manual/contrib.texi (Contributors): Spelling correction.
  63140. 2012-12-15 David S. Miller <davem@davemloft.net>
  63141. * po/ru.po: Update from translation team.
  63142. 2012-12-13 David S. Miller <davem@davemloft.net>
  63143. * NEWS: Mention IFUNC testsuite enhancements.
  63144. * po/pl.po: Update from translation team.
  63145. * po/bg.po: Likewise.
  63146. * manual/contrib.texi (Contributors): Update entries for Hongjiu
  63147. Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
  63148. 2012-12-11 David S. Miller <davem@davemloft.net>
  63149. * po/sv.po: Update from translation team.
  63150. * po/vi.po: Update from translation team.
  63151. * po/cs.po: Update from translation team.
  63152. * po/de.po: Update from translation team.
  63153. * po/eo.po: Likewise.
  63154. * po/nl.po: Likewise.
  63155. 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
  63156. [BZ #14246]
  63157. * manual/argp.texi (Argp Helper Functions): Move node to follow
  63158. Argp Parsing State.
  63159. [BZ #14872]
  63160. * manual/conf.texi (Limits on File System Capacity): Mention if
  63161. terminating null is included in the max size.
  63162. 2012-12-10 Andreas Jaeger <aj@suse.de>
  63163. * po/cs.po: Update from translation team.
  63164. 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
  63165. * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
  63166. void pointer and cast to uintptr_t.
  63167. * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
  63168. path.
  63169. * sysdeps/s390/s390-64/memcpy.S: Likewise.
  63170. * sysdeps/s390/s390-64/memset.S: Likewise.
  63171. 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
  63172. [BZ #14833]
  63173. * menual/message.texi (Message Translation): Fix typos.
  63174. (Helper programs for gettext): Likewise.
  63175. 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
  63176. [BZ #14898]
  63177. * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
  63178. Change to -1.
  63179. 2012-12-07 David S. Miller <davem@davemloft.net>
  63180. * po/libc.pot: Update.
  63181. 2012-12-07 Richard Henderson <rth@redhat.com>
  63182. [BZ #10114]
  63183. * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
  63184. normal/normal case to before the switch.
  63185. (_FP_DIV): Likewise.
  63186. 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
  63187. Mike Frysinger <vapier@gentoo.org>
  63188. * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
  63189. check for __NR_fadvise64_64.
  63190. 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
  63191. * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
  63192. 0, not just to plain "0" as a statement.
  63193. (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
  63194. with cw.
  63195. 2012-12-06 Joseph Myers <joseph@codesourcery.com>
  63196. * NEWS: Use sourceware.org in Bugzilla URL.
  63197. 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
  63198. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
  63199. (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
  63200. * stdio-common/tst-put-error.c (do_test): Add newline to the
  63201. padded test to ensure flush.
  63202. 2012-12-05 Jeff Law <law@redhat.com>
  63203. * sunrpc/etc.rpc (fedfs_admin): Add entry.
  63204. 2012-12-05 Joseph Myers <joseph@codesourcery.com>
  63205. * README: Don't refer to ports add-on as distributed separately.
  63206. Mention AArch64 in list of systems supported in the ports add-on.
  63207. * LICENSES: Add more non-FSF copyright and license notices.
  63208. * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
  63209. ((unused)).
  63210. * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
  63211. * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
  63212. 10000 as width of padded output.
  63213. 2012-12-04 Joseph Myers <joseph@codesourcery.com>
  63214. * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
  63215. * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
  63216. variable LX with __attribute__ ((unused)).
  63217. * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
  63218. Likewise.
  63219. * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
  63220. * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
  63221. * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
  63222. with __attribute__ ((unused)).
  63223. 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
  63224. * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
  63225. 2012-12-04 Joseph Myers <joseph@codesourcery.com>
  63226. * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
  63227. (CFLAGS-nldbl-acos.c): New variable.
  63228. [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
  63229. [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
  63230. [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
  63231. [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
  63232. [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
  63233. [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
  63234. [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
  63235. [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
  63236. [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
  63237. [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
  63238. [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
  63239. [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
  63240. [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
  63241. [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
  63242. [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
  63243. [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
  63244. [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
  63245. [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
  63246. [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
  63247. [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
  63248. [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
  63249. [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
  63250. [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
  63251. [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
  63252. [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
  63253. [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
  63254. [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
  63255. [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
  63256. [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
  63257. [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
  63258. [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
  63259. [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
  63260. [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
  63261. [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
  63262. [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
  63263. [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
  63264. [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
  63265. [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
  63266. [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
  63267. [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
  63268. [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
  63269. [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
  63270. [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
  63271. [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
  63272. [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
  63273. [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
  63274. [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
  63275. [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
  63276. [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
  63277. [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
  63278. [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
  63279. [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
  63280. [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
  63281. [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
  63282. [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
  63283. [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
  63284. [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
  63285. [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
  63286. [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
  63287. [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
  63288. [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
  63289. [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
  63290. [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
  63291. [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
  63292. [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
  63293. [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
  63294. [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
  63295. [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
  63296. [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
  63297. [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
  63298. [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
  63299. [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
  63300. [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
  63301. [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
  63302. [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
  63303. [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
  63304. [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
  63305. [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
  63306. [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
  63307. [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
  63308. [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
  63309. [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
  63310. [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
  63311. [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
  63312. [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
  63313. [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
  63314. [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
  63315. [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
  63316. [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
  63317. [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
  63318. [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
  63319. [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
  63320. [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
  63321. [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
  63322. [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
  63323. [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
  63324. [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
  63325. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
  63326. (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
  63327. [BZ #14914]
  63328. * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
  63329. whole low double instead of just low 47 bits when splitting values
  63330. into two parts.
  63331. 2012-12-03 Allan McRae <allan@archlinux.org>
  63332. * manual/stdio.texi (Predefined Printf Handlers): Remove
  63333. @hsep and @vsep usage.
  63334. 2012-12-03 Mike Frysinger <vapier@gentoo.org>
  63335. * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
  63336. * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
  63337. 2012-12-03 Jeff Law <law@redhat.com>
  63338. * time/sys/time.h (settimeofday): Do not mark TV argument
  63339. as __nonnull.
  63340. 2012-12-01 Mike Frysinger <vapier@gentoo.org>
  63341. * libio/fileops.c (_IO_new_file_close_it): Do not always flush
  63342. when currently writing and seek to current position when not.
  63343. * libio/Makefile (tests): Remove bug-fclose1.
  63344. * libio/bug-fclose1.c: Delete.
  63345. 2012-12-01 Joseph Myers <joseph@codesourcery.com>
  63346. * manual/arith.texi (feenableexcept): Fix typo.
  63347. (fedisableexcept): Likewise.
  63348. 2012-11-30 Roland McGrath <roland@hack.frob.com>
  63349. * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
  63350. second, differently-typed declaration, rather than a cast.
  63351. 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
  63352. * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
  63353. * include/rpc/svc.h: ... here.
  63354. 2012-11-30 Aurelien Jarno <aurel32@debian.org>
  63355. [BZ #13013]
  63356. * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
  63357. depending n and resplen2 to catch cases where answer
  63358. equals answerp2.
  63359. 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
  63360. * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
  63361. for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
  63362. 2012-11-29 Mike Frysinger <vapier@gentoo.org>
  63363. * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
  63364. 2012-11-29 Roland McGrath <roland@hack.frob.com>
  63365. * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
  63366. 2012-11-28 Jeff Law <law@redhat.com>
  63367. [BZ #13761]
  63368. * nscd/grpcache.c (cache_addgr): Rename alloca_used to
  63369. dataset_temporary. Track alloca usage into alloca_used.
  63370. If dataset is large allocate and release it via malloc/free.
  63371. 2012-06-04 Florian Weimer <fweimer@redhat.com>
  63372. [BZ #14197]
  63373. * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
  63374. 2012-11-28 David S. Miller <davem@davemloft.net>
  63375. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  63376. 2012-11-28 Joseph Myers <joseph@codesourcery.com>
  63377. [BZ #14803]
  63378. * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
  63379. of pi/2 rounded to nearest to 64 bits.
  63380. (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
  63381. nearest to 64 bits.
  63382. (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
  63383. bits.
  63384. 2012-11-28 Jeff Law <law@redhat.com>
  63385. Martin Osvald <mosvald@redhat.com>
  63386. [BZ #14889]
  63387. * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
  63388. * sunrpc/svc.c: Include time.h.
  63389. (__svc_accept_failed): New function.
  63390. * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
  63391. any reason other than EINTR, call __svc_accept_failed.
  63392. * sunrpc/svc_udp.c (svcudp_recv): Similarly.
  63393. * sunrpc/svc_unix.c (rendezvous_request): Similarly.
  63394. 2012-11-28 Andreas Schwab <schwab@suse.de>
  63395. * scripts/abilist.awk: Also handle indirect functions in .opd
  63396. section.
  63397. 2012-11-28 Joseph Myers <joseph@codesourcery.com>
  63398. [BZ #13881]
  63399. * sysdeps/x86/fpu/powl_helper.c: New file.
  63400. * sysdeps/x86/fpu/Makefile: Likewise.
  63401. * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
  63402. (p3): New object.
  63403. (__ieee754_powl): Use __powl_helper for finite arguments except
  63404. integer exponents below 8.
  63405. * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
  63406. (p3): New object.
  63407. (__ieee754_powl): Use __powl_helper for finite arguments except
  63408. integer exponents below 8.
  63409. * math/libm-test.inc (pow_test): Add more tests and enable some
  63410. previously disabled tests.
  63411. * sysdeps/i386/fpu/libm-test-ulps: Update.
  63412. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  63413. 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
  63414. Carlos O'Donell <carlos_odonell@mentor.com>
  63415. * nss/makedb.c (is_prime): Assert that input is odd and greater
  63416. than 4. Note that fact in a comment too.
  63417. (next_prime): Add 4 to input.
  63418. 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
  63419. [BZ #11741]
  63420. * libio/Makefile (tests): Add test case tst-fwrite-error.
  63421. * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
  63422. * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
  63423. * libio/tst-fwrite-error.c: New test case.
  63424. 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
  63425. * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
  63426. before casting to void *.
  63427. * include/libc-internal.h (__pointer_type): New macro.
  63428. (__integer_if_pointer_type_sub): Likewise.
  63429. (__integer_if_pointer_type): Likewise.
  63430. (cast_to_integer): Likewise.
  63431. * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
  63432. (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
  63433. before casting to atomic64_t.
  63434. (atomic_exchange_acq): Likewise.
  63435. (__arch_exchange_and_add_body): Likewise.
  63436. (__arch_add_body): Likewise.
  63437. (atomic_add_negative): Likewise.
  63438. (atomic_add_zero): Likewise.
  63439. 2012-11-26 Joseph Myers <joseph@codesourcery.com>
  63440. * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
  63441. (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
  63442. (add_fdes): Likewise.
  63443. (linear_search_fdes): Likewise.
  63444. (binary_search_unencoded_fdes): Likewise.
  63445. 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
  63446. * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
  63447. 2012-11-24 Adam Conrad <adconrad@0c3.net>
  63448. * configure.in: Autodetect C++ header directories.
  63449. * configure: Regenerated.
  63450. 2012-11-23 Mike Frysinger <vapier@gentoo.org>
  63451. * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
  63452. 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
  63453. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  63454. 2012-11-22 Joseph Myers <joseph@codesourcery.com>
  63455. * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
  63456. LDBL_MANT_DIG == 106]: Disable some tests.
  63457. (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
  63458. Likewise.
  63459. (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
  63460. Likewise.
  63461. [BZ #14871]
  63462. * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
  63463. input for small inputs. Return +/- pi/2 for large inputs.
  63464. * math/libm-test.inc (atan_test): Add more tests.
  63465. * sysdeps/generic/unwind-dw2-fde-glibc.c
  63466. (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
  63467. __attribute__ ((unused)).
  63468. [BZ #14645]
  63469. * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
  63470. x * y if x and y are nonzero and z is zero.
  63471. [BZ #14811]
  63472. * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
  63473. nonzero exponents with absolute value below 0x1p-117 to +/-
  63474. 0x1p-117.
  63475. [BZ #14869]
  63476. * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
  63477. up arguments below 2**-450, not just those below 2**-500.
  63478. * math/libm-test.inc (hypot_test): Add another test.
  63479. [BZ #14868]
  63480. * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
  63481. Return a+b for ratio over 2**120, not 2**60.
  63482. * math/libm-test.inc (hypot_test): Add another test.
  63483. * math/libm-test.inc (clog_test): Use
  63484. UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
  63485. (clog10_test): Likewise.
  63486. [BZ #6778]
  63487. * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
  63488. 2012-11-22 Andreas Schwab <schwab@suse.de>
  63489. * sysdeps/i386/fpu/libm-test-ulps: Update.
  63490. 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
  63491. * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
  63492. printf output with newline.
  63493. 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
  63494. [BZ #14865]
  63495. * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
  63496. * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
  63497. -z nodlopen, -z initfirst and -z execstack support.
  63498. * configure: Regenerated.
  63499. * elf/elf.h (DF_1_NODIRECT): New macro.
  63500. (DF_1_IGNMULDEF): Likewise.
  63501. (DF_1_NOKSYMS): Likewise.
  63502. (DF_1_NOHDR): Likewise.
  63503. (DF_1_EDITED): Likewise.
  63504. (DF_1_NORELOC): Likewise.
  63505. (DF_1_SYMINTPOSE): Likewise.
  63506. (DF_1_GLOBAUDIT): Likewise.
  63507. (DF_1_SINGLETON): Likewise.
  63508. * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
  63509. DT_1_SUPPORTED_MASK bits.
  63510. * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
  63511. 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
  63512. * sysdeps/unix/make-syscalls.sh: Document prefixes.
  63513. 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
  63514. * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
  63515. macro.
  63516. * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
  63517. (sendmmsg): Move declarations...
  63518. * socket/sys/socket.h: ... here.
  63519. * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
  63520. !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
  63521. include it from...
  63522. * socket/recvmmsg.c: ... this new file.
  63523. * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
  63524. (sendmmsg): Rename to __sendmmsg, create weak alias and make
  63525. definition of __sendmmsg hidden.
  63526. * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
  63527. [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
  63528. Move ENOSYS stub into and include it from...
  63529. * socket/sendmmsg.c: ... this new file.
  63530. * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
  63531. (sysdep_routines): Move recvmmsg and sendmmsg...
  63532. * socket/Makefile (routines): ... here.
  63533. * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
  63534. (GLIBC_PRIVATE): Add __sendmmsg.
  63535. * include/sys/socket.h (__sendmmsg): Add declarations.
  63536. * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
  63537. sendmmsg.
  63538. 2012-11-20 Joseph Myers <joseph@codesourcery.com>
  63539. * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
  63540. variable I1 with __attribute__ ((unused)).
  63541. * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
  63542. 2012-11-19 Joseph Myers <joseph@codesourcery.com>
  63543. * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
  63544. DUMMY variables with __attribute__ ((unused)).
  63545. * bits/byteswap.h: Include <bits/types.h>.
  63546. (__bswap_64): Use __uint64_t instead of unsigned long long int.
  63547. 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
  63548. * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
  63549. string_t. Do not manually set errno.
  63550. (__ptsname_r): Change the type of PEERNAME to string_t, and check its
  63551. length with __strnlen. Make sure to both set errno and return it on
  63552. failure.
  63553. 2012-11-19 David S. Miller <davem@davemloft.net>
  63554. With help from Joseph Myers.
  63555. * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
  63556. very large arguments properly.
  63557. * math/libm-test.inc (atan_test): New tests.
  63558. (atan2_test): New tests.
  63559. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  63560. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
  63561. 2012-11-19 Joseph Myers <joseph@codesourcery.com>
  63562. [BZ #14856]
  63563. * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
  63564. Define to 3.
  63565. * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
  63566. [POSIX] (EADDRNOTAVAIL): Likewise.
  63567. [POSIX] (EAFNOSUPPORT): Likewise.
  63568. [POSIX] (EALREADY): Likewise.
  63569. [POSIX] (ECONNABORTED): Likewise.
  63570. [POSIX] (ECONNREFUSED): Likewise.
  63571. [POSIX] (ECONNRESET): Likewise.
  63572. [POSIX] (EDESTADDRREQ): Likewise.
  63573. [POSIX] (EDQUOT): Likewise.
  63574. [POSIX] (EHOSTUNREACH): Likewise.
  63575. [POSIX] (EIDRM): Likewise.
  63576. [POSIX] (EISCONN): Likewise.
  63577. [POSIX] (ELOOP): Likewise.
  63578. [POSIX] (EMULTIHOP): Likewise.
  63579. [POSIX] (ENETDOWN): Likewise.
  63580. [POSIX] (ENETUNREACH): Likewise.
  63581. [POSIX] (ENOBUFS): Likewise.
  63582. [POSIX] (ENODATA): Likewise.
  63583. [POSIX] (ENOLINK): Likewise.
  63584. [POSIX] (ENOMSG): Likewise.
  63585. [POSIX] (ENOPROTOOPT): Likewise.
  63586. [POSIX] (ENOSR): Likewise.
  63587. [POSIX] (ENOSTR): Likewise.
  63588. [POSIX] (ENOTCONN): Likewise.
  63589. [POSIX] (ENOTSOCK): Likewise.
  63590. [POSIX] (EOPNOTSUPP): Likewise.
  63591. [POSIX] (EOVERFLOW): Likewise.
  63592. [POSIX] (EPROTO): Likewise.
  63593. [POSIX] (EPROTONOSUPPORT): Likewise.
  63594. [POSIX] (EPROTOTYPE): Likewise.
  63595. [POSIX] (ESTALE): Likewise.
  63596. [POSIX] (ETIME): Likewise.
  63597. [POSIX] (ETXTBSY): Likewise.
  63598. [POSIX] (EWOULDBLOCK): Likewise.
  63599. [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
  63600. * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
  63601. [POSIX] (SEEK_CUR): Likewise.
  63602. [POSIX] (SEEK_END): Likewise.
  63603. [POSIX || UNIX98] (mode_t): Do not require.
  63604. [POSIX] (off_t): Likewise.
  63605. [POSIX] (pid_t): Likewise.
  63606. [POSIX] (sys/stat.h): Do not allow header.
  63607. [POSIX] (unistd.h): Likewise.
  63608. [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
  63609. [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
  63610. [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
  63611. * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
  63612. require.
  63613. * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
  63614. sigevent): Specify elements.
  63615. [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
  63616. entry.
  63617. [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
  63618. [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
  63619. * conform/data/cpio.h-data [POSIX]: Disable whole file.
  63620. * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
  63621. * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
  63622. (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
  63623. [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
  63624. [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
  63625. [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
  63626. [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
  63627. [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
  63628. [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
  63629. [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
  63630. [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
  63631. [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
  63632. [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
  63633. Likewise.
  63634. [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
  63635. Likewise.
  63636. [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
  63637. Likewise.
  63638. [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
  63639. Likewise.
  63640. [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
  63641. [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
  63642. [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
  63643. [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
  63644. [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
  63645. Specify lower bound on value.
  63646. [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
  63647. [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
  63648. [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
  63649. [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
  63650. [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
  63651. [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
  63652. [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
  63653. [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
  63654. value.
  63655. [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
  63656. as optional.
  63657. [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
  63658. [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
  63659. [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
  63660. [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
  63661. [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
  63662. [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
  63663. [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
  63664. [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
  63665. [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
  63666. [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
  63667. [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
  63668. [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
  63669. [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
  63670. [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
  63671. [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
  63672. [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
  63673. entry.
  63674. [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
  63675. optional.
  63676. [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
  63677. [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
  63678. [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
  63679. [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
  63680. [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
  63681. [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
  63682. Likewise.
  63683. [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
  63684. [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
  63685. [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
  63686. [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
  63687. [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
  63688. value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
  63689. [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
  63690. as optional.
  63691. [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
  63692. [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
  63693. [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
  63694. [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
  63695. Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
  63696. [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
  63697. specify as optional.
  63698. [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
  63699. [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
  63700. [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
  63701. [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
  63702. [POSIX || XPG3] (NL_ARGMAX): Do not allow.
  63703. [XPG3] (NL_LANGMAX): Likewise.
  63704. [POSIX || XPG3] (NL_MSGMAX): Likewise.
  63705. [POSIX || XPG3] (NL_NMAX): Likewise.
  63706. [POSIX || XPG3] (NL_SETMAX): Likewise.
  63707. [POSIX || XPG3] (NL_TEXTMAX): Likewise.
  63708. [XPG3] (NZERO): Likewise.
  63709. [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
  63710. [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
  63711. [!ISO && !ISO99 && !ISO11] (*_t): Allow.
  63712. * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
  63713. (REG_ERANGE): Expect.
  63714. * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
  63715. optional-constant.
  63716. [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
  63717. Use (void) in prototype.
  63718. [POSIX] (*_t): Allow.
  63719. * conform/data/sys/times.h-data [POSIX]: Enable whole file.
  63720. * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
  63721. (WRDE_BADVAL): Expect.
  63722. * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
  63723. expect.
  63724. [XPG3 || XPG4] (O_RSYNC): Likewise.
  63725. * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
  63726. Likewise.
  63727. [XPG3 || XPG4] (pthread_sigmask): Likewise.
  63728. [XPG3 || XPG4] (sigqueue): Likewise.
  63729. [XPG3 || XPG4] (sigtimedwait): Likewise.
  63730. [XPG3 || XPG4] (sigwaitinfo): Likewise.
  63731. * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
  63732. [XPG3 || XPG4] (vsnprintf): Likewise.
  63733. * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
  63734. Likewise.
  63735. [XPG3 || XPG4] (blksize_t): Likewise.
  63736. * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
  63737. Likewise.
  63738. [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
  63739. [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
  63740. [XPG3 || XPG4] (struct itimerspec): Likewise.
  63741. [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
  63742. [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
  63743. [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
  63744. [XPG3 || XPG4] (clockid_t): Likewise.
  63745. [XPG3 || XPG4] (timer_t): Likewise.
  63746. [XPG3 || XPG4] (clock_getres): Likewise.
  63747. [XPG3 || XPG4] (clock_gettime): Likewise.
  63748. [XPG3 || XPG4] (clock_settime): Likewise.
  63749. [XPG3 || XPG4] (nanosleep): Likewise.
  63750. [XPG3 || XPG4] (timer_create): Likewise.
  63751. [XPG3 || XPG4] (timer_delete): Likewise.
  63752. [XPG3 || XPG4] (timer_gettime): Likewise.
  63753. [XPG3 || XPG4] (timer_getoverrun): Likewise.
  63754. [XPG3 || XPG4] (timer_settime): Likewise.
  63755. * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
  63756. [XPG3 || XPG4] (getlogin_r): Likewise.
  63757. [XPG3 || XPG4] (pread): Likewise.
  63758. [XPG3 || XPG4] (pthread_atfork): Likewise.
  63759. [XPG3 || XPG4] (pwrite): Likewise.
  63760. [BZ #14835]
  63761. * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
  63762. <bits/siginfo.h>.
  63763. 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
  63764. * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
  63765. finalizing MALLSTREAM.
  63766. * sysdeps/mach/hurd/syncfs.c: New file.
  63767. 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
  63768. [BZ #14719]
  63769. * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
  63770. NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
  63771. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
  63772. h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
  63773. (_nss_dns_gethostbyname4_r): Likewise.
  63774. * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
  63775. EAI_SYSTEM if NSS_STATUS_UNAVAIL.
  63776. 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
  63777. [BZ #13763]
  63778. * sunrpc/bindrsvprt.c: Add lock to protect static variable.
  63779. 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
  63780. * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
  63781. * elf/cache.c (print_entry): Print ",AArch64" for
  63782. FLAG_AARCH64_LIB64
  63783. * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
  63784. * elf/cache.c (print_entry): Print ",hard-float" for
  63785. FLAG_ARM_LIBHF.
  63786. 2012-11-18 David S. Miller <davem@davemloft.net>
  63787. With help from Joseph Myers.
  63788. * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
  63789. cutoff to 2**-13.
  63790. * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
  63791. cutoff to 2**-25.
  63792. * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
  63793. ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
  63794. small.
  63795. * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
  63796. * math/libm-test.inc (y0_test): New tests.
  63797. (y1_test): New tests.
  63798. * sysdeps/i386/fpu/libm-test-ulps: Update.
  63799. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
  63800. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  63801. 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
  63802. * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
  63803. 64-bit targets.
  63804. * configure: Regenerated.
  63805. 2012-11-17 David S. Miller <davem@davemloft.net>
  63806. [BZ #14811]
  63807. * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
  63808. nonzero exponents with absolute value below 0x1p-128 to +/-
  63809. 0x1p-128.
  63810. 2012-11-17 Joseph Myers <joseph@codesourcery.com>
  63811. * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
  63812. * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
  63813. * posix/getconf-speclist.c: New file.
  63814. * posix/posix-envs.def: Likewise.
  63815. * posix/confstr.c (START_ENV_GROUP): New macro.
  63816. (END_ENV_GROUP): Likewise.
  63817. (KNOWN_ABSENT_ENVIRONMENT): Likewise.
  63818. (KNOWN_PRESENT_ENV_STRING): Likewise.
  63819. (KNOWN_PRESENT_ENVIRONMENT): Likewise.
  63820. (UNKNOWN_ENVIRONMENT): Likewise.
  63821. (confstr): Include posix-envs.def instead of handling
  63822. _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
  63823. _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
  63824. * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
  63825. (END_ENV_GROUP): Likewise.
  63826. (KNOWN_ABSENT_ENVIRONMENT): Likewise.
  63827. (KNOWN_PRESENT_ENVIRONMENT): Likewise.
  63828. (UNKNOWN_ENVIRONMENT): Likewise.
  63829. (__sysconf): Include posix-envs.def instead of handling associated
  63830. cases directly here.
  63831. * posix/Makefile ($(objpfx)getconf.speclist): Generate by
  63832. preprocessing getconf-speclist.c rather than running getconf or
  63833. generating empty file.
  63834. 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
  63835. * scripts/check-local-headers.sh: Ignore 'mach' headers.
  63836. 2012-11-16 Andrej Lajovic <natrij@gmail.com>
  63837. [BZ #14672]
  63838. * iconv/iconv_prog.c (main): Fix -c handling of '/'.
  63839. 2012-11-16 David S. Miller <davem@davemloft.net>
  63840. * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
  63841. smaller than LDBL_EPSILON/2.0L, just return xm1.
  63842. 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
  63843. * elf/tst-array1.c (init): Set constructor priority to 1000.
  63844. (fini): Set destructor priority to 1000.
  63845. * elf/tst-array2dep.c: Likewise.
  63846. 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
  63847. [BZ #11741]
  63848. * libio/fileops.c (_IO_new_file_write): Correctly return error.
  63849. (_IO_new_file_xsputn): Also return EOF if none of the input
  63850. data was written when overflow failed.
  63851. * libio/iopadn.c (_IO_padn): Likewise.
  63852. * libio/iowpadn.c (_IO_wpadn): Likewise.
  63853. * stdio-common/tst-put-error.c: Add copyright notice.
  63854. (do_test): Add case for printing padded string.
  63855. * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
  63856. _IO_padn returned error.
  63857. [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
  63858. * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
  63859. return EOF.
  63860. 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
  63861. * libio/libioP.h: Add comment note that the references to C++
  63862. bits are now obsolete.
  63863. 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
  63864. * math/libm-test.inc (check_complex): Use asprintf.
  63865. 2012-11-14 Joseph Myers <joseph@codesourcery.com>
  63866. * debug/pcprofiledump.c (print_version): Update copyright year.
  63867. * malloc/memusagestat.c (print_version): Likewise.
  63868. 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
  63869. [BZ #14831]
  63870. * elf/Makefile (tests): Add tst-audit8.
  63871. ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
  63872. ($(objpfx)tst-audit8.out): New target.
  63873. (tst-audit8-ENV): New variable.
  63874. * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
  63875. audit if l_reloc_result is NULL.
  63876. (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
  63877. defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
  63878. * elf/tst-audit8.c: New file.
  63879. 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
  63880. * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
  63881. * misc/Makefile (CFLAGS-select.c): Define.
  63882. * posix/Makefile (CFLAGS-pause.c): Define.
  63883. 2012-11-13 David S. Miller <davem@davemloft.net>
  63884. * crypt/Makefile: Move test targets after toplevel Rules
  63885. inclusion. Grab any necessary sysdep routines when linking.
  63886. * crypt/md5.c (md5_process_block): Remove define, we will always
  63887. name it __md5_process_block.
  63888. (md5_finish_ctx): Update md5_process_block call.
  63889. (md5_stream): Likewise.
  63890. (md5_process_bytes): Likewise.
  63891. (md5_process_block): Rename to __md5_process_block and move to ...
  63892. * crypt/md5-block.c: ... here.
  63893. * crypt/sha256.c (sha256_process_block): Move to ...
  63894. * crypt/sha256-block.c: ... here.
  63895. * crypt/sha512.c (sha512_process_block): Move to ...
  63896. * crypt/sha512-block.c: ... here.
  63897. * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
  63898. path.
  63899. * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
  63900. * sysdeps/sparc/sparc64/multiarch/Makefile
  63901. (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
  63902. crypt subdir.
  63903. (localedef-aux): Add md5 crypto assembler when in locale subdir.
  63904. * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
  63905. multiarch changes.
  63906. * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
  63907. * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
  63908. * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
  63909. * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
  63910. * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
  63911. * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
  63912. * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
  63913. * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
  63914. * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
  63915. file.
  63916. * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
  63917. * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
  63918. file.
  63919. * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
  63920. 2012-11-13 Joseph Myers <joseph@codesourcery.com>
  63921. * timezone/tzselect.ksh: Update from tzcode git revision
  63922. a435f9f0ecafa56d9e0263835836bd0c64cd7307.
  63923. * timezone/zdump.c: Likewise.
  63924. * timezone/zic.c: Likewise.
  63925. * timezone/Makefile ($(objpfx)version.h): Only include $(version)
  63926. in TZVERSION setting, not $(PKGVERSION).
  63927. ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
  63928. REPORT_BUGS_TO settings.
  63929. [BZ #14838]
  63930. * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
  63931. macro.
  63932. 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
  63933. * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
  63934. detection to immediately after _FP_ROUND().
  63935. * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
  63936. bits are 0.
  63937. 2012-11-11 David S. Miller <davem@davemloft.net>
  63938. * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
  63939. inttypes.h
  63940. (__get_clockfreq_via_proc_openprom): Use __open, __read, and
  63941. __close rather than their public counterparts.
  63942. 2012-11-10 Joseph Myers <joseph@codesourcery.com>
  63943. * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
  63944. file.
  63945. [UNIX98] (sem_timedwait): Do not expect.
  63946. * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
  63947. [XPG4 || UNIX98] (sockatmark): Do not expect.
  63948. * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
  63949. (clock_getcpuclockid): Do not expect.
  63950. [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
  63951. * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
  63952. Do not expect.
  63953. [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
  63954. * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
  63955. [UNIX98] (vwscanf): Likewise.
  63956. [UNIX98] (vswscanf): Likewise.
  63957. 2012-11-09 Joseph Myers <joseph@codesourcery.com>
  63958. * timezone/version.h: Remove file.
  63959. * timezone/README: Do not refer to version.h.
  63960. * timezone/Makefile ($(objpfx)zic.o): New dependency on
  63961. $(objpfx)version.h.
  63962. ($(objpfx)zdump.o): Likewise.
  63963. ($(objpfx)version.h): New target.
  63964. * timezone/tzselect.ksh: Change to verbatim copy from tzcode
  63965. 2012i.
  63966. * timezone/README: Don't mention modification to tzselect.ksh.
  63967. * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
  63968. work on unmodified tzselect.ksh. Substitute version numbers in
  63969. tzselect.ksh.
  63970. * Makefile (format-me): Remove.
  63971. (INSTALL): Adjust indentation. Use commands directly instead of
  63972. using $(format-me).
  63973. * aclocal.m4 (ACX_PKGVERSION): New macro.
  63974. (ACX_BUGURL): Likewise.
  63975. * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
  63976. (PKGVERSION): New AC_DEFINE_UNQUOTED.
  63977. (REPORT_BUGS_TO): Likewise.
  63978. * configure: Regenerated.
  63979. * config.h.in (PKGVERSION): New macro.
  63980. (REPORT_BUGS_TO): Likewise.
  63981. * config.make.in (PKGVERSION): New variable.
  63982. (PKGVERSION_TEXI): Likewise.
  63983. (REPORT_BUGS_TO): Likewise.
  63984. (REPORT_BUGS_TEXI): Likewise.
  63985. * Makefile (format-me): Use -I$(common-objpfx)manual.
  63986. (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
  63987. ($(common-objpfx)manual/%): New target.
  63988. (manual/%): Remove target.
  63989. * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
  63990. (print_version): Use PKGVERSION.
  63991. * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
  63992. * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
  63993. and REPORT_BUGS_TO.
  63994. ($(objpfx)xtrace): Likewise.
  63995. * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
  63996. * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
  63997. (print_version): Use PKGVERSION.
  63998. * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
  63999. (do_version): Use PKGVERSION.
  64000. * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
  64001. REPORT_BUGS_TO.
  64002. (common-ldd-rewrite): Likewise.
  64003. * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
  64004. * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
  64005. (print_version): Use PKGVERSION.
  64006. * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
  64007. * elf/pldd.c (argp_program_bug_address): Remove variable.
  64008. (more_help): New function.
  64009. (argp): Use more_help.
  64010. (print_version): Use PKGVERSION.
  64011. * elf/sln.c (main): Use PKGVERSION.
  64012. (usage): Use REPORT_BUGS_TO.
  64013. * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
  64014. (top level): Use PKGVERSION.
  64015. * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
  64016. (print_version): Use PKGVERSION.
  64017. * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
  64018. (print_version): Use PKGVERSION.
  64019. * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
  64020. (print_version): Use PKGVERSION.
  64021. * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
  64022. (print_version): Use PKGVERSION.
  64023. * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
  64024. (print_version): Use PKGVERSION.
  64025. * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
  64026. (print_version): Use PKGVERSION.
  64027. * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
  64028. and BUGURL.
  64029. ($(objpfx)memusage): Likewise.
  64030. * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
  64031. (do_version): Use PKGVERSION.
  64032. * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
  64033. (print_version): Use PKGVERSION.
  64034. * malloc/mtrace.pl ($PACKAGE): Remove variable.
  64035. ($PKGVERSION): New variable.
  64036. ($REPORT_BUGS_TO): Likewise.
  64037. (usage): Use $REPORT_BUGS_TO.
  64038. (top level): Use $PKGVERSION.
  64039. * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
  64040. ($(objpfx)pkgvers.texi): New rule.
  64041. ($(objpfx)stamp-pkgvers): Likewise.
  64042. * manual/install.texi: Include pkgvers.texi.
  64043. (--with-pkgversion): Document new configure option.
  64044. (--with-bugurl): Likewise.
  64045. (Reporting Bugs): Describe Bugzilla as upstream tracker rather
  64046. than necessarily for this particular distribution. Use
  64047. REPORT_BUGS_TO for where to report bugs.
  64048. * INSTALL: Regenerated.
  64049. * manual/libc.texinfo: Include pkgvers.texi.
  64050. [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
  64051. * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
  64052. (print_version): Use PKGVERSION.
  64053. * nss/getent.c (more_help): Use REPORT_BUGS_TO.
  64054. (print_version): Use PKGVERSION.
  64055. * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
  64056. (print_version): Use PKGVERSION.
  64057. * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
  64058. * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
  64059. macro.
  64060. * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
  64061. (print_version): Use PKGVERSION.
  64062. * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
  64063. (print_version): Use PKGVERSION.
  64064. * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
  64065. and PKGVERSION.
  64066. * timezone/checktab.awk: Update from tzcode 2012i.
  64067. * timezone/ialloc.c: Likewise.
  64068. * timezone/private.h: Likewise.
  64069. * timezone/scheck.c: Likewise.
  64070. * timezone/tzfile.h: Likewise.
  64071. * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
  64072. (TZVERSION): Hardcode tzcode version number.
  64073. * timezone/zdump.c: Update from tzcode 2012i.
  64074. * timezone/zic.c: Likewise.
  64075. * timezone/version.h: New file.
  64076. * timezone/README: Describe version.h. Update upstream location.
  64077. [BZ #14824]
  64078. * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
  64079. (mktemp): Enable declaration.
  64080. [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
  64081. [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
  64082. [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
  64083. [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
  64084. Likewise.
  64085. [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
  64086. Likewise.
  64087. [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
  64088. Likewise.
  64089. [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
  64090. Likewise.
  64091. [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
  64092. Likewise.
  64093. [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
  64094. Likewise.
  64095. [BZ #14821]
  64096. * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
  64097. offset in buffer as u_int32_t not u_long. Consistently use memcpy
  64098. for copies of such integer values.
  64099. * sunrpc/clnt_udp.c (clntudp_control): Likewise.
  64100. * sunrpc/clnt_unix.c (clntunix_control): Likewise.
  64101. 2012-11-09 Andreas Jaeger <aj@suse.de>
  64102. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
  64103. definitions and declarations that are provided by
  64104. <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
  64105. 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  64106. * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
  64107. * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
  64108. * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
  64109. definition.
  64110. 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
  64111. * elf/elf.h: Update comment before AArch64 relocations.
  64112. 2012-11-07 David S. Miller <davem@davemloft.net>
  64113. * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
  64114. * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
  64115. (__start_context): Declare.
  64116. (__makecontext_ret): Delete.
  64117. (__makecontext): Hook up __start_context instead of
  64118. __makecontext_ret.
  64119. * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
  64120. (sysdep_routines): Add __start_context when in stdlib.
  64121. 2012-11-07 Joseph Myers <joseph@codesourcery.com>
  64122. * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
  64123. $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
  64124. * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
  64125. hardcoded "nm".
  64126. (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
  64127. (READELF): New variable. Use it instead of hardcoded "readelf".
  64128. 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
  64129. * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
  64130. * sysdeps/x86/Makefile: Here.
  64131. * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
  64132. * sysdeps/x86/tst-xmmymm.sh: This.
  64133. 2012-11-07 Joseph Myers <joseph@codesourcery.com>
  64134. * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
  64135. expectations.
  64136. [UNIX98] (pthread_barrier_t): Do not expect.
  64137. [UNIX98] (pthread_barrierattr_t): Likewise.
  64138. [UNIX98] (pthread_spinlock_t): Likewise.
  64139. [UNIX98] (pthread_barrier_destroy): Likewise.
  64140. [UNIX98] (pthread_barrier_init): Likewise.
  64141. [UNIX98] (pthread_barrier_wait): Likewise.
  64142. [UNIX98] (pthread_barrierattr_destroy): Likewise.
  64143. [UNIX98] (pthread_barrierattr_getpshared): Likewise.
  64144. [UNIX98] (pthread_barrierattr_init): Likewise.
  64145. [UNIX98] (pthread_barrierattr_setpshared): Likewise.
  64146. [UNIX98] (pthread_getcpuclockid): Likewise.
  64147. [UNIX98] (pthread_mutex_timedlock): Likewise.
  64148. [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
  64149. [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
  64150. [UNIX98] (pthread_sigmask): Likewise.
  64151. [UNIX98] (pthread_spin_destroy): Likewise.
  64152. [UNIX98] (pthread_spin_init): Likewise.
  64153. [UNIX98] (pthread_spin_lock): Likewise.
  64154. [UNIX98] (pthread_spin_trylock): Likewise.
  64155. [UNIX98] (pthread_spin_unlock): Likewise.
  64156. * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
  64157. Do not expect.
  64158. [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
  64159. [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
  64160. [XPG3 || XPG4] (pthread_cond_t): Likewise.
  64161. [XPG3 || XPG4] (pthread_condattr_t): Likewise.
  64162. [XPG3 || XPG4] (pthread_key_t): Likewise.
  64163. [XPG3 || XPG4] (pthread_mutex_t): Likewise.
  64164. [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
  64165. [XPG3 || XPG4] (pthread_once_t): Likewise.
  64166. [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
  64167. [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
  64168. [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
  64169. [XPG3 || XPG4] (pthread_t): Likewise.
  64170. * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
  64171. not expect.
  64172. [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
  64173. * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
  64174. Change function return type to int.
  64175. * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
  64176. Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
  64177. [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
  64178. [!POSIX] (POSIX_MADV_RANDOM): Likewise.
  64179. [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
  64180. [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
  64181. [!POSIX] (posix_madvise): Likewise.
  64182. (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
  64183. && !UNIX98].
  64184. (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
  64185. (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
  64186. (mode_t): Likewise.
  64187. (posix_mem_offset): Likewise.
  64188. (posix_typed_mem_get_info): Likewise.
  64189. (posix_typed_mem_open): Likewise.
  64190. * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
  64191. Change condition to [XOPEN2K8].
  64192. * conform/conformtest.pl: Preprocess allow-header data with -x c
  64193. instead of from stdin.
  64194. (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
  64195. * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
  64196. [C99-based standards] (cerfc): Likewise.
  64197. [C99-based standards] (cexp2): Likewise.
  64198. [C99-based standards] (cexpm1): Likewise.
  64199. [C99-based standards] (clog10): Likewise.
  64200. [C99-based standards] (clog1p): Likewise.
  64201. [C99-based standards] (clog2): Likewise.
  64202. [C99-based standards] (clgamma): Likewise.
  64203. [C99-based standards] (ctgamma): Likewise.
  64204. [C99-based standards] (cerff): Likewise.
  64205. [C99-based standards] (cerfcf): Likewise.
  64206. [C99-based standards] (cexp2f): Likewise.
  64207. [C99-based standards] (cexpm1f): Likewise.
  64208. [C99-based standards] (clog10f): Likewise.
  64209. [C99-based standards] (clog1pf): Likewise.
  64210. [C99-based standards] (clog2f): Likewise.
  64211. [C99-based standards] (clgammaf): Likewise.
  64212. [C99-based standards] (ctgammaf): Likewise.
  64213. [C99-based standards] (cerfl): Likewise.
  64214. [C99-based standards] (cerfcl): Likewise.
  64215. [C99-based standards] (cexp2l): Likewise.
  64216. [C99-based standards] (cexpm1l): Likewise.
  64217. [C99-based standards] (clog10l): Likewise.
  64218. [C99-based standards] (clog1pl): Likewise.
  64219. [C99-based standards] (clog2l): Likewise.
  64220. [C99-based standards] (clgammal): Likewise.
  64221. [C99-based standards] (ctgammal): Likewise.
  64222. * conform/data/inttypes.h-data [C99-based standards]: Include
  64223. stdint.h-data. Remove all expectations for stdint.h contents.
  64224. [C99-based standards] (PRI*): Do not allow.
  64225. [C99-based standards] (SCN*): Likewise.
  64226. [C99-based standards] (*_t): Likewise.
  64227. [C99-based-standards] (PRId8): Expect macro.
  64228. [C99-based-standards] (PRIi8): Likewise.
  64229. [C99-based-standards] (PRIo8): Likewise.
  64230. [C99-based-standards] (PRIu8): Likewise.
  64231. [C99-based-standards] (PRIx8): Likewise.
  64232. [C99-based-standards] (PRIX8): Likewise.
  64233. [C99-based-standards] (SCNd8): Likewise.
  64234. [C99-based-standards] (SCNi8): Likewise.
  64235. [C99-based-standards] (SCNo8): Likewise.
  64236. [C99-based-standards] (SCNu8): Likewise.
  64237. [C99-based-standards] (SCNx8): Likewise.
  64238. [C99-based-standards] (PRIdLEAST8): Likewise.
  64239. [C99-based-standards] (PRIiLEAST8): Likewise.
  64240. [C99-based-standards] (PRIoLEAST8): Likewise.
  64241. [C99-based-standards] (PRIuLEAST8): Likewise.
  64242. [C99-based-standards] (PRIxLEAST8): Likewise.
  64243. [C99-based-standards] (PRIXLEAST8): Likewise.
  64244. [C99-based-standards] (SCNdLEAST8): Likewise.
  64245. [C99-based-standards] (SCNiLEAST8): Likewise.
  64246. [C99-based-standards] (SCNoLEAST8): Likewise.
  64247. [C99-based-standards] (SCNuLEAST8): Likewise.
  64248. [C99-based-standards] (SCNxLEAST8): Likewise.
  64249. [C99-based-standards] (PRIdFAST8): Likewise.
  64250. [C99-based-standards] (PRIiFAST8): Likewise.
  64251. [C99-based-standards] (PRIoFAST8): Likewise.
  64252. [C99-based-standards] (PRIuFAST8): Likewise.
  64253. [C99-based-standards] (PRIxFAST8): Likewise.
  64254. [C99-based-standards] (PRIXFAST8): Likewise.
  64255. [C99-based-standards] (SCNdFAST8): Likewise.
  64256. [C99-based-standards] (SCNiFAST8): Likewise.
  64257. [C99-based-standards] (SCNoFAST8): Likewise.
  64258. [C99-based-standards] (SCNuFAST8): Likewise.
  64259. [C99-based-standards] (SCNxFAST8): Likewise.
  64260. [C99-based-standards] (PRId16): Likewise.
  64261. [C99-based-standards] (PRIi16): Likewise.
  64262. [C99-based-standards] (PRIo16): Likewise.
  64263. [C99-based-standards] (PRIu16): Likewise.
  64264. [C99-based-standards] (PRIx16): Likewise.
  64265. [C99-based-standards] (PRIX16): Likewise.
  64266. [C99-based-standards] (SCNd16): Likewise.
  64267. [C99-based-standards] (SCNi16): Likewise.
  64268. [C99-based-standards] (SCNo16): Likewise.
  64269. [C99-based-standards] (SCNu16): Likewise.
  64270. [C99-based-standards] (SCNx16): Likewise.
  64271. [C99-based-standards] (PRIdLEAST16): Likewise.
  64272. [C99-based-standards] (PRIiLEAST16): Likewise.
  64273. [C99-based-standards] (PRIoLEAST16): Likewise.
  64274. [C99-based-standards] (PRIuLEAST16): Likewise.
  64275. [C99-based-standards] (PRIxLEAST16): Likewise.
  64276. [C99-based-standards] (PRIXLEAST16): Likewise.
  64277. [C99-based-standards] (SCNdLEAST16): Likewise.
  64278. [C99-based-standards] (SCNiLEAST16): Likewise.
  64279. [C99-based-standards] (SCNoLEAST16): Likewise.
  64280. [C99-based-standards] (SCNuLEAST16): Likewise.
  64281. [C99-based-standards] (SCNxLEAST16): Likewise.
  64282. [C99-based-standards] (PRIdFAST16): Likewise.
  64283. [C99-based-standards] (PRIiFAST16): Likewise.
  64284. [C99-based-standards] (PRIoFAST16): Likewise.
  64285. [C99-based-standards] (PRIuFAST16): Likewise.
  64286. [C99-based-standards] (PRIxFAST16): Likewise.
  64287. [C99-based-standards] (PRIXFAST16): Likewise.
  64288. [C99-based-standards] (SCNdFAST16): Likewise.
  64289. [C99-based-standards] (SCNiFAST16): Likewise.
  64290. [C99-based-standards] (SCNoFAST16): Likewise.
  64291. [C99-based-standards] (SCNuFAST16): Likewise.
  64292. [C99-based-standards] (SCNxFAST16): Likewise.
  64293. [C99-based-standards] (PRId32): Likewise.
  64294. [C99-based-standards] (PRIi32): Likewise.
  64295. [C99-based-standards] (PRIo32): Likewise.
  64296. [C99-based-standards] (PRIu32): Likewise.
  64297. [C99-based-standards] (PRIx32): Likewise.
  64298. [C99-based-standards] (PRIX32): Likewise.
  64299. [C99-based-standards] (SCNd32): Likewise.
  64300. [C99-based-standards] (SCNi32): Likewise.
  64301. [C99-based-standards] (SCNo32): Likewise.
  64302. [C99-based-standards] (SCNu32): Likewise.
  64303. [C99-based-standards] (SCNx32): Likewise.
  64304. [C99-based-standards] (PRIdLEAST32): Likewise.
  64305. [C99-based-standards] (PRIiLEAST32): Likewise.
  64306. [C99-based-standards] (PRIoLEAST32): Likewise.
  64307. [C99-based-standards] (PRIuLEAST32): Likewise.
  64308. [C99-based-standards] (PRIxLEAST32): Likewise.
  64309. [C99-based-standards] (PRIXLEAST32): Likewise.
  64310. [C99-based-standards] (SCNdLEAST32): Likewise.
  64311. [C99-based-standards] (SCNiLEAST32): Likewise.
  64312. [C99-based-standards] (SCNoLEAST32): Likewise.
  64313. [C99-based-standards] (SCNuLEAST32): Likewise.
  64314. [C99-based-standards] (SCNxLEAST32): Likewise.
  64315. [C99-based-standards] (PRIdFAST32): Likewise.
  64316. [C99-based-standards] (PRIiFAST32): Likewise.
  64317. [C99-based-standards] (PRIoFAST32): Likewise.
  64318. [C99-based-standards] (PRIuFAST32): Likewise.
  64319. [C99-based-standards] (PRIxFAST32): Likewise.
  64320. [C99-based-standards] (PRIXFAST32): Likewise.
  64321. [C99-based-standards] (SCNdFAST32): Likewise.
  64322. [C99-based-standards] (SCNiFAST32): Likewise.
  64323. [C99-based-standards] (SCNoFAST32): Likewise.
  64324. [C99-based-standards] (SCNuFAST32): Likewise.
  64325. [C99-based-standards] (SCNxFAST32): Likewise.
  64326. [C99-based-standards] (PRId64): Likewise.
  64327. [C99-based-standards] (PRIi64): Likewise.
  64328. [C99-based-standards] (PRIo64): Likewise.
  64329. [C99-based-standards] (PRIu64): Likewise.
  64330. [C99-based-standards] (PRIx64): Likewise.
  64331. [C99-based-standards] (PRIX64): Likewise.
  64332. [C99-based-standards] (SCNd64): Likewise.
  64333. [C99-based-standards] (SCNi64): Likewise.
  64334. [C99-based-standards] (SCNo64): Likewise.
  64335. [C99-based-standards] (SCNu64): Likewise.
  64336. [C99-based-standards] (SCNx64): Likewise.
  64337. [C99-based-standards] (PRIdLEAST64): Likewise.
  64338. [C99-based-standards] (PRIiLEAST64): Likewise.
  64339. [C99-based-standards] (PRIoLEAST64): Likewise.
  64340. [C99-based-standards] (PRIuLEAST64): Likewise.
  64341. [C99-based-standards] (PRIxLEAST64): Likewise.
  64342. [C99-based-standards] (PRIXLEAST64): Likewise.
  64343. [C99-based-standards] (SCNdLEAST64): Likewise.
  64344. [C99-based-standards] (SCNiLEAST64): Likewise.
  64345. [C99-based-standards] (SCNoLEAST64): Likewise.
  64346. [C99-based-standards] (SCNuLEAST64): Likewise.
  64347. [C99-based-standards] (SCNxLEAST64): Likewise.
  64348. [C99-based-standards] (PRIdFAST64): Likewise.
  64349. [C99-based-standards] (PRIiFAST64): Likewise.
  64350. [C99-based-standards] (PRIoFAST64): Likewise.
  64351. [C99-based-standards] (PRIuFAST64): Likewise.
  64352. [C99-based-standards] (PRIxFAST64): Likewise.
  64353. [C99-based-standards] (PRIXFAST64): Likewise.
  64354. [C99-based-standards] (SCNdFAST64): Likewise.
  64355. [C99-based-standards] (SCNiFAST64): Likewise.
  64356. [C99-based-standards] (SCNoFAST64): Likewise.
  64357. [C99-based-standards] (SCNuFAST64): Likewise.
  64358. [C99-based-standards] (SCNxFAST64): Likewise.
  64359. [C99-based-standards] (PRIdMAX): Likewise.
  64360. [C99-based-standards] (PRIiMAX): Likewise.
  64361. [C99-based-standards] (PRIoMAX): Likewise.
  64362. [C99-based-standards] (PRIuMAX): Likewise.
  64363. [C99-based-standards] (PRIxMAX): Likewise.
  64364. [C99-based-standards] (PRIXMAX): Likewise.
  64365. [C99-based-standards] (SCNdMAX): Likewise.
  64366. [C99-based-standards] (SCNiMAX): Likewise.
  64367. [C99-based-standards] (SCNoMAX): Likewise.
  64368. [C99-based-standards] (SCNuMAX): Likewise.
  64369. [C99-based-standards] (SCNxMAX): Likewise.
  64370. [C99-based-standards] (PRIdPTR): Likewise.
  64371. [C99-based-standards] (PRIiPTR): Likewise.
  64372. [C99-based-standards] (PRIoPTR): Likewise.
  64373. [C99-based-standards] (PRIuPTR): Likewise.
  64374. [C99-based-standards] (PRIxPTR): Likewise.
  64375. [C99-based-standards] (PRIXPTR): Likewise.
  64376. [C99-based-standards] (SCNdPTR): Likewise.
  64377. [C99-based-standards] (SCNiPTR): Likewise.
  64378. [C99-based-standards] (SCNoPTR): Likewise.
  64379. [C99-based-standards] (SCNuPTR): Likewise.
  64380. [C99-based-standards] (SCNxPTR): Likewise.
  64381. * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
  64382. allow.
  64383. * conform/data/stdint.h-data: Update comments to clarify
  64384. requirements.
  64385. [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
  64386. type.
  64387. [C99-based standards] (INT8_MAX): Likewise.
  64388. [C99-based standards] (INT16_MIN): Likewise.
  64389. [C99-based standards] (INT16_MAX): Likewise.
  64390. [C99-based standards] (INT32_MIN): Likewise.
  64391. [C99-based standards] (INT32_MAX): Likewise.
  64392. [C99-based standards] (INT64_MIN): Likewise.
  64393. [C99-based standards] (INT64_MAX): Likewise.
  64394. [C99-based standards] (UINT8_MAX): Likewise.
  64395. [C99-based standards] (UINT16_MAX): Likewise.
  64396. [C99-based standards] (UINT32_MAX): Likewise.
  64397. [C99-based standards] (UINT64_MAX): Likewise.
  64398. [C99-based standards] (INT_LEAST8_MIN): Likewise.
  64399. [C99-based standards] (INT_LEAST8_MAX): Likewise.
  64400. [C99-based standards] (INT_LEAST16_MIN): Likewise.
  64401. [C99-based standards] (INT_LEAST16_MAX): Likewise.
  64402. [C99-based standards] (INT_LEAST32_MIN): Likewise.
  64403. [C99-based standards] (INT_LEAST32_MAX): Likewise.
  64404. [C99-based standards] (INT_LEAST64_MIN): Likewise.
  64405. [C99-based standards] (INT_LEAST64_MAX): Likewise.
  64406. [C99-based standards] (UINT_LEAST8_MAX): Likewise.
  64407. [C99-based standards] (UINT_LEAST16_MAX): Likewise.
  64408. [C99-based standards] (UINT_LEAST32_MAX): Likewise.
  64409. [C99-based standards] (UINT_LEAST64_MAX): Likewise.
  64410. [C99-based standards] (INT_FAST8_MIN): Likewise.
  64411. [C99-based standards] (INT_FAST8_MAX): Likewise.
  64412. [C99-based standards] (INT_FAST16_MIN): Likewise.
  64413. [C99-based standards] (INT_FAST16_MAX): Likewise.
  64414. [C99-based standards] (INT_FAST32_MIN): Likewise.
  64415. [C99-based standards] (INT_FAST32_MAX): Likewise.
  64416. [C99-based standards] (INT_FAST64_MIN): Likewise.
  64417. [C99-based standards] (INT_FAST64_MAX): Likewise.
  64418. [C99-based standards] (UINT_FAST8_MAX): Likewise.
  64419. [C99-based standards] (UINT_FAST16_MAX): Likewise.
  64420. [C99-based standards] (UINT_FAST32_MAX): Likewise.
  64421. [C99-based standards] (UINT_FAST64_MAX): Likewise.
  64422. [C99-based standards] (INTPTR_MIN): Likewise.
  64423. [C99-based standards] (INTPTR_MAX): Likewise.
  64424. [C99-based standards] (UINTPTR_MAX): Likewise.
  64425. [C99-based standards] (INTMAX_MIN): Likewise.
  64426. [C99-based standards] (INTMAX_MAX): Likewise.
  64427. [C99-based standards] (UINTMAX_MAX): Likewise.
  64428. [C99-based standards] (PTRDIFF_MIN): Likewise.
  64429. [C99-based standards] (PTRDIFF_MAX): Likewise.
  64430. [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
  64431. [C99-based standards] (SIZE_MAX): Likewise.
  64432. [C99-based standards] (WCHAR_MAX): Likewise.
  64433. [C99-based standards] (WINT_MAX): Likewise.
  64434. [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
  64435. constraint on value.
  64436. [C99-based standards] (WCHAR_MIN): Likewise.
  64437. [C99-based standards] (WINT_MIN): Likewise.
  64438. [C99-based standards] (*_t): Allow.
  64439. * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
  64440. condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
  64441. Include math.h-data and complex.h-data. Remove all expectations
  64442. of math.h and complex.h contents.
  64443. * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
  64444. at end of line.
  64445. * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
  64446. (struct tm): Expect tag.
  64447. [C99-based-standards] (wcstof): Expect function.
  64448. [C99-based-standards] (wcstold): Likewise.
  64449. [C99-based-standards] (wcstoll): Likewise.
  64450. [C99-based-standards] (wcstoull): Likewise.
  64451. [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
  64452. macro-int-constant. Specify type.
  64453. [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
  64454. constraint on value.
  64455. [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
  64456. Specify type.
  64457. [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
  64458. Specify value.
  64459. [ISO C standards]: Do not allow headers.
  64460. [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
  64461. wcs[abcdefghijklmnopqrstuvwxyz]*.
  64462. [ISO C standards] (*_t): Do not allow.
  64463. * conform/data/wctype.h-data [C99-based standards] (iswblank):
  64464. Expect function.
  64465. [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
  64466. [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
  64467. Specify type.
  64468. [ISO C standards]: Do not allow headers.
  64469. [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
  64470. is[abcdefghijklmnopqrstuvwxyz]*.
  64471. [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
  64472. to[abcdefghijklmnopqrstuvwxyz]*.
  64473. [ISO C standards] (*_t): Do not allow.
  64474. * conform/data/stdalign.h-data: New file.
  64475. * conform/data/stdbool.h-data: Likewise.
  64476. * conform/data/stdnoreturn.h-data: Likewise.
  64477. 2012-11-07 Roland McGrath <roland@hack.frob.com>
  64478. [BZ #14815]
  64479. * manual/filesys.texi (Directory Entries): Typo fix.
  64480. Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
  64481. 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
  64482. * elf/elf.h (EM_AARCH64): New macro.
  64483. (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
  64484. (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
  64485. (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
  64486. (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
  64487. (R_AARCH64_TLSDESC): Likewise.
  64488. (NT_ARM_TLS): Likewise.
  64489. (NT_ARM_HW_BREAK): Likewise.
  64490. (NT_ARM_HW_WATCH): Likewise.
  64491. 2012-11-07 Joseph Myers <joseph@codesourcery.com>
  64492. [BZ #14811]
  64493. * sysdeps/i386/fpu/e_powl.S (pm79): New object.
  64494. (__ieee754_powl): Saturate nonzero exponents with absolute value
  64495. below 0x1p-79 to +/- 0x1p-79.
  64496. * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
  64497. exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
  64498. * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
  64499. nonzero exponents with absolute value below 0x1p-32 to +/-
  64500. 0x1p-32.
  64501. * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
  64502. (__ieee754_powl): Saturate nonzero exponents with absolute value
  64503. below 0x1p-79 to +/- 0x1p-79.
  64504. * math/libm-test.inc (pow_test): Add more tests.
  64505. 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  64506. * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
  64507. _dl_s390_cap_flags with kernel. Increase string length.
  64508. (_dl_s390_platforms): Add z196 and zEC12.
  64509. 2012-11-07 Joseph Myers <joseph@codesourcery.com>
  64510. * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
  64511. Change XOPEN21K to XOPEN2K.
  64512. 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
  64513. * string/memmove.c: Use memcpy when possible.
  64514. 2012-11-06 Andreas Jaeger <aj@suse.de>
  64515. * po/eo.po: Update from translation team.
  64516. 2012-11-06 Joseph Myers <joseph@codesourcery.com>
  64517. [BZ #14793]
  64518. * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
  64519. exponent and small x and y exponents, scale x or y up. Increase
  64520. by 2 the exponent used in scaling up.
  64521. * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
  64522. * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
  64523. * math/libm-test.inc (fma_test): Add more tests.
  64524. (fma_test_towardzero): Likewise.
  64525. (fma_test_downward): Likewise.
  64526. (fma_test_upward): Likewise.
  64527. 2012-11-05 Joseph Myers <joseph@codesourcery.com>
  64528. [BZ #14805]
  64529. * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
  64530. fenv_t *.
  64531. [BZ #14801]
  64532. * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
  64533. namespace for names of struct fields.
  64534. * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
  64535. fenv_t fields.
  64536. * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
  64537. * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
  64538. 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
  64539. [BZ #3665]
  64540. * sysdeps/mach/hurd/bits/errno.h: Regenerated.
  64541. 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
  64542. * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
  64543. PTR_DEMANGLE.
  64544. [BZ #5246]
  64545. * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
  64546. PTR_DEMANGLE.
  64547. 2012-11-04 Joseph Myers <joseph@codesourcery.com>
  64548. [BZ #14797]
  64549. * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
  64550. definitely overflow as x * y not x * y + z.
  64551. * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
  64552. * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
  64553. * math/libm-test.inc (fma_test): Add more tests.
  64554. (fma_test_towardzero): Likewise.
  64555. (fma_test_downward): Likewise.
  64556. (fma_test_upward): Likewise.
  64557. 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
  64558. [BZ #157]
  64559. * include/stub-tag.h: Remove file.
  64560. * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
  64561. '#include' of it.
  64562. * manual/maint.texi (Porting): Don't reference it.
  64563. * Makerules ($(objpfx)stubs): Likewise.
  64564. * dirent/closedir.c: Don't include <stub-tag.h>.
  64565. * dirent/dirfd.c: Likewise.
  64566. * dirent/fdopendir.c: Likewise.
  64567. * dirent/getdents.c: Likewise.
  64568. * dirent/getdents64.c: Likewise.
  64569. * dirent/opendir.c: Likewise.
  64570. * dirent/readdir.c: Likewise.
  64571. * dirent/readdir64.c: Likewise.
  64572. * dirent/readdir64_r.c: Likewise.
  64573. * dirent/readdir_r.c: Likewise.
  64574. * dirent/rewinddir.c: Likewise.
  64575. * dirent/seekdir.c: Likewise.
  64576. * dirent/telldir.c: Likewise.
  64577. * gmon/profil.c: Likewise.
  64578. * grp/setgroups.c: Likewise.
  64579. * inet/if_index.c: Likewise.
  64580. * io/access.c: Likewise.
  64581. * io/chdir.c: Likewise.
  64582. * io/chmod.c: Likewise.
  64583. * io/chown.c: Likewise.
  64584. * io/close.c: Likewise.
  64585. * io/dup.c: Likewise.
  64586. * io/dup2.c: Likewise.
  64587. * io/dup3.c: Likewise.
  64588. * io/euidaccess.c: Likewise.
  64589. * io/faccessat.c: Likewise.
  64590. * io/fchdir.c: Likewise.
  64591. * io/fchmod.c: Likewise.
  64592. * io/fchmodat.c: Likewise.
  64593. * io/fchown.c: Likewise.
  64594. * io/fchownat.c: Likewise.
  64595. * io/fcntl.c: Likewise.
  64596. * io/flock.c: Likewise.
  64597. * io/fstatfs.c: Likewise.
  64598. * io/fstatfs64.c: Likewise.
  64599. * io/fstatvfs.c: Likewise.
  64600. * io/fstatvfs64.c: Likewise.
  64601. * io/futimens.c: Likewise.
  64602. * io/fxstat.c: Likewise.
  64603. * io/fxstat64.c: Likewise.
  64604. * io/fxstatat.c: Likewise.
  64605. * io/fxstatat64.c: Likewise.
  64606. * io/getcwd.c: Likewise.
  64607. * io/isatty.c: Likewise.
  64608. * io/lchmod.c: Likewise.
  64609. * io/lchown.c: Likewise.
  64610. * io/link.c: Likewise.
  64611. * io/linkat.c: Likewise.
  64612. * io/lseek.c: Likewise.
  64613. * io/lseek64.c: Likewise.
  64614. * io/lxstat64.c: Likewise.
  64615. * io/mkdir.c: Likewise.
  64616. * io/mkdirat.c: Likewise.
  64617. * io/mkfifo.c: Likewise.
  64618. * io/mkfifoat.c: Likewise.
  64619. * io/open.c: Likewise.
  64620. * io/open64.c: Likewise.
  64621. * io/openat.c: Likewise.
  64622. * io/openat64.c: Likewise.
  64623. * io/pipe.c: Likewise.
  64624. * io/pipe2.c: Likewise.
  64625. * io/poll.c: Likewise.
  64626. * io/posix_fadvise.c: Likewise.
  64627. * io/posix_fadvise64.c: Likewise.
  64628. * io/posix_fallocate.c: Likewise.
  64629. * io/posix_fallocate64.c: Likewise.
  64630. * io/read.c: Likewise.
  64631. * io/readlink.c: Likewise.
  64632. * io/readlinkat.c: Likewise.
  64633. * io/rmdir.c: Likewise.
  64634. * io/sendfile.c: Likewise.
  64635. * io/sendfile64.c: Likewise.
  64636. * io/statfs.c: Likewise.
  64637. * io/statfs64.c: Likewise.
  64638. * io/statvfs.c: Likewise.
  64639. * io/statvfs64.c: Likewise.
  64640. * io/symlink.c: Likewise.
  64641. * io/symlinkat.c: Likewise.
  64642. * io/ttyname.c: Likewise.
  64643. * io/ttyname_r.c: Likewise.
  64644. * io/umask.c: Likewise.
  64645. * io/unlink.c: Likewise.
  64646. * io/unlinkat.c: Likewise.
  64647. * io/utime.c: Likewise.
  64648. * io/utimensat.c: Likewise.
  64649. * io/write.c: Likewise.
  64650. * io/xmknod.c: Likewise.
  64651. * io/xmknodat.c: Likewise.
  64652. * io/xstat.c: Likewise.
  64653. * io/xstat64.c: Likewise.
  64654. * login/getpt.c: Likewise.
  64655. * login/grantpt.c: Likewise.
  64656. * login/unlockpt.c: Likewise.
  64657. * math/e_acoshl.c: Likewise.
  64658. * math/e_acosl.c: Likewise.
  64659. * math/e_asinl.c: Likewise.
  64660. * math/e_atan2l.c: Likewise.
  64661. * math/e_atanhl.c: Likewise.
  64662. * math/e_coshl.c: Likewise.
  64663. * math/e_expl.c: Likewise.
  64664. * math/e_fmodl.c: Likewise.
  64665. * math/e_gammal_r.c: Likewise.
  64666. * math/e_hypotl.c: Likewise.
  64667. * math/e_j0l.c: Likewise.
  64668. * math/e_j1l.c: Likewise.
  64669. * math/e_jnl.c: Likewise.
  64670. * math/e_lgammal_r.c: Likewise.
  64671. * math/e_log10l.c: Likewise.
  64672. * math/e_log2l.c: Likewise.
  64673. * math/e_logl.c: Likewise.
  64674. * math/e_powl.c: Likewise.
  64675. * math/e_rem_pio2l.c: Likewise.
  64676. * math/e_sinhl.c: Likewise.
  64677. * math/e_sqrtl.c: Likewise.
  64678. * math/fclrexcpt.c: Likewise.
  64679. * math/fedisblxcpt.c: Likewise.
  64680. * math/feenablxcpt.c: Likewise.
  64681. * math/fegetenv.c: Likewise.
  64682. * math/fegetexcept.c: Likewise.
  64683. * math/fegetround.c: Likewise.
  64684. * math/feholdexcpt.c: Likewise.
  64685. * math/fesetenv.c: Likewise.
  64686. * math/fesetround.c: Likewise.
  64687. * math/feupdateenv.c: Likewise.
  64688. * math/fgetexcptflg.c: Likewise.
  64689. * math/fraiseexcpt.c: Likewise.
  64690. * math/fsetexcptflg.c: Likewise.
  64691. * math/ftestexcept.c: Likewise.
  64692. * math/k_cosl.c: Likewise.
  64693. * math/k_rem_pio2l.c: Likewise.
  64694. * math/k_sinl.c: Likewise.
  64695. * math/k_tanl.c: Likewise.
  64696. * math/s_asinhl.c: Likewise.
  64697. * math/s_atanl.c: Likewise.
  64698. * math/s_cbrtl.c: Likewise.
  64699. * math/s_erfl.c: Likewise.
  64700. * math/s_expm1l.c: Likewise.
  64701. * math/s_log1pl.c: Likewise.
  64702. * math/s_tanhl.c: Likewise.
  64703. * misc/acct.c: Likewise.
  64704. * misc/brk.c: Likewise.
  64705. * misc/chflags.c: Likewise.
  64706. * misc/chroot.c: Likewise.
  64707. * misc/fchflags.c: Likewise.
  64708. * misc/fgetxattr.c: Likewise.
  64709. * misc/flistxattr.c: Likewise.
  64710. * misc/fremovexattr.c: Likewise.
  64711. * misc/fsetxattr.c: Likewise.
  64712. * misc/fsync.c: Likewise.
  64713. * misc/ftruncate.c: Likewise.
  64714. * misc/futimes.c: Likewise.
  64715. * misc/futimesat.c: Likewise.
  64716. * misc/getdomain.c: Likewise.
  64717. * misc/getdtsz.c: Likewise.
  64718. * misc/gethostid.c: Likewise.
  64719. * misc/gethostname.c: Likewise.
  64720. * misc/getloadavg.c: Likewise.
  64721. * misc/getpagesize.c: Likewise.
  64722. * misc/getsysstats.c: Likewise.
  64723. * misc/getxattr.c: Likewise.
  64724. * misc/gtty.c: Likewise.
  64725. * misc/ioctl.c: Likewise.
  64726. * misc/lgetxattr.c: Likewise.
  64727. * misc/listxattr.c: Likewise.
  64728. * misc/llistxattr.c: Likewise.
  64729. * misc/lremovexattr.c: Likewise.
  64730. * misc/lsetxattr.c: Likewise.
  64731. * misc/lutimes.c: Likewise.
  64732. * misc/madvise.c: Likewise.
  64733. * misc/mincore.c: Likewise.
  64734. * misc/mlock.c: Likewise.
  64735. * misc/mlockall.c: Likewise.
  64736. * misc/mmap.c: Likewise.
  64737. * misc/mprotect.c: Likewise.
  64738. * misc/msync.c: Likewise.
  64739. * misc/munlock.c: Likewise.
  64740. * misc/munlockall.c: Likewise.
  64741. * misc/munmap.c: Likewise.
  64742. * misc/preadv.c: Likewise.
  64743. * misc/preadv64.c: Likewise.
  64744. * misc/ptrace.c: Likewise.
  64745. * misc/pwritev.c: Likewise.
  64746. * misc/pwritev64.c: Likewise.
  64747. * misc/readv.c: Likewise.
  64748. * misc/reboot.c: Likewise.
  64749. * misc/remap_file_pages.c: Likewise.
  64750. * misc/removexattr.c: Likewise.
  64751. * misc/revoke.c: Likewise.
  64752. * misc/select.c: Likewise.
  64753. * misc/setdomain.c: Likewise.
  64754. * misc/setegid.c: Likewise.
  64755. * misc/seteuid.c: Likewise.
  64756. * misc/sethostid.c: Likewise.
  64757. * misc/sethostname.c: Likewise.
  64758. * misc/setregid.c: Likewise.
  64759. * misc/setreuid.c: Likewise.
  64760. * misc/setxattr.c: Likewise.
  64761. * misc/sstk.c: Likewise.
  64762. * misc/stty.c: Likewise.
  64763. * misc/swapoff.c: Likewise.
  64764. * misc/swapon.c: Likewise.
  64765. * misc/sync.c: Likewise.
  64766. * misc/syncfs.c: Likewise.
  64767. * misc/syscall.c: Likewise.
  64768. * misc/truncate.c: Likewise.
  64769. * misc/ualarm.c: Likewise.
  64770. * misc/usleep.c: Likewise.
  64771. * misc/ustat.c: Likewise.
  64772. * misc/utimes.c: Likewise.
  64773. * misc/vhangup.c: Likewise.
  64774. * misc/writev.c: Likewise.
  64775. * posix/_exit.c: Likewise.
  64776. * posix/alarm.c: Likewise.
  64777. * posix/execve.c: Likewise.
  64778. * posix/fexecve.c: Likewise.
  64779. * posix/fork.c: Likewise.
  64780. * posix/fpathconf.c: Likewise.
  64781. * posix/getaddrinfo.c: Likewise.
  64782. * posix/getegid.c: Likewise.
  64783. * posix/geteuid.c: Likewise.
  64784. * posix/getgid.c: Likewise.
  64785. * posix/getgroups.c: Likewise.
  64786. * posix/getlogin.c: Likewise.
  64787. * posix/getlogin_r.c: Likewise.
  64788. * posix/getpgid.c: Likewise.
  64789. * posix/getpid.c: Likewise.
  64790. * posix/getppid.c: Likewise.
  64791. * posix/getresgid.c: Likewise.
  64792. * posix/getresuid.c: Likewise.
  64793. * posix/getsid.c: Likewise.
  64794. * posix/getuid.c: Likewise.
  64795. * posix/glob64.c: Likewise.
  64796. * posix/nanosleep.c: Likewise.
  64797. * posix/pathconf.c: Likewise.
  64798. * posix/pause.c: Likewise.
  64799. * posix/posix_madvise.c: Likewise.
  64800. * posix/pread.c: Likewise.
  64801. * posix/pread64.c: Likewise.
  64802. * posix/pwrite.c: Likewise.
  64803. * posix/pwrite64.c: Likewise.
  64804. * posix/sched_getaffinity.c: Likewise.
  64805. * posix/sched_getp.c: Likewise.
  64806. * posix/sched_gets.c: Likewise.
  64807. * posix/sched_primax.c: Likewise.
  64808. * posix/sched_primin.c: Likewise.
  64809. * posix/sched_rr_gi.c: Likewise.
  64810. * posix/sched_setaffinity.c: Likewise.
  64811. * posix/sched_setp.c: Likewise.
  64812. * posix/sched_sets.c: Likewise.
  64813. * posix/sched_yield.c: Likewise.
  64814. * posix/setgid.c: Likewise.
  64815. * posix/setlogin.c: Likewise.
  64816. * posix/setpgid.c: Likewise.
  64817. * posix/setresgid.c: Likewise.
  64818. * posix/setresuid.c: Likewise.
  64819. * posix/setsid.c: Likewise.
  64820. * posix/setuid.c: Likewise.
  64821. * posix/sleep.c: Likewise.
  64822. * posix/spawni.c: Likewise.
  64823. * posix/sysconf.c: Likewise.
  64824. * posix/times.c: Likewise.
  64825. * posix/wait.c: Likewise.
  64826. * posix/wait3.c: Likewise.
  64827. * posix/wait4.c: Likewise.
  64828. * posix/waitpid.c: Likewise.
  64829. * resolv/gai_sigqueue.c: Likewise.
  64830. * resource/getpriority.c: Likewise.
  64831. * resource/getrlimit.c: Likewise.
  64832. * resource/getrusage.c: Likewise.
  64833. * resource/nice.c: Likewise.
  64834. * resource/setpriority.c: Likewise.
  64835. * resource/setrlimit.c: Likewise.
  64836. * resource/ulimit.c: Likewise.
  64837. * rt/aio_cancel.c: Likewise.
  64838. * rt/aio_fsync.c: Likewise.
  64839. * rt/aio_read.c: Likewise.
  64840. * rt/aio_sigqueue.c: Likewise.
  64841. * rt/aio_suspend.c: Likewise.
  64842. * rt/aio_write.c: Likewise.
  64843. * rt/clock_getres.c: Likewise.
  64844. * rt/clock_gettime.c: Likewise.
  64845. * rt/clock_nanosleep.c: Likewise.
  64846. * rt/clock_settime.c: Likewise.
  64847. * rt/lio_listio.c: Likewise.
  64848. * rt/mq_close.c: Likewise.
  64849. * rt/mq_getattr.c: Likewise.
  64850. * rt/mq_notify.c: Likewise.
  64851. * rt/mq_open.c: Likewise.
  64852. * rt/mq_receive.c: Likewise.
  64853. * rt/mq_send.c: Likewise.
  64854. * rt/mq_setattr.c: Likewise.
  64855. * rt/mq_timedreceive.c: Likewise.
  64856. * rt/mq_timedsend.c: Likewise.
  64857. * rt/mq_unlink.c: Likewise.
  64858. * rt/shm_open.c: Likewise.
  64859. * rt/shm_unlink.c: Likewise.
  64860. * rt/timer_create.c: Likewise.
  64861. * rt/timer_delete.c: Likewise.
  64862. * rt/timer_getoverr.c: Likewise.
  64863. * rt/timer_gettime.c: Likewise.
  64864. * rt/timer_settime.c: Likewise.
  64865. * setjmp/__longjmp.c: Likewise.
  64866. * setjmp/setjmp.c: Likewise.
  64867. * signal/kill.c: Likewise.
  64868. * signal/killpg.c: Likewise.
  64869. * signal/raise.c: Likewise.
  64870. * signal/sigaction.c: Likewise.
  64871. * signal/sigaltstack.c: Likewise.
  64872. * signal/sigblock.c: Likewise.
  64873. * signal/sigignore.c: Likewise.
  64874. * signal/sigintr.c: Likewise.
  64875. * signal/signal.c: Likewise.
  64876. * signal/sigpause.c: Likewise.
  64877. * signal/sigpending.c: Likewise.
  64878. * signal/sigqueue.c: Likewise.
  64879. * signal/sigreturn.c: Likewise.
  64880. * signal/sigset.c: Likewise.
  64881. * signal/sigsetmask.c: Likewise.
  64882. * signal/sigstack.c: Likewise.
  64883. * signal/sigsuspend.c: Likewise.
  64884. * signal/sigtimedwait.c: Likewise.
  64885. * signal/sigvec.c: Likewise.
  64886. * signal/sigwait.c: Likewise.
  64887. * signal/sigwaitinfo.c: Likewise.
  64888. * signal/sysv_signal.c: Likewise.
  64889. * socket/accept.c: Likewise.
  64890. * socket/accept4.c: Likewise.
  64891. * socket/bind.c: Likewise.
  64892. * socket/connect.c: Likewise.
  64893. * socket/getpeername.c: Likewise.
  64894. * socket/getsockname.c: Likewise.
  64895. * socket/getsockopt.c: Likewise.
  64896. * socket/isfdtype.c: Likewise.
  64897. * socket/listen.c: Likewise.
  64898. * socket/recv.c: Likewise.
  64899. * socket/recvfrom.c: Likewise.
  64900. * socket/recvmsg.c: Likewise.
  64901. * socket/send.c: Likewise.
  64902. * socket/sendmsg.c: Likewise.
  64903. * socket/sendto.c: Likewise.
  64904. * socket/setsockopt.c: Likewise.
  64905. * socket/shutdown.c: Likewise.
  64906. * socket/sockatmark.c: Likewise.
  64907. * socket/socket.c: Likewise.
  64908. * socket/socketpair.c: Likewise.
  64909. * stdio-common/ctermid.c: Likewise.
  64910. * stdio-common/cuserid.c: Likewise.
  64911. * stdio-common/remove.c: Likewise.
  64912. * stdio-common/rename.c: Likewise.
  64913. * stdio-common/renameat.c: Likewise.
  64914. * stdio-common/tempname.c: Likewise.
  64915. * stdlib/getcontext.c: Likewise.
  64916. * stdlib/makecontext.c: Likewise.
  64917. * stdlib/setcontext.c: Likewise.
  64918. * stdlib/swapcontext.c: Likewise.
  64919. * stdlib/system.c: Likewise.
  64920. * streams/fattach.c: Likewise.
  64921. * streams/fdetach.c: Likewise.
  64922. * streams/getmsg.c: Likewise.
  64923. * streams/getpmsg.c: Likewise.
  64924. * streams/putmsg.c: Likewise.
  64925. * streams/putpmsg.c: Likewise.
  64926. * sysdeps/unix/bsd/getpt.c: Likewise.
  64927. * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
  64928. * sysdeps/unix/sysv/linux/futimens.c: Likewise.
  64929. * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
  64930. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
  64931. Likewise.
  64932. * sysdeps/unix/sysv/linux/readahead.c: Likewise.
  64933. * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
  64934. * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
  64935. * sysvipc/msgctl.c: Likewise.
  64936. * sysvipc/msgget.c: Likewise.
  64937. * sysvipc/msgrcv.c: Likewise.
  64938. * sysvipc/msgsnd.c: Likewise.
  64939. * sysvipc/semctl.c: Likewise.
  64940. * sysvipc/semget.c: Likewise.
  64941. * sysvipc/semop.c: Likewise.
  64942. * sysvipc/semtimedop.c: Likewise.
  64943. * sysvipc/shmat.c: Likewise.
  64944. * sysvipc/shmctl.c: Likewise.
  64945. * sysvipc/shmdt.c: Likewise.
  64946. * sysvipc/shmget.c: Likewise.
  64947. * termios/tcdrain.c: Likewise.
  64948. * termios/tcflow.c: Likewise.
  64949. * termios/tcflush.c: Likewise.
  64950. * termios/tcgetattr.c: Likewise.
  64951. * termios/tcgetpgrp.c: Likewise.
  64952. * termios/tcsendbrk.c: Likewise.
  64953. * termios/tcsetattr.c: Likewise.
  64954. * termios/tcsetpgrp.c: Likewise.
  64955. * time/adjtime.c: Likewise.
  64956. * time/clock.c: Likewise.
  64957. * time/getitimer.c: Likewise.
  64958. * time/gettimeofday.c: Likewise.
  64959. * time/setitimer.c: Likewise.
  64960. * time/settimeofday.c: Likewise.
  64961. * time/stime.c: Likewise.
  64962. * time/time.c: Likewise.
  64963. 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
  64964. * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
  64965. /usr/old/bin.
  64966. * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
  64967. instead of spaces.
  64968. * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
  64969. 2012-11-03 Joseph Myers <joseph@codesourcery.com>
  64970. [BZ #14796]
  64971. * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
  64972. FE_TONEAREST before applying Dekker multiplication and Knuth
  64973. addition. Clear inexact exceptions and check for exact zero
  64974. results afterwards.
  64975. * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
  64976. * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
  64977. * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
  64978. * math/libm-test.inc (fma_test): Add more tests.
  64979. (fma_test_towardzero): Likewise.
  64980. (fma_test_downward): Likewise.
  64981. (fma_test_upward): Likewise.
  64982. * sysdeps/generic/math_private.h (default_libc_fesetround): New
  64983. function.
  64984. (libc_fesetround): New macro.
  64985. (libc_fesetroundf): Likewise.
  64986. (libc_fesetroundl): Likewise.
  64987. * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
  64988. function.
  64989. (libc_fesetround_387): Likewise.
  64990. (libc_fesetroundf): New macro.
  64991. (libc_fesetround): Likewise.
  64992. (libc_fesetroundl): Likewise.
  64993. * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
  64994. function.
  64995. (libc_fesetroundf): New macro.
  64996. (libc_fesetround): Likewise.
  64997. (libc_fesetroundl): Likewise.
  64998. * include/fenv.h (feclearexcept): Add libm_hidden_proto.
  64999. * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
  65000. * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
  65001. libm_hidden_ver.
  65002. * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
  65003. * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
  65004. libm_hidden_def.
  65005. * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
  65006. * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
  65007. libm_hidden_ver.
  65008. * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
  65009. libm_hidden_def.
  65010. [BZ #3439]
  65011. * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
  65012. integer constant usable in #if and use that to give value to enum
  65013. constant.
  65014. (FE_DIVBYZERO): Likewise.
  65015. (FE_UNDERFLOW): Likewise.
  65016. (FE_OVERFLOW): Likewise.
  65017. (FE_INVALID): Likewise.
  65018. (FE_INVALID_SNAN): Likewise.
  65019. (FE_INVALID_ISI): Likewise.
  65020. (FE_INVALID_IDI): Likewise.
  65021. (FE_INVALID_ZDZ): Likewise.
  65022. (FE_INVALID_IMZ): Likewise.
  65023. (FE_INVALID_COMPARE): Likewise.
  65024. (FE_INVALID_SOFTWARE): Likewise.
  65025. (FE_INVALID_SQRT): Likewise.
  65026. (FE_INVALID_INTEGER_CONVERSION): Likewise.
  65027. (FE_TONEAREST): Likewise.
  65028. (FE_TOWARDZERO): Likewise.
  65029. (FE_UPWARD): Likewise.
  65030. (FE_DOWNWARD): Likewise.
  65031. * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
  65032. (FE_DIVBYZERO): Likewise.
  65033. (FE_OVERFLOW): Likewise.
  65034. (FE_UNDERFLOW): Likewise.
  65035. (FE_INEXACT): Likewise.
  65036. (FE_TONEAREST): Likewise.
  65037. (FE_DOWNWARD): Likewise.
  65038. (FE_UPWARD): Likewise.
  65039. (FE_TOWARDZERO): Likewise.
  65040. * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
  65041. (FE_UNDERFLOW): Likewise.
  65042. (FE_OVERFLOW): Likewise.
  65043. (FE_DIVBYZERO): Likewise.
  65044. (FE_INVALID): Likewise.
  65045. (FE_TONEAREST): Likewise.
  65046. (FE_TOWARDZERO): Likewise.
  65047. * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
  65048. (FE_OVERFLOW): Likewise.
  65049. (FE_UNDERFLOW): Likewise.
  65050. (FE_DIVBYZERO): Likewise.
  65051. (FE_INEXACT): Likewise.
  65052. (FE_TONEAREST): Likewise.
  65053. (FE_TOWARDZERO): Likewise.
  65054. (FE_UPWARD): Likewise.
  65055. (FE_DOWNWARD): Likewise.
  65056. * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
  65057. (FE_DIVBYZERO): Likewise.
  65058. (FE_OVERFLOW): Likewise.
  65059. (FE_UNDERFLOW): Likewise.
  65060. (FE_INEXACT): Likewise.
  65061. (FE_TONEAREST): Likewise.
  65062. (FE_DOWNWARD): Likewise.
  65063. (FE_UPWARD): Likewise.
  65064. (FE_TOWARDZERO): Likewise.
  65065. 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
  65066. * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
  65067. 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
  65068. * scripts/cross-test-ssh.sh (command): Use newlines to separate
  65069. commands. Quote $PWD.
  65070. (blacklist_exports): Don't use remove_newlines. Replace "declare
  65071. -x" by "export".
  65072. (remove_newlines): Remove.
  65073. 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
  65074. * stdlib/Makefile (headers): Add bits/stdlib-float.h.
  65075. * stdlib/stdlib.h (atof): Moved to ...
  65076. * include/bits/stdlib-float.h: Here. New file.
  65077. * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
  65078. * stdlib/bits/stdlib-float.h: New file.
  65079. * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
  65080. -mno-sse -mno-mmx.
  65081. * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
  65082. <xmmintrin.h>.
  65083. 2012-11-02 Joseph Myers <joseph@codesourcery.com>
  65084. * conform/conformtest.pl (@headers): Add fenv.h.
  65085. * conform/data/fenv.h-data: New file.
  65086. * include/fenv.h [_ISOMAC]: Disable all contents of file except
  65087. include of <math/fenv.h>.
  65088. * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
  65089. POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
  65090. && !UNIX98]. Enables tests for XOPEN2K8.
  65091. * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
  65092. POSIX2008]: Likewise.
  65093. * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
  65094. (struct rusage): Do not expect type or its members.
  65095. [BZ #3439]
  65096. * math/math.h (FP_NAN): Define macro to integer constant usable in
  65097. #if and use that to give value to enum constant.
  65098. (FP_INFINITE): Likewise.
  65099. (FP_ZERO): Likewise.
  65100. (FP_SUBNORMAL): Likewise.
  65101. (FP_NORMAL): Likewise.
  65102. 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
  65103. * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
  65104. * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
  65105. arguments.
  65106. 2012-11-02 Roland McGrath <roland@hack.frob.com>
  65107. * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
  65108. Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
  65109. autoconf-time if not.
  65110. * configure.in: Remove AC_PREREQ.
  65111. 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  65112. * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
  65113. __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
  65114. of the internal implementation.
  65115. 2012-11-02 Joseph Myers <joseph@codesourcery.com>
  65116. * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
  65117. except include of <misc/sys/syslog.h>.
  65118. 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
  65119. * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
  65120. function returns with a NULL context exit with zero.
  65121. 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  65122. * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
  65123. 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
  65124. * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
  65125. (run_program_cmd): This.
  65126. * localedata/tst-langinfo.sh (run_program_prefix): Removed.
  65127. (tst_langinfo): New variable. Use it.
  65128. 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
  65129. * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
  65130. floating point opcodes.
  65131. 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
  65132. * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
  65133. variable.
  65134. * elf/dl-support.c: Unconditionally include "setup-vdso.h".
  65135. * sysdeps/mach/hurd/powerpc: Remove directory.
  65136. * sysdeps/mach/powerpc: Likewise.
  65137. 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
  65138. * scripts/check-local-headers.sh: Ignore c++ headers.
  65139. 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
  65140. * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
  65141. __libc_cleanup_region_start argument.
  65142. 2012-11-01 Joseph Myers <joseph@codesourcery.com>
  65143. [BZ #14784]
  65144. [BZ #14785]
  65145. * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
  65146. x * y using scaling, not as x * y + z.
  65147. * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
  65148. * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
  65149. * math/libm-test.inc (fma_test): Add more tests.
  65150. (fma_test_towardzero): Likewise.
  65151. (fma_test_downward): Likewise.
  65152. (fma_test_upward): Likewise.
  65153. 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
  65154. * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
  65155. 2012-10-31 Joseph Myers <joseph@codesourcery.com>
  65156. * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
  65157. New variable.
  65158. 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
  65159. * rt/tst-shm.c (worker): Correct checking for mmap failure.
  65160. 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
  65161. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
  65162. Fix sort order.
  65163. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
  65164. Likewise.
  65165. 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  65166. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
  65167. Fix the order of the list for glibc 2.17.
  65168. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
  65169. Likewise.
  65170. 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
  65171. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  65172. 2012-10-31 Joseph Myers <joseph@codesourcery.com>
  65173. [BZ #14610]
  65174. * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
  65175. for low part of x being zero before using __atanl (y).
  65176. * math/libm-test.inc (atan2_test): Add another test.
  65177. * manual/install.texi (Configuring and compiling): Document
  65178. general use of test-wrapper and test-wrapper-env.
  65179. * INSTALL: Regenerated.
  65180. * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
  65181. (__fma): Do not extract and scale down low bits on after-rounding
  65182. systems when result rounded to normal precision would have normal
  65183. exponent.
  65184. * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
  65185. (__fmal): Do not extract and scale down low bits on after-rounding
  65186. systems when result rounded to normal precision would have normal
  65187. exponent.
  65188. * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
  65189. (__fmal): Do not extract and scale down low bits on after-rounding
  65190. systems when result rounded to normal precision would have normal
  65191. exponent.
  65192. * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
  65193. macro.
  65194. (fma_test): Add more tests.
  65195. (fma_test_towardzero): Likewise.
  65196. (fma_test_downward): Likewise.
  65197. (fma_test_upward): Likewise.
  65198. 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
  65199. * sysdeps/i386/tininess.h: Renamed to ...
  65200. * sysdeps/x86/tininess.h: This.
  65201. * sysdeps/x86_64/tininess.h: Removed.
  65202. 2012-10-30 Joseph Myers <joseph@codesourcery.com>
  65203. * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
  65204. input. Use $(build-program-cmd).
  65205. ($(objpfx)tst-array1-static.out): Likewise.
  65206. ($(objpfx)tst-array2.out): Likewise.
  65207. ($(objpfx)tst-array3.out): Likewise.
  65208. ($(objpfx)tst-array4.out): Likewise.
  65209. ($(objpfx)tst-array5.out): Likewise.
  65210. ($(objpfx)tst-array5-static.out): Likewise.
  65211. 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
  65212. * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
  65213. if defined.
  65214. * nss/nsswitch.h (nss_interface_function): Provide new
  65215. macro for use with NSS functions.
  65216. * grp/initgroups.c: Use new macro.
  65217. * nss/getXXbyYY.c: Likewise.
  65218. * nss/getXXbyYY_r.c: Likewise.
  65219. * nss/getXXent.c: Likewise.
  65220. * nss/getXXent_r.c: Likewise.
  65221. * sysdeps/posix/getaddrinfo.c: Likewise.
  65222. 2012-10-30 Andreas Jaeger <aj@suse.de>
  65223. * po/ru.po: Update Russion translation from translation project.
  65224. 2012-10-30 Joseph Myers <joseph@codesourcery.com>
  65225. [BZ #14152]
  65226. [BZ #14783]
  65227. * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
  65228. result and shift together with sticky bit instead of replicating
  65229. round-to-nearest rounding.
  65230. * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
  65231. * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
  65232. * math/libm-test.inc (fma_test): Add more tests. Do not permit
  65233. missing underflow exceptions.
  65234. (fma_test_towardzero): Add more tests.
  65235. (fma_test_downward): Likewise.
  65236. (fma_test_upward): Likewise.
  65237. [BZ #14047]
  65238. * sysdeps/generic/tininess.h: New file.
  65239. * sysdeps/i386/tininess.h: Likewise.
  65240. * sysdeps/sh/tininess.h: Likewise.
  65241. * sysdeps/x86_64/tininess.h: Likewise.
  65242. * stdlib/tst-strtod-underflow.c: Likewise.
  65243. * stdlib/tst-tininess.c: Likewise.
  65244. * stdlib/strtod_l.c: Include <tininess.h>.
  65245. (round_and_return): Do not set errno for exact underflow cases.
  65246. Force an underflow exception when setting errno for underflow.
  65247. Determine underflow based on rounding to normal precision if
  65248. TININESS_AFTER_ROUNDING.
  65249. * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
  65250. ERANGE for exact underflow cases.
  65251. * stdlib/Makefile (tests): Add tst-tininess and
  65252. tst-strtod-underflow.
  65253. ($(objpfx)tst-tininess): Use $(link-libm).
  65254. ($(objpfx)tst-strtod-underflow): Likewise.
  65255. 2012-10-30 Andreas Jaeger <aj@suse.de>
  65256. [BZ #14767]
  65257. * elf/Makefile (tests): Remove conditional for have-initfini-array
  65258. since this is now always required and the variable does not exist
  65259. anymore.
  65260. (tests-static): Likewise.
  65261. (modules-names): Likewise.
  65262. * po/eo.po: Add Esperanto translation from translation project.
  65263. * elf/tst-array1.c (fini_array): Make writeable so that it can be
  65264. merged with constructor/destructor.
  65265. (init_array): Likewise.
  65266. * elf/tst-array2dep.c (fini_array): Likewise.
  65267. (init_array): Likewise.
  65268. 2012-10-29 Mike Frysinger <vapier@gentoo.org>
  65269. * manual/message.texi: Delete @cartouche tags.
  65270. 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
  65271. * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
  65272. EOPNOTSUPP.
  65273. * sysdeps/mach/hurd/fsync.c: Likewise.
  65274. * sysdeps/pthread/aio_notify.c (__aio_notify_only)
  65275. [_POSIX_REALTIME_SIGNALS]: Change condition to
  65276. [_POSIX_REALTIME_SIGNALS > 0].
  65277. 2012-10-27 Andreas Jaeger <aj@suse.de>
  65278. * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
  65279. [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
  65280. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
  65281. [__WORDSIZE != 64]: Likewise.
  65282. 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
  65283. * iconvdata/tst-table.sh: Remove ${SHELL}.
  65284. * iconvdata/tst-tables.sh: Likewise.
  65285. 2012-10-25 David S. Miller <davem@davemloft.net>
  65286. * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
  65287. (__get_clockfreq_via_proc_openprom): Use strtoumax instead
  65288. of strtoull.
  65289. * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
  65290. ifunc-impl-list.c
  65291. * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
  65292. * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
  65293. * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
  65294. file.
  65295. 2012-10-25 Roland McGrath <roland@hack.frob.com>
  65296. * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
  65297. (__get_clockfreq_via_proc_openprom): Use __getdents instead of
  65298. __getdirentries.
  65299. 2012-10-25 Joseph Myers <joseph@codesourcery.com>
  65300. Jim Blandy <jimb@codesourcery.com>
  65301. * scripts/cross-test-ssh.sh: New file.
  65302. * manual/install.texi (Configuring and compiling): Document use of
  65303. cross-test-ssh.sh.
  65304. * INSTALL: Regenerated.
  65305. 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
  65306. * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
  65307. EOPNOTSUPP.
  65308. 2012-10-25 Joseph Myers <joseph@codesourcery.com>
  65309. * Makeconfig (run-program-prefix): Fix comment.
  65310. 2012-10-24 Joseph Myers <joseph@codesourcery.com>
  65311. Jim Blandy <jimb@codesourcery.com>
  65312. * Makeconfig (test-wrapper): New variable,
  65313. (test-wrapper-env): Likewise.
  65314. [$(cross-compiling) = yes && $(test-wrapper) != ""]
  65315. (run-built-tests): Define to yes.
  65316. (run-program-prefix): Use $(test-wrapper).
  65317. (built-program-cmd): Likewise.
  65318. * Rules (make-test-out): Use $(test-wrapper-env) and
  65319. $(host-built-program-cmd).
  65320. * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
  65321. ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
  65322. tst-pathopt.sh.
  65323. ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
  65324. $(test-wrapper-env) to tst-rtld-load-self.sh.
  65325. ($(objpfx)order2.out): Use $(test-wrapper).
  65326. ($(objpfx)tst-initorder.out): Likewise.
  65327. ($(objpfx)tst-initorder2.out): Likewise.
  65328. ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
  65329. * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
  65330. (test_wrapper_env): New variable. Use it to run ld.so.
  65331. * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
  65332. Use it to run ld.so.
  65333. (test_wrapper_env): Likewise.
  65334. * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
  65335. $(test-wrapper) to run-iconv-test.sh.
  65336. * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
  65337. (ICONV): Use $test_wrapper.
  65338. * posix/Makefile ($(objpfx)globtest.out): Pass
  65339. $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
  65340. globtest.sh, not $(run-program-prefix).
  65341. * posix/globtest.sh (run_via_rtld_prefix): New variable.
  65342. (test_wrapper): Likewise.
  65343. (test_wrapper_env): Likewise. Use it to run globtest with HOME
  65344. set together with run_via_rtld_prefix.
  65345. (run_program_prefix): Define in terms of test_wrapper and
  65346. run_via_rtld_prefix.
  65347. 2012-10-24 Roland McGrath <roland@hack.frob.com>
  65348. * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
  65349. * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
  65350. Targets removed.
  65351. [BZ #14743]
  65352. * include/time.h: Remove librt_hidden_proto (clock_gettime).
  65353. Declare __clock_getres, __clock_gettime, __clock_settime,
  65354. __clock_nanosleep, and __clock_getcpuclockid.
  65355. * rt/clock_gettime.c: Define __clock_gettime as an alias.
  65356. Remove librt_hidden_def (clock_gettime).
  65357. * sysdeps/unix/clock_gettime.c: Likewise.
  65358. * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
  65359. * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
  65360. * rt/clock_getres.c: Define __clock_getres as an alias.
  65361. * sysdeps/posix/clock_getres.c: Likewise.
  65362. * rt/clock_settime.c: Define __clock_settime as an alias.
  65363. * sysdeps/unix/clock_settime.c: Likewise.
  65364. * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
  65365. * sysdeps/unix/clock_nanosleep.c: Likewise.
  65366. * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
  65367. * rt/clock-compat.c: New file.
  65368. * rt/Makefile (librt-routines): Add clock-compat and move
  65369. $(clock-routines) to ...
  65370. (routines): ... here, new variable.
  65371. * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
  65372. Don't add get_clockfreq here.
  65373. * rt/Versions (libc: GLIBC_2.17): New version set.
  65374. Add clock_* symbols here.
  65375. (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
  65376. * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
  65377. (GLIBC_2.17): Add clock_* symbols.
  65378. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
  65379. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
  65380. * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
  65381. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
  65382. Likewise.
  65383. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
  65384. Likewise.
  65385. * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
  65386. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
  65387. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
  65388. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
  65389. * NEWS: Mention the move.
  65390. * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
  65391. Use __open, __read, __close rather than their public counterparts.
  65392. * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
  65393. (__get_clockfreq_via_cpuinfo): Likewise.
  65394. (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
  65395. (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
  65396. * config.h.in (HAVE_IFUNC): New #undef.
  65397. * configure.in: Define it if libc_cv_ld_gnu_indirect_function
  65398. was successful.
  65399. * configure: Regenerated.
  65400. 2012-10-24 Mike Frysinger <vapier@gentoo.org>
  65401. * configure.in: Move READELF check to start of file.
  65402. (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
  65403. libc_cv_asm_gnu_indirect_function in the process.
  65404. * configure: Regenerated.
  65405. 2012-10-24 Mike Frysinger <vapier@gentoo.org>
  65406. * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
  65407. send the output to /dev/null.
  65408. (libc_cv_cc_with_libunwind): Likewise.
  65409. (libc_cv_as_noexecstack): Likewise.
  65410. * configure: Regenerate.
  65411. 2012-10-24 Joseph Myers <joseph@codesourcery.com>
  65412. * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
  65413. * posix/globtest.sh (TMPDIR): Do not set.
  65414. (testdir): Define using ${common_objpfx}posix not $TMPDIR.
  65415. (testout): Likewise.
  65416. 2012-10-24 Andreas Jaeger <aj@suse.de>
  65417. * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
  65418. types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
  65419. [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
  65420. [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
  65421. posix_fadvise64, posix_fallocate64.
  65422. * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
  65423. (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
  65424. (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
  65425. Likewise.
  65426. (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
  65427. Likewise.
  65428. (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
  65429. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
  65430. (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
  65431. <bits/fcntl-linux.h>.
  65432. (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
  65433. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
  65434. (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
  65435. (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
  65436. (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
  65437. [__WORDSIZE != 64]: Likewise.
  65438. 2012-10-23 Joseph Myers <joseph@codesourcery.com>
  65439. * Makeconfig (run-built-tests): New variable.
  65440. * Rules [$(cross-compiling) = yes]: Change condition to
  65441. [$(run-built-tests) = no].
  65442. * catgets/Makefile [$(cross-compiling) != yes]: Change condition
  65443. to [$(run-built-tests) = yes].
  65444. * elf/Makefile [$(cross-compiling) = no]: Likewise.
  65445. * grp/Makefile [$(cross-compiling) = no]: Likewise.
  65446. * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
  65447. * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
  65448. * intl/Makefile [$(cross-compiling) = no]: Likewise.
  65449. * io/Makefile [$(cross-compiling) = no]: Likewise.
  65450. * libio/Makefile [$(cross-compiling) = no]: Likewise.
  65451. * malloc/Makefile [$(cross-compiling) = no]: Likewise.
  65452. * misc/Makefile [$(cross-compiling) = no]: Likewise.
  65453. * posix/Makefile [$(cross-compiling) = no]: Likewise.
  65454. * resolv/Makefile [$(cross-compiling) = no]: Likewise.
  65455. * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
  65456. * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
  65457. * string/Makefile [$(cross-compiling) = no]: Likewise.
  65458. * posix/Makefile ($(objpfx)globtest.out): Pass
  65459. $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
  65460. $(rtld-installed-name).
  65461. * posix/globtest.sh (elf_objpfx): Remove variable.
  65462. (rtld_installed_name): Likewise.
  65463. (library_path): Likewise.
  65464. (run_program_prefix): New variable. Use for running globtest
  65465. binary.
  65466. 2012-10-23 Jim Blandy <jimb@codesourcery.com>
  65467. Joseph Myers <joseph@codesourcery.com>
  65468. * Makeconfig (host-built-program-cmd): New variable.
  65469. * elf/Makefile (tst-stackguard1-ARGS): Use
  65470. $(host-built-program-cmd).
  65471. * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
  65472. (tst-spawn-ARGS): Likewise.
  65473. * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
  65474. 2012-10-23 Joseph Myers <joseph@codesourcery.com>
  65475. Jim Blandy <jimb@codesourcery.com>
  65476. * Makeconfig (run-via-rtld-prefix): New variable.
  65477. (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
  65478. (built-program-cmd): Likewise.
  65479. 2012-10-22 Andreas Jaeger <aj@suse.de>
  65480. * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
  65481. __O_RSYNC if it exists, otherwise to O_SYNC.
  65482. 2012-10-22 Jim Blandy <jimb@codesourcery.com>
  65483. Joseph Myers <joseph@codesourcery.com>
  65484. * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
  65485. /dev/null.
  65486. * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
  65487. from /dev/null
  65488. * posix/tst-getconf.sh: Redirect getconf stdin in loop from
  65489. /dev/null.
  65490. 2012-10-22 Andreas Jaeger <aj@suse.de>
  65491. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
  65492. Define always.
  65493. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
  65494. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
  65495. bits/fcntl-linux.h.
  65496. * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
  65497. (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
  65498. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
  65499. to __O_LARGEFILE.
  65500. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
  65501. to __O_LARGEFILE.
  65502. 2012-10-21 Jim Blandy <jimb@codesourcery.com>
  65503. Joseph Myers <joseph@codesourcery.com>
  65504. * config.make.in (NM): New variable.
  65505. 2012-10-21 Andreas Jaeger <aj@suse.de>
  65506. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
  65507. definitions and declarations that are provided by
  65508. <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
  65509. 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
  65510. [BZ #14683]
  65511. * elf/Makefile (tests-static): Add tst-leaks1-static.
  65512. (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
  65513. ($(objpfx)tst-leaks1-static): New rule.
  65514. ($(objpfx)tst-leaks1-static-mem): Likewise.
  65515. (tst-leaks1-static-ENV): New macro.
  65516. * elf/dl-open.c (dl_open_worker): Check the main application
  65517. only if SHARED is defined.
  65518. * elf/tst-leaks1-static.c: New file.
  65519. 2012-10-20 Andreas Jaeger <aj@suse.de>
  65520. * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
  65521. generic values for Linux.
  65522. * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
  65523. and declarations that are provided by <bits/fcntl-linux.h> and
  65524. include <bits/fcntl-linux.h>.
  65525. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
  65526. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
  65527. 2012-10-20 Roland McGrath <roland@hack.frob.com>
  65528. * io/fcntl.h: Move include of <bits/types.h> to the top and
  65529. include it unconditionally.
  65530. 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
  65531. * wcsmbs/Makefile (tests-ifunc): New variable.
  65532. (tests): Add $(tests-ifunc).
  65533. * wcsmbs/test-wcschr-ifunc.c: New file.
  65534. * wcsmbs/test-wcscmp-ifunc.c: Likewise.
  65535. * wcsmbs/test-wcscpy-ifunc.c: Likewise.
  65536. * wcsmbs/test-wcslen-ifunc.c: Likewise.
  65537. * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
  65538. * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
  65539. * string/Makefile (tests-ifunc): New variable.
  65540. (tests): Add $(tests-ifunc).
  65541. * string/test-memccpy.c (TEST_NAME): New macro.
  65542. * string/test-memchr.c (TEST_NAME): Likewise.
  65543. * string/test-memcmp.c (TEST_NAME): Likewise.
  65544. * string/test-memcpy.c (TEST_NAME): Likewise.
  65545. * string/test-memmem.c (TEST_NAME): Likewise.
  65546. * string/test-memmove.c (TEST_NAME): Likewise.
  65547. * string/test-memset.c (TEST_NAME): Likewise.
  65548. * string/test-rawmemchr.c (TEST_NAME): Likewise.
  65549. * string/test-stpcpy.c (TEST_NAME): Likewise.
  65550. * string/test-stpncpy.c (TEST_NAME): Likewise.
  65551. * string/test-strcasecmp.c (TEST_NAME): Likewise.
  65552. * string/test-strcasestr.c (TEST_NAME): Likewise.
  65553. * string/test-strcat.c (TEST_NAME): Likewise.
  65554. * string/test-strchr.c (TEST_NAME): Likewise.
  65555. * string/test-strcmp.c(TEST_NAME): Likewise.
  65556. * string/test-strcpy.c (TEST_NAME): Likewise.
  65557. * string/test-strcspn.c (TEST_NAME): Likewise.
  65558. * string/test-strlen.c (TEST_NAME): Likewise.
  65559. * string/test-strncasecmp.c (TEST_NAME): Likewise.
  65560. * string/test-strncmp.c (TEST_NAME): Likewise.
  65561. * string/test-strncpy.c (TEST_NAME): Likewise.
  65562. * string/test-strnlen.c (TEST_NAME): Likewise.
  65563. * string/test-strpbrk.c (TEST_NAME): Likewise.
  65564. * string/test-strrchr.c (TEST_NAME): Likewise.
  65565. * string/test-strspn.c (TEST_NAME): Likewise.
  65566. * string/test-strstr.c (TEST_NAME): Likewise.
  65567. * string/test-bcopy-ifunc.c: New file.
  65568. * string/test-bzero-ifunc.c: Likewise.
  65569. * string/test-memccpy-ifunc.c: Likewise.
  65570. * string/test-memchr-ifunc.c: Likewise.
  65571. * string/test-memcmp-ifunc.c: Likewise.
  65572. * string/test-memcpy-ifunc.c: Likewise.
  65573. * string/test-memmem-ifunc.c: Likewise.
  65574. * string/test-memmove-ifunc.c: Likewise.
  65575. * string/test-mempcpy-ifunc.c: Likewise.
  65576. * string/test-memset-ifunc.c: Likewise.
  65577. * string/test-rawmemchr-ifunc.c: Likewise.
  65578. * string/test-stpcpy-ifunc.c: Likewise.
  65579. * string/test-stpncpy-ifunc.c: Likewise.
  65580. * string/test-strcasecmp-ifunc.c: Likewise.
  65581. * string/test-strcasestr-ifunc.c: Likewise.
  65582. * string/test-strcat-ifunc.c: Likewise.
  65583. * string/test-strchr-ifunc.c: Likewise.
  65584. * string/test-strchrnul-ifunc.c: Likewise.
  65585. * string/test-strcmp-ifunc.c: Likewise.
  65586. * string/test-strcpy-ifunc.c: Likewise.
  65587. * string/test-strcspn-ifunc.c: Likewise.
  65588. * string/test-strlen-ifunc.c: Likewise.
  65589. * string/test-strncasecmp-ifunc.c: Likewise.
  65590. * string/test-strncat-ifunc.c: Likewise.
  65591. * string/test-strncmp-ifunc.c: Likewise.
  65592. * string/test-strncpy-ifunc.c: Likewise.
  65593. * string/test-strnlen-ifunc.c: Likewise.
  65594. * string/test-strpbrk-ifunc.c: Likewise.
  65595. * string/test-strrchr-ifunc.c: Likewise.
  65596. * string/test-strspn-ifunc.c: Likewise.
  65597. * string/test-strstr-ifunc.c: Likewise.
  65598. * debug/Makefile (tests-ifunc): New variable.
  65599. (tests): Add $(tests-ifunc).
  65600. * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
  65601. * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
  65602. * debug/test-stpcpy_chk-ifunc.c: New file.
  65603. * debug/test-strcpy_chk-ifunc.c: Likewise.
  65604. 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
  65605. [BZ #13601]
  65606. * elf/dl-load.c (open_verify): Retry read if the entire ELF
  65607. header is not read in.
  65608. 2012-10-19 Joseph Myers <joseph@codesourcery.com>
  65609. * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
  65610. script to $(SHELL) as $<. Pass $(common-objpfx) to script
  65611. directly. Pass built executable to script as
  65612. $(built-program-cmd).
  65613. * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
  65614. $testprogram without using LD_LIBRARY_PATH and $ldso.
  65615. * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
  65616. $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
  65617. $(rtld-installed-name).
  65618. * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
  65619. (rtld_installed_name): Likewise.
  65620. (library_path): Likewise.
  65621. (run_program_prefix): New variable. Use it to run tst_fgetgrent.
  65622. * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
  65623. $(run-program-prefix) to tst-tables.sh.
  65624. * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
  65625. it to run tst-table-from and tst-table-to.
  65626. * iconvdata/tst-tables.sh (run_program_prefix): New variable.
  65627. Pass it to tst-table.sh.
  65628. * intl/Makefile ($(objpfx)tst-gettext.out): Pass
  65629. $(run-program-prefix) to tst-gettext.sh.
  65630. ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
  65631. tst-translit.sh.
  65632. ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
  65633. tst-gettext2.sh.
  65634. * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
  65635. to run tst-gettext.
  65636. * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
  65637. to run tst-gettext2.
  65638. * intl/tst-translit.sh (run_program_prefix): New variable. Use it
  65639. to run tst-translit.
  65640. * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
  65641. $(run-program-prefix) to tst-mtrace.sh.
  65642. * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
  65643. to run tst-mtrace.
  65644. * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
  65645. $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
  65646. $(rtld-installed-name).
  65647. * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
  65648. (rtld_installed_name): Likewise.
  65649. (run_program_prefix): New variable. Use it to run wordexp-test.
  65650. * Makeconfig (ARCH): Remove all definitions.
  65651. (machine): Likewise.
  65652. [ARCH]: Remove conditional code.
  65653. [!objdir]: Give error.
  65654. [!objdir] (objpfx): Remove.
  65655. [!objdir] (common-objpfx): Likewise.
  65656. [!objdir] (common-objdir): Likewise.
  65657. * configure.in (config_makefile): Remove. Hardcode Makefile in
  65658. AC_CONFIG_FILES call.
  65659. * configure: Regenerated.
  65660. [BZ #13888]
  65661. * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
  65662. or TMPDIR.
  65663. (testout): Likewise.
  65664. * posix/Makefile ($(objpfx)tst-getconf.out): Pass
  65665. $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
  65666. $(rtld-installed-name).
  65667. * posix/tst-getconf.sh (elf_objpfx): Remove variable.
  65668. (rtld_installed_name): Likewise.
  65669. (runit): Remove function.
  65670. (run_getconf): New variable, Use it for running getconf binary.
  65671. 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
  65672. [BZ #14716]
  65673. * string/test-memmem.c (check_result): New function.
  65674. (do_one_test): Use it.
  65675. (check1): New function.
  65676. (test_main): Use it.
  65677. 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
  65678. * math/Makefile: Comment on slow compilation of test-tgmath2.c.
  65679. 2012-10-18 Joseph Myers <joseph@codesourcery.com>
  65680. * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
  65681. (_G_LSEEK64): Likewise.
  65682. (_G_MMAP64): Likewise.
  65683. (_G_FSTAT64): Likewise.
  65684. * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
  65685. (_G_LSEEK64): Likewise.
  65686. (_G_MMAP64): Likewise.
  65687. (_G_FSTAT64): Likewise.
  65688. * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
  65689. unconditional. Call __mmap64 directly.
  65690. (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
  65691. (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
  65692. __lseek64 directly.
  65693. (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
  65694. (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
  65695. __mmap64 directly.
  65696. (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
  65697. (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
  65698. __lseek64 directly.
  65699. (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
  65700. (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
  65701. __lseek64 directly.
  65702. (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
  65703. (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
  65704. __lseek64 directly.
  65705. (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
  65706. (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
  65707. __fxstat64 directly.
  65708. (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
  65709. * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
  65710. unconditional.
  65711. (freopen64) [!_G_OPEN64]: Remove conditional code.
  65712. * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
  65713. unconditional.
  65714. (fseeko64) [!_G_LSEEK64]: Remove conditional code.
  65715. * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
  65716. unconditional.
  65717. (ftello64) [!_G_LSEEK64]: Remove conditional code.
  65718. * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
  65719. unconditional.
  65720. (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
  65721. * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
  65722. unconditional.
  65723. (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
  65724. * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
  65725. unconditional.
  65726. (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
  65727. * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
  65728. unconditional.
  65729. (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
  65730. * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
  65731. unconditional.
  65732. (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
  65733. 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
  65734. [BZ #12140]
  65735. * manual/memory.texi (Malloc Tunable Parameters): Add note
  65736. about free list pointers overwriting some perturb bytes.
  65737. Wording suggested by Roland McGrath.
  65738. 2012-10-17 Joseph Myers <joseph@codesourcery.com>
  65739. * math/libm-test.inc (gamma_test): Do not call feclearexcept.
  65740. (lgamma_test): Likewise.
  65741. (tgamma_test): Likewise.
  65742. 2012-10-16 Florian Weimer <fweimer@redhat.com>
  65743. [BZ #14700]
  65744. * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
  65745. (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
  65746. 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
  65747. * NEWS: Mention BZ #14716.
  65748. * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
  65749. when removing AVAILABLE1_USES_J macro.
  65750. 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
  65751. * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
  65752. (__bswap_64): __uint64_t for unsigned 64-bit int.
  65753. 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
  65754. * include/string.h (memmem): Declare libc hidden alias.
  65755. * string/memmem.c (memmem): Define libc hidden alias.
  65756. * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
  65757. __read, __close instead of open, read, close.
  65758. 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
  65759. * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
  65760. * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
  65761. global and hidden.
  65762. * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
  65763. * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
  65764. * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
  65765. Likewise.
  65766. (__rawmemchr_sse2): Likewise.
  65767. * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
  65768. * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
  65769. (__strchr_sse2): Likewise.
  65770. * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
  65771. * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
  65772. (__strcasecmp_sse2): Likewise.
  65773. (__strncasecmp_sse2): Likewise.
  65774. * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
  65775. * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
  65776. * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
  65777. * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
  65778. (__strrchr_sse2): Likewise.
  65779. * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
  65780. ifunc-impl-list.c.
  65781. * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
  65782. * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
  65783. * sysdeps/x86_64/multiarch/memmove.c: Likewise.
  65784. * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
  65785. * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
  65786. * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
  65787. * sysdeps/x86_64/multiarch/memset.S: Likewise.
  65788. * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
  65789. * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
  65790. * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
  65791. * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
  65792. * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
  65793. * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
  65794. * sysdeps/x86_64/multiarch/strcat.S: Likewise.
  65795. * sysdeps/x86_64/multiarch/strchr.S: Likewise.
  65796. * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
  65797. * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
  65798. * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
  65799. * sysdeps/x86_64/multiarch/strlen.S: Likewise.
  65800. * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
  65801. * sysdeps/x86_64/multiarch/strncat.S: Likewise.
  65802. * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
  65803. * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
  65804. * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
  65805. * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
  65806. * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
  65807. * sysdeps/x86_64/multiarch/strspn.S: Likewise.
  65808. * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
  65809. * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
  65810. * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
  65811. * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
  65812. global and hidden.
  65813. * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
  65814. * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
  65815. * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
  65816. * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
  65817. Likewise.
  65818. * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
  65819. Likewise.
  65820. * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
  65821. * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
  65822. * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
  65823. * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
  65824. ifunc-impl-list.c.
  65825. * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
  65826. * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
  65827. * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
  65828. * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
  65829. * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
  65830. * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
  65831. * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
  65832. * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
  65833. * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
  65834. * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
  65835. * sysdeps/i386/i686/multiarch/memset.S: Likewise.
  65836. * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
  65837. * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
  65838. * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
  65839. * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
  65840. * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
  65841. * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
  65842. * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
  65843. * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
  65844. * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
  65845. * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
  65846. * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
  65847. * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
  65848. * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
  65849. * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
  65850. * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
  65851. * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
  65852. * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
  65853. * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
  65854. * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
  65855. * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
  65856. * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
  65857. * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
  65858. * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
  65859. * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
  65860. * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
  65861. * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
  65862. * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
  65863. * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
  65864. * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
  65865. * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
  65866. * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
  65867. [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
  65868. * include/ifunc-impl-list.h: New file.
  65869. * misc/ifunc-impl-list.c: Likewise.
  65870. * misc/Makefile (routines): Add ifunc-impl-list.
  65871. * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
  65872. * string/test-string.h: Include <ifunc-impl-list.h>.
  65873. (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
  65874. TEST_NAME]: New variables.
  65875. (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
  65876. are defined.
  65877. (test_init): Call __libc_ifunc_impl_list to initialize
  65878. func_list if TEST_IFUNC and TEST_NAME are defined.
  65879. * string/Makefile (strop-tests): Add bcopy and bzero.
  65880. * string/test-bcopy.c: New file.
  65881. * string/test-bzero.c: Likewise.
  65882. * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
  65883. defined.
  65884. * string/test-memset.c: Support bzero test if TEST_BZERO is
  65885. defined.
  65886. * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
  65887. __libc_memmove.
  65888. * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
  65889. __libc_memset.
  65890. * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
  65891. of memset.
  65892. 2012-10-10 Joseph Myers <joseph@codesourcery.com>
  65893. * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
  65894. * configure: Regenerated.
  65895. * Makeconfig (+link-static-before-libc): Don't include
  65896. $(link-static-libc).
  65897. * libio/libio.h (_IO_pos_t): Remove.
  65898. 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
  65899. * NEWS: Add note about FIPS mode. Wording suggested by Roland
  65900. McGrath.
  65901. 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
  65902. * crypt/crypt-entry.c: Include fips-private.h.
  65903. (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
  65904. * crypt/md5c-test.c (main): Tolerate disabled MD5.
  65905. * sysdeps/unix/sysv/linux/fips-private.h: New file.
  65906. * sysdeps/generic/fips-private.h: New file, dummy fallback.
  65907. 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
  65908. * crypt/crypt-private.h: Include stdbool.h.
  65909. (_ufc_setup_salt_r): Return bool.
  65910. * crypt/crypt-entry.c: Include errno.h.
  65911. (__crypt_r): Return NULL with EINVAL for bad salt.
  65912. * crypt/crypt_util.c (bad_for_salt): New.
  65913. (_ufc_setup_salt_r): Check that salt is long enough and within
  65914. the specified alphabet.
  65915. * crypt/badsalttest.c: New file.
  65916. * crypt/Makefile (tests): Add it.
  65917. ($(objpfx)badsalttest): New.
  65918. 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
  65919. * NEWS: Add entry for BZ #14602.
  65920. 2012-10-09 Joseph Myers <joseph@codesourcery.com>
  65921. * math/gen-libm-test.pl (parse_args): Handle comparison macros as
  65922. type-generic.
  65923. * math/libm-test.inc: Update comment listing what functions and
  65924. macros are tested.
  65925. (isgreater_test): New function.
  65926. (isgreaterequal_test): Likewise.
  65927. (isless_test): Likewise.
  65928. (islessequal_test): Likewise.
  65929. (islessgreater_test): Likewise.
  65930. (isunordered_test): Likewise.
  65931. (main): Call the new functions.
  65932. 2012-10-09 Roland McGrath <roland@hack.frob.com>
  65933. * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
  65934. _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
  65935. AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
  65936. * sysdeps/i386/configure: Regenerated.
  65937. * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
  65938. * sysdeps/mach/configure: Regenerated.
  65939. * sysdeps/mach/hurd/configure: Regenerated.
  65940. * sysdeps/powerpc/configure: Regenerated.
  65941. * sysdeps/powerpc/powerpc32/configure: Regenerated.
  65942. * sysdeps/powerpc/powerpc64/configure: Regenerated.
  65943. * sysdeps/s390/s390-32/configure: Regenerated.
  65944. * sysdeps/s390/s390-64/configure: Regenerated.
  65945. * sysdeps/sh/configure: Regenerated.
  65946. * sysdeps/sparc/configure: Regenerated.
  65947. * sysdeps/unix/sysv/linux/configure: Regenerated.
  65948. * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
  65949. * sysdeps/x86_64/configure: Regenerated.
  65950. * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
  65951. defined. Don't check if MAP is NULL.
  65952. 2012-10-09 Joseph Myers <joseph@codesourcery.com>
  65953. * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
  65954. (_G_stat64): Likewise.
  65955. * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
  65956. (_G_stat64): Likewise.
  65957. * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
  65958. instead of struct _G_stat64.
  65959. * libio/fileops.c (mmap_remap_check): Likewise.
  65960. (decide_maybe_mmap): Likewise.
  65961. (_IO_new_file_seekoff): Likewise.
  65962. (_IO_file_stat): Likewise.
  65963. * libio/libio.h (_IO_off64_t): Define to __off64_t, not
  65964. _G_off64_t.
  65965. * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
  65966. instead of struct _G_stat64.
  65967. * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
  65968. 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
  65969. [BZ #14602]
  65970. * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
  65971. Replace with ...
  65972. (CHECK_EOL): New macro.
  65973. (two_way_short_needle): Check beginning of haystack for EOL. Use
  65974. CHECK_EOL.
  65975. * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
  65976. Replace with CHECK_EOL.
  65977. * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
  65978. Replace with CHECK_EOL.
  65979. 2012-10-08 Joseph Myers <joseph@codesourcery.com>
  65980. * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
  65981. type-generic.
  65982. * math/libm-test.inc: Update comment listing what functions and
  65983. macros are tested.
  65984. (finite_test): New function.
  65985. (isinf_test): Likewise.
  65986. (isnan_test): Likewise.
  65987. (fpclassify_test): Test subnormal input.
  65988. (isfinite_test): Likewise.
  65989. (isnormal_test): Likewise.
  65990. (main): Call the new functions.
  65991. 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
  65992. [BZ #14660]
  65993. * Makerules (%.dynsym): Force C locale when running
  65994. $(OBJDUMP) --dynamic-syms.
  65995. 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
  65996. * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
  65997. <stdint.h>.
  65998. 2012-10-06 David S. Miller <davem@davemloft.net>
  65999. * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
  66000. upper 32-bits of the length value in %o2 since we use branch-on-register
  66001. tests which consider the entire 64-bit register.
  66002. 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
  66003. * string/test-strstr.c (check2): Add a test for page boundary.
  66004. 2012-10-05 David S. Miller <davem@davemloft.net>
  66005. * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
  66006. * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
  66007. file.
  66008. * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
  66009. sysdep_routines.
  66010. * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
  66011. * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
  66012. and bzero when HWCAP_SPARC_CRYPTO is present.
  66013. 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
  66014. [BZ #14602]
  66015. * string/test-strstr.c (check2): New function.
  66016. (test_main): Call check2.
  66017. * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
  66018. and bug-strchr1.
  66019. * string/bug-strcasestr1.c (do_test): Moved to ...
  66020. * string/test-strcasestr.c (check1): Here. New function.
  66021. (do_one_test): Break out result checking code into ...
  66022. (check_result): This. New function.
  66023. (do_one_test): Call check_result.
  66024. (test_main): Call check1.
  66025. * string/bug-strchr1.c (do_test): Moved to ...
  66026. * string/test-strchr.c (check1): Here. New function.
  66027. (do_one_test): Break out result checking code into ...
  66028. (check_result): This. New function.
  66029. (do_one_test): Call check_result.
  66030. (test_main): Call check1.
  66031. * string/bug-strstr1.c (main): Moved to ...
  66032. * string/test-strstr.c (check1): Here. New function.
  66033. (do_one_test): Break out result checking code into ...
  66034. (check_result): This. New function.
  66035. (do_one_test): Call check_result.
  66036. (test_main): Call check1.
  66037. * string/bug-strcasestr1.c: Removed.
  66038. * string/bug-strchr1.c: Likewise.
  66039. * string/bug-strstr1.c: Likewise.
  66040. * elf/Makefile (dl-routines): Add hwcaps.
  66041. * elf/dl-support.c (_dl_important_hwcaps): Removed.
  66042. * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
  66043. (_dl_important_hwcaps): Moved to ...
  66044. * elf/dl-hwcaps.c: Here. New file.
  66045. * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
  66046. [BZ #14557]
  66047. * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
  66048. if IS_IN_rtld isn't defined.
  66049. * elf/dl-support.c (_dl_sysinfo_map): New.
  66050. Include "get-dynamic-info.h" and "setup-vdso.h".
  66051. (_dl_non_dynamic_init): Call setup_vdso.
  66052. * elf/dynamic-link.h: Don't include <assert.h>.
  66053. (elf_get_dynamic_info): Moved to ...
  66054. * elf/get-dynamic-info.h: Here. New file.
  66055. * elf/dynamic-link.h: Include "get-dynamic-info.h".
  66056. * elf/rtld.c (dl_main): Break out vDSO setup code into ...
  66057. * elf/setup-vdso.h: Here. New file.
  66058. * elf/rtld.c: Include "setup-vdso.h".
  66059. (dl_main): Call setup_vdso.
  66060. 2012-10-05 Joseph Myers <joseph@codesourcery.com>
  66061. * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
  66062. creal in comment listing functions tested. List finite, isinf,
  66063. isnan, isless, islessequal, isgreater, isgreaterequal,
  66064. islessgreater, isunordered, lgamma_r and pow10 as functions and
  66065. macros not tested. Mention which functions not tested are aliases
  66066. for other functions. Fix typo. Note that signs of NaNs are not
  66067. tested.
  66068. * scripts/config.guess: Update from config.git.
  66069. * scripts/config.sub: Likewise.
  66070. 2012-10-04 Roland McGrath <roland@hack.frob.com>
  66071. * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
  66072. * misc/madvise.c (madvise): Renamed to __madvise.
  66073. Make madvise a weak alias.
  66074. * include/sys/mman.h: Declare __madvise.
  66075. Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
  66076. * sysdeps/unix/syscalls.list
  66077. (madvise): Make __madvise the strong name, and madvise a weak alias.
  66078. * sysdeps/unix/sysv/linux/syscalls.list
  66079. (madvise, mmap): Remove redundant entries.
  66080. * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
  66081. * malloc/malloc.c (mtrim): Likewise.
  66082. * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
  66083. 2012-10-03 Roland McGrath <roland@hack.frob.com>
  66084. * sysdeps/mach/hurd/dl-cache.c: File removed.
  66085. * config.h.in (USE_LDCONFIG): New #undef.
  66086. * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
  66087. * configure: Regenerated.
  66088. * elf/Makefile (dl-routines): Add dl-cache only under
  66089. [$(use-ldconfig) = yes].
  66090. * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
  66091. cache on [USE_LDCONFIG].
  66092. * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
  66093. [USE_LDCONFIG].
  66094. * elf/rtld.c (dl_main): Likewise.
  66095. 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
  66096. * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
  66097. _SC_LEVEL4_CACHE_LINESIZE.
  66098. 2012-10-03 Roland McGrath <roland@hack.frob.com>
  66099. * sysdeps/unix/bsd/confstr.h: File removed.
  66100. 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
  66101. * scripts/check-local-headers.sh: Exclude sys/sdt.h and
  66102. sys/sdt-config.h.
  66103. 2012-10-02 Roland McGrath <roland@hack.frob.com>
  66104. * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
  66105. Make 'mapoff' field ElfW(Off) rather than off_t.
  66106. 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
  66107. * nscd/Makefile: Remove nscd-cflags and all its users.
  66108. (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
  66109. (CFLAGS-nonlib): Add compiler flags for nscd modules.
  66110. [BZ #10631]
  66111. * malloc.c (malloc_printerr): Clarify error message.
  66112. 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
  66113. [BZ #14648]
  66114. * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
  66115. Set bit_FMA_Usable if FMA is supported.
  66116. * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
  66117. macro.
  66118. (bit_FMA4_Usable): Updated.
  66119. (index_FMA_Usable): New macro.
  66120. (CPUID_FMA): Likewise.
  66121. (HAS_FMA): Defined with bit_FMA_Usable.
  66122. 2012-10-01 Roland McGrath <roland@hack.frob.com>
  66123. * bits/types.h (__swblk_t): Type removed.
  66124. * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
  66125. * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
  66126. * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
  66127. (__SWBLK_T_TYPE): Likewise.
  66128. * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
  66129. (__SWBLK_T_TYPE): Likewise.
  66130. * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
  66131. (__SWBLK_T_TYPE): Likewise.
  66132. * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
  66133. (__SWBLK_T_TYPE): Likewise.
  66134. 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
  66135. Honza Horak <hhorak@redhat.com>
  66136. * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
  66137. (xdr_mapname): Use YPMAXMAP as maxsize.
  66138. (xdr_peername): Use YPMAXPEER as maxsize.
  66139. (xdr_keydat): Use YPAXRECORD as maxsize.
  66140. (xdr_valdat): Use YPMAXRECORD as maxsize.
  66141. 2012-10-01 Roland McGrath <roland@hack.frob.com>
  66142. * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
  66143. * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
  66144. * csu/init-first.c: ... here.
  66145. * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
  66146. * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
  66147. * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
  66148. * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
  66149. * sysdeps/i386/init-first.c: File removed.
  66150. * sysdeps/sh/init-first.c: File removed.
  66151. 2012-10-01 Joseph Myers <joseph@codesourcery.com>
  66152. [BZ #14645]
  66153. * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
  66154. if x * y might underflow to zero and z is zero.
  66155. * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
  66156. * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
  66157. * math/libm-test.inc (min_subnorm_value): New variable.
  66158. (fma_test): Add more tests.
  66159. (fma_test_towardzero): Likewise.
  66160. (fma_test_downward): Likewise.
  66161. (fma_test_upward): Likewise.
  66162. (initialize): Set min_subnorm_value.
  66163. 2012-09-29 Joseph Myers <joseph@codesourcery.com>
  66164. [BZ #14638]
  66165. * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
  66166. 0 + 0.
  66167. * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
  66168. mode for addition resulting in exact zero.
  66169. * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
  66170. * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
  66171. exact 0 + 0.
  66172. * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
  66173. * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
  66174. * math/libm-test.inc (fma_test): Add more tests.
  66175. (fma_test_towardzero): New function.
  66176. (fma_test_downward): Likewise.
  66177. (fma_test_upward): Likewise.
  66178. (main): Call the new functions.
  66179. 2012-09-28 David S. Miller <davem@davemloft.net>
  66180. * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
  66181. 2012-09-28 Roland McGrath <roland@hack.frob.com>
  66182. * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
  66183. instead of SIGALRM.
  66184. * sysdeps/gnu/_G_config.h: Moved to ...
  66185. * sysdeps/unix/sysv/linux/_G_config.h: ... here.
  66186. * sysdeps/mach/hurd/_G_config.h: Moved to ...
  66187. * sysdeps/generic/_G_config.h: ... here.
  66188. * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
  66189. * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
  66190. * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
  66191. Conditionalize target on [libnss_test1.so-version].
  66192. * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
  66193. * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
  66194. (elfobjdir): Move out of conditionals.
  66195. * nss/nsswitch.c (nss_new_service): Conditionalize definition and
  66196. declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
  66197. (__nss_lookup_function): Conditionalize label remove_from_tree on
  66198. [!DO_STATIC_NSS || SHARED], matching its only use.
  66199. 2012-09-28 David S. Miller <davem@davemloft.net>
  66200. * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
  66201. * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
  66202. file.
  66203. * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
  66204. sysdep_routines.
  66205. * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
  66206. * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
  66207. when HWCAP_SPARC_CRYPTO is present.
  66208. 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
  66209. * io/tst-mknodat.c: Create a FIFO instead of a socket.
  66210. 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
  66211. [BZ #6530]
  66212. * stdio-common/vfprintf.c (process_string_arg): Revert
  66213. 2000-07-22 change.
  66214. 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
  66215. * stdio-common/Makefile (tst-sprintf-ENV): Set environment
  66216. for testcase.
  66217. * stdio-common/tst-sprintf.c: Include <locale.h>
  66218. (main): Test sprintf's handling of incomplete multibyte
  66219. characters.
  66220. 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
  66221. * elf/dl-runtime.c (VERSYMIDX): Removed.
  66222. * elf/dl-version.c (VERSYMIDX): Likewise.
  66223. * elf/do-rel.h (VERSYMIDX): Likewise.
  66224. (VALIDX): Likewise.
  66225. * elf/dynamic-link.h (VERSYMIDX): Likewise.
  66226. * elf/rtld.c (VALIDX): Likewise.
  66227. (ADDRIDX): Likewise.
  66228. * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
  66229. * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
  66230. * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
  66231. * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
  66232. (VALIDX): Likewise.
  66233. (ADDRIDX): Likewise.
  66234. 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
  66235. * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
  66236. 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
  66237. [BZ #11438]
  66238. * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
  66239. to global scope.
  66240. * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
  66241. addresses are in the same scope as 192.0.2/24.
  66242. * posix/gai.conf: Document new scope table defaults.
  66243. 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
  66244. [BZ #5298]
  66245. * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
  66246. for ftell. Compute offsets from write pointers instead.
  66247. * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
  66248. 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
  66249. [BZ #14543]
  66250. * libio/Makefile (tests): New test case tst-fseek.
  66251. * libio/tst-fseek.c: New test case to verify that fseek/ftell
  66252. combination works in wide mode.
  66253. * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
  66254. state when the external buffer state changes.
  66255. 2012-09-27 David S. Miller <davem@davemloft.net>
  66256. [BZ #14376]
  66257. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
  66258. pass reloc->r_addend in as the 'high' argument to
  66259. sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
  66260. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  66261. 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
  66262. * rt/tst-aio2.c: Include <pthread.h>.
  66263. * rt/tst-aio3.c: Likewise.
  66264. 2012-09-27 Steve Ellcey <sellcey@mips.com>
  66265. * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
  66266. 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
  66267. * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
  66268. contents on [SHARED].
  66269. 2012-09-26 Marek Polacek <polacek@redhat.com>
  66270. [BZ #14530]
  66271. [BZ #13741]
  66272. * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
  66273. for C++ and GCC <4.3 as well as for non GCC compilers.
  66274. 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
  66275. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
  66276. 2012-09-25 Roland McGrath <roland@hack.frob.com>
  66277. * Makefile.in (all, install): Declare with .PHONY.
  66278. Reported by Michael Hope <michael.hope@linaro.org>.
  66279. 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  66280. * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
  66281. * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
  66282. system header.
  66283. * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
  66284. Likewise.
  66285. (sydep_routines): Add the new and the internal functions.
  66286. * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
  66287. * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
  66288. * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
  66289. (GLIBC_2.17): Add the new function.
  66290. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
  66291. (GLIBC_2.17): Likewise.
  66292. * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
  66293. (GLIBC_2.17): Likewise.
  66294. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
  66295. (GLIBC_2.17): Likewise.
  66296. * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
  66297. 2012-09-25 Alan Modra <amodra@gmail.com>
  66298. * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
  66299. Add release barrier before setting once_control to say
  66300. initialisation is done. Add hints on lwarx. Use macro in
  66301. place of isync.
  66302. (clear_once_control): Add release barrier.
  66303. 2012-09-25 Joseph Myers <joseph@codesourcery.com>
  66304. [BZ #13629]
  66305. * math/s_clog.c (__clog): Handle more values close to |z| = 1
  66306. specially.
  66307. * math/s_clog10.c (__clog10): Likewise.
  66308. * math/s_clog10f.c (__clog10f): Likewise.
  66309. * math/s_clog10l.c (__clog10l): Likewise.
  66310. * math/s_clogf.c (__clogf): Likewise.
  66311. * math/s_clogl.c (__clogl): Likewise.
  66312. * math/Makefile (libm-calls): Add x2y2m1.
  66313. * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
  66314. (__x2y2m1): Likewise.
  66315. (__x2y2m1l): Likewise.
  66316. * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
  66317. * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
  66318. * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
  66319. * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
  66320. * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
  66321. * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
  66322. * math/libm-test.inc (clog_test, clog10_test): Add more tests.
  66323. * sysdeps/i386/fpu/libm-test-ulps: Update.
  66324. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  66325. [BZ #14621]
  66326. * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
  66327. int as type of variable DEPTH.
  66328. (glob): Use size_t instead of int as type of variables NEWCOUNT
  66329. and OLD_PATHC.
  66330. 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
  66331. * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
  66332. Add s_sincosf-sse2.
  66333. * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
  66334. * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
  66335. * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
  66336. macros for using routine as __sincosf_ia32.
  66337. Use macro for function declaration and weak_alias.
  66338. * sysdeps/i386/fpu/libm-test-ulps: Update.
  66339. * sysdeps/x86_64/fpu/s_sincosf.S: New file.
  66340. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
  66341. * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
  66342. subnormal argument.
  66343. * math/s_cexpf.c (__cexpf): Likewise.
  66344. * math/s_csinf.c (__csinf): Likewise.
  66345. * math/s_csinhf.c (__csinhf): Likewise.
  66346. * math/s_ctanf.c (__ctanf): Likewise.
  66347. * math/s_ctanhf.c (__ctanhf): Likewise.
  66348. * math/s_ccosh.c (__ccoshf): Likewise.
  66349. * math/s_cexp.c (__cexpl): Likewise.
  66350. * math/s_csin.c (__csin): Likewise.
  66351. * math/s_csinh.c (__csinh): Likewise.
  66352. * math/s_ctan.c (__ctan): Likewise.
  66353. * math/s_ctanh.c (ctanh): Likewise.
  66354. * math/s_ccoshl.c (__ccoshl): Likewise.
  66355. * math/s_cexpl.c (__cexpl): Likewise.
  66356. * math/s_csinl.c (__csinl): Likewise.
  66357. * math/s_csinhl.c (__csinhl): Likewise.
  66358. * math/s_ctanl.c (__ctanl): Likewise.
  66359. * math/s_ctanhl.c (__ctanhl): Likewise.
  66360. 2012-09-25 Joseph Myers <joseph@codesourcery.com>
  66361. * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
  66362. (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
  66363. (_IO_off_t): Define to __off_t, not _G_off_t.
  66364. (_IO_pid_t): Define to __pid_t, not _G_pid_t.
  66365. (_IO_uid_t): Define to __uid_t, not _G_uid_t.
  66366. (_IO_wint_t): Define to wint_t, not _G_wint_t.
  66367. * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
  66368. type of __dummy and __dummy2 fields.
  66369. * sysdeps/generic/_G_config.h (_G_size_t): Remove.
  66370. (_G_ssize_t): Likewise.
  66371. (_G_off_t): Likewise.
  66372. (_G_pid_t): Likewise.
  66373. (_G_uid_t): Likewise.
  66374. (_G_wchar_t): Likewise.
  66375. (_G_wint_t): Likewise.
  66376. * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
  66377. (_G_ssize_t): Likewise.
  66378. (_G_off_t): Likewise.
  66379. (_G_pid_t): Likewise.
  66380. (_G_uid_t): Likewise.
  66381. (_G_wchar_t): Likewise.
  66382. (_G_wint_t): Likewise.
  66383. * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
  66384. (_G_ssize_t): Likewise.
  66385. (_G_off_t): Likewise.
  66386. (_G_pid_t): Likewise.
  66387. (_G_uid_t): Likewise.
  66388. (_G_wchar_t): Likewise.
  66389. (_G_wint_t): Likewise.
  66390. 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
  66391. * malloc/arena.c: Include malloc-sysdep.h.
  66392. (shrink_heap): Use check_may_shrink_heap to decide if madvise
  66393. is sufficient to shrink the heap or an unmap is needed.
  66394. * sysdeps/generic/malloc-sysdep.h: New file. Define
  66395. new function check_may_shrink_heap.
  66396. * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
  66397. new function check_may_shrink_heap.
  66398. 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
  66399. * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
  66400. comments.
  66401. 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
  66402. * catgets/test-gencat.sh: Add "set -e".
  66403. * elf/tst-pathopt.sh: Likewise.
  66404. * grp/tst_fgetgrent.sh: Likewise.
  66405. * iconvdata/run-iconv-test.sh: Likewise.
  66406. * intl/tst-gettext.sh: Likewise.
  66407. * intl/tst-gettext2.sh: Likewise.
  66408. * intl/tst-gettext4.sh: Likewise.
  66409. * intl/tst-gettext6.sh: Likewise.
  66410. * intl/tst-translit.sh: Likewise.
  66411. * io/ftwtest-sh: Likewise.
  66412. * libio/test-freopen.sh: Likewise.
  66413. * malloc/tst-mtrace.sh: Likewise.
  66414. * posix/globtest.sh: Likewise.
  66415. * posix/tst-getconf.sh: Likewise.
  66416. * posix/wordexp-tst.sh: Likewise.
  66417. * stdio-common/tst-printf.sh: Likewise.
  66418. * stdio-common/tst-unbputc.sh: Likewise.
  66419. * stdlib/tst-fmtmsg.sh: Likewise.
  66420. * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
  66421. * catgets/Makefile: Do not specify -e option when running
  66422. testsuite shell scripts.
  66423. * elf/Makefile: Likewise.
  66424. * grp/Makefile: Likewise.
  66425. * iconvdata/Makefile: Likewise.
  66426. * intl/Makefile: Likewise.
  66427. * io/Makefile: Likewise.
  66428. * libio/Makefile: Likewise.
  66429. * malloc/Makefile: Likewise.
  66430. * posix/Makefile: Likewise.
  66431. * stdio-common/Makefile: Likewise.
  66432. * stdlib/Makefile: Likewise.
  66433. * sysdeps/x86_64/Makefile: Likewise.
  66434. * io/ftwtest-sh: Add copyright header.
  66435. * posix/globtest.sh: Likewise.
  66436. * posix/tst-getconf.sh: Likewise.
  66437. * posix/wordexp-tst.sh: Likewise.
  66438. * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
  66439. 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
  66440. [BZ #13679]
  66441. * Makeconfig (+link): Defined as $(+link-static) if
  66442. $(build-shared) isn't yes.
  66443. (link-tests): Defined as $(+link-static-tests) if $(build-shared)
  66444. isn't yes.
  66445. (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
  66446. * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
  66447. [BZ #14562]
  66448. * malloc/arena.c (heap_trim): Properly get fencepost and adjust
  66449. new chunk size with MALLOC_ALIGN_MASK.
  66450. 2012-09-24 Joseph Myers <joseph@codesourcery.com>
  66451. [BZ #5044]
  66452. * stdio-common/printf_fphex.c: Include <stdbool.h> and
  66453. <rounding-mode.h>.
  66454. (__printf_fphex): Determine rounding using get_rounding_mode and
  66455. round_away.
  66456. * stdio-common/tst-printf-round.c (struct hex_test): New
  66457. structure.
  66458. (hex_tests): New variable.
  66459. (test_hex_in_one_mode): New function.
  66460. (do_test): Also run tests for hex float output.
  66461. 2012-09-21 Joseph Myers <joseph@codesourcery.com>
  66462. * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
  66463. [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
  66464. * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
  66465. * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
  66466. [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
  66467. * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
  66468. * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
  66469. * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
  66470. 2012-09-20 Joseph Myers <joseph@codesourcery.com>
  66471. * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
  66472. * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
  66473. * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
  66474. * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
  66475. 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
  66476. [BZ #14579]
  66477. * elf/rtld.c (dl_main): Limit the check for self loading to normal
  66478. mode only.
  66479. * elf/tst-rtld-load-self.sh: New test.
  66480. * elf/Makefile: Run it.
  66481. 2012-09-18 Joseph Myers <joseph@codesourcery.com>
  66482. * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
  66483. (tst-writev-ENV): Remove.
  66484. * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
  66485. 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
  66486. * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
  66487. 2012-09-17 Joseph Myers <joseph@codesourcery.com>
  66488. * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
  66489. unconditional.
  66490. * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
  66491. Likewise.
  66492. * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
  66493. * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
  66494. * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
  66495. Likewise.
  66496. 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
  66497. [BZ #14587]
  66498. * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
  66499. * config.make.in (have-cpp-asm-debuginfo): Removed.
  66500. * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
  66501. * configure: Regenerated.
  66502. 2012-09-14 Joseph Myers <joseph@codesourcery.com>
  66503. [BZ #5044]
  66504. * stdio-common/printf_fp.c: Include <stdbool.h> and
  66505. <rounding-mode.h>.
  66506. (___printf_fp): Determine rounding using get_rounding_mode and
  66507. round_away.
  66508. * stdio-common/tst-printf-round.c: New file.
  66509. * stdio-common/Makefile (tests): Add tst-printf-round.
  66510. (link-libm): New variable.
  66511. ($(objpfx)tst-printf-round): Depend in $(link-libm).
  66512. 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
  66513. [BZ #14576]
  66514. * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
  66515. * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
  66516. Likewise.
  66517. * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
  66518. Likewise.
  66519. 2012-09-13 Joseph Myers <joseph@codesourcery.com>
  66520. * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
  66521. * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
  66522. * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
  66523. * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
  66524. 2012-09-12 Joseph Myers <joseph@codesourcery.com>
  66525. [BZ #14518]
  66526. * include/rounding-mode.h: New file.
  66527. * sysdeps/generic/get-rounding-mode.h: Likewise.
  66528. * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
  66529. * stdlib/strtod_l.c: Include <rounding-mode.h>.
  66530. (MAX_VALUE): New macro.
  66531. (MIN_VALUE): Likewise.
  66532. (overflow_value): New function.
  66533. (underflow_value): Likewise.
  66534. (round_and_return): Use overflow_value and underflow_value to
  66535. determine return values in overflow and underflow cases. Use
  66536. round_away to determine rounding depending on rounding mode.
  66537. (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
  66538. determine return values in overflow and underflow cases.
  66539. * stdlib/tst-strtod-round.c: Include <fenv.h>.
  66540. (struct test_results): New structure.
  66541. (struct test): Use struct test_results to store expected results
  66542. for all rounding modes.
  66543. (TEST): Include expected results for all rounding modes.
  66544. (test_in_one_mode): New function.
  66545. (do_test): Use test_in_one_mode to compute and check results.
  66546. Check results for all rounding modes.
  66547. * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
  66548. $(link-libm).
  66549. 2012-12-09 Allan McRae <allan@archlinux.org>
  66550. * sysdeps/i386/fpu/libm-test-ulps: Update
  66551. 2012-09-11 Joseph Myers <joseph@codesourcery.com>
  66552. * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
  66553. (_G_int32_t): Likewise.
  66554. (_G_uint16_t): Likewise.
  66555. (_G_uint32_t): Likewise.
  66556. (_G_HAVE_BOOL): Likewise.
  66557. (_G_HAVE_ATEXIT): Likewise.
  66558. (_G_HAVE_LONG_DOUBLE_IO): Likewise.
  66559. (_G_HAVE_IO_FILE_OPEN): Likewise.
  66560. * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
  66561. (_G_int32_t): Likewise.
  66562. (_G_uint16_t): Likewise.
  66563. (_G_uint32_t): Likewise.
  66564. (_G_HAVE_BOOL): Likewise.
  66565. (_G_HAVE_ATEXIT): Likewise.
  66566. (_G_HAVE_LONG_DOUBLE_IO): Likewise.
  66567. (_G_HAVE_IO_FILE_OPEN): Likewise.
  66568. * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
  66569. (_G_int32_t): Likewise.
  66570. (_G_uint16_t): Likewise.
  66571. (_G_uint32_t): Likewise.
  66572. (_G_HAVE_BOOL): Likewise.
  66573. (_G_HAVE_ATEXIT): Likewise.
  66574. (_G_HAVE_LONG_DOUBLE_IO): Likewise.
  66575. (_G_HAVE_IO_FILE_OPEN): Likewise.
  66576. 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
  66577. * csu/libc-tls.c: Update copyright years.
  66578. 2012-09-10 Joseph Myers <joseph@codesourcery.com>
  66579. * libioP.h [_G_USING_THUNKS]: Make code unconditional.
  66580. [!_G_USING_THUNKS]: Remove conditional code.
  66581. * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
  66582. * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
  66583. * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
  66584. [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
  66585. * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
  66586. (_G_VTABLE_LABEL_PREFIX): Likewise.
  66587. (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
  66588. * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
  66589. (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
  66590. (_G_VTABLE_LABEL_PREFIX): Likewise.
  66591. (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
  66592. * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
  66593. (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
  66594. (_G_VTABLE_LABEL_PREFIX): Likewise.
  66595. (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
  66596. 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
  66597. * libio/Makefile: Include ../Makeconfig before tests.
  66598. (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
  66599. only if $(build-shared) is yes.
  66600. * iconv/gconv_db.c: Update copyright years.
  66601. 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
  66602. * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
  66603. unwind info if defined PIC. Fix special cases description.
  66604. * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
  66605. * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
  66606. DP_HI_MASK entry.
  66607. * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
  66608. 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
  66609. * scripts/check-local-headers.sh: Add "shopt -s nullglob".
  66610. * iconv/gconv_db.c (free_derivation): Check if deriv->steps
  66611. is NULL.
  66612. * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
  66613. (LDLIBS-tst-chk4): This.
  66614. (LDFLAGS-tst-chk5): Renamed to ...
  66615. (LDLIBS-tst-chk5): This.
  66616. (LDFLAGS-tst-chk6): Renamed to ...
  66617. (LDLIBS-tst-chk6): This.
  66618. (LDFLAGS-tst-lfschk4): Renamed to ...
  66619. (LDLIBS-tst-lfschk4): This.
  66620. (LDFLAGS-tst-lfschk5): Renamed to ...
  66621. (LDLIBS-tst-lfschk5): This.
  66622. (LDFLAGS-tst-lfschk6): Renamed to ...
  66623. (LDLIBS-tst-lfschk6): This.
  66624. * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
  66625. on $(common-objpfx)soversions.mk.
  66626. 2012-09-07 Joseph Myers <joseph@codesourcery.com>
  66627. [BZ #10014]
  66628. * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
  66629. example host name.
  66630. 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
  66631. * malloc/arena.c (arena_get_retry): New function that gets
  66632. another arena for the caller to try its request on.
  66633. * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
  66634. current arena cannot fulfill the request.
  66635. (__libc_memalign): Likewise.
  66636. (__libc_memalign): Likewise.
  66637. (__libc_pvalloc): Likewise.
  66638. (__libc_calloc): Likewise.
  66639. 2012-09-05 John Tobey <john.tobey@gmail.com>
  66640. [BZ #13542]
  66641. * manual/arith.texi (Operations on Complex): Fix description
  66642. of carg branch cut.
  66643. 2012-09-06 Joseph Myers <joseph@codesourcery.com>
  66644. [BZ #10014]
  66645. * manual/socket.texi (Host Addresses): Use www.gnu.org as example
  66646. host name.
  66647. [BZ #10038]
  66648. * manual/memory.texi (Memory): Make order of menu items match
  66649. order of sections.
  66650. 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
  66651. * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
  66652. (_dl_initial_dtv): New. Defined if SHARED isn't defined.
  66653. (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
  66654. 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
  66655. * csu/libc-tls.c (static_dtv): Renamed to ...
  66656. (_dl_static_dtv): This. Make it global.
  66657. (_dl_initial_dtv): Removed.
  66658. (__libc_setup_tls): Updated.
  66659. * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
  66660. (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
  66661. DL_INITIAL_DTV.
  66662. 2012-09-06 Petr Machata <pmachata@redhat.com>
  66663. * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
  66664. (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
  66665. (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
  66666. (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
  66667. 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
  66668. [BZ #14545]
  66669. * csu/libc-tls.c (_dl_initial_dtv): New variable.
  66670. * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
  66671. freeing dtv[-1].
  66672. 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
  66673. [BZ #14544]
  66674. * Makeconfig (link-static-before-libc): Replace $(+prector)
  66675. with $(+prectorT).
  66676. (link-static-after-libc): Replace $(+postctor) with
  66677. $(+postctorT).
  66678. (link-bounded): Replace $(+prector)/$(+postctor) with
  66679. $(+prectorT)/$(+postctorT).
  66680. (+prectorT): New macro.
  66681. (+postctorT): Likewise.
  66682. 2012-09-06 Joseph Myers <joseph@codesourcery.com>
  66683. * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
  66684. (round_str): Handle values above the maximum for IBM long double
  66685. as inexact.
  66686. * stdlib/tst-strtod-round.c (tests): Regenerated.
  66687. 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  66688. * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
  66689. assembler flag.
  66690. * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
  66691. zarch_nohighgprs around the zarch optimized routines.
  66692. * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
  66693. * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
  66694. * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
  66695. for zarch.
  66696. 2012-09-05 David S. Miller <davem@davemloft.net>
  66697. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  66698. * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
  66699. (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
  66700. * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
  66701. * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
  66702. entries.
  66703. 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
  66704. * malloc/arena.c: Fold copyright years.
  66705. * malloc/mcheck.c, malloc/memusage.c: Likewise.
  66706. 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
  66707. * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
  66708. 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
  66709. * manual/contrib.texi (Contributors): Fix typo. Complete entry.
  66710. 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
  66711. * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
  66712. change internal state upon failure.
  66713. 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
  66714. * malloc/mcheck.c (mcheck_check_all): Fix typo.
  66715. * malloc/memusage.c (mmap): Likewise.
  66716. (mmap64, mremap): Likewise. Adjust name in comment.
  66717. 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
  66718. * libio/fileops.c: Fix typos in comments.
  66719. * libio/oldfileops.c: Likewise.
  66720. * libio/wfileops.c: Likewise.
  66721. 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
  66722. [BZ #1349]
  66723. * malloc/Makefile (tests): Add tst-malloc-usable test case.
  66724. (tst-malloc-usable-ENV): Set environment for test case.
  66725. * malloc/hooks.c (malloc_check_get_size): New function to get
  66726. requested size.
  66727. * malloc/malloc.c (musable): Use malloc_check_get_size.
  66728. * malloc/tst-malloc-usable.c: New test case.
  66729. 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
  66730. * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
  66731. 2012-09-05 Allan McRae <allan@archlinux.org>
  66732. [BZ #13966]
  66733. * configure.in (CXX_SYSINCLUDES): Use compiler output to
  66734. determine header location.
  66735. * configure: Regenerated.
  66736. 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
  66737. * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
  66738. float format.
  66739. * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
  66740. LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
  66741. format.
  66742. (test): Regenerate.
  66743. 2012-09-04 David S. Miller <davem@davemloft.net>
  66744. * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
  66745. * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
  66746. * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
  66747. 2012-09-04 Florian Weimer <fweimer@redhat.com>
  66748. * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
  66749. failures.
  66750. * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
  66751. 2012-09-04 Joseph Myers <joseph@codesourcery.com>
  66752. [BZ #9914]
  66753. * libio/iogetdelim.c: Include <limits.h>.
  66754. (_IO_getdelim): Avoid integer overflow in testing whether cur_len
  66755. + len + 1 would overflow.
  66756. 2012-09-03 Andreas Jaeger <aj@suse.de>
  66757. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
  66758. * sysdeps/i386/fpu/libm-test-ulps: Update.
  66759. 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
  66760. * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
  66761. Add s_sinf-sse2, s_conf-sse2.
  66762. * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
  66763. * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
  66764. * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
  66765. * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
  66766. * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
  66767. for using routine as __sinf_ia32.
  66768. Use macro for function declaration and weak_alias.
  66769. * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
  66770. for using routine as __cosf_ia32.
  66771. Use macro for function declaration and weak_alias.
  66772. * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
  66773. * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
  66774. * sysdeps/x86_64/fpu/s_sinf.S: New file.
  66775. * sysdeps/x86_64/fpu/s_cosf.S: New file.
  66776. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
  66777. * math/libm-test.inc (cos_test): Add more test cases.
  66778. (sin_test): Likewise.
  66779. (sincos_test): Likewise.
  66780. 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  66781. * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
  66782. (IFUNC_RESOLVE): Make pointers to the specialized implementations
  66783. hidden.
  66784. * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
  66785. 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
  66786. [BZ #14538]
  66787. * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
  66788. first element of the GOT.
  66789. (elf_machine_load_address): Return the difference between
  66790. the runtime address of _DYNAMIC and elf_machine_dynamic ().
  66791. 2012-09-01 Allan McRae <allan@archlinux.org>
  66792. [BZ #13412]
  66793. * configure.in (AWK): Require gawk version 3.0 or later.
  66794. * configure: Regenerated.
  66795. 2012-09-01 Joseph Myers <joseph@codesourcery.com>
  66796. * sysdeps/unix/sysv/linux/kernel-features.h
  66797. (__ASSUME_POSIX_CPU_TIMERS): Remove.
  66798. * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
  66799. [__NR_clock_getres]: Make code unconditional.
  66800. [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
  66801. (clock_getcpuclockid): Remove code left unreachable by removal of
  66802. conditionals.
  66803. * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
  66804. code unconditional.
  66805. [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
  66806. [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
  66807. * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
  66808. Make code unconditional.
  66809. [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
  66810. [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
  66811. * sysdeps/unix/sysv/linux/clock_settime.c
  66812. [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
  66813. conditional code.
  66814. [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
  66815. [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
  66816. 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
  66817. [BZ #14476]
  66818. * Makefile (install): Also pass LD_SO=$(ld.so-version) to
  66819. scripts/test-installation.pl.
  66820. * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
  66821. and $ld_so_version if it is set.
  66822. 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
  66823. [BZ #14516]
  66824. * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
  66825. failure if reading from procfs failed.
  66826. * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
  66827. 2012-08-27 Joseph Myers <joseph@codesourcery.com>
  66828. * sysdeps/unix/sysv/linux/kernel-features.h
  66829. (__ASSUME_STAT64_SYSCALL): Remove all definitions.
  66830. * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
  66831. Remove conditional code.
  66832. [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
  66833. * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
  66834. Remove conditional code.
  66835. [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
  66836. * sysdeps/unix/sysv/linux/i386/fxstat.c
  66837. [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
  66838. [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
  66839. * sysdeps/unix/sysv/linux/i386/fxstatat.c
  66840. [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
  66841. [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
  66842. * sysdeps/unix/sysv/linux/i386/lxstat.c
  66843. [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
  66844. [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
  66845. * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
  66846. Remove conditional code.
  66847. [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
  66848. * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
  66849. Remove conditional code.
  66850. [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
  66851. * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
  66852. <kernel-features.h>.
  66853. [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
  66854. Remove.
  66855. * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
  66856. Remove conditional code.
  66857. [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
  66858. * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
  66859. Remove conditional.
  66860. 2012-08-27 Mike Frysinger <vapier@gentoo.org>
  66861. [BZ #5400]
  66862. * NEWS: Add fixed bug number.
  66863. 2012-08-27 Joseph Myers <joseph@codesourcery.com>
  66864. [BZ #14519]
  66865. * stdlib/strtod_l.c (round_and_return): Return -0.0 for
  66866. underflowing exponent in case of negative sign.
  66867. * stdlib/tst-strtod-round-data: Add more tests.
  66868. * stdlib/tst-strtod-round.c (tests): Regenerated.
  66869. [BZ #3479]
  66870. * stdlib/strtod_l.c (NDIG): Remove.
  66871. (HEXNDIG): Likewise.
  66872. (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
  66873. smallest representable value.
  66874. (____STRTOF_INTERNAL): Use all fractional decimal digits that may
  66875. lie within an exact representation of 1/2 ulp of the result.
  66876. * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
  66877. unconditionally.
  66878. (TENS_P9_IDX): Define unconditionally.
  66879. (TENS_P9_SIZE): Likewise.
  66880. (TENS_P10_IDX): Likewise.
  66881. (TENS_P10_SIZE): Likewise.
  66882. [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
  66883. to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
  66884. [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
  66885. entries for 10^2^13 and 10^2^14.
  66886. [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
  66887. (TENS_P13_IDX): Define.
  66888. (TENS_P13_SIZE): Likewise.
  66889. (TENS_P14_IDX): Likewise.
  66890. (TENS_P14_SIZE): Likewise.
  66891. (_fpioconst_pow10): Change array size to
  66892. FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
  66893. unconditional.
  66894. (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
  66895. 1024]: Add entries for 10^2^13 and 10^2^14.
  66896. [LAST_POW10 > _LAST_POW10]: Remove #error.
  66897. * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
  66898. (_fpioconst_pow10): Change array size to
  66899. FPIOCONST_POW10_ARRAY_SIZE.
  66900. * stdlib/gen-fpioconst.c: New file.
  66901. * stdlib/gen-tst-strtod-round.c: Likewise.
  66902. * stdlib/tst-strtod-round-data: Likewise.
  66903. * stdlib/tst-strtod-round.c: Likewise.
  66904. * stdlib/Makefile (tests): Add tst-strtod-round.
  66905. [BZ #14459]
  66906. * stdlib/strtod_l.c: Include <stdint.h>.
  66907. (NDEBUG): Do not define.
  66908. (round_and_return): Change EXPONENT parameter to type intmax_t.
  66909. Rearrange calculations to avoid internal overflow possibilities.
  66910. (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
  66911. Rearrange calculations to avoid internal overflow possibilities.
  66912. Assert that number fits inside MPNSIZE limbs.
  66913. (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
  66914. Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
  66915. calculations and add assertions to avoid internal overflow
  66916. possibilities. Add casts to avoid signed/unsigned operations.
  66917. * stdlib/tst-strtod-overflow.c: New file.
  66918. * stdlib/Makefile (tests): Add tst-strtod-overflow.
  66919. 2012-08-25 Marek Polacek <polacek@redhat.com>
  66920. * time/time.h: Fix some typos in comments.
  66921. 2012-08-23 Roland McGrath <roland@hack.frob.com>
  66922. * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
  66923. * posix/tst-rfc3484-2.c: Likewise.
  66924. * posix/tst-rfc3484-3.c: Likewise.
  66925. 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
  66926. * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
  66927. (EF_ARM_ABI_FLOAT_HARD): Likewise.
  66928. 2012-08-23 Joseph Myers <joseph@codesourcery.com>
  66929. * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
  66930. #include of fxstatat64.c.
  66931. 2012-08-22 Roland McGrath <roland@hack.frob.com>
  66932. * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
  66933. * shadow/getspent_r.c: Likewise.
  66934. * shadow/getspnam.c: Likewise.
  66935. * shadow/getspnam_r.c: Likewise.
  66936. * gshadow/getsgent.c: Likewise.
  66937. * gshadow/getsgent_r.c: Likewise.
  66938. * gshadow/getsgnam.c: Likewise.
  66939. * gshadow/getsgnam_r.c: Likewise.
  66940. * inet/getnetbyad.c: Likewise.
  66941. * inet/getnetbyad_r.c: Likewise.
  66942. * inet/getnetbynm.c: Likewise.
  66943. * inet/getnetbynm_r.c: Likewise.
  66944. * inet/getnetent.c: Likewise.
  66945. * inet/getnetent_r.c: Likewise.
  66946. * inet/getproto.c: Likewise.
  66947. * inet/getproto_r.c: Likewise.
  66948. * inet/getprtent.c: Likewise.
  66949. * inet/getprtent_r.c: Likewise.
  66950. * inet/getprtname.c: Likewise.
  66951. * inet/getprtname_r.c: Likewise.
  66952. * inet/getrpcbyname.c: Likewise.
  66953. * inet/getrpcbyname_r.c: Likewise.
  66954. * inet/getrpcbynumber.c: Likewise.
  66955. * inet/getrpcbynumber_r.c: Likewise.
  66956. * inet/getrpcent.c: Likewise.
  66957. * inet/getrpcent_r.c: Likewise.
  66958. * inet/getaliasent.c: Likewise.
  66959. * inet/getaliasent_r.c: Likewise.
  66960. * inet/getaliasname.c: Likewise.
  66961. * inet/getaliasname_r.c: Likewise.
  66962. * nscd/getgrgid_r.c: Likewise.
  66963. * nscd/getgrnam_r.c: Likewise.
  66964. * nscd/gethstbyad_r.c: Likewise.
  66965. * nscd/gethstbynm3_r.c: Likewise.
  66966. * nscd/getpwnam_r.c: Likewise.
  66967. * nscd/getpwuid_r.c: Likewise.
  66968. * nscd/getsrvbynm_r.c: Likewise.
  66969. * nscd/getsrvbypt_r.c: Likewise.
  66970. * nscd/gai.c: Likewise.
  66971. * configure.in (build_nscd): New substituted variable, set
  66972. by --disable-build-nscd and defaults to $use_nscd.
  66973. * configure: Regenerated.
  66974. * config.make.in (build-nscd): New substituted variable.
  66975. * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
  66976. Change conditional to require [$(build-nscd) = yes] as well.
  66977. * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
  66978. [BZ #13696]
  66979. * configure.in (use_nscd): New substituted variable, set by
  66980. --disable-nscd. If enabled, define USE_NSCD.
  66981. * configure: Regenerated.
  66982. * config.h.in: Add USE_NSCD.
  66983. * config.make.in (use-nscd): New substituted variable.
  66984. * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
  66985. (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
  66986. (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
  66987. * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
  66988. (CFLAGS-getgrnam_r.c): Likewise.
  66989. (CFLAGS-initgroups.c): Likewise.
  66990. * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
  66991. * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
  66992. Variables removed.
  66993. * inet/getnetgrent_r.c
  66994. (nscd_setnetgrent): New function, broken out of ...
  66995. (setnetgrent): ... here. Call it.
  66996. (innetgr): Conditionalize nscd bits on [USE_NSCD].
  66997. (nscd_getnetgrent): Conditionalize on [USE_NSCD].
  66998. (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
  66999. * nscd/Makefile (routines, aux): Move definitions after include of
  67000. Makeconfig. Conditionalize on [$(use-nscd) != no].
  67001. * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
  67002. Conditionalize on [USE_NSCD].
  67003. (is_nscd, nscd_init_cb): Likewise.
  67004. (nss_load_library): Conditionalize init callback on [USE_NSCD].
  67005. * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
  67006. * nss/nss_db/db-init.c: Likewise.
  67007. * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
  67008. [USE_NSCD].
  67009. * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
  67010. (make_request): Use it.
  67011. (cache_valid_p): New function.
  67012. (__check_pf): Use it.
  67013. * NEWS: Add item for --disable-nscd.
  67014. 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
  67015. * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
  67016. to support sed >= 4.2.1-20-ga9bf076.
  67017. * configure: Regenerated.
  67018. 2012-08-22 Roland McGrath <roland@hack.frob.com>
  67019. * csu/libc-start.c (apply_irel): Move extern declarations inside here.
  67020. Conditionalize whole body on [IREL].
  67021. 2012-08-22 Jeff Law <law@redhat.com>
  67022. [BZ #14505]
  67023. * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
  67024. if the family is PF_UNSPEC.
  67025. 2012-08-22 Mike Frysinger <vapier@gentoo.org>
  67026. * Makerules (lib-version): Rename from V.
  67027. (install-lib-nosubdir): Change V to lib-version.
  67028. 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
  67029. [BZ #14252]
  67030. * powerpc32/power6/wcschr.c: New file.
  67031. * powerpc32/power6/wcscpy.c: New file.
  67032. * powerpc32/power6/wcsrchr.c: New file.
  67033. * powerpc64/power6/wcschr.c: New file.
  67034. * powerpc64/power6/wcscpy.c: New file.
  67035. * powerpc64/power6/wcsrchr.c: New file.
  67036. 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
  67037. * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
  67038. (two_way_short_needle): Use it.
  67039. * string/strstr.c (AVAILABLE1_USES_J): Define.
  67040. * string/strcasestr.c: Likewise.
  67041. * string/str-two-way.h (two_way_short_needle): Use pointers instead of
  67042. array references.
  67043. * string/strcasestr.c (TOLOWER): Make side-effect safe.
  67044. [BZ #11607]
  67045. * NEWS: Add an entry.
  67046. * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
  67047. define their defaults.
  67048. (two_way_short_needle): Detect end-of-string on-the-fly.
  67049. * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
  67050. (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
  67051. * string/bug-strcasestr1.c: New test.
  67052. * string/Makefile: Run it.
  67053. 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
  67054. [BZ #11607]
  67055. * string/str-two-way.h (two_way_short_needle): Optimize matching of
  67056. the first character.
  67057. 2012-08-21 Roland McGrath <roland@hack.frob.com>
  67058. * csu/elf-init.c (__libc_csu_irel): Function removed.
  67059. * csu/libc-start.c (apply_irel): New function.
  67060. (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
  67061. 2012-08-21 Joseph Myers <joseph@codesourcery.com>
  67062. * sysdeps/unix/sysv/linux/kernel-features.h
  67063. (__ASSUME_FADVISE64_64_SYSCALL): Remove.
  67064. * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
  67065. <kernel-features.h>.
  67066. [__NR_fadvise64_64]: Make code unconditional.
  67067. [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
  67068. [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
  67069. !__NR_fadvise64_64)]: Likewise.
  67070. [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
  67071. !__NR_fadvise64_64))]: Likewise.
  67072. [__NR_fadvise64]: Make code unconditional.
  67073. [!__NR_fadvise64]: Remove conditional code.
  67074. * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
  67075. <kernel-features.h>.
  67076. (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
  67077. unconditional.
  67078. (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
  67079. conditional code.
  67080. * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
  67081. not include <kernel-features.h>.
  67082. (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
  67083. unconditional.
  67084. (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
  67085. conditional code.
  67086. * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
  67087. include <kernel-features.h>.
  67088. (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
  67089. unconditional.
  67090. (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
  67091. conditional code.
  67092. 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
  67093. * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
  67094. slight instruction rearrangements per scrollpipe analysis.
  67095. * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
  67096. 2012-08-20 Roland McGrath <roland@hack.frob.com>
  67097. * manual/syslog.texi (syslog; vsyslog, closelog):
  67098. Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
  67099. Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
  67100. * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
  67101. DSOCAPS to match condition on defining it.
  67102. 2012-08-20 Joseph Myers <joseph@codesourcery.com>
  67103. * sysdeps/unix/sysv/linux/kernel-features.h
  67104. (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
  67105. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
  67106. [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
  67107. [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
  67108. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
  67109. [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
  67110. [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
  67111. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
  67112. [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
  67113. [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
  67114. * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
  67115. __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
  67116. * sysdeps/unix/sysv/linux/kernel-features.h
  67117. (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
  67118. * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
  67119. unconditional.
  67120. [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
  67121. * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
  67122. [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
  67123. (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
  67124. * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
  67125. Make code unconditional.
  67126. (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
  67127. (__mmap64) [!__NR_mmap2]: Likewise.
  67128. * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
  67129. [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
  67130. (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
  67131. * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
  67132. [__NR_mmap2]: Make code unconditional.
  67133. (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
  67134. (__mmap64) [!__NR_mmap2]: Likewise.
  67135. 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  67136. * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
  67137. 2012-08-18 Andreas Jaeger <aj@suse.de>
  67138. * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
  67139. 2012-08-18 Mike Frysinger <vapier@gentoo.org>
  67140. * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
  67141. * include/unistd.h (__have_sock_cloexec): Likewise.
  67142. (__have_pipe2): Likewise.
  67143. (__have_dup3): Likewise.
  67144. 2012-08-18 Mike Frysinger <vapier@gentoo.org>
  67145. [BZ #9685]
  67146. * include/unistd.h (__have_pipe2): Change define into an extern int.
  67147. (__have_dup3): Likewise.
  67148. * socket/have_sock_cloexec.c: Include fcntl.h.
  67149. (__have_pipe2): New variable.
  67150. (__have_dup3): Likewise.
  67151. 2012-08-17 Mike Frysinger <vapier@gentoo.org>
  67152. * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
  67153. 2012-08-17 Marek Polacek <polacek@redhat.com>
  67154. * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
  67155. ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
  67156. 2012-08-17 Roland McGrath <roland@hack.frob.com>
  67157. * configure.in: Add AC_SUBST for sysheaders.
  67158. * configure: Regenerated.
  67159. * config.make.in (sysheaders): New substituted variable.
  67160. * sysdeps/unix/mkfifo.c: Moved ...
  67161. * sysdeps/posix/mkfifo.c: ... here.
  67162. * sysdeps/unix/mkfifoat.c: Moved ...
  67163. * sysdeps/posix/mkfifoat.c: ... here.
  67164. * sysdeps/unix/utime.c: Moved ...
  67165. * sysdeps/posix/utime.c: ... here.
  67166. * sysdeps/unix/time.c: Moved ...
  67167. * sysdeps/posix/time.c: ... here.
  67168. * sysdeps/unix/sysv/linux/time.c: Adjust #include.
  67169. * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
  67170. * sysdeps/unix/nice.c: Moved ...
  67171. * sysdeps/posix/nice.c: ... here.
  67172. * sysdeps/unix/alarm.c: Moved ...
  67173. * sysdeps/posix/alarm.c: ... here.
  67174. * intl/Makefile ($(codeset_mo)): Depend on the input file.
  67175. 2012-08-17 Jeff Law <law@redhat.com>
  67176. * intl/Makefile (codeset_mo): New variable.
  67177. ($(codeset_mo)): New target.
  67178. (tst-codeset.out): Depend on that. Remove explicit rule.
  67179. (tst-gettext3.out, tst-gettext5.out): Likewise.
  67180. (LOCPATH-ENV, tst-codeset-ENV): New variables.
  67181. (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
  67182. * intl/tst-codeset.sh: Remove.
  67183. * intl/tst-gettext3.sh: Likewise.
  67184. * intl/tst-gettext5.sh: Likewise.
  67185. 2012-08-17 Roland McGrath <roland@hack.frob.com>
  67186. * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
  67187. * sysdeps/unix/syscalls.list: ... here.
  67188. * sysdeps/posix/getaddrinfo.c
  67189. (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
  67190. (gaiconf_init, gaiconf_reload): Use them.
  67191. [!_STATBUF_ST_NSEC]
  67192. (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
  67193. Define using time_t rather than struct timespec.
  67194. * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
  67195. (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
  67196. Macros removed.
  67197. * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
  67198. [!NO_THREADS].
  67199. (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
  67200. (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
  67201. Likewise.
  67202. * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
  67203. __libc_cleanup_push argument.
  67204. * bits/param.h: New file.
  67205. * misc/sys/param.h: New file.
  67206. * include/sys/param.h: New file.
  67207. * misc/Makefile (headers): Add bits/param.h.
  67208. * sysdeps/generic/sys/param.h: File removed.
  67209. * sysdeps/unix/sysv/linux/bits/param.h: New file.
  67210. * sysdeps/unix/sysv/linux/sys/param.h: File removed.
  67211. * sysdeps/mach/hurd/bits/param.h: New file.
  67212. * sysdeps/mach/hurd/sys/param.h: File removed.
  67213. * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
  67214. last change.
  67215. * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
  67216. [_IO_MTSAFE_IO].
  67217. * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
  67218. (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
  67219. New macros.
  67220. * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
  67221. * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
  67222. rather than -D_IO_MTSAFE_IO conditionally.
  67223. * stdio-common/Makefile (CPPFLAGS): Likewise.
  67224. * wcsmbs/Makefile (CPPFLAGS): Likewise.
  67225. * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
  67226. Use $(libio-mtsafe).
  67227. * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
  67228. of -D_IO_MTSAFE_IO.
  67229. (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
  67230. (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
  67231. (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
  67232. (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
  67233. (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
  67234. (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
  67235. (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
  67236. (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
  67237. (CFLAGS-fread_u_chk.c): Likewise.
  67238. (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
  67239. (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
  67240. (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
  67241. (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
  67242. * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
  67243. * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
  67244. * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
  67245. * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
  67246. * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
  67247. * libio/Makefile: Test [$(libc-reentrant) = yes]
  67248. instead of [$(filter %REENTRANT, $(defines)) nonempty].
  67249. * Makeconfig
  67250. [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
  67251. * sysdeps/pthread/configure: File removed.
  67252. * sysdeps/pthread/Makeconfig: New file.
  67253. * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
  67254. * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
  67255. 2012-08-16 Gary Benson <gbenson@redhat.com>
  67256. * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
  67257. unmapping the first object in a namespace.
  67258. 2012-08-16 Roland McGrath <roland@hack.frob.com>
  67259. * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
  67260. (__internal_setnetgrent): ... this. Add internal_function to
  67261. definition. Add libc_hidden_def.
  67262. (setnetgrent): Update caller.
  67263. (internal_endnetgrent): Renamed to ...
  67264. (__internal_endnetgrent): ... this. Add internal_function to
  67265. definition. Add libc_hidden_def.
  67266. (endnetgrent): Update caller.
  67267. (internal_getnetgrent_r): Renamed to ...
  67268. (__internal_getnetgrent_r): ... this. Add internal_function to
  67269. definition. Add libc_hidden_def.
  67270. (__getnetgrent_r): Update caller.
  67271. * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
  67272. 2012-08-16 Joseph Myers <joseph@codesourcery.com>
  67273. * stdlib/longlong.h: Update from GCC.
  67274. 2012-08-16 Roland McGrath <roland@hack.frob.com>
  67275. * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
  67276. on _QL, which is set by umul_ppmm but never used.
  67277. * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
  67278. variables, which are set by GMP macros but never used.
  67279. * stdio-common/_itowa.c (_itowa): Likewise.
  67280. * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
  67281. * stdlib/mod_1.c (mpn_mod_1): Likewise.
  67282. 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
  67283. * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
  67284. struct La_sh_regs is not constant.
  67285. * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
  67286. <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
  67287. and struct La_sparc64_regs are not constant.
  67288. 2012-08-16 Joseph Myers <joseph@codesourcery.com>
  67289. * sysdeps/unix/sysv/linux/kernel-features.h
  67290. (__ASSUME_POSIX_TIMERS): Remove.
  67291. * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
  67292. [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
  67293. * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
  67294. Make code unconditional.
  67295. [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
  67296. * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
  67297. Make code unconditional.
  67298. [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
  67299. * sysdeps/unix/sysv/linux/clock_nanosleep.c
  67300. [__ASSUME_POSIX_TIMERS]: Make code unconditional.
  67301. [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
  67302. * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
  67303. Make code unconditional.
  67304. [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
  67305. [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
  67306. (__libc_missing_posix_timers): Remove.
  67307. 2012-08-15 Roland McGrath <roland@hack.frob.com>
  67308. * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
  67309. check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
  67310. * bits/libc-lock.h (__rtld_lock_initialize): New macro.
  67311. * elf/dl-sym.c: Include <stdlib.h>.
  67312. * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
  67313. constants, which avoids warnings in 32-bit builds.
  67314. * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
  67315. (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
  67316. * misc/lseek.c: File moved to ...
  67317. * io/lseek.c: ... here.
  67318. * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
  67319. * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
  67320. shifting LEN more than 31 bits at once.
  67321. 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
  67322. [BZ #14195]
  67323. * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
  67324. segmentation fault for a case of two empty input strings.
  67325. * string/test-strncasecmp.c (check1): Renamed to...
  67326. (bz12205): ...this.
  67327. (bz14195): Add new testcase for two empty input strings and N > 0.
  67328. (test_main): Call new testcase, adapt for renamed function.
  67329. 2012-08-15 Andreas Jaeger <aj@suse.de>
  67330. [BZ #14090]
  67331. * crypt/md5test2.c: New test, based on test supplied by Serge
  67332. Belyshev <belyshev@depni.sinp.msu.ru>.
  67333. * crypt/Makefile (xtests): Add md5test-giant..
  67334. * crypt/Makefile ($(objpfx)md5test-giant): Add.
  67335. 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
  67336. [BZ #14090]
  67337. * crypt/md5.c (md5_process_block): Don't assume the buffer
  67338. length is less than 2**32.
  67339. * crypt/sha512.c (sha512_process_block): Don't assume the buffer
  67340. length is less than 2**64.
  67341. 2012-08-15 Roland McGrath <roland@hack.frob.com>
  67342. * string/str-two-way.h: Include <sys/param.h>.
  67343. (MAX): Macro removed.
  67344. * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
  67345. Move #define and #undef of memmove to just before and after
  67346. including <string.h>.
  67347. * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
  67348. [!NOT_IN_libc]: Move #define and #undef of memmove to just before
  67349. and after including <string.h>. Move declarations of
  67350. __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
  67351. to before #include "string/memmove.c".
  67352. * include/dirent.h: Declare __getdirentries.
  67353. * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
  67354. using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
  67355. 2012-08-14 Mike Frysinger <vapier@gentoo.org>
  67356. * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
  67357. * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
  67358. * sysdeps/i386/configure: Regenerated.
  67359. * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
  67360. STABS_CURRENT_FILE, and STABS_FUN.
  67361. (END): Remove call to STABS_FUN_END.
  67362. (STABS_CURRENT_FILE1): Delete.
  67363. (STABS_CURRENT_FILE): Likewise.
  67364. (STABS_FUN): Likewise.
  67365. (STABS_FUN_END): Likewise.
  67366. (STABS_FUN2): Likewise.
  67367. * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
  67368. * sysdeps/x86_64/configure: Regenerated.
  67369. 2012-08-14 Roland McGrath <roland@hack.frob.com>
  67370. * elf/dl-open.c: Include <atomic.h>.
  67371. * elf/dl-lookup.c: Likewise.
  67372. 2012-08-14 Joseph Myers <joseph@codesourcery.com>
  67373. * sysdeps/unix/sysv/linux/kernel-features.h
  67374. (__ASSUME_CLONE_THREAD_FLAGS): Remove.
  67375. * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
  67376. unconditionally.
  67377. * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
  67378. unconditionally.
  67379. * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
  67380. condition on __ASSUME_CLONE_THREAD_FLAGS.
  67381. 2012-08-14 Andreas Jaeger <aj@suse.de>
  67382. * sysdeps/i386/fpu/libm-test-ulps: Update.
  67383. 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
  67384. * include/atomic.h (atomic_exchange_and_add): Split into ...
  67385. (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
  67386. New atomic macros.
  67387. 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
  67388. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
  67389. 2012-08-13 Jeff Law <law@redhat.com>
  67390. * manual/stdio.texi (snprintf): Clarify handling of the trailing
  67391. null byte in the output string.
  67392. 2012-08-10 Joseph Myers <joseph@codesourcery.com>
  67393. * sysdeps/unix/sysv/linux/kernel-features.h
  67394. (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
  67395. [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
  67396. (__ASSUME_ARG_MAX_STACK_BASED): Define.
  67397. * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
  67398. [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
  67399. !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
  67400. __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
  67401. 2012-08-09 Jeff Law <law@redhat.com>
  67402. [BZ #13939]
  67403. * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
  67404. When avoid_arena is set, don't retry in the that arena. Pick the
  67405. next one, whatever it might be.
  67406. (arena_get2): New parameter avoid_arena, pass through to reused_arena.
  67407. (arena_lock): Pass in new parameter to arena_get2.
  67408. * malloc/malloc.c (__libc_memalign): Pass in new parameter to
  67409. arena_get2.
  67410. (__libc_malloc): Unify retrying after main arena failure with
  67411. __libc_memalign version.
  67412. (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
  67413. 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
  67414. [BZ #14166]
  67415. * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
  67416. to __redirect_strstr.
  67417. (__strstr_sse42): Use typeof __redirect_strstr.
  67418. (__strstr_ia32): Likewise.
  67419. (__libc_strstr): New prototype.
  67420. (strstr): Renamed to ...
  67421. (__libc_strstr): This.
  67422. (strstr): New strong alias of __libc_strstr.
  67423. * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
  67424. * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
  67425. __redirect_time.
  67426. Include <time.h>.
  67427. (__libc_time): New prototype.
  67428. (time_ifunc): Replace time with __libc_time.
  67429. (time): New strong alias and hidden definition of __libc_time.
  67430. (__GI_time): Remove strong alias.
  67431. * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
  67432. Include <stddef.h>.
  67433. (memmove): Redefined to __redirect_memmove.
  67434. (__memmove_sse2): Use typeof __redirect_memmove.
  67435. (__memmove_ssse3): Likewise.
  67436. (__memmove_ssse3_back): Likewise.
  67437. (__libc_memmove): New prototype.
  67438. (memmove): Renamed to ...
  67439. (__libc_memmove): This.
  67440. (memmove): New strong alias of __libc_memmove.
  67441. 2012-08-08 Mark Salter <msalter@redhat.com>
  67442. * elf/elf.h
  67443. (R_MN10300_TLS_GD): Define.
  67444. (R_MN10300_TLS_LD): Likewise.
  67445. (R_MN10300_TLS_LDO): Likewise.
  67446. (R_MN10300_TLS_GOTIE): Likewise.
  67447. (R_MN10300_TLS_IE): Likewise.
  67448. (R_MN10300_TLS_LE): Likewise.
  67449. (R_MN10300_TLS_DTPMOD): Likewise.
  67450. (R_MN10300_TLS_DTPOFF): Likewise.
  67451. (R_MN10300_TLS_TPOFF): Likewise.
  67452. (R_MN10300_SYM_DIFF): Likewise.
  67453. (R_MN10300_ALIGN): Likewise.
  67454. (R_MN10300_NUM): Update.
  67455. 2012-08-08 Joseph Myers <joseph@codesourcery.com>
  67456. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
  67457. Remove.
  67458. 2012-08-08 Roland McGrath <roland@hack.frob.com>
  67459. * sysdeps/posix/fdopendir.c: Include <stddef.h>.
  67460. * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
  67461. sysdeps/unix -> sysdeps/posix move.
  67462. * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
  67463. 2012-08-07 Allan McRae <allan@archlinux.org>
  67464. [BZ #14303]
  67465. * sunrpc/rpc_main.c (SVR4_CPP): Remove.
  67466. (SUNOS_CPP): Likewise.
  67467. (find_cpp): Fall back to selecting system cpp when /lib/cpp is
  67468. not found.
  67469. (open_input): Call CPP using execvp.
  67470. 2012-08-07 Joseph Myers <joseph@codesourcery.com>
  67471. * sysdeps/unix/sysv/linux/kernel-features.h
  67472. (__ASSUME_PROT_GROWSUPDOWN): Remove.
  67473. (__ASSUME_NO_CLONE_DETACHED): Likewise.
  67474. (__ASSUME_GETDENTS32_D_TYPE): Likewise.
  67475. (__ASSUME_WAITID_SYSCALL): Likewise.
  67476. * sysdeps/unix/sysv/linux/dl-execstack.c
  67477. (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
  67478. code unconditional.
  67479. (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
  67480. conditional code.
  67481. * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
  67482. [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
  67483. (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
  67484. code.
  67485. * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
  67486. unconditional.
  67487. [__ASSUME_WAITID_SYSCALL]: Likewise.
  67488. [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
  67489. 2012-08-07 Roland McGrath <roland@hack.frob.com>
  67490. * sysdeps/unix/closedir.c: Renamed to ...
  67491. * sysdeps/posix/closedir.c: ... here.
  67492. * sysdeps/unix/dirfd.c: Renamed to ...
  67493. * sysdeps/posix/dirfd.c: ... here.
  67494. * sysdeps/unix/dirstream.h: Renamed to ...
  67495. * sysdeps/posix/dirstream.h: ... here.
  67496. * sysdeps/unix/fdopendir.c: Renamed to ...
  67497. * sysdeps/posix/fdopendir.c: ... here.
  67498. * sysdeps/unix/opendir.c: Renamed to ...
  67499. * sysdeps/posix/opendir.c: ... here.
  67500. * sysdeps/unix/readdir.c: Renamed to ...
  67501. * sysdeps/posix/readdir.c: ... here.
  67502. * sysdeps/unix/readdir_r.c: Renamed to ...
  67503. * sysdeps/posix/readdir_r.c: ... here.
  67504. * sysdeps/unix/rewinddir.c: Renamed to ...
  67505. * sysdeps/posix/rewinddir.c: ... here.
  67506. * sysdeps/unix/seekdir.c: Renamed to ...
  67507. * sysdeps/posix/seekdir.c: ... here.
  67508. * sysdeps/unix/telldir.c: Renamed to ...
  67509. * sysdeps/posix/telldir.c: ... here.
  67510. * sysdeps/unix/sysv/linux/opendir.c: Update #include.
  67511. * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
  67512. * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
  67513. * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
  67514. * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
  67515. * bits/fcntl.h: ... here.
  67516. * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
  67517. not 0.
  67518. (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
  67519. [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
  67520. (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
  67521. (struct flock): Move l_start, l_len to the beginning.
  67522. Use __pid_t for l_pid.
  67523. [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
  67524. [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
  67525. [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
  67526. (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
  67527. [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
  67528. [__USE_LARGEFILE64] (struct flock64): New type.
  67529. (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
  67530. * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
  67531. * bits/dirent.h: ... here.
  67532. * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
  67533. [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
  67534. 2012-08-07 Joseph Myers <joseph@codesourcery.com>
  67535. * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
  67536. Change from 2.6.0 to 2.6.16.
  67537. * sysdeps/unix/sysv/linux/configure: Regenerated.
  67538. * sysdeps/unix/sysv/linux/kernel-features.h
  67539. (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
  67540. (__ASSUME_TGKILL): Define conditional on architectures, not kernel
  67541. version.
  67542. (__ASSUME_UTIMES): Likewise.
  67543. (__ASSUME_CLONE_STOPPED): Remove.
  67544. (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
  67545. architectures, not kernel version.
  67546. (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
  67547. (__ASSUME_NO_CLONE_DETACHED): Likewise.
  67548. (__ASSUME_GETDENTS32_D_TYPE): Likewise.
  67549. (__ASSUME_WAITID_SYSCALL): Likewise.
  67550. [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
  67551. condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
  67552. * README: State 2.6.16 as minimum Linux kernel version. Do not
  67553. refer to older versions.
  67554. 2012-08-06 Roland McGrath <roland@hack.frob.com>
  67555. * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
  67556. Define alphasort64 as an alias.
  67557. * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
  67558. Define versionsort64 as an alias.
  67559. * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
  67560. Define scandir64 as an alias.
  67561. * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
  67562. Define scandirat64 as an alias.
  67563. * dirent/alphasort64.c (alphasort64):
  67564. Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
  67565. * dirent/versionsort64.c: Likewise.
  67566. * dirent/scandir64.c: Likewise.
  67567. * dirent/scandirat64.c: Likewise.
  67568. * sysdeps/wordsize-64/alphasort.c: File removed.
  67569. * sysdeps/wordsize-64/alphasort64.c: File removed.
  67570. * sysdeps/wordsize-64/scandir.c: File removed.
  67571. * sysdeps/wordsize-64/scandir64.c: File removed.
  67572. * sysdeps/wordsize-64/scandirat.c: File removed.
  67573. * sysdeps/wordsize-64/scandirat64.c: File removed.
  67574. * sysdeps/wordsize-64/versionsort.c: File removed.
  67575. * sysdeps/wordsize-64/versionsort64.c: File removed.
  67576. * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
  67577. * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
  67578. * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
  67579. * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
  67580. * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
  67581. * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
  67582. * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
  67583. * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
  67584. * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
  67585. * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
  67586. [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
  67587. * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
  67588. [defined __arch64__ || defined __sparcv9]
  67589. (__INO_T_MATCHES_INO64_T): New macro.
  67590. * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
  67591. [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
  67592. * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
  67593. * sysdeps/unix/sysv/linux/bits/dirent.h
  67594. [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
  67595. (_DIRENT_MATCHES_DIRENT64): New macro.
  67596. * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
  67597. Define lockf64 as an alias.
  67598. * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
  67599. Define fseeko64 as an alias.
  67600. * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
  67601. Define ftello64 as an alias.
  67602. * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
  67603. Define _IO_fgetpos64 and fgetpos64 as aliases.
  67604. * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
  67605. Define _IO_fsetpos64 and fsetpos64 as aliases.
  67606. * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
  67607. Conditionalize body on this.
  67608. * libio/fseeko64.c: Likewise.
  67609. * libio/ftello64.c: Likewise.
  67610. * libio/iofgetpos64.c: Likewise.
  67611. * libio/iofsetpos64.c: Likewise.
  67612. * sysdeps/wordsize-64/lockf.c: File removed.
  67613. * sysdeps/wordsize-64/lockf64.c: File removed.
  67614. * sysdeps/wordsize-64/fseeko.c: File removed.
  67615. * sysdeps/wordsize-64/fseeko64.c: File removed.
  67616. * sysdeps/wordsize-64/ftello.c: File removed.
  67617. * sysdeps/wordsize-64/ftello64.c: File removed.
  67618. * sysdeps/wordsize-64/iofgetpos.c: File removed.
  67619. * sysdeps/wordsize-64/iofgetpos64.c: File removed.
  67620. * sysdeps/wordsize-64/iofsetpos.c: File removed.
  67621. * sysdeps/wordsize-64/iofsetpos64.c: File removed.
  67622. * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
  67623. * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
  67624. * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
  67625. * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
  67626. * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
  67627. * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
  67628. * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
  67629. * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
  67630. * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
  67631. * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
  67632. * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
  67633. * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
  67634. [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
  67635. * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
  67636. [defined __arch64__ || defined __sparcv9]
  67637. (__OFF_T_MATCHES_OFF64_T): New macro.
  67638. * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
  67639. [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
  67640. * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
  67641. (__OFF_T_MATCHES_OFF64_T): New macro.
  67642. 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
  67643. * stdlib/secure-getenv.c (__secure_getenv): Replace
  67644. GLIBC_2_16 with GLIBC_2_17.
  67645. 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
  67646. * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
  67647. * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
  67648. 2012-08-03 David S. Miller <davem@davemloft.net>
  67649. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  67650. 2012-08-03 Joseph Myers <joseph@codesourcery.com>
  67651. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
  67652. Remove.
  67653. (__ASSUME_CORRECT_SI_PID): Likewise.
  67654. (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
  67655. (__ASSUME_TMPFS_NAME): Likewise.
  67656. * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
  67657. [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
  67658. * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
  67659. (HAVE_AUX_SECURE): Make definition unconditional.
  67660. * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
  67661. [!__ASSUME_TMPFS_NAME]: Remove conditional code.
  67662. 2012-08-03 Roland McGrath <roland@hack.frob.com>
  67663. * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
  67664. * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
  67665. * sysdeps/mach/hurd/eloop-threshold.h: New file.
  67666. * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
  67667. __eloop_threshold instead of SYMLOOP_MAX.
  67668. * sysdeps/generic/eloop-threshold.h: New file.
  67669. * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
  67670. of MAXSYMLINKS.
  67671. * elf/chroot_canon.c (chroot_canon): Likewise.
  67672. 2012-08-03 Joseph Myers <joseph@codesourcery.com>
  67673. [BZ #13717]
  67674. * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
  67675. Change to 2.6.0 everywhere.
  67676. * sysdeps/unix/sysv/linux/configure: Regenerated.
  67677. * sysdeps/unix/sysv/linux/kernel-features.h
  67678. (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
  67679. (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
  67680. kernel versions.
  67681. (__ASSUME_POSIX_TIMERS): Define unconditionally.
  67682. (__ASSUME_FUTEX_REQUEUE): Remove.
  67683. (__ASSUME_STATFS64): Define unconditionally.
  67684. (__ASSUME_AT_SECURE): Likewise.
  67685. (__ASSUME_CORRECT_SI_PID): Likewise.
  67686. (__ASSUME_TGKILL): Define without depending on kernel version for
  67687. i386.
  67688. (__ASSUME_UTIMES): Likewise.
  67689. (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
  67690. kernel version.
  67691. (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
  67692. (__ASSUME_TMPFS_NAME): Likewise.
  67693. * README: Update reference to Linux kernel versions.
  67694. 2012-08-02 Marek Polacek <polacek@redhat.com>
  67695. [BZ #14150]
  67696. * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
  67697. libc_cv_asm_type_prefix with %.
  67698. * configure: Regenerated.
  67699. * include/libc-symbols.h: Remove comment about
  67700. ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
  67701. (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
  67702. (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
  67703. (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
  67704. (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
  67705. * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
  67706. [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
  67707. [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
  67708. * elf/tst-unique2mod1.c: Likewise.
  67709. * elf/tst-unique1mod2.c: Likewise.
  67710. * elf/tst-unique1mod1.c: Likewise.
  67711. * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
  67712. * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
  67713. Replace ASM_TYPE_DIRECTIVE with .type.
  67714. * sysdeps/s390/s390-64/sysdep.h: Likewise.
  67715. * sysdeps/i386/sysdep.h: Likewise.
  67716. * sysdeps/x86_64/sysdep.h: Likewise.
  67717. * sysdeps/sh/sysdep.h: Likewise.
  67718. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
  67719. Do not define ASM_TYPE_DIRECTIVE.
  67720. * sysdeps/powerpc/sysdep.h: Likewise.
  67721. * sysdeps/powerpc/powerpc32/sysdep.h:
  67722. Replace ASM_TYPE_DIRECTIVE with .type.
  67723. * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
  67724. * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
  67725. * sysdeps/i386/fpu/e_powf.S: Likewise.
  67726. * sysdeps/i386/fpu/e_expl.S: Likewise.
  67727. * sysdeps/i386/fpu/e_atanhf.S: Likewise.
  67728. * sysdeps/i386/fpu/e_acosh.S: Likewise.
  67729. * sysdeps/i386/fpu/e_pow.S: Likewise.
  67730. * sysdeps/i386/fpu/s_asinhl.S: Likewise.
  67731. * sysdeps/i386/fpu/e_acoshl.S: Likewise.
  67732. * sysdeps/i386/fpu/s_expm1.S: Likewise.
  67733. * sysdeps/i386/fpu/s_frexpf.S: Likewise.
  67734. * sysdeps/i386/fpu/e_log2.S: Likewise.
  67735. * sysdeps/i386/fpu/e_log2l.S: Likewise.
  67736. * sysdeps/i386/fpu/e_scalb.S: Likewise.
  67737. * sysdeps/i386/fpu/e_powl.S: Likewise.
  67738. * sysdeps/i386/fpu/e_log10f.S: Likewise.
  67739. * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
  67740. * sysdeps/i386/fpu/e_logl.S: Likewise.
  67741. * sysdeps/i386/fpu/s_cbrt.S: Likewise.
  67742. * sysdeps/i386/fpu/s_frexpl.S: Likewise.
  67743. * sysdeps/i386/fpu/s_expm1f.S: Likewise.
  67744. * sysdeps/i386/fpu/e_log2f.S: Likewise.
  67745. * sysdeps/i386/fpu/e_acoshf.S: Likewise.
  67746. * sysdeps/i386/fpu/e_log.S: Likewise.
  67747. * sysdeps/i386/fpu/e_scalbf.S: Likewise.
  67748. * sysdeps/i386/fpu/e_logf.S: Likewise.
  67749. * sysdeps/i386/fpu/e_log10l.S: Likewise.
  67750. * sysdeps/i386/fpu/e_atanh.S: Likewise.
  67751. * sysdeps/i386/fpu/s_asinhf.S: Likewise.
  67752. * sysdeps/i386/fpu/e_log10.S: Likewise.
  67753. * sysdeps/i386/fpu/s_frexp.S: Likewise.
  67754. * sysdeps/i386/fpu/e_atanhl.S: Likewise.
  67755. * sysdeps/i386/fpu/s_asinh.S: Likewise.
  67756. * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
  67757. * sysdeps/i386/fpu/e_scalbl.S: Likewise.
  67758. * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
  67759. * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
  67760. * sysdeps/i386/i686/strtok.S: Likewise.
  67761. * sysdeps/i386/i386-mcount.S: Likewise.
  67762. * sysdeps/i386/strtok.S: Likewise.
  67763. * sysdeps/x86_64/fpu/e_expl.S: Likewise.
  67764. * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
  67765. * sysdeps/x86_64/fpu/e_powl.S: Likewise.
  67766. * sysdeps/x86_64/fpu/e_logl.S: Likewise.
  67767. * sysdeps/x86_64/fpu/e_expf.S: Likewise.
  67768. * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
  67769. * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
  67770. * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
  67771. * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
  67772. * sysdeps/x86_64/_mcount.S: Likewise.
  67773. * sysdeps/x86_64/strtok.S: Likewise.
  67774. * sysdeps/sh/_mcount.S: Likewise.
  67775. 2012-08-01 Roland McGrath <roland@hack.frob.com>
  67776. * libio/iofopen.c: Include <fcntl.h>.
  67777. [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
  67778. (_IO_fopen64, fopen64): Define as aliases.
  67779. * libio/iofopen64.c: Include <fcntl.h>.
  67780. [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
  67781. Conditionalize body on this.
  67782. * sysdeps/wordsize-64/iofopen.c: File removed.
  67783. * sysdeps/wordsize-64/iofopen64.c: File removed.
  67784. 2012-08-01 Marek Polacek <polacek@redhat.com>
  67785. * libc/Makeconfig: Use elf in place of binfmt-subdir.
  67786. Use dlfcn directly instead of a variable.
  67787. (binfmt-subdir): Do not define.
  67788. (dlfcn): Likewise.
  67789. 2012-08-01 Joseph Myers <joseph@codesourcery.com>
  67790. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
  67791. Remove all definitions.
  67792. * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
  67793. <kernel-features.h>.
  67794. [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
  67795. (miss_F_GETOWN_EX): Remove all definitions.
  67796. [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
  67797. macro definition.
  67798. [!__ASSUME_FCNTL64]: Remove conditional code.
  67799. [__ASSUME_FCNTL64]: Make code unconditional.
  67800. * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
  67801. <kernel-features.h>.
  67802. [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
  67803. (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
  67804. (lockf64) [__NR_fcntl64]: Make code unconditional.
  67805. (lockf64) [__ASSUME_FCNTL64]: Likewise.
  67806. * sysdeps/unix/sysv/linux/kernel-features.h
  67807. (__ASSUME_VFORK_SYSCALL): Remove all definitions.
  67808. * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
  67809. Make code unconditional.
  67810. (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
  67811. (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
  67812. * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
  67813. [__NR_vfork]: Make code unconditional.
  67814. (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
  67815. (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
  67816. * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
  67817. [__NR_vfork]: Make code unconditional.
  67818. (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
  67819. (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
  67820. 2012-08-01 Roland McGrath <roland@hack.frob.com>
  67821. * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
  67822. (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
  67823. * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
  67824. Define mkstemp64 as an alias.
  67825. * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
  67826. Define mkstemps64 as an alias.
  67827. * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
  67828. Define mkostemp64 as an alias.
  67829. * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
  67830. Define mkostemps64 as an alias.
  67831. * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
  67832. Conditionalize body on this.
  67833. * misc/mkostemp64.c: Likewise.
  67834. * misc/mkostemps64.c: Likewise.
  67835. * misc/mkstemps64.c: Likewise.
  67836. * sysdeps/wordsize-64/mkstemp64.c: File removed.
  67837. * sysdeps/wordsize-64/mkostemp64.c: File removed.
  67838. * sysdeps/wordsize-64/mkostemp.c: File removed.
  67839. * sysdeps/wordsize-64/mkstemp.c: File removed.
  67840. * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
  67841. * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
  67842. * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
  67843. * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
  67844. [BZ #14138]
  67845. * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
  67846. * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
  67847. * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
  67848. * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
  67849. * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
  67850. compat_symbol macros from <shlib-compat.h> rather than the underlying
  67851. default_symbol_version and symbol_version macros, so that DEFAULT
  67852. lines in shlib-versions are respected.
  67853. * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
  67854. 2012-08-01 Florian Weimer <fweimer@redhat.com>
  67855. [BZ #2705]
  67856. * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
  67857. Declare with warn_unused_result.
  67858. (setgid, setregid, setegid, setresgid): Likewise.
  67859. * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
  67860. Likewise.
  67861. * WUR-REPORT: Remove set*id functions.
  67862. 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
  67863. * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
  67864. 2012-07-31 Roland McGrath <roland@hack.frob.com>
  67865. [BZ #10191]
  67866. * include/sys/socket.h (__libc_accept, __libc_accept4):
  67867. Add attribute_hidden.
  67868. * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
  67869. * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
  67870. use of PTR_MANGLE.
  67871. * inet/getnetgrent_r.c (setup): Likewise.
  67872. * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
  67873. 2012-07-31 David S. Miller <davem@davemloft.net>
  67874. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  67875. 2012-07-31 Joseph Myers <joseph@codesourcery.com>
  67876. [BZ #13629]
  67877. * math/s_clog.c (__clog): Use __log1p if larger part has absolute
  67878. value between 1.0 and 2.0 and smaller part has absolute value less
  67879. than 1.0.
  67880. * math/s_clog10.c (__clog10): Likewise.
  67881. * math/s_clog10f.c (__clog10f): Likewise.
  67882. * math/s_clog10l.c (__clog10l): Likewise.
  67883. * math/s_clogf.c (__clogf): Likewise.
  67884. * math/s_clogl.c (__clogl): Likewise.
  67885. * math/libm-test.inc (clog_test): Add more tests.
  67886. (clog10_test): Likewise.
  67887. * sysdeps/i386/fpu/libm-test-ulps: Update.
  67888. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  67889. 2012-07-31 Florian Weimer <fweimer@redhat.com>
  67890. * stdlib/tst-secure-getenv.c: Use printf for error reporting.
  67891. Exit with zero in case no suitable GID is found, and write a
  67892. message to standard error.
  67893. 2012-07-30 Roland McGrath <roland@hack.frob.com>
  67894. * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
  67895. rather than to 1.
  67896. (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
  67897. (MAXPATHLEN): Removed.
  67898. (NOGROUP, NODEV): New macros.
  67899. (setbit, clrbit, isset, isclr): New macros.
  67900. (howmany, roundup, powerof2): New macros.
  67901. (DEV_BSIZE): New macro.
  67902. * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
  67903. * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
  67904. * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
  67905. definition on [!__NO_LONG_DOUBLE_MATH].
  67906. * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
  67907. PTR_MANGLE and PTR_DEMANGLE.
  67908. * socket/accept4.c (accept4): Rename to __libc_accept4.
  67909. Define accept4 as a weak alias.
  67910. * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
  67911. on [_DIRENT_HAVE_D_TYPE].
  67912. * io/ftw.c (ftw_dir): Likewise.
  67913. * io/xmknod.c (__xmknod): Don't check PATH for being null.
  67914. * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
  67915. * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
  67916. Use the BSD numbers rather than the arbitrary ones we had.
  67917. (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
  67918. (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
  67919. (SIGXCPU, SIGXFSZ): New macros.
  67920. (_NSIG): Now 32.
  67921. * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
  67922. initializer on [_LIBC_REENTRANT].
  67923. * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
  67924. definitions inside [_POSIX_MAPPED_FILES].
  67925. * posix/regex.c: Include <sys/param.h> for MIN/MAX.
  67926. * dirent/opendir.c: Include <fcntl.h>.
  67927. * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
  67928. (__libc_getspecific): Likewise.
  67929. (__libc_key_create): Likewise.
  67930. * stdio-common/tmpfile64.c: Include <fcntl.h> first.
  67931. [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
  67932. * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
  67933. (tmpfile64): Define as alias.
  67934. * sysdeps/wordsize-64/tmpfile.c: File removed.
  67935. * sysdeps/wordsize-64/tmpfile64.c: File removed.
  67936. * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
  67937. * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
  67938. * stdio-common/vfscanf.c: Include <stdbool.h>.
  67939. * nss/makedb.c: Likewise.
  67940. * stdio-common/_i18n_number.h: Likewise.
  67941. * argp/argp-help.c: Likewise.
  67942. * posix/wordexp.c: Likewise.
  67943. * sysdeps/posix/spawni.c: Likewise.
  67944. * nss/nss_files/files-initgroups.c: Likewise.
  67945. * stdio-common/reg-modifier.c: Include <stdlib.h>.
  67946. * nss/nss_files/files-initgroups.c: Likewise.
  67947. * nss/nss_db/db-netgrp.c: Likewise.
  67948. * nss/nss_db/db-initgroups.c: Likewise.
  67949. * io/fchmodat.c: Include <sys/stat.h>.
  67950. * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
  67951. __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
  67952. * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
  67953. [HAVE_MMAP].
  67954. * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
  67955. Add multiple inclusion protection.
  67956. 2012-07-27 David S. Miller <davem@davemloft.net>
  67957. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  67958. 2012-07-27 Gary Benson <gbenson@redhat.com>
  67959. [BZ #14298]
  67960. * elf/rtld.c: Include <stap-probe.h>.
  67961. (dl_main): Added static probes "init_start" and "init_complete".
  67962. * elf/dl-load.c: Include <stap-probe.h>.
  67963. (lose): Take new parameter "nsid".
  67964. Added static probe "map_failed".
  67965. (_dl_map_object_from_fd): Pass namespace id to lose.
  67966. Added static probe "map_start".
  67967. (open_verify): Pass namespace id to lose.
  67968. * elf/dl-open.c: Include <stap-probe.h>.
  67969. (dl_open_worker) Added static probes "map_complete", "reloc_start"
  67970. and "reloc_complete".
  67971. * elf/dl-close.c: Include <stap-probe.h>.
  67972. (_dl_close_worker): Added static probes "unmap_start" and
  67973. "unmap_complete".
  67974. * elf/rtld-debugger-interface.txt: New file documenting the above.
  67975. 2012-07-26 Roland McGrath <roland@hack.frob.com>
  67976. * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
  67977. rather than a string variable.
  67978. * sunrpc/rpc_main.c (h_output): Likewise.
  67979. * sunrpc/rpc_svcout.c (write_real_program): Likewise.
  67980. 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
  67981. * inet/check_native.c: New file.
  67982. 2012-07-26 Joseph Myers <joseph@codesourcery.com>
  67983. [BZ #13629]
  67984. * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
  67985. if larger part has absolute value 1.0.
  67986. * math/s_clog10.c (__clog10): Likewise.
  67987. * math/s_clog10f.c (__clog10f): Likewise.
  67988. * math/s_clog10l.c (__clog10l): Likewise.
  67989. * math/s_clogf.c (__clogf): Likewise.
  67990. * math/s_clogl.c (__clogl): Likewise.
  67991. * math/libm-test.inc (clog_test): Add more tests.
  67992. (clog10_test): Likewise.
  67993. * sysdeps/i386/fpu/libm-test-ulps: Update.
  67994. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  67995. * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
  67996. (pltexit): Likewise.
  67997. (La_regs): Likewise.
  67998. (La_retval): Likewise.
  67999. (int_retval): Likewise.
  68000. Update #error for removed macros to refer only to definitions in
  68001. tst-audit.h.
  68002. * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
  68003. macro.
  68004. (pltexit): Likewise.
  68005. (La_regs): Likewise.
  68006. (La_retval): Likewise.
  68007. (int_retval): Likewise.
  68008. * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
  68009. macro.
  68010. (pltexit): Likewise.
  68011. (La_regs): Likewise.
  68012. (La_retval): Likewise.
  68013. (int_retval): Likewise.
  68014. * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
  68015. macro.
  68016. (pltexit): Likewise.
  68017. (La_regs): Likewise.
  68018. (La_retval): Likewise.
  68019. (int_retval): Likewise.
  68020. * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
  68021. macro.
  68022. (pltexit): Likewise.
  68023. (La_regs): Likewise.
  68024. (La_retval): Likewise.
  68025. (int_retval): Likewise.
  68026. * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
  68027. macro.
  68028. (pltexit): Likewise.
  68029. (La_regs): Likewise.
  68030. (La_retval): Likewise.
  68031. (int_retval): Likewise.
  68032. * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
  68033. macro.
  68034. (pltexit): Likewise.
  68035. (La_regs): Likewise.
  68036. (La_retval): Likewise.
  68037. (int_retval): Likewise.
  68038. * sysdeps/generic/tst-audit.h: Update comment to refer only to
  68039. macro definitions in tst-audit.h.
  68040. * sysdeps/i386/tst-audit.h: New file.
  68041. * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
  68042. * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
  68043. * sysdeps/s390/s390-32/tst-audit.h: Likewise.
  68044. * sysdeps/s390/s390-64/tst-audit.h: Likewise.
  68045. * sysdeps/sh/tst-audit.h: Likewise.
  68046. * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
  68047. * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
  68048. * sysdeps/x86_64/tst-audit.h: Likewise.
  68049. 2012-07-26 Andreas Jaeger <aj@suse.de>
  68050. * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
  68051. ptrace.
  68052. * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
  68053. new value PTRACE_EVENT_SECCOMP from Linux 3.5.
  68054. (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
  68055. PTRACE_O_MASK.
  68056. * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
  68057. * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
  68058. * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
  68059. * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
  68060. value.
  68061. * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
  68062. _sigsys.
  68063. (si_call_addr, si_syscall, si_arch): Define new macro.
  68064. * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
  68065. _sigsys.
  68066. (si_call_addr, si_syscall, si_arch): Define new marcro.
  68067. * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
  68068. _sigsys.
  68069. (si_call_addr, si_syscall, si_arch): Define new macro.
  68070. * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
  68071. _sigsys.
  68072. (si_call_addr, si_syscall, si_arch): Define new macro.
  68073. 2012-07-25 Joseph Myers <joseph@codesourcery.com>
  68074. [BZ #13717]
  68075. * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
  68076. Change to 2.4.21 where previously 2.4.1.
  68077. * sysdeps/unix/sysv/linux/configure: Regenerated.
  68078. * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
  68079. __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
  68080. Linux kernel version.
  68081. (__ASSUME_STD_AUXV): Remove.
  68082. [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
  68083. kernel version.
  68084. [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
  68085. (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
  68086. (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
  68087. (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
  68088. (__ASSUME_NETLINK_SUPPORT): Likewise.
  68089. * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
  68090. (__no_netlink_support): Remove conditional definition.
  68091. * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
  68092. Remove.
  68093. (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
  68094. [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
  68095. * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
  68096. (if_nameindex_ioctl): Remove.
  68097. (if_nameindex_netlink): Do not handle __no_netlink_support.
  68098. (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
  68099. code.
  68100. * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
  68101. Remove conditional code.
  68102. (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
  68103. code.
  68104. (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
  68105. unconditional.
  68106. [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
  68107. [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
  68108. * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
  68109. Remove.
  68110. * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
  68111. [!__ASSUME_STD_AUXV]: Remove conditional code.
  68112. * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
  68113. [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
  68114. [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
  68115. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
  68116. [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
  68117. (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
  68118. code.
  68119. [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
  68120. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
  68121. [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
  68122. (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
  68123. conditional code.
  68124. [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
  68125. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
  68126. (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
  68127. code.
  68128. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
  68129. (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
  68130. conditional code.
  68131. * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
  68132. (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
  68133. code unconditional.
  68134. (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
  68135. conditional code.
  68136. (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
  68137. unconditional.
  68138. (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
  68139. conditional code.
  68140. * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
  68141. (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
  68142. unconditional.
  68143. (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
  68144. conditional code.
  68145. * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
  68146. (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
  68147. code unconditional.
  68148. (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
  68149. conditional code.
  68150. (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
  68151. unconditional.
  68152. (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
  68153. conditional code.
  68154. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
  68155. (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
  68156. code unconditional.
  68157. (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
  68158. conditional code.
  68159. (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
  68160. unconditional.
  68161. (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
  68162. conditional code.
  68163. 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
  68164. * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
  68165. * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
  68166. * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
  68167. * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
  68168. * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
  68169. * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
  68170. * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
  68171. * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
  68172. * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
  68173. * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
  68174. * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
  68175. * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
  68176. * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
  68177. * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
  68178. * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
  68179. * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
  68180. * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
  68181. * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
  68182. * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
  68183. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
  68184. * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
  68185. * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
  68186. * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
  68187. 2012-07-25 Florian Weimer <fweimer@redhat.com>
  68188. * Versions.def: Add GLIBC_2.17.
  68189. * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
  68190. * include/stdlib.h: Rename __secure_getenv to secure_getenv.
  68191. Introduce __libc_secure_getenv.
  68192. * stdlib/Versions (2.17): Add secure_getenv
  68193. (GLIBC_PRIVATE): Add __libc_secure_getenv.
  68194. * stdlib/secure-getenv.c: Rename __secure_getenv to
  68195. __libc_secure_getenv. Add secure_getenv alias. Add compatibility
  68196. symbol __secure_getenv for GLIBC_2.0.
  68197. * stdlib/tst-secure-getenv.c: New.
  68198. * stdlib/Makefile (tests): Add testcase.
  68199. * manual/startup.texi (Environment Access): Document
  68200. secure_getenv.
  68201. * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
  68202. __libc_secure_getenv.
  68203. * inet/ruserpass.c (ruserpass): Likewise.
  68204. * malloc/mtrace.c (mtrace): Likewise.
  68205. * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
  68206. * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
  68207. * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
  68208. * sysdeps/posix/tempname.c: Likewise. Evaluate
  68209. HAVE_SECURE_GETENV.
  68210. * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
  68211. __secure_getenv to __libc_secure_getenv.
  68212. * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
  68213. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
  68214. Likewise.
  68215. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
  68216. Likewise.
  68217. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
  68218. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
  68219. * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
  68220. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
  68221. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
  68222. * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
  68223. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
  68224. 2012-07-25 Joseph Myers <joseph@codesourcery.com>
  68225. * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
  68226. (struct La_i86_retval): Likewise.
  68227. (struct La_x86_64_regs): Likewise.
  68228. (struct La_x86_64_retval): Likewise.
  68229. (struct La_x32_regs): Likewise.
  68230. (struct La_x32_retval): Likewise.
  68231. (struct La_ppc32_regs): Likewise.
  68232. (struct La_ppc32_retval): Likewise.
  68233. (struct La_ppc64_regs): Likewise.
  68234. (struct La_ppc64_retval): Likewise.
  68235. (struct La_sh_regs): Likewise.
  68236. (struct La_sh_retval): Likewise.
  68237. (struct La_s390_32_regs): Likewise.
  68238. (struct La_s390_32_retval): Likewise.
  68239. (struct La_s390_64_regs): Likewise.
  68240. (struct La_s390_64_retval): Likewise.
  68241. (struct La_sparc32_regs): Likewise.
  68242. (struct La_sparc32_retval): Likewise.
  68243. (struct La_sparc64_regs): Likewise.
  68244. (struct La_sparc64_retval): Likewise.
  68245. (struct audit_ifaces): Remove architecture-specific pltenter and
  68246. pltexit members.
  68247. * sysdeps/i386/ldsodefs.h: New file.
  68248. * sysdeps/powerpc/ldsodefs.h: Likewise.
  68249. * sysdeps/s390/ldsodefs.h: Likewise.
  68250. * sysdeps/sh/ldsodefs.h: Likewise.
  68251. * sysdeps/sparc/ldsodefs.h: Likewise.
  68252. * sysdeps/x86_64/ldsodefs.h: Likewise.
  68253. 2012-07-25 Marek Polacek <polacek@redhat.com>
  68254. [BZ #6808]
  68255. * math/libm-test.inc (yn_test): Add another test.
  68256. * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
  68257. to ERANGE when the result is +-Inf.
  68258. * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
  68259. * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
  68260. * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
  68261. * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
  68262. 2012-07-24 Joseph Myers <joseph@codesourcery.com>
  68263. * conform/data/time.h-data (NULL): Use macro-constant. Require
  68264. equal to 0.
  68265. (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
  68266. clock_t.
  68267. [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
  68268. 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
  68269. * configure.in <sysdeps resolving>: Correct printing
  68270. Implies_before.
  68271. * configure: Regenerate.
  68272. 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
  68273. * math/w_ilogb.c: Include <limits.h>.
  68274. * math/w_ilogbl.c: Likewise.
  68275. 2012-07-20 Joseph Myers <joseph@codesourcery.com>
  68276. * manual/lang.texi (__va_copy): Document primarily as ISO C99
  68277. va_copy. Document allowing for unavailable va_copy only as
  68278. pre-C99 compatibility.
  68279. * manual/string.texi (Copying and Concatenation): Use va_copy
  68280. instead of __va_copy in concat example.
  68281. 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
  68282. * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
  68283. (__sendto): Use create_address_port. Initialize APORT and deallocate
  68284. it if not null.
  68285. * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
  68286. with O_NOLINK passed to __file_name_lookup.
  68287. * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
  68288. with O_NOLINK passed to __file_name_lookup.
  68289. * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
  68290. negative N or less than NGIDS.
  68291. * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
  68292. type to string_t. Set ERANGE as errno and return it if NAME is not big
  68293. enough. Use memcpy instead of strncpy.
  68294. 2012-07-20 Joseph Myers <joseph@codesourcery.com>
  68295. * elf/Makefile (check-data): Remove.
  68296. (localplt.data): New vpath directive.
  68297. ($(objpfx)check-localplt.out): Use localplt.data from vpath
  68298. instead of $(check-data).
  68299. * scripts/data/localplt-generic.data: Move to ...
  68300. * sysdeps/generic/localplt.data: ... here.
  68301. * scripts/data/localplt-i386-linux-gnu.data: Move to ...
  68302. * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
  68303. * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
  68304. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
  68305. ... here.
  68306. * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
  68307. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
  68308. ... here.
  68309. * scripts/data/localplt-s390-linux-gnu.data: Move to ...
  68310. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
  68311. ... here.
  68312. * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
  68313. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
  68314. ... here.
  68315. * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
  68316. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
  68317. ... here.
  68318. * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
  68319. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
  68320. ... here.
  68321. 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  68322. * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
  68323. PPC32 and PPC64 files.
  68324. * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
  68325. * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
  68326. 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  68327. * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
  68328. __makecontext_ret to ...
  68329. * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
  68330. ... here and call exit if uc_link is NULL. New file.
  68331. * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
  68332. __makecontext_ret.S.
  68333. * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
  68334. __makecontext_ret to ...
  68335. * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
  68336. ... here and call exit if uc_link is NULL. New file.
  68337. * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
  68338. __makecontext_ret.S.
  68339. 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  68340. * elf/elf.h (R_390_IRELATIVE): New definition.
  68341. * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
  68342. resolver function for IFUNC symbols. Support R_390_IRELATIVE.
  68343. (elf_machine_lazy_rel): Support R_390_IRELATIVE.
  68344. * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
  68345. (elf_machine_lazy_rel): Likewise.
  68346. * sysdeps/s390/dl-irel.h: New file.
  68347. * sysdeps/s390/s390-64/memcpy.S: New asm code.
  68348. * sysdeps/s390/s390-64/memset.S: New asm code.
  68349. * sysdeps/s390/s390-64/memcmp.S: New asm code.
  68350. * sysdeps/s390/s390-64/multiarch/memset.S: New file.
  68351. * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
  68352. * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
  68353. * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
  68354. * sysdeps/s390/s390-64/multiarch/Makefile: New file.
  68355. * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
  68356. * sysdeps/s390/s390-32/multiarch/Makefile: New file.
  68357. * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
  68358. * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
  68359. * sysdeps/s390/s390-32/multiarch/memset.S: New file.
  68360. * sysdeps/s390/s390-32/memcpy.S: New asm code.
  68361. * sysdeps/s390/s390-32/memset.S: New asm code.
  68362. * sysdeps/s390/s390-32/memcmp.S: New asm code.
  68363. 2012-07-17 Marek Polacek <polacek@redhat.com>
  68364. [BZ #14349]
  68365. * sysdeps/s390/s390-32/configure.in: Remove TLS check.
  68366. * sysdeps/s390/s390-64/configure.in: Likewise.
  68367. * sysdeps/sparc/configure.in: Likewise.
  68368. * sysdeps/powerpc/powerpc32/configure.in: Likewise.
  68369. * sysdeps/powerpc/powerpc64/configure.in: Likewise.
  68370. * sysdeps/i386/configure.in: Likewise.
  68371. * sysdeps/x86_64/configure.in: Likewise.
  68372. * sysdeps/sh/configure.in: Likewise.
  68373. * sysdeps/s390/s390-32/configure: Regenerated.
  68374. * sysdeps/s390/s390-64/configure: Likewise.
  68375. * sysdeps/x86_64/configure: Likewise.
  68376. * sysdeps/sh/configure: Likewise.
  68377. * sysdeps/powerpc/powerpc64/configure: Likewise.
  68378. * sysdeps/powerpc/powerpc32/configure: Likewise.
  68379. * sysdeps/sparc/configure: Likewise.
  68380. * sysdeps/i386/configure: Likewise.
  68381. * elf/dl-open.c: Comment fixes.
  68382. 2012-07-17 Joseph Myers <joseph@codesourcery.com>
  68383. * Makefile [CXX] (check-data): Remove.
  68384. [CXX] (c++-types.data): New vpath directive.
  68385. [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
  68386. vpath. Do not allow for C++ type data being missing.
  68387. * scripts/data/c++-types-alpha-linux-gnu.data: Move to
  68388. ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
  68389. * scripts/data/c++-types-ia64-linux-gnu.data: Move to
  68390. ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
  68391. * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
  68392. * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
  68393. * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
  68394. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
  68395. ... here.
  68396. * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
  68397. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
  68398. ... here.
  68399. * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
  68400. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
  68401. ... here.
  68402. * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
  68403. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
  68404. ... here.
  68405. * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
  68406. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
  68407. ... here.
  68408. * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
  68409. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
  68410. ... here.
  68411. * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
  68412. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
  68413. ... here.
  68414. * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
  68415. * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
  68416. * elf/tls-macros.h (TLS_LE): Move architecture-specific
  68417. definitions to architecture-specific files.
  68418. (TLS_IE): Likewise.
  68419. (TLS_LD): Likewise.
  68420. (TLS_GD): Likewise.
  68421. * sysdeps/i386/tls-macros.h: New file.
  68422. * sysdeps/powerpc/tls-macros.h: Likewise.
  68423. * sysdeps/s390/s390-32/tls-macros.h: Likewise.
  68424. * sysdeps/s390/s390-64/tls-macros.h: Likewise.
  68425. * sysdeps/sh/tls-macros.h: Likewise.
  68426. * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
  68427. * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
  68428. * sysdeps/x86_64/tls-macros.h: Likewise.
  68429. 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
  68430. * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
  68431. zero value for regular exit case.
  68432. * sysdeps/unix/sysv/linux/x86_64/__start_context.S
  68433. (__start_context): Preserve zero value for regular exit case.
  68434. 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
  68435. Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  68436. * manual/setjmp.texi (setcontext): Clarify normal process
  68437. termination when uc_link is the null pointer.
  68438. * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
  68439. exit call.
  68440. 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
  68441. * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
  68442. preprocessor. Test for each exception mask separately.
  68443. 2012-07-16 Andreas Jaeger <aj@suse.de>
  68444. * po/ru.po: Update from translation team.
  68445. 2012-07-15 Joseph Myers <joseph@codesourcery.com>
  68446. * conform/data/string.h-data (NULL): Use macro-constant. Require
  68447. equal to 0.
  68448. [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
  68449. (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
  68450. (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
  68451. (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
  68452. [ISO || ISO99 || ISO11] (*_t): Do not allow.
  68453. 2012-07-13 Andreas Jaeger <aj@suse.de>
  68454. * po/fr.po: Update from translation team.
  68455. 2012-07-12 Marek Polacek <polacek@redhat.com>
  68456. [BZ #14173]
  68457. * math/libm-test.inc (yn_test): Add test for BZ #14173.
  68458. * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
  68459. loop condition.
  68460. 2012-07-12 Joseph Myers <joseph@codesourcery.com>
  68461. [BZ #13717]
  68462. * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
  68463. Change to 2.4.1 where previously 2.4.0.
  68464. * sysdeps/unix/sysv/linux/configure: Regenerated.
  68465. * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
  68466. (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
  68467. version.
  68468. [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
  68469. (__ASSUME_AT_CLKTCK): Remove.
  68470. (__ASSUME_AT_PAGESIZE): Likewise.
  68471. (__ASSUME_AT_XID): Likewise.
  68472. (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
  68473. [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
  68474. * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
  68475. unconditionally.
  68476. (HAVE_AUX_PAGESIZE): Likewise.
  68477. * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
  68478. [__ASSUME_AT_CLKTCK]: Make code unconditional.
  68479. [!__ASSUME_AT_CLKTCK]: Remove conditional code.
  68480. 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
  68481. [BZ #14307]
  68482. * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
  68483. the temporary buffer used to invoke __gethostbyname2_r,
  68484. __gethostbyaddr_r and gethostbyname4_r to make room for struct
  68485. host_data / struct gaih_addrtuple.
  68486. * resolv/nss_dns/dns-host.c (global scope): Move definition of
  68487. implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
  68488. header file nss/nsswitch.h.
  68489. * nss/nsswitch.h (global scope): Add definition of implementation
  68490. constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
  68491. resolv/nss_dns/dns-host.c).
  68492. 2012-07-11 Andreas Jaeger <aj@suse.de>
  68493. * po/fr.po: Update from translation team.
  68494. * po/sv.po: Update from translation team
  68495. * po/fr.po: Another update from translation team.
  68496. 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  68497. * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
  68498. for subnormals or multiply small sinh result by itself.
  68499. * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
  68500. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  68501. 2012-07-11 David S. Miller <davem@davemloft.net>
  68502. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  68503. 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
  68504. [BZ #14347]
  68505. * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
  68506. (INTERNAL_MARK): Shift it here.
  68507. 2012-07-10 Marek Polacek <polacek@redhat.com>
  68508. [BZ #14151]
  68509. * configure.in (libc_cv_asm_global_directive): Remove test. Replace
  68510. libc_cv_asm_global_directive with .globl.
  68511. * configure: Regenerated.
  68512. * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
  68513. with .globl.
  68514. * sysdeps/i386/configure: Regenerated.
  68515. * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
  68516. with .globl.
  68517. * sysdeps/x86_64/configure: Regenerated.
  68518. * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
  68519. * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
  68520. * elf/tst-unique2mod2.c: Likewise.
  68521. * elf/tst-unique2mod1.c: Likewise.
  68522. * elf/tst-unique1mod2.c: Likewise.
  68523. * elf/tst-unique1mod1.c: Likewise.
  68524. * sysdeps/s390/s390-32/sysdep.h: Likewise.
  68525. * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
  68526. * sysdeps/s390/s390-64/sysdep.h: Likewise.
  68527. * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
  68528. * sysdeps/mach/sysdep.h: Likewise.
  68529. * sysdeps/i386/sysdep.h: Likewise.
  68530. * sysdeps/i386/i386-mcount.S: Likewise.
  68531. * sysdeps/x86_64/_mcount.S: Likewise.
  68532. * sysdeps/x86_64/sysdep.h: Likewise.
  68533. * sysdeps/sh/_mcount.S: Likewise.
  68534. * sysdeps/sh/sysdep.h: Likewise.
  68535. * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
  68536. * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
  68537. * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
  68538. * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
  68539. * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
  68540. * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
  68541. * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
  68542. * locale/localeinfo.h: Likewise.
  68543. (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
  68544. (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
  68545. 2012-07-09 Roland McGrath <roland@hack.frob.com>
  68546. [BZ #14336]
  68547. * manual/charset.texi (Extended Char Intro): Word use fix, "operating
  68548. system".
  68549. * manual/message.texi (The Uniforum approach): Likewise.
  68550. * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
  68551. (glibc iconv Implementation): Likewise.
  68552. 2012-07-09 Joseph Myers <joseph@codesourcery.com>
  68553. [BZ #14337]
  68554. * math/s_clog.c (__clog): Avoid scaling a value down where that
  68555. could result in underflow.
  68556. * math/s_clog10.c (__clog10): Likewise.
  68557. * math/s_clog10f.c (__clog10f): Likewise.
  68558. * math/s_clog10l.c (__clog10l): Likewise.
  68559. * math/s_clogf.c (__clogf): Likewise.
  68560. * math/s_clogl.c (__clogl): Likewise.
  68561. * math/libm-test.inc (clog_test): Add more tests.
  68562. (clog10_test): Likewise.
  68563. * sysdeps/i386/fpu/libm-test-ulps: Update.
  68564. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  68565. 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
  68566. [BZ #14283]
  68567. * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
  68568. by 7 not 8 to examine high bit of fractional part.
  68569. [BZ #14042]
  68570. * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
  68571. for call to __mcount_internal.
  68572. * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
  68573. (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
  68574. * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
  68575. 2012-07-06 Joseph Myers <joseph@codesourcery.com>
  68576. [BZ #14154]
  68577. * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
  68578. approximation for values within 0x1p-13f of an odd multiple of
  68579. pi/4.
  68580. * math/libm-test.inc (tan_test): Do not allow spurious underflow
  68581. exception. Add more tests.
  68582. * sysdeps/i386/fpu/libm-test-ulps: Update.
  68583. [BZ #6778]
  68584. * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
  68585. inputs and return -1 for them. Do not check for +Inf in case not
  68586. reachable for +Inf.
  68587. * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
  68588. * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
  68589. (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
  68590. and return -1 for them. Do not check for +Inf in case not
  68591. reachable for +Inf.
  68592. * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
  68593. define.
  68594. (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
  68595. and return -1 for them. Do not check for +Inf in case not
  68596. reachable for +Inf.
  68597. * math/libm-test.inc (expm1_test): Add more tests. Do not allow
  68598. spurious underflow.
  68599. * sysdeps/i386/fpu/libm-test-ulps: Update.
  68600. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  68601. 2012-07-06 Mike Frysinger <vapier@gentoo.org>
  68602. * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
  68603. 2012-07-05 Joseph Myers <joseph@codesourcery.com>
  68604. [BZ #14157]
  68605. [BZ #14331]
  68606. * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
  68607. could result in spurious underflow. Scale down values above
  68608. DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
  68609. * math/s_csqrtf.c (__csqrtf): Likewise.
  68610. * math/s_csqrtl.c (__csqrtl): Likewise.
  68611. * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
  68612. spurious underflow.
  68613. * sysdeps/i386/fpu/libm-test-ulps: Update.
  68614. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  68615. 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
  68616. * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
  68617. xopen-msg.sed.
  68618. * catgets/xopen-msg.awk: New file.
  68619. * catgets/xopen-msg.sed: Removed.
  68620. * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
  68621. po2text.sed.
  68622. * intl/po2test.awk: New file.
  68623. * intl/po2test.sed: Removed.
  68624. 2012-07-04 Joseph Myers <joseph@codesourcery.com>
  68625. [BZ #14328]
  68626. * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
  68627. or multiply small sinh result by itself.
  68628. * math/s_ctanf.c (__ctanf): Likewise.
  68629. * math/s_ctanh.c (__ctanh): Likewise.
  68630. * math/s_ctanhf.c (__ctanhf): Likewise.
  68631. * math/s_ctanhl.c (__ctanhl): Likewise.
  68632. * math/s_ctanl.c (__ctanl): Likewise.
  68633. * math/libm-test.inc (ctan_test_tonearest): New function.
  68634. (ctan_test_towardzero): Likewise.
  68635. (ctan_test_downward): Likewise.
  68636. (ctan_test_upward): Likewise.
  68637. (ctanh_test_tonearest): Likewise.
  68638. (ctanh_test_towardzero): Likewise.
  68639. (ctanh_test_downward): Likewise.
  68640. (ctanh_test_upward): Likewise.
  68641. (main): Call these new functions.
  68642. * sysdeps/i386/fpu/libm-test-ulps: Update.
  68643. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  68644. 2012-07-03 Mike Frysinger <vapier@gentoo.org>
  68645. * .gitignore: Delete /ports entry.
  68646. 2012-07-03 Andreas Jaeger <aj@suse.de>
  68647. * po/bg.po: Update from translation team.
  68648. * po/cs.po: Likewise.
  68649. * po/de.po: Likewise.
  68650. * po/hr.po: Likewise.
  68651. * po/nl.pl: Likewise.
  68652. * po/pl.po: Likewise.
  68653. * po/vi.po: Likewise.
  68654. 2012-07-03 Joseph Myers <joseph@codesourcery.com>
  68655. * Makeconfig [!+link] (+link-before-libc): New variable.
  68656. [!+link] (+link-after-libc): Likewise.
  68657. [!+link] (+link-tests): Likewise.
  68658. [!+link] (+link): Define in terms of $(+link-before-libc) and
  68659. $(+link-after-libc).
  68660. [!+link-static] (+link-static-before-libc): New variable.
  68661. [!+link-static] (+link-static-after-libc): Likewise.
  68662. [!+link-static] (+link-static-tests): Likewise.
  68663. [!+link-static] (+link-static): Define in terms of
  68664. $(+link-static-before-libc) and $(+link-static-after-libc).
  68665. [build-shared] (link-libc-before-gnulib): New variable.
  68666. [build-shared] (link-libc-tests): Likewise.
  68667. [build-shared] (link-libc): Define in terms of
  68668. $(link-libc-before-gnulib).
  68669. [!build-shared] (link-libc-tests): New variable.
  68670. (link-libc-static-tests): New variable.
  68671. [!gnulib] (gnulib-arch): New variable.
  68672. [!gnulib] (gnulib-tests): Likewise.
  68673. [!gnulib] (static-gnulib-arch): Likewise.
  68674. [!gnulib] (static-gnulib-tests): Likewise.
  68675. [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
  68676. Define with "=" instead of ":=".
  68677. [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
  68678. -lgcc_eh $(libunwind). Define with "=" instead of ":=".
  68679. * Rules (binaries-all-notests): New variable.
  68680. (binaries-all-tests): Likewise.
  68681. (binaries-static-notests): Likewise.
  68682. (binaries-static-tests): Likewise.
  68683. (binaries-all): Define using $(binaries-all-notests) and
  68684. $(binaries-all-tests).
  68685. (binaries-static): Define using $(binaries-static-notests) and
  68686. $(binaries-static-tests).
  68687. (binaries-shared-tests): New variable.
  68688. (binaries-shared-notests): Likewise.
  68689. (binaries-shared): Remove variable.
  68690. ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
  68691. ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
  68692. ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
  68693. ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
  68694. ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
  68695. ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
  68696. * elf/Makefile (sln-modules): New variable.
  68697. (extra-objs): Add $(sln-modules:=.o).
  68698. (ldconfig-modules): Add static-stubs.
  68699. ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
  68700. * elf/static-stubs.c: New file.
  68701. [BZ #14283]
  68702. * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
  68703. by 7 not 8 to examine high bit of fractional part. Use volatile
  68704. variables when splitting into final array of floats if
  68705. __FLT_EVAL_METHOD__ != 0.
  68706. * math/libm-test.inc (cos_test): Add another test.
  68707. (sin_test): Likewise.
  68708. * sysdeps/i386/fpu/libm-test-ulps: Update.
  68709. [BZ #14273]
  68710. * math/libm-test.inc (cosh_test): Add more tests.
  68711. * version.h (RELEASE): Set to "development".
  68712. (VERSION): Set to "2.16.90".
  68713. 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
  68714. * NEWS: Update copyright. Remove last-updated date.
  68715. Mention math library bug fixes and timezone data changes.
  68716. * README: Mention GNU/Hurd, x32, and HPPA support status.
  68717. 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
  68718. * manual/contrib.texi (Contributors): Sort alphabetically by last name.
  68719. 2012-06-27 Andreas Jaeger <aj@suse.de>
  68720. * manual/contrib.texi (Contributors): Add Samuel Thibault.
  68721. 2012-06-25 Andreas Jaeger <aj@suse.de>
  68722. * sysdeps/s390/fpu/libm-test-ulps: Update.
  68723. 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
  68724. Thomas Schwinge <thomas@codesourcery.com>
  68725. * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
  68726. * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
  68727. * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
  68728. fanotify_mark.
  68729. 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
  68730. * sysdeps/mach/start.c: Remove file.
  68731. * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
  68732. * sysdeps/i386/init-first.c: Fix comment regarding start.S.
  68733. * sysdeps/sh/init-first.c: Likewise.
  68734. * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
  68735. registers for frame unwinding purposes, add CFI directives.
  68736. * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
  68737. * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
  68738. * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
  68739. Likewise.
  68740. * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
  68741. __fortify_fail returning.
  68742. * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
  68743. * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
  68744. sysdeps/sh/____longjmp_chk.S.
  68745. * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
  68746. on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
  68747. * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
  68748. (gen-as-const-headers): Append sigaltstack-offsets.sym.
  68749. * sysdeps/sh/abort-instr.h: New file.
  68750. * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
  68751. process in case exit returns.
  68752. * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
  68753. initialize the GOT register before use.
  68754. * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
  68755. calculation of ARGC > 4.
  68756. * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
  68757. meaningful names to some local labels.
  68758. 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
  68759. Kaz Kojima <kkojima@rr.iij4u.or.jp>
  68760. * sysdeps/unix/sysv/linux/sh/bits/atomic.h
  68761. (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
  68762. (__arch_compare_and_exchange_val_16_acq): Likewise.
  68763. (__arch_compare_and_exchange_val_32_acq): Likewise.
  68764. (atomic_exchange_and_add): Fix gUSA sequence.
  68765. (atomic_add): Likewise.
  68766. (atomic_add_negative): Likewise.
  68767. (atomic_add_zero): Likewise.
  68768. (atomic_bit_test_set): Likewise.
  68769. 2012-06-22 Andreas Schwab <schwab@redhat.com>
  68770. [BZ #13579]
  68771. * include/link.h (struct link_map): Add l_free_initfini.
  68772. * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
  68773. l_initfini.
  68774. * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
  68775. * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
  68776. * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
  68777. set.
  68778. 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
  68779. * configure.in: Use AC_LANG_SOURCE.
  68780. * configure: Regenerate.
  68781. 2012-06-22 Roland McGrath <roland@hack.frob.com>
  68782. * configure.in (libc_cv_localstatedir): New substituted variable.
  68783. * configure: Regenerated.
  68784. * config.make.in (localstatedir): New variable, substituted from
  68785. libc_cv_localstatedir.
  68786. * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
  68787. * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
  68788. ${prefix}/var to /var when we change ${prefix}/etc to /etc.
  68789. * sysdeps/gnu/configure: Regenerated.
  68790. 2012-06-21 Jeff Law <law@redhat.com>
  68791. [BZ #14277]
  68792. * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
  68793. free. Simplify list management for _LIBC case.
  68794. 2012-06-21 Joseph Myers <joseph@codesourcery.com>
  68795. [BZ #14273]
  68796. * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
  68797. Clear sign bit of 64-bit integer value before comparing against
  68798. overflow value.
  68799. * sysdeps/mach/configure: Regenerated.
  68800. 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
  68801. [BZ #14278]
  68802. * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
  68803. 2012-06-21 Jeff Law <law@redhat.com>
  68804. [BZ #13882]
  68805. * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
  68806. uint16_t for elements in the "seen" array to avoid char overflows.
  68807. * elf/dl-fini.c (_dl_sort_fini): Likewise.
  68808. * elf/dl-open.c (dl_open_worker): Likewise.
  68809. 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
  68810. * scripts/list-sources.sh: Scan PORTS for translations.
  68811. * po/libc.pot: Regenerated.
  68812. 2012-06-21 Andreas Jaeger <aj@suse.de>
  68813. [BZ #12194]
  68814. * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
  68815. warning.
  68816. * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
  68817. * bits/byteswap-16.h (__bswap_16): Likewise.
  68818. * bits/byteswap.h (__bswap_constant_16): Likewise.
  68819. 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
  68820. [BZ #14117]
  68821. * sysdeps/i386/fpu_control.h: Removed.
  68822. * sysdeps/x86_64/fpu_control.h: Moved to ...
  68823. * sysdeps/x86/fpu_control.h: Here.
  68824. * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
  68825. (_FPU_SETCW): Likewise.
  68826. 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
  68827. [BZ #14117]
  68828. * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
  68829. * sysdeps/x86/fpu/bits/mathinline.h: This.
  68830. * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
  68831. [BZ #14050]
  68832. [BZ #14117]
  68833. * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
  68834. functions if __x86_64__ is defined.
  68835. 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
  68836. * string/endian.h: Add !__ASSEMBLER__ condition for including
  68837. conversion interfaces.
  68838. 2012-06-15 Joseph Myers <joseph@codesourcery.com>
  68839. [BZ #14241]
  68840. * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
  68841. of ABS(x) in calculating zero to negative powers other than odd
  68842. integers.
  68843. * math/libm-test.inc (pow_test): Add more tests.
  68844. 2012-06-15 Andreas Jaeger <aj@suse.de>
  68845. * manual/contrib.texi (Contributors): Update entry of Liubov
  68846. Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
  68847. Machado Filho.
  68848. 2012-06-15 Cyril Hrubis <metan@ucw.cz>
  68849. * string/string.h: Add __wur to GNU version of strerror_r.
  68850. 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
  68851. [BZ #14229]
  68852. * string/Makefile (tests): Add tst-strtok_r.
  68853. * string/tst-strtok_r.c: New file.
  68854. * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
  68855. RAX_LP/RDX_LP on SAVE_PTR.
  68856. 2012-06-14 Roland McGrath <roland@hack.frob.com>
  68857. * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
  68858. 2012-06-14 Joseph Myers <joseph@codesourcery.com>
  68859. * libm_test.inc (csqrt_test): Allow more spurious underflow
  68860. exceptions.
  68861. (j0_test): Likewise.
  68862. (j1_test): Likewise.
  68863. (y0_test): Likewise.
  68864. (y1_test): Likewise.
  68865. 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
  68866. * po/Makefile (libc.pot): Use UTF-8 charset.
  68867. 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
  68868. [BZ #14210]
  68869. Suppress sign-conversion warning from FD_SET.
  68870. See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
  68871. * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
  68872. not unsigned long int.
  68873. * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
  68874. 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
  68875. [BZ #14050]
  68876. [BZ #14117]
  68877. * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
  68878. __extern_always_inline instead of __extern_inline.
  68879. (__signbitf): Support __SSE2_MATH__ and C++ namespace.
  68880. (__signbit): Likewise.
  68881. (__signbitl): Support C++ namespace.
  68882. (lrintf): New inline function.
  68883. (lrint): Likewise.
  68884. (llrintf): Likewise.
  68885. (llrint): Likewise.
  68886. (fmaxf): Likewise.
  68887. (fmax): Likewise.
  68888. (fminf): Likewise.
  68889. (fmin): Likewise.
  68890. (rint): Likewise.
  68891. (rintf): Likewise.
  68892. (ceil): Likewise.
  68893. (ceilf): Likewise.
  68894. (floor): Likewise.
  68895. (floorf): Likewise.
  68896. (nearbyint): Likewise.
  68897. (nearbyintf): Likewise.
  68898. 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
  68899. * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
  68900. non-default versions.
  68901. 2012-06-11 Roland McGrath <roland@hack.frob.com>
  68902. [BZ #14218]
  68903. * manual/argp.texi (Argp): Reword argp_parse description slightly.
  68904. 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
  68905. * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
  68906. (FE_UPWARD, FE_DOWNWARD): Don't define.
  68907. * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
  68908. * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
  68909. * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
  68910. reading it.
  68911. * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
  68912. * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
  68913. 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  68914. * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
  68915. * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
  68916. * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
  68917. * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
  68918. 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
  68919. [BZ #14117]
  68920. * sysdeps/i386/fpu/bits/fenv.h: Removed.
  68921. * sysdeps/i386/fpu/Implies: New file.
  68922. * sysdeps/x86_64/fpu/Implies: Likewise.
  68923. * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
  68924. * sysdeps/x86/fpu/bits/fenv.h: This.
  68925. * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
  68926. __SSE_MATH__.
  68927. 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
  68928. [BZ #14134]
  68929. * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
  68930. character 0xffff that matches the last element of the
  68931. conversion table.
  68932. 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  68933. * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
  68934. fmodl commit.
  68935. 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  68936. * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
  68937. values higher than 25.6283.
  68938. 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  68939. * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
  68940. subnormal exponent extraction and add some __builtin_expect.
  68941. * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
  68942. Fix for subnormal mantissa calculation.
  68943. 2012-06-04 Mike Frysinger <vapier@gentoo.org>
  68944. * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
  68945. cpu2 is -1 and errno is not ENOSYS.
  68946. 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
  68947. [BZ #14117]
  68948. * sysdeps/i386/i486/bits/string.h: Renamed to ...
  68949. * sysdeps/x86/bits/string.h: This.
  68950. * sysdeps/x86_64/bits/string.h: Removed.
  68951. * sysdeps/i386/i486/bits/string.h: Define inline functions only
  68952. if not compiling for x86-64, but compiling for >= i486.
  68953. * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
  68954. * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
  68955. * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
  68956. New macro from Linux kernel 3.4.0.
  68957. (FP_XSTATE_MAGIC2): Likewise.
  68958. (FP_XSTATE_MAGIC2_SIZE): Likewise.
  68959. (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
  68960. (struct _fpx_sw_bytes): New struct.
  68961. (struct _xsave_hdr): Likewise.
  68962. (struct _ymmh_state): Likewise.
  68963. (struct _xstate): Likewise.
  68964. * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
  68965. * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
  68966. * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
  68967. * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
  68968. * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
  68969. * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
  68970. * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
  68971. * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
  68972. * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
  68973. * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
  68974. * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
  68975. * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
  68976. 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  68977. [BZ #13743]
  68978. * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
  68979. * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
  68980. (sysdep_headers): Include sys/platform/ppc.h.
  68981. * sysdeps/powerpc/test-gettimebase.c: Test for
  68982. __ppc_get_timebase() to catch future ISA opcode/insn changes.
  68983. * manual/Makefile (appendices): Include platform.texi.
  68984. * manual/contrib.texi (Contributors): Update @node pointers.
  68985. * manual/maint.texi (Maintenance): Likewise.
  68986. (Platform): New node.
  68987. * manual/platform.texi: New file. Document the new features.
  68988. 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
  68989. Jakub Jelinek <jakub@redhat.com>
  68990. [BZ #14188]
  68991. * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
  68992. where __builtin_expect is unavailable.
  68993. 2012-06-03 David S. Miller <davem@davemloft.net>
  68994. * stdlib/longlong.h: Updated from GCC.
  68995. 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
  68996. [BZ #14042]
  68997. * sysdeps/powerpc/powerpc32/mcount.c: New file.
  68998. * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
  68999. __mcount_internal.
  69000. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
  69001. (GLIBC_2.16): Likewise.
  69002. 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
  69003. * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
  69004. 2012-06-01 Joseph Myers <joseph@codesourcery.com>
  69005. * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
  69006. (default-abi): New variable.
  69007. * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
  69008. * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
  69009. variable.
  69010. * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
  69011. Likewise.
  69012. * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
  69013. Likewise.
  69014. * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
  69015. Likewise.
  69016. * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
  69017. definition. Document in comment.
  69018. 2012-06-01 David S. Miller <davem@davemloft.net>
  69019. * stdlib/longlong.h: Updated from GCC.
  69020. 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
  69021. [BZ #14117]
  69022. * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
  69023. Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
  69024. sys/debugreg.h sys/io.h here.
  69025. * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
  69026. sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
  69027. sys/io.h.
  69028. * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
  69029. Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
  69030. * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
  69031. * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
  69032. * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
  69033. * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
  69034. * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
  69035. Define only if __x86_64__ is defined.
  69036. 2012-06-01 Joseph Myers <joseph@codesourcery.com>
  69037. [BZ #14048]
  69038. * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
  69039. Use int64_t for variable i.
  69040. * math/libm-test.inc (fmod_test): Add more tests.
  69041. * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
  69042. z computation is not scheduled after fetestexcept.
  69043. * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
  69044. Use math_force_eval instead of asm to ensure calculation scheduled
  69045. before exception test.
  69046. * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
  69047. Ensure a1 + u.d computation is not scheduled after fetestexcept.
  69048. 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
  69049. * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
  69050. computation is not scheduled after fetestexcept.
  69051. 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
  69052. [BZ #14117]
  69053. * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
  69054. * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
  69055. 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  69056. * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
  69057. * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
  69058. 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
  69059. [BZ #14117]
  69060. * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
  69061. <bits/wordsize.h>.
  69062. (__WCHAR_MIN): Support __WORDSIZE == 64.
  69063. (__WCHAR_MAX): Likewise.
  69064. * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
  69065. * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
  69066. [BZ #14183]
  69067. * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
  69068. Defined with __SWORD_TYPE if __x86_64__ isn't defined.
  69069. [BZ #14117]
  69070. * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
  69071. * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
  69072. * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
  69073. * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
  69074. * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
  69075. Defined to 1 if __x86_64__ isn't defined.
  69076. (_STAT_VER_LINUX_OLD): New.
  69077. (st_atime): Remove duplicate.
  69078. (st_mtime): Likewise.
  69079. (st_ctime): Likewise.
  69080. 2012-05-31 David S. Miller <davem@davemloft.net>
  69081. * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
  69082. entries.
  69083. 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
  69084. * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
  69085. gen-libm-test.pl.
  69086. [BZ #14132]
  69087. * elf/dl-reloc.c: Include <_itoa.h>.
  69088. (_dl_reloc_bad_type): Remove use of INTUSE.
  69089. * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
  69090. * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
  69091. * stdio-common/psiginfo.c (psiginfo): Likewise.
  69092. * stdio-common/psignal.c (psignal): Likewise.
  69093. * string/strsignal.c (strsignal): Likewise.
  69094. * include/signal.h (_sys_siglist): Declare hidden proto.
  69095. * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
  69096. INTVARDEF with libc_hidden_data_def.
  69097. * stdio-common/itoa-udigits.c: Likewise.
  69098. * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
  69099. (_itoa_lower_digits_internal): Remove declaration.
  69100. (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
  69101. * sysdeps/gnu/siglist.c (_sys_siglist_internal)
  69102. (_sys_sigabbrev_internal): Remove aliases.
  69103. (_sys_siglist): Define hidden alias.
  69104. 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
  69105. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
  69106. bits/sysctl.h.
  69107. 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
  69108. [BZ #14117]
  69109. * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
  69110. * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
  69111. * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
  69112. * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
  69113. * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
  69114. * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
  69115. * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
  69116. * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
  69117. * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
  69118. * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
  69119. * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
  69120. * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
  69121. with __addr.
  69122. (insw): Likewise.
  69123. (insl): Likewise.
  69124. (outsb): Likewise.
  69125. (outsw): Likewise.
  69126. (outsl): Likewise.
  69127. * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
  69128. * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
  69129. * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
  69130. * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
  69131. * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
  69132. * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
  69133. * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
  69134. * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
  69135. * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
  69136. * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
  69137. * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
  69138. * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
  69139. * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
  69140. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
  69141. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
  69142. * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
  69143. * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
  69144. * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
  69145. to ...
  69146. * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
  69147. * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
  69148. * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
  69149. * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
  69150. * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
  69151. for x86-64.
  69152. * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
  69153. 2012-05-31 Joseph Myers <joseph@codesourcery.com>
  69154. * math/math.h (M_El): Use two more decimal places.
  69155. (M_LOG2El): Likewise.
  69156. (M_LOG10El): Likewise.
  69157. (M_LN2l): Likewise.
  69158. (M_LN10l): Likewise.
  69159. (M_PIl): Likewise.
  69160. (M_PI_2l): Likewise.
  69161. (M_PI_4l): Likewise.
  69162. (M_1_PIl): Likewise.
  69163. (M_2_PIl): Likewise.
  69164. (M_2_SQRTPIl): Likewise.
  69165. (M_SQRT2l): Likewise.
  69166. (M_SQRT1_2l): Likewise.
  69167. 2012-05-31 David S. Miller <davem@davemloft.net>
  69168. * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
  69169. values between float registers.
  69170. * sysdeps/sparc/sparc64/memset.S: Likewise.
  69171. * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
  69172. 2012-05-31 Mike Frysinger <vapier@gentoo.org>
  69173. * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
  69174. -D_FORTIFY_SOURCE=1.
  69175. (CPPFLAGS-tst-longjmp_chk.c): Define.
  69176. (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
  69177. (CPPFLAGS-tst-longjmp_chk2.c): Define.
  69178. * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
  69179. CFLAGS-tst-wchar-h.c.
  69180. 2012-05-31 Marek Polacek <polacek@redhat.com>
  69181. [BZ #14132]
  69182. * include/mntent.h (__setmntent_internal, __getmntent_r_internal
  69183. __endmntent_internal): Remove declaration.
  69184. (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
  69185. (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
  69186. * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
  69187. 2012-05-30 David S. Miller <davem@davemloft.net>
  69188. * sysdeps/sparc/sparc32/soft-fp/q_util.c
  69189. (___Q_simulate_exceptions): Use real FP ops rather than writing
  69190. into the %fsr.
  69191. * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
  69192. Likewise.
  69193. 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
  69194. [BZ #14117]
  69195. * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
  69196. * sysdeps/x86/bits/xtitypes.h: This.
  69197. * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
  69198. * sysdeps/x86/bits/wordsize.h: This.
  69199. * sysdeps/i386/bits/huge_vall.h: Renamed to ...
  69200. * sysdeps/x86/bits/huge_vall.h: This.
  69201. * sysdeps/i386/bits/select.h: Removed.
  69202. * sysdeps/x86_64/bits/select.h: Renamed to ...
  69203. * sysdeps/x86/bits/select.h: This.
  69204. * sysdeps/i386/bits/setjmp.h: Removed.
  69205. * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
  69206. * sysdeps/x86/bits/setjmp.h: This.
  69207. * sysdeps/i386/bits/mathdef.h: Removed.
  69208. * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
  69209. * sysdeps/x86/bits/mathdef.h: This.
  69210. 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
  69211. [BZ #14132]
  69212. * include/sys/socket.h (__connect_internal)
  69213. (__libc_sa_len_internal): Remove declaration.
  69214. (__connect, __libc_sa_len): Declare hidden_proto.
  69215. (SA_LEN): Remove use of INTUSE.
  69216. * socket/connect.c: Add libc_hidden_def.
  69217. * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
  69218. * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
  69219. * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
  69220. alias.
  69221. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
  69222. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
  69223. * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
  69224. of adding _internal alias.
  69225. 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
  69226. [BZ #14117]
  69227. * sysdeps/i386/bits/link.h: Removed.
  69228. * sysdeps/i386/bits/linkmap.h: Likewise.
  69229. * sysdeps/x86_64/bits/link.h: Renamed to ...
  69230. * sysdeps/x86/bits/link.h: This.
  69231. * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
  69232. * sysdeps/x86/bits/linkmap.h: This.
  69233. * sysdeps/i386/bits/endian.h: Removed.
  69234. * sysdeps/x86_64/bits/endian.h: Renamed to ...
  69235. * sysdeps/x86/bits/endian.h: This.
  69236. * sysdeps/i386/bits/byteswap.h: Removed.
  69237. * sysdeps/i386/bits/byteswap-16.h: Likewise.
  69238. * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
  69239. * sysdeps/x86/bits/byteswap.h: This.
  69240. * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
  69241. * sysdeps/x86/bits/byteswap-16.h: This.
  69242. * sysdeps/i386/Implies: Add x86.
  69243. * sysdeps/x86_64/Implies: Likewise.
  69244. 2012-05-30 David S. Miller <davem@davemloft.net>
  69245. * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
  69246. (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
  69247. * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
  69248. (FP_TRAPPING_EXCEPTIONS): Define.
  69249. * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
  69250. (FP_TRAPPING_EXCEPTIONS): Define.
  69251. * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
  69252. subnormals only when inexact has been signalled or underflow
  69253. exceptions are enabled.
  69254. (_FP_PACK_CANONICAL): Likewise.
  69255. 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
  69256. [BZ #14183]
  69257. * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
  69258. Defined with __UWORD_TYPE if __x86_64__ isn't defined.
  69259. 2012-05-30 Richard Henderson <rth@twiddle.net>
  69260. * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
  69261. with #ifndef NOT_IN_libc.
  69262. * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
  69263. marked to avoid plt entry.
  69264. 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
  69265. [BZ #14112]
  69266. * Makeconfig (default-abi): New macro.
  69267. (abi-includes): Likewise.
  69268. ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
  69269. $(abi-$(default-abi)-lib-soname) for soname if defined.
  69270. ($(common-objpfx)gnu/lib-names.stmp): Generate from
  69271. abi-variants.
  69272. * Makefile (installed-stubs): Likewise.
  69273. * include/stubs-biarch.h: Removed.
  69274. * scripts/lib-names.awk: Only handle one library at a time.
  69275. * scripts/soversions.awk: Remove WORDSIZE support.
  69276. * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
  69277. entries.
  69278. * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
  69279. Removed.
  69280. (syscall-list-default-condition): Likewise.
  69281. (syscall-list-default-condition): Likewise.
  69282. (syscall-list-includes): Likewise.
  69283. ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
  69284. syscall-list-* with abi-*. Handle undefined abi-variants.
  69285. * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
  69286. * sysdeps/unix/sysv/linux/i386/Implies: New file.
  69287. * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
  69288. * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
  69289. * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
  69290. * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
  69291. Removed.
  69292. (syscall-list-32-options): Likewise.
  69293. (syscall-list-32-condition): Likewise.
  69294. (syscall-list-64-options): Likewise.
  69295. (syscall-list-64-condition): Likewise.
  69296. * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
  69297. macro.
  69298. * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
  69299. Renamed to ...
  69300. (abi-*): This.
  69301. (abi-64-ld-soname): New macro.
  69302. * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
  69303. * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
  69304. Renamed to ...
  69305. (abi-*): This.
  69306. * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
  69307. * sysdeps/x86_64/x32/shlib-versions: Likewise.
  69308. 2012-05-30 Joseph Myers <joseph@codesourcery.com>
  69309. * sysdeps/unix/sysv/linux/kernel-features.h
  69310. (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
  69311. * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
  69312. include <kernel-features.h>.
  69313. [!__NR_ftruncate64]: Remove conditional code.
  69314. [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
  69315. [__NR_ftruncate64]: Make code unconditional.
  69316. [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
  69317. * sysdeps/unix/sysv/linux/truncate64.c: Do not
  69318. include <kernel-features.h>.
  69319. [!__NR_ftruncate64]: Remove conditional code.
  69320. [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
  69321. [__NR_ftruncate64]: Make code unconditional.
  69322. [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
  69323. * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
  69324. include <kernel-features.h>.
  69325. [!__NR_ftruncate64]: Remove conditional code.
  69326. [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
  69327. [__NR_ftruncate64]: Make code unconditional.
  69328. [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
  69329. * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
  69330. include <kernel-features.h>.
  69331. [!__NR_ftruncate64]: Remove conditional code.
  69332. [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
  69333. [__NR_ftruncate64]: Make code unconditional.
  69334. [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
  69335. * configure.in (libc_cv_fpie): Weaken to a compile test using
  69336. LIBC_TRY_CC_OPTION.
  69337. * configure: Regenerated.
  69338. 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  69339. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
  69340. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
  69341. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
  69342. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
  69343. Refreshed.
  69344. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
  69345. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
  69346. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
  69347. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
  69348. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
  69349. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
  69350. Refreshed.
  69351. 2012-05-27 David S. Miller <davem@davemloft.net>
  69352. * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
  69353. (___Q_zero): New.
  69354. (__Q_simulate_exceptions): Return void. Change to simulate
  69355. exceptions by writing into the %fsr.
  69356. * sysdeps/sparc/sparc64/soft-fp/qp_util.c
  69357. (__Qp_handle_exceptions): Likewise.
  69358. (numbers): Delete.
  69359. * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
  69360. __Qp_handle_exceptions.
  69361. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
  69362. __Qp_handle_exceptions.
  69363. * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
  69364. as unused and give dummy FP_RND_NEAREST initializer.
  69365. (FP_INHIBIT_RESULTS): Define.
  69366. (___Q_simulate_exceptions): Update declaration.
  69367. (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
  69368. formatting.
  69369. * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
  69370. as unused and give dummy FP_RND_NEAREST initializer.
  69371. (__Qp_handle_exceptions): Update declaration.
  69372. (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
  69373. formatting.
  69374. 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
  69375. * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
  69376. the temporary FPU control word.
  69377. * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
  69378. * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
  69379. * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
  69380. * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
  69381. * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
  69382. * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
  69383. * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
  69384. * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
  69385. * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
  69386. * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
  69387. * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
  69388. 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  69389. * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
  69390. fields.
  69391. 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
  69392. * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
  69393. * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
  69394. * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
  69395. * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
  69396. Likewise.
  69397. * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
  69398. * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
  69399. Likewise.
  69400. 2012-05-27 Ulrich Drepper <drepper@gmail.com>
  69401. * po/h.po: Update from translation team.
  69402. 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
  69403. * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
  69404. * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
  69405. handling of denormals.
  69406. * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
  69407. * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
  69408. * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
  69409. * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
  69410. * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
  69411. * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
  69412. * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
  69413. Likewise.
  69414. 2012-05-26 Marek Polacek <polacek@redhat.com>
  69415. [BZ #14152]
  69416. * math/libm-test.inc (fma_test): Don't always expect underflow
  69417. exception.
  69418. 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
  69419. [BZ #12416]
  69420. * elf/tst-execstack.c: Include stackinfo.h.
  69421. (do_test): Adjust test case to ensure that pthread_getattr_np
  69422. behaviour remains the same after marking stack executable.
  69423. 2012-05-25 Joseph Myers <joseph@codesourcery.com>
  69424. * sysdeps/unix/sysv/linux/kernel-features.h
  69425. (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
  69426. * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
  69427. kernel-features.h.
  69428. [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
  69429. [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
  69430. * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
  69431. kernel-features.h.
  69432. [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
  69433. [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
  69434. 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
  69435. * configure.in: Define the default includes to being none.
  69436. * configure: Regenerated.
  69437. 2012-05-25 Roland McGrath <roland@hack.frob.com>
  69438. * sysdeps/x86_64/__longjmp.S: Add a static probe here.
  69439. * sysdeps/x86_64/setjmp.S: Likewise.
  69440. * sysdeps/i386/bsd-setjmp.S: Likewise.
  69441. * sysdeps/i386/bsd-_setjmp.S: Likewise.
  69442. * sysdeps/i386/setjmp.S: Likewise.
  69443. * sysdeps/i386/__longjmp.S: Likewise.
  69444. * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
  69445. * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
  69446. * include/stap-probe.h: New file.
  69447. * configure.in: Handle --enable-systemtap.
  69448. * configure: Regenerated.
  69449. * config.h.in (USE_STAP_PROBE): New #undef.
  69450. * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
  69451. * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
  69452. * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
  69453. 2012-05-25 Joseph Myers <joseph@codesourcery.com>
  69454. [BZ #13717]
  69455. * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
  69456. to 2.4.0 where earlier.
  69457. * sysdeps/unix/sysv/linux/configure: Regenerated.
  69458. * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
  69459. <kernel-features.h>.
  69460. [__ASSUME_32BITUIDS]: Make code unconditional.
  69461. [!__ASSUME_32BITUIDS]: Remove conditional code.
  69462. * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
  69463. <kernel-features.h>.
  69464. [__ASSUME_32BITUIDS]: Make code unconditional.
  69465. [!__ASSUME_32BITUIDS]: Remove conditional code.
  69466. * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
  69467. [__ASSUME_32BITUIDS]: Make code unconditional.
  69468. (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
  69469. * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
  69470. <kernel-features.h>.
  69471. [__ASSUME_32BITUIDS]: Make code unconditional.
  69472. [!__ASSUME_32BITUIDS]: Remove conditional code.
  69473. * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
  69474. <kernel-features.h>.
  69475. [__ASSUME_32BITUIDS]: Make code unconditional.
  69476. [!__ASSUME_32BITUIDS]: Remove conditional code.
  69477. * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
  69478. <kernel-features.h>.
  69479. [__ASSUME_32BITUIDS]: Make code unconditional.
  69480. [!__ASSUME_32BITUIDS]: Remove conditional code.
  69481. * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
  69482. <kernel-features.h>.
  69483. [__ASSUME_32BITUIDS]: Make code unconditional.
  69484. [!__ASSUME_32BITUIDS]: Remove conditional code.
  69485. * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
  69486. <kernel-features.h>.
  69487. [__ASSUME_32BITUIDS]: Make code unconditional.
  69488. [!__ASSUME_32BITUIDS]: Remove conditional code.
  69489. * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
  69490. <kernel-features.h>.
  69491. [__ASSUME_32BITUIDS]: Make code unconditional.
  69492. [!__ASSUME_32BITUIDS]: Remove conditional code.
  69493. * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
  69494. <kernel-features.h>.
  69495. [__ASSUME_32BITUIDS]: Make code unconditional.
  69496. [!__ASSUME_32BITUIDS]: Remove conditional code.
  69497. * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
  69498. <kernel-features.h>.
  69499. [__ASSUME_32BITUIDS]: Make code unconditional.
  69500. [!__ASSUME_32BITUIDS]: Remove conditional code.
  69501. * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
  69502. <kernel-features.h>.
  69503. [__ASSUME_32BITUIDS]: Make code unconditional.
  69504. [!__ASSUME_32BITUIDS]: Remove conditional code.
  69505. * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
  69506. <kernel-features.h>.
  69507. [__ASSUME_32BITUIDS]: Make code unconditional.
  69508. [!__ASSUME_32BITUIDS]: Remove conditional code.
  69509. * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
  69510. <kernel-features.h>.
  69511. [__NR_setresgid] (__setresgid): Do not declare.
  69512. [__ASSUME_32BITUIDS]: Make code unconditional.
  69513. [!__ASSUME_32BITUIDS]: Remove conditional code.
  69514. * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
  69515. <kernel-features.h>.
  69516. [__NR_setresuid] (__setresuid): Do not declare.
  69517. [__ASSUME_32BITUIDS]: Make code unconditional.
  69518. [!__ASSUME_32BITUIDS]: Remove conditional code.
  69519. * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
  69520. <kernel-features.h>.
  69521. [__ASSUME_32BITUIDS]: Make code unconditional.
  69522. [!__ASSUME_32BITUIDS]: Remove conditional code.
  69523. * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
  69524. <kernel-features.h>.
  69525. [__ASSUME_32BITUIDS]: Make code unconditional.
  69526. [!__ASSUME_32BITUIDS]: Remove conditional code.
  69527. * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
  69528. <kernel-features.h>.
  69529. [__ASSUME_32BITUIDS]: Make code unconditional.
  69530. [!__ASSUME_32BITUIDS]: Remove conditional code.
  69531. * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
  69532. <kernel-features.h>.
  69533. [__ASSUME_32BITUIDS]: Make code unconditional.
  69534. [!__ASSUME_32BITUIDS]: Remove conditional code.
  69535. * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
  69536. <kernel-features.h>.
  69537. [__ASSUME_32BITUIDS]: Make code unconditional.
  69538. [!__ASSUME_32BITUIDS]: Remove conditional code.
  69539. * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
  69540. <kernel-features.h>.
  69541. [__ASSUME_32BITUIDS]: Make code unconditional.
  69542. [!__ASSUME_32BITUIDS]: Remove conditional code.
  69543. * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
  69544. <kernel-features.h>.
  69545. [__ASSUME_32BITUIDS]: Make code unconditional.
  69546. [!__ASSUME_32BITUIDS]: Remove conditional code.
  69547. * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
  69548. <kernel-features.h>.
  69549. [__ASSUME_32BITUIDS]: Make code unconditional.
  69550. [!__ASSUME_32BITUIDS]: Remove conditional code.
  69551. * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
  69552. <kernel-features.h>.
  69553. [__ASSUME_32BITUIDS]: Make code unconditional.
  69554. [!__ASSUME_32BITUIDS]: Remove conditional code.
  69555. * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
  69556. <kernel-features.h>.
  69557. [__ASSUME_32BITUIDS]: Make code unconditional.
  69558. [!__ASSUME_32BITUIDS]: Remove conditional code.
  69559. * sysdeps/unix/sysv/linux/kernel-features.h
  69560. (__ASSUME_SETRESUID_SYSCALL): Remove.
  69561. (__ASSUME_SETRESGID_SYSCALL): Likewise.
  69562. (__ASSUME_32BITUIDS): Likewise.
  69563. (__ASSUME_LDT_WORKS): Likewise.
  69564. (__ASSUME_O_DIRECTORY): Likewise.
  69565. (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
  69566. architecture but not kernel version.
  69567. (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
  69568. (__ASSUME_MMAP2_SYSCALL): Likewise.
  69569. (__ASSUME_STAT64_SYSCALL): Likewise.
  69570. (__ASSUME_IPC64): Likewise.
  69571. * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
  69572. <kernel-features.h>.
  69573. [__ASSUME_32BITUIDS]: Make code unconditional.
  69574. [!__ASSUME_32BITUIDS]: Remove conditional code.
  69575. * sysdeps/unix/sysv/linux/opendir.c: Do not include
  69576. <kernel-features.h>.
  69577. [__ASSUME_O_DIRECTORY]: Make code unconditional.
  69578. * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
  69579. 132096]: Remove conditional code.
  69580. [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
  69581. * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
  69582. <kernel-features.h>.
  69583. [__ASSUME_32BITUIDS]: Make code unconditional.
  69584. [!__ASSUME_32BITUIDS]: Remove conditional code.
  69585. * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
  69586. <kernel-features.h>.
  69587. [__ASSUME_32BITUIDS]: Make code unconditional.
  69588. [!__ASSUME_32BITUIDS]: Remove conditional code.
  69589. * sysdeps/unix/sysv/linux/setegid.c: Do not include
  69590. <kernel-features.h>.
  69591. [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
  69592. unconditional.
  69593. (__setresgid): Do not declare.
  69594. [__ASSUME_32BITUIDS]: Make code unconditional.
  69595. [!__ASSUME_32BITUIDS]: Remove conditional code.
  69596. * sysdeps/unix/sysv/linux/seteuid.c: Do not include
  69597. <kernel-features.h>.
  69598. [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
  69599. unconditional.
  69600. (__setresuid): Do not declare.
  69601. [__ASSUME_32BITUIDS]: Make code unconditional.
  69602. [!__ASSUME_32BITUIDS]: Remove conditional code.
  69603. * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
  69604. <kernel-features.h>.
  69605. [__ASSUME_32BITUIDS]: Make code unconditional.
  69606. [!__ASSUME_32BITUIDS]: Remove conditional code.
  69607. * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
  69608. <kernel-features.h>.
  69609. [__ASSUME_32BITUIDS]: Make code unconditional.
  69610. [!__ASSUME_32BITUIDS]: Remove conditional code.
  69611. 2012-05-25 Richard Henderson <rth@twiddle.net>
  69612. * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
  69613. dl_hwcap to ifunc resolver.
  69614. * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
  69615. elf_ifunc_invoke.
  69616. * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
  69617. dl_hwcap to ifunc resolver.
  69618. * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
  69619. 2012-05-24 Joseph Myers <joseph@codesourcery.com>
  69620. [BZ #14153]
  69621. * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
  69622. for |x| <= 2**-26, not 2**-57.
  69623. * math/libm-test.inc (acos_test): Do not allow spurious underflow
  69624. exception.
  69625. 2012-05-24 Jeff Law <law@redhat.com>
  69626. * stdio-common/Makefile (tests): Add bug25.
  69627. * stdio-common/bug25.c: New test.
  69628. 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
  69629. [BZ #13576]
  69630. * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
  69631. multiple of MALLOC_ALIGNMENT in size.
  69632. (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
  69633. 2012-05-24 Joseph Myers <joseph@codesourcery.com>
  69634. * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
  69635. Require >= 256.
  69636. (FILENAME_MAX): Use macro-int-constant.
  69637. (FOPEN_MAX): Use macro-int-constant. Require >= 8.
  69638. (_IOFBF): Use macro-int-constant.
  69639. (_IOLBF): Likewise.
  69640. (_IONBF): Likewise.
  69641. (SEEK_CUR): Likewise.
  69642. (SEEK_END): Likewise.
  69643. (SEEK_SET): Likewise.
  69644. (TMP_MAX): Likewise.
  69645. (EOF): Use macro-int-constant. Require < 0.
  69646. (NULL): Use macro-constant. Require == 0.
  69647. (stdin): Require type to be FILE *.
  69648. (stdout): Likewise.
  69649. (stderr): Likewise.
  69650. * conform/data/stdlib.h-data (EXIT_FAILURE): Use
  69651. macro-int-constant.
  69652. (EXIT_SUCCESS): Likewise.
  69653. (NULL): Use macro-constant. Require == 0.
  69654. (RAND_MAX): Use macro-int-constant.
  69655. [ISO99 || ISO11] (lldiv_t): Require also for these standards.
  69656. [C99-based standards] (strtof): Require function.
  69657. [C99-based standards] (strtold): Likewise.
  69658. [C99-based standards] (strtoll): Likewise.
  69659. [C99-based standards] (strtoull): Likewise.
  69660. [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
  69661. [ISO || ISO99 || ISO11] (limits.h): Likewise.
  69662. [ISO || ISO99 || ISO11] (math.h): Likewise.
  69663. [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
  69664. (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
  69665. [ISO || ISO99 || ISO11] (*_t): Do not allow.
  69666. 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
  69667. [BZ #14132]
  69668. * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
  69669. * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
  69670. * intl/dgettext.c (DCGETTEXT): Likewise.
  69671. * intl/gettext.c (DCGETTEXT): Likewise.
  69672. * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
  69673. * posix/regex_internal.h (gettext): Likewise.
  69674. * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
  69675. Remove declaration.
  69676. * include/argz.h (__argz_count_internal)
  69677. (__argz_stringify_internal): Remove declaration.
  69678. (__argz_count, __argz_stringify): Declare hidden proto.
  69679. * intl/dcgettext.c: Remove use of INTDEF.
  69680. * string/argz-count.c: Replace INTDEF with libc_hidden_def.
  69681. * string/argz-stringify.c: Likewise.
  69682. * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
  69683. (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
  69684. Declare hidden proto.
  69685. * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
  69686. (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
  69687. Declare hidden proto.
  69688. * include/stdio.h (__asprintf_internal): Don't declare.
  69689. (__asprintf): Don't define as macro. Declare hidden proto.
  69690. * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
  69691. (__fsetlocking): Declare hidden proto.
  69692. * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
  69693. (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
  69694. hidden proto.
  69695. (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
  69696. (_IO_setlinebuf): Remove use of INTUSE.
  69697. (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
  69698. (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
  69699. (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
  69700. Remove declaration.
  69701. * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
  69702. (_IO_do_flush): Remove use of INTUSE.
  69703. (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
  69704. (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
  69705. (_IO_adjust_column, _IO_least_wmarker)
  69706. (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
  69707. (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
  69708. (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
  69709. (_IO_default_doallocate, _IO_wdefault_doallocate)
  69710. (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
  69711. (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
  69712. (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
  69713. (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
  69714. (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
  69715. (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
  69716. (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
  69717. (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
  69718. (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
  69719. (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
  69720. (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
  69721. (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
  69722. (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
  69723. proto.
  69724. (_IO_flush_all_internal, _IO_adjust_column_internal)
  69725. (_IO_default_uflow_internal, _IO_default_finish_internal)
  69726. (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
  69727. (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
  69728. (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
  69729. (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
  69730. (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
  69731. (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
  69732. (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
  69733. (_IO_file_xsgetn_internal, _IO_file_stat_internal)
  69734. (_IO_file_close_internal, _IO_file_close_it_internal)
  69735. (_IO_file_underflow_internal, _IO_file_overflow_internal)
  69736. (_IO_file_init_internal, _IO_file_attach_internal)
  69737. (_IO_file_fopen_internal, _IO_file_read_internal)
  69738. (_IO_file_sync_internal, _IO_file_seek_internal)
  69739. (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
  69740. (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
  69741. (_IO_str_underflow_internal, _IO_str_overflow_internal)
  69742. (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
  69743. (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
  69744. (_IO_list_all_internal, _IO_link_in_internal)
  69745. (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
  69746. (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
  69747. (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
  69748. (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
  69749. (_IO_do_write_internal, _IO_padn_internal)
  69750. (_IO_getline_info_internal, _IO_getline_internal)
  69751. (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
  69752. (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
  69753. (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
  69754. (_IO_vfscanf_internal, _IO_vfprintf_internal)
  69755. (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
  69756. (_IO_init_internal, _IO_un_link_internal): Don't declare.
  69757. * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
  69758. with libc_hidden_ver, remove use of INTUSE.
  69759. * libio/genops.c: Likewise.
  69760. * libio/freopen.c: Likewise.
  69761. * libio/freopen64.c: Likewise.
  69762. * libio/iofclose.c: Likewise.
  69763. * libio/iofdopen.c: Likewise.
  69764. * libio/iofflush.c: Likewise.
  69765. * libio/iofflush_u.c: Likewise.
  69766. * libio/iofgets.c: Likewise.
  69767. * libio/iofgets_u.c: Likewise.
  69768. * libio/iofopen.c: Likewise.
  69769. * libio/iofopncook.c: Likewise.
  69770. * libio/iofread.c: Likewise.
  69771. * libio/iofread_u.c: Likewise.
  69772. * libio/ioftell.c: Likewise.
  69773. * libio/iofwrite.c: Likewise.
  69774. * libio/iogetline.c: Likewise.
  69775. * libio/iogets.c: Likewise.
  69776. * libio/iogetwline.c: Likewise.
  69777. * libio/iopadn.c: Likewise.
  69778. * libio/iopopen.c: Likewise.
  69779. * libio/ioseekoff.c: Likewise.
  69780. * libio/ioseekpos.c: Likewise.
  69781. * libio/iosetbuffer.c: Likewise.
  69782. * libio/iosetvbuf.c: Likewise.
  69783. * libio/ioungetc.c: Likewise.
  69784. * libio/ioungetwc.c: Likewise.
  69785. * libio/iovdprintf.c: Likewise.
  69786. * libio/iovsprintf.c: Likewise.
  69787. * libio/iovsscanf.c: Likewise.
  69788. * libio/memstream.c: Likewise.
  69789. * libio/obprintf.c: Likewise.
  69790. * libio/oldfileops.c: Likewise.
  69791. * libio/oldiofclose.c: Likewise.
  69792. * libio/oldiofdopen.c: Likewise.
  69793. * libio/oldiofopen.c: Likewise.
  69794. * libio/oldiopopen.c: Likewise.
  69795. * libio/oldstdfiles.c: Likewise.
  69796. * libio/putc.c: Likewise.
  69797. * libio/setbuf.c: Likewise.
  69798. * libio/setlinebuf.c: Likewise.
  69799. * libio/stdfiles.c: Likewise.
  69800. * libio/strops.c: Likewise.
  69801. * libio/vasprintf.c: Likewise.
  69802. * libio/vscanf.c: Likewise.
  69803. * libio/vsnprintf.c: Likewise.
  69804. * libio/vswprintf.c: Likewise.
  69805. * libio/wfiledoalloc.c: Likewise.
  69806. * libio/wfileops.c: Likewise.
  69807. * libio/wgenops.c: Likewise.
  69808. * libio/wmemstream.c: Likewise.
  69809. * libio/wstrops.c: Likewise.
  69810. * libio/__fpurge.c: Likewise.
  69811. * libio/__fsetlocking.c: Likewise.
  69812. * assert/assert.c: Likewise.
  69813. * debug/fgets_chk.c: Likewise.
  69814. * debug/fgets_u_chk.c: Likewise.
  69815. * debug/fread_chk.c: Likewise.
  69816. * debug/fread_u_chk.c: Likewise.
  69817. * debug/gets_chk.c: Likewise.
  69818. * debug/obprintf_chk.c: Likewise.
  69819. * debug/vasprintf_chk.c: Likewise.
  69820. * debug/vdprintf_chk.c: Likewise.
  69821. * debug/vsnprintf_chk.c: Likewise.
  69822. * debug/vsprintf_chk.c: Likewise.
  69823. * malloc/mtrace.c: Likewise.
  69824. * misc/error.c: Likewise.
  69825. * misc/syslog.c: Likewise.
  69826. * stdio-common/asprintf.c: Likewise.
  69827. * stdio-common/fxprintf.c: Likewise.
  69828. * stdio-common/getw.c: Likewise.
  69829. * stdio-common/isoc99_fscanf.c: Likewise.
  69830. * stdio-common/isoc99_scanf.c: Likewise.
  69831. * stdio-common/isoc99_vfscanf.c: Likewise.
  69832. * stdio-common/isoc99_vscanf.c: Likewise.
  69833. * stdio-common/isoc99_vsscanf.c: Likewise.
  69834. * stdio-common/printf-prs.c: Likewise.
  69835. * stdio-common/printf_fp.c: Likewise.
  69836. * stdio-common/printf_fphex.c: Likewise.
  69837. * stdio-common/printf_size.c: Likewise.
  69838. * stdio-common/putw.c: Likewise.
  69839. * stdio-common/scanf.c: Likewise.
  69840. * stdio-common/sprintf.c: Likewise.
  69841. * stdio-common/tmpfile.c: Likewise.
  69842. * stdio-common/vfprintf.c: Likewise.
  69843. * stdio-common/vfscanf.c: Likewise.
  69844. * stdlib/strfmon_l.c: Likewise.
  69845. * sunrpc/openchild.c: Likewise.
  69846. * sunrpc/xdr_stdio.c: Likewise.
  69847. * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
  69848. * sysdeps/mach/hurd/tmpfile.c: Likewise.
  69849. 2012-05-24 Roland McGrath <roland@hack.frob.com>
  69850. * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
  69851. * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
  69852. in the third column, to generate for the shared library an IFUNC
  69853. that uses _dl_vdso_vsym.
  69854. * Makerules (COMPILE.c, compile-stdin.c): New variables.
  69855. * Makeconfig (object-suffixes-noshared): New variable.
  69856. * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
  69857. (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
  69858. (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
  69859. (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
  69860. [BZ #14132]
  69861. * include/sys/time.h (__gettimeofday): Remove macro.
  69862. (__gettimeofday, gettimeofday): Add libc_hidden_proto.
  69863. * time/gettimeofday.c (__gettimeofday): Remove #undef.
  69864. Remove INTDEF.
  69865. (__gettimeofday): Add libc_hidden_def.
  69866. (gettimeofday): Add libc_hidden_weak.
  69867. * sysdeps/mach/gettimeofday.c: Likewise.
  69868. * sysdeps/posix/gettimeofday.c: Likewise.
  69869. * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
  69870. * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
  69871. * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
  69872. (__gettimeofday_internal): Remove strong_alias.
  69873. (__gettimeofday): Add libc_hidden_def.
  69874. (gettimeofday): Add libc_hidden_weak.
  69875. * sysdeps/unix/syscalls.list (gettimeofday):
  69876. Remove __gettimeofday_internal alias.
  69877. 2012-05-24 Daniel Jacobowitz <drow@false.org>
  69878. H.J. Lu <hongjiu.lu@intel.com>
  69879. [BZ #12495]
  69880. * malloc/malloc.c (SMALLBIN_CORRECTION): New.
  69881. (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
  69882. (largebin_index_32_big): New.
  69883. (largebin_index): Use it for 16-byte alignment.
  69884. (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
  69885. correction with front_misalign.
  69886. 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
  69887. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
  69888. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
  69889. Likewise.
  69890. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
  69891. Likewise.
  69892. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
  69893. Likewise.
  69894. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
  69895. Likewise.
  69896. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
  69897. Likewise.
  69898. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
  69899. Likewise.
  69900. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
  69901. Likewise.
  69902. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
  69903. Likewise.
  69904. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
  69905. Likewise.
  69906. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
  69907. Likewise.
  69908. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
  69909. Likewise.
  69910. * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
  69911. Likewise.
  69912. * scripts/data/c++-types-x32-linux-gnu.data: New file.
  69913. * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
  69914. 2012-05-24 Joseph Myers <joseph@codesourcery.com>
  69915. [BZ #10846]
  69916. [BZ #14036]
  69917. * math/libm-test.inc (exp_test): Add test from bug 14036.
  69918. (pow_test): Add test from bug 10846.
  69919. * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
  69920. and other flags.
  69921. (special_function): Do not include flags in test name.
  69922. (parse_args): Likewise.
  69923. * sysdeps/i386/fpu/libm-test-ulps: Update.
  69924. * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
  69925. * sysdeps/s390/fpu/libm-test-ulps: Likewise.
  69926. * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
  69927. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  69928. * math/gen-libm-test.pl (%beautify): Add entries for underflow
  69929. exceptions.
  69930. * math/libm-test.inc ("Philosophy"): Update comment about
  69931. exception testing.
  69932. (UNDERFLOW_EXCEPTION): New macro.
  69933. (UNDERFLOW_EXCEPTION_OK): Likewise.
  69934. (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
  69935. (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
  69936. (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
  69937. (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
  69938. (INVALID_EXCEPTION_OK): Update value.
  69939. (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
  69940. (OVERFLOW_EXCEPTION_OK): Likewise.
  69941. (IGNORE_ZERO_INF_SIGN): Likewise.
  69942. (test_exceptions): Handle underflow exceptions.
  69943. (acos_test): Update for underflow exception expectations.
  69944. (cexp_test): Likewise.
  69945. (clog_test): Likewise.
  69946. (clog10_test): Likewise.
  69947. (csqrt_test): Likewise.
  69948. (ctan_test): Likewise.
  69949. (ctanh_test): Likewise.
  69950. (exp_test): Likewise.
  69951. (exp10_test): Likewise.
  69952. (exp2_test): Likewise.
  69953. (expm1_test): Likewise.
  69954. (fma_test): Likewise.
  69955. (j0_test): Likewise.
  69956. (jn_test): Likewise.
  69957. (nexttoward_test): Likewise.
  69958. (pow_test): Likewise.
  69959. (scalbn_test): Likewise.
  69960. (scalbln_test): Likewise.
  69961. (tan_test): Likewise.
  69962. (y1_test): Likewise.
  69963. * sysdeps/i386/fpu/libm-test-ulps: Update.
  69964. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  69965. 2012-05-23 David S. Miller <davem@davemloft.net>
  69966. * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
  69967. (__libc_sigaction): Remove unused local variables.
  69968. 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
  69969. * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
  69970. 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
  69971. mktime: avoid signed integer overflow
  69972. * time/mktime.c (__mktime_internal): Do not mishandle the case
  69973. where diff == INT_MIN.
  69974. mktime: simplify computation of average
  69975. * time/mktime.c (ranged_convert): Use new time_t_avg function
  69976. instead of rolling our own (probably-slower) code.
  69977. mktime: do not assume signed right shift propagates sign bit
  69978. * time/mktime.c (isdst_differ): New static function.
  69979. (__mktime_internal): No need to normalize tm_isdst now.
  69980. (__mktime_internal, not_equal_tm): Use isdst_differ to compare
  69981. tm_isdst values.
  69982. mktime: merge another wrapv change from gnulib
  69983. * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
  69984. from some compilers.
  69985. mktime: remove incorrect attempt at unusual arithmetics
  69986. * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
  69987. The code didn't really work on such machines anyway.
  69988. (TYPE_MINIMUM): Assume two's complement.
  69989. (twos_complement_arithmetic): Verify that long_int and time_t
  69990. are two's complement (or unsigned, in the latter case).
  69991. mktime: check signed shifts on long_int and time_t, too
  69992. * time/mktime.c (SHR): Check that shifts work as desired
  69993. on the types long_int and time_t too, as SHR is used on
  69994. such types.
  69995. mktime: do not assume 'long' is wide enough
  69996. * time/mktime.c (verify): Move decl up.
  69997. (long_int): New type.
  69998. (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
  69999. to remove assumption in the code that 'long' is wide enough to
  70000. store year values. This assumption is not true on x32 and on
  70001. some non-glibc platforms.
  70002. mktime: merge wrapv change from gnulib
  70003. * time/mktime.c (WRAPV): New macro.
  70004. (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
  70005. (guess_time_tm, __mktime_internal): Do not assume that signed
  70006. integer overflow wraps around; modern compilers generate code
  70007. where this assumption is no longer valid.
  70008. 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
  70009. * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
  70010. Replace "jmp L(pseudo_end)" with "ret".
  70011. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
  70012. Likewise.
  70013. 2012-05-23 Andreas Jaeger <aj@suse.de>
  70014. * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
  70015. * sysdeps/unix/sysv/linux/poll.c: Remove file.
  70016. 2012-05-23 Andreas Jaeger <aj@suse.de>
  70017. Maximilian Attems <max@stro.at>
  70018. * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
  70019. New macros.
  70020. 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
  70021. * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
  70022. code so that pseudo_end is just ret and the stack pointer is
  70023. correct also for static library in error case.
  70024. 2012-05-23 Joseph Myers <joseph@codesourcery.com>
  70025. * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
  70026. move to syscalls.list.
  70027. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
  70028. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
  70029. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
  70030. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
  70031. * manual/install.texi (Running make install): Do not mention Linux
  70032. kernel version for which pt_chown is not needed.
  70033. (Linux): Do not mention problems with nscd with 2.0 kernels.
  70034. * INSTALL: Regenerated.
  70035. 2012-05-23 Andreas Jaeger <aj@suse.de>
  70036. * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
  70037. (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
  70038. macro.
  70039. * sysdeps/unix/sysv/linux/s390/bits/mman.h
  70040. (MADV_DONTDUMP,MADV_DODUMP): Likewise.
  70041. * sysdeps/unix/sysv/linux/sh/bits/mman.h
  70042. (MADV_DONTDUMP,MADV_DODUMP): Likewise.
  70043. * sysdeps/unix/sysv/linux/i386/bits/mman.h
  70044. (MADV_DONTDUMP,MADV_DODUMP): Likewise.
  70045. * sysdeps/unix/sysv/linux/sparc/bits/mman.h
  70046. (MADV_DONTDUMP,MADV_DODUMP): Likewise.
  70047. * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
  70048. (MADV_DONTDUMP,MADV_DODUMP): Likewise.
  70049. * sysdeps/unix/sysv/linux/bits/in.h
  70050. (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
  70051. 2012-05-22 Roland McGrath <roland@hack.frob.com>
  70052. * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
  70053. (PREPARE_VERSION): Just use assert instead, it will be elided
  70054. under [NDEBUG] anyway.
  70055. 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
  70056. * sysdeps/unix/sysv/linux/Makefile: Include
  70057. $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
  70058. (sysdep_routines): Remove sysctl.
  70059. * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
  70060. * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
  70061. * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
  70062. * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
  70063. * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
  70064. 2012-05-22 Andreas Jaeger <aj@suse.de>
  70065. * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
  70066. that pseudo_end is just ret and the stack pointer is correct also
  70067. for static library in error case.
  70068. 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
  70069. [BZ #14122]
  70070. * nss/nsswitch.c (defconfig_entries): New variable.
  70071. (__nss_database_lookup): Don't leak defconfig entries.
  70072. (nss_parse_service_list): Don't leak on error paths.
  70073. (free_database_entries): New function.
  70074. (free_defconfig): New function.
  70075. (free_mem): Move common code to free_database_entries.
  70076. 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
  70077. * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
  70078. Add arch_prctl.
  70079. * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
  70080. * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
  70081. (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
  70082. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
  70083. New macro.
  70084. (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
  70085. (INTERNAL_SYSCALL_TYPES): Likewise.
  70086. (LOAD_ARGS_TYPES_[1-6]): Likewise.
  70087. (LOAD_REGS_TYPES_[1-6]): Likewise.
  70088. (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
  70089. (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
  70090. 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  70091. * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
  70092. copysignl for GLIBC_2_0.
  70093. * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
  70094. finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
  70095. * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
  70096. logbl for GLIBC_2_0.
  70097. * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
  70098. * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
  70099. 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
  70100. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
  70101. <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
  70102. * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
  70103. Use "neg %eax".
  70104. * time/mktime.c: Update copyright years.
  70105. 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
  70106. mktime: merge comment-quoting-style change from gnulib
  70107. * time/mktime.c: Quote 'like this' in comments.
  70108. The GNU coding standards suggest that we no longer quote `like this',
  70109. as "`" and "'" are typically rendered asymmetrically nowadays.
  70110. The typical gnulib style is to quote 'like this' when quoting
  70111. code, and "like this" when quoting English.
  70112. * time/mktime.c (compile-command): Add "-I.".
  70113. mktime: merge mktime-internal.h change from gnulib
  70114. * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
  70115. mktime: merge time_r change from gnulib
  70116. * time/mktime.c [!_LIBC]: Do not include "time_r.h".
  70117. mktime: merge DEBUG change from gnulib
  70118. * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
  70119. case system <time.h> has a #define.
  70120. mktime: merge <sys/types.h> change from gnulib
  70121. * time/mktime.c: Do not include <sys/types.h>; no longer needed,
  70122. since <time.t> is now guaranteed to define time_t.
  70123. mktime: merge HAVE_CONFIG_H change from gnulib
  70124. * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
  70125. 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
  70126. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
  70127. Use "neg %eax".
  70128. * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
  70129. __rlim_t cast.
  70130. (struct rusage): Use anonymous union to pad each field to
  70131. __syscall_slong_t.
  70132. 2012-05-21 David S. Miller <davem@davemloft.net>
  70133. * Makefules (o-iterator): Remove .s cases.
  70134. (compile-command.s): Delete.
  70135. (COMPILE.s): Delete.
  70136. * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
  70137. 2012-05-21 Joseph Myers <joseph@codesourcery.com>
  70138. * configure.in (libc_cv_predef_stack_protector): Only consider
  70139. "foobar" and "__stack_chk_fail" lines in libc_undefs.
  70140. * configure: Regenerated.
  70141. 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
  70142. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
  70143. New macro. Use R*LP on int and pointer.
  70144. (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
  70145. * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
  70146. * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
  70147. * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
  70148. * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
  70149. [__WORDSIZE_TIME64_COMPAT32] instead of
  70150. [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
  70151. (struct utmp): Likewise.
  70152. * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
  70153. * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
  70154. Renamed to ...
  70155. (__WORDSIZE_TIME64_COMPAT32): This.
  70156. * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
  70157. * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
  70158. * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
  70159. * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
  70160. * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
  70161. (__WORDSIZE_TIME64_COMPAT32): New macro.
  70162. 2012-05-21 Andreas Jaeger <aj@suse.de>
  70163. * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
  70164. only if [SHARED]. Add prototype for __wcschr_ia32.
  70165. 2012-05-21 Roland McGrath <roland@hack.frob.com>
  70166. * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
  70167. of %rbp unmolested in the jmp_buf while mangling the low bits.
  70168. * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
  70169. unmolested high bits of %rbp while demangling the low bits.
  70170. * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
  70171. 2012-05-21 Andreas Jaeger <aj@suse.de>
  70172. * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
  70173. * sunrpc/svc_simple.c: Use it for registerrpc.
  70174. * sunrpc/xcrypt.c: Use it for passwd2des.
  70175. * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
  70176. 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
  70177. * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
  70178. Don't define if [__SYSCALL_WORDSIZE != 32].
  70179. * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
  70180. New macro.
  70181. 2012-05-21 Bruno Haible <bruno@clisp.org>
  70182. Andreas Jaeger <aj@suse.de>
  70183. [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
  70184. * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
  70185. inptr and inend for must_buffer_ch.
  70186. * wcsmbs/tst-mbsnrtowcs.c: Remove file.
  70187. * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
  70188. * stdio-common/Makefile (tests): Remove bug15.
  70189. (bug15-ENV): Remove macro.
  70190. * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
  70191. anymore.
  70192. 2012-05-19 Andreas Jaeger <aj@suse.de>
  70193. Roland McGrath <roland@hack.frob.com>
  70194. * manual/contrib.texi: Completely rewritten. It contains now an
  70195. alphabetical list of contributors and their contributions.
  70196. 2012-05-21 Richard Henderson <rth@twiddle.net>
  70197. * misc/getauxval.c (__getauxval): Use unsigned long int.
  70198. * misc/sys/auxv.h: Include <sys/cdefs.h>.
  70199. (getauxval): Use unsigned long int.
  70200. 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
  70201. * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
  70202. 2012-05-21 Roland McGrath <roland@hack.frob.com>
  70203. * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
  70204. (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
  70205. __alignof__ (long double).
  70206. 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  70207. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  70208. 2012-05-20 Richard Henderson <rth@twiddle.net>
  70209. * misc/getauxval.c: New file.
  70210. * misc/sys/auxv.h: New file.
  70211. * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
  70212. (routines): Add getauxval.
  70213. * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
  70214. * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
  70215. * elf/dl-sysdep.c (_dl_auxv): Remove.
  70216. (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
  70217. * elf/dl-support.c (_dl_auxv): New variable.
  70218. (_dl_aux_init): Initialize it.
  70219. * manual/startup.texi (Auxiliary Vector): New node.
  70220. * sysdeps/generic/bits/hwcap.h: New file.
  70221. * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
  70222. * sysdeps/powerpc/sysdep.h: ... here. Include it.
  70223. * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
  70224. * sysdeps/sparc/sysdep.h: ... here. Include it.
  70225. * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
  70226. * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
  70227. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
  70228. Update.
  70229. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
  70230. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
  70231. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
  70232. * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
  70233. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
  70234. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
  70235. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
  70236. * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
  70237. 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  70238. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  70239. 2012-05-19 David S. Miller <davem@davemloft.net>
  70240. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  70241. 2012-05-19 Joseph Myers <joseph@codesourcery.com>
  70242. [BZ #14123]
  70243. * math/s_ccosh.c: Include <float.h>
  70244. (__ccosh): Avoid internal overflow calculating sinh and cosh
  70245. values before multiplying by sin and cos values.
  70246. * math/s_ccoshf.c: Likewise.
  70247. * math/s_ccoshl.c: Likewise.
  70248. * math/s_csin.c: Likewise.
  70249. * math/s_csinf.c: Likewise.
  70250. * math/s_csinl.c: Likewise.
  70251. * math/s_csinh.c: Likewise.
  70252. * math/s_csinhf.c: Likewise.
  70253. * math/s_csinhl.c: Likewise.
  70254. * math/libm-test.inc (ccos_test): Add more tests.
  70255. (ccosh_test): Likewise.
  70256. (csin_test): Likewise.
  70257. (csinh_test): Likewise.
  70258. * sysdeps/i386/fpu/libm-test-ulps: Update.
  70259. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  70260. 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
  70261. * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
  70262. * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
  70263. * sysdeps/x86_64/x32/_itoa.h: Add comment.
  70264. 2012-05-19 Joseph Myers <joseph@codesourcery.com>
  70265. * sysdeps/powerpc/soft-fp/Makefile: Remove file.
  70266. * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
  70267. * sysdeps/powerpc/soft-fp/Versions: Likewise.
  70268. * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
  70269. * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
  70270. * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
  70271. * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
  70272. * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
  70273. * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
  70274. * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
  70275. * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
  70276. * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
  70277. * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
  70278. * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
  70279. * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
  70280. * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
  70281. * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
  70282. * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
  70283. * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
  70284. * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
  70285. * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
  70286. * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
  70287. * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
  70288. * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
  70289. * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
  70290. * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
  70291. * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
  70292. * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
  70293. * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
  70294. * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
  70295. * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
  70296. 2012-05-18 Andreas Jaeger <aj@suse.de>
  70297. * csu/.gitignore: Delete.
  70298. 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
  70299. * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
  70300. (timex): Use __syscall_slong_t.
  70301. 2012-05-18 Andreas Jaeger <aj@suse.de>
  70302. Carlos O'Donell <carlos_odonell@mentor.com>
  70303. * manual/install.texi (Configuring and compiling): Update
  70304. description about files modified in the source directory.
  70305. * INSTALL: Regenerated.
  70306. 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
  70307. * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
  70308. value. Use "or" to set return value to -1.
  70309. * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
  70310. negate return value.
  70311. 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  70312. * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
  70313. (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
  70314. failure if the compiler has Graphite support disabled.
  70315. * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
  70316. Likewise.
  70317. * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
  70318. (CFLAGS-memmove.c): Likewise.
  70319. * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
  70320. Likewise.
  70321. 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
  70322. * sysdeps/x86_64/x32/_itoa.h: New file.
  70323. * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
  70324. getdents system call only if kernel and user dirents have the
  70325. same d_ino and d_off.
  70326. * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
  70327. LLONG_MAX != LONG_MAX.
  70328. (_itoa_word): Use _ITOA_WORD_TYPE on value.
  70329. (_fitoa_word): Likewise.
  70330. * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
  70331. years.
  70332. * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
  70333. * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
  70334. * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
  70335. * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
  70336. include <bits/wordsize.h>. Check __x86_64__ instead of
  70337. __WORDSIZE.
  70338. (sigcontext): Use "__uint64_t" instead of "unsigned long int"
  70339. if __x86_64__ is defined. Use anonymous union on fpstate.
  70340. * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
  70341. anonymous union.
  70342. 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
  70343. * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
  70344. INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
  70345. * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
  70346. Refer to _rtld_local_ro instead of _rtld_global_ro.
  70347. * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
  70348. Likewise.
  70349. * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
  70350. Likewise.
  70351. * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
  70352. Likewise.
  70353. * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
  70354. * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
  70355. of _rtld_global, and rtld_progname instead of _dl_argv[0].
  70356. [BZ #10882]
  70357. * sysdeps/powerpc/powerpc32/dl-machine.c
  70358. (__elf_machine_runtime_setup) [PROF]: Don't reference
  70359. _dl_prof_resolve.
  70360. 2012-05-18 Andreas Jaeger <aj@suse.de>
  70361. * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
  70362. function only available for GCCs before 3.4 since GCC 3.4
  70363. introduced a builtin.
  70364. (lrint): Likewise.
  70365. (llrintf): Likewise.
  70366. (llrint): Likewise.
  70367. (fmaxf): Likewise.
  70368. (fmax): Likewise.
  70369. (fminf): Likewise.
  70370. (fmin): Likewise.
  70371. (rint): Likewise.
  70372. (rintf): Likewise.
  70373. (nearbyint): Likewise.
  70374. (nearbyintf): Likewise.
  70375. (ceil): Likewise.
  70376. (ceilf): Likewise.
  70377. (floor): Likewise.
  70378. (floorf): Likewise.
  70379. 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
  70380. * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
  70381. on both fields and cast pointer to __syscall_ulong_t.
  70382. * bits/types.h (__fsword_t): New type.
  70383. * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
  70384. sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
  70385. * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
  70386. (__FSWORD_T_TYPE): Likewise.
  70387. * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
  70388. (__FSWORD_T_TYPE): Likewise.
  70389. * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
  70390. (__FSWORD_T_TYPE): Likewise.
  70391. * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
  70392. (__FSWORD_T_TYPE): Likewise.
  70393. * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
  70394. __SWORD_TYPE with __fsword_t.
  70395. (statfs64): Likewise.
  70396. 2012-05-17 David S. Miller <davem@davemloft.net>
  70397. * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
  70398. 2012-05-17 Andreas Jaeger <aj@suse.de>
  70399. * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
  70400. warning.
  70401. 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
  70402. * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
  70403. 2012-05-17 Andreas Jaeger <aj@suse.de>
  70404. * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
  70405. when it is used.
  70406. 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
  70407. * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
  70408. 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
  70409. * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
  70410. * sysdeps/x86_64/tst-mallocalign1.c: New file.
  70411. 2012-05-17 Andreas Jaeger <aj@suse.de>
  70412. Carlos O'Donell <carlos_odonell@mentor.com>
  70413. [BZ #14059]
  70414. * sysdeps/x86_64/multiarch/init-arch.h
  70415. (bit_YMM_Usable): Rename to...
  70416. (bit_AVX_Usable): ... this.
  70417. (bit_FMA4_Usable): New macro.
  70418. (bit_XMM_state): New macro.
  70419. (bit_YMM_state): New macro.
  70420. [__ASSEMBLER__] (index_YMM_Usable): Rename to...
  70421. [__ASSEMBLER__] (index_AVX_Usable): ... this.
  70422. [__ASSEMBLER__] (index_FMA4_Usable): New macro.
  70423. (CPUID_OSXSAVE): New macro.
  70424. (CPUID_AVX): New macro.
  70425. (CPUID_FMA4): New macro.
  70426. (index_YMM_Usable): Rename to...
  70427. (index_AVX_Usable): ... this.
  70428. (HAS_AVX): Use HAS_ARCH_FEATURE.
  70429. (HAS_FMA4): Likewise.
  70430. (HAS_YMM_USABLE): Remove.
  70431. * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
  70432. Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
  70433. are present.
  70434. * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
  70435. * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
  70436. * sysdeps/x86_64/multiarch/Makefile: Likewise.
  70437. * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
  70438. * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
  70439. 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
  70440. * math/libm-test.c: Support platforms without multiple rounding modes.
  70441. * math/bug-nextafter.c: Support platforms without FP exceptions.
  70442. * math/bug-nexttoward.c: Likewise.
  70443. * math/test-fenv.c: Likewise.
  70444. * math/test-misc.c: Likewise.
  70445. * stdlib/bug-getcontext.c: Likewise.
  70446. 2012-05-17 Andreas Jaeger <aj@suse.de>
  70447. * manual/examples/search.c (critter_cmp): Change signature to
  70448. avoid warnings.
  70449. * manual/string.texi (Collation Functions): Likewise.
  70450. 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
  70451. * bits/types.h: Fold copyright years.
  70452. * bits/typesizes.h: Likewise.
  70453. * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
  70454. * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
  70455. * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
  70456. * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
  70457. * time/time.h: Likewise.
  70458. 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
  70459. [BZ #208]
  70460. * malloc.c (int_mallinfo): Add parameter to accumulate statistics
  70461. in instead of returning them. Return void.
  70462. (__libc_mallinfo): Accumulate over all arenas.
  70463. (__malloc_stats): Adjust for change in int_mallinfo interface.
  70464. 2012-05-16 Roland McGrath <roland@hack.frob.com>
  70465. [BZ #10375]
  70466. * configure.in (NM): Add AC_CHECK_TOOL for it.
  70467. (libc_extra_cflags): New substituted variable.
  70468. Check for -fstack-protector being used implicitly.
  70469. * configure: Regenerated.
  70470. * config.make.in (config-extra-cflags): New variable,
  70471. gets @libc_extra_cflags@.
  70472. * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
  70473. [BZ #10375]
  70474. * configure.in: Check for _FORTIFY_SOURCE being predefined.
  70475. (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
  70476. * configure: Regenerated.
  70477. * config.make.in (CPPUNDEFS): New substituted variable.
  70478. * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
  70479. * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
  70480. * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
  70481. 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
  70482. * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
  70483. (mq_attr): Use __syscall_slong_t.
  70484. 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
  70485. * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
  70486. Check __x86_64__ instead of __WORDSIZE.
  70487. (_STAT_VER_LINUX): Likewise.
  70488. (stat): Check __x86_64__ instead of __WORDSIZE. Use
  70489. __syscall_ulong_t and __syscall_slong_t.
  70490. (stat64): Likewise.
  70491. 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
  70492. * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
  70493. 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
  70494. * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
  70495. 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
  70496. * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
  70497. __syscall_ulong_t.
  70498. * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
  70499. include <bits/wordsize.h>. Check __x86_64__ instead of
  70500. __WORDSIZE.
  70501. (greg_t): Use "__extension__ long long int" if __x86_64__ is
  70502. defined.
  70503. (mcontext_t): Replace "unsigned long" with "unsigned long long".
  70504. * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
  70505. include <bits/wordsize.h>. Check __x86_64__ instead of
  70506. __WORDSIZE.
  70507. (user_regs_struct): Use "__extension__ unsigned long long"
  70508. instead of "unsigned long" if __x86_64__ is defined.
  70509. (user): Likewise. Pad after pointer field if __ILP32__ is
  70510. defined.
  70511. 2012-05-16 Joseph Myers <joseph@codesourcery.com>
  70512. * configure.in (makeinfo): Require version 4.5 or later. Allow
  70513. versions 5 to 9.
  70514. * configure: Regenerated.
  70515. * manual/install.texi (texinfo): Increase version requirement to
  70516. 4.5 or later.
  70517. * INSTALL: Regenerated.
  70518. * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
  70519. 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
  70520. * sysdeps/x86_64/x32/gmp-mparam.h: New file.
  70521. * sysdeps/x86_64/x32/ffs.c: New file.
  70522. * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
  70523. __syscall_ulong_t.
  70524. (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
  70525. defined. Use __syscall_ulong_t.
  70526. (shminfo): Use __syscall_ulong_t.
  70527. (shm_info): Likewise.
  70528. * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
  70529. __syscall_ulong_t.
  70530. * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
  70531. <bits/wordsize.h>.
  70532. (msgqnum_t): Use __syscall_ulong_t.
  70533. (msglen_t): Likewise.
  70534. (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
  70535. __syscall_ulong_t.
  70536. * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
  70537. <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
  70538. * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
  70539. * sysdeps/x86_64/x32/divdi3.c: New dummy file.
  70540. * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
  70541. * sysvipc/sys/msg.h (msgbuf): Replace long int with
  70542. __syscall_slong_t.
  70543. * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
  70544. include <bits/wordsize.h>. Check __x86_64__ instead of
  70545. __WORDSIZE.
  70546. * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
  70547. "unsigned long long int" if __x86_64__ is defined.
  70548. (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
  70549. * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
  70550. <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
  70551. (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
  70552. * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
  70553. <stdint.h>.
  70554. (GET_PC): Cast to uintptr_t first.
  70555. (GET_FRAME): Likewise.
  70556. (GET_STACK): Likewise.
  70557. * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
  70558. * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
  70559. * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
  70560. * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
  70561. * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
  70562. * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
  70563. * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
  70564. * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
  70565. * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
  70566. * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
  70567. * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
  70568. * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
  70569. * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
  70570. * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
  70571. * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
  70572. * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
  70573. * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
  70574. * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
  70575. * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
  70576. * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
  70577. * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
  70578. * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
  70579. * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
  70580. * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
  70581. * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
  70582. * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
  70583. * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
  70584. * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
  70585. * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
  70586. 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
  70587. * Makerules (+depfiles): Also collect depfiles from .oS in
  70588. $(extra-objs).
  70589. * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
  70590. .oS, $(libnldbl-routines)).
  70591. * Makerules (native-compile-mkdep-flags): Define.
  70592. * sunrpc/Makefile (extra-objs): Add $(addprefix
  70593. cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
  70594. ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
  70595. of $(compile-mkdep-flags). Depend on $(before-compile) instead of
  70596. calling $(make-target-directory).
  70597. 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
  70598. * bits/types.h (__snseconds_t): Removed.
  70599. * time/time.h (struct timespec): Replace __snseconds_t with
  70600. __syscall_slong_t.
  70601. * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
  70602. * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
  70603. Likewise.
  70604. * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
  70605. (__SNSECONDS_T_TYPE): Likewise.
  70606. * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
  70607. (__SNSECONDS_T_TYPE): Likewise.
  70608. * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
  70609. (__SNSECONDS_T_TYPE): Likewise.
  70610. 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
  70611. * sysdeps/mach/hurd/bits/typesizes.h
  70612. (__SYSCALL_SLONG_TYPE): New macro.
  70613. (__SYSCALL_ULONG_TYPE): Likewise.
  70614. 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
  70615. * bits/types.h (__syscall_slong_t): New type.
  70616. (__syscall_ulong_t): Likewise.
  70617. * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
  70618. (__SYSCALL_ULONG_TYPE): Likewise.
  70619. * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
  70620. (__SYSCALL_SLONG_TYPE): Likewise.
  70621. (__SYSCALL_ULONG_TYPE): Likewise.
  70622. * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
  70623. (__SYSCALL_SLONG_TYPE): Likewise.
  70624. (__SYSCALL_ULONG_TYPE): Likewise.
  70625. * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
  70626. (__SYSCALL_SLONG_TYPE): Likewise.
  70627. (__SYSCALL_ULONG_TYPE): Likewise.
  70628. 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
  70629. * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
  70630. Add sigaltstack-offsets.sym.
  70631. * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
  70632. <sigaltstack-offsets.h>.
  70633. (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
  70634. longjmp_msg pointer.
  70635. (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
  70636. R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
  70637. signal stack.
  70638. * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
  70639. 2012-05-15 Joseph Myers <joseph@codesourcery.com>
  70640. * elf/stackguard-macros.h: Remove file.
  70641. * sysdeps/generic/stackguard-macros.h: New file.
  70642. * sysdeps/i386/stackguard-macros.h: Likewise.
  70643. * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
  70644. * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
  70645. * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
  70646. * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
  70647. * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
  70648. * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
  70649. * sysdeps/x86_64/stackguard-macros.h: Likewise.
  70650. * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
  70651. <elf/stackguard-macros.h>.
  70652. [BZ #14109]
  70653. * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
  70654. __aligned__ in attribute.
  70655. * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
  70656. (gregset_t): Likewise.
  70657. 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
  70658. * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
  70659. * sysdeps/x86_64/64/Implies-after: Here. New file.
  70660. * sysdeps/x86_64/x32/Implies-after: New file.
  70661. 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
  70662. * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
  70663. and access return value for _dl_profile_fixup. Use R10_LP to
  70664. load frame size.
  70665. 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
  70666. * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
  70667. 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
  70668. * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
  70669. * sysdeps/x86_64/x32/sysdep.h: New file.
  70670. 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
  70671. * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
  70672. * sysdeps/x86_64/setjmp.S: Likewise.
  70673. 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  70674. * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
  70675. * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
  70676. * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
  70677. * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
  70678. remove unused global constant.
  70679. 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
  70680. * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
  70681. include of <not-cancel.h>.
  70682. 2012-05-15 Roland McGrath <roland@hack.frob.com>
  70683. * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
  70684. 2012-05-15 Jeff Law <law@redhat.com>
  70685. Andreas Jaeger <aj@suse.de>
  70686. [BZ #13594]
  70687. * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
  70688. out from...
  70689. * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
  70690. * nscd/nscd-client.h: Add __nscd_acquire_maplock.
  70691. * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
  70692. code changing __hst_map_handle.map.
  70693. 2012-05-15 Roland McGrath <roland@hack.frob.com>
  70694. * configure.in (sysnames): Look for Implies-before and Implies-after
  70695. files.
  70696. * configure: Regenerated.
  70697. 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
  70698. * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
  70699. 8-byte data alignment with LP_SIZE alignment.
  70700. 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
  70701. * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
  70702. into R10_LP.
  70703. 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
  70704. * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
  70705. 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
  70706. * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
  70707. * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
  70708. * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
  70709. Likewise.
  70710. * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
  70711. 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
  70712. * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
  70713. (stackinfo_sub_sp): Likewise.
  70714. 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
  70715. * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
  70716. RAX_LP.
  70717. 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
  70718. * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
  70719. into R*_LP.
  70720. 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
  70721. * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
  70722. sizes into R*_LP.
  70723. 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
  70724. * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
  70725. 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
  70726. * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
  70727. into R11_LP and load __x86_64_shared_cache_size_half into
  70728. R8_LP.
  70729. 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
  70730. * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
  70731. R8_LP.
  70732. 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  70733. * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
  70734. logb for POWER7.
  70735. * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
  70736. logbf for POWER7.
  70737. * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
  70738. logbl for POWER7.
  70739. * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
  70740. powerpc32/power7/fpu/s_logb.c via #include.
  70741. * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
  70742. powerpc32/power7/fpu/s_logbf.c via #include.
  70743. * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
  70744. powerpc32/power7/fpu/s_logbl.c via #include.
  70745. 2012-05-15 Joseph Myers <joseph@codesourcery.com>
  70746. * README.libm: Remove file.
  70747. 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
  70748. * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
  70749. count for x32. Use R*_LP and omit operand-size suffix.
  70750. 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
  70751. * shlib-versions: Move x86_64-.*-linux.* entries to ...
  70752. * sysdeps/x86_64/64/shlib-versions: Here. New file.
  70753. * sysdeps/x86_64/x32/shlib-versions: New file.
  70754. 2012-05-14 Roland McGrath <roland@hack.frob.com>
  70755. * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
  70756. * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
  70757. Use _dl_fatal_printf instead.
  70758. 2012-05-14 Joseph Myers <joseph@codesourcery.com>
  70759. * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
  70760. set if not set by the user. Do not allow for being unset.
  70761. * sysdeps/unix/sysv/linux/configure: Regenerated.
  70762. 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
  70763. * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
  70764. the `q' suffix from lea and replace .quad with ASM_ADDR.
  70765. 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
  70766. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
  70767. the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
  70768. instead of $17.
  70769. (PTR_DEMANGLE): Likewise.
  70770. 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
  70771. * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
  70772. (LP_OP): Likewise.
  70773. (ASM_ADDR): Likewise.
  70774. (RAX_LP): Likewise.
  70775. (RBP_LP): Likewise.
  70776. (RBX_LP): Likewise.
  70777. (RCX_LP): Likewise.
  70778. (RDI_LP): Likewise.
  70779. (RSI_LP): Likewise.
  70780. (RSP_LP): Likewise.
  70781. (R8_LP): Likewise.
  70782. (R9_LP): Likewise.
  70783. (R10_LP): Likewise.
  70784. (R10_LP): Likewise.
  70785. (R11_LP): Likewise.
  70786. (R12_LP): Likewise.
  70787. (R13_LP): Likewise.
  70788. (R14_LP): Likewise.
  70789. (R15_LP): Likewise.
  70790. 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
  70791. * sysdeps/x86_64/x32/dl-machine.h: New file.
  70792. 2012-05-14 Andreas Jaeger <aj@suse.de>
  70793. * manual/Makefile (subdir): Remove export of subdir.
  70794. (all): Remove target.
  70795. (.PHONY): Remove all from list.
  70796. (mkinstalldirs): Remove.
  70797. (.PHONY): Remove installdirs from list.
  70798. ($(inst_infodir)/libc.info): Use make-target-directory.
  70799. (installdirs): Remove.
  70800. (subdir_%): Remove.
  70801. (glibc-targets): Remove.
  70802. (lib): Remove.
  70803. (stubs): Remove.
  70804. ($(objpfx)stubs ../po/manual.pot): Remove.
  70805. ($(objpfx)stamp%): Remove.
  70806. (make-target-directory): Remove.
  70807. (subdir_install): Remove.
  70808. (routines): Remove.
  70809. (aux): Remove.
  70810. (sources): Remove.
  70811. (objects): Remove.
  70812. (headers): Remove.
  70813. [BZ #13750]
  70814. * manual/.gitignore: Remove, it's not needed anymore.
  70815. * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
  70816. all files in it.
  70817. * manual/Makefile (dvi, pdf, info, html): Depend on files in build
  70818. directory.
  70819. (texis): Renamed to $(objpfx)texis.
  70820. (texis-path): New, contains path to generated files.
  70821. (chapters.%): Use texis-path for complete path, add extra argument
  70822. libc-texinfo.sh.
  70823. (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
  70824. (libc/index.html, summary.texi): Add $(objpfx) as prefix.
  70825. (summary,texi, stamp-summary): Use complete path of
  70826. files. Generate files in build dir.
  70827. (dir-add.texi): Build in build dir.
  70828. (libm-err.texi,stamp-libm-err): Likewise.
  70829. (version.texi, stamp-version): Likewise.
  70830. (.%c.texi): Likewise.
  70831. (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
  70832. (mostlyclean): Remove target.
  70833. (realclean): Remove target.
  70834. (generated): Add new variable with contents from mostlyclean and
  70835. realclean, remove entries duplicated in common-mostlyclean, add
  70836. stamp-libm-err and stamp-version.
  70837. (generated-dirs): Add libc directory.
  70838. ($(inst_infodir)/libc.info): Install files from build dir.
  70839. * manual/install.texi (Configuring and compiling): Adjust since
  70840. the info files are not part of the tar ball anymore.
  70841. 2012-05-14 Andreas Jaeger <aj@suse.de>
  70842. * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
  70843. variable.
  70844. 2012-05-14 Joseph Myers <joseph@codesourcery.com>
  70845. [BZ #13717]
  70846. * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
  70847. to 2.2.0 where earlier.
  70848. * sysdeps/unix/sysv/linux/configure: Regenerated.
  70849. * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
  70850. Remove conditional code.
  70851. [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
  70852. * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
  70853. Remove conditional code.
  70854. [!__NR_lchown]: Likewise.
  70855. [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
  70856. [__NR_lchown]: Likewise.
  70857. * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
  70858. comment referencing __ASSUME_LCHOWN_SYSCALL.
  70859. * sysdeps/unix/sysv/linux/i386/sigaction.c
  70860. [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
  70861. [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
  70862. * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
  70863. Remove conditional code.
  70864. [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
  70865. (__protocol_available): Remove #if 0 code.
  70866. * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
  70867. conditional code.
  70868. [__ASSUME_SIOCGIFNAME]: Make code unconditional.
  70869. * sysdeps/unix/sysv/linux/kernel-features.h
  70870. (__ASSUME_GETCWD_SYSCALL): Don't define.
  70871. (__ASSUME_REALTIME_SIGNALS): Likewise.
  70872. (__ASSUME_PREAD_SYSCALL): Likewise.
  70873. (__ASSUME_PWRITE_SYSCALL): Likewise.
  70874. (__ASSUME_POLL_SYSCALL): Likewise.
  70875. (__ASSUME_LCHOWN_SYSCALL): Likewise.
  70876. (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
  70877. non-SPARC.
  70878. (__ASSUME_SIOCGIFNAME): Don't define.
  70879. (__ASSUME_MSG_NOSIGNAL): Likewise.
  70880. (__ASSUME_SENDFILE): Define unconditionally.
  70881. (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
  70882. * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
  70883. conditional code.
  70884. [__ASSUME_POLL_SYSCALL]: Make code unconditional.
  70885. * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
  70886. [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
  70887. (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
  70888. * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
  70889. [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
  70890. (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
  70891. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
  70892. [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
  70893. [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
  70894. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
  70895. [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
  70896. [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
  70897. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
  70898. [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
  70899. [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
  70900. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
  70901. [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
  70902. [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
  70903. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
  70904. [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
  70905. [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
  70906. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
  70907. [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
  70908. [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
  70909. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
  70910. [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
  70911. [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
  70912. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
  70913. [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
  70914. [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
  70915. * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
  70916. Remove conditional code.
  70917. [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
  70918. * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
  70919. Remove conditional code.
  70920. [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
  70921. * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
  70922. [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
  70923. * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
  70924. Remove conditional code.
  70925. [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
  70926. * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
  70927. Remove conditional code.
  70928. [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
  70929. * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
  70930. Remove conditional code.
  70931. [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
  70932. * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
  70933. Remove conditional code.
  70934. [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
  70935. * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
  70936. Remove conditional code.
  70937. [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
  70938. * sysdeps/unix/sysv/linux/sh/pwrite64.c
  70939. [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
  70940. [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
  70941. * sysdeps/unix/sysv/linux/sigaction.c
  70942. [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
  70943. [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
  70944. * sysdeps/unix/sysv/linux/sigpending.c
  70945. [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
  70946. [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
  70947. * sysdeps/unix/sysv/linux/sigprocmask.c
  70948. [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
  70949. [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
  70950. * sysdeps/unix/sysv/linux/sigsuspend.c
  70951. [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
  70952. [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
  70953. * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
  70954. (__libc_missing_rt_sigs): Remove.
  70955. (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
  70956. (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
  70957. * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
  70958. Remove conditional code.
  70959. [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
  70960. * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
  70961. return 1.
  70962. * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
  70963. [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
  70964. * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
  70965. [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
  70966. 2012-05-14 Andreas Jaeger <aj@suse.de>
  70967. * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
  70968. it's not used in glibc.
  70969. (__coshm1): Likewise.
  70970. (__acosh1p): Likewise.
  70971. (__sgn): Likewise.
  70972. * manual/string.texi (Copying and Concatenation): Add missing
  70973. variable in concat example.
  70974. Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
  70975. 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
  70976. [BZ #14103]
  70977. * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
  70978. __builtin_clzl with __builtin_clzll.
  70979. 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
  70980. [BZ #14104]
  70981. * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
  70982. libc_freeres_ptr.
  70983. 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
  70984. * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
  70985. * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
  70986. * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
  70987. * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
  70988. 2012-05-14 Mike Frysinger <vapier@gentoo.org>
  70989. * NEWS: Update ia64 info.
  70990. 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
  70991. * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
  70992. used as bcopy.
  70993. 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
  70994. * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
  70995. * sysdeps/unix/syscalls.list (dup3): Likewise.
  70996. * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
  70997. * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
  70998. 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
  70999. * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
  71000. "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
  71001. 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
  71002. * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
  71003. thread pointer.
  71004. (TLS_IE): Use mov/add instead of movq/addq to load thread
  71005. pointer.
  71006. (TLS_GD_PREFIX): New.
  71007. (TLS_GD): Use it.
  71008. 2012-05-11 David S. Miller <davem@davemloft.net>
  71009. * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
  71010. * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
  71011. (_FPU_SETCW): Likewise.
  71012. 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
  71013. * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
  71014. is 32-byte aligned.
  71015. 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
  71016. [BZ #11837]
  71017. * iconvdata/gb18030.c: Update tables.
  71018. (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
  71019. characters specially.
  71020. (BODY for TO_LOOP): Add encoding of missing ranges.
  71021. 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
  71022. [BZ #13673]
  71023. * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
  71024. * sysdeps/mach/hurd/dup3.c: Likewise.
  71025. * sysdeps/mach/hurd/readlinkat.c: Likewise.
  71026. * sysdeps/powerpc/memmove.c:: Likewise.
  71027. 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
  71028. * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
  71029. R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
  71030. 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
  71031. * elf/elf.h (R_X86_64_RELATIVE64): New.
  71032. (R_X86_64_NUM): Updated.
  71033. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
  71034. R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
  71035. (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
  71036. * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
  71037. tst-quad1pie tst-quad2pie
  71038. (modules-names): Add tst-quadmod1 tst-quadmod2.
  71039. ($(objpfx)tst-quad1): New dependency.
  71040. ($(objpfx)tst-quad2): Likewise.
  71041. ($(objpfx)tst-quad1pie): Likewise.
  71042. ($(objpfx)tst-quad2pie): Likewise.
  71043. * sysdeps/x86_64/tst-quad1.c: New file.
  71044. * sysdeps/x86_64/tst-quad1pie.c: New file.
  71045. * sysdeps/x86_64/tst-quad2.c: Likewise.
  71046. * sysdeps/x86_64/tst-quad2pie.c: Likewise.
  71047. * sysdeps/x86_64/tst-quadmod1.S: Likewise.
  71048. * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
  71049. * sysdeps/x86_64/tst-quadmod2.S: Likewise.
  71050. * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
  71051. 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
  71052. * io/fcntl.h (mode_t, off_t, pid_t): Define types.
  71053. (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
  71054. * streams/stropts.h (t_scalar_t): Define type.
  71055. * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
  71056. (_PATH_PRESERVE): Set to "/var/lib".
  71057. (_PATH_RWHODIR): Set to "/var/spool/rwho".
  71058. * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
  71059. instead of int.
  71060. * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
  71061. if __dir_mkfile succeeded.
  71062. * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
  71063. checking for _hurd_dtablesize. Unlock it right after having
  71064. finished _hurd_dtable allocation.
  71065. 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
  71066. * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
  71067. * sysdeps/mach/hurd/configure: Regenerated.
  71068. * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
  71069. special-casing to...
  71070. * sysdeps/gnu/configure.in: ... this new file.
  71071. * sysdeps/unix/sysv/linux/configure: Regenerated.
  71072. * sysdeps/gnu/configure: New generated file.
  71073. * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
  71074. for Linux: use nsec instead of usec, as well as:
  71075. [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
  71076. members of type struct timespec.
  71077. [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
  71078. New macros.
  71079. (struct stat64): Likewise.
  71080. (_STATBUF_ST_NSEC): New macro.
  71081. * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
  71082. * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
  71083. __strtoul_internal rather than strtoul.
  71084. 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
  71085. * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
  71086. and reject them.
  71087. 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
  71088. * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
  71089. which preserves existing values.
  71090. * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
  71091. 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
  71092. * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
  71093. TIMEOUT values. Return EINVAL for NFDS values either negative or
  71094. greater than FD_SETSIZE.
  71095. 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
  71096. * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
  71097. allocated, call __vm_protect to finish enabling the existing space, and
  71098. pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
  71099. allocate the remainder.
  71100. 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
  71101. * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
  71102. address port. Set ADDR_LEN to 0 when not filling ADDRARG.
  71103. 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
  71104. * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
  71105. sysdeps/mach/hurd/readlink.c.
  71106. * posix/tst-sysconf.c (posix_options): Only use
  71107. _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
  71108. _POSIX_SYNCHRONIZED_IO when they are defined
  71109. * sysdeps/mach/hurd/bits/posix_opt.h:
  71110. (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
  71111. (_XOPEN_REALTIME): Undefine macro.
  71112. (_XOPEN_REALTIME_THREADS): Undefine macro.
  71113. (_XOPEN_SHM): Undefine macro.
  71114. [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
  71115. macro to -1.
  71116. [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
  71117. macro to -1.
  71118. (_POSIX_ASYNC_IO): Undefine macro.
  71119. (_POSIX_PRIORITIZED_IO): Undefine macro.
  71120. (_POSIX_SPIN_LOCKS): Define macro to -1.
  71121. * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
  71122. SA_NODEFER, SA_RESETHAND.
  71123. * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
  71124. O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
  71125. F_DUPFD_CLOEXEC.
  71126. 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
  71127. * elf/Makefile (pldd-modules): Define unconditionally.
  71128. 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
  71129. * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
  71130. 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
  71131. * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
  71132. Return ENOENT when name is empty.
  71133. * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
  71134. 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
  71135. * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
  71136. * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
  71137. 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
  71138. Fix mlock in all cases except non-readable pages.
  71139. * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
  71140. instead of VM_PROT_ALL as parameter to __vm_wire function.
  71141. * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
  71142. (__mkdir): When path is `/', just fail with EEXIST.
  71143. * sysdeps/mach/hurd/mkdirat.c: Likewise.
  71144. 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
  71145. * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
  71146. <sys/uio.h> (for writev).
  71147. * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
  71148. and <sys/param.h> (for MIN).
  71149. 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
  71150. * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
  71151. REQUESTED_TIME. Properly set the remaining time and return EINTR
  71152. if interrupted.
  71153. 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
  71154. * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
  71155. Depend on against $(link-rpcuserlibs).
  71156. 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
  71157. * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
  71158. (__libc_stack_end): Do not use attribute_relro.
  71159. * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
  71160. * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
  71161. to libthread-provided value.
  71162. * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
  71163. attribute_relro.
  71164. 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
  71165. [BZ #3748]
  71166. * bits/libc-lock.h (__libc_once_get): New macro.
  71167. * sysdeps/mach/bits/libc-lock.h: Likewise.
  71168. * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
  71169. * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
  71170. instead of using implementation details.
  71171. * libio/fileops.c: Unconditionally include <kernel-features.h>.
  71172. * libio/freopen.c: Likewise.
  71173. * libio/freopen64.c: Likewise.
  71174. * misc/syslog.c: Likewise.
  71175. * nscd/connections.c: Likewise.
  71176. * nscd/netgroupcache.c: Likewise.
  71177. * sysdeps/posix/getcwd.c: Likewise.
  71178. 2012-05-10 Roland McGrath <roland@hack.frob.com>
  71179. * math/w_ilogbf.c: Add #include <limits.h>.
  71180. 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
  71181. * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
  71182. path instead of returning without unlocking.
  71183. * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
  71184. immediate-write ioctls.
  71185. * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
  71186. 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
  71187. * sysdeps/mach/hurd/i386/init-first.c (init): Use
  71188. __builtin_frame_address instead of making assumptions about the
  71189. location of the return address relative to DATA. Force early load of
  71190. the return address.
  71191. (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
  71192. __builtin_frame_address.
  71193. dup3 for GNU Hurd.
  71194. * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
  71195. * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
  71196. implement dup3 and do some further code clean-ups.
  71197. * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
  71198. * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
  71199. 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
  71200. * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
  71201. * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
  71202. HURD_CRITICAL_END around holding _hurd_dtable_lock.
  71203. * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
  71204. * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
  71205. HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
  71206. d->port.lock.
  71207. * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
  71208. instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
  71209. when handler == SIG_ERR, not when handler != SIG_ERR.
  71210. 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
  71211. * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
  71212. (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
  71213. definitions.
  71214. accept4 for GNU Hurd.
  71215. * include/sys/socket.h (__libc_accept4): New prototype.
  71216. * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
  71217. to implement __libc_accept4.
  71218. * sysdeps/mach/hurd/accept.c (accept): Reimplement using
  71219. __libc_accept4.
  71220. * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
  71221. * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
  71222. * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
  71223. * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
  71224. signal-defines.sym.
  71225. 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
  71226. * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
  71227. 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
  71228. * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
  71229. assertion on O_CLOEXEC flag.
  71230. * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
  71231. * hurd/intern-fd.c: Likewise.
  71232. * hurd/port2fd.c: Likewise.
  71233. 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
  71234. [BZ #3906]
  71235. * bits/in.h (IPV6_PKTINFO): Define new macro.
  71236. (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
  71237. 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  71238. [BZ #13954]
  71239. [BZ #13955]
  71240. [BZ #13956]
  71241. * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
  71242. * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
  71243. * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
  71244. * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
  71245. * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
  71246. * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
  71247. * math/libm-test.inc (logb_test) : Additional logb tests.
  71248. 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
  71249. Andreas Jaeger <aj@suse.de>
  71250. * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
  71251. * configure: Regenerated.
  71252. * config.h.in (LINK_OBSOLETE_RPC): New macro.
  71253. * config.make.in (link-obsolete-rpc): New substituted variable.
  71254. * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
  71255. libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
  71256. * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
  71257. (shared-only-routines): Don't set it under [link-obsolete-rpc],
  71258. so that libc.a contains the symbols.
  71259. * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
  71260. * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
  71261. * sunrpc/auth_none.c: Likewise.
  71262. * sunrpc/auth_unix.c: Likewise.
  71263. * sunrpc/authdes_prot.c: Likewise.
  71264. * sunrpc/authuxprot.c: Likewise.
  71265. * sunrpc/clnt_gen.c: Likewise.
  71266. * sunrpc/clnt_perr.c: Likewise.
  71267. * sunrpc/clnt_raw.c: Likewise.
  71268. * sunrpc/clnt_simp.c: Likewise.
  71269. * sunrpc/clnt_tcp.c: Likewise.
  71270. * sunrpc/clnt_udp.c: Likewise.
  71271. * sunrpc/clnt_unix.c: Likewise.
  71272. * sunrpc/des_crypt.c: Likewise.
  71273. * sunrpc/des_soft.c: Likewise.
  71274. * sunrpc/get_myaddr.c: Likewise.
  71275. * sunrpc/key_call.c: Likewise.
  71276. * sunrpc/key_prot.c: Likewise.
  71277. * sunrpc/netname.c: Likewise.
  71278. * sunrpc/pm_getmaps.c: Likewise.
  71279. * sunrpc/pm_getport.c: Likewise.
  71280. * sunrpc/pmap_clnt.c: Likewise.
  71281. * sunrpc/pmap_prot.c: Likewise.
  71282. * sunrpc/pmap_prot2.c: Likewise.
  71283. * sunrpc/pmap_rmt.c: Likewise.
  71284. * sunrpc/publickey.c: Likewise.
  71285. * sunrpc/rpc_cmsg.c: Likewise.
  71286. * sunrpc/rpc_common.c: Likewise.
  71287. * sunrpc/rpc_dtable.c: Likewise.
  71288. * sunrpc/rpc_prot.c: Likewise.
  71289. * sunrpc/rpc_thread.c: Likewise.
  71290. * sunrpc/rtime.c: Likewise.
  71291. * sunrpc/svc.c: Likewise.
  71292. * sunrpc/svc_auth.c: Likewise.
  71293. * sunrpc/svc_raw.c: Likewise.
  71294. * sunrpc/svc_run.c: Likewise.
  71295. * sunrpc/svc_tcp.c: Likewise.
  71296. * sunrpc/svc_udp.c: Likewise.
  71297. * sunrpc/svc_unix.c: Likewise.
  71298. * sunrpc/svcauth_des.c: Likewise.
  71299. * sunrpc/xcrypt.c: Likewise.
  71300. * sunrpc/xdr.c: Likewise.
  71301. * sunrpc/xdr_array.c: Likewise.
  71302. * sunrpc/xdr_float.c: Likewise.
  71303. * sunrpc/xdr_intXX_t.c: Likewise.
  71304. * sunrpc/xdr_mem.c: Likewise.
  71305. * sunrpc/xdr_rec.c: Likewise.
  71306. * sunrpc/xdr_ref.c: Likewise.
  71307. * sunrpc/xdr_sizeof.c: Likewise.
  71308. * sunrpc/xdr_stdio.c: Likewise.
  71309. 2012-05-10 Roland McGrath <roland@hack.frob.com>
  71310. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
  71311. change. Update copyright years.
  71312. 2012-05-10 Joseph Myers <joseph@codesourcery.com>
  71313. * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
  71314. 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
  71315. Joseph Myers <joseph@codesourcery.com>
  71316. Paul Pluzhnikov <ppluzhnikov@google.com>
  71317. [BZ #14012]
  71318. * sunrpc/Makefile [cross-compiling] (headers): Enable additions
  71319. requiring rpcgen.
  71320. [cross-compiling] (extra-libs): Likewise.
  71321. [cross-compiling] (extra-libs-others): Likewise.
  71322. [cross-compiling] (librpcsvc-routines): Likewise.
  71323. [cross-compiling] (librpcsvc-inhibit-o): Likewise.
  71324. [cross-compiling] (omit-deps): Likewise.
  71325. (sunrpc-CPPFLAGS): New variable.
  71326. (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
  71327. (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
  71328. (cross-rpcgen-objs): New variable.
  71329. (extra-objs): Append $(cross-rpcgen-objs).
  71330. ($(cross-rpcgen-objs)): New rule.
  71331. ($(objpfx)cross-rpcgen): Likewise.
  71332. (rpcgen-cmd): Define to use $(built-program-file). Expand
  71333. comment.
  71334. ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
  71335. ($(objpfx)x%.stmp): Likewise.
  71336. * sunrpc/proto.h [IS_IN_build] (_): Define.
  71337. [IS_IN_build] (_libc_intl_domainname): Likewise.
  71338. 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
  71339. * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
  71340. Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
  71341. and R_X86_64_TPOFF64.
  71342. 2012-05-10 Joseph Myers <joseph@codesourcery.com>
  71343. * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
  71344. sysdeps/unix/sysv/syscalls.list.
  71345. (stime): Likewise.
  71346. (utime): Likewise.
  71347. * sysdeps/unix/sysv/syscalls.list: Remove file.
  71348. 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
  71349. [BZ #3440]
  71350. * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
  71351. (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
  71352. (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
  71353. (__LC_IDENTIFICATION): Make these macros useful in #if
  71354. expressions, as required by C99.
  71355. 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
  71356. * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
  71357. $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
  71358. after this.
  71359. 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
  71360. * stdlib/longlong.h: Updated from GCC.
  71361. 2012-05-09 Andreas Jaeger <aj@suse.de>
  71362. * nscd/nscd.c (run_modes): Make named enum, reorder so that
  71363. default is first entry.
  71364. (run_mode): Set type.
  71365. (main): Remove informal message about syslog.
  71366. (options): Fix typo.
  71367. [BZ #14053]
  71368. * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
  71369. to asm.
  71370. (lrint): Likewise.
  71371. (llrintf): Likewise.
  71372. (llrint): Likewise.
  71373. (rint): Likewise.
  71374. (rintf): Likewise.
  71375. (nearbyint): Likewise.
  71376. (nearbyintf): Likewise.
  71377. 2012-05-09 Andreas Jaeger <aj@suse.de>
  71378. Pedro Alves <palves@redhat.com>
  71379. * nscd/nscd.c (run_mode): Use enum.
  71380. (main): Cleanup coding style issue.
  71381. 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
  71382. Andreas Jaeger <aj@suse.de>
  71383. * nscd/nscd.c (go_background): Replaced with...
  71384. (run_mode): ... this.
  71385. (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
  71386. (options): Add -F --foreground.
  71387. (main): Implement it.
  71388. (parse_opt): Parse it.
  71389. 2012-05-09 Andreas Jaeger <aj@suse.de>
  71390. [BZ #14083]
  71391. * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
  71392. !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
  71393. -Wconversion warning.
  71394. (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
  71395. Likewise.
  71396. 2012-05-09 Joseph Myers <joseph@codesourcery.com>
  71397. * conform/data/locale.h-data (NULL): Use macro-constant. Require
  71398. == 0.
  71399. (LC_ALL): Use macro-int-constant.
  71400. (LC_COLLATE): Likewise.
  71401. (LC_CTYPE): Likewise.
  71402. (LC_MESSAGES): Likewise.
  71403. (LC_MONETARY): Likewise.
  71404. (LC_NUMERIC): Likewise.
  71405. (LC_TIME): Likewise.
  71406. [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
  71407. (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
  71408. [ISO || ISO99 || ISO11] (*_t): Do not allow.
  71409. * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
  71410. Specify type.
  71411. [C99-based standards] (float_t): Expect type.
  71412. [C99-based standards] (double_t): Expect type.
  71413. [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
  71414. type.
  71415. [C99-based standards] (HUGE_VALL): Likewise.
  71416. [C99-based standards] (INFINITY): Likewise.
  71417. [C99-based standards] (NAN): Likewise.
  71418. [C99-based standards] (FP_INFINITE): Use macro-int-constant.
  71419. [C99-based standards] (FP_NAN): Likewise.
  71420. [C99-based standards] (FP_NORMAL): Likewise.
  71421. [C99-based standards] (FP_SUBNORMAL): Likewise.
  71422. [C99-based standards] (FP_ZERO): Likewise.
  71423. [C99-based standards] (FP_FAST_FMA): Use
  71424. optional-macro-int-constant. Specify type. Require == 1.
  71425. [C99-based standards] (FP_FAST_FMAF): Likewise.
  71426. [C99-based standards] (FP_FAST_FMAL): Likewise.
  71427. [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
  71428. [C99-based standards] (FP_ILOGBNAN): Likewise.
  71429. [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
  71430. Specify type.
  71431. [C99-based standards] (MATH_ERREXCEPT): Likewise.
  71432. [C99-based standards] (math_errhandling): Specify type.
  71433. [ISO99 || ISO11] (signgam): Do not allow.
  71434. [non-C99-based standards] (copysignf): Do not allow.
  71435. [non-C99-based standards] (exp2f): Likewise.
  71436. [non-C99-based standards] (log2f): Likewise.
  71437. [non-C99-based standards] (modff): Allow.
  71438. [non-C99-based standards] (erff): Do not allow.
  71439. [non-C99-based standards] (erfcf): Likewise.
  71440. [non-C99-based standards] (gammaf): Likewise.
  71441. [non-C99-based standards] (hypotf): Likewise.
  71442. [non-C99-based standards] (j0f): Likewise.
  71443. [non-C99-based standards] (j1f): Likewise.
  71444. [non-C99-based standards] (jnf): Likewise.
  71445. [non-C99-based standards] (lgammaf): Likewise.
  71446. [non-C99-based standards] (tgammaf): Likewise.
  71447. [non-C99-based standards] (y0f): Likewise.
  71448. [non-C99-based standards] (y1f): Likewise.
  71449. [non-C99-based standards] (ynf): Likewise.
  71450. [non-C99-based standards] (isnanf): Likewise.
  71451. [non-C99-based standards] (acoshf): Likewise.
  71452. [non-C99-based standards] (asinhf): Likewise.
  71453. [non-C99-based standards] (atanhf): Likewise.
  71454. [non-C99-based standards] (cbrtf): Likewise.
  71455. [non-C99-based standards] (expm1f): Likewise.
  71456. [non-C99-based standards] (ilogbf): Likewise.
  71457. [non-C99-based standards] (log1pf): Likewise.
  71458. [non-C99-based standards] (logbf): Likewise.
  71459. [non-C99-based standards] (nextafterf): Likewise.
  71460. [non-C99-based standards] (remainderf): Likewise.
  71461. [non-C99-based standards] (rintf): Likewise.
  71462. [non-C99-based standards] (scalbf): Likewise.
  71463. [non-C99-based standards] (copysignl): Likewise.
  71464. [non-C99-based standards] (exp2l): Likewise.
  71465. [non-C99-based standards] (log2l): Likewise.
  71466. [non-C99-based standards] (modfl): Allow.
  71467. [non-C99-based standards] (erfl): Do not allow.
  71468. [non-C99-based standards] (erfcl): Likewise.
  71469. [non-C99-based standards] (gammal): Likewise.
  71470. [non-C99-based standards] (hypotl): Likewise.
  71471. [non-C99-based standards] (j0l): Likewise.
  71472. [non-C99-based standards] (j1l): Likewise.
  71473. [non-C99-based standards] (jnl): Likewise.
  71474. [non-C99-based standards] (lgammal): Likewise.
  71475. [non-C99-based standards] (tgammal): Likewise.
  71476. [non-C99-based standards] (y0l): Likewise.
  71477. [non-C99-based standards] (y1l): Likewise.
  71478. [non-C99-based standards] (ynl): Likewise.
  71479. [non-C99-based standards] (isnanl): Likewise.
  71480. [non-C99-based standards] (acoshl): Likewise.
  71481. [non-C99-based standards] (asinhl): Likewise.
  71482. [non-C99-based standards] (atanhl): Likewise.
  71483. [non-C99-based standards] (cbrtl): Likewise.
  71484. [non-C99-based standards] (expm1l): Likewise.
  71485. [non-C99-based standards] (ilogbl): Likewise.
  71486. [non-C99-based standards] (log1pl): Likewise.
  71487. [non-C99-based standards] (logbl): Likewise.
  71488. [non-C99-based standards] (nextafterl): Likewise.
  71489. [non-C99-based standards] (remainderl): Likewise.
  71490. [non-C99-based standards] (rintl): Likewise.
  71491. [non-C99-based standards] (scalbl): Likewise.
  71492. [ISO || ISO99 || ISO11] (*_t): Do not allow.
  71493. [non-C99-based standards] (FP_*): Do not allow.
  71494. [C99-based standards] (FP_*): Change to
  71495. FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
  71496. * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
  71497. allow.
  71498. * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
  71499. (SIG_ERR): Likewise.
  71500. [X/Open-based standards] (SIG_HOLD): Likewise.
  71501. (SIG_IGN): Likewise.
  71502. (SIGABRT): Use macro-int-constant. Specify type. Require
  71503. positive value.
  71504. (SIGFPE): Likewise.
  71505. (SIGILL): Likewise.
  71506. (SIGINT): Likewise.
  71507. (SIGSEGV): Likewise.
  71508. (SIGTER): Likewise.
  71509. [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
  71510. [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
  71511. [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
  71512. [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
  71513. [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
  71514. [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
  71515. [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
  71516. [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
  71517. [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
  71518. [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
  71519. [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
  71520. [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
  71521. [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
  71522. [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
  71523. [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
  71524. [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
  71525. [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
  71526. [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
  71527. [X/Open-based standards] (SIGTRAP): Likewise.
  71528. [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
  71529. [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
  71530. [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
  71531. [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
  71532. * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
  71533. allow.
  71534. 2012-05-08 Ian Wienand <ianw@vmware.com>
  71535. [BZ #14080]
  71536. * time/tzset.c (__tzset_parse_tz): Update default rules for
  71537. daylight time changes in the Energy Policy Act of 2005.
  71538. 2012-05-09 Andreas Jaeger <aj@suse.de>
  71539. [BZ #13983]
  71540. * elf/ldconfig.c (parse_conf): Change string to make clear that
  71541. ldconfig only issued a warning if ld.so.conf does not exist.
  71542. 2012-05-08 David S. Miller <davem@davemloft.net>
  71543. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
  71544. movxtod instead of popping the value on the stack.
  71545. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  71546. 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
  71547. * config.h.in: Add HAVE_ARM_PCS_VFP.
  71548. 2012-05-08 Roland McGrath <roland@hack.frob.com>
  71549. [BZ #13979]
  71550. * include/features.h: Warn if user requests __FORTIFY_SOURCE
  71551. checking but the checks are disabled for any reason.
  71552. 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
  71553. * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
  71554. and ELF64_R_TYPE with ELFW(R_TYPE).
  71555. 2012-05-08 Joseph Myers <joseph@codesourcery.com>
  71556. * sysdeps/unix/sysv/syscalls.list (pause): Remove.
  71557. (ulimit): Likewise.
  71558. * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
  71559. (settimeofday): Likewise.
  71560. 2012-05-08 Mike Frysinger <vapier@gentoo.org>
  71561. * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
  71562. a struct th_u2 inside the union, and move tu_block/tu_code into
  71563. a new th_u3 union of tu_block/tu_code inside of that. Move
  71564. th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
  71565. tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
  71566. (th_block): Change to th_u1.th_u2.th_u3.tu_block.
  71567. (th_code): Change to th_u1.th_u2.th_u3.tu_code.
  71568. (th_stuff): Change to th_u1.tu_stuff.
  71569. (th_data): Define.
  71570. (th_msg): Change to th_u1.th_u2.tu_data.
  71571. 2012-05-07 David S. Miller <davem@davemloft.net>
  71572. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  71573. [BZ #14074]
  71574. * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
  71575. (SETUP_PIC_REG): Use it.
  71576. (SETUP_PIC_REG_LEAF): Use it.
  71577. 2012-05-07 Joseph Myers <joseph@codesourcery.com>
  71578. [BZ #13885]
  71579. [BZ #13923]
  71580. * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
  71581. USE_AS_EXPM1L.
  71582. (EXPL_FINITE): Likewise.
  71583. (FLDLOG): Likewise.
  71584. (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
  71585. * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
  71586. e_expl.S.
  71587. * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
  71588. USE_AS_EXPM1L.
  71589. (EXPL_FINITE): Likewise.
  71590. (FLDLOG): Likewise.
  71591. (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
  71592. * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
  71593. e_expl.S.
  71594. * math/libm-test.inc (expm1_test): Add more tests. Do not disable
  71595. test of -max_value argument for long double.
  71596. * sysdeps/i386/fpu/libm-test-ulps: Update.
  71597. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  71598. 2012-05-06 David S. Miller <davem@davemloft.net>
  71599. * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
  71600. quad soft-float symbols whose references which are compiler
  71601. generated.
  71602. * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
  71603. 2012-05-06 Joseph Myers <joseph@codesourcery.com>
  71604. [BZ #13884]
  71605. [BZ #13914]
  71606. * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
  71607. USE_AS_EXP10L.
  71608. (EXPL_FINITE): Likewise.
  71609. (FLDLOG): Likewise.
  71610. (c0): Likewise.
  71611. (c1): Likewise.
  71612. (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
  71613. Adjust comments for base varying.
  71614. (__expl_finite): Change alias to EXPL_FINITE.
  71615. * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
  71616. e_expl.S.
  71617. * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
  71618. * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
  71619. * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
  71620. * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
  71621. * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
  71622. USE_AS_EXP10L.
  71623. (EXPL_FINITE): Likewise.
  71624. (FLDLOG): Likewise.
  71625. (c0): Likewise.
  71626. (c1): Likewise.
  71627. (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
  71628. Adjust comments for base varying.
  71629. (__expl_finite): Change alias to EXPL_FINITE.
  71630. * math/libm-test.inc (exp10_test): Add more tests. Do not disable
  71631. tests for bugs.
  71632. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
  71633. [BZ #14064]
  71634. * math/libm-test.inc (check_float_internal): Correct ulp
  71635. calculation for subnormal expected results.
  71636. 2012-05-06 Andreas Jaeger <aj@suse.de>
  71637. * Makeconfig (+math-flags): New, set to -frounding-math.
  71638. (+cflags): Add +math-flags so that all of glibc gets compiled with
  71639. it.
  71640. * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
  71641. 2012-05-05 Joseph Myers <joseph@codesourcery.com>
  71642. * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
  71643. Disable one test.
  71644. [BZ #13787]
  71645. [BZ #13922]
  71646. [BZ #14036]
  71647. * sysdeps/i386/fpu/e_expl.S (csat): New constant.
  71648. (__ieee754_expl): Allow for and saturate large arguments.
  71649. * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
  71650. (u_threshold): Likewise.
  71651. (__exp): Call __ieee754_exp before checking for overflow and
  71652. underflow.
  71653. * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
  71654. (u_threshold): Likewise.
  71655. (__expf): Call __ieee754_expf before checking for overflow and
  71656. underflow.
  71657. * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
  71658. (u_threshold): Likewise.
  71659. (__expl): Call __ieee754_expl before checking for overflow and
  71660. underflow.
  71661. * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
  71662. (__ieee754_expl): Allow for and saturate large arguments.
  71663. * math/libm-test.inc (exp_test): Add another test. Do not allow
  71664. missing overflow exception on overflow.
  71665. (expm1_test): Do not allow missing overflow exception on overflow.
  71666. * sysdeps/i386/fpu/e_expl.c: Move to ...
  71667. * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
  71668. rather than using inline asm.
  71669. * sysdeps/x86_64/fpu/e_expl.c: Remove file.
  71670. * sysdeps/x86_64/fpu/e_expl.S: Copy from
  71671. sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
  71672. * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
  71673. (nice): Likewise.
  71674. (poll): Likewise.
  71675. (signal): Likewise.
  71676. (time): Likewise.
  71677. (times): Likewise.
  71678. 2012-05-04 Joseph Myers <joseph@codesourcery.com>
  71679. * sysdeps/unix/syscalls.list (adjtime): Add entry from
  71680. sysdeps/unix/common/syscalls.list.
  71681. (fchmod): Likewise.
  71682. (fchown): Likewise.
  71683. (ftruncate): Likewise.
  71684. (getrusage): Likewise.
  71685. (gettimeofday): Likewise.
  71686. (setpgid): Likewise.
  71687. (setregid): Likewise.
  71688. (setreuid): Likewise.
  71689. (sigaction): Likewise.
  71690. (truncate): Likewise.
  71691. (vhangup): Likewise.
  71692. * sysdeps/unix/common/syscalls.list: Remove file.
  71693. * sysdeps/unix/bsd/Implies: Don't include unix/common.
  71694. * sysdeps/unix/sysv/linux/Implies: Likewise.
  71695. 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
  71696. * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
  71697. * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
  71698. * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
  71699. Moved to ...
  71700. * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
  71701. Here.
  71702. * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
  71703. to ...
  71704. * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
  71705. * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
  71706. to ...
  71707. * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
  71708. * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
  71709. to ...
  71710. * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
  71711. * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
  71712. to ...
  71713. * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
  71714. * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
  71715. to ...
  71716. * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
  71717. * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
  71718. to ...
  71719. * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
  71720. * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
  71721. to ...
  71722. * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
  71723. Here.
  71724. * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
  71725. to ...
  71726. * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
  71727. Here.
  71728. * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
  71729. to ...
  71730. * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
  71731. * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
  71732. Moved to ...
  71733. * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
  71734. Here.
  71735. * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
  71736. to ...
  71737. * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
  71738. 2012-05-04 Joseph Myers <joseph@codesourcery.com>
  71739. * sysdeps/unix/common/bits/dirent.h: Remove file.
  71740. * sysdeps/unix/common/bits/fcntl.h: Likewise.
  71741. * sysdeps/unix/bsd/bits/dirent.h: Remove file.
  71742. * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
  71743. * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
  71744. * sysdeps/unix/bsd/isatty.c: Likewise.
  71745. * sysdeps/unix/bsd/tcdrain.c: Likewise.
  71746. * sysdeps/unix/bsd/tcgetattr.c: Likewise.
  71747. * sysdeps/unix/bsd/tcsetattr.c: Likewise.
  71748. 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  71749. [BZ #13563]
  71750. * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
  71751. long double comparison inaccuracies.
  71752. * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
  71753. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  71754. 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
  71755. * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
  71756. * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
  71757. 2012-05-04 Joseph Myers <joseph@codesourcery.com>
  71758. [BZ #14049]
  71759. * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
  71760. nonzero digits before rounding a hex value.
  71761. * stdlib/tst-strtod.c (tests): Add another test.
  71762. 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  71763. * sysdeps/s390/fpu/libm-test-ulps: Update.
  71764. 2012-05-03 Andreas Jaeger <aj@suse.de>
  71765. * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
  71766. does not get optimized out.
  71767. (malloc_opt_barrier): New.
  71768. 2012-05-03 Andreas Jaeger <aj@suse.de>
  71769. Roland McGrath <roland@hack.frob.com>
  71770. * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
  71771. intermediate file deletion.
  71772. (generated): Add .symlist files.
  71773. 2012-05-03 Joseph Myers <joseph@codesourcery.com>
  71774. [BZ #13775]
  71775. * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
  71776. Redirect under this condition.
  71777. [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
  71778. [__USE_GNU] (__dprintf_chk): Not under this condition.
  71779. [__USE_GNU] (__vdprintf_chk): Likewise.
  71780. * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
  71781. under this condition.
  71782. [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
  71783. [__USE_XOPEN2K8] (dprintf): Define under this condition.
  71784. [__USE_XOPEN2K8] (vdprintf): Likewise.
  71785. [__USE_GNU] (__dprintf_chk): Not under this condition.
  71786. [__USE_GNU] (__vdprintf_chk): Likewise.
  71787. [__USE_GNU] (dprintf): Likewise.
  71788. [__USE_GNU] (vdprintf): Likewise.
  71789. 2012-05-03 Roland McGrath <roland@hack.frob.com>
  71790. * elf/Makefile (common-generated): Set this instead of generated for
  71791. .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
  71792. $(all-built-dso)-derived lists.
  71793. 2012-05-03 Andreas Jaeger <aj@suse.de>
  71794. * sysdeps/i386/fpu/libm-test-ulps: Update.
  71795. * FAQ: Removed.
  71796. * FAQ.in: Likewise.
  71797. * scripts/gen-FAQ.pl: Likewise.
  71798. * manual/install.texi (Installation): Point to online location of
  71799. FAQ.
  71800. * Makefile (files-for-dist): Remove FAQ.
  71801. (FAQ): Remove.
  71802. 2012-05-02 Allan McRae <allan@archlinux.org>
  71803. * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
  71804. (LDFLAGS-reldepmod5.so): Likewise.
  71805. (LDFLAGS-reldep6mod1.so): Likewise.
  71806. (LDFLAGS-reldep6mod4.so): Likewise.
  71807. (LDFLAGS-reldep8mod3.so): Likewise.
  71808. (LDFLAGS-unload4mod1.so): Likewise.
  71809. (LDFLAGS-unload4mod2.so): Likewise.
  71810. (LDFLAGS-tst-initorder): Likewise.
  71811. (LDFLAGS-tst-initordera2.so): Likewise.
  71812. (LDFLAGS-tst-initordera3.so): Likewise.
  71813. (LDFLAGS-tst-initordera4.so): Likewise.
  71814. (LDFLAGS-tst-initorderb2.so): Likewise.
  71815. (LDFLAGS-noload): Likewise.
  71816. (LDFLAGS-next): Likewise.
  71817. (LDFLAGS-order2mod1.so): Likewise.
  71818. (LDFLAGS-order2mod2.so): Likewise.
  71819. (LDFLAGS-tst-initorder2): Likewise.
  71820. (LDFLAGS-tst-initorder2a.so): Likewise.
  71821. (LDFLAGS-tst-initorder2b.so): Likewise.
  71822. (LDFLAGS-tst-initorder2c.so): Likewise.
  71823. * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
  71824. 2012-05-02 David S. Miller <davem@davemloft.net>
  71825. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  71826. 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
  71827. [BZ #14055]
  71828. * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
  71829. 2012-05-02 Andreas Jaeger <aj@suse.de>
  71830. * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
  71831. since we manipulate rounding mode.
  71832. (CPPFLAGS-test-idouble.c): Likewise.
  71833. (CPPFLAGS-test-ifloat.c): Likewise.
  71834. (CFLAGS-test-ldouble.c): Likewise.
  71835. (CFLAGS-test-double.c): Likewise.
  71836. (CFLAGS-test-float.c): Likewise.
  71837. (CFLAGS-test-misc.c): Likewise.
  71838. (CFLAGS-test-test-fenv.c): Likewise.
  71839. 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  71840. [BZ #2550]
  71841. [BZ #2570]
  71842. * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
  71843. comparisons to determine direction to adjust input.
  71844. 2012-05-01 Roland McGrath <roland@hack.frob.com>
  71845. * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
  71846. output to the target.
  71847. * scripts/localplt.awk: New file.
  71848. * elf/Makefile ($(objpfx)check-localplt): Target removed.
  71849. (check-localplt-CFLAGS): Variable removed.
  71850. ($(all-built-dso:=.jmprel)): New static pattern rule.
  71851. (generated): Add those targets.
  71852. (localplt-built-dso): New variable.
  71853. ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
  71854. * elf/check-localplt.c: File removed.
  71855. * scripts/check-execstack.awk: New file.
  71856. * elf/Makefile ($(objpfx)check-execstack): Target removed.
  71857. (check-execstack-CFLAGS): Variable removed.
  71858. ($(objpfx)check-execstack.h): Target removed.
  71859. ($(objpfx)execstack-default): New target.
  71860. (generated): Add that instead of check-execstack.h.
  71861. ($(all-built-dso:=.phdr)): New static pattern rule.
  71862. (generated): Add those targets.
  71863. * elf/check-execstack.c: File removed.
  71864. * scripts/check-textrel.awk: New file.
  71865. * elf/Makefile ($(objpfx)check-textrel): Target removed.
  71866. (check-textrel-CFLAGS): Variable removed.
  71867. (all-built-dso): Use := to define.o
  71868. ($(all-built-dso:=.dyn)): New static pattern rule.
  71869. (generated): Add those targets.
  71870. ($(objpfx)check-textrel.out): Use the script on the .dyn files.
  71871. * config.make.in (READELF): New substituted variable.
  71872. * elf/check-textrel.c: File removed.
  71873. 2012-05-01 Joseph Myers <joseph@codesourcery.com>
  71874. * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
  71875. allow.
  71876. * conform/data/ctype.h-data [C99-based standards] (isblank):
  71877. Expect function.
  71878. (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
  71879. (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
  71880. [ISO || ISO99 || ISO11] (*_t): Do not allow.
  71881. * conform/data/errno.h-data (EDOM): Use macro-int-constant.
  71882. Specify type. Require positive value.
  71883. (EILSEQ): Likewise.
  71884. (ERANGE): Likewise.
  71885. [ISO || POSIX] (EILSEQ): Do not expect.
  71886. [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
  71887. Specify type. Require positive value.
  71888. [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
  71889. [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
  71890. [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
  71891. [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
  71892. [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
  71893. [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
  71894. [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
  71895. [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
  71896. [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
  71897. [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
  71898. [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
  71899. [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
  71900. [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
  71901. [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
  71902. [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
  71903. [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
  71904. [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
  71905. [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
  71906. [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
  71907. [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
  71908. [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
  71909. [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
  71910. [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
  71911. [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
  71912. [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
  71913. [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
  71914. [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
  71915. [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
  71916. [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
  71917. [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
  71918. [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
  71919. [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
  71920. [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
  71921. [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
  71922. [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
  71923. [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
  71924. [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
  71925. [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
  71926. [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
  71927. [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
  71928. [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
  71929. [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
  71930. [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
  71931. [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
  71932. [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
  71933. [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
  71934. [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
  71935. [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
  71936. [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
  71937. [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
  71938. [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
  71939. [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
  71940. [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
  71941. [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
  71942. [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
  71943. [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
  71944. [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
  71945. [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
  71946. [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
  71947. [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
  71948. [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
  71949. [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
  71950. [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
  71951. [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
  71952. [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
  71953. [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
  71954. [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
  71955. [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
  71956. [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
  71957. [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
  71958. [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
  71959. [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
  71960. [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
  71961. [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
  71962. [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
  71963. [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
  71964. * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
  71965. Require >= 2.
  71966. (FLT_ROUNDS): Expect as macro, not constant.
  71967. (FLT_MANT_DIG): Use macro-int-constant.
  71968. (DBL_MANT_DIG): Likewise.
  71969. (LDBL_MANT_DIG): Likewise.
  71970. (FLT_DIG): Likewise.
  71971. (DBL_DIG): Likewise.
  71972. (LDBL_DIG): Likewise.
  71973. (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
  71974. (DBL_MIN_EXP): Likewise.
  71975. (LDBL_MIN_EXP): Likewise.
  71976. (FLT_MAX_EXP): Use macro-int-constant.
  71977. (DBL_MAX_EXP): Likewise.
  71978. (LDBL_MAX_EXP): Likewise.
  71979. (FLT_MAX_10_EXP): Likewise.
  71980. (DBL_MAX_10_EXP): Likewise.
  71981. (LDBL_MAX_10_EXP): Likewise.
  71982. (FLT_MAX): Use macro-constant.
  71983. (DBL_MAX): Likewise.
  71984. (LDBL_MAX): Likewise.
  71985. (FLT_EPSILON): Use macro-constant. Give upper bound.
  71986. (DBL_EPSILON): Likewise.
  71987. (LDBL_EPSILON): Likewise.
  71988. (FLT_MIN): Likewise.
  71989. (DBL_MIN): Likewise.
  71990. (LDBL_MIN): Likewise.
  71991. [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
  71992. [C99-based standards] (FLT_EVAL_METHOD): Likewise.
  71993. [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
  71994. [ISO11] (FLT_HAS_SUBNORM): Likewise.
  71995. [ISO11] (LDBL_HAS_SUBNORM): Likewise.
  71996. [ISO11] (DBL_DECIMAL_DIG): Likewise.
  71997. [ISO11] (FLT_DECIMAL_DIG): Likewise.
  71998. [ISO11] (LDBL_DECIMAL_DIG): Likewise.
  71999. [ISO11] (DBL_TRUE_MIN): Use macro-constant.
  72000. [ISO11] (FLT_TRUE_MIN): Likewise.
  72001. [ISO11] (LDBL_TRUE_MIN): Likewise.
  72002. [ISO || ISO99 || ISO11] (*_t): Do not allow.
  72003. * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
  72004. (SCHAR_MIN): Use macro-int-constant. Specify type.
  72005. (SCHAR_MAX): Likewise.
  72006. (UCHAR_MAX): Likewise.
  72007. (CHAR_MIN): Likewise.
  72008. (CHAR_MAX): Likewise.
  72009. (MB_LEN_MAX): Use macro-int-constant.
  72010. (SHRT_MIN): Use macro-int-constant. Specify type.
  72011. (SHRT_MAX): Likewise.
  72012. (USHRT_MAX): Likewise.
  72013. (INT_MAX): Likewise.
  72014. (INT_MIN): Use macro-int-constant. Specify type. Make upper
  72015. bound negative.
  72016. (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
  72017. bound with "U".
  72018. (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
  72019. bound with "L".
  72020. (LONG_MIN): Use macro-int-constant. Specify type. Make upper
  72021. bound negative. Suffix upper bound with "L".
  72022. (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
  72023. bound with "UL".
  72024. [C99-based standards] (LLONG_MIN): Use macro-int-constant.
  72025. Specify type.
  72026. [C99-based standards] (LLONG_MAX): Likewise.
  72027. [C99-based standards] (ULLONG_MAX): Likewise.
  72028. * conform/data/stddef.h-data (NULL): Use macro-constant. Require
  72029. == 0.
  72030. [ISO11] (max_align_t): Require type.
  72031. [ISO || ISO99 || ISO11] (*_t): Do not allow.
  72032. * conform/conformtest.pl ($CFLAGS_namespace): Define separately
  72033. from $CFLAGS, without defining away __attribute__ calls.
  72034. (checknamespace): Use $CFLAGS_namespace.
  72035. * conform/conformtest.pl (@keywords): Only include C99 keywords
  72036. for standards based on C99 or C11.
  72037. * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
  72038. Disable tests.
  72039. * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
  72040. UNIX98]: Likewise.
  72041. * conform/conformtest.pl: Handle "macro-int-constant" and test for
  72042. usability of symbols in #if.
  72043. * conform/conformtest.pl: If macro or constant types start
  72044. "promoted:", expect the symbol to be of the following type
  72045. promoted by the integer promotions.
  72046. * conform/conformtest.pl: Parse all "constant" and "macro" lines
  72047. in one place. Also handle "macro-constant".
  72048. * conform/conformtest.pl: Only accept expected macro values with
  72049. "==". Parse all "macro" lines in one place.
  72050. * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
  72051. * conform/conformtest.pl: Handle braced types on "constant" lines
  72052. instead of handling "typed-constant".
  72053. * conform/data/signal.h-data: Use "constant" instead of
  72054. "typed-constant".
  72055. * conform/conformtest.pl: Handle "optional-" at start of lines in
  72056. one place rather than duplicating several cases. Handle each
  72057. format of "macro" line with initial "optional-".
  72058. * conform/conformtest.pl: Only accept expected constant or
  72059. optional-constant values with "==". Parse all "constant" lines in
  72060. one place. Parse all "optional-constant" lines in one place.
  72061. * conform/data/cpio.h-data: Use "==" form on "constant" lines.
  72062. * conform/data/fmtmsg.h-data: Likewise.
  72063. * conform/data/netinet/in.h-data: Likewise.
  72064. * conform/data/tar.h-data: Likewise.
  72065. * conform/data/limits.h-data: Use "==" form on "constant" and
  72066. "optional-constant" lines.
  72067. * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
  72068. Use -std=c99 for XOPEN2K.
  72069. (@knownproblems): Remove.
  72070. (newtoken): Don't check %isknown.
  72071. * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
  72072. Do not expect macro.
  72073. [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
  72074. [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
  72075. [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
  72076. [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
  72077. [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
  72078. [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
  72079. [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
  72080. [XPG3 || XPG4 || UNIX98] (isless): Likewise.
  72081. [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
  72082. [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
  72083. [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
  72084. [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
  72085. [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
  72086. [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
  72087. [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
  72088. [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
  72089. [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
  72090. [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
  72091. [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
  72092. [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
  72093. [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
  72094. [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
  72095. [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
  72096. [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
  72097. [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
  72098. [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
  72099. [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
  72100. [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
  72101. [XPG3 || XPG4 || UNIX98] (log2): Likewise.
  72102. [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
  72103. [XPG3] (acosh): Likewise.
  72104. [XPG3] (asinh): Likewise.
  72105. [XPG3] (atanh): Likewise.
  72106. [XPG3] (cbrt): Likewise.
  72107. [XPG3] (expm1): Likewise.
  72108. [XPG3] (ilogb): Likewise.
  72109. [XPG3] (log1p): Likewise.
  72110. [XPG3] (logb): Likewise.
  72111. [XPG3] (nextafter): Likewise.
  72112. [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
  72113. [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
  72114. [XPG3] (remainder): Likewise.
  72115. [XPG3] (rint): Likewise.
  72116. [XPG3 || XPG4 || UNIX98] (round): Likewise.
  72117. [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
  72118. [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
  72119. [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
  72120. [XPG3 || XPG4 || UNIX98] (lround): Likewise.
  72121. [XPG3 || XPG4 || UNIX98] (llround): Likewise.
  72122. [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
  72123. [UNIX98 || XOPEN2K] (scalb): Expect.
  72124. [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
  72125. [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
  72126. [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
  72127. [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
  72128. [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
  72129. [XPG3 || XPG4 || UNIX98] (fma): Likewise.
  72130. [XPG3 || XPG4 || UNIX98] (nan): Likewise.
  72131. [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
  72132. [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
  72133. [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
  72134. [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
  72135. [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
  72136. [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
  72137. [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
  72138. [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
  72139. [XPG3 || XPG4 || UNIX98] (expf): Likewise.
  72140. [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
  72141. [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
  72142. [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
  72143. [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
  72144. [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
  72145. [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
  72146. [XPG3 || XPG4 || UNIX98] (logf): Likewise.
  72147. [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
  72148. [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
  72149. [XPG3 || XPG4 || UNIX98] (modff): Likewise.
  72150. [XPG3 || XPG4 || UNIX98] (powf): Likewise.
  72151. [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
  72152. [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
  72153. [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
  72154. [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
  72155. [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
  72156. [XPG3 || XPG4 || UNIX98] (erff): Likewise.
  72157. [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
  72158. [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
  72159. [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
  72160. [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
  72161. [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
  72162. [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
  72163. [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
  72164. [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
  72165. [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
  72166. [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
  72167. [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
  72168. [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
  72169. [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
  72170. [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
  72171. [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
  72172. [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
  72173. [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
  72174. [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
  72175. [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
  72176. [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
  72177. [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
  72178. [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
  72179. [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
  72180. [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
  72181. [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
  72182. [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
  72183. [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
  72184. [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
  72185. [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
  72186. [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
  72187. [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
  72188. [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
  72189. [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
  72190. [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
  72191. [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
  72192. [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
  72193. [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
  72194. [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
  72195. [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
  72196. [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
  72197. [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
  72198. [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
  72199. [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
  72200. [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
  72201. [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
  72202. [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
  72203. [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
  72204. [XPG3 || XPG4 || UNIX98] (expl): Likewise.
  72205. [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
  72206. [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
  72207. [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
  72208. [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
  72209. [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
  72210. [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
  72211. [XPG3 || XPG4 || UNIX98] (logl): Likewise.
  72212. [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
  72213. [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
  72214. [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
  72215. [XPG3 || XPG4 || UNIX98] (powl): Likewise.
  72216. [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
  72217. [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
  72218. [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
  72219. [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
  72220. [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
  72221. [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
  72222. [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
  72223. [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
  72224. [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
  72225. [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
  72226. [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
  72227. [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
  72228. [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
  72229. [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
  72230. [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
  72231. [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
  72232. [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
  72233. [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
  72234. [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
  72235. [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
  72236. [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
  72237. [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
  72238. [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
  72239. [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
  72240. [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
  72241. [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
  72242. [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
  72243. [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
  72244. [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
  72245. [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
  72246. [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
  72247. [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
  72248. [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
  72249. [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
  72250. [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
  72251. [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
  72252. [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
  72253. [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
  72254. [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
  72255. [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
  72256. [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
  72257. [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
  72258. [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
  72259. [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
  72260. [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
  72261. * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
  72262. _XOPEN_SOURCE_EXTENDED for XPG4.
  72263. * conform/conformtest.pl: Handle "symbol" lines for allow-header.
  72264. * Makeconfig (localtime): Remove variable.
  72265. (inst_localtime-file): Likewise.
  72266. 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
  72267. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
  72268. Update.
  72269. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
  72270. Update.
  72271. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
  72272. Update.
  72273. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
  72274. Update.
  72275. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
  72276. Update.
  72277. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
  72278. Update.
  72279. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
  72280. Update.
  72281. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
  72282. Update.
  72283. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
  72284. Update.
  72285. 2012-05-01 Joseph Myers <joseph@codesourcery.com>
  72286. [BZ #2550]
  72287. [BZ #2570]
  72288. * math/s_nexttowardf.c (__nexttowardf): Use floating-point
  72289. comparisons to determine direction to adjust input.
  72290. * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
  72291. * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
  72292. * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
  72293. Likewise.
  72294. * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
  72295. Likewise.
  72296. * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
  72297. Likewise.
  72298. * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
  72299. * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
  72300. Likewise.
  72301. * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
  72302. Likewise.
  72303. * math/libm-test.inc (nexttoward_test): Add more tests.
  72304. 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
  72305. [BZ #14040]
  72306. * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
  72307. in version GLIBC_2.1, not GLIBC_2.0.
  72308. * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
  72309. Likewise.
  72310. 2012-04-30 Joseph Myers <joseph@codesourcery.com>
  72311. [BZ #13942]
  72312. * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
  72313. (1 - x) * (1 + x).
  72314. * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
  72315. * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
  72316. * math/libm-test.inc (acos_test): Add more tests.
  72317. (asin_test): Likewise.
  72318. * sysdeps/i386/fpu/libm-test-ulps: Update.
  72319. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  72320. [BZ #14034]
  72321. * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
  72322. of square root.
  72323. * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
  72324. * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
  72325. * math/libm-test.inc (acos_test_tonearest): New function.
  72326. (acos_test_towardzero): Likewise.
  72327. (acos_test_downward): Likewise.
  72328. (acos_test_upward): Likewise.
  72329. (asin_test_tonearest): Likewise.
  72330. (asin_test_towardzero): Likewise.
  72331. (asin_test_downward): Likewise.
  72332. (asin_test_upward): Likewise.
  72333. (main): Call the new functions.
  72334. * sysdeps/i386/fpu/libm-test-ulps: Update.
  72335. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
  72336. [BZ #13884]
  72337. [BZ #13924]
  72338. * math/e_exp10.c: Include <float.h>.
  72339. (__ieee754_exp10): Handle underflow here rather than multiplying
  72340. large negative argument by M_LN10.
  72341. * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
  72342. of __ieee754_expf.
  72343. * math/e_exp10l.c: Include <float.h>.
  72344. (__ieee754_exp10l): Handle underflow here rather than multiplying
  72345. large negative argument by M_LN10l.
  72346. * math/libm-test.inc (exp10_test): Add another test. Do not allow
  72347. spurious overflow exception on underflow.
  72348. 2012-04-29 Marek Polacek <polacek@redhat.com>
  72349. * misc/sys/cdefs.h (__attribute_artificial__): New macro.
  72350. (__fortify_function): New macro.
  72351. (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
  72352. * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
  72353. __extern_always_inline.
  72354. * libio/bits/stdio2.h: Likewise.
  72355. * libio/bits/stdio.h: Likewise.
  72356. * string/string.h: Likewise.
  72357. * string/bits/string3.h: Likewise.
  72358. * include/stdio.h: Likewise.
  72359. * stdlib/bits/stdlib.h: Likewise.
  72360. * stdlib/stdlib.h: Likewise.
  72361. * rt/bits/mqueue2.h: Likewise.
  72362. * rt/mqueue.h: Likewise.
  72363. * posix/bits/unistd.h: Likewise.
  72364. * posix/unistd.h: Likewise.
  72365. * io/bits/poll2.h: Likewise.
  72366. * io/bits/fcntl2.h: Likewise.
  72367. * io/fcntl.h: Likewise.
  72368. * io/sys/poll.h: Likewise.
  72369. * misc/bits/syslog.h: Likewise.
  72370. * misc/bits/syslog-ldbl.h: Likewise.
  72371. * misc/sys/syslog.h: Likewise.
  72372. * socket/bits/socket2.h: Likewise.
  72373. * socket/sys/socket.h: Likewise.
  72374. * debug/tst-chk1.c: Likewise.
  72375. * wcsmbs/bits/wchar2.h: Likewise.
  72376. * wcsmbs/bits/wchar-ldbl.h: Likewise.
  72377. * wcsmbs/wchar.h: Likewise.
  72378. 2012-04-29 Andreas Jaeger <aj@suse.de>
  72379. * Makerules (tests): Remove enable-check-abi protection.
  72380. (check-abi-warn): Remove.
  72381. (check-abi-%): Remove check-abi-warn usage.
  72382. * configure.in: Remove check-abi configure option.
  72383. * configure: Regenerated.
  72384. * config.make.in (enable-check-abi): Remove.
  72385. 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
  72386. [BZ #14033]
  72387. * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
  72388. double functions to double *_finite functions.
  72389. [BZ #13941]
  72390. * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
  72391. (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
  72392. LDBL_MIN_EXP.
  72393. * stdio-common/Makefile (tests): Add tst-sprintf3.
  72394. * stdio-common/tst-sprintf3.c: New file.
  72395. * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
  72396. ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
  72397. 2012-04-28 Joseph Myers <joseph@codesourcery.com>
  72398. * conform/conformtest.pl: Remove duplicate typed-constant
  72399. handling.
  72400. 2012-04-28 David S. Miller <davem@davemloft.net>
  72401. * Makerules (%.abilist): Add vpath on sysdep_dirs.
  72402. (check-abi-%): Remove AWK script prerequisite and explicit
  72403. abilist directory.
  72404. (check-abi): Rewrite to just diff the symlist with the abilist.
  72405. (config-tls, config-abi-config): Delete, no longer used.
  72406. (update-abi-%): Remove AWK script and explicit abilist directory.
  72407. (update-abi): Rewrite to simply compare and conditionally copy the
  72408. symlist and the sysdep abilist file. Remove update-abi-config
  72409. checks.
  72410. * abilist/ld.abilist: Remove.
  72411. * abilist/libBrokenLocale.abilist: Remove.
  72412. * abilist/libanl.abilist: Remove.
  72413. * abilist/libcrypt.abilist: Remove.
  72414. * abilist/libdl.abilist: Remove.
  72415. * abilist/librt.abilist: Remove.
  72416. * abilist/libthread_db.abilist: Remove.
  72417. * abilist/libutil.abilist: Remove.
  72418. * scripts/extract-abilist.awk: Remove.
  72419. * scripts/merge-abilist.awk: Remove.
  72420. * sysdeps/generic/libcidn.abilist: New file.
  72421. * sysdeps/generic/libnss_compat.abilist: New file.
  72422. * sysdeps/generic/libnss_db.abilist: New file.
  72423. * sysdeps/generic/libnss_dns.abilist: New file.
  72424. * sysdeps/generic/libnss_files.abilist: New file.
  72425. * sysdeps/generic/libnss_hesiod.abilist: New file.
  72426. * sysdeps/generic/libnss_nis.abilist: New file.
  72427. * sysdeps/generic/libnss_nisplus.abilist: New file.
  72428. * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
  72429. * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
  72430. * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
  72431. file.
  72432. * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
  72433. * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
  72434. * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
  72435. * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
  72436. * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
  72437. * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
  72438. * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
  72439. * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
  72440. * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
  72441. file.
  72442. * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
  72443. * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
  72444. * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
  72445. * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
  72446. file.
  72447. * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
  72448. * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
  72449. * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
  72450. * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
  72451. * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
  72452. * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
  72453. file.
  72454. * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
  72455. * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
  72456. * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
  72457. file.
  72458. * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
  72459. * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
  72460. New file.
  72461. * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
  72462. New file.
  72463. * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
  72464. New file.
  72465. * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
  72466. New file.
  72467. * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
  72468. New file.
  72469. * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
  72470. New file.
  72471. * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
  72472. New file.
  72473. * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
  72474. New file.
  72475. * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
  72476. New file.
  72477. * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
  72478. New file.
  72479. * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
  72480. New file.
  72481. * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
  72482. New file.
  72483. * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
  72484. New file.
  72485. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
  72486. file.
  72487. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
  72488. New file.
  72489. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
  72490. New file.
  72491. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
  72492. file.
  72493. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
  72494. New file.
  72495. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
  72496. New file.
  72497. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
  72498. file.
  72499. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
  72500. New file.
  72501. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
  72502. New file.
  72503. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
  72504. New file.
  72505. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
  72506. New file.
  72507. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
  72508. New file.
  72509. * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
  72510. New file.
  72511. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
  72512. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
  72513. file.
  72514. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
  72515. New file.
  72516. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
  72517. file.
  72518. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
  72519. file.
  72520. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
  72521. file.
  72522. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
  72523. file.
  72524. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
  72525. file.
  72526. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
  72527. New file.
  72528. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
  72529. file.
  72530. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
  72531. file.
  72532. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
  72533. New file.
  72534. * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
  72535. file.
  72536. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
  72537. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
  72538. file.
  72539. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
  72540. New file.
  72541. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
  72542. file.
  72543. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
  72544. file.
  72545. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
  72546. file.
  72547. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
  72548. file.
  72549. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
  72550. file.
  72551. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
  72552. New file.
  72553. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
  72554. file.
  72555. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
  72556. file.
  72557. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
  72558. New file.
  72559. * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
  72560. file.
  72561. * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
  72562. * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
  72563. * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
  72564. file.
  72565. * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
  72566. * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
  72567. * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
  72568. * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
  72569. * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
  72570. * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
  72571. * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
  72572. * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
  72573. * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
  72574. * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
  72575. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
  72576. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
  72577. file.
  72578. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
  72579. New file.
  72580. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
  72581. file.
  72582. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
  72583. file.
  72584. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
  72585. file.
  72586. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
  72587. file.
  72588. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
  72589. file.
  72590. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
  72591. New file.
  72592. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
  72593. New file.
  72594. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
  72595. file.
  72596. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
  72597. New file.
  72598. * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
  72599. file.
  72600. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
  72601. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
  72602. file.
  72603. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
  72604. New file.
  72605. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
  72606. file.
  72607. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
  72608. file.
  72609. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
  72610. file.
  72611. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
  72612. file.
  72613. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
  72614. file.
  72615. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
  72616. New file.
  72617. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
  72618. New file.
  72619. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
  72620. file.
  72621. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
  72622. New file.
  72623. * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
  72624. file.
  72625. 2012-04-28 Joseph Myers <joseph@codesourcery.com>
  72626. * conform/conformtest.pl: Fix typo in handling typed-constant from
  72627. allow-header.
  72628. 2012-04-27 Joseph Myers <joseph@codesourcery.com>
  72629. * README: Cut down references to pre-2.6 Linux kernels and
  72630. Linuxthreads. Update lists of configurations in libc and ports
  72631. and sort alphabetically. Say "or newer" with Linux kernel version
  72632. requirements.
  72633. * config.h.in [IS_IN_build]: Allow compiling without optimization.
  72634. 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
  72635. [BZ #887]
  72636. * math/libm-test.inc (logb_test_downward): New test to expose
  72637. erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
  72638. rounding mode.
  72639. 2012-04-27 Joseph Myers <joseph@codesourcery.com>
  72640. [BZ #14027]
  72641. * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
  72642. to be done.
  72643. * math/fraiseexcpt.c (__feraiseexcept): Likewise.
  72644. * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
  72645. 2012-04-26 Joseph Myers <joseph@codesourcery.com>
  72646. * sysdeps/unix/i386/brk.S: Remove file.
  72647. * sysdeps/unix/i386/dl-brk.S: Likewise.
  72648. * sysdeps/unix/i386/pipe.S: Likewise.
  72649. * sysdeps/unix/i386/sigreturn.S: Likewise.
  72650. * sysdeps/unix/i386/syscall.S: Likewise.
  72651. * sysdeps/unix/i386/vfork.S: Likewise.
  72652. * sysdeps/unix/i386/wait.S: Likewise.
  72653. * sysdeps/unix/common/tcsendbrk.c: Move to ...
  72654. * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
  72655. * configure.in (arm*-none*): Do not allow without
  72656. --enable-hacker-mode.
  72657. (netbsd*): Remove case setting base_os.
  72658. (386bsd*): Likewise.
  72659. (freebsd*): Likewise.
  72660. (bsdi*): Likewise.
  72661. (osf*): Likewise.
  72662. (sunos*): Likewise.
  72663. (ultrix*): Likewise.
  72664. (newsos*): Likewise.
  72665. (dynix*): Likewise.
  72666. (*bsd*): Likewise.
  72667. (sysv*): Likewise.
  72668. (isc*): Likewise.
  72669. (esix*): Likewise.
  72670. (sco*): Likewise.
  72671. (minix*): Likewise.
  72672. (irix4*): Likewise.
  72673. (irix6*): Likewise.
  72674. (solaris[2-9]*): Likewise.
  72675. (none): Likewise.
  72676. * configure: Regenerated.
  72677. 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  72678. [BZ #11521]
  72679. * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
  72680. overflow or cancellation in calculating denominator.
  72681. * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
  72682. * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
  72683. down expression to avoid unexpected rounding in newer GCCs.
  72684. * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
  72685. 2012-04-26 David S. Miller <davem@davemloft.net>
  72686. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
  72687. long-double compat symbols.
  72688. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
  72689. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
  72690. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
  72691. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
  72692. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
  72693. * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
  72694. * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
  72695. * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
  72696. * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
  72697. * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
  72698. * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
  72699. * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
  72700. * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
  72701. 2012-04-25 David S. Miller <davem@davemloft.net>
  72702. * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
  72703. HWCAP_* values only after the memory barriers have been defined.
  72704. (atomic_full_barrier): Define.
  72705. (atomic_read_barrier): Define.
  72706. (atomic_write_barrier): Define.
  72707. 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
  72708. * shlib-versions: Add libgcc_s version information.
  72709. * sysdeps/generic/libgcc_s.h: Remove.
  72710. * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
  72711. libgcc_s.h.
  72712. * sysdeps/gnu/unwind-resume.c: Likewise.
  72713. * scripts/test-installation.pl: Remove libgcc_s from link_libs.
  72714. 2012-04-25 David S. Miller <davem@davemloft.net>
  72715. * sysdeps/unix/sparc/brk.S: Delete.
  72716. * sysdeps/unix/sparc/dl-brk.S: Delete.
  72717. * sysdeps/unix/sparc/pipe.S: Delete.
  72718. * sysdeps/unix/sparc/sysdep.S: Delete.
  72719. * sysdeps/unix/sparc/sysdep.h: Delete.
  72720. * sysdeps/unix/sparc/vfork.S: Delete.
  72721. * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
  72722. (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
  72723. * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
  72724. (ret_ERRVAL, r0, r1, MOVE): Define.
  72725. (JUMPTARGET): Remove.
  72726. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
  72727. sysdeps/unix/sparc/sysdep.h
  72728. (ENTRY, END): Remove.
  72729. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
  72730. 2012-04-25 Joseph Myers <joseph@codesourcery.com>
  72731. * Makerules (native-compile): Use $(BUILD_LDFLAGS).
  72732. (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
  72733. -DIS_IN_build.
  72734. * timezone/README: Update upstream location and email address for
  72735. tzcode and tzdata.
  72736. * timezone/zdump.c: Update from tzcode 2012b.
  72737. * timezone/zic.c: Likewise.
  72738. * configure.in (libc_cv_as_needed): Remove test.
  72739. * configure: Regenerated.
  72740. * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
  72741. conditional definition.
  72742. [$(have-as-needed) != yes] (no-as-needed): Likewise.
  72743. [$(have-as-needed) != yes] (libgcc_eh): Likewise.
  72744. * config.make.in (have-as-needed): Remove variable.
  72745. 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
  72746. Paul Pluzhnikov <ppluzhnikov@google.com>
  72747. * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
  72748. strings correctly.
  72749. 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
  72750. * sysdeps/sh/memcpy.S: Remove include of endian.h, change
  72751. preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
  72752. * sysdeps/sh/strlen.S: Likewise.
  72753. 2012-04-24 Joseph Myers <joseph@codesourcery.com>
  72754. * sysdeps/unix/fork.S: Remove file.
  72755. * sysdeps/unix/i386/fork.S: Likewise.
  72756. * sysdeps/unix/sparc/fork.S: Likewise.
  72757. * sysdeps/unix/system.c: Remove file.
  72758. * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
  72759. * sysdeps/unix/getegid.S: Remove file.
  72760. * sysdeps/unix/geteuid.S: Likewise.
  72761. 2012-04-24 Roland McGrath <roland@hack.frob.com>
  72762. * scripts/check-localplt.awk: New file.
  72763. * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
  72764. of diff.
  72765. * scripts/data/localplt-generic.data: Add a comment.
  72766. * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
  72767. NODE when __dir_mkfile failed.
  72768. * sysdeps/mach/hurd/symlinkat.c: Likewise.
  72769. Reported by Ludovic Courtès <ludo@gnu.org>.
  72770. 2012-04-24 Andreas Jaeger <aj@suse.de>
  72771. * Makerules (common-clean): Also remove gen-as-const-headers
  72772. files.
  72773. 2012-04-24 Joseph Myers <joseph@codesourcery.com>
  72774. * Makerules (native-compile): Do not change working directory for
  72775. build. Use $(OUTPUT_OPTION) in command.
  72776. (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
  72777. 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  72778. [BZ #13886]
  72779. * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
  72780. sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
  72781. * math/libm-test.inc (floor_test): Add more tests.
  72782. * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
  72783. 2012-04-24 Joseph Myers <joseph@codesourcery.com>
  72784. * sysdeps/unix/getdents.c: Remove file.
  72785. * sysdeps/unix/sysv/getdents.c: Likewise.
  72786. * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
  72787. * sysdeps/unix/syscalls.list (madvise): Add syscall from
  72788. sysdeps/unix/mman/syscalls.list.
  72789. (mmap): Likewise.
  72790. (mprotect): Likewise.
  72791. (msync): Likewise.
  72792. (munmap): Likewise.
  72793. * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
  72794. * sysdeps/unix/mman/syscalls.list: Remove.
  72795. * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
  72796. * configure.in (libc_cv_libgcc_s_suffix): Remove test.
  72797. (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
  72798. * configure: Regenerated.
  72799. * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
  72800. $(libgcc_s_suffix).
  72801. * config.make.in (libgcc_s_suffix): Remove variable.
  72802. 2012-04-23 Joseph Myers <joseph@codesourcery.com>
  72803. * sysdeps/unix/sysv/gethostname.c: Move to ...
  72804. * sysdeps/posix/gethostname.c: ... here.
  72805. * sysdeps/unix/execve.S: Remove file.
  72806. * sysdeps/unix/_exit.S: Remove file.
  72807. 2012-04-23 Andreas Jaeger <aj@suse.de>
  72808. [BZ #13739]
  72809. * manual/Makefile: Remove make dist support, there's no
  72810. need for a stand-alone documentation tar ball.
  72811. (TEXI2DVI): Define always, it's not in Makeconfig.
  72812. (dist): Removed.
  72813. (tar-it): Removed.
  72814. (edition): Removed.
  72815. (glibc-doc-$(edition).tar): Removed
  72816. (%.Z): Removed.
  72817. (%.gz): Removed.
  72818. (%.uu): Removed.
  72819. (ETAGS): Remove, it's in Makeconfig.
  72820. (move-if-change): Remove, it's in Makeconfig.
  72821. 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
  72822. [BZ #13970]
  72823. * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
  72824. (strtod, strtof, strtold, strtol, strtoul, strtoq)
  72825. (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
  72826. (strtod_l, strtof_l, strtold_l): Remove __wur.
  72827. It is not necessarily an error to ignore strtol's return value.
  72828. One can reliably look at the stored endptr to decide whether
  72829. the number had valid syntax.
  72830. 2012-04-21 Andreas Jaeger <aj@suse.de>
  72831. [BZ #13739]
  72832. * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
  72833. 2012-04-21 Joseph Myers <joseph@codesourcery.com>
  72834. * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
  72835. * sysdeps/unix/sysv/Versions: Remove file.
  72836. 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
  72837. [BZ #13927]
  72838. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
  72839. 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
  72840. [BZ #7064]
  72841. * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
  72842. version from __vm86.
  72843. 2012-04-20 Joseph Myers <joseph@codesourcery.com>
  72844. * sysdeps/unix/common/lxstat.c: Remove file.
  72845. * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
  72846. * sysdeps/unix/sysv/Makefile: Remove file.
  72847. * sysdeps/unix/sysv/direct.h: Remove file.
  72848. * sysdeps/unix/sysv/bits/dirent.h: Remove file.
  72849. * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
  72850. * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
  72851. * sysdeps/unix/sysv/bits/signum.h: Likewise.
  72852. * sysdeps/unix/sysv/bits/stat.h: Likewise.
  72853. * sysdeps/unix/sysv/bits/utmp.h: Likewise.
  72854. * sysdeps/unix/sysv/bits/utsname.h: Likewise.
  72855. * sysdeps/unix/sysv/setrlimit.c: Remove file.
  72856. * sysdeps/unix/xmknod.c: Remove file.
  72857. * sysdeps/unix/syscalls.list (sys_mknod): Remove.
  72858. * sysdeps/unix/sysv/settimeofday.c: Remove file.
  72859. * sysdeps/unix/sysv/i386/time.S: Remove file.
  72860. * sysdeps/unix/fxstat.c: Remove file.
  72861. * sysdeps/unix/xstat.c: Likewise.
  72862. * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
  72863. * sysdeps/unix/sysv/sigaction.c: Remove file.
  72864. * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
  72865. (sysdep_headers): Remove variable.
  72866. [termio.h not in sysdep_headers] (generated): Likewise.
  72867. [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
  72868. * sysdeps/unix/sysv/sysv_termio.h: Remove file.
  72869. * sysdeps/unix/sysv/tcdrain.c: Likewise.
  72870. * sysdeps/unix/sysv/tcflow.c: Likewise.
  72871. * sysdeps/unix/sysv/tcflush.c: Likewise.
  72872. * sysdeps/unix/sysv/tcgetattr.c: Likewise.
  72873. * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
  72874. * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
  72875. * sysdeps/unix/sysv/tcsetattr.c: Likewise.
  72876. * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
  72877. * sysdeps/unix/siglist.c: Remove file.
  72878. * sysdeps/unix/getppid.S: Remove file.
  72879. * sysdeps/unix/mkdir.c: Remove file.
  72880. * sysdeps/unix/rmdir.c: Likewise.
  72881. 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
  72882. * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
  72883. ERR_MAX value.
  72884. * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
  72885. errlist-compat value.
  72886. 2012-04-18 David S. Miller <davem@davemloft.net>
  72887. * sysdeps/generic/memcopy.h (reg_char): Delete.
  72888. * debug/strcat_chk.c: Use char, not reg_char.
  72889. * debug/strcpy_chk.c: Likewise.
  72890. * debug/strncat_chk.c: Likewise.
  72891. * debug/strncpy_chk.c: Likewise.
  72892. * string/memchr.c: Likewise.
  72893. * string/memrchr.c: Likewise.
  72894. * string/rawmemchr.c: Likewise.
  72895. * string/strcat.c: Likewise.
  72896. * string/strchr.c: Likewise.
  72897. * string/strchrnul.c: Likewise.
  72898. * string/strcmp.c: Likewise.
  72899. * string/strcpy.c: Likewise.
  72900. * string/strncat.c: Likewise.
  72901. * string/strncmp.c: Likewise.
  72902. * string/strncpy.c: Likewise.
  72903. 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
  72904. * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
  72905. __builtin_memcopy is called when src and dest ranges are known to not
  72906. overlap.
  72907. 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
  72908. * sysdeps/powerpc/powerpc64/power6/wordcopy.c
  72909. (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
  72910. fwd_align_merge macro call.
  72911. (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
  72912. bwd_align_merge macro call.
  72913. * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
  72914. 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
  72915. * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
  72916. bwd_align_merge macros.
  72917. (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
  72918. (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
  72919. * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
  72920. 2012-04-18 David S. Miller <davem@davemloft.net>
  72921. * sysdeps/sparc/sparc64/memcopy.h: Delete.
  72922. 2012-04-18 Andreas Jaeger <aj@suse.de>
  72923. [BZ #6794]
  72924. * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
  72925. * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
  72926. Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
  72927. * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
  72928. * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
  72929. Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
  72930. * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
  72931. * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
  72932. Adjust for changed ldbl-128 files.
  72933. * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
  72934. * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
  72935. Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
  72936. 2012-04-17 David S. Miller <davem@davemloft.net>
  72937. * sysdeps/sparc/sparc32/memcopy.h: Delete.
  72938. 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
  72939. * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
  72940. * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
  72941. * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
  72942. * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
  72943. * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
  72944. * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
  72945. 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  72946. [BZ #6794]
  72947. * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
  72948. * math/libm-test.inc: Add ilogb errno and exception tests.
  72949. * math/w_ilogb.c: New file: ilogb wrapper.
  72950. * math/w_ilogbf.c: New file: ilogbf wrapper.
  72951. * math/w_ilogbl.c: New file: ilogbl wrapper.
  72952. * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
  72953. * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
  72954. * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
  72955. exception being thrown with 0.0 as argument.
  72956. * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
  72957. * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
  72958. exception being thrown with 0.0 as argument.
  72959. * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
  72960. * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
  72961. exception being thrown with 0.0 as argument.
  72962. * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
  72963. * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
  72964. exception being thrown with 0.0 as argument.
  72965. * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
  72966. * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
  72967. * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
  72968. * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
  72969. * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
  72970. * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
  72971. * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
  72972. * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
  72973. * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
  72974. 2012-04-17 Petr Baudiš <pasky@ucw.cz>
  72975. * include/sys/uio.h: Change __vector to __iovec to avoid clash
  72976. with altivec.
  72977. 2012-04-16 Marek Polacek <polacek@redhat.com>
  72978. * elf/pldd-xx.c: Rename static_assert to pldd_assert.
  72979. 2012-04-16 Marek Polacek <polacek@redhat.com>
  72980. * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
  72981. operands of fdivp instruction.
  72982. 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
  72983. * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
  72984. * elf/tst-auditmod3b.c: Likewise.
  72985. * elf/tst-auditmod4b.c: Likewise.
  72986. * elf/tst-auditmod5b.c: Likewise.
  72987. * elf/tst-auditmod6b.c: Likewise.
  72988. * elf/tst-auditmod6c.c: Likewise.
  72989. * elf/tst-auditmod7b.c: Likewise.
  72990. * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
  72991. * sysdeps/x86_64/preconfigure.in: Likewise.
  72992. * sysdeps/x86_64/preconfigure: Regenerated.
  72993. 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
  72994. * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
  72995. __ILP32__.
  72996. 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
  72997. * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
  72998. (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
  72999. 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
  73000. [BZ #13973]
  73001. * locale/iso-639.def: Fix gl language name. Spotted by
  73002. Yaron Shahrabani.
  73003. 2012-04-12 Roland McGrath <roland@hack.frob.com>
  73004. [BZ #2074]
  73005. * libio/libio.h (__io_write_fn): Update comment.
  73006. 2012-04-12 Petr Baudiš <pasky@ucw.cz>
  73007. [BZ #2074]
  73008. * stdio.texi (Hook Functions): The user provided writer function
  73009. is not allowed to return -1.
  73010. 2012-04-11 David S. Miller <davem@davemloft.net>
  73011. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  73012. 2012-04-11 Mike Frysinger <vapier@gentoo.org>
  73013. * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
  73014. Add a leading slash to rtkaio.
  73015. 2012-04-11 Jim Meyering <meyering@redhat.com>
  73016. [BZ #11959]
  73017. * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
  73018. It is not necessarily an error to ignore fwrite's return
  73019. value. One can reliably use ferror to test for errors after
  73020. the fact.
  73021. 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
  73022. * bits/types.h (__snseconds_t): New type.
  73023. * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
  73024. * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
  73025. * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
  73026. (__SNSECONDS_T_TYPE): Likewise.
  73027. * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
  73028. (__SNSECONDS_T_TYPE): Likewise.
  73029. * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
  73030. (__SNSECONDS_T_TYPE): Likewise.
  73031. 2012-04-10 Andreas Jaeger <aj@suse.de>
  73032. [BZ #2636]
  73033. * manual/time.texi (Processor Time): Return type of times is
  73034. elapsed real time since an arbitrary point in the past.
  73035. (CPU Time): Move CLK_TCK from here...
  73036. (Processor Time): ...to here. Correct description.
  73037. * manual/conf.texi (Constants for Sysconf): Correct description of
  73038. _SC_CLK_TCK.
  73039. 2012-04-10 David S. Miller <davem@davemloft.net>
  73040. [BZ #13967]
  73041. * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
  73042. where the is a gap between DT_REL(A) and DT_JMPREL.
  73043. 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
  73044. * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
  73045. (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
  73046. (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
  73047. 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
  73048. * elf/dl-support.c (_dl_inhibit_cache): New variable.
  73049. * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
  73050. (dl_main): Handle --inhibit-cache.
  73051. * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
  73052. _dl_inhibit_cache.
  73053. * elf/dl-load.c (_dl_map_object): Use it.
  73054. * elf/Makefile: Define SYSCONFDIR when building rtld.c.
  73055. 2012-04-09 Joseph Myers <joseph@codesourcery.com>
  73056. [BZ #13872]
  73057. * sysdeps/i386/fpu/e_powl.S (p78): New object.
  73058. (__ieee754_powl): Saturate large exponents rather than testing for
  73059. overflow of y*log2(x).
  73060. * sysdeps/x86_64/fpu/e_powl.S: Likewise.
  73061. * math/libm-test.inc (pow_test): Do not permit spurious overflow
  73062. exceptions.
  73063. [BZ #11521]
  73064. * math/s_ctan.c: Include <float.h>.
  73065. (__ctan): Avoid internal overflow or cancellation in calculating
  73066. denominator.
  73067. * math/s_ctanf.c: Likewise.
  73068. * math/s_ctanl.c: Likewise.
  73069. * math/s_ctanh.c: Likewise.
  73070. * math/s_ctanhf.c: Likewise.
  73071. * math/s_ctanhl.c: Likewise.
  73072. * math/libm-test.inc (ctan_test): Add more tests.
  73073. (ctanh_test): Likewise.
  73074. * sysdeps/i386/fpu/libm-test-ulps: Update.
  73075. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  73076. 2012-04-09 Andreas Jaeger <aj@suse.de>
  73077. [BZ #6894]
  73078. * manual/filesys.texi (Directory Entries): Mention that d_namlen
  73079. is an optional BSD extension.
  73080. [BZ #10254]
  73081. * manual/stdio.texi (Opening Streams): Document additional fopen
  73082. parameters.
  73083. 2012-04-09 Roland McGrath <roland@hack.frob.com>
  73084. * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
  73085. %eax without telling the compiler.
  73086. 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
  73087. [BZ # 13963]
  73088. * manual/install.texi: Use sourceware.org.
  73089. 2012-04-09 Joseph Myers <joseph@codesourcery.com>
  73090. [BZ #13873]
  73091. * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
  73092. (__ieee754_pow): Generate overflow and underflow using huge*huge
  73093. and tiny*tiny rather than just returning constant infinity or zero
  73094. for large exponents.
  73095. * math/libm-test.inc (pow_test): Require overflow exceptions for
  73096. applicable cases of large exponents.
  73097. [BZ #706]
  73098. * sysdeps/i386/fpu/e_pow.S (p10): New object.
  73099. (__ieee754_pow): Use iterative multiplication algorithm only for
  73100. integer exponents with absolute value below 1024. Check for odd
  73101. integer exponents when using algorithm for real exponents.
  73102. * math/libm-test.inc (pow_test): Add more tests.
  73103. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
  73104. 2012-04-08 Joseph Myers <joseph@codesourcery.com>
  73105. [BZ #13705]
  73106. * math/libm-test.inc (exp_test): Do not allow overflow exception
  73107. on underflow test.
  73108. 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
  73109. [BZ #13705]
  73110. * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
  73111. instead of __kernel_standard_f.
  73112. 2012-04-08 Mike Frysinger <vapier@gentoo.org>
  73113. * sysdeps/i386/i686/memset_chk.S: Update copyright year.
  73114. * sysdeps/x86_64/memset_chk.S: Likewise.
  73115. 2012-04-08 Andreas Jaeger <aj@suse.de>
  73116. [BZ #10153]
  73117. * manual/startup.texi (Environment Access): Describe return value
  73118. for putenv and setenv.
  73119. [BZ #6895]
  73120. * manual/filesys.texi (Directory Entries): Add description for
  73121. DT_LNK.
  73122. [BZ #6890]
  73123. * manual/filesys.texi (Directory Entries): Clarify that it's file
  73124. system not operating system in the description of DT_UNKNOWN.
  73125. [BZ #6578]
  73126. * manual/syslog.texi (closelog): Fix reference, it's openlog.
  73127. 2012-04-08 Stephen Compall <s11@member.fsf.org>
  73128. [BZ #6649]
  73129. * manual/llio.texi (Opening and Closing Files): Add cross
  73130. reference to explain mode argument.
  73131. 2012-04-07 Mike Frysinger <vapier@gentoo.org>
  73132. * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
  73133. * sysdeps/x86_64/memset_chk.S: Likewise.
  73134. 2012-04-07 David S. Miller <davem@davemloft.net>
  73135. * elf/elf.h (R_SPARC_WDISP10): Define.
  73136. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
  73137. R_SPARC_SIZE32.
  73138. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
  73139. R_SPARC_SIZE64 and R_SPARC_H34.
  73140. 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
  73141. * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
  73142. conditions and remove no longer applicable assertion.
  73143. 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
  73144. * bits/byteswap.h: Include <features.h>.
  73145. (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
  73146. (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
  73147. 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
  73148. * bits/byteswap.h (__bswap_16): Removed.
  73149. Include <bits/byteswap-16.h> to get __bswap_16.
  73150. * sysdeps/i386/bits/byteswap.h: Likewise.
  73151. * sysdeps/s390/bits/byteswap.h: Likewise.
  73152. * sysdeps/x86_64/bits/byteswap.h: Likewise.
  73153. * bits/byteswap-16.h: New file.
  73154. * sysdeps/i386/bits/byteswap-16.h: Likewise.
  73155. * sysdeps/s390/bits/byteswap-16.h: Likewise.
  73156. * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
  73157. * string/Makefile (headers): Add bits/byteswap-16.h.
  73158. 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
  73159. [BZ #13895]
  73160. * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
  73161. extra indirection.
  73162. * nss/Makefile (tests-static, tests): Add tst-nss-static.
  73163. * nss/tst-nss-static.c: New.
  73164. 2012-04-06 Robert Millan <rmh@gnu.org>
  73165. [BZ #6486]
  73166. * manual/llio.texi (File Position Primitive): lseek
  73167. refers to WHENCE when it really means OFFSET.
  73168. 2012-04-06 Andreas Jaeger <aj@suse.de>
  73169. * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
  73170. strncmp declarations.
  73171. * abilist/libc.abilist: Add __poll and __ppoll.
  73172. 2012-04-05 David S. Miller <davem@davemloft.net>
  73173. * scripts/check-local-headers.sh: Accept a host triplet in the
  73174. path matched by the exclude regexp.
  73175. * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
  73176. definition.
  73177. * sysdeps/powerpc/powerpc32/dl-machine.h
  73178. (ELF_MACHINE_PLTREL_OVERLAP): Delete.
  73179. * sysdeps/s390/s390-32/dl-machine.h
  73180. (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
  73181. * sysdeps/sparc/sparc32/dl-machine.h
  73182. (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
  73183. * sysdeps/sparc/sparc64/dl-machine.h
  73184. (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
  73185. * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
  73186. lazy binding.
  73187. * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
  73188. undefined symbol errors.
  73189. * elf/rtld.c (dl_main): Skip VDSO when checking for unused
  73190. DT_NEEDED entries.
  73191. 2012-04-05 Michael Matz <matz@suse.de>
  73192. [BZ #13592]
  73193. * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
  73194. 2012-04-05 Andreas Jaeger <aj@suse.de>
  73195. [BZ #13908]
  73196. * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
  73197. comment.
  73198. 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
  73199. * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
  73200. which ROUND is no valid rounding mode.
  73201. 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
  73202. * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
  73203. read again.
  73204. * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
  73205. 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
  73206. * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
  73207. an exception using FPU order intentionally.
  73208. 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
  73209. * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
  73210. * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
  73211. * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
  73212. * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
  73213. 2012-04-05 Simon Josefsson <simon@josefsson.org>
  73214. [BZ #12340]
  73215. * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
  73216. EINVAL when BUFLEN is too smal.
  73217. 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
  73218. [BZ #13553]
  73219. * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
  73220. * sysdeps/mach/powerpc/machine-lock.h: Likewise.
  73221. 2012-04-03 Andreas Jaeger <aj@suse.de>
  73222. [BZ #13938]
  73223. * manual/setjmp.texi (System V contexts): Fix sentence.
  73224. [BZ #13926]
  73225. * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
  73226. New macro for this case.
  73227. [!__GNUC__] (__bswap_64): New inline function for this case.
  73228. * sysdeps/x86_64/bits/byteswap.h: Likewise.
  73229. * bits/byteswap.h: Likewise.
  73230. * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
  73231. ull, guard with __GLIBC_HAVE_LONG_LONG.
  73232. * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
  73233. __GLIBC_HAVE_LONG_LONG.
  73234. * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
  73235. Include <features.h> for __GLIBC_HAVE_LONG_LONG.
  73236. 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  73237. [BZ #13691]
  73238. * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
  73239. inptr and inend, rather than using last_ch.
  73240. 2012-04-02 David S. Miller <davem@davemloft.net>
  73241. With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
  73242. * stdio-common/printf-parse.h (read_int): Change return type to
  73243. 'int', return -1 on INT_MAX overflow.
  73244. * stdio-common/vfprintf.c (vfprintf): Validate width and precision
  73245. against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
  73246. overflows INT_MAX. Check for overflow of in-format-string precision
  73247. values properly. Use EOVERFLOW rather than ERANGE throughout. Use
  73248. SIZE_MAX not INT_MAX for integer overflow test.
  73249. * stdio-common/printf-parsemb.c: If read_int signals an overflow,
  73250. skip the construct in the format string but do not record anything.
  73251. * stdio-common/bug22.c: Adjust to test both width/prevision
  73252. INT_MAX overflow as well as total length INT_MAX overflow. Check
  73253. explicitly for proper errno values.
  73254. 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
  73255. * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
  73256. CHAR_MAX.
  73257. * string/test-strcmp.c [! WIDE]: Likewise.
  73258. * time/tst-mktime2.c: Likewise for INT_MAX.
  73259. * string/test-string.h: #include <sys/param.h> for MIN.
  73260. * csu/init-first.c (__libc_init_first): Call __ctype_init.
  73261. * sysdeps/i386/init-first.c (init): Likewise.
  73262. * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
  73263. * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
  73264. * sysdeps/sh/init-first.c (init): Likewise.
  73265. 2012-04-01 Ulrich Drepper <drepper@gmail.com>
  73266. * po/ru.po: Update from translation team.
  73267. * po/vi.po: Likewise.
  73268. 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
  73269. * resolv/nss_dns/dns-host.c: Merge copyright years.
  73270. 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
  73271. * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
  73272. Optimize memcpy with prefetch if
  73273. DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
  73274. src, dst pointers have unequal 16 byte alignments.
  73275. 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
  73276. [BZ #13928]
  73277. * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
  73278. from a CNAME entry and return the minimum ttl for the query.
  73279. (gaih_getanswer_slice): Likewise.
  73280. 2012-03-30 Jeff Law <law@redhat.com>
  73281. * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
  73282. due to long keys.
  73283. * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
  73284. * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
  73285. * resolv/nss_dns/dns-host.c: Update copyright year.
  73286. 2012-03-30 Ulrich Drepper <drepper@gmail.com>
  73287. * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
  73288. requests to save a system call. Fix check that all bytes are sent.
  73289. * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
  73290. comments for sendmmsg.
  73291. 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
  73292. [BZ #13691]
  73293. * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
  73294. with only 1 character between 0x0041 and 0x01b0.
  73295. * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
  73296. * wcsmbs/tst-mbsnrtowcs.c: New file.
  73297. 2012-03-29 David S. Miller <davem@davemloft.net>
  73298. * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
  73299. small copies by hand.
  73300. 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
  73301. [BZ #13761]
  73302. * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
  73303. (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
  73304. group memberships.
  73305. 2012-03-28 David S. Miller <davem@davemloft.net>
  73306. * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
  73307. that branches into memcpy.
  73308. * sysdeps/sparc/sparc64/memcpy.S: Likewise.
  73309. * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
  73310. * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
  73311. * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
  73312. * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
  73313. bits.
  73314. * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
  73315. implementation too.
  73316. * sysdeps/sparc/mempcpy.S: New file.
  73317. * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
  73318. the IFUNC routine in the libc case.
  73319. * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
  73320. * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
  73321. * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
  73322. * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
  73323. * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
  73324. * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
  73325. * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
  73326. * sysdeps/sparc/sparc64/rtld-memset.c: New file.
  73327. * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
  73328. * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
  73329. loop to 256 bytes instead of 64 bytes and fix test signedness.
  73330. * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
  73331. * sysdeps/sparc/sparc32/Makefile: rather than here...
  73332. * sysdeps/sparc/sparc64/Makefile: and here.
  73333. 2012-03-28 Ulrich Drepper <drepper@gmail.com>
  73334. * malloc/mallocbug.c: Avoid warnings about unused variables.
  73335. 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
  73336. [BZ #13760]
  73337. * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
  73338. in the right place. Discard and retry query if response is
  73339. larger than input buffer size.
  73340. 2012-03-28 Joseph Myers <joseph@codesourcery.com>
  73341. [BZ #369]
  73342. [BZ #2678]
  73343. [BZ #3866]
  73344. * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
  73345. x for large integer exponent.
  73346. * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
  73347. * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
  73348. sign of result as needed afterwards.
  73349. * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
  73350. * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
  73351. result for underflowing pow the same as for overflow.
  73352. (__kernel_standard_l): Handle powl overflow and underflow here
  73353. rather than calling __kernel_standard.
  73354. * math/libm-test.inc (pow_test): Add more tests.
  73355. [BZ #3868]
  73356. [BZ #13879]
  73357. [BZ #13910]
  73358. [BZ #13911]
  73359. [BZ #13912]
  73360. [BZ #13913]
  73361. [BZ #13915]
  73362. [BZ #13916]
  73363. [BZ #13917]
  73364. [BZ #13918]
  73365. [BZ #13919]
  73366. [BZ #13920]
  73367. [BZ #13921]
  73368. * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
  73369. * sysdeps/ieee754/k_standard.c: Include <float.h>.
  73370. (__kernel_standard_l): New function.
  73371. * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
  73372. __kernel_standard.
  73373. * math/w_acosl.c (__acosl): Likewise.
  73374. * math/w_asinl.c (__asinl): Likewise.
  73375. * math/w_atan2l.c (__atan2l): Likewise.
  73376. * math/w_atanhl.c (__atanhl): Likewise.
  73377. * math/w_coshl.c (__coshl): Likewise.
  73378. * math/w_exp10l.c (__exp10l): Likewise.
  73379. * math/w_exp2l.c (__exp2l): Likewise.
  73380. * math/w_fmodl.c (__fmodl): Likewise.
  73381. * math/w_hypotl.c (__hypotl): Likewise.
  73382. * math/w_j0l.c (__j0l, __y0l): Likewise.
  73383. * math/w_j1l.c (__j1l, __y1l): Likewise.
  73384. * math/w_jnl.c (__jnl, __ynl): Likewise.
  73385. * math/w_lgammal.c (__lgammal): Likewise.
  73386. * math/w_log10l.c (__log10l): Likewise.
  73387. * math/w_log2l.c (__log2l): Likewise.
  73388. * math/w_logl.c (__logl): Likewise.
  73389. * math/w_powl.c (__powl): Likewise.
  73390. * math/w_remainderl.c (__remainderl): Likewise.
  73391. * math/w_scalbl.c (sysv_scalbl): Likewise.
  73392. * math/w_sinhl.c (__sinhl): Likewise.
  73393. * math/w_sqrtl.c (__sqrtl): Likewise.
  73394. * math/w_tgammal.c (__tgammal): Likewise.
  73395. * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
  73396. * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
  73397. * math/libm-test.inc (acos_test): Add more tests.
  73398. (acosh_test): Likewise.
  73399. (asin_test): Likewise.
  73400. (atanh_test): Likewise.
  73401. (exp_test): Likewise.
  73402. (exp10_test): Likewise.
  73403. (exp2_test): Likewise.
  73404. (expm1_test): Likewise.
  73405. (lgamma_test): Likewise.
  73406. (log_test): Likewise.
  73407. (log10_test): Likewise.
  73408. (log1p_test): Likewise.
  73409. (log2_test): Likewise.
  73410. (pow_test): Do not allow some spurious overflow exceptions.
  73411. (sqrt_test): Add more tests.
  73412. (tgamma_test): Likewise.
  73413. (y0_test): Likewise.
  73414. (y1_test): Likewise.
  73415. (yn_test): Likewise.
  73416. 2012-03-27 Anton Blanchard <anton@samba.org>
  73417. * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
  73418. MAP_HUGETLB.
  73419. * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
  73420. * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
  73421. * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
  73422. 2012-03-27 David S. Miller <davem@davemloft.net>
  73423. * conform/Makefile: Run run-conformtest.sh using $(BASH).
  73424. * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
  73425. have-as-vis3 check.
  73426. 2012-03-27 Andreas Jaeger <aj@suse.de>
  73427. * sysdeps/x86_64/elf/configure.in: Moved to ...
  73428. * sysdeps/x86_64/configure.in: ... here.
  73429. * sysdeps/x86_64/elf/start.S: Moved to ...
  73430. * sysdeps/x86_64/start.S: ... here.
  73431. * sysdeps/x86_64/elf/configure: Delete.
  73432. * sysdeps/x86_64/configure.in: Merge contents from
  73433. sysdeps/i386/configure.in (without i686 check).
  73434. * sysdeps/i386/elf/Versions: Merge into ...
  73435. * sysdeps/i386/Versions: ... this.
  73436. * sysdeps/i386/elf/Versions: Delete file.
  73437. * sysdeps/i386/elf/start.S: Moved to ...
  73438. * sysdeps/i386/start.S: ...here.
  73439. * sysdeps/i386/elf/configure.in: Merge into...
  73440. * sysdeps/i386/configure.in: ...here.
  73441. * sysdeps/i386/elf/configure.in: Delete file.
  73442. * sysdeps/i386/elf/configure: Delete file.
  73443. * sysdeps/generic/elf/backtracesyms.c: Moved to ...
  73444. * debug/backtracesyms.c: ... here.
  73445. * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
  73446. * debug/backtracesymsfd.c: ... here.
  73447. * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
  73448. * sysdeps/generic/ifunc-sel.h: ... here.
  73449. * sysdeps/unix/i386/start.c: Delete file.
  73450. * sysdeps/unix/sparc/start.c: Delete file.
  73451. * sysdeps/unix/start.c: Delete file.
  73452. * sysdeps/sh/elf/configure.in: Moved to ...
  73453. * sysdeps/sh/configure.in: ... here.
  73454. * sysdeps/sh/elf/start.S: Moved to ...
  73455. * sysdeps/sh/start.S: ... here.
  73456. * sysdeps/sh/elf/configure: Delete file.
  73457. * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
  73458. * sysdeps/powerpc/powerpc64/bzero.S: ... here.
  73459. * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
  73460. * sysdeps/powerpc/powerpc64/entry.h: ... here.
  73461. * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
  73462. * sysdeps/powerpc/powerpc64/start.S: here.
  73463. * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
  73464. * sysdeps/powerpc/powerpc64/Makefile: ... this.
  73465. * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
  73466. * sysdeps/powerpc/powerpc64/configure.in: ... this.
  73467. * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
  73468. * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
  73469. * sysdeps/powerpc/powerpc32/bzero.S: ... here.
  73470. * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
  73471. * sysdeps/powerpc/powerpc32/start.S: ... here.
  73472. * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
  73473. * sysdeps/powerpc/powerpc32/configure.in: ... this.
  73474. * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
  73475. * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
  73476. * sysdeps/powerpc/ifunc-sel.h: ... here.
  73477. * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
  73478. * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
  73479. * sysdeps/sparc/elf/configure.in: Moved to ...
  73480. * sysdeps/sparc/configure.in: ... here.
  73481. * sysdeps/sparc/elf/configure: Delete file.
  73482. * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
  73483. * sysdeps/sparc/sparc32/start.S: ... here.
  73484. * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
  73485. * sysdeps/sparc/sparc64/start.S: ... here.
  73486. * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
  73487. * sysdeps/sparc/sparc32/Makefile: ... this.
  73488. * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
  73489. * sysdeps/sparc/sparc64/Makefile: ... this.
  73490. * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
  73491. * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
  73492. * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
  73493. * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
  73494. * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
  73495. * sysdeps/s390/s390-32/setjmp.S: ... here.
  73496. * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
  73497. * sysdeps/s390/s390-32/configure.in: ... here.
  73498. * sysdeps/s390/s390-32/elf/configure: Delete file.
  73499. * sysdeps/s390/s390-32/elf/start.S: Moved to ...
  73500. * sysdeps/s390/s390-32/start.S: ... here.
  73501. * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
  73502. * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
  73503. * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
  73504. * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
  73505. * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
  73506. * sysdeps/s390/s390-64/setjmp.S: ... here.
  73507. * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
  73508. * sysdeps/s390/s390-64/configure.in: ... here
  73509. * sysdeps/s390/s390-64/elf/configure: Delete file.
  73510. * sysdeps/s390/s390-64/elf/start.S: Moved to ...
  73511. * sysdeps/s390/s390-64/start.S: ... here.
  73512. * sysdeps/s390/s390-64/elf/configure: Delete.
  73513. * configure.in: Remove support for elf directories in sysdeps.
  73514. * configure: Regenerated.
  73515. * sysdeps/i386/configure: Regenerated.
  73516. * sysdeps/powerpc/powerpc32/configure: Regenerated.
  73517. * sysdeps/powerpc/powerpc64/configure: Regenerated.
  73518. * sysdeps/s390/s390-32/configure: Regenerated.
  73519. * sysdeps/s390/s390-64/configure: Regenerated.
  73520. * sysdeps/sh/configure: Regenerated.
  73521. * sysdeps/sparc/configure: Regenerated.
  73522. * sysdeps/x86_64/configure: Regenerated.
  73523. 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
  73524. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  73525. * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
  73526. denormal result into account.
  73527. 2012-03-25 Roland McGrath <roland@hack.frob.com>
  73528. * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
  73529. Reported by Allan McRae <allan@archlinux.org>.
  73530. 2012-03-23 Jeff Law <law@redhat.com>
  73531. * nss/getnssent.c (__nss_getent): Fix typo.
  73532. 2012-03-23 David S. Miller <davem@davemloft.net>
  73533. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  73534. 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
  73535. * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
  73536. to pad to uint64_t for each field.
  73537. (dl_tls_index): Replace unsigned long with uint64_t.
  73538. 2012-03-23 Daniel Jacobowitz <dmj@google.com>
  73539. Paul Pluzhnikov <ppluzhnikov@google.com>
  73540. [BZ #6528]
  73541. * grp/Makefile (otherlibs): Don't set it.
  73542. * inet/Makefile (otherlibs): Likewise.
  73543. * login/Makefile (otherlibs): Likewise.
  73544. * nscd/Makefile (otherlibs): Likewise.
  73545. * posix/Makefile (otherlibs): Likewise.
  73546. * pwd/Makefile (otherlibs): Likewise.
  73547. * rt/Makefile (otherlibs): Likewise.
  73548. * sunrpc/Makefile (otherlibs): Likewise.
  73549. * nss/Makefile (otherlibs): Likewise.
  73550. Add libnss_files to routines and static-only-routines.
  73551. ($(objpfx)getent): Remove rule.
  73552. * resolv/Makefile: Add libnss_dns and libresolv to routines and
  73553. static-only-routines.
  73554. 2012-03-22 Joseph Myers <joseph@codesourcery.com>
  73555. [BZ #13892]
  73556. * math/s_cexp.c: Include <float.h>.
  73557. (__cexp): Handle exp result overflowing not necessarily
  73558. overflowing both real and imaginary parts of result.
  73559. * math/s_cexpf.c: Likewise.
  73560. * math/s_cexpl.c: Likewise.
  73561. * math/libm-test.inc (cexp_test): Add more tests.
  73562. * sysdeps/i386/fpu/libm-test-ulps: Update.
  73563. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  73564. 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
  73565. * include/link.h (ELFW): New macro.
  73566. * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
  73567. Replace ELF64_R_TYPE with ELFW(R_TYPE).
  73568. 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
  73569. * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
  73570. with uint64_t.
  73571. 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
  73572. * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
  73573. declaration.
  73574. (struct La_x32_retval): Likewise.
  73575. 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
  73576. * sysdeps/x86_64/preconfigure.in: New file.
  73577. * sysdeps/x86_64/preconfigure: New generated file.
  73578. 2012-03-22 Joseph Myers <joseph@codesourcery.com>
  73579. [BZ #13824]
  73580. * math/e_exp2l.c: Include <float.h>.
  73581. (__ieee754_exp2l): Handle overflow and underflow cases
  73582. separately. Only pass fractional part of argument to
  73583. __ieee754_expl.
  73584. * math/libm-test.inc (exp2_test): Add more tests.
  73585. * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
  73586. negating x to take absolute value.
  73587. * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
  73588. Likewise.
  73589. * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
  73590. * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
  73591. Likewise.
  73592. * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
  73593. computing low part if x was negated.
  73594. * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
  73595. 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
  73596. * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
  73597. la_x32_gnu_pltexit.
  73598. (pltexit): Cast int_retval to ptrdiff_t.
  73599. * elf/tst-auditmod3b.c: Likewise.
  73600. * elf/tst-auditmod4b.c: Likewise.
  73601. * elf/tst-auditmod5b.c: Likewise.
  73602. * elf/tst-auditmod6b.c: Likewise.
  73603. * elf/tst-auditmod6c.c: Likewise.
  73604. * elf/tst-auditmod7b.c: Likewise.
  73605. * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
  73606. and x32_gnu_pltexit.
  73607. * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
  73608. __ELF_NATIVE_CLASS.
  73609. (La_x32_regs): New macro.
  73610. (La_x32_retval): Likewise.
  73611. (la_x32_gnu_pltenter): New function prototype.
  73612. (la_x32_gnu_pltexit): Likewise.
  73613. 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
  73614. * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
  73615. exponent.
  73616. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  73617. * configure.in (libc_cv_cc_nofma): Check for option to disable
  73618. generation of FMA instructions.
  73619. * configure: Regenerate.
  73620. * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
  73621. * sysdeps/ieee754/dbl-64/Makefile: New file.
  73622. * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
  73623. Remove brandred-fma4.
  73624. (CFLAGS-brandred-fma4.c): Remove.
  73625. * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
  73626. * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
  73627. define.
  73628. * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
  73629. define.
  73630. 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
  73631. * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
  73632. LLONG_MAX != LONG_MAX.
  73633. (_itoa_word): Use _ITOA_WORD_TYPE on value.
  73634. (_fitoa_word): Likewise.
  73635. * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
  73636. LLONG_MAX != LONG_MAX.
  73637. * stdio-common/_itowa.h: Include <_itoa.h>.
  73638. (_itowa_word): Use _ITOA_WORD_TYPE on value.
  73639. (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
  73640. * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
  73641. only if not defined.
  73642. (_ITOA_WORD_TYPE): Likewise.
  73643. (_itoa_word): Use _ITOA_WORD_TYPE on value.
  73644. Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
  73645. 2012-03-21 David S. Miller <davem@davemloft.net>
  73646. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  73647. 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
  73648. * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
  73649. of x86_64 when setting libc_cv_slibdir, libdir and
  73650. libc_cv_localedir.
  73651. * sysdeps/unix/sysv/linux/configure: Regenerated.
  73652. 2012-03-21 Joseph Myers <joseph@codesourcery.com>
  73653. * manual/lang.texi (Old Varargs): Remove section.
  73654. (How Variadic): Update menu.
  73655. (va_start): Do not mention varargs.h.
  73656. 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
  73657. Joseph Myers <joseph@codesourcery.com>
  73658. * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
  73659. link test.
  73660. * configure: Regenerated.
  73661. 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
  73662. * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
  73663. * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
  73664. conformtest.pl
  73665. 2012-03-21 Joseph Myers <joseph@codesourcery.com>
  73666. * NOTES: Remove.
  73667. * Makefile (files-for-dist): Remove NOTES.
  73668. (NOTES): Remove rule.
  73669. * README: Don't refer to NOTES.
  73670. * manual/creature.texi: Don't include macros.texi.
  73671. * manual/intro.texi (creature.texi): Remove comment referring to
  73672. NOTES.
  73673. * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
  73674. * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
  73675. * configure: Regenerated.
  73676. * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
  73677. LIBC_TRY_CC_OPTION.
  73678. (libc_cv_as_i686): Likewise.
  73679. (libc_cv_cc_avx): Likewise.
  73680. (libc_cv_cc_sse2avx): Likewise.
  73681. (libc_cv_cc_fma4): Likewise.
  73682. (libc_cv_cc_novzeroupper): Likewise.
  73683. * sysdeps/i386/configure: Regenerated.
  73684. [BZ #13883]
  73685. * sysdeps/i386/fpu/s_cexp.S: Remove.
  73686. * sysdeps/i386/fpu/s_cexpf.S: Likewise.
  73687. * sysdeps/i386/fpu/s_cexpl.S: Likewise.
  73688. * math/libm-test.inc (cexp_test): Add more tests.
  73689. * sysdeps/i386/fpu/libm-test-ulps: Update.
  73690. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  73691. 2012-03-21 Allan McRae <allan@archlinux.org>
  73692. * timezone/Makefile: Do not install iso3166.tab and zone.tab
  73693. 2012-03-21 Joseph Myers <joseph@codesourcery.com>
  73694. [BZ #13871]
  73695. * math/w_exp2.c: Do not include <float.h>.
  73696. (o_threshold, u_threshold): Remove.
  73697. (__exp2): Calculate result before checking finiteness and calling
  73698. __kernel_standard.
  73699. * math/w_exp2f.c: Likewise.
  73700. * math/w_exp2l.c: Likewise.
  73701. * math/libm-test.inc (exp2_test): Require overflow exception for
  73702. 1e6 input.
  73703. [BZ #3866]
  73704. * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
  73705. range of signed 64-bit integers before using fistpll. Remove
  73706. checks for whether integers fit in mantissa bits.
  73707. * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
  73708. the range of signed 32-bit integers before using fistpl. Remove
  73709. checks for whether integers fit in mantissa bits.
  73710. * sysdeps/i386/fpu/e_powl.S (p64): New object.
  73711. (__ieee754_powl): Test for y outside the range of signed 64-bit
  73712. integers before using fistpll. Reduce 64-bit values to 63-bit
  73713. ones as needed.
  73714. * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
  73715. divide-by-zero is raised for zero to large negative powers.
  73716. * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
  73717. (__ieee754_powl): Test for y outside the range of signed 64-bit
  73718. integers before using fistpll. Reduce 64-bit values to 63-bit
  73719. ones as needed.
  73720. * math/libm-test.inc (pow_test): Add more tests.
  73721. 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
  73722. * debug/backtracesymsfd.c: Include <_itoa.h> instead of
  73723. <stdio-common/_itoa.h>.
  73724. * debug/segfault.c: Likewise.
  73725. * elf/dl-cache.c: Likewise.
  73726. * elf/dl-minimal.c: Likewise.
  73727. * elf/dl-misc.c: Likewise.
  73728. * elf/dl-sysdep.c: Likewise.
  73729. * elf/dl-version.c: Likewise.
  73730. * elf/rtld.c: Likewise.
  73731. * hurd/hurdsock.c: Likewise.
  73732. * hurd/lookup-retry.c: Likewise.
  73733. * malloc/malloc.c: Likewise.
  73734. * malloc/mtrace.c: Likewise.
  73735. * nscd/nscd_getgr_r.c: Likewise.
  73736. * nscd/nscd_getpw_r.c: Likewise.
  73737. * nscd/nscd_getserv_r.c: Likewise.
  73738. * posix/getopt_init.c: Likewise.
  73739. * posix/wordexp.c: Likewise.
  73740. * stdio-common/_itoa.c: Likewise.
  73741. * stdio-common/printf_fphex.c: Likewise.
  73742. * stdio-common/vfprintf.c: Likewise.
  73743. * string/_strerror.c: Likewise.
  73744. * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
  73745. * sysdeps/i386/i686/hp-timing.h: Likewise.
  73746. * sysdeps/mach/_strerror.c: Likewise.
  73747. * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
  73748. * sysdeps/mach/hurd/sethostid.c: Likewise.
  73749. * sysdeps/mach/hurd/xmknodat.c: Likewise.
  73750. * sysdeps/mach/xpg-strerror.c: Likewise.
  73751. * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
  73752. * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
  73753. * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
  73754. * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
  73755. * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
  73756. * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
  73757. * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
  73758. * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
  73759. * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
  73760. * sysdeps/unix/sysv/linux/futimes.c: Likewise.
  73761. * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
  73762. * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
  73763. * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
  73764. * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
  73765. * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
  73766. * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
  73767. * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
  73768. * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
  73769. * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
  73770. * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
  73771. * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
  73772. * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
  73773. * stdio-common/_itoa.h: Moved to ...
  73774. * sysdeps/generic/_itoa.h: Here.
  73775. * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
  73776. * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
  73777. instead of "_itoa.h" and "_itowa.h".
  73778. * stdio-common/vfprintf.: Likewise.
  73779. 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
  73780. * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
  73781. <bits/wordsize.h>.
  73782. (__signbitf): Check __x86_64__ instead of __WORDSIZE.
  73783. (__signbit): Likewise.
  73784. (llrintf): Likewise.
  73785. (llrint): Likewise.
  73786. 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
  73787. * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
  73788. __WORDSIZE != 64.
  73789. 2012-03-20 Joseph Myers <joseph@codesourcery.com>
  73790. * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
  73791. OVERFLOW_EXCEPTION_OK.
  73792. * math/libm-test.inc ("Philosophy"): Update comment about
  73793. exception testing.
  73794. (OVERFLOW_EXCEPTION): Define.
  73795. (OVERFLOW_EXCEPTION_OK): Likewise.
  73796. (INVALID_EXCEPTION_OK): Renumber.
  73797. (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
  73798. (IGNORE_ZERO_INF_SIGN): Likewise.
  73799. (test_exceptions): Handle FE_OVERFLOW.
  73800. (exp10_test): Expect overflow exceptions.
  73801. (exp2_test): Likewise.
  73802. (expm1_test): Likewise.
  73803. (nextafter_test): Likewise.
  73804. (pow_test): Likewise.
  73805. (scalbn_test): Likewise.
  73806. (scalbln_test): Likewise.
  73807. 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
  73808. * sysdeps/x86_64/bits/atomic.h
  73809. (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
  73810. 64bit integer.
  73811. (atomic_exchange_acq): Likewise.
  73812. (__arch_exchange_and_add_body): Likewise.
  73813. (__arch_add_body): Likewise.
  73814. (atomic_add_negative): Likewise.
  73815. (atomic_add_zero): Likewise.
  73816. 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
  73817. * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
  73818. (fenv_t): Check __x86_64__ instead of __WORDSIZE.
  73819. 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
  73820. * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
  73821. Check __x86_64__ instead of __WORDSIZE.
  73822. 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
  73823. * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
  73824. 2012-03-19 David S. Miller <davem@davemloft.net>
  73825. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  73826. * sysdeps/sparc/fpu/fenv_private.h: New file.
  73827. * sysdeps/sparc/fpu/math_private.h: Use it.
  73828. (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
  73829. Remove.
  73830. (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
  73831. (libc_feholdexcept_setroundl): Remove.
  73832. (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
  73833. Remove.
  73834. (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
  73835. (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
  73836. 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
  73837. * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
  73838. int64_t instead of long int.
  73839. (INSERT_WORDS64): Likewise.
  73840. 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
  73841. * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
  73842. _Unwind_GetCFA return to _Unwind_Ptr first.
  73843. 2012-03-19 Joseph Myers <joseph@codesourcery.com>
  73844. [BZ #13629]
  73845. * math/s_clog.c: Include <float.h>.
  73846. (__clog): Scale large or subnormal inputs.
  73847. * math/s_clogf.c: Likewise.
  73848. * math/s_clogl.c: Likewise.
  73849. * math/s_clog10.c: Include <float.h>.
  73850. (M_LOG10_2): Define.
  73851. (__clog10): Scale large or subnormal inputs.
  73852. * math/s_clog10f.c: Likewise.
  73853. * math/s_clog10l.c: Likewise.
  73854. * math/libm-test.inc (clog_test): Add more tests.
  73855. (clog10_test): Likewise.
  73856. * sysdeps/i386/fpu/libm-test-ulps: Update.
  73857. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  73858. [BZ #11451]
  73859. * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
  73860. x and y.
  73861. * math/libm-test.inc (atan2_test): Add another test.
  73862. * Makerules (common-objdir-compile): Remove.
  73863. * sysdeps/unix/Makefile (config-generated): Do not add
  73864. $(unix-generated) to variable.
  73865. [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
  73866. [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
  73867. Remove rule.
  73868. [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
  73869. Likewise.
  73870. [generic bits/local_lim.h] (before-compile): Do not append to
  73871. variable.
  73872. [generic bits/local_lim.h] (common-generated): Likewise.
  73873. [generic sys/param.h] (before-compile): Do not append to variable.
  73874. [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
  73875. [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
  73876. [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
  73877. [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
  73878. include.
  73879. [generic sys/param.h] (sys/param.h-includes): Remove variable.
  73880. [generic sys/param.h] (sys/param.h-includes): Remove rule.
  73881. [generic sys/param.h] ($(addprefix
  73882. $(common-objpfx),$(sys/param.h-includes))): Likewise.
  73883. [generic sys/param.h] (common-generated): Do not append to
  73884. variable.
  73885. [generic sys/param.h] (sysdep_headers): Likewise.
  73886. [generic bits/errno.h] (before-compile): Do not append to
  73887. variable.
  73888. [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
  73889. rule.
  73890. [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
  73891. [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
  73892. [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
  73893. [generic bits/errno.h] (common-generated): Do not append to
  73894. variable.
  73895. [generic bits/ioctls.h] (before-compile): Do not append to
  73896. variable.
  73897. [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
  73898. rule.
  73899. [generic bits/ioctls.h] (ioctl-includes): Remove variable.
  73900. [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
  73901. [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
  73902. rule.
  73903. [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
  73904. [generic bits/ioctls.h] (bits_termios.h): Remove variable.
  73905. [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
  73906. [generic bits/ioctls.h] (common-generated): Do not append to
  73907. variable.
  73908. [generic sys/syscall.h] (syscall.h): Remove variable.
  73909. [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
  73910. rule.
  73911. [generic sys/syscall.h] (before-compile): Do not append to
  73912. variable.
  73913. [generic sys/syscall.h] (common-generated): Likewise.
  73914. * sysdeps/unix/errnos-tmpl.c: Remove file.
  73915. * sysdeps/unix/errnos.awk: Likewise.
  73916. * sysdeps/unix/ioctls-tmpl.c: Likewise.
  73917. * sysdeps/unix/ioctls.awk: Likewise.
  73918. * sysdeps/unix/mk-local_lim.c: Likewise.
  73919. * sysdeps/unix/snarf-ioctls: Likewise.
  73920. 2012-03-19 Richard Henderson <rth@twiddle.net>
  73921. * sysdeps/i386/fpu/fenv_private.h: New file.
  73922. * sysdeps/i386/fpu/math_private.h: Use it.
  73923. (math_opt_barrier, math_force_eval): Remove.
  73924. (libc_feholdexcept_setround_53bit): Remove.
  73925. (libc_feupdateenv_53bit): Remove.
  73926. * sysdeps/x86_64/fpu/math_private.h: Likewise.
  73927. (math_opt_barrier, math_force_eval): Remove.
  73928. (libc_feholdexcept): Remove.
  73929. (libc_feholdexcept_setround): Remove.
  73930. (libc_fetestexcept, libc_fesetenv): Remove.
  73931. (libc_feupdateenv_test): Remove.
  73932. (libc_feupdateenv, libc_feholdsetround): Remove.
  73933. (libc_feresetround): Remove.
  73934. * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
  73935. * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
  73936. * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
  73937. (libc_feupdateenv_test, libc_feupdateenv_testf): New.
  73938. (libc_feupdateenv_testl): New.
  73939. * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
  73940. (libc_feupdateenv_testf): New.
  73941. (libc_feupdateenv): Use libc_feupdateenv_test.
  73942. * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
  73943. * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
  73944. * sysdeps/generic/math_private.h (libc_feholdsetround): New.
  73945. (libc_feholdsetroundf, libc_feholdsetroundl): New.
  73946. (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
  73947. (libc_feresetround_noex): New.
  73948. (libc_feresetround_noexf): New.
  73949. (libc_feresetround_noexl): New.
  73950. (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
  73951. (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
  73952. (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
  73953. * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
  73954. SET_RESTORE_ROUND.
  73955. * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
  73956. * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
  73957. (__cos): Likewise.
  73958. * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
  73959. * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
  73960. SET_RESTORE_ROUND_NOEX.
  73961. * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
  73962. SET_RESTORE_ROUND_NOEXF.
  73963. * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
  73964. * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
  73965. (libc_feholdsetroundf): New.
  73966. (libc_feresetround, libc_feresetroundf): New.
  73967. * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
  73968. (libc_feholdexcept_setround_53bit): Convert from macro to function.
  73969. (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
  73970. * sysdeps/generic/math_private.h: Include <fenv.h>.
  73971. (default_libc_feholdexcept): New.
  73972. (default_libc_feholdexcept_setround): New.
  73973. (default_libc_fesetenv, default_libc_feupdateenv): New.
  73974. (libc_feholdexcept): Only define if undefined.
  73975. (libc_feholdexceptf, libc_feholdexceptl): Likewise.
  73976. (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
  73977. (libc_feholdexcept_setroundl): Likewise.
  73978. (libc_feholdexcept_setround_53bit): Likewise.
  73979. (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
  73980. (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
  73981. (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
  73982. (libc_feupdateenv_53bit): Likewise.
  73983. * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
  73984. (libc_feholdexcept): Convert from macro to inline function.
  73985. (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
  73986. (libc_fesetenv, libc_feupdateenv): Likewise.
  73987. * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
  73988. not previously defined.
  73989. (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
  73990. (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
  73991. (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
  73992. * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
  73993. * sysdeps/ieee754/flt-32/math_private.h: New file.
  73994. * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
  73995. math_private.h below SET_FLOAT_WORD.
  73996. (__isnan, __isinf_ns, __finite): Remove.
  73997. (__isnanf, __isinf_nsf, __finitef): Remove.
  73998. 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
  73999. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  74000. 2012-03-17 David S. Miller <davem@davemloft.net>
  74001. [BZ #6471]
  74002. * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
  74003. for 2.16.
  74004. 2012-03-16 David S. Miller <davem@davemloft.net>
  74005. * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
  74006. warnings.
  74007. [BZ #6471]
  74008. * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
  74009. properly.
  74010. * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
  74011. * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
  74012. sysdep_routines when subdir is sysvipc.
  74013. * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
  74014. __getshmlba helper.
  74015. * sysdeps/sparc/fpu/libm-test/ulps: Update.
  74016. 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
  74017. * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
  74018. [__LP64__].
  74019. 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
  74020. * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
  74021. * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
  74022. (__lround): Renamed to ...
  74023. (__llround): This. Replace long int with long long int.
  74024. Define lround functions as aliases of llround functions.
  74025. * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
  74026. 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
  74027. * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
  74028. Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
  74029. adresses to uintptr_t. Replace "long int" and "unsigned long
  74030. int" with "greg_t" on va_arg.
  74031. 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
  74032. * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
  74033. * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
  74034. * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
  74035. Move e_machine check before EI_CLASS check. Handle x32
  74036. libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
  74037. * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
  74038. SKIP_EM_IA_64 and include
  74039. <sysdeps/unix/sysv/linux/i386/readelflib.c>.
  74040. * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
  74041. Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
  74042. (add_system_dir): New macro.
  74043. * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
  74044. (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
  74045. 2012-03-16 Joseph Myers <joseph@codesourcery.com>
  74046. [BZ #2551]
  74047. [BZ #2552]
  74048. [BZ #2553]
  74049. [BZ #2554]
  74050. [BZ #2562]
  74051. [BZ #2563]
  74052. [BZ #2565]
  74053. [BZ #2566]
  74054. [BZ #2576]
  74055. * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
  74056. (y0): Likewise.
  74057. * math/w_j0f.c (j0f): Likewise.
  74058. (y0f): Likewise.
  74059. * math/w_j0l.c (__j0l): Likewise.
  74060. (__y0l): Likewise.
  74061. * math/w_j1.c (j1): Likewise.
  74062. (y1): Likewise.
  74063. * math/w_j1f.c (j1f): Likewise.
  74064. (y1f): Likewise.
  74065. * math/w_j1l.c (__j1l): Likewise.
  74066. (__y1l): Likewise.
  74067. * math/w_jn.c (jn): Likewise.
  74068. (yn): Likewise.
  74069. * math/w_jnf.c (jnf): Likewise.
  74070. (ynf): Likewise.
  74071. * math/w_jnl.c (__jnl): Likewise.
  74072. (__ynl): Likewise.
  74073. * math/libm-test.inc (j0_test): Add more tests.
  74074. (j1_test): Likewise.
  74075. (jn_test): Likewise. Add trailing semicolon to existing test.
  74076. (y0_test): Likewise.
  74077. (y1_test): Likewise.
  74078. * sysdeps/i386/fpu/libm-test-ulps: Update.
  74079. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  74080. [BZ #13851]
  74081. [BZ #13854]
  74082. * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
  74083. libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
  74084. * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
  74085. * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
  74086. (__tanl): Set errno for infinite argument.
  74087. * sysdeps/i386/fpu/mptan.c: Remove.
  74088. * sysdeps/i386/fpu/s_tan.S: Likewise.
  74089. * sysdeps/i386/fpu/s_tanl.S: Likewise.
  74090. * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
  74091. * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
  74092. * math/libm-test.inc (tan_test): Add more tests and enable more
  74093. tests for double and long double.
  74094. * sysdeps/i386/fpu/libm-test-ulps: Update.
  74095. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  74096. 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
  74097. * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
  74098. (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
  74099. 2012-03-16 Roland McGrath <roland@hack.frob.com>
  74100. * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
  74101. * configure.in: Use it for both main tree and add-ons.
  74102. * configure: Regenerated.
  74103. 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
  74104. * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
  74105. 2012-03-16 Joseph Myers <joseph@codesourcery.com>
  74106. * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
  74107. in comment.
  74108. [BZ #13851]
  74109. * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
  74110. * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
  74111. * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
  74112. * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
  74113. * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
  74114. infinite argument.
  74115. * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
  74116. * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
  74117. != 0 for prec == 2.
  74118. * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
  74119. * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
  74120. * sysdeps/i386/fpu/s_cosl.S: Likewise.
  74121. * sysdeps/i386/fpu/s_sincosl.S: Likewise.
  74122. * sysdeps/i386/fpu/s_sinl.S: Likewise.
  74123. * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
  74124. * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
  74125. * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
  74126. * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
  74127. * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
  74128. * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
  74129. * math/libm-test.inc (cos_test): Add more tests and enable more
  74130. tests for long double.
  74131. (sin_test): Likewise.
  74132. (sincos_test): Likewise.
  74133. * sysdeps/i386/fpu/libm-test-ulps: Update.
  74134. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  74135. 2012-03-16 David S. Miller <davem@davemloft.net>
  74136. * sysdeps/sparc/fpu/math_private.h: New file.
  74137. 2012-03-15 David S. Miller <davem@davemloft.net>
  74138. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
  74139. file.
  74140. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
  74141. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
  74142. file.
  74143. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
  74144. * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
  74145. * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
  74146. * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
  74147. * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
  74148. * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
  74149. sysdep routines.
  74150. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
  74151. * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
  74152. * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
  74153. * sysdeps/sparc/sparc-ifunc.h: New file.
  74154. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
  74155. sparc-ifunc.h
  74156. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
  74157. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
  74158. Likewise.
  74159. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
  74160. Likewise.
  74161. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
  74162. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
  74163. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
  74164. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
  74165. Likewise.
  74166. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
  74167. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
  74168. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
  74169. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
  74170. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
  74171. Likewise.
  74172. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
  74173. Likewise.
  74174. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
  74175. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
  74176. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
  74177. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
  74178. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
  74179. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
  74180. * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
  74181. * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
  74182. * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
  74183. * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
  74184. * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
  74185. * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
  74186. * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
  74187. * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
  74188. * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
  74189. * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
  74190. * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
  74191. * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
  74192. * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
  74193. * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
  74194. * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
  74195. * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
  74196. * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
  74197. * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
  74198. 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
  74199. * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
  74200. scaling.
  74201. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  74202. 2012-03-15 Andreas Jaeger <aj@suse.de>
  74203. [BZ #13852]
  74204. * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
  74205. ieee754/flt-32 implementation for sin, cos and sincos.
  74206. * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
  74207. * sysdeps/i386/fpu/s_cosf.S: Likewise.
  74208. * sysdeps/i386/fpu/s_sincosf.S: Likewise.
  74209. * sysdeps/i386/fpu/s_sinf.S: Likewise.
  74210. * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
  74211. ieee754/flt-32 implementation for tan.
  74212. * math/libm-test.inc (cos_test): Enable some large input tests for
  74213. float as well
  74214. (sin_test): Likewise.
  74215. (sincos_test): Likewise.
  74216. (tan_test): Add tests for large input.
  74217. * sysdeps/i386/fpu/libm-test-ulps: Update.
  74218. 2012-03-15 Andreas Jaeger <aj@suse.de>
  74219. [BZ #13658]
  74220. * math/libm-test.inc (cos_test): Add more test cases.
  74221. (sin_test): Likewise.
  74222. (sincos_test): Likewise.
  74223. 2012-03-15 Andreas Jaeger <aj@suse.de>
  74224. [BZ #13837]
  74225. * math/libm-test.inc (cos_test): Add a test case for large input
  74226. value.
  74227. (sin_test): Likewise.
  74228. (sincos_test): Likewise.
  74229. 2012-03-15 Andreas Jaeger <aj@suse.de>
  74230. Joseph Myers <joseph@codesourcery.com>
  74231. [BZ #13658]
  74232. * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
  74233. x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
  74234. * sysdeps/i386/fpu/branred.c: Likewise.
  74235. * sysdeps/i386/fpu/dosincos.c: Likewise.
  74236. * sysdeps/i386/fpu/mpa.c: Likewise.
  74237. * sysdeps/i386/fpu/s_cos.S: Likewise.
  74238. * sysdeps/i386/fpu/s_sin.S: Likewise.
  74239. * sysdeps/i386/fpu/s_sincos.S: Likewise.
  74240. * sysdeps/i386/fpu/sincos32.c: Likewise.
  74241. * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
  74242. Define.
  74243. (libc_feupdateenv_53bit): Define.
  74244. * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
  74245. Define.
  74246. (libc_feupdateenv_53bit): Define.
  74247. * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
  74248. 53 bit (without extend i386 double precision).
  74249. * math/libm-test.inc (sincos_test): Add tests for large input.
  74250. (sin): Likewise.
  74251. (cos): Likewise.
  74252. * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
  74253. 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
  74254. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  74255. 2012-03-15 David S. Miller <davem@davemloft.net>
  74256. * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
  74257. * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
  74258. * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
  74259. * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
  74260. * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
  74261. * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
  74262. * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
  74263. * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
  74264. * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
  74265. * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
  74266. * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
  74267. * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
  74268. * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
  74269. * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
  74270. * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
  74271. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
  74272. file.
  74273. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
  74274. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
  74275. file.
  74276. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
  74277. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
  74278. file.
  74279. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
  74280. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
  74281. file.
  74282. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
  74283. * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
  74284. fmin/fmax sysdep routines.
  74285. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
  74286. 2012-03-14 David S. Miller <davem@davemloft.net>
  74287. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
  74288. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
  74289. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
  74290. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
  74291. * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
  74292. * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
  74293. * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
  74294. * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
  74295. * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
  74296. * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
  74297. * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
  74298. * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
  74299. * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
  74300. * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
  74301. * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
  74302. * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
  74303. * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
  74304. * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
  74305. * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
  74306. * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
  74307. * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
  74308. * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
  74309. * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
  74310. * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
  74311. * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
  74312. * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
  74313. * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
  74314. * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
  74315. * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
  74316. routines.
  74317. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
  74318. file.
  74319. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
  74320. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
  74321. file.
  74322. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
  74323. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
  74324. file.
  74325. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
  74326. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
  74327. file.
  74328. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
  74329. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
  74330. file.
  74331. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
  74332. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
  74333. file.
  74334. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
  74335. file.
  74336. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
  74337. file.
  74338. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
  74339. file.
  74340. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
  74341. New file.
  74342. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
  74343. file.
  74344. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
  74345. file.
  74346. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
  74347. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
  74348. file.
  74349. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
  74350. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
  74351. file.
  74352. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
  74353. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
  74354. file.
  74355. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
  74356. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
  74357. VIS3 routines.
  74358. * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
  74359. New file.
  74360. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  74361. * sysdeps/sparc/configure.in: New file.
  74362. * sysdeps/sparc/configure: Generate.
  74363. * configure.in (libc_cv_sparc_as_vis3): Substitute.
  74364. * configure: Regenerate.
  74365. * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
  74366. * config.make.in (have-as-vis3): New.
  74367. * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
  74368. available use -Av9d instead of -Av9a.
  74369. * sysdeps/sparc/sparc64/Makefile: Likewise.
  74370. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
  74371. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
  74372. New file.
  74373. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
  74374. file.
  74375. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
  74376. New file.
  74377. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
  74378. file.
  74379. * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
  74380. * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
  74381. * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
  74382. * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
  74383. * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
  74384. * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
  74385. fzeros/fnegs to load 0x80000000 into a float register instead of
  74386. using the stack.
  74387. * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
  74388. 2012-03-14 Joseph Myers <joseph@codesourcery.com>
  74389. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
  74390. bits/syscall.h.
  74391. ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
  74392. ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
  74393. ($(inst_includedir)/bits/syscall.h): Remove rule.
  74394. ($(objpfx)bits/syscall.d): Include instead of
  74395. $(objpfx)syscall-list.d.
  74396. (generated): Change syscall-list.h and syscall-list.d to
  74397. bits/syscall.h and bits/syscall.d.
  74398. 2012-03-14 Roland McGrath <roland@hack.frob.com>
  74399. [BZ #13846]
  74400. * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
  74401. 2012-03-14 Joseph Myers <joseph@codesourcery.com>
  74402. [BZ #13841]
  74403. * math/s_csqrt.c: Include <float.h>.
  74404. (__csqrt): Scale large or subnormal inputs.
  74405. * math/s_csqrtf.c: Likewise.
  74406. * math/s_csqrtl.c: Likewise.
  74407. * math/libm-test.inc (csqrt_test): Add more tests.
  74408. * sysdeps/i386/fpu/libm-test-ulps: Update.
  74409. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  74410. [BZ #13840]
  74411. * math/libm-test.inc (hypot_test): Add more tests.
  74412. 2012-03-13 David S. Miller <davem@davemloft.net>
  74413. [BZ #13840]
  74414. * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
  74415. double-precision for the calculation instead of scaling.
  74416. 2012-03-13 Joseph Myers <joseph@codesourcery.com>
  74417. * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
  74418. manipulate bits before adding and subtracting TWO52[sx].
  74419. * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
  74420. * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
  74421. Likewise.
  74422. * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
  74423. 2012-03-13 David S. Miller <davem@davemloft.net>
  74424. * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
  74425. * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
  74426. * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
  74427. rtld-global-offsets.h
  74428. * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
  74429. * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
  74430. large parameters.
  74431. * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
  74432. * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
  74433. 'err' in the ifdef scope in which it is actually used.
  74434. * nss/nss_db/db-init.c: Include string.h
  74435. 2012-03-12 David S. Miller <davem@davemloft.net>
  74436. * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
  74437. masking out of the most significant byte of random value used.
  74438. * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
  74439. Fix coding style in previous change.
  74440. * sysdeps/unix/sysv/linux/kernel-features.h
  74441. (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
  74442. (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
  74443. expression.
  74444. (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
  74445. later.
  74446. 2012-03-11 David S. Miller <davem@davemloft.net>
  74447. * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
  74448. (__makecontext): Fix signedness of pointer casts setting up 'sp'.
  74449. * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
  74450. for 'resultvar' otherwise things get truncated on 64-bit.
  74451. * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
  74452. Fix masking out of the most significant byte of random value used.
  74453. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  74454. 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
  74455. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  74456. 2012-03-09 David S. Miller <davem@davemloft.net>
  74457. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
  74458. variables with appropriate CPP guards.
  74459. * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
  74460. from the frame pointer, not the stack pointer. Correct layout
  74461. comments. Fix test on resulting framesize and the management of
  74462. the outregs buffer for pltexit. Preserve floating point return
  74463. values across _dl_call_pltexit call.
  74464. * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
  74465. framesize and the management of the outregs buffer for pltexit.
  74466. Preserve floating point return values across _dl_call_pltexit
  74467. call.
  74468. * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
  74469. (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
  74470. (la_sparc64_gnu_pltexit): New functions.
  74471. (print_exit): Fix format string for return register value.
  74472. 2012-03-10 Joseph Myers <joseph@codesourcery.com>
  74473. * sunrpc/Makefile (others): Add rpcgen.
  74474. ($(objpfx)rpcgen): Remove special build rule and dependency on
  74475. libc.
  74476. * sunrpc/rpcgen.c: New file.
  74477. 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
  74478. [BZ #13673]
  74479. * posix/bug-regex33.c: Replace FSF snail mail address with URL.
  74480. * stdio-common/bug-vfprintf-nargs.c: Likewise.
  74481. * sysdeps/i386/crti.S: Likewise.
  74482. * sysdeps/i386/crtn.S: Likewise.
  74483. * sysdeps/powerpc/powerpc32/crti.S: Likewise.
  74484. * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
  74485. * sysdeps/powerpc/powerpc64/crti.S: Likewise.
  74486. * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
  74487. * sysdeps/sh/crti.S: Likewise.
  74488. * sysdeps/sh/crtn.S: Likewise.
  74489. * sysdeps/x86_64/fpu/e_expf.S: Likewise.
  74490. [BZ #13673]
  74491. * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
  74492. with URL.
  74493. * locale/programs/locfile-kw.gperf: Likewise.
  74494. * locale/programs/charmap-kw.h: Regenerated.
  74495. * locale/programs/locfile-kw.h: Likewise.
  74496. [BZ #13673]
  74497. * intl/plural.y: Replace FSF snail mail address with URL.
  74498. * intl/plural.c: Regenerated.
  74499. 2012-03-09 Richard Henderson <rth@twiddle.net>
  74500. * include/math_private.h: Remove file.
  74501. * math/math_private.h: Move file ...
  74502. * sysdeps/generic/math_private.h: ... here.
  74503. * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
  74504. * sysdeps/powerpc/fpu/math_private.h: Likewise.
  74505. * sysdeps/x86_64/fpu/math_private.h: Likewise.
  74506. * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
  74507. and <math_private.h>.
  74508. * sysdeps/i386/fpu/s_isinfl.c: Likewise.
  74509. * sysdeps/i386/fpu/s_isnanl.c: Likewise.
  74510. * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
  74511. * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
  74512. * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
  74513. * sysdeps/ieee754/dbl-64/branred.c: Likewise.
  74514. * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
  74515. * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
  74516. * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
  74517. * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
  74518. * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
  74519. * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
  74520. * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
  74521. * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
  74522. * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
  74523. * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
  74524. * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
  74525. * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
  74526. * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
  74527. * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
  74528. * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
  74529. * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
  74530. * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
  74531. * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
  74532. * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
  74533. * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
  74534. * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
  74535. * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
  74536. * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
  74537. * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
  74538. * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
  74539. * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
  74540. * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
  74541. * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
  74542. * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
  74543. * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
  74544. * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
  74545. * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
  74546. * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
  74547. * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
  74548. * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
  74549. * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
  74550. * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
  74551. * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
  74552. * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
  74553. * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
  74554. * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
  74555. * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
  74556. * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
  74557. * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
  74558. * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
  74559. * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
  74560. * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
  74561. * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
  74562. * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
  74563. * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
  74564. * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
  74565. * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
  74566. * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
  74567. * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
  74568. * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
  74569. * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
  74570. * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
  74571. * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
  74572. * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
  74573. * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
  74574. * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
  74575. * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
  74576. * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
  74577. * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
  74578. * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
  74579. * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
  74580. * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
  74581. * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
  74582. * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
  74583. * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
  74584. * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
  74585. * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
  74586. * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
  74587. * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
  74588. * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
  74589. * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
  74590. * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
  74591. * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
  74592. * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
  74593. * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
  74594. * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
  74595. * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
  74596. * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
  74597. * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
  74598. * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
  74599. * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
  74600. * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
  74601. * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
  74602. * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
  74603. * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
  74604. * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
  74605. * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
  74606. * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
  74607. * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
  74608. * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
  74609. * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
  74610. * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
  74611. * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
  74612. * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
  74613. * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
  74614. * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
  74615. * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
  74616. * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
  74617. * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
  74618. * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
  74619. * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
  74620. * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
  74621. * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
  74622. * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
  74623. * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
  74624. * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
  74625. * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
  74626. * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
  74627. * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
  74628. * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
  74629. * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
  74630. * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
  74631. * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
  74632. * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
  74633. * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
  74634. * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
  74635. * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
  74636. * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
  74637. * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
  74638. * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
  74639. * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
  74640. * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
  74641. * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
  74642. * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
  74643. * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
  74644. * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
  74645. * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
  74646. * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
  74647. * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
  74648. * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
  74649. * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
  74650. * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
  74651. * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
  74652. * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
  74653. * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
  74654. * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
  74655. * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
  74656. * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
  74657. * sysdeps/ieee754/k_standard.c: Likewise.
  74658. * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
  74659. * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
  74660. * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
  74661. * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
  74662. * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
  74663. * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
  74664. * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
  74665. * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
  74666. * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
  74667. * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
  74668. * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
  74669. * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
  74670. * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
  74671. * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
  74672. * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
  74673. * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
  74674. * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
  74675. * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
  74676. * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
  74677. * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
  74678. * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
  74679. * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
  74680. * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
  74681. * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
  74682. * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
  74683. * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
  74684. * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
  74685. * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
  74686. * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
  74687. * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
  74688. * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
  74689. * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
  74690. * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
  74691. * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
  74692. * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
  74693. * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
  74694. * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
  74695. * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
  74696. * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
  74697. * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
  74698. * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
  74699. * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
  74700. * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
  74701. * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
  74702. * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
  74703. * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
  74704. * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
  74705. * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
  74706. * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
  74707. * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
  74708. * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
  74709. * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
  74710. * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
  74711. * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
  74712. * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
  74713. * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
  74714. * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
  74715. * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
  74716. * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
  74717. * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
  74718. * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
  74719. * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
  74720. * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
  74721. * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
  74722. * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
  74723. * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
  74724. * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
  74725. * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
  74726. * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
  74727. * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
  74728. * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
  74729. * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
  74730. * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
  74731. * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
  74732. * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
  74733. * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
  74734. * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
  74735. * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
  74736. * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
  74737. * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
  74738. * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
  74739. * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
  74740. * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
  74741. * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
  74742. * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
  74743. * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
  74744. * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
  74745. * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
  74746. * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
  74747. * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
  74748. * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
  74749. * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
  74750. * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
  74751. * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
  74752. * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
  74753. * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
  74754. * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
  74755. * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
  74756. * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
  74757. * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
  74758. * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
  74759. * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
  74760. * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
  74761. * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
  74762. * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
  74763. * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
  74764. * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
  74765. * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
  74766. * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
  74767. * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
  74768. * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
  74769. * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
  74770. * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
  74771. * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
  74772. * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
  74773. * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
  74774. * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
  74775. * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
  74776. * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
  74777. * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
  74778. * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
  74779. * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
  74780. * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
  74781. * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
  74782. * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
  74783. * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
  74784. * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
  74785. * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
  74786. * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
  74787. * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
  74788. * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
  74789. * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
  74790. * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
  74791. * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
  74792. * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
  74793. * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
  74794. * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
  74795. * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
  74796. * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
  74797. * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
  74798. * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
  74799. * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
  74800. * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
  74801. * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
  74802. * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
  74803. * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
  74804. * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
  74805. * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
  74806. * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
  74807. * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
  74808. * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
  74809. * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
  74810. * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
  74811. * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
  74812. * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
  74813. * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
  74814. * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
  74815. * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
  74816. * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
  74817. * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
  74818. * sysdeps/ieee754/s_lib_version.c: Likewise.
  74819. * sysdeps/ieee754/s_matherr.c: Likewise.
  74820. * sysdeps/ieee754/s_signgam.c: Likewise.
  74821. * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
  74822. * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
  74823. * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
  74824. * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
  74825. * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
  74826. * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
  74827. * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
  74828. * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
  74829. * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
  74830. * sysdeps/powerpc/fpu/s_rint.c: Likewise.
  74831. * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
  74832. * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
  74833. * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
  74834. * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
  74835. * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
  74836. * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
  74837. * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
  74838. * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
  74839. * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
  74840. * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
  74841. * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
  74842. 2012-03-09 Joseph Myers <joseph@codesourcery.com>
  74843. * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
  74844. * sunrpc/rpc_main.c: Likewise.
  74845. * sunrpc/rpc_svcout.c: Likewise.
  74846. 2012-03-09 David S. Miller <davem@davemloft.net>
  74847. * include/math_private.h: New file.
  74848. 2012-03-09 Joseph Myers <joseph@codesourcery.com>
  74849. * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
  74850. * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
  74851. * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
  74852. from <bits/socket_type.h>.
  74853. (enum __socket_type): Don't define here.
  74854. * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
  74855. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
  74856. bits/socket_type.h.
  74857. [BZ #13566]
  74858. * libio/stdio.h (gets): Always declare for C++ up to C++11 without
  74859. checking __USE_GNU.
  74860. * Makerules ($(inst_includedir)/%.h): New rule.
  74861. * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
  74862. (install-others): Remove variable setting.
  74863. ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
  74864. 2012-03-08 Richard Henderson <rth@twiddle.net>
  74865. * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
  74866. from macro to inline function; merge with the
  74867. !__LIBC_INTERNAL_MATH_INLINES version.
  74868. (__ieee754_sqrtf): Likewise.
  74869. * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
  74870. to inline function.
  74871. (__rintf, __floor, __floorf): Likewise.
  74872. * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
  74873. macro to inline function.
  74874. (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
  74875. * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
  74876. not <math/math_private.h>.
  74877. 2012-03-08 David S. Miller <davem@davemloft.net>
  74878. * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
  74879. copyright year.
  74880. * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
  74881. 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
  74882. * resolv/gai_misc.c (handle_requests): Fix struct timespec
  74883. normalization.
  74884. * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
  74885. * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
  74886. 2012-03-08 Ulrich Drepper <drepper@gmail.com>
  74887. * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
  74888. be defined individually, they must be defined as a block. Define
  74889. S for printing a string instead of hidint the different by using a
  74890. macro for adding the 'l'.
  74891. * stdio-common/tst-fphex-wide.c: Adjust.
  74892. 2012-03-07 Marek Polacek <polacek@redhat.com>
  74893. * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
  74894. 2012-03-08 Marek Polacek <polacek@redhat.com>
  74895. [BZ #13806]
  74896. * stdio-common/Makefile (tests): Add tst-fphex-wide.
  74897. * stdio-common/tst-fphex.c: Define a few macros to make the
  74898. test reusable. Use them.
  74899. * stdio-common/tst-fphex-wide.c: New file.
  74900. 2012-03-08 Joseph Myers <joseph@codesourcery.com>
  74901. [BZ #6911]
  74902. * manual/macros.texi (gnusystems): New macro.
  74903. (nongnusystems): Likewise.
  74904. (gnulinuxhurdsystems): Likewise.
  74905. (gnuhurdsystems): Likewise..
  74906. (gnulinuxsystems): Likewise.
  74907. * manual/charset.texi: Use new macros or @theglibc{} to refer to
  74908. variants of the GNU system, not "GNU system".
  74909. * manual/conf.texi: Likewise.
  74910. * manual/errno.texi: Likewise. Update example of errno macro
  74911. expansion.
  74912. * manual/filesys.texi: Likewise.
  74913. (getumask): Document as specific to GNU/Hurd.
  74914. * manual/install.texi: Likewise. Reword some references to
  74915. GNU/Linux.
  74916. * manual/intro.texi: Likewise.
  74917. * manual/io.texi: Likewise.
  74918. (File Name Portability): Detail which constraints are inapplicable
  74919. to all GNU systems and which are only inapplicable to GNU/Hurd.
  74920. * manual/job.texi: Likewise.
  74921. * manual/llio.texi: Likewise.
  74922. (O_NOCTTY): Document as present on GNU/Linux.
  74923. * manual/maint.texi: Likewise.
  74924. * manual/memory.texi: Likewise.
  74925. * manual/pattern.texi: Likewise.
  74926. * manual/pipe.texi: Likewise.
  74927. * manual/process.texi: Likewise.
  74928. * manual/resource.texi: Likewise.
  74929. (RUSAGE_CHILDREN): Remove statement about specifying a particular
  74930. child on GNU/Hurd.
  74931. * manual/setjmp.texi: Likewise.
  74932. * manual/signal.texi: Likewise.
  74933. * manual/startup.texi: Likewise.
  74934. * manual/stdio.texi: Likewise.
  74935. * manual/terminal.texi: Likewise.
  74936. (ONLCR): Document as POSIX.
  74937. (OXTABS): Document availability on GNU/Linux as XTABS.
  74938. (ONOEOT): Document availability separately from other bits.
  74939. (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
  74940. * manual/time.texi: Likewise.
  74941. * manual/users.texi: Likewise.
  74942. * INSTALL: Regenerated.
  74943. * sysdeps/gnu/errlist.c: Regenerated.
  74944. * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
  74945. * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
  74946. (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
  74947. puts.
  74948. * configure: Regenerated.
  74949. 2012-03-07 Joseph Myers <joseph@codesourcery.com>
  74950. * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
  74951. default includes instead of AC_HEADER_CHECK.
  74952. * sysdeps/i386/configure: Regenerated.
  74953. [BZ #10716]
  74954. * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
  74955. * math/s_cacoshf.c (__cacoshf): Likewise.
  74956. * math/s_cacoshl.c (__cacoshl): Likewise.
  74957. * math/s_casinh.c (__casinh): Set signs of result from argument.
  74958. * math/s_casinhf.c (__casinhf): Likewise.
  74959. * math/s_casinhl.c (__casinhl): Likewise.
  74960. * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
  74961. (casinh_test): Add more tests.
  74962. * sysdeps/i386/fpu/libm-test-ulps: Update.
  74963. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  74964. 2012-03-07 Ulrich Drepper <drepper@gmail.com>
  74965. * po/zh_TW.po: Update from translation team.
  74966. * login/Makefile (distribute): Remove variable.
  74967. * catgets/Makefile: Likewise.
  74968. * mach/Makefile: Likewise.
  74969. * malloc/Makefile: Likewise.
  74970. * misc/Makefile: Likewise.
  74971. * iconv/Makefile: Likewise.
  74972. * nscd/Makefile: Likewise.
  74973. * hurd/Makefile: Likewise.
  74974. * manual/Makefile: Likewise.
  74975. * locale/Makefile: Likewise.
  74976. * intl/Makefile: Likewise.
  74977. * conform/Makefile: Likewise.
  74978. * nss/Makefile: Likewise.
  74979. * time/Makefile: Likewise.
  74980. * soft-fp/Makefile: Likewise.
  74981. * dirent/Makefile: Likewise.
  74982. * gmon/Makefile: Likewise.
  74983. * po/Makefile: Likewise.
  74984. * rt/Makefile: Likewise.
  74985. * socket/Makefile: Likewise.
  74986. * math/Makefile: Likewise.
  74987. * signal/Makefile: Likewise.
  74988. * debug/Makefile: Likewise.
  74989. * elf/Makefile: Likewise.
  74990. * timezone/Makefile: Likewise.
  74991. * stdlib/Makefile: Likewise.
  74992. * iconvdata/Makefile: Likewise.
  74993. * sunrpc/Makefile: Likewise.
  74994. * io/Makefile: Likewise.
  74995. * argp/Makefile: Likewise.
  74996. * inet/Makefile: Likewise.
  74997. * hesiod/Makefile: Likewise.
  74998. * grp/Makefile: Likewise.
  74999. * csu/Makefile: Likewise.
  75000. * wctype/Makefile: Likewise.
  75001. * crypt/Makefile: Likewise.
  75002. * libio/Makefile: Likewise.
  75003. * string/Makefile: Likewise.
  75004. * nis/Makefile: Likewise.
  75005. * resolv/Makefile: Likewise.
  75006. * stdio-common/Makefile: Likewise.
  75007. * wcsmbs/Makefile: Likewise.
  75008. * dlfcn/Makefile: Likewise.
  75009. * posix/Makefile: Likewise.
  75010. [BZ #6959]
  75011. * timezone/Makefile: Don't install timezone files, just the programs
  75012. and scripts.
  75013. 2012-03-06 Ulrich Drepper <drepper@gmail.com>
  75014. * nss/databases.def: Add missing gshadow entry.
  75015. * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
  75016. 2012-03-06 Marek Polacek <polacek@redhat.com>
  75017. [BZ #13726]
  75018. * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
  75019. * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
  75020. * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
  75021. * stdio-common/tst-long-dbl-fphex.c: New file.
  75022. 2012-03-06 David S. Miller <davem@davemloft.net>
  75023. * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
  75024. (set_obp_int): New function.
  75025. (get_obp_int): New function.
  75026. (__get_clockfreq_via_dev_openprom): Likewise.
  75027. * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
  75028. Avoid unused variable warnings on 'val' and use builtin_expect.
  75029. (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
  75030. __builtin_expect.
  75031. (INLINE_CLONE_SYSCALL): Likewise.
  75032. 2012-03-05 David S. Miller <davem@davemloft.net>
  75033. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  75034. 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
  75035. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  75036. * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
  75037. only for |x| >= 40.
  75038. * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
  75039. 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
  75040. * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
  75041. Replace gettimeofday with __vdso_gettimeofday.
  75042. * sysdeps/unix/sysv/linux/x86_64/init-first.c
  75043. (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
  75044. __vdso_clock_gettime and __vdso_getcpu.
  75045. * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
  75046. time with __vdso_time.
  75047. 2012-03-05 Joseph Myers <joseph@codesourcery.com>
  75048. * manual/lang.texi (size_t): Note types to which size_t may be
  75049. equivalent with the GNU C Library, but do not describe when
  75050. differences between them are significant.
  75051. 2012-03-05 Andreas Jaeger <aj@suse.de>
  75052. * sysdeps/i386/fpu/libm-test-ulps: Update.
  75053. 2012-03-05 Joseph Myers <joseph@codesourcery.com>
  75054. [BZ #3976]
  75055. * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
  75056. (__ieee754_pow): Save and restore rounding mode and use
  75057. round-to-nearest for main computations.
  75058. * math/libm-test.inc (pow_test_tonearest): New function.
  75059. (pow_test_towardzero): Likewise.
  75060. (pow_test_downward): Likewise.
  75061. (pow_test_upward): Likewise.
  75062. (main): Call the new functions.
  75063. * sysdeps/i386/fpu/libm-test-ulps: Update.
  75064. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  75065. [BZ #3976]
  75066. * math/libm-test.inc (cosh_test_tonearest): New function.
  75067. (cosh_test_towardzero): Likewise.
  75068. (cosh_test_downward): Likewise.
  75069. (cosh_test_upward): Likewise.
  75070. (sinh_test_tonearest): Likewise.
  75071. (sinh_test_towardzero): Likewise.
  75072. (sinh_test_downward): Likewise.
  75073. (sinh_test_upward): Likewise.
  75074. (main): Call the new functions.
  75075. * sysdeps/i386/fpu/libm-test-ulps: Update.
  75076. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  75077. 2012-03-05 Tom de Vries <tom@codesourcery.com>
  75078. * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
  75079. default stack guard is set in last bytes.
  75080. * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
  75081. 2012-03-05 Kees Cook <keescook@chromium.org>
  75082. * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
  75083. [BZ #13656]
  75084. * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
  75085. possibly allocate from heap instead of stack.
  75086. * stdio-common/bug-vfprintf-nargs.c: New file.
  75087. * stdio-common/Makefile (tests): Add nargs overflow test.
  75088. 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
  75089. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  75090. 2012-03-03 Marek Polacek <polacek@redhat.com>
  75091. * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
  75092. * math/math_private.h: Likewise.
  75093. * stdlib/tst-strtod.c: Likewise.
  75094. * sysdeps/i386/i486/bits/atomic.h: Likewise.
  75095. * sysdeps/x86_64/bits/atomic.h: Likewise.
  75096. 2012-03-02 David S. Miller <davem@davemloft.net>
  75097. * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
  75098. * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
  75099. * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
  75100. * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
  75101. * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
  75102. * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
  75103. * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
  75104. * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
  75105. 2012-03-02 Roland McGrath <roland@hack.frob.com>
  75106. [BZ #13792]
  75107. * manual/examples/README: New file, says the example source files
  75108. can be used under GPL>=2.
  75109. * manual/Makefile (%.c.texi): Eat the leading part of the file until a
  75110. line containing just "*/".
  75111. * manual/examples/add.c: Add copyright header (GPL>=2).
  75112. * manual/examples/argp-ex1.c: Likewise.
  75113. * manual/examples/argp-ex2.c: Likewise.
  75114. * manual/examples/argp-ex3.c: Likewise.
  75115. * manual/examples/argp-ex4.c: Likewise.
  75116. * manual/examples/atexit.c: Likewise.
  75117. * manual/examples/db.c: Likewise.
  75118. * manual/examples/dir.c: Likewise.
  75119. * manual/examples/dir2.c: Likewise.
  75120. * manual/examples/execinfo.c: Likewise.
  75121. * manual/examples/filecli.c: Likewise.
  75122. * manual/examples/filesrv.c: Likewise.
  75123. * manual/examples/fmtmsgexpl.c: Likewise.
  75124. * manual/examples/genpass.c: Likewise.
  75125. * manual/examples/inetcli.c: Likewise.
  75126. * manual/examples/inetsrv.c: Likewise.
  75127. * manual/examples/isockad.c: Likewise.
  75128. * manual/examples/longopt.c: Likewise.
  75129. * manual/examples/memopen.c: Likewise.
  75130. * manual/examples/memstrm.c: Likewise.
  75131. * manual/examples/mkfsock.c: Likewise.
  75132. * manual/examples/mkisock.c: Likewise.
  75133. * manual/examples/mygetpass.c: Likewise.
  75134. * manual/examples/pipe.c: Likewise.
  75135. * manual/examples/popen.c: Likewise.
  75136. * manual/examples/rprintf.c: Likewise.
  75137. * manual/examples/search.c: Likewise.
  75138. * manual/examples/select.c: Likewise.
  75139. * manual/examples/setjmp.c: Likewise.
  75140. * manual/examples/sigh1.c: Likewise.
  75141. * manual/examples/sigusr.c: Likewise.
  75142. * manual/examples/stpcpy.c: Likewise.
  75143. * manual/examples/strdupa.c: Likewise.
  75144. * manual/examples/strftim.c: Likewise.
  75145. * manual/examples/strncat.c: Likewise.
  75146. * manual/examples/subopt.c: Likewise.
  75147. * manual/examples/swapcontext.c: Likewise.
  75148. * manual/examples/termios.c: Likewise.
  75149. * manual/examples/testopt.c: Likewise.
  75150. * manual/examples/testpass.c: Likewise.
  75151. * manual/examples/timeval_subtract.c: Likewise.
  75152. [BZ #13792]
  75153. * manual/time.texi (Elapsed Time): Move timeval_subtract example
  75154. function to ...
  75155. * manual/timeval_subtract.c.texi: ... here, new file.
  75156. 2012-03-02 David S. Miller <davem@davemloft.net>
  75157. * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
  75158. 2012-03-02 Joseph Myers <joseph@codesourcery.com>
  75159. [BZ #3976]
  75160. * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
  75161. (__sin): Save and restore rounding mode and use round-to-nearest
  75162. for all computations.
  75163. (__cos): Save and restore rounding mode and use round-to-nearest
  75164. for all computations.
  75165. * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
  75166. <fenv.h>.
  75167. (tan): Save and restore rounding mode and use round-to-nearest for
  75168. all computations.
  75169. * math/libm-test.inc (cos_test_tonearest): New function.
  75170. (cos_test_towardzero): Likewise.
  75171. (cos_test_downward): Likewise.
  75172. (cos_test_upward): Likewise.
  75173. (sin_test_tonearest): Likewise.
  75174. (sin_test_towardzero): Likewise.
  75175. (sin_test_downward): Likewise.
  75176. (sin_test_upward): Likewise.
  75177. (tan_test_tonearest): Likewise.
  75178. (tan_test_towardzero): Likewise.
  75179. (tan_test_downward): Likewise.
  75180. (tan_test_upward): Likewise.
  75181. (main): Call the new functions.
  75182. * sysdeps/i386/fpu/libm-test-ulps: Update.
  75183. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  75184. [BZ #10135]
  75185. * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
  75186. small n, then large n, before computing and testing k+n.
  75187. * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
  75188. * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
  75189. Likewise.
  75190. * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
  75191. Likewise.
  75192. * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
  75193. * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
  75194. * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
  75195. * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
  75196. * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
  75197. * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
  75198. * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
  75199. * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
  75200. * math/libm-test.inc (scalbn_test): Add more tests.
  75201. (scalbln_test): Likewise.
  75202. * manual/filesys.texi (mode_t): Describe constraints on size and
  75203. signedness, not exact equivalence to a particular type.
  75204. (ino_t): Likewise.
  75205. (ino64_t): Likewise.
  75206. (dev_t): Likewise.
  75207. (nlink_t): Likewise.
  75208. (blkcnt_t): Likewise.
  75209. (blkcnt64_t): Likewise.
  75210. * manual/llio.texi (off_t): Likewise.
  75211. [BZ #3976]
  75212. * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
  75213. (__ieee754_exp): Save and restore rounding mode and use
  75214. round-to-nearest for all computations.
  75215. * math/libm-test.inc (exp_test_tonearest): New function.
  75216. (exp_test_towardzero): Likewise.
  75217. (exp_test_downward): Likewise.
  75218. (exp_test_upward): Likewise.
  75219. (main): Call the new functions.
  75220. * sysdeps/i386/fpu/libm-test-ulps: Update.
  75221. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  75222. 2012-03-01 Chris Demetriou <cgd@google.com>
  75223. * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
  75224. have predictable order.
  75225. 2012-03-01 David S. Miller <davem@davemloft.net>
  75226. * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
  75227. * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
  75228. * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
  75229. * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
  75230. * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
  75231. * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
  75232. * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
  75233. * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
  75234. * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
  75235. * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
  75236. * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
  75237. * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
  75238. * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
  75239. * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
  75240. * sysdeps/sparc/fpu/libm-test-ulps: Update.
  75241. * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
  75242. * sysdeps/sparc/fpu/libm-test-ulps: to here.
  75243. * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
  75244. * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
  75245. * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
  75246. * sysdeps/sparc/sparc32/elf/start.S: Likewise.
  75247. * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
  75248. * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
  75249. * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
  75250. * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
  75251. * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
  75252. * sysdeps/sparc/sparc64/elf/start.S: Likewise.
  75253. * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
  75254. * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
  75255. * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
  75256. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
  75257. * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
  75258. * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
  75259. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
  75260. * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
  75261. * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
  75262. * sysdeps/sparc/elf/configure: Regenerated.
  75263. 2012-03-01 Joseph Myers <joseph@codesourcery.com>
  75264. * configure.in (AS, LD): Require binutils 2.20 or later.
  75265. * configure: Regenerated.
  75266. * manual/install.texi (Tools for Compilation): Give binutils 2.20
  75267. as required minimum version.
  75268. * INSTALL: Regenerated.
  75269. [BZ #2541]
  75270. [BZ #4108]
  75271. * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
  75272. before squaring exponent.
  75273. * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
  75274. bottom long double and 27 bits of top long double before squaring
  75275. exponent.
  75276. * math/libm-test.inc (erfc_test): Add more tests.
  75277. * sysdeps/i386/fpu/libm-test-ulps: Update.
  75278. * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
  75279. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  75280. 2012-03-01 Kai Tietz <ktietz@redhat.com>
  75281. * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
  75282. * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
  75283. containing bit-fields.
  75284. * soft-fp/extended.h (_FP_UNION_E): Likewise.
  75285. * soft-fp/single.h (_FP_UNION_S): Likewise.
  75286. * soft-fp/double.h (_FP_UNION_D): Likewise.
  75287. 2012-02-29 Joseph Myers <joseph@codesourcery.com>
  75288. [BZ #13786]
  75289. * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
  75290. not include ../strcmp.S.
  75291. [USE_AS_STRNCASECMP_L]: Likewise.
  75292. * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
  75293. (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
  75294. * sysdeps/i386/i686/multiarch/strncase_l-c.c
  75295. (__strncasecmp_l_ia32): Define as alias to
  75296. __strncasecmp_l_nonascii.
  75297. [BZ #5794]
  75298. * math/libm-test.inc (expm1_test): Add test for bug 5794.
  75299. * sysdeps/i386/fpu/libm-test-ulps: Update.
  75300. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  75301. * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
  75302. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  75303. 2012-02-29 Jeff Law <law@redhat.com>
  75304. * resolv/res_query.c (__libc_res_nquerydomain): Avoid
  75305. out of bounds read.
  75306. 2012-02-29 Marek Polacek <polacek@redhat.com>
  75307. [BZ #13706]
  75308. * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
  75309. * elf/Makefile: Add rules to run tst-unused-dep.out.
  75310. 2012-02-28 David S. Miller <davem@davemloft.net>
  75311. * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
  75312. * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
  75313. * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
  75314. * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
  75315. * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
  75316. * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
  75317. 2012-02-29 Joseph Myers <joseph@codesourcery.com>
  75318. * math/libm-test.inc (llround_test): Move one test from
  75319. lround_test. Use TEST_f_L in moved test.
  75320. (lround_test): Move misplaced test to llround_test. Add testcase
  75321. from bug 2561.
  75322. 2012-02-28 Ulrich Drepper <drepper@gmail.com>
  75323. * sysdeps/x86_64/fpu/e_expf.S: New file.
  75324. Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
  75325. 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
  75326. [BZ #13637]
  75327. * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
  75328. of remain_len that may cause incomplete multi-byte character and
  75329. false match.
  75330. * posix/bug-regex33.c: New file.
  75331. * posix/Makefile (tests): Add bug-regex33.
  75332. 2012-02-28 Joseph Myers <joseph@codesourcery.com>
  75333. * manual/macros.texi: New file.
  75334. * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
  75335. * manual/libc.texinfo: Include macros.texi.
  75336. * manual/creatute.texi: Likewise.
  75337. * manual/install.texi: Likewise.
  75338. * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
  75339. @glibcadj{} in references to the GNU C Library.
  75340. * manual/charset.texi: Likewise.
  75341. * manual/conf.texi: Likewise.
  75342. * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
  75343. when not using those macros.
  75344. * manual/creature.texi: Likewise.
  75345. * manual/crypt.texi: Likewise.
  75346. * manual/errno.texi: Likewise.
  75347. * manual/filesys.texi: Likewise.
  75348. * manual/header.texi: Likewise.
  75349. * manual/install.texi: Likewise.
  75350. * manual/intro.texi: Likewise.
  75351. * manual/io.texi: Likewise.
  75352. * manual/job.texi: Likewise.
  75353. * manual/lang.texi: Likewise.
  75354. * manual/libc.texiinfo: Likewise.
  75355. * manual/llio.texi: Likewise.
  75356. * manual/locale.texi: Likewise.
  75357. * manual/maint.texi: Likewise.
  75358. * manual/math.texi: Likewise.
  75359. * manual/memory.texi: Likewise.
  75360. * manual/message.texi: Likewise.
  75361. * manual/nss.texi: Likewise.
  75362. * manual/pattern.texi: Likewise.
  75363. * manual/process.texi: Likewise.
  75364. * manual/resource.texi: Likewise.
  75365. * manual/search.texi: Likewise.
  75366. * manual/setjmp.texi: Likewise.
  75367. * manual/signal.texi: Likewise.
  75368. * manual/socket.texi: Likewise.
  75369. * manual/startup.texi: Likewise.
  75370. * manual/stdio.texi: Likewise.
  75371. * manual/string.texi: Likewise.
  75372. * manual/sysinfo.texi: Likewise.
  75373. * manual/syslog.texi: Likewise.
  75374. * manual/terminal.texi: Likewise.
  75375. * manual/time.texi: Likewise.
  75376. * manual/users.texi: Likewise.
  75377. * INSTALL: Regenerated.
  75378. * NOTES: Regenerated.
  75379. * sysdeps/gnu/errlist.c: Regenerated.
  75380. 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
  75381. * include/dirent.h: Include <dirstream.h> before
  75382. <dirent/dirent.h>.
  75383. 2012-02-28 David S. Miller <davem@davemloft.net>
  75384. * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
  75385. * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
  75386. * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
  75387. * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
  75388. 2012-02-27 David S. Miller <davem@davemloft.net>
  75389. * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
  75390. * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
  75391. * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
  75392. * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
  75393. * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
  75394. frame pointer instead of stack pointer relative arg slot.
  75395. * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
  75396. * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
  75397. * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
  75398. 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
  75399. [BZ #3992]
  75400. * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
  75401. 2012-02-27 David S. Miller <davem@davemloft.net>
  75402. * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
  75403. * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
  75404. * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
  75405. * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
  75406. * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
  75407. * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
  75408. * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
  75409. * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
  75410. 2012-02-27 Joseph Myers <joseph@codesourcery.com>
  75411. * configure.in (CC): Restrict allowed GCC versions to 4.3 and
  75412. later. Allow versions 5-9.
  75413. * configure: Regenerated.
  75414. * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
  75415. required minimum version and 4.6 as recommended version. Do not
  75416. mention bugs in GCC 2.7 and 2.8.
  75417. * INSTALL: Regenerated.
  75418. 2012-02-27 David S. Miller <davem@davemloft.net>
  75419. * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
  75420. * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
  75421. * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
  75422. * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
  75423. * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
  75424. * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
  75425. * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
  75426. * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
  75427. * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
  75428. manipulate bits before adding and subtracting TWO112[sx].
  75429. * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
  75430. 2012-02-27 Roland McGrath <roland@hack.frob.com>
  75431. [BZ #13775]
  75432. * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
  75433. [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
  75434. * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
  75435. being in POSIX, because they are in 1003.1-2008.
  75436. * rt/tst-aio.c: Include <fcntl.h>.
  75437. * rt/tst-aio7.c: Likewise.
  75438. * rt/tst-aio64.c: Likewise.
  75439. * stdio-common/tst-fmemopen.c (main): Remove spurious const.
  75440. 2012-02-27 Joseph Myers <joseph@codesourcery.com>
  75441. * manual/install.texi (--with-headers): Describe headers as
  75442. interface headers, not private headers.
  75443. (Specific advice for GNU/Linux systems): Describe use of headers
  75444. from "make headers_install", not private headers from older
  75445. kernels.
  75446. * INSTALL: Regenerated.
  75447. * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
  75448. Change to 2.6.19.
  75449. * sysdeps/unix/sysv/linux/configure: Regenerated.
  75450. * manual/llio.texi (fclean): Remove documentation.
  75451. * manual/Makefile (libc-texi-generated): New variable. Include
  75452. version.texi.
  75453. (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
  75454. $(libc-texi-generated), not duplicated list of files.
  75455. (version.texi, stamp-version): New rules.
  75456. (realclean): Remove $(libc-texi-generated), not individual files
  75457. from that list. Do not remove dir-add.texinfo.
  75458. * manual/libc.texinfo: Comment out uses of edition numbers and
  75459. references to printed manual. Remove last-updated dates.
  75460. (EDITION): Comment out.
  75461. (ISBN): Likewise.
  75462. (VERSION, UPDATED): Remove.
  75463. (version.texi): Include.
  75464. 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
  75465. * sysdeps/posix/spawni.c: Include <signal.h>.
  75466. * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
  75467. * sysdeps/pthread/aio_fsync.c: Likewise.
  75468. 2012-02-26 Ulrich Drepper <drepper@gmail.com>
  75469. * conform/Makefile (tests): Run only when not cross-compiling and
  75470. when fast-check is not defined.
  75471. * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
  75472. * conform/data/limits.h-data: Fixes for POSIX2008.
  75473. * conform/run-conformtest.sh: Run all tests.
  75474. * include/arpa/inet.h: Changes to allow conformtest.pl to use the
  75475. headers.
  75476. * include/bits/dlfcn.h: Likewise.
  75477. * include/langinfo.h: Likewise.
  75478. * include/monetary.h: Likewise.
  75479. * include/sys/poll.h: Likewise.
  75480. * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
  75481. for __USE_GNU.
  75482. * posix/spawn.h: Define __need_sigset_t.
  75483. * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
  75484. * posix/unistd.h: Declare ctermid only for XPG before XPG6.
  75485. * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
  75486. to get sigevent_t only.
  75487. * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
  75488. only for __USE_GNU.
  75489. * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
  75490. * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
  75491. process_vm_writev only for __USE_GNU.
  75492. * termios/termios.h: Declare tcgetsid also for POSIX2008.
  75493. * conform/Makefile: For now ignore errors from run-conformtest.
  75494. * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
  75495. POSIX to avoid namespace pollution. Don't prepend headers.
  75496. * conform/data/aio.h-data: Fixes for POSIX testing.
  75497. * conform/data/fcntl.h-data: Likewise.
  75498. * conform/data/glob.h-data: Likewise.
  75499. * conform/data/grp.h-data: Likewise.
  75500. * conform/data/pthread.h-data: Likewise.
  75501. * conform/data/pwd.h-data: Likewise.
  75502. * conform/data/signal.h-data: Likewise.
  75503. * conform/data/spawn.h-data: Likewise.
  75504. * conform/data/stdio.h-data: Likewise.
  75505. * conform/data/stdlib.h-data: Likewise.
  75506. * conform/data/stropts.h-data: Likewise.
  75507. * conform/data/sys/mman.h-data: Likewise.
  75508. * conform/data/sys/stat.h-data: Likewise.
  75509. * conform/data/sys/types.h-data: Likewise.
  75510. * conform/data/sys/wait.h-data: Likewise.
  75511. * conform/data/time.h-data: Likewise.
  75512. * conform/data/unistd.h-data: Likewise.
  75513. * conform/data/utime.h-data: Likewise.
  75514. * io/sys/stat.h: fchmod was always in POSIX.
  75515. * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
  75516. * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
  75517. * rt/aio.h: Define __need_timespec before including <time.h>.
  75518. * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
  75519. struct. Add forward declaration of pthread_attr_t and use it in
  75520. sigevent.
  75521. * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
  75522. * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
  75523. * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
  75524. always remove CLK_TCK definition.
  75525. 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
  75526. * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
  75527. 2012-02-25 Ulrich Drepper <drepper@gmail.com>
  75528. * conform/run-conformtest.sh: New file.
  75529. * conform/Makefile: Run run-conformtest for tests.
  75530. * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
  75531. support.
  75532. * conform/data/uchar.h-data: New file.
  75533. * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
  75534. * conform/data/arpa/inet.h-data: Likewise.
  75535. * conform/data/assert.h-data: Likewise.
  75536. * conform/data/complex.h-data: Likewise.
  75537. * conform/data/cpio.h-data: Likewise.
  75538. * conform/data/ctype.h-data: Likewise.
  75539. * conform/data/dirent.h-data: Likewise.
  75540. * conform/data/dlfcn.h-data: Likewise.
  75541. * conform/data/errno.h-data: Likewise.
  75542. * conform/data/fcntl.h-data: Likewise.
  75543. * conform/data/float.h-data: Likewise.
  75544. * conform/data/fmtmsg.h-data: Likewise.
  75545. * conform/data/fnmatch.h-data: Likewise.
  75546. * conform/data/ftw.h-data: Likewise.
  75547. * conform/data/glob.h-data: Likewise.
  75548. * conform/data/grp.h-data: Likewise.
  75549. * conform/data/iconv.h-data: Likewise.
  75550. * conform/data/inttypes.h-data: Likewise.
  75551. * conform/data/langinfo.h-data: Likewise.
  75552. * conform/data/libgen.h-data: Likewise.
  75553. * conform/data/limits.h-data: Likewise.
  75554. * conform/data/locale.h-data: Likewise.
  75555. * conform/data/math.h-data: Likewise.
  75556. * conform/data/monetary.h-data: Likewise.
  75557. * conform/data/mqueue.h-data: Likewise.
  75558. * conform/data/ndbm.h-data: Likewise.
  75559. * conform/data/net/if.h-data: Likewise.
  75560. * conform/data/netdb.h-data: Likewise.
  75561. * conform/data/netinet/in.h-data: Likewise.
  75562. * conform/data/nl_types.h-data: Likewise.
  75563. * conform/data/poll.h-data: Likewise.
  75564. * conform/data/pthread.h-data: Likewise.
  75565. * conform/data/pwd.h-data: Likewise.
  75566. * conform/data/regex.h-data: Likewise.
  75567. * conform/data/sched.h-data: Likewise.
  75568. * conform/data/search.h-data: Likewise.
  75569. * conform/data/semaphore.h-data: Likewise.
  75570. * conform/data/setjmp.h-data: Likewise.
  75571. * conform/data/signal.h-data: Likewise.
  75572. * conform/data/spawn.h-data: Likewise.
  75573. * conform/data/stdarg.h-data: Likewise.
  75574. * conform/data/stdio.h-data: Likewise.
  75575. * conform/data/stdlib.h-data: Likewise.
  75576. * conform/data/string.h-data: Likewise.
  75577. * conform/data/strings.h-data: Likewise.
  75578. * conform/data/stropts.h-data: Likewise.
  75579. * conform/data/sys/ipc.h-data: Likewise.
  75580. * conform/data/sys/mman.h-data: Likewise.
  75581. * conform/data/sys/msg.h-data: Likewise.
  75582. * conform/data/sys/resource.h-data: Likewise.
  75583. * conform/data/sys/select.h-data: Likewise.
  75584. * conform/data/sys/sem.h-data: Likewise.
  75585. * conform/data/sys/shm.h-data: Likewise.
  75586. * conform/data/sys/socket.h-data: Likewise.
  75587. * conform/data/sys/stat.h-data: Likewise.
  75588. * conform/data/sys/statvfs.h-data: Likewise.
  75589. * conform/data/sys/time.h-data: Likewise.
  75590. * conform/data/sys/timeb.h-data: Likewise.
  75591. * conform/data/sys/times.h-data: Likewise.
  75592. * conform/data/sys/types.h-data: Likewise.
  75593. * conform/data/sys/uio.h-data: Likewise.
  75594. * conform/data/sys/un.h-data: Likewise.
  75595. * conform/data/sys/utsname.h-data: Likewise.
  75596. * conform/data/sys/wait.h-data: Likewise.
  75597. * conform/data/syslog.h-data: Likewise.
  75598. * conform/data/tar.h-data: Likewise.
  75599. * conform/data/termios.h-data: Likewise.
  75600. * conform/data/utime.h-data: Likewise.
  75601. * conform/data/utmpx.h-data: Likewise.
  75602. * conform/data/varargs.h-data: Likewise.
  75603. * conform/data/wchar.h-data: Likewise.
  75604. * conform/data/wctype.h-data: Likewise.
  75605. * conform/data/wordexp.h-data: Likewise.
  75606. * include/stropts.h: New file.
  75607. * include/uchar.h: New file.
  75608. * include/aio.h: Changes to allow conformtest.pl to use the headers.
  75609. * include/assert.h: Likewise.
  75610. * include/ctype.h: Likewise.
  75611. * include/dirent.h: Likewise.
  75612. * include/dlfcn.h: Likewise.
  75613. * include/fcntl.h: Likewise.
  75614. * include/fnmatch.h: Likewise.
  75615. * include/glob.h: Likewise.
  75616. * include/grp.h: Likewise.
  75617. * include/libio.h: Likewise.
  75618. * include/locale.h: Likewise.
  75619. * include/math.h: Likewise.
  75620. * include/net/if.h: Likewise.
  75621. * include/netdb.h: Likewise.
  75622. * include/netinet/in.h: Likewise.
  75623. * include/pthread.h: Likewise.
  75624. * include/pwd.h: Likewise.
  75625. * include/regex.h: Likewise.
  75626. * include/sched.h: Likewise.
  75627. * include/search.h: Likewise.
  75628. * include/setjmp.h: Likewise.
  75629. * include/signal.h: Likewise.
  75630. * include/stdio.h: Likewise.
  75631. * include/stdlib.h: Likewise.
  75632. * include/string.h: Likewise.
  75633. * include/sys/cdefs.h: Likewise.
  75634. * include/sys/mman.h: Likewise.
  75635. * include/sys/msg.h: Likewise.
  75636. * include/sys/resource.h: Likewise.
  75637. * include/sys/select.h: Likewise.
  75638. * include/sys/socket.h: Likewise.
  75639. * include/sys/stat.h: Likewise.
  75640. * include/sys/statvfs.h: Likewise.
  75641. * include/sys/time.h: Likewise.
  75642. * include/sys/times.h: Likewise.
  75643. * include/sys/uio.h: Likewise.
  75644. * include/sys/utsname.h: Likewise.
  75645. * include/sys/wait.h: Likewise.
  75646. * include/termios.h: Likewise.
  75647. * include/time.h: Likewise.
  75648. * include/ulimit.h: Likewise.
  75649. * include/unistd.h: Likewise.
  75650. * include/utime.h: Likewise.
  75651. * include/wchar.h: Likewise.
  75652. * include/wctype.h: Likewise.
  75653. * include/wordexp.h: Likewise.
  75654. * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
  75655. * time/time.h: TIME_UTC must be a macro.
  75656. Make timespec_get available for ISO C11 only as well.
  75657. 2012-02-24 Ulrich Drepper <drepper@gmail.com>
  75658. * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
  75659. Reported by Peng Haitao <penght@cn.fujitsu.com>.
  75660. 2012-02-24 Joseph Myers <joseph@codesourcery.com>
  75661. * configure.in: Use -o not -a in test for unsupported multi-arch.
  75662. 2012-02-24 Joseph Myers <joseph@codesourcery.com>
  75663. * manual/texinfo.tex: Update to version 2012-01-19.16.
  75664. 2012-02-24 Joseph Myers <joseph@codesourcery.com>
  75665. * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
  75666. 2012-02-24 Roland McGrath <roland@hack.frob.com>
  75667. [BZ #13738]
  75668. * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
  75669. * manual/fdl-1.3.texi: New file.
  75670. * manual/fdl-1.1.texi: File removed.
  75671. [BZ #13738]
  75672. * manual/libc.texinfo (FDL_VERSION): New @set.
  75673. Use it for mention of FDL in cover text.
  75674. (Documentation License): Use it in @include file name.
  75675. 2012-02-22 Joseph Myers <joseph@codesourcery.com>
  75676. Roland McGrath <roland@hack.frob.com>
  75677. [BZ #5461]
  75678. * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
  75679. (not LONG_LONG_MAX and LONG_LONG_MIN.
  75680. * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
  75681. LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
  75682. name.
  75683. (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
  75684. 2012-02-22 Joseph Myers <joseph@codesourcery.com>
  75685. [BZ #2547]
  75686. [BZ #11365]
  75687. * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
  75688. manipulate bits before adding and subtracting TWO23[sx].
  75689. * math/libm-test.inc (nearbyint_test): Add more tests.
  75690. 2012-02-22 Joseph Myers <joseph@codesourcery.com>
  75691. [BZ #2548]
  75692. * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
  75693. bits before adding and subtracting TWO23[sx].
  75694. * math/libm-test.inc (rint_test): Add more tests.
  75695. (rint_test_tonearest): Likewise.
  75696. (rint_test_towardzero): Likewise.
  75697. (rint_test_downward): Likewise.
  75698. (rint_test_upward: Likewise.
  75699. 2012-02-22 Joseph Myers <joseph@codesourcery.com>
  75700. [BZ #10110]
  75701. * include/stdc-predef.h: New file. Extracted from features.h.
  75702. * include/features.h: Include stdc-predef.h.
  75703. * Makefile (headers): Add stdc-predef.h.
  75704. * CONFORMANCE (Compiler limitations): Update.
  75705. 2012-02-22 Joseph Myers <joseph@codesourcery.com>
  75706. * manual/libc.texinfo (VERSION, UPDATED): Revert.
  75707. 2012-02-21 David S. Miller <davem@davemloft.net>
  75708. * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
  75709. * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
  75710. 2012-02-20 David S. Miller <davem@davemloft.net>
  75711. * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
  75712. using a normal save/restore sequence, rather than allocating a
  75713. dummy stack frame just to store a frame pointer and restore.
  75714. * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
  75715. 2012-02-21 Joseph Myers <joseph@codesourcery.com>
  75716. * manual/install.texi: Fix stray word in line-wrapped comment.
  75717. 2012-02-20 David S. Miller <davem@davemloft.net>
  75718. * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
  75719. both binutils and gcc support GOTDATA.
  75720. * sysdeps/unix/sparc/sysdep.h: Document why we don't use
  75721. "rd %pc" in the PIC register setup sequences.
  75722. * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
  75723. * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
  75724. * sysdeps/sparc/sparc32/elf/start.S: Likewise.
  75725. * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
  75726. * sysdeps/sparc/sparc64/elf/start.S: Likewise.
  75727. * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
  75728. * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
  75729. * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
  75730. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
  75731. (SYSCALL_ERROR_HANDLER): Likewise.
  75732. * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
  75733. * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
  75734. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
  75735. (SYSCALL_ERROR_HANDLER): Likewise.
  75736. * config.h.in (HAVE_BINUTILS_GOTDATA): New.
  75737. (HAVE_GCC_GOTDATA): New.
  75738. * sysdeps/sparc/elf/configure.in: Test for GOTDATA
  75739. relocation support in both binutils and gcc.
  75740. * sysdeps/sparc/elf/configure: Regenerate.
  75741. * sysdeps/sparc/sparc32/elf/configure.in: Delete.
  75742. * sysdeps/sparc/sparc32/elf/configure: Delete.
  75743. * sysdeps/sparc/sparc64/elf/configure.in: Delete.
  75744. * sysdeps/sparc/sparc64/elf/configure: Delete.
  75745. * sysdeps/sparc/elf/configure.in: New file.
  75746. * sysdeps/sparc/elf/configure: Generate.
  75747. * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
  75748. * sysdeps/sparc/sparc32/elf/configure: Regenerate.
  75749. * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
  75750. * sysdeps/sparc/sparc64/elf/configure: Regenerate.
  75751. * config.h.in (BROKEN_SPARC_WDISP22): Remove.
  75752. 2012-02-21 Joseph Myers <joseph@codesourcery.com>
  75753. * manual/install.texi: Do not mention specific glibc version
  75754. numbers.
  75755. * manual/libc.texinfo (VERSION, UPDATED): Update.
  75756. (@copying): Use @copyright{} and range of years.
  75757. 2012-02-21 Joseph Myers <joseph@codesourcery.com>
  75758. [BZ #13695]
  75759. * csu/Makefile (distribute): Remove initfini.c and defs.awk.
  75760. [crti.S not in sysdirs] (generated): Do not append.
  75761. [crti.S not in sysdirs] (omit-deps): Likewise.
  75762. [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
  75763. [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
  75764. [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
  75765. [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
  75766. [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
  75767. Likewise.
  75768. [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
  75769. [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
  75770. [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
  75771. * csu/defs.awk: Remove file.
  75772. * sysdeps/generic/initfini.c: Likewise.
  75773. * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
  75774. variable.
  75775. * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
  75776. Likewise.
  75777. 2012-02-20 Joseph Myers <joseph@codesourcery.com>
  75778. * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
  75779. * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
  75780. * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
  75781. * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
  75782. * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
  75783. * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
  75784. <bits/epoll.h>.
  75785. (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
  75786. (__EPOLL_PACKED): Define to empty if not defined by
  75787. <bits/epoll.h>.
  75788. (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
  75789. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
  75790. bits/epoll.h.
  75791. 2012-02-20 Joseph Myers <joseph@codesourcery.com>
  75792. * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
  75793. * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
  75794. * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
  75795. * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
  75796. <bits/timerfd.h>.
  75797. (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
  75798. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
  75799. bits/timerfd.h.
  75800. 2012-02-20 Joseph Myers <joseph@codesourcery.com>
  75801. * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
  75802. in C locale.
  75803. * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
  75804. * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
  75805. * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
  75806. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  75807. 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
  75808. * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
  75809. * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
  75810. 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
  75811. * manual/errno.texi (Error Codes): Add EHWPOISON entry.
  75812. * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
  75813. defined.
  75814. * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
  75815. Likewise.
  75816. * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
  75817. entry for 2.16.
  75818. 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
  75819. * math/w_acos.c: Use non-signaling floating-point comparisons.
  75820. * math/w_acosf.c: Likewise.
  75821. * math/w_acosh.c: Likewise.
  75822. * math/w_acoshf.c: Likewise.
  75823. * math/w_acoshl.c: Likewise.
  75824. * math/w_acosl.c: Likewise.
  75825. * math/w_asin.c: Likewise.
  75826. * math/w_asinf.c: Likewise.
  75827. * math/w_asinl.c: Likewise.
  75828. * math/w_atanh.c: Likewise.
  75829. * math/w_atanhf.c: Likewise.
  75830. * math/w_atanhl.c: Likewise.
  75831. * math/w_exp2.c: Likewise.
  75832. * math/w_exp2f.c: Likewise.
  75833. * math/w_exp2l.c: Likewise.
  75834. * math/w_j0.c: Likewise.
  75835. * math/w_j0f.c: Likewise.
  75836. * math/w_j0l.c: Likewise.
  75837. * math/w_j1.c: Likewise.
  75838. * math/w_j1f.c: Likewise.
  75839. * math/w_j1l.c: Likewise.
  75840. * math/w_jn.c: Likewise.
  75841. * math/w_jnf.c: Likewise.
  75842. * math/w_log.c: Likewise.
  75843. * math/w_log10.c: Likewise.
  75844. * math/w_log10f.c: Likewise.
  75845. * math/w_log10l.c: Likewise.
  75846. * math/w_log2.c: Likewise.
  75847. * math/w_log2f.c: Likewise.
  75848. * math/w_log2l.c: Likewise.
  75849. * math/w_logf.c: Likewise.
  75850. * math/w_logl.c: Likewise.
  75851. * math/w_sqrt.c: Likewise.
  75852. * math/w_sqrtf.c: Likewise.
  75853. * math/w_sqrtl.c: Likewise.
  75854. * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
  75855. * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
  75856. * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
  75857. * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
  75858. * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
  75859. 2012-02-19 Joseph Myers <joseph@codesourcery.com>
  75860. [BZ #9739]
  75861. * manual/string.texi (strnlen): Use correct parameter name in
  75862. equivalent expression.
  75863. 2012-02-19 Joseph Myers <joseph@codesourcery.com>
  75864. [BZ #11174]
  75865. * manual/users.texi (seteuid): Consistently use neweuid for
  75866. argument name.
  75867. 2012-02-19 Joseph Myers <joseph@codesourcery.com>
  75868. [BZ #13704]
  75869. * manual/nss.texi (Services in the NSS configuration): Correct
  75870. list of services in example configuration file.
  75871. 2012-02-19 Nick Bowler <nbowler@draconx.ca>
  75872. [BZ #11322]
  75873. * manual/arith.texi: Remove statements about negative zero
  75874. behaving identically to zero.
  75875. 2012-02-18 Joseph Myers <joseph@codesourcery.com>
  75876. [BZ #5993]
  75877. * manual/install.texi: Do not document upgrading from libc5.
  75878. 2012-02-18 Joseph Myers <joseph@codesourcery.com>
  75879. [BZ #4596]
  75880. * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
  75881. 2012-02-18 David S. Miller <davem@davemloft.net>
  75882. * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
  75883. (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
  75884. %o7 across the call.
  75885. (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
  75886. instead.
  75887. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
  75888. SETUP_PIC_REG_LEAF.
  75889. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
  75890. * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
  75891. * sysdeps/sparc/crtn.S: Likewise.
  75892. 2012-02-17 Ulrich Drepper <drepper@gmail.com>
  75893. * aout/Makefile: Remove.
  75894. 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
  75895. [BZ #13058]
  75896. * manual/examples/argp-ex1.c (main): Format definition in GNU
  75897. style.
  75898. * manual/examples/argp-ex2.c (main): Likewise.
  75899. * manual/examples/argp-ex3.c (main): Likewise.
  75900. * manual/examples/argp-ex4.c (main): Likewise.
  75901. * manual/examples/longopt.c (main): Use new-style prototype
  75902. definition.
  75903. * manual/examples/strncat.c (main): Specify return type and use
  75904. (void) for arguments.
  75905. * manual/examples/subopt.c (main): Use char **argv argument.
  75906. 2012-02-17 Joseph Myers <joseph@codesourcery.com>
  75907. [BZ #5077]
  75908. * manual/lang.texi (FLT_EPSILON): Avoid description depending on
  75909. rounding modes.
  75910. 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
  75911. [BZ #6907]
  75912. * manual/string.texi (strchr): Change when strchrnul is
  75913. recommended.
  75914. 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
  75915. [BZ #174]
  75916. * manual/locale.texi (setlocale): Document LOCPATH.
  75917. 2012-02-17 Joseph Myers <joseph@codesourcery.com>
  75918. [BZ #10210]
  75919. * manual/process.texi (execle): Move @dots{} before last argument.
  75920. 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
  75921. [BZ #12047]
  75922. * manual/charset.texi (Generic Charset Conversion): Fix typo
  75923. (LC_TYPE -> LC_CTYPE).
  75924. 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
  75925. [BZ #5805]
  75926. * manual/arith.texi (scalbn): Use @var{} on parameter names.
  75927. (scalbnf): Likewise.
  75928. (scalbnl): Likewise.
  75929. (scalbln): Likewise.
  75930. (scalblnf): Likewise.
  75931. (scalblnl): Likewise.
  75932. * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
  75933. (vwarnx): Likewise.
  75934. (verr): Likewise.
  75935. (verrx): Likewise.
  75936. * manual/filesys.texi (telldir): Use braces around return type.
  75937. * manual/llio.texi (mmap): Add space after comma.
  75938. (mmap64): Likewise.
  75939. * manual/math.texi (jn): Use @var{} on parameter names.
  75940. (jnf): Likewise.
  75941. (jnl): Likewise.
  75942. (yn): Likewise.
  75943. (ynf): Likewise.
  75944. (ynl): Likewise.
  75945. * manual/memory.texi (alloca): Remove semicolon on @deftypefun
  75946. line.
  75947. * manual/resource.texi (ulimit): Use @dots{} instead of literal
  75948. "...".
  75949. (sched_get_priority_min): Remove semicolon on @deftypefun line.
  75950. (sched_get_priority_max): Likewise.
  75951. * manual/signal.texi (sigvec): Add space after comma.
  75952. * manual/socket.texi (if_nametoindex): Use @var{} on parameter
  75953. names.
  75954. (if_indextoname): Likewise.
  75955. (if_freenameindex): Likewise.
  75956. (sendto): Use ',' instead of '.' in prototype.
  75957. * manual/startup.texi (syscall): Use @dots{} instead of literal
  75958. "...".
  75959. * manual/stdio.texi (__fpending): Separate initial words of
  75960. paragraph from @deftypefun line.
  75961. * manual/syslog.texi (syslog): Use @dots{} instead of literal
  75962. "...".
  75963. (vsyslog): Use @var{} on parameter names.
  75964. * manual/terminal.texi (stty): Use @var{} on parameter names.
  75965. * manual/users.texi (getutmp): Use @var{} on parameter names.
  75966. (getutmpx): Likewise.
  75967. 2012-02-17 Joseph Myers <joseph@codesourcery.com>
  75968. [BZ #6884]
  75969. * manual/stdio.texi (fopen): Fix typos in description of
  75970. ",ccs=STRING".
  75971. 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
  75972. [BZ #4026]
  75973. * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
  75974. get clock_id definition.
  75975. 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
  75976. [BZ #4822]
  75977. * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
  75978. (madvise): Cast every argument to void on its own.
  75979. 2012-02-17 Joseph Myers <joseph@codesourcery.com>
  75980. [BZ #9902]
  75981. * manual/startup.texi (Exit Status): Fix typo.
  75982. 2012-02-17 Joseph Myers <joseph@codesourcery.com>
  75983. [BZ #10140]
  75984. * manual/examples/argp-ex1.c: Include <stdlib.h>.
  75985. * manual/examples/argp-ex2.c: Likewise.
  75986. * manual/examples/argp-ex3.c: Likewise.
  75987. 2012-02-16 Richard Henderson <rth@redhat.com>
  75988. * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
  75989. * sysdeps/s390/s390-32/initfini.c: Remove.
  75990. * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
  75991. * sysdeps/s390/s390-64/initfini.c: Remove.
  75992. 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  75993. * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
  75994. compiler output for sysdeps/generic/initfini.c.
  75995. * sysdeps/sh/elf/initfini.c: Remove file.
  75996. 2012-02-16 David S. Miller <davem@davemloft.net>
  75997. [BZ #11494]
  75998. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
  75999. * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
  76000. * sysdeps/sparc/crti.S: New file.
  76001. * sysdeps/sparc/crtn.S: New file.
  76002. * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
  76003. * sysdeps/sparc/sparc64/Makefile: Likewise.
  76004. 2012-02-15 Mike Frysinger <vapier@gentoo.org>
  76005. [BZ #3335]
  76006. * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
  76007. 2012-02-15 Roland McGrath <roland@hack.frob.com>
  76008. [BZ #4822]
  76009. * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
  76010. * mach/devstream.c (cookie_io_functions_t): Macro removed.
  76011. (write, read, close): Likewise.
  76012. Patch by Aurelien Jarno <aurelien@aurel32.net>.
  76013. 2012-02-15 Joseph Myers <joseph@codesourcery.com>
  76014. * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
  76015. * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
  76016. * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
  76017. * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
  76018. <bits/signalfd.h>.
  76019. (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
  76020. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
  76021. bits/signalfd.h.
  76022. 2012-02-14 Marek Polacek <polacek@redhat.com>
  76023. * sysdeps/x86_64/crti.S: New file.
  76024. * sysdeps/x86_64/crtn.S: New file.
  76025. * sysdeps/x86_64/elf/initfini.c: Remove file.
  76026. 2012-02-13 Joseph Myers <joseph@codesourcery.com>
  76027. * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
  76028. * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
  76029. * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
  76030. * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
  76031. <bits/inotify.h>.
  76032. (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
  76033. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
  76034. bits/inotify.h.
  76035. 2012-02-13 Joseph Myers <joseph@codesourcery.com>
  76036. * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
  76037. * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
  76038. * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
  76039. * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
  76040. <bits/eventfd.h>.
  76041. (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
  76042. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
  76043. bits/eventfd.h.
  76044. 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
  76045. * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
  76046. __feraiseexcept instead of feraiseexcept.
  76047. * rt/tst-cpuclock1.c: Add a few comments, and error checking for
  76048. nanosleep invocations.
  76049. * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
  76050. strings, and add error checking for a nanosleep invocations.
  76051. 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
  76052. Replace FSF snail mail address with URLs, as per GNU coding standards.
  76053. Most of the snail mail addresses were wrong anyway, and omitting
  76054. them makes the source code easier to maintain. Almost all of the
  76055. changes are to license notices and to locale LC_IDENTIFICATION
  76056. addresses, except for this one:
  76057. * manual/libc.texinfo: In "Published by", give the FSF's URL,
  76058. not its snail mail address.
  76059. 2012-02-09 Richard Henderson <rth@twiddle.net>
  76060. * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
  76061. of kernel-features.h.
  76062. * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
  76063. 2012-02-08 Marek Polacek <polacek@redhat.com>
  76064. * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
  76065. * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
  76066. * sysdeps/gnu/_G_config.h: Likewise.
  76067. * sysdeps/generic/_G_config.h: Likewise.
  76068. 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
  76069. * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
  76070. tests.
  76071. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  76072. * sysdeps/powerpc/powerpc32/crti.S: New file.
  76073. * sysdeps/powerpc/powerpc32/crtn.S: New file.
  76074. * sysdeps/powerpc/powerpc64/crti.S: New file.
  76075. * sysdeps/powerpc/powerpc64/crtn.S: New file.
  76076. * Makeconfig (have-initfini): Don't set.
  76077. * config.make.in (have-initfini, need-nopic-initfini): Don't set.
  76078. * configure.in (nopic_initfini): Don't substitute.
  76079. * config.h.in (HAVE_INITFINI): Don't #undef.
  76080. * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
  76081. * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
  76082. 2012-02-08 Joseph Myers <joseph@codesourcery.com>
  76083. Support crti.S and crtn.S provided directly by architectures.
  76084. * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
  76085. [crti.S in sysdirs] (omit-deps): Likewise.
  76086. [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
  76087. [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
  76088. [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
  76089. [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
  76090. [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
  76091. [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
  76092. [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
  76093. [crti.S in sysdirs] (initfini.c): Remove vpath directive.
  76094. * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
  76095. compiler output for sysdeps/generic/initfini.c.
  76096. * sysdeps/i386/elf/Makefile: Remove file.
  76097. * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
  76098. 2012-02-07 Marek Polacek <polacek@redhat.com>
  76099. * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
  76100. * sysdeps/gnu/_G_config.h: Likewise.
  76101. * sysdeps/mach/hurd/_G_config.h: Likewise.
  76102. 2012-02-07 Marek Polacek <polacek@redhat.com>
  76103. * math/Makefile (tests): Add tst-CMPLX2.
  76104. * math/tst-CMPLX2.c: New file.
  76105. 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
  76106. * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
  76107. * math/libm-test.inc (jn_test): Add missing L suffix.
  76108. 2012-02-06 Marek Polacek <polacek@redhat.com>
  76109. * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
  76110. * sysdeps/i386/fpu/e_powf.S: Likewise.
  76111. * sysdeps/i386/fpu/e_atanhf.S: Likewise.
  76112. * sysdeps/i386/fpu/s_cexpl.S: Likewise.
  76113. * sysdeps/i386/fpu/e_acosh.S: Likewise.
  76114. * sysdeps/i386/fpu/e_pow.S: Likewise.
  76115. * sysdeps/i386/fpu/s_asinhl.S: Likewise.
  76116. * sysdeps/i386/fpu/e_acoshl.S: Likewise.
  76117. * sysdeps/i386/fpu/s_expm1.S: Likewise.
  76118. * sysdeps/i386/fpu/s_frexpf.S: Likewise.
  76119. * sysdeps/i386/fpu/e_log2.S: Likewise.
  76120. * sysdeps/i386/fpu/e_log2l.S: Likewise.
  76121. * sysdeps/i386/fpu/e_scalb.S: Likewise.
  76122. * sysdeps/i386/fpu/e_powl.S: Likewise.
  76123. * sysdeps/i386/fpu/s_log1p.S: Likewise.
  76124. * sysdeps/i386/fpu/e_log10f.S: Likewise.
  76125. * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
  76126. * sysdeps/i386/fpu/e_logl.S: Likewise.
  76127. * sysdeps/i386/fpu/s_cbrt.S: Likewise.
  76128. * sysdeps/i386/fpu/s_expm1l.S: Likewise.
  76129. * sysdeps/i386/fpu/s_frexpl.S: Likewise.
  76130. * sysdeps/i386/fpu/s_expm1f.S: Likewise.
  76131. * sysdeps/i386/fpu/e_log2f.S: Likewise.
  76132. * sysdeps/i386/fpu/e_acoshf.S: Likewise.
  76133. * sysdeps/i386/fpu/e_log.S: Likewise.
  76134. * sysdeps/i386/fpu/s_cexp.S: Likewise.
  76135. * sysdeps/i386/fpu/e_scalbf.S: Likewise.
  76136. * sysdeps/i386/fpu/s_log1pl.S: Likewise.
  76137. * sysdeps/i386/fpu/e_logf.S: Likewise.
  76138. * sysdeps/i386/fpu/e_log10l.S: Likewise.
  76139. * sysdeps/i386/fpu/e_atanh.S: Likewise.
  76140. * sysdeps/i386/fpu/s_log1pf.S: Likewise.
  76141. * sysdeps/i386/fpu/s_asinhf.S: Likewise.
  76142. * sysdeps/i386/fpu/s_cexpf.S: Likewise.
  76143. * sysdeps/i386/fpu/e_log10.S: Likewise.
  76144. * sysdeps/i386/fpu/s_frexp.S: Likewise.
  76145. * sysdeps/i386/fpu/e_atanhl.S: Likewise.
  76146. * sysdeps/i386/fpu/s_asinh.S: Likewise.
  76147. * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
  76148. * sysdeps/i386/fpu/e_scalbl.S: Likewise.
  76149. * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
  76150. * sysdeps/i386/asm-syntax.h: Likewise.
  76151. * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
  76152. * sysdeps/x86_64/fpu/e_powl.S: Likewise.
  76153. * sysdeps/x86_64/fpu/e_logl.S: Likewise.
  76154. * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
  76155. * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
  76156. * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
  76157. * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
  76158. * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
  76159. * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
  76160. * sysdeps/powerpc/sysdep.h: Likewise.
  76161. * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
  76162. * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
  76163. 2012-02-06 Joseph Myers <joseph@codesourcery.com>
  76164. [BZ #411]
  76165. * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
  76166. 2012-02-06 Joseph Myers <joseph@codesourcery.com>
  76167. * sysdeps/i386/sysdep.h: Include <features.h>.
  76168. (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
  76169. version.
  76170. 2012-02-05 Joseph Myers <joseph@codesourcery.com>
  76171. * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
  76172. Define.
  76173. * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
  76174. LOAD_PIC_REG_STR.
  76175. 2012-02-03 Joseph Myers <joseph@codesourcery.com>
  76176. * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
  76177. (SETUP_PIC_REG): Use GET_PC_THUNK.
  76178. * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
  76179. macro.
  76180. 2012-02-03 Joseph Myers <joseph@codesourcery.com>
  76181. * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
  76182. for non-PIC compilation.
  76183. (SETUP_PIC_REG): Add .p2align directive.
  76184. * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
  76185. * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
  76186. * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
  76187. * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
  76188. * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
  76189. * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
  76190. * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
  76191. * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
  76192. * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
  76193. * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
  76194. * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
  76195. * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
  76196. * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
  76197. * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
  76198. * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
  76199. * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
  76200. * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
  76201. * sysdeps/i386/i686/multiarch/memset.S: Likewise.
  76202. * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
  76203. * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
  76204. * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
  76205. * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
  76206. * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
  76207. * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
  76208. * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
  76209. * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
  76210. * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
  76211. * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
  76212. * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
  76213. * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
  76214. * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
  76215. * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
  76216. * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
  76217. * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
  76218. * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
  76219. * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
  76220. * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
  76221. * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
  76222. * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
  76223. * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
  76224. * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
  76225. 2012-02-03 Joseph Myers <joseph@codesourcery.com>
  76226. * math/tst-CMPLX.c: Include <stdio.h>.
  76227. 2012-01-31 Joseph Myers <joseph@codesourcery.com>
  76228. * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
  76229. float.
  76230. * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
  76231. * sysdeps/sparc/bits/mathdef.h: Likewise.
  76232. 2012-01-31 Marek Polacek <polacek@redhat.com>
  76233. * libio/libio.h: Don't define _PARAMS.
  76234. * locale/programs/config.h: Don't define PARAMS.
  76235. * stdlib/strtol_l.c: Likewise.
  76236. (__strtol_l): Remove PARAMS from the prototype.
  76237. 2012-01-31 Ulrich Drepper <drepper@gmail.com>
  76238. * malloc/malloc.c: Remove name translation. Don't use mixed-cap
  76239. names. Just use the correct names. Remove unnecessary wrapper
  76240. functions.
  76241. * malloc/arena.c: Likewise.
  76242. * malloc/hooks.c: Likewise.
  76243. * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
  76244. ARENA_TEST says not to. Simplify test for creation of a new arena.
  76245. Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
  76246. 2012-01-30 Ulrich Drepper <drepper@gmail.com>
  76247. * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
  76248. into tail calls.
  76249. (update_get_addr): New function.
  76250. (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
  76251. GET_ADDR_MODULE parameter.
  76252. 2012-01-30 Joseph Myers <joseph@codesourcery.com>
  76253. * crypt/cert.c: Remove __STDC__ conditionals.
  76254. * crypt/crypt-entry.c: Likewise.
  76255. * crypt/crypt_util.c: Likewise.
  76256. * libio/filedoalloc.c: Likewise.
  76257. * libio/fileops.c: Likewise.
  76258. * libio/genops.c: Likewise.
  76259. * libio/iofclose.c: Likewise.
  76260. * libio/iofdopen.c: Likewise.
  76261. * libio/iofopen.c: Likewise.
  76262. * libio/iofopen64.c: Likewise.
  76263. * libio/iogetdelim.c: Likewise.
  76264. * libio/iopopen.c: Likewise.
  76265. * libio/obprintf.c: Likewise.
  76266. * libio/oldfileops.c: Likewise.
  76267. * libio/oldiofclose.c: Likewise.
  76268. * libio/oldiofdopen.c: Likewise.
  76269. * libio/oldiofopen.c: Likewise.
  76270. * libio/oldiopopen.c: Likewise.
  76271. * libio/wfiledoalloc.c: Likewise.
  76272. * libio/wgenops.c: Likewise.
  76273. * locale/programs/xmalloc.c: Likewise.
  76274. * misc/syslog.c: Likewise.
  76275. * stdio-common/xbug.c: Likewise.
  76276. * string/memchr.c: Likewise.
  76277. * string/memcmp.c: Likewise.
  76278. * string/memrchr.c: Likewise.
  76279. * string/rawmemchr.c: Likewise.
  76280. * sysdeps/posix/getcwd.c: Likewise.
  76281. * time/strftime_l.c: Likewise.
  76282. 2012-01-30 Joseph Myers <joseph@codesourcery.com>
  76283. * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
  76284. * config.make.in (config-cflags-sse2avx): Define.
  76285. * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
  76286. Fix typo.
  76287. 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
  76288. * scripts/config.guess: Update from upstream config git repository.
  76289. * scripts/config.sub: Likewise.
  76290. 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
  76291. * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
  76292. (EM_NUM): Update.
  76293. (R_TILEPRO_*, R_TILEGX_*): New macros.
  76294. * scripts/firstversions.awk: Fix bug in version range handling.
  76295. * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
  76296. * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
  76297. * include/sys/epoll.h: New file.
  76298. * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
  76299. libc_hidden_def.
  76300. 2012-01-28 Ulrich Drepper <drepper@gmail.com>
  76301. * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
  76302. Avoid unnecessary __WORDSIZE == 64 test.
  76303. (fmaxf): Use VEX format if possible.
  76304. (fmax): Likewise.
  76305. (fminf): Likewise.
  76306. (fmin): Likewise.
  76307. * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
  76308. * math/math_private.h: Remove libc_fegetround* and
  76309. libc_fesetround*.
  76310. * sysdeps/i386/configure.in: Check for -msse2avx.
  76311. * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
  76312. also if SSE2AVX is defined.
  76313. Remove libc_fegetround* and libc_fesetround*.
  76314. * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
  76315. if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
  76316. * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
  76317. of HAS_YMM_USABLE.
  76318. * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
  76319. * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
  76320. * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
  76321. * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
  76322. * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
  76323. * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
  76324. 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  76325. * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
  76326. size is not set.
  76327. * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
  76328. 2012-01-27 Ulrich Drepper <drepper@gmail.com>
  76329. [BZ #13618]
  76330. * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
  76331. relocation.
  76332. * Makeconfig (libm): Define.
  76333. * elf/Makefile: Add rules to build and run tst-relsort1.
  76334. * elf/tst-relsort1.c: New file.
  76335. * elf/tst-relsort1mod1.c: New file.
  76336. * elf/tst-relsort1mod2.c: New file.
  76337. 2012-01-27 Joseph Myers <joseph@codesourcery.com>
  76338. * math/s_ldexp.c: Remove __STDC__ conditionals.
  76339. * math/s_ldexpf.c: Likewise.
  76340. * math/s_ldexpl.c: Likewise.
  76341. * math/s_nextafter.c: Likewise.
  76342. * math/s_nexttowardf.c: Likewise.
  76343. * math/s_significand.c: Likewise.
  76344. * math/s_significandf.c: Likewise.
  76345. * math/s_significandl.c: Likewise.
  76346. * math/w_jnl.c: Likewise.
  76347. * sysdeps/i386/fpu/s_isinfl.c: Likewise.
  76348. * sysdeps/i386/fpu/s_isnanl.c: Likewise.
  76349. * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
  76350. * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
  76351. * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
  76352. * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
  76353. * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
  76354. * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
  76355. * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
  76356. * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
  76357. * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
  76358. * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
  76359. * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
  76360. * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
  76361. * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
  76362. * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
  76363. * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
  76364. * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
  76365. * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
  76366. * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
  76367. * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
  76368. * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
  76369. * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
  76370. * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
  76371. * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
  76372. * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
  76373. * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
  76374. * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
  76375. * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
  76376. * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
  76377. * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
  76378. * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
  76379. * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
  76380. * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
  76381. * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
  76382. * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
  76383. * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
  76384. * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
  76385. * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
  76386. * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
  76387. * sysdeps/ieee754/k_standard.c: Likewise.
  76388. * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
  76389. * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
  76390. * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
  76391. * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
  76392. * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
  76393. * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
  76394. * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
  76395. * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
  76396. * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
  76397. * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
  76398. * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
  76399. * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
  76400. * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
  76401. * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
  76402. * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
  76403. * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
  76404. * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
  76405. * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
  76406. * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
  76407. * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
  76408. * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
  76409. * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
  76410. * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
  76411. * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
  76412. * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
  76413. * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
  76414. * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
  76415. * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
  76416. * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
  76417. * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
  76418. * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
  76419. * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
  76420. * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
  76421. * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
  76422. * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
  76423. * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
  76424. * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
  76425. * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
  76426. * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
  76427. * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
  76428. * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
  76429. * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
  76430. * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
  76431. * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
  76432. * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
  76433. * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
  76434. * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
  76435. * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
  76436. * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
  76437. * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
  76438. * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
  76439. * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
  76440. * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
  76441. * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
  76442. * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
  76443. * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
  76444. * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
  76445. * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
  76446. * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
  76447. * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
  76448. * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
  76449. * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
  76450. * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
  76451. * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
  76452. * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
  76453. * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
  76454. * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
  76455. * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
  76456. * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
  76457. * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
  76458. * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
  76459. * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
  76460. * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
  76461. * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
  76462. * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
  76463. * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
  76464. * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
  76465. * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
  76466. * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
  76467. * sysdeps/ieee754/s_matherr.c: Likewise.
  76468. * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
  76469. * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
  76470. * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
  76471. * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
  76472. 2012-01-26 Joseph Myers <joseph@codesourcery.com>
  76473. * crypt/md5.h: Remove __STDC__ conditionals.
  76474. * libio/libioP.h: Likewise.
  76475. * locale/programs/config.h: Likewise.
  76476. * sysdeps/generic/sysdep.h: Likewise.
  76477. * sysdeps/i386/asm-syntax.h: Likewise.
  76478. * sysdeps/s390/asm-syntax.h: Likewise.
  76479. * sysdeps/unix/sysdep.h: Likewise.
  76480. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
  76481. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
  76482. 2012-01-26 Joseph Myers <joseph@codesourcery.com>
  76483. * libio/libio.h: Remove __STDC__ conditionals.
  76484. * malloc/obstack.h: Likewise.
  76485. * math/complex.h: Likewise.
  76486. * math/math.h: Likewise.
  76487. * sysdeps/generic/_G_config.h: Likewise.
  76488. * sysdeps/gnu/_G_config.h: Likewise.
  76489. * sysdeps/mach/hurd/_G_config.h: Likewise.
  76490. * sysdeps/powerpc/bits/mathdef.h: Likewise.
  76491. * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
  76492. * sysdeps/sparc/bits/mathdef.h: Likewise.
  76493. 2012-01-26 Ulrich Drepper <drepper@gmail.com>
  76494. [BZ #13583]
  76495. * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
  76496. Clean up HAS_* macros.
  76497. * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
  76498. bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
  76499. possible.
  76500. * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
  76501. HAS_AVX.
  76502. * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
  76503. * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
  76504. * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
  76505. * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
  76506. * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
  76507. 2012-01-25 Joseph Myers <joseph@codesourcery.com>
  76508. * elf/tst-unique3.cc (gets): Remove declaration.
  76509. * elf/tst-unique3lib.cc (gets): Likewise.
  76510. * elf/tst-unique3lib2.cc (gets): Likewise.
  76511. * elf/tst-unique4.cc (gets): Likewise.
  76512. 2012-01-24 Ulrich Drepper <drepper@gmail.com>
  76513. * include/stdio.h: Add C++ protection. Add gets declarations and
  76514. definitions.
  76515. * debug/tst-chk1.c: Don't declare gets here.
  76516. * stdio-common/tst-gets.c: Likewise.
  76517. 2012-01-24 Joseph Myers <joseph@codesourcery.com>
  76518. * posix/glob: Remove directory.
  76519. 2012-01-24 Joseph Myers <joseph@codesourcery.com>
  76520. * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
  76521. 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
  76522. * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
  76523. of the non-standard EPFNOSUPPORT.
  76524. 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
  76525. * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
  76526. __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
  76527. ANYWHERE set to 1 only on KERN_NO_SPACE error.
  76528. 2012-01-21 Ulrich Drepper <drepper@gmail.com>
  76529. * wcsmbs/uchar.h: Test __STDC_VERSION__.
  76530. 2012-01-20 Ulrich Drepper <drepper@gmail.com>
  76531. * nscd/aicache.c (addhstaiX): Do not cache negative results of
  76532. transient errors.
  76533. * nscd/grpcache.c (cache_addgr): Likewise.
  76534. * nscd/hstcache.c (cache_addhst): Likewise.
  76535. * nscd/initgrcache.c (addinitgroupsX): Likewise.
  76536. * nscd/pwdcache.c (cache_addpw): Likewise.
  76537. * nscd/servicescache.c (cache_addserv): Likewise.
  76538. 2012-01-16 Ulrich Drepper <drepper@gmail.com>
  76539. * malloc/malloc.c: Various cleanups.
  76540. * malloc/hooks.c: Likewise.
  76541. * stdlib/Makefile (tests): Add bug-fmtmsg1.
  76542. * stdlib/bug-fmtmsg1.c: New file.
  76543. * stdlib/fmtmsg.c (init): Add missing unlock.
  76544. Patch by Peng Haitao <penght@cn.fujitsu.com>.
  76545. 2012-01-12 Marek Polacek <polacek@redhat.com>
  76546. * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
  76547. and _GNU_SOURCE.
  76548. 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
  76549. * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
  76550. * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
  76551. macro to ensure uniqueness of label name.
  76552. * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
  76553. * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
  76554. 2012-01-11 Ulrich Drepper <drepper@gmail.com>
  76555. * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
  76556. * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
  76557. * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
  76558. * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
  76559. * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
  76560. 2012-01-10 Ulrich Drepper <drepper@gmail.com>
  76561. * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
  76562. * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
  76563. * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
  76564. * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
  76565. * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
  76566. * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
  76567. * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
  76568. * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
  76569. * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
  76570. * math/bits/math-finite.h: Add ldexp support.
  76571. 2012-01-10 Marek Polacek <polacek@redhat.com>
  76572. * locale/programs/localedef.h (show_archive_content): Add noreturn
  76573. attribute.
  76574. 2012-01-09 Ulrich Drepper <drepper@gmail.com>
  76575. * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
  76576. 2012-01-08 Ulrich Drepper <drepper@gmail.com>
  76577. * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
  76578. * io/Makefile (headers): Add bits/poll2.h.
  76579. 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
  76580. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
  76581. typo #include statement.
  76582. 2012-01-08 Ulrich Drepper <drepper@gmail.com>
  76583. * include/sys/cdefs.h: Define __attribute_alloc_size.
  76584. * catgets/gencat.c: Add alloc_size attribute and apply consistently
  76585. the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
  76586. * elf/pldd.c: Likewise.
  76587. * iconv/iconv_charmap.c: Likewise.
  76588. * iconv/iconvconfig.c: Likewise.
  76589. * iconv/strtab.c: Likewise.
  76590. * locale/programs/locale.c: Likewise.
  76591. * locale/programs/localedef.h: Likewise.
  76592. * locale/programs/simple-hash.c: Likewise.
  76593. * nscd/nscd.h: Likewise.
  76594. * nss/makedb.c: Likewise.
  76595. * sysdeps/generic/ldconfig.h: Likewise.
  76596. * locale/programs/localedef.c: Remove xmalloc prototype.
  76597. * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
  76598. 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
  76599. * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
  76600. appropriate.
  76601. 2012-01-08 Ulrich Drepper <drepper@gmail.com>
  76602. * math/Makefile (tests): Add tst-CMPLX.
  76603. * math/tst-CMPLX.c: New file.
  76604. * math/complex.h (CMPLXL): Fix typo.
  76605. * debug/Makefile (routines): Add poll_chk and ppoll_chk.
  76606. * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
  76607. GLIBC_2.16.
  76608. * debug/tst-chk1.c: Add poll and ppoll tests.
  76609. * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
  76610. * include/sys/poll.h: Add hidden proto for ppoll.
  76611. * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
  76612. * sysdeps/mach/hurd/ppoll.c: Likewise.
  76613. * io/ppoll.c: Likewise.
  76614. * debug/poll_chk.c: New file.
  76615. * debug/ppoll_chk.c: New file.
  76616. * include/bits/poll2.h: New file.
  76617. * io/bits/poll2.h: New file.
  76618. [BZ #1350]
  76619. * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
  76620. * configure.in: static is always set to yes. Remove.
  76621. * config.make.in: Don't set build-static.
  76622. * Makeconfig: Remove use of build-static.
  76623. * dlfcn/Makefile: Likewise.
  76624. * elf/Makefile: Likewise.
  76625. * math/Makefile: Likewise.
  76626. * misc/Makefile: Likewise.
  76627. * nptl/Makefile: Likewise.
  76628. * sysdeps/mach/hurd/Makefile: Likewise.
  76629. * configure.in: PWD_P is not used anymore.
  76630. * config.make.in: Remove PWD_P entry.
  76631. * configure.in: Remove last remnants of RANLIB.
  76632. No need to check for signed size_t anymore.
  76633. Don't set libc_commonpagesize and libc_relro_required here for Alpha
  76634. and IA-64.
  76635. Remove __builtin_expect test because we require at least gcc 3.4.
  76636. * aclocal.m4: Likewise.
  76637. * wcsmbs/mbrtoc16.c: Implement using towc function.
  76638. * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
  76639. * wcsmbs/wcsmbsload.c: Likewise.
  76640. * iconv/gconv_simple.c: Likewise.
  76641. * iconv/gconv_int.h: Likewise.
  76642. * iconv/gconv_builtin.h: Likewise.
  76643. * iconv/iconv_prog.c: Remove CHAR16 handling.
  76644. * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
  76645. * wcsmbs/mbrtowc.c: Better check for invalid inputs.
  76646. * configure.in: Remove --with-elf and --enable-bounded options.
  76647. Dont set base_machine for ia64. More non-ELF conditions removed.
  76648. Remove testing and setting of leading underscore information.
  76649. * config.make.in (build-bounded): Set to no.
  76650. * config.h.in: Remove NO_UNDERSCORES entry.
  76651. * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
  76652. them.
  76653. * csu/start.c: Remove !NO_UNDERSCORE code.
  76654. * locale/localeinfo.h: Likewise.
  76655. * sysdeps/generic/machine-gmon.h: Likewise.
  76656. * sysdeps/generic/sysdep.h: Likewise.
  76657. * sysdeps/i386/sysdep.h: Likewise.
  76658. * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
  76659. * sysdeps/mach/sysdep.h: Likewise.
  76660. * sysdeps/s390/s390-32/sysdep.h: Likewise.
  76661. * sysdeps/s390/s390-64/sysdep.h: Likewise.
  76662. * sysdeps/sh/sysdep.h: Likewise.
  76663. * sysdeps/sparc/sparc32/alloca.S: Likewise.
  76664. * sysdeps/unix/i386/sysdep.S: Likewise.
  76665. * sysdeps/unix/sparc/start.c: Likewise.
  76666. * sysdeps/unix/sparc/sysdep.S: Likewise.
  76667. * sysdeps/unix/sparc/sysdep.h: Likewise.
  76668. * sysdeps/unix/start.c: Likewise.
  76669. * sysdeps/unix/x86_64/sysdep.S: Likewise.
  76670. * sysdeps/x86_64/sysdep.h: Likewise.
  76671. 2012-01-07 Ulrich Drepper <drepper@gmail.com>
  76672. [BZ #13553]
  76673. * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
  76674. for non-gcc.
  76675. * argp/argp-fmtstream.h: Use const instead __const.
  76676. * argp/argp.h: Likewise.
  76677. * assert/assert.h: Likewise.
  76678. * bits/fenv.h: Likewise.
  76679. * bits/sched.h: Likewise.
  76680. * bits/sigset.h: Likewise.
  76681. * bits/sigthread.h: Likewise.
  76682. * catgets/nl_types.h: Likewise.
  76683. * conform/data/pthread.h-data: Likewise.
  76684. * crypt/crypt-private.h: Likewise.
  76685. * crypt/crypt.h: Likewise.
  76686. * crypt/crypt_util.c: Likewise.
  76687. * ctype/ctype.h: Likewise.
  76688. * debug/execinfo.h: Likewise.
  76689. * debug/mbsnrtowcs_chk.c: Likewise.
  76690. * debug/mbsrtowcs_chk.c: Likewise.
  76691. * debug/wcsnrtombs_chk.c: Likewise.
  76692. * debug/wcsrtombs_chk.c: Likewise.
  76693. * debug/wcstombs_chk.c: Likewise.
  76694. * dirent/dirent.h: Likewise.
  76695. * dlfcn/dlfcn.h: Likewise.
  76696. * elf/neededtest4.c: Likewise.
  76697. * grp/grp.h: Likewise.
  76698. * gshadow/gshadow.h: Likewise.
  76699. * iconv/gconv.h: Likewise.
  76700. * iconv/gconv_int.h: Likewise.
  76701. * iconv/gconv_simple.c: Likewise.
  76702. * iconv/iconv.h: Likewise.
  76703. * iconv/loop.c: Likewise.
  76704. * iconv/skeleton.c: Likewise.
  76705. * include/aio.h: Likewise.
  76706. * include/aliases.h: Likewise.
  76707. * include/argz.h: Likewise.
  76708. * include/arpa/inet.h: Likewise.
  76709. * include/assert.h: Likewise.
  76710. * include/dirent.h: Likewise.
  76711. * include/dlfcn.h: Likewise.
  76712. * include/execinfo.h: Likewise.
  76713. * include/fcntl.h: Likewise.
  76714. * include/fenv.h: Likewise.
  76715. * include/glob.h: Likewise.
  76716. * include/grp.h: Likewise.
  76717. * include/libintl.h: Likewise.
  76718. * include/mntent.h: Likewise.
  76719. * include/netdb.h: Likewise.
  76720. * include/pwd.h: Likewise.
  76721. * include/rpc/netdb.h: Likewise.
  76722. * include/sched.h: Likewise.
  76723. * include/search.h: Likewise.
  76724. * include/shadow.h: Likewise.
  76725. * include/signal.h: Likewise.
  76726. * include/stdio.h: Likewise.
  76727. * include/stdlib.h: Likewise.
  76728. * include/string.h: Likewise.
  76729. * include/sys/socket.h: Likewise.
  76730. * include/sys/stat.h: Likewise.
  76731. * include/sys/statfs.h: Likewise.
  76732. * include/sys/statvfs.h: Likewise.
  76733. * include/sys/syslog.h: Likewise.
  76734. * include/sys/time.h: Likewise.
  76735. * include/sys/uio.h: Likewise.
  76736. * include/time.h: Likewise.
  76737. * include/unistd.h: Likewise.
  76738. * include/utmp.h: Likewise.
  76739. * include/wchar.h: Likewise.
  76740. * include/wctype.h: Likewise.
  76741. * inet/aliases.h: Likewise.
  76742. * inet/arpa/inet.h: Likewise.
  76743. * inet/netinet/ether.h: Likewise.
  76744. * inet/netinet/in.h: Likewise.
  76745. * intl/libintl.h: Likewise.
  76746. * io/bits/fcntl2.h: Likewise.
  76747. * io/fcntl.h: Likewise.
  76748. * io/ftw.h: Likewise.
  76749. * io/sys/poll.h: Likewise.
  76750. * io/sys/stat.h: Likewise.
  76751. * io/sys/statfs.h: Likewise.
  76752. * io/sys/statvfs.h: Likewise.
  76753. * io/utime.h: Likewise.
  76754. * libio/bits/stdio.h: Likewise.
  76755. * libio/bits/stdio2.h: Likewise.
  76756. * libio/libio.h: Likewise.
  76757. * libio/libioP.h: Likewise.
  76758. * libio/stdio.h: Likewise.
  76759. * locale/lc-ctype.c: Likewise.
  76760. * locale/locale.h: Likewise.
  76761. * login/utmp.h: Likewise.
  76762. * malloc/arena.c: Likewise.
  76763. * malloc/malloc.c: Likewise.
  76764. * malloc/malloc.h: Likewise.
  76765. * malloc/mcheck.c: Likewise.
  76766. * malloc/mtrace.c: Likewise.
  76767. * math/bits/mathcalls.h: Likewise.
  76768. * math/fenv.h: Likewise.
  76769. * math/math_private.h: Likewise.
  76770. * misc/bits/error.h: Likewise.
  76771. * misc/bits/syslog.h: Likewise.
  76772. * misc/err.h: Likewise.
  76773. * misc/error.h: Likewise.
  76774. * misc/fstab.h: Likewise.
  76775. * misc/mntent.h: Likewise.
  76776. * misc/regexp.h: Likewise.
  76777. * misc/search.h: Likewise.
  76778. * misc/sgtty.h: Likewise.
  76779. * misc/sys/mman.h: Likewise.
  76780. * misc/sys/syslog.h: Likewise.
  76781. * misc/sys/uio.h: Likewise.
  76782. * misc/sys/xattr.h: Likewise.
  76783. * misc/ttyent.h: Likewise.
  76784. * nis/rpcsvc/ypclnt.h: Likewise.
  76785. * nss/nss.h: Likewise.
  76786. * posix/bits/unistd.h: Likewise.
  76787. * posix/fnmatch.h: Likewise.
  76788. * posix/glob.h: Likewise.
  76789. * posix/sched.h: Likewise.
  76790. * posix/spawn.h: Likewise.
  76791. * posix/sys/wait.h: Likewise.
  76792. * posix/unistd.h: Likewise.
  76793. * posix/wordexp.h: Likewise.
  76794. * pwd/pwd.h: Likewise.
  76795. * resolv/netdb.h: Likewise.
  76796. * resource/sys/resource.h: Likewise.
  76797. * rt/aio.h: Likewise.
  76798. * rt/bits/mqueue2.h: Likewise.
  76799. * rt/mqueue.h: Likewise.
  76800. * shadow/shadow.h: Likewise.
  76801. * signal/signal.h: Likewise.
  76802. * socket/send.c: Likewise.
  76803. * socket/sendto.c: Likewise.
  76804. * socket/sys/socket.h: Likewise.
  76805. * stdio-common/printf.h: Likewise.
  76806. * stdlib/bits/stdlib.h: Likewise.
  76807. * stdlib/fmtmsg.h: Likewise.
  76808. * stdlib/monetary.h: Likewise.
  76809. * stdlib/stdlib.h: Likewise.
  76810. * stdlib/ucontext.h: Likewise.
  76811. * streams/stropts.h: Likewise.
  76812. * string/argz.h: Likewise.
  76813. * string/bits/string2.h: Likewise.
  76814. * string/string.h: Likewise.
  76815. * string/strings.h: Likewise.
  76816. * sunrpc/rpc/auth.h: Likewise.
  76817. * sunrpc/rpc/auth_des.h: Likewise.
  76818. * sunrpc/rpc/clnt.h: Likewise.
  76819. * sunrpc/rpc/netdb.h: Likewise.
  76820. * sunrpc/rpc/pmap_clnt.h: Likewise.
  76821. * sunrpc/rpc/xdr.h: Likewise.
  76822. * sysdeps/generic/inttypes.h: Likewise.
  76823. * sysdeps/generic/net/if.h: Likewise.
  76824. * sysdeps/generic/sys/swap.h: Likewise.
  76825. * sysdeps/gnu/net/if.h: Likewise.
  76826. * sysdeps/gnu/utmpx.h: Likewise.
  76827. * sysdeps/i386/fpu/bits/fenv.h: Likewise.
  76828. * sysdeps/i386/i486/bits/string.h: Likewise.
  76829. * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
  76830. * sysdeps/s390/bits/string.h: Likewise.
  76831. * sysdeps/s390/fpu/bits/fenv.h: Likewise.
  76832. * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
  76833. * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
  76834. * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
  76835. * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
  76836. * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
  76837. * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
  76838. * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
  76839. * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
  76840. * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
  76841. * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
  76842. * sysdeps/unix/sysv/linux/preadv.c: Likewise.
  76843. * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
  76844. * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
  76845. * sysdeps/unix/sysv/linux/readv.c: Likewise.
  76846. * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
  76847. * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
  76848. * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
  76849. * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
  76850. * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
  76851. * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
  76852. * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
  76853. * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
  76854. * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
  76855. * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
  76856. * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
  76857. * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
  76858. * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
  76859. * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
  76860. * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
  76861. * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
  76862. * sysvipc/sys/ipc.h: Likewise.
  76863. * sysvipc/sys/msg.h: Likewise.
  76864. * sysvipc/sys/sem.h: Likewise.
  76865. * sysvipc/sys/shm.h: Likewise.
  76866. * termios/termios.h: Likewise.
  76867. * time/sys/time.h: Likewise.
  76868. * time/time.h: Likewise.
  76869. * wcsmbs/bits/wchar2.h: Likewise.
  76870. * wcsmbs/uchar.h: Likewise.
  76871. * wcsmbs/wchar.h: Likewise.
  76872. * wctype/wctype.h: Likewise.
  76873. [BZ #13551]
  76874. * Makeconfig: Remove all but ELF support including AIX support.
  76875. * Makerules: Likewise.
  76876. * config.h.in: Likewise.
  76877. * config.make.in: Likewise.
  76878. * configure: Likewise.
  76879. * configure.in: Likewise.
  76880. * csu/Makefile: Likewise.
  76881. * csu/version.c: Likewise.
  76882. * debug/Makefile: Likewise.
  76883. * dlfcn/Makefile: Likewise.
  76884. * elf/Makefile: Likewise.
  76885. * extra-lib.mk: Likewise.
  76886. * iconv/Makefile: Likewise.
  76887. * include/libc-symbols.h: Likewise.
  76888. * include/shlib-compat.h: Likewise.
  76889. * resolv/Makefile: Likewise.
  76890. * resolv/res_libc.c: Likewise.
  76891. * rt/Makefile: Likewise.
  76892. * sysdeps/i386/asm-syntax.h: Likewise.
  76893. * sysdeps/i386/sysdep.h: Likewise.
  76894. * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
  76895. * sysdeps/mach/sysdep.h: Likewise.
  76896. * sysdeps/powerpc/powerpc32/Makefile: Likewise.
  76897. * sysdeps/powerpc/powerpc64/Makefile: Likewise.
  76898. * sysdeps/s390/asm-syntax.h: Likewise.
  76899. * sysdeps/s390/s390-32/sysdep.h: Likewise.
  76900. * sysdeps/s390/s390-64/sysdep.h: Likewise.
  76901. * sysdeps/sh/sysdep.h: Likewise.
  76902. * sysdeps/unix/sparc/sysdep.h: Likewise.
  76903. * sysdeps/wordsize-32/divdi3.c: Likewise.
  76904. * sysdeps/x86_64/sysdep.h: Likewise.
  76905. * argp/Versions: Remove _argp_unlock_xxx.
  76906. [BZ #13559]
  76907. * abilist/ld.abilist: Update. Adjust for removal of tls option.
  76908. * abilist/libBrokenLocale.abilist: Likewise.
  76909. * abilist/libanl.abilist: Likewise.
  76910. * abilist/libc.abilist: Likewise.
  76911. * abilist/libcrypt.abilist: Likewise.
  76912. * abilist/libdl.abilist: Likewise.
  76913. * abilist/libm.abilist: Likewise.
  76914. * abilist/libnsl.abilist: Likewise.
  76915. * abilist/libpthread.abilist: Likewise.
  76916. * abilist/libresolv.abilist: Likewise.
  76917. * abilist/librt.abilist: Likewise.
  76918. * abilist/libthread_db.abilist: Likewise.
  76919. * abilist/libutil.abilist: Likewise.
  76920. * abilist/libnss_db.abilist: New file.
  76921. * scripts/abilist.awk: Add support for indirect functions.
  76922. * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
  76923. * sysdeps/generic/ldsodefs.h: Remove Alpha support.
  76924. * shlib-versions: Remove entries for ports architectures.
  76925. * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
  76926. files in ports.
  76927. * elf/stackguard-macros.h: Remove support for IA-64.
  76928. * elf/tst-auditmod1.c: Likewise.
  76929. * sysdeps/generic/ldsodefs.h: Likewise.
  76930. * sysdeps/unix/sysv/linux/configure.in: Ports should define
  76931. libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
  76932. configure files.
  76933. [BZ #13552]
  76934. * configure.in: Remove --enable-omitfp support.
  76935. * FAQ.in: Adjust.
  76936. * config.make.in: Likewise.
  76937. * Makeconfig: Likewise.
  76938. * manual/install.texi: Likewise.
  76939. In case anyone cares, the IA-64 architecture could move to ports.
  76940. * sysdeps/ia64/*: Removed.
  76941. * sysdeps/unix/sysv/linux/ia64/*: Removed.
  76942. * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
  76943. [BZ #13555]
  76944. * configure.in: Remove entries for unsupported architectures.
  76945. [BZ #13533]
  76946. * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
  76947. * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
  76948. routines.
  76949. * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
  76950. * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
  76951. * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
  76952. fall back to using wcrtomb.
  76953. * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
  76954. * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
  76955. renaming.
  76956. * wcsmbs/Makefile (tests): Add tst-c16c32-1:
  76957. * wcsmbs/tst-c16c32-1.c: New file.
  76958. * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
  76959. local variable.
  76960. * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
  76961. * elf/tst-unique3.cc: Add explicit declaration of gets.
  76962. * elf/tst-unique3lib.cc: Likewise.
  76963. * elf/tst-unique3lib2.cc: Likewise.
  76964. * elf/tst-unique4.cc: Likewise.
  76965. * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
  76966. 2012-01-06 Joseph Myers <joseph@codesourcery.com>
  76967. [BZ #13566]
  76968. * assert/assert.h (static_assert): Don't define for C++.
  76969. * libio/stdio.h (gets): Do declare for C++ <= C++11.
  76970. * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
  76971. 2012-01-03 Ulrich Drepper <drepper@gmail.com>
  76972. * iconv/loop.c (single loop): Fix assertion in storing of
  76973. remaining bytes.
  76974. * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
  76975. 2012-01-01 Ulrich Drepper <drepper@gmail.com>
  76976. * posix/getconf.c: Update copyright year.
  76977. * nss/getent.c: Likewise.
  76978. * nss/makedb.c: Likewise.
  76979. * iconv/iconvconfig.c: Likewise.
  76980. * iconv/iconv_prog.c: Likewise.
  76981. * elf/ldconfig.c: Likewise.
  76982. * elf/pldd.c: Likewise.
  76983. * elf/sotruss.ksh: Likewise.
  76984. * catgets/gencat.c: Likewise.
  76985. * csu/version.c: Likewise.
  76986. * elf/ldd.bash.in: Likewise.
  76987. * elf/sprof.c (print_version): Likewise.
  76988. * locale/programs/locale.c: Likewise.
  76989. * locale/programs/localedef.c: Likewise.
  76990. * login/programs/pt_chown.c: Likewise.
  76991. * nscd/nscd.c (print_version): Likewise.
  76992. * debug/xtrace.sh: Likewise.
  76993. * malloc/memusage.sh: Likewise.
  76994. * malloc/mtrace.pl: Likewise.
  76995. * debug/catchsegv.sh: Likewise.
  76996. 2011-12-30 Jakub Jelinek <jakub@redhat.com>
  76997. * posix/regex_internal.c (re_string_fetch_byte_case): Remove
  76998. pure attribute.
  76999. 2011-12-24 Ulrich Drepper <drepper@gmail.com>
  77000. [BZ #13533]
  77001. * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
  77002. * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
  77003. transformations.
  77004. * iconv/gconv_int.h: Likewise.
  77005. * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
  77006. * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
  77007. from libc for GLIBC_2.16.
  77008. * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
  77009. * wcsmbs/wcrtomb.c: Define c32rtomb alias.
  77010. * wcsmbs/uchar.h: Really define mbstate_t.
  77011. * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
  77012. * wcsmbs/c16rtomb.c: New file.
  77013. * wcsmbs/mbrtoc16.c: New file.
  77014. * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
  77015. for C/POSIX locale.
  77016. (__wcsmbs_load_conv): Do not fill in c16 routines yet.
  77017. * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
  77018. * wcsmbs/wchar.h: Add missing __restrict.
  77019. 2011-12-23 Ulrich Drepper <drepper@gmail.com>
  77020. [BZ #13532]
  77021. * time/Makefile (routines): Add timespec_get.
  77022. * time/Versions: Export timespec_get from libc for GLIBC_2.16.
  77023. * time/time.h: Define TIME_UTC and declare timespec_get. Define
  77024. timespec for ISO C11.
  77025. * time/timespec_get.c: New file.
  77026. * sysdeps/unix/sysv/linux/timespec_get.c: New file.
  77027. * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
  77028. [BZ #13531]
  77029. * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
  77030. * stdlib/stdlib.h: Declare aligned_alloc.
  77031. * Versions.def: Add GLIBC_2.16 for libc.
  77032. * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
  77033. [BZ 13527]
  77034. * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
  77035. ISO C11.
  77036. * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
  77037. code.
  77038. [BZ #13528]
  77039. * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
  77040. [BZ #13529]
  77041. * assert/assert.h (static_assert): Define.
  77042. * version.h: Update for 2.16 development version.
  77043. [BZ #13526]
  77044. * include/features.h: Handle __STDC_VERSION__ >= 201112 and
  77045. _ISOC11_SOURCE.
  77046. * version.h (RELEASE): Bump for 2.15 release.
  77047. * include/features.h (__GLIBC_MINOR__): Bump to 15.
  77048. * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
  77049. Patch by Marek Polacek <mpolacek@redhat.com>.
  77050. * bits/byteswap.h: Protect long long constants with __extension__.
  77051. * sysdeps/i386/bits/byteswap.h: Likewise.
  77052. * sysdeps/ia64/bits/byteswap.h: Likewise.
  77053. * sysdeps/s390/bits/byteswap.h: Likewise.
  77054. * sysdeps/x86_64/bits/byteswap.h: Likewise.
  77055. 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
  77056. [BZ #13540]
  77057. * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
  77058. destination buffer.
  77059. * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
  77060. 2011-12-23 Marek Polacek <polacek@redhat.com>
  77061. * elf/dl-addr.c (determine_info): Add inline keyword.
  77062. * elf/tst-auditmod4b.c (check_avx): Likewise.
  77063. * elf/tst-auditmod6b.c (check_avx): Likewise.
  77064. * elf/tst-auditmod6c.c (check_avx): Likewise.
  77065. * elf/tst-auditmod7b.c (check_avx): Likewise.
  77066. 2011-12-23 Ulrich Drepper <drepper@gmail.com>
  77067. * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
  77068. !__SSE_MATH__.
  77069. 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
  77070. [BZ #13540]
  77071. * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
  77072. processing for last bytes.
  77073. 2011-08-06 Bruno Haible <bruno@clisp.org>
  77074. [BZ #13061]
  77075. * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
  77076. U+0385, not to U+1FEE.
  77077. [BZ #13062]
  77078. * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
  77079. entry for U+00A5 U+0301.
  77080. 2011-12-22 Ulrich Drepper <drepper@gmail.com>
  77081. [BZ #13166]
  77082. * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
  77083. buffer for the output is too small.
  77084. * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
  77085. optimization.
  77086. [BZ #13185]
  77087. * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
  77088. SSE flags if possible.
  77089. 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
  77090. [BZ #13540]
  77091. * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
  77092. processing for last bytes.
  77093. 2011-12-22 Joseph Myers <joseph@codesourcery.com>
  77094. * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
  77095. (syscall-list-default-options, syscall-list-default-condition)
  77096. (syscall-list-includes): Define.
  77097. ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
  77098. list of ABIs and options and #if conditions for each ABI. Do not
  77099. handle common syscalls between ABIs specially.
  77100. * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
  77101. Remove.
  77102. (syscall-list-variants, syscall-list-32bit-options)
  77103. (syscall-list-32bit-condition, syscall-list-64bit-options)
  77104. (syscall-list-64bit-condition): Define.
  77105. * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
  77106. (syscall-list-variants, syscall-list-32bit-options)
  77107. (syscall-list-32bit-condition, syscall-list-64bit-options)
  77108. (syscall-list-64bit-condition): Define.
  77109. * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
  77110. Remove.
  77111. (syscall-list-variants, syscall-list-32bit-options)
  77112. (syscall-list-32bit-condition, syscall-list-64bit-options)
  77113. (syscall-list-64bit-condition): Define.
  77114. * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
  77115. Remove.
  77116. (syscall-list-variants, syscall-list-32bit-options)
  77117. (syscall-list-32bit-condition, syscall-list-64bit-options)
  77118. (syscall-list-64bit-condition): Define.
  77119. 2011-12-22 Ulrich Drepper <drepper@gmail.com>
  77120. * locale/iso-639.def: Add brx entry.
  77121. [BZ #13328]
  77122. * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
  77123. Proposed by Mariusz_Cukr <marcukr@op.pl>.
  77124. * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
  77125. __feraiseexcept_renamed.
  77126. 2011-12-21 Ulrich Drepper <drepper@gmail.com>
  77127. [BZ #13538]
  77128. * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
  77129. EPOLLET with unsigned values.
  77130. * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
  77131. * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
  77132. * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
  77133. to large cancellation.
  77134. * math/s_cacoshf.c: Likewise.
  77135. * math/s_cacoshl.c: Likewise.
  77136. 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
  77137. [BZ #13305]
  77138. [BZ #12786]
  77139. * math/s_cacosh.c: Fix rare miscomputation in cacosh().
  77140. * math/s_cacoshf.c: Likewise.
  77141. * math/s_cacoshl.c: Likewise.
  77142. 2011-12-21 Ulrich Drepper <drepper@gmail.com>
  77143. [BZ #13439]
  77144. * iconv/gconv.h: Define __GCONV_SWAP.
  77145. * iconvdata/unicode.c: The swap bit must be stored in __flags.
  77146. * iconvdata/utf-16.c: Likewise.
  77147. * iconvdata/utf-32.c: Likewise.
  77148. 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
  77149. [BZ #13524]
  77150. * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
  77151. numerator after shifting it by one limb.
  77152. 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
  77153. * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
  77154. under [__USE_EXTERN_INLINES].
  77155. 2011-12-17 Ulrich Drepper <drepper@gmail.com>
  77156. [BZ #13446]
  77157. * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
  77158. 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  77159. * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
  77160. * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
  77161. optimized code.
  77162. * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
  77163. * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
  77164. * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
  77165. * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
  77166. for strncasecmp/strncasecmp_l compilation.
  77167. * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
  77168. * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
  77169. 2011-12-08 Marek Polacek <mpolacek@redhat.com>
  77170. [BZ #13484]
  77171. * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
  77172. of __asm__.
  77173. 2011-12-17 Ulrich Drepper <drepper@gmail.com>
  77174. [BZ #13506]
  77175. * time/tzfile.c (__tzfile_read): Check values from file header.
  77176. 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
  77177. * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
  77178. * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
  77179. * powerpc/powerpc32/dl-start.S: Likewise.
  77180. * powerpc/powerpc32/elf/start.S: Likewise.
  77181. * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
  77182. * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
  77183. * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
  77184. * powerpc/powerpc32/fpu/s_floor.S: Likewise.
  77185. * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
  77186. * powerpc/powerpc32/fpu/s_lround.S: Likewise.
  77187. * powerpc/powerpc32/fpu/s_rint.S: Likewise.
  77188. * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
  77189. * powerpc/powerpc32/fpu/s_round.S: Likewise.
  77190. * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
  77191. * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
  77192. * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
  77193. * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
  77194. * powerpc/powerpc32/memset.S: Likewise.
  77195. * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
  77196. * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
  77197. * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
  77198. * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
  77199. * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
  77200. * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
  77201. * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
  77202. * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
  77203. * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
  77204. * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
  77205. * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
  77206. * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
  77207. * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
  77208. 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  77209. * math/libm-test.inc: Added more nearbyint tests.
  77210. * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
  77211. * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
  77212. * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
  77213. * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
  77214. 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
  77215. * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
  77216. FD_CLOEXEC.
  77217. 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
  77218. * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
  77219. Add wcscpy-ssse3 wcscpy-c.
  77220. * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
  77221. * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
  77222. * sysdeps/x86_64/multiarch/wcscpy.S: New file.
  77223. * sysdeps/x86_64/wcschr.S: New file.
  77224. * sysdeps/x86_64/wcsrchr.S: New file.
  77225. * string/test-strcmp.c: Remove checking of wcscmp function for
  77226. wrong alignments.
  77227. * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
  77228. (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
  77229. wcsrchr-sse2 wcsrchr-c.
  77230. * sysdeps/i386/i686/multiarch/wcschr.S: New file.
  77231. * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
  77232. * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
  77233. * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
  77234. * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
  77235. * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
  77236. * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
  77237. * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
  77238. * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
  77239. * wcsmbc/wcschr.c (WCSCHR): New macro.
  77240. 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
  77241. * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
  77242. * wcsmbs/test-wcsrchr.c: New file.
  77243. * string/test-strrchr.c: Add wcsrchr support.
  77244. (WIDE): New macro.
  77245. * wcsmbs/test-wcscpy.c: New file.
  77246. * string/test-strcpy.c: Add wcscpy support.
  77247. (WIDE): New macro.
  77248. 2011-12-10 Ulrich Drepper <drepper@gmail.com>
  77249. * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
  77250. the inner loop.
  77251. 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
  77252. [BZ #13472]
  77253. * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
  77254. 2011-12-04 Ulrich Drepper <drepper@gmail.com>
  77255. * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
  77256. Minor optimizations.
  77257. * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
  77258. * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
  77259. * sunrpc/clnt_udp.c (clntudp_call): Likewise.
  77260. 2011-12-03 Ulrich Drepper <drepper@gmail.com>
  77261. * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
  77262. IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
  77263. IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
  77264. for gcc to avoid warnings.
  77265. * inet/Makefile (tests): Add tst-checks.
  77266. * inet/tst-checks.c: New file.
  77267. * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
  77268. warning.
  77269. * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
  77270. __wmemcmp_sse2.
  77271. * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
  77272. * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
  77273. * malloc/mcheck.h: Fix use of incorrect encoding in comment.
  77274. 2011-12-02 Ulrich Drepper <drepper@gmail.com>
  77275. * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
  77276. problem.
  77277. * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
  77278. 2011-11-29 Joseph Myers <joseph@codesourcery.com>
  77279. * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
  77280. conditional on GCC version.
  77281. (__arch_compare_and_exchange_val_8_acq)
  77282. (__arch_compare_and_exchange_val_16_acq)
  77283. (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
  77284. (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
  77285. (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
  77286. 2011-12-02 Joseph Myers <joseph@codesourcery.com>
  77287. * sysdeps/sh/backtrace.c: New file.
  77288. 2011-12-02 Andreas Schwab <schwab@redhat.com>
  77289. * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
  77290. parenthesis.
  77291. 2011-12-01 Andreas Schwab <schwab@redhat.com>
  77292. * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
  77293. falling back to utime.
  77294. 2011-11-30 Andreas Schwab <schwab@redhat.com>
  77295. * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
  77296. expectations for float.
  77297. 2011-11-29 Andreas Schwab <schwab@redhat.com>
  77298. * locale/weight.h (findidx): Add parameter len.
  77299. * locale/weightwc.h (findidx): Likewise.
  77300. * posix/fnmatch_loop.c (FCT): Adjust caller.
  77301. * posix/regcomp.c (build_equiv_class): Likewise.
  77302. * posix/regex_internal.h (re_string_elem_size_at): Likewise.
  77303. * posix/regexec.c (check_node_accept_bytes): Likewise.
  77304. * string/strcoll_l.c (STRCOLL): Likewise.
  77305. * string/strxfrm_l.c (STRXFRM): Likewise.
  77306. 2011-11-17 Ulrich Drepper <drepper@gmail.com>
  77307. * Makefile.in: Remove CVSOPT handling.
  77308. * configure.in: Remove use of AC_REVISION.
  77309. * iconvdata/Makefile (distribute): No need to filter out CVS.
  77310. * scripts/list-sources.sh: Remove CVS, subversion and monotone
  77311. handling.
  77312. 2011-11-16 Andreas Schwab <schwab@redhat.com>
  77313. * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
  77314. [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
  77315. [USE_AS_STRNCASECMP_L]: Likewise.
  77316. (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
  77317. NO_TLS_DIRECT_SEG_REFS.
  77318. * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
  77319. Fix argument offsets for non-PIC.
  77320. [USE_AS_STRNCASECMP_L]: Likewise.
  77321. (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
  77322. NO_TLS_DIRECT_SEG_REFS.
  77323. 2011-11-15 Ulrich Drepper <drepper@gmail.com>
  77324. * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
  77325. O_CLOEXEC.
  77326. * locale/loadlocale.c (_nl_load_locale): Likewise.
  77327. 2011-11-15 Andreas Schwab <schwab@redhat.com>
  77328. * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
  77329. [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
  77330. * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
  77331. (SYSCALL_GETTIME): Set errno on error.
  77332. * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
  77333. count references to noai6ai_cached.
  77334. 2011-11-15 Ulrich Drepper <drepper@gmail.com>
  77335. * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
  77336. * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
  77337. FD_CLOEXEC for /proc/self/maps.
  77338. * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
  77339. FD_CLOEXEC for /proc/meminfo.
  77340. * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
  77341. gai.conf.
  77342. * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
  77343. FD_CLOEXEC for given file.
  77344. * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
  77345. * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
  77346. FD_CLOEXEC for /etc/hosts.
  77347. (_gethtent): Likewise.
  77348. * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
  77349. * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
  77350. cancellation and set FD_CLOEXEC for /etc/netgroup.
  77351. * nss/nss_files/files-key.c (search): Don't allow cancellation when
  77352. reading /etc/publickey.
  77353. * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
  77354. allow cancellation when reading /etc/group.
  77355. * nss/nss_files/files-alias.c (internal_setent): Don't allow
  77356. cancellation.
  77357. (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
  77358. * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
  77359. when using data file.
  77360. * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
  77361. * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
  77362. (write_nis_obj): Use "c" and "e" in fopen.
  77363. * misc/mntent_r.c (__setmntent): Also append e to fopen format.
  77364. * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
  77365. * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
  77366. * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
  77367. * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
  77368. locale.alias.
  77369. * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
  77370. * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
  77371. * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
  77372. * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
  77373. file parsing and set FD_CLOEXEC.
  77374. 2011-11-14 Ulrich Drepper <drepper@gmail.com>
  77375. * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
  77376. 2011-11-14 Andreas Schwab <schwab@redhat.com>
  77377. * malloc/arena.c (arena_get2): Don't call reused_arena when
  77378. _int_new_arena failed.
  77379. 2011-11-14 Ulrich Drepper <drepper@gmail.com>
  77380. * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
  77381. (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
  77382. * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
  77383. * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
  77384. * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
  77385. * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
  77386. to compile strcasecmp and strncasecmp.
  77387. * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
  77388. * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
  77389. * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
  77390. 2011-11-13 Ulrich Drepper <drepper@gmail.com>
  77391. * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
  77392. locale-defines.sym to gen-as-const-headers.
  77393. (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
  77394. strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
  77395. * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
  77396. to compile strcasecmp and strncasecmp.
  77397. * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
  77398. strcasecmp_l and strncasecmp_l.
  77399. * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
  77400. * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
  77401. * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
  77402. * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
  77403. * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
  77404. * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
  77405. * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
  77406. * sysdeps/i386/i686/multiarch/strncase.S: New file.
  77407. * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
  77408. * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
  77409. * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
  77410. 2011-11-12 Ulrich Drepper <drepper@gmail.com>
  77411. * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
  77412. result of SYSDEP_GETTIME_CPU to retval.
  77413. * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
  77414. parameter list to macro. Remove trailing semicolon. Adjust users.
  77415. * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
  77416. variable.
  77417. * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
  77418. mantissa words.
  77419. * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
  77420. * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
  77421. from unused variable.
  77422. * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
  77423. DWARF definitions.
  77424. * sysdeps/generic/dwarf2.h: Don't define enums when using the file
  77425. for assembling.
  77426. * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
  77427. over namespaces.
  77428. * sunrpc/rpc_prot.c (rejected): Fix case value.
  77429. * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
  77430. unsigned long long int to avoid warnings in shift.
  77431. * posix/regex_internal.c (re_string_reconstruct): Actually use result
  77432. of use of trans.
  77433. * posix/regex_internal.h (re_string_wchar_at): Remove temporary
  77434. variable tmp.
  77435. * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
  77436. * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
  77437. * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
  77438. * nis/nis_table.c (nis_list): Use variable of correct type for
  77439. result of __follow_path call.
  77440. 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  77441. * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
  77442. of math functions ceil, trunc, floor, round, and sqrt, when
  77443. avaliable on the platform.
  77444. * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
  77445. name clash.
  77446. * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
  77447. * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
  77448. * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
  77449. 2011-10-30 Marek Polacek <mpolacek@redhat.com>
  77450. * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
  77451. * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
  77452. 2011-11-11 Roland McGrath <roland@hack.frob.com>
  77453. * include/unistd.h: Fix __readlink return type.
  77454. Reported by Chris Metcalf <cmetcalf@tilera.com>.
  77455. 2011-11-11 Ulrich Drepper <drepper@gmail.com>
  77456. * stdlib/ucontext.h: Undo last change for makecontext.
  77457. 2011-11-11 Andreas Schwab <schwab@redhat.com>
  77458. * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
  77459. * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
  77460. * setjmp/setjmp.h: Mark functions as non-leaf.
  77461. * setjmp/bits/setjmp2.h: Likewise.
  77462. * stdlib/ucontext.h: Likewise.
  77463. 2011-11-10 Andreas Schwab <schwab@redhat.com>
  77464. * malloc/arena.c (_int_new_arena): Don't increment narenas.
  77465. (reused_arena): Don't check arena limit.
  77466. (arena_get2): Atomically check arena limit.
  77467. 2011-11-08 Ulrich Drepper <drepper@gmail.com>
  77468. * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
  77469. * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
  77470. * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
  77471. instructions.
  77472. 2011-11-07 Andreas Schwab <schwab@redhat.com>
  77473. * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
  77474. handler when locking.
  77475. * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
  77476. Fix size of allocated buffer.
  77477. 2011-11-04 Andreas Schwab <schwab@redhat.com>
  77478. [BZ #10103]
  77479. * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
  77480. declarations for long double functions.
  77481. * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
  77482. * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
  77483. 2011-11-03 Andreas Schwab <schwab@redhat.com>
  77484. * nscd/nscd.c (main): Don't start AVC thread until credentials are
  77485. installed.
  77486. * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
  77487. is disabled.
  77488. 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
  77489. * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
  77490. 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
  77491. * include/alloca.h (stackinfo_alloca_round): Define.
  77492. (extend_alloca): Use it.
  77493. [_STACK_GROWS_UP]: Correct check for adjacent allocation.
  77494. * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
  77495. here.
  77496. * scripts/check-local-headers.sh: Ignore libaudit.h.
  77497. * nscd/Makefile (extra-objs): Make recursively expanded.
  77498. 2011-11-01 Ulrich Drepper <drepper@gmail.com>
  77499. * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
  77500. * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
  77501. * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
  77502. * posix/tst-rfc3484-2.c: Likewise.
  77503. * posix/tst-rfc3484-3.c: Likewise.
  77504. * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
  77505. process_vm_writev.
  77506. * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
  77507. process_vm_writev.
  77508. * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
  77509. process_vm_writev from libc using GLIBC_2.15 version.
  77510. * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
  77511. 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
  77512. * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
  77513. stack usage.
  77514. 2011-10-31 Ulrich Drepper <drepper@gmail.com>
  77515. [BZ #13367]
  77516. * nss/getent.c (initgroups_keys): Show error message in case no group
  77517. names are given.
  77518. * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
  77519. * inet/check_pf.c: Provide dummy versions of __free_in6ai and
  77520. __bump_nl_timestamp.
  77521. * nscd/connections (nscd_init): When host database is served open
  77522. netlink socket and request notification about configuration changes.
  77523. (main_loop_poll): Track netlink file descriptor and bump timestamp
  77524. in case data becomes available.
  77525. (main_loop_epoll): Likewise.
  77526. * nscd/nscd-client.h (DB_VERSION): Bump to 2.
  77527. (database_pers_head): Add extra_data fileds.
  77528. Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
  77529. * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
  77530. * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
  77531. Adjust caller.
  77532. * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
  77533. in6ai data, call __free_in6ai.
  77534. * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
  77535. Add -DHAVE_NETLINK.
  77536. * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
  77537. interface information. Reuse previous data if netlink timestamp
  77538. is not changed.
  77539. (__bump_nl_timestamp): New function.
  77540. (__free_in6ai): New function.
  77541. 2011-10-30 Ulrich Drepper <drepper@gmail.com>
  77542. * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
  77543. close_not_cancel_no_status here.
  77544. (__check_pf): Reorganize code a bit to not call close twice if OOM.
  77545. 2011-10-29 Ulrich Drepper <drepper@gmail.com>
  77546. [BZ #13276]
  77547. * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
  77548. return value.
  77549. * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
  77550. * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
  77551. asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
  77552. 2011-07-03 Andreas Jaeger <aj@suse.de>
  77553. [BZ #10709]
  77554. * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
  77555. of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
  77556. * math/libm-test.inc (sin_test): Add test case.
  77557. 2011-10-29 Ulrich Drepper <drepper@gmail.com>
  77558. [BZ #13337]
  77559. * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
  77560. Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
  77561. * elf/chroot_canon.c (chroot_canon): Cleanups.
  77562. * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
  77563. [BZ #13335]
  77564. * elf/chroot_canon.c (chroot_canon): Fix readlink call.
  77565. Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
  77566. * string/test-strchr.c: Make usable for strchrnul testing.
  77567. * string/test-strchrnul.c: New file.
  77568. * string/Makefile (strop-tests): Add strchrnul.
  77569. * po/it.po: Update from translation team.
  77570. * po/es.po: Likewise.
  77571. 2011-10-28 Ulrich Drepper <drepper@gmail.com>
  77572. * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
  77573. the three constants needed as parameters. Drop the others.
  77574. (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
  77575. __m128i_strloadu_tolower.
  77576. Create and initialize variable zero and use it in all the places
  77577. where _mm_setzero_si128 was used.
  77578. * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
  77579. doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
  77580. mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
  77581. * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
  77582. anymore.
  77583. * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
  77584. * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
  77585. * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
  77586. __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
  77587. * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
  77588. __mpranred, __mptan.
  77589. * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
  77590. * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
  77591. * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
  77592. * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
  77593. * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
  77594. * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
  77595. * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
  77596. * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
  77597. * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
  77598. 2011-10-28 Andreas Schwab <schwab@redhat.com>
  77599. * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
  77600. redefine if SHARED.
  77601. * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
  77602. * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
  77603. wide char related routines to wcsmbs subdir.
  77604. 2011-10-27 Andreas Schwab <schwab@redhat.com>
  77605. [BZ #13344]
  77606. * misc/sys/cdefs.h (__THROWNL): Define.
  77607. * posix/unistd.h: Use __THREADNL instead of __THREAD
  77608. for memory synchronization functions.
  77609. 2011-10-26 Roland McGrath <roland@hack.frob.com>
  77610. [BZ #13349]
  77611. * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
  77612. doesn't exist.
  77613. * manual/stdio.texi (Obstack Streams): Node removed.
  77614. 2011-10-26 Andreas Schwab <schwab@redhat.com>
  77615. * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
  77616. * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
  77617. * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
  77618. * math/math_private.h (math_force_eval): Allow non-addressable
  77619. arguments.
  77620. * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
  77621. 2011-10-25 Ulrich Drepper <drepper@gmail.com>
  77622. * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
  77623. file is not needed.
  77624. * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
  77625. * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
  77626. * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
  77627. * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
  77628. * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
  77629. * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
  77630. * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
  77631. * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
  77632. Add AVX variants.
  77633. * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
  77634. * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
  77635. * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
  77636. * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
  77637. * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
  77638. * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
  77639. * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
  77640. * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
  77641. * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
  77642. * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
  77643. * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
  77644. * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
  77645. * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
  77646. * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
  77647. * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
  77648. * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
  77649. * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
  77650. * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
  77651. * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
  77652. * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
  77653. all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
  77654. * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
  77655. place. Use VEX encoding when compiling for AVX.
  77656. 2011-10-25 Andreas Schwab <schwab@redhat.com>
  77657. * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
  77658. * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
  77659. * string/test-strchr.c (do_test): Don't generate NUL bytes.
  77660. 2011-10-25 Ulrich Drepper <drepper@gmail.com>
  77661. * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
  77662. useless if() expression.
  77663. * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
  77664. * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
  77665. * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
  77666. * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
  77667. * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
  77668. * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
  77669. * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
  77670. * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
  77671. * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
  77672. * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
  77673. * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
  77674. * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
  77675. * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
  77676. * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
  77677. * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
  77678. * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
  77679. * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
  77680. * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
  77681. * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
  77682. * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
  77683. 2011-10-25 Andreas Schwab <schwab@redhat.com>
  77684. * elf/dl-deps.c (_dl_map_object_deps): Remove always true
  77685. condition.
  77686. * elf/dl-fini.c (_dl_sort_fini): Likewise.
  77687. 2011-10-25 Ulrich Drepper <drepper@gmail.com>
  77688. * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
  77689. .text section. Avoid duplicate constants.
  77690. * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
  77691. * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
  77692. * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
  77693. * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
  77694. * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
  77695. * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
  77696. * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
  77697. * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
  77698. * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
  77699. * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
  77700. * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
  77701. * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
  77702. * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
  77703. * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
  77704. * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
  77705. * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
  77706. * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
  77707. * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
  77708. * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
  77709. * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
  77710. * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
  77711. * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
  77712. * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
  77713. * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
  77714. * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
  77715. * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
  77716. * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
  77717. * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
  77718. * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
  77719. * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
  77720. * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
  77721. * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
  77722. * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
  77723. * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
  77724. * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
  77725. * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
  77726. * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
  77727. * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
  77728. * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
  77729. * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
  77730. * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
  77731. * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
  77732. * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
  77733. * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
  77734. * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
  77735. 2011-10-24 Ulrich Drepper <drepper@gmail.com>
  77736. * sysdeps/x86_64/dla.h: Move to ...
  77737. * sysdeps/x86_64/fpu/dla.h: ...here.
  77738. (DLA_FMS): Some compilers fail to inline __builtin_fma in some
  77739. situations. Use __builtin_fma only for gcc 4.6 and up.
  77740. * config.make.in: Add have-mfma4 entry.
  77741. * configure.in: Substitute libc_cv_cc_fma4.
  77742. * math/Makefile (dbl-only-routines): Add sincostab.
  77743. * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
  77744. Use __sincostab not sincos.
  77745. * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
  77746. name is a macro.
  77747. * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
  77748. * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
  77749. * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
  77750. * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
  77751. using __copysign.
  77752. * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
  77753. __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
  77754. norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
  77755. * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
  77756. and __inv.
  77757. * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
  77758. * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
  77759. __copysign.
  77760. * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
  77761. define aliases when function name is a macro.
  77762. * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
  77763. sysdeps/ieee754/dbl-64/sincos.tbl.
  77764. * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
  77765. fma4-enabled routines.
  77766. * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
  77767. * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
  77768. * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
  77769. * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
  77770. * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
  77771. * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
  77772. * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
  77773. * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
  77774. * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
  77775. * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
  77776. * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
  77777. * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
  77778. * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
  77779. * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
  77780. * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
  77781. * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
  77782. * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
  77783. * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
  77784. * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
  77785. * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
  77786. * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
  77787. * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
  77788. * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
  77789. * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
  77790. * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
  77791. * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
  77792. * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
  77793. * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
  77794. * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
  77795. * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
  77796. * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
  77797. rename.
  77798. * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
  77799. * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
  77800. * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
  77801. * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
  77802. * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
  77803. * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
  77804. * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
  77805. * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
  77806. 2011-10-24 Andreas Schwab <schwab@redhat.com>
  77807. * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
  77808. 2011-10-23 Ulrich Drepper <drepper@gmail.com>
  77809. * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
  77810. * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
  77811. prediction.
  77812. * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
  77813. * string/strnlen.c: Don't define STRNLEN, reverse logic.
  77814. Remove unused variable magic_bits.
  77815. * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
  77816. * string/strnlen.c: Define and use STRNLEN macro.
  77817. * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
  77818. Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
  77819. * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
  77820. * wcsmbs/wcslen.c: Define and use WCSLEN.
  77821. * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
  77822. * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
  77823. * sysdeps/i386/i686/multiarch/strnlen.S: New file.
  77824. * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
  77825. * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
  77826. * sysdeps/i386/i686/multiarch/wcslen.S: New file.
  77827. Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
  77828. 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
  77829. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  77830. strnlen-sse2-no-bsf.
  77831. Rename strlen-no-bsf to strlen-sse2-no-bsf.
  77832. * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
  77833. * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
  77834. Add strnlen support.
  77835. (USE_AS_STRNLEN): New macro.
  77836. * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
  77837. * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
  77838. Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
  77839. * sysdeps/x86_64/wcslen.S: New file.
  77840. 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
  77841. * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
  77842. XMM-moves are used for copying on small sizes.
  77843. 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
  77844. * wcsmbs/Makefile (strop-tests): Add wcschr.
  77845. * wcsmbs/test-wcschr.c: New file.
  77846. * string/test-strchr.c: Update.
  77847. Add wcschr support.
  77848. (WIDE): New macro.
  77849. 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
  77850. * wcsmbs/Makefile (strop-tests): Add wcslen.
  77851. * wcsmbs/test-wcslen.c: New file.
  77852. * string/test-strlen.c: Update.
  77853. Add wcslen support.
  77854. (WIDE): New macro.
  77855. 2011-10-23 Ulrich Drepper <drepper@gmail.com>
  77856. * po/it.po: Update from translation team.
  77857. 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
  77858. * sysdeps/x86_64/wcscmp.S: Update.
  77859. Fix wrong comparison semantics.
  77860. wcscmp shall use signed comparison not unsigned.
  77861. Don't use substraction to avoid overflow bug.
  77862. * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
  77863. * wcsmbc/wcscmp.c: Likewise.
  77864. * string/test-strcmp.c: Likewise.
  77865. Add new tests to check cases with negative values.
  77866. 2011-10-23 Ulrich Drepper <drepper@gmail.com>
  77867. * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
  77868. * sysdeps/x86_64/dla.h: ...here. New file.
  77869. * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
  77870. * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
  77871. * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
  77872. * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
  77873. * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
  77874. * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
  77875. * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
  77876. * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
  77877. * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
  77878. 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
  77879. * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
  77880. __ynl_finite aliases.
  77881. 2011-10-22 Ulrich Drepper <drepper@gmail.com>
  77882. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
  77883. * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
  77884. define DLA_FMA.
  77885. [DLA_FMA] (EMULV): Use DLA_FMA.
  77886. [DLA_FMA] (MUL12): Use EMULV.
  77887. * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
  77888. that are not needed.
  77889. * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
  77890. * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
  77891. * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
  77892. * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
  77893. * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
  77894. * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
  77895. * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
  77896. 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
  77897. * math/s_nan.c: Undef __nan.
  77898. * math/s_nanf.c: Undef __nanf.
  77899. * math/s_nanl.c: Undef __nanl.
  77900. * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
  77901. "math_private.h".
  77902. 2011-10-22 Ulrich Drepper <drepper@gmail.com>
  77903. * math/s_catan.c: Add branch predictions.
  77904. * math/s_catanf.c: Likewise.
  77905. * math/s_catanh.c: Likewise.
  77906. * math/s_catanhf.c: Likewise.
  77907. * math/s_catanhl.c: Likewise.
  77908. * math/s_catanl.c: Likewise.
  77909. * math/s_cexp.c: Likewise.
  77910. * math/s_cexpf.c: Likewise.
  77911. * math/s_cexpl.c: Likewise.
  77912. * math/s_clog.c: Likewise.
  77913. * math/s_clog10.c: Likewise.
  77914. * math/s_clog10f.c: Likewise.
  77915. * math/s_clog10l.c: Likewise.
  77916. * math/s_clogf.c: Likewise.
  77917. * math/s_clogl.c: Likewise.
  77918. * math/s_csqrt.c: Likewise.
  77919. * math/s_csqrtf.c: Likewise.
  77920. * math/s_csqrtl.c: Likewise.
  77921. * math/s_ctanf.c: Likewise.
  77922. * math/s_ctanh.c: Likewise.
  77923. * math/s_ctanhf.c: Likewise.
  77924. * math/s_ctanhl.c: Likewise.
  77925. * math/s_ctanl.c: Likewise.
  77926. * math/math_private.h: Define __nan, __nanf, __nanl.
  77927. * math/s_cacosh.c: Include <math_private.h>.
  77928. * math/s_cacoshl.c: Likewise.
  77929. * math/s_casinh.c: Likewise.
  77930. * math/s_casinhf.c: Likewise.
  77931. * math/s_casinhl.c: Likewise.
  77932. * math/s_ccos.c: Rely entire on ccosh.
  77933. * math/s_ccosf.c: Rely entire on ccoshf.
  77934. * math/s_ccosl.c: Rely entirely on ccoshl.
  77935. * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
  77936. Remove tests for FE_INVALID.
  77937. * math/s_ccoshf.c: Likewise.
  77938. * math/s_ccoshl.c: Likewise.
  77939. * math/s_csin.c: Likewise.
  77940. * math/s_csinf.c: Likewise.
  77941. * math/s_csinh.c Likewise.
  77942. * math/s_csinhf.c: Likewise.
  77943. * math/s_csinhl.c: Likewise.
  77944. * math/s_csinl.c: Likewise.
  77945. * math/s_ctan.c: Likewise.
  77946. * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
  77947. * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
  77948. * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
  77949. 2011-10-21 Ulrich Drepper <drepper@gmail.com>
  77950. * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
  77951. compilation problems.
  77952. * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
  77953. __builtin_expect.
  77954. 2011-10-20 Ulrich Drepper <drepper@gmail.com>
  77955. * sysdeps/i386/configure.in: Test for -mfma4 option.
  77956. * config.h.in: Add HAVE_FMA4_SUPPORT entry.
  77957. * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
  77958. COMMON_CPUID_INDEX_80000001.
  77959. * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
  77960. * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
  77961. use it if FMA3 is not supported.
  77962. * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
  77963. * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
  77964. * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
  77965. 2011-10-20 Andreas Schwab <schwab@redhat.com>
  77966. [BZ #12892]
  77967. * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
  77968. it would create a cycle with a link time dependency.
  77969. 2011-10-19 Ulrich Drepper <drepper@gmail.com>
  77970. * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
  77971. instruction.
  77972. * string/Makefile (strop-tests): Add rawmemchr.
  77973. * string/test-rawmemchr.c: New file.
  77974. * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
  77975. * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
  77976. * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
  77977. when compiling str{,n}casecmp and when AVX is available. Hook up
  77978. new optimized code in initializers.
  77979. 2011-10-19 Andreas Schwab <schwab@redhat.com>
  77980. * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
  77981. __feraiseexcept instead of feraiseexcept.
  77982. 2011-10-18 Ulrich Drepper <drepper@gmail.com>
  77983. * math/math_private.h: Define defaults for libc_fetestexcept and
  77984. libc_feupdateenv.
  77985. * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
  77986. * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
  77987. * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
  77988. * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
  77989. * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
  77990. * sysdeps/x86_64/fpu/math_private.h: Define special versions of
  77991. libc_fetestexcept and libc_feupdateenv.
  77992. * math/math_private.h: Define defaults for libc_feholdexcept_setround,
  77993. libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
  77994. * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
  77995. * sysdeps/x86_64/fpu/math_private.h: Define special version of
  77996. libc_feholdexcept_setround.
  77997. * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
  77998. Add s_nearbyint-c and s_nearbyintf-c.
  77999. * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
  78000. nearbyintf inlines.
  78001. * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
  78002. * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
  78003. * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
  78004. * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
  78005. * math/math_private.h: Define defaults for libc_fegetround,
  78006. libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
  78007. libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
  78008. libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
  78009. * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
  78010. libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
  78011. standard functions.
  78012. * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
  78013. Remove comments and hacks for old compiler versions.
  78014. * sysdeps/x86_64/fpu/math_private.h: Define special versions of
  78015. libc_fegetround, libc_fesetround, libc_feholdexcept, and
  78016. libc_feholdexceptl.
  78017. 2011-10-18 Andreas Schwab <schwab@redhat.com>
  78018. * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
  78019. (__feraiseexcept_renamed): Add __NTH.
  78020. (feraiseexcept): Add __NTH. Rename local variables to fix
  78021. namespace violations.
  78022. 2011-10-17 Ulrich Drepper <drepper@gmail.com>
  78023. * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
  78024. * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
  78025. * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
  78026. recently added interfaces.
  78027. * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
  78028. * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
  78029. about macro parameter expansion.
  78030. * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
  78031. __NO_MATH_INLINES is defined. Cleanups.
  78032. * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
  78033. and __floorf is target has SSE4.1.
  78034. * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
  78035. * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
  78036. * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
  78037. * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
  78038. * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
  78039. name.
  78040. (floorf): Likewise.
  78041. * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
  78042. 2011-10-17 Andreas Schwab <schwab@redhat.com>
  78043. * misc/sys/cdefs.h: Fix last change.
  78044. * grp/initgroups.c (internal_getgrouplist): Fix initgroups
  78045. database lookup.
  78046. 2011-10-16 Ulrich Drepper <drepper@gmail.com>
  78047. * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
  78048. * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
  78049. * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
  78050. * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
  78051. * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
  78052. * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
  78053. * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
  78054. * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
  78055. * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
  78056. * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
  78057. * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
  78058. * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
  78059. * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
  78060. * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
  78061. * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
  78062. * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
  78063. * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
  78064. * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
  78065. * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
  78066. * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
  78067. * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
  78068. * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
  78069. * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
  78070. * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
  78071. ceil, ceilf, floor, floorf.
  78072. * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
  78073. Perform IRELATIVE relocations last.
  78074. * elf/do-rel.h: Add another parameter nrelative, replacing the
  78075. local variable with the same name. Change name of the function
  78076. to end in Rel or Rela (uppercase).
  78077. * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
  78078. nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
  78079. elf_dynamic_do_##reloc function.
  78080. 2011-10-15 Ulrich Drepper <drepper@gmail.com>
  78081. * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
  78082. is sufficient, at least on modern CPUs.
  78083. * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
  78084. * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
  78085. * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
  78086. * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
  78087. __expl_finite.
  78088. * math/bits/math-finite.h: Add entries for exp.
  78089. * math/e_expl.c: Add __*_finite alias.
  78090. * sysdeps/i386/fpu/e_exp.S: Likewise.
  78091. * sysdeps/i386/fpu/e_expf.S: Likewise.
  78092. * sysdeps/i386/fpu/e_expl.c: Likewise.
  78093. * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
  78094. * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
  78095. * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
  78096. * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
  78097. * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
  78098. * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
  78099. * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
  78100. * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
  78101. is sufficient, at least on modern CPUs.
  78102. * ctype/ctype-info.c (__ctype_init): Define.
  78103. * include/ctype.h (__ctype_init): Declare.
  78104. (__ctype_b_loc): The variable is always initialized.
  78105. (__ctype_toupper_loc): Likewise.
  78106. (__ctype_tolower_loc): Likewise.
  78107. * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
  78108. * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
  78109. 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
  78110. * wcsmbs/wmemcmp.c (WMEMCMP): Define.
  78111. * configure.in: Also look in $cxxmachine/include for C++ system
  78112. headers.
  78113. 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
  78114. * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
  78115. memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
  78116. * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
  78117. * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
  78118. * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
  78119. (USE_AS_WMEMCMP): New macro.
  78120. Fixing indents.
  78121. * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
  78122. * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
  78123. * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
  78124. * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
  78125. * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
  78126. wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
  78127. * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
  78128. * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
  78129. * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
  78130. * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
  78131. * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
  78132. (USE_AS_WMEMCMP): New macro.
  78133. * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
  78134. * sysdeps/string/test-memcmp.c: Update.
  78135. Fix simple_wmemcmp.
  78136. Add new tests.
  78137. * wcsmbs/wmemcmp.c: Update.
  78138. (WMEMCMP): New macro.
  78139. Fix overflow bug.
  78140. 2011-10-12 Andreas Jaeger <aj@suse.de>
  78141. [BZ #13268]
  78142. * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
  78143. 2011-10-15 Ulrich Drepper <drepper@gmail.com>
  78144. * libio/iofwide.c (do_length): Avoid warning.
  78145. * ctype/ctype.h (__isctype_f): Add missing __THROW.
  78146. 2011-10-14 Ulrich Drepper <drepper@gmail.com>
  78147. * elf/pldd-xx.c (find_maps): Remove leftover debug message.
  78148. * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
  78149. * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
  78150. * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
  78151. * sysdeps/i386/i686/fpu/e_log.S: New file.
  78152. * sysdeps/i386/i686/fpu/e_logf.S: New file.
  78153. * sysdeps/i386/i686/fpu/e_logl.S: New file.
  78154. * ctype/ctype.h: Add support for inlined isXXX functions when
  78155. compiling C++ code.
  78156. 2011-10-14 Andreas Schwab <schwab@redhat.com>
  78157. * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
  78158. * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
  78159. 2011-10-13 Roland McGrath <roland@hack.frob.com>
  78160. [BZ #13291]
  78161. * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
  78162. 2011-10-13 Andreas Schwab <schwab@redhat.com>
  78163. * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
  78164. * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
  78165. feraiseexcept.
  78166. * sysdeps/x86_64/memrchr.S: Check for zero size.
  78167. * string/stratcliff.c: Add memrchr tests.
  78168. 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
  78169. * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
  78170. memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
  78171. rawmemchr-sse2 rawmemchr-sse2-bsf.
  78172. * sysdeps/i386/i686/multiarch/memchr.S: New file.
  78173. * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
  78174. * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
  78175. * sysdeps/i386/i686/multiarch/memrchr.S: New file.
  78176. * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
  78177. * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
  78178. * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
  78179. * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
  78180. * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
  78181. * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
  78182. * string/memrchr.c (MEMRCHR): New macro.
  78183. 2011-10-12 Ulrich Drepper <drepper@gmail.com>
  78184. Add integration with gcc's -ffinite-math-only and optimize wrapper
  78185. functions in libm.
  78186. * Versions.def: Define GLIBC_2.15 version for libm.
  78187. * math/Makefile (headers): Add bits/math-finite.h.
  78188. * math/bits/math-finite.h: New file.
  78189. * sysdeps/ia64/fpu/bits/math-finite.h: New file.
  78190. * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
  78191. * math/e_acoshl.c: Add __*_finite alias.
  78192. * math/e_acosl.c: Likewise.
  78193. * math/e_asinl.c: Likewise.
  78194. * math/e_atan2l.c: Likewise.
  78195. * math/e_atanhl.c: Likewise.
  78196. * math/e_coshl.c: Likewise.
  78197. * math/e_exp10.c: Likewise.
  78198. * math/e_exp10f.c: Likewise.
  78199. * math/e_exp10l.c: Likewise.
  78200. * math/e_exp2l.c: Likewise.
  78201. * math/e_fmodl.c: Likewise.
  78202. * math/e_gammal_r.c: Likewise.
  78203. * math/e_hypotl.c: Likewise.
  78204. * math/e_j0l.c: Likewise.
  78205. * math/e_j1l.c: Likewise.
  78206. * math/e_jnl.c: Likewise.
  78207. * math/e_lgammal_r.c: Likewise.
  78208. * math/e_log10l.c: Likewise.
  78209. * math/e_log2l.c: Likewise.
  78210. * math/e_logl.c: Likewise.
  78211. * math/e_powl.c: Likewise.
  78212. * math/e_sinhl.c: Likewise.
  78213. * math/e_sqrtl.c: Likewise.
  78214. * math/e_scalb.c: Completely rewritten and optimized.
  78215. * math/e_scalbf.c: Likewise.
  78216. * math/e_scalbl.c: Likewise.
  78217. * math/w_acos.c: Likewise.
  78218. * math/w_acosf.c: Likewise.
  78219. * math/w_acosl.c: Likewise.
  78220. * math/w_acosh.c: Likewise.
  78221. * math/w_acoshf.c: Likewise.
  78222. * math/w_acoshl.c: Likewise.
  78223. * math/w_asin.c: Likewise.
  78224. * math/w_asinf.c: Likewise.
  78225. * math/w_asinl.c: Likewise.
  78226. * math/w_atan2.c: Likewise.
  78227. * math/w_atan2f.c: Likewise.
  78228. * math/w_atan2l.c: Likewise.
  78229. * math/w_atanh.c: Likewise.
  78230. * math/w_atanhf.c: Likewise.
  78231. * math/w_atanhl.c: Likewise.
  78232. * math/w_exp10.c: Likewise.
  78233. * math/w_exp10f.c: Likewise.
  78234. * math/w_exp10l.c: Likewise.
  78235. * math/w_fmod.c: Likewise.
  78236. * math/w_fmodf.c: Likewise.
  78237. * math/w_fmodl.c: Likewise.
  78238. * math/w_j0.c: Likewise.
  78239. * math/w_j0f.c: Likewise.
  78240. * math/w_j0l.c: Likewise.
  78241. * math/w_j1.c: Likewise.
  78242. * math/w_j1f.c: Likewise.
  78243. * math/w_j1l.c: Likewise.
  78244. * math/w_jn.c: Likewise.
  78245. * math/w_jnf.c: Likewise.
  78246. * math/w_log.c: Likewise.
  78247. * math/w_logf.c: Likewise.
  78248. * math/w_logl.c: Likewise.
  78249. * math/w_log10.c: Likewise.
  78250. * math/w_log10f.c: Likewise.
  78251. * math/w_log10l.c: Likewise.
  78252. * math/w_log2.c: Likewise.
  78253. * math/w_log2f.c: Likewise.
  78254. * math/w_log2l.c: Likewise.
  78255. * math/w_pow.c: Likewise.
  78256. * math/w_powf.c: Likewise.
  78257. * math/w_powl.c: Likewise.
  78258. * math/w_remainder.c: Likewise.
  78259. * math/w_remainderf.c: Likewise.
  78260. * math/w_remainderl.c: Likewise.
  78261. * math/w_scalb.c: Likewise.
  78262. * math/w_scalbf.c: Likewise.
  78263. * math/w_scalbl.c: Likewise.
  78264. * math/w_sqrt.c: Likewise.
  78265. * math/w_sqrtf.c: Likewise.
  78266. * math/w_sqrtl.c: Likewise.
  78267. * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
  78268. are declared. Include <bits/math-finite.h> if -ffinite-math-only is
  78269. used.
  78270. * math/math_private.h: Declare __kernel_standard_f.
  78271. * math/w_cosh.c: Remove cruft and optimize a bit.
  78272. * math/w_coshf.c: Likewise.
  78273. * math/w_coshl.c: Likewise.
  78274. * math/w_exp2.c: Likewise.
  78275. * math/w_exp2f.c: Likewise.
  78276. * math/w_exp2l.c: Likewise.
  78277. * math/w_hypot.c: Likewise.
  78278. * math/w_hypotf.c: Likewise.
  78279. * math/w_hypotl.c: Likewise.
  78280. * math/w_lgamma.c: Likewise.
  78281. * math/w_lgamma_r.c: Likewise.
  78282. * math/w_lgammaf.c: Likewise.
  78283. * math/w_lgammaf_r.c: Likewise.
  78284. * math/w_lgammal.c: Likewise.
  78285. * math/w_lgammal_r.c: Likewise.
  78286. * math/w_sinh.c: Likewise.
  78287. * math/w_sinhf.c: Likewise.
  78288. * math/w_sinhl.c: Likewise.
  78289. * math/w_tgamma.c: Likewise.
  78290. * math/w_tgammaf.c: Likewise.
  78291. * math/w_tgammal.c: Likewise.
  78292. * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
  78293. * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
  78294. * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
  78295. Minor optimizations. Pretty printing. Remove cruft.
  78296. * sysdeps/i386/fpu/e_acosf.S: Likewise.
  78297. * sysdeps/i386/fpu/e_acosh.S: Likewise.
  78298. * sysdeps/i386/fpu/e_acoshf.S: Likewise.
  78299. * sysdeps/i386/fpu/e_acoshl.S: Likewise.
  78300. * sysdeps/i386/fpu/e_acosl.c: Likewise.
  78301. * sysdeps/i386/fpu/e_asin.S: Likewise.
  78302. * sysdeps/i386/fpu/e_asinf.S: Likewise.
  78303. * sysdeps/i386/fpu/e_atan2.S: Likewise.
  78304. * sysdeps/i386/fpu/e_atan2f.S: Likewise.
  78305. * sysdeps/i386/fpu/e_atan2l.c: Likewise.
  78306. * sysdeps/i386/fpu/e_atanh.S: Likewise.
  78307. * sysdeps/i386/fpu/e_atanhf.S: Likewise.
  78308. * sysdeps/i386/fpu/e_atanhl.S: Likewise.
  78309. * sysdeps/i386/fpu/e_exp10.S: Likewise.
  78310. * sysdeps/i386/fpu/e_exp10f.S: Likewise.
  78311. * sysdeps/i386/fpu/e_exp10l.S: Likewise.
  78312. * sysdeps/i386/fpu/e_exp2.S: Likewise.
  78313. * sysdeps/i386/fpu/e_exp2f.S: Likewise.
  78314. * sysdeps/i386/fpu/e_exp2l.S: Likewise.
  78315. * sysdeps/i386/fpu/e_fmod.S: Likewise.
  78316. * sysdeps/i386/fpu/e_fmodf.S: Likewise.
  78317. * sysdeps/i386/fpu/e_fmodl.c: Likewise.
  78318. * sysdeps/i386/fpu/e_hypot.S: Likewise.
  78319. * sysdeps/i386/fpu/e_hypotf.S: Likewise.
  78320. * sysdeps/i386/fpu/e_log.S: Likewise.
  78321. * sysdeps/i386/fpu/e_log10.S: Likewise.
  78322. * sysdeps/i386/fpu/e_log10f.S: Likewise.
  78323. * sysdeps/i386/fpu/e_log10l.S: Likewise.
  78324. * sysdeps/i386/fpu/e_log2.S: Likewise.
  78325. * sysdeps/i386/fpu/e_log2f.S: Likewise.
  78326. * sysdeps/i386/fpu/e_log2l.S: Likewise.
  78327. * sysdeps/i386/fpu/e_logf.S: Likewise.
  78328. * sysdeps/i386/fpu/e_logl.S: Likewise.
  78329. * sysdeps/i386/fpu/e_pow.S: Likewise.
  78330. * sysdeps/i386/fpu/e_powf.S: Likewise.
  78331. * sysdeps/i386/fpu/e_powl.S: Likewise.
  78332. * sysdeps/i386/fpu/e_remainder.S: Likewise.
  78333. * sysdeps/i386/fpu/e_remainderf.S: Likewise.
  78334. * sysdeps/i386/fpu/e_remainderl.S: Likewise.
  78335. * sysdeps/i386/fpu/e_scalb.S: Likewise.
  78336. * sysdeps/i386/fpu/e_scalbf.S: Likewise.
  78337. * sysdeps/i386/fpu/e_scalbl.S: Likewise.
  78338. * sysdeps/i386/fpu/e_sqrt.S: Likewise.
  78339. * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
  78340. * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
  78341. * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
  78342. * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
  78343. * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
  78344. * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
  78345. * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
  78346. * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
  78347. * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
  78348. * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
  78349. * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
  78350. * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
  78351. * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
  78352. * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
  78353. * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
  78354. * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
  78355. * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
  78356. * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
  78357. * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
  78358. * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
  78359. * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
  78360. * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
  78361. * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
  78362. * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
  78363. * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
  78364. * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
  78365. * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
  78366. * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
  78367. * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
  78368. * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
  78369. * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
  78370. * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
  78371. * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
  78372. * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
  78373. * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
  78374. * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
  78375. * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
  78376. * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
  78377. * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
  78378. * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
  78379. * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
  78380. * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
  78381. * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
  78382. * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
  78383. * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
  78384. * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
  78385. * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
  78386. * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
  78387. * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
  78388. * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
  78389. * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
  78390. * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
  78391. * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
  78392. * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
  78393. * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
  78394. * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
  78395. * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
  78396. * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
  78397. * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
  78398. * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
  78399. * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
  78400. * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
  78401. * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
  78402. * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
  78403. * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
  78404. * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
  78405. * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
  78406. * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
  78407. * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
  78408. * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
  78409. * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
  78410. * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
  78411. * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
  78412. * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
  78413. * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
  78414. * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
  78415. * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
  78416. * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
  78417. * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
  78418. * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
  78419. * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
  78420. * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
  78421. * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
  78422. * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
  78423. * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
  78424. * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
  78425. * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
  78426. * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
  78427. * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
  78428. * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
  78429. * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
  78430. * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
  78431. * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
  78432. * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
  78433. * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
  78434. * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
  78435. * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
  78436. * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
  78437. * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
  78438. * sysdeps/s390/fpu/e_sqrt.c: Likewise.
  78439. * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
  78440. * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
  78441. * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
  78442. * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
  78443. * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
  78444. * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
  78445. * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
  78446. * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
  78447. * sysdeps/x86_64/fpu/e_logl.S: Likewise.
  78448. * sysdeps/x86_64/fpu/e_powl.S: Likewise.
  78449. * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
  78450. * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
  78451. * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
  78452. * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
  78453. * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
  78454. (__isnanf): Likewise.
  78455. (__isinf_ns): Likewise.
  78456. (__isinf_nsf): Likewise.
  78457. (__finite): Likewise.
  78458. (__finitef): Likewise.
  78459. (__ieee754_sqrt): Define as macro.
  78460. (__ieee754_sqrtf): Define as macro.
  78461. (__ieee754_sqrtl): Define as macro.
  78462. * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
  78463. inlined copy.
  78464. * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
  78465. __FINITE_MATH_ONLY__ consistent.
  78466. * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
  78467. 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
  78468. * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
  78469. of rawmemchr.
  78470. * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
  78471. 2011-10-09 Ulrich Drepper <drepper@gmail.com>
  78472. * po/ja.po: Update from translation team.
  78473. 2011-10-08 Roland McGrath <roland@hack.frob.com>
  78474. * locale/programs/locarchive.c (prepare_address_space): New function.
  78475. (create_archive, enlarge_archive, open_archive): Use it.
  78476. * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
  78477. inside [SHARED], where it is used.
  78478. * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
  78479. * nss/getent.c (netgroup_keys): Remove unused variable.
  78480. * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
  78481. 2011-10-08 Ulrich Drepper <drepper@gmail.com>
  78482. * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
  78483. * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
  78484. * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
  78485. * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
  78486. * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
  78487. * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
  78488. * math/Makefile (libm-calls): Add s_isinf_ns.
  78489. * math/divtc3.c: Use __isinf_nsl instead of isinf.
  78490. * math/multc3.c: Likewise.
  78491. * math/s_casin.c: Likewise.
  78492. * math/s_casinf.c: Likewise.
  78493. * math/s_casinl.c: Likewise.
  78494. * math/s_ccos.c: Likewise.
  78495. * math/s_ccosf.c: Likewise.
  78496. * math/s_ccosl.c: Likewise.
  78497. * math/s_ctan.c: Likewise.
  78498. * math/s_ctanf.c: Likewise.
  78499. * math/s_ctanh.c: Likewise.
  78500. * math/s_ctanhf.c: Likewise.
  78501. * math/s_ctanhl.c: Likewise.
  78502. * math/s_ctanl.c: Likewise.
  78503. * math/w_fmod.c: Likewise.
  78504. * math/w_fmodf.c: Likewise.
  78505. * math/w_fmodl.c: Likewise.
  78506. * math/w_remainder.c: Likewise.
  78507. * math/w_remainderf.c: Likewise.
  78508. * math/w_remainderl.c: Likewise.
  78509. * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
  78510. * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
  78511. * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
  78512. * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
  78513. * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
  78514. * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
  78515. * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
  78516. __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
  78517. * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
  78518. of the number.
  78519. * stdio-common/printf_fphex.c: Likewise.
  78520. * stdio-common/printf_size.c: Likewise.
  78521. * math/e_exp10.c: Include math_private.h using <...> not "...".
  78522. * math/e_exp10f.c: Likewise.
  78523. * math/e_exp10l.c: Likewise.
  78524. * math/e_exp2l.c: Likewise.
  78525. * math/e_j0l.c: Likewise.
  78526. * math/e_j1l.c: Likewise.
  78527. * math/e_jnl.c: Likewise.
  78528. * math/e_lgammal_r.c: Likewise.
  78529. * math/e_rem_pio2l.c: Likewise.
  78530. * math/e_scalb.c: Likewise.
  78531. * math/e_scalbf.c: Likewise.
  78532. * math/e_scalbl.c: Likewise.
  78533. * math/k_cosl.c: Likewise.
  78534. * math/k_sinl.c: Likewise.
  78535. * math/k_tanl.c: Likewise.
  78536. * math/s_cacoshf.c: Likewise.
  78537. * math/s_catan.c: Likewise.
  78538. * math/s_catanf.c: Likewise.
  78539. * math/s_catanh.c: Likewise.
  78540. * math/s_catanhf.c: Likewise.
  78541. * math/s_catanhl.c: Likewise.
  78542. * math/s_catanl.c: Likewise.
  78543. * math/s_ccosh.c: Likewise.
  78544. * math/s_ccoshf.c: Likewise.
  78545. * math/s_ccoshl.c: Likewise.
  78546. * math/s_cexp.c: Likewise.
  78547. * math/s_cexpf.c: Likewise.
  78548. * math/s_cexpl.c: Likewise.
  78549. * math/s_clog.c: Likewise.
  78550. * math/s_clog10.c: Likewise.
  78551. * math/s_clog10f.c: Likewise.
  78552. * math/s_clog10l.c: Likewise.
  78553. * math/s_clogf.c: Likewise.
  78554. * math/s_clogl.c: Likewise.
  78555. * math/s_csin.c: Likewise.
  78556. * math/s_csinf.c: Likewise.
  78557. * math/s_csinh.c: Likewise.
  78558. * math/s_csinhf.c: Likewise.
  78559. * math/s_csinhl.c: Likewise.
  78560. * math/s_csinl.c: Likewise.
  78561. * math/s_csqrt.c: Likewise.
  78562. * math/s_csqrtf.c: Likewise.
  78563. * math/s_csqrtl.c: Likewise.
  78564. * math/s_ctan.c: Likewise.
  78565. * math/s_ctanf.c: Likewise.
  78566. * math/s_ctanh.c: Likewise.
  78567. * math/s_ctanhf.c: Likewise.
  78568. * math/s_ctanhl.c: Likewise.
  78569. * math/s_ctanl.c: Likewise.
  78570. * math/s_ldexp.c: Likewise.
  78571. * math/s_ldexpf.c: Likewise.
  78572. * math/s_ldexpl.c: Likewise.
  78573. * math/s_significand.c: Likewise.
  78574. * math/s_significandf.c: Likewise.
  78575. * math/s_significandl.c: Likewise.
  78576. * math/w_acos.c: Likewise.
  78577. * math/w_acosf.c: Likewise.
  78578. * math/w_acosh.c: Likewise.
  78579. * math/w_acoshf.c: Likewise.
  78580. * math/w_acoshl.c: Likewise.
  78581. * math/w_acosl.c: Likewise.
  78582. * math/w_asin.c: Likewise.
  78583. * math/w_asinf.c: Likewise.
  78584. * math/w_asinl.c: Likewise.
  78585. * math/w_atan2.c: Likewise.
  78586. * math/w_atan2f.c: Likewise.
  78587. * math/w_atan2l.c: Likewise.
  78588. * math/w_atanh.c: Likewise.
  78589. * math/w_atanhf.c: Likewise.
  78590. * math/w_atanhl.c: Likewise.
  78591. * math/w_cosh.c: Likewise.
  78592. * math/w_coshf.c: Likewise.
  78593. * math/w_coshl.c: Likewise.
  78594. * math/w_dremf.c: Likewise.
  78595. * math/w_exp10.c: Likewise.
  78596. * math/w_exp10f.c: Likewise.
  78597. * math/w_exp10l.c: Likewise.
  78598. * math/w_exp2.c: Likewise.
  78599. * math/w_exp2f.c: Likewise.
  78600. * math/w_fmod.c: Likewise.
  78601. * math/w_fmodf.c: Likewise.
  78602. * math/w_fmodl.c: Likewise.
  78603. * math/w_hypot.c: Likewise.
  78604. * math/w_hypotf.c: Likewise.
  78605. * math/w_hypotl.c: Likewise.
  78606. * math/w_j0.c: Likewise.
  78607. * math/w_j0f.c: Likewise.
  78608. * math/w_j0l.c: Likewise.
  78609. * math/w_j1.c: Likewise.
  78610. * math/w_j1f.c: Likewise.
  78611. * math/w_j1l.c: Likewise.
  78612. * math/w_jn.c: Likewise.
  78613. * math/w_jnf.c: Likewise.
  78614. * math/w_jnl.c: Likewise.
  78615. * math/w_lgamma.c: Likewise.
  78616. * math/w_lgamma_r.c: Likewise.
  78617. * math/w_lgammaf.c: Likewise.
  78618. * math/w_lgammaf_r.c: Likewise.
  78619. * math/w_lgammal.c: Likewise.
  78620. * math/w_lgammal_r.c: Likewise.
  78621. * math/w_log.c: Likewise.
  78622. * math/w_log10.c: Likewise.
  78623. * math/w_log10f.c: Likewise.
  78624. * math/w_log10l.c: Likewise.
  78625. * math/w_log2.c: Likewise.
  78626. * math/w_log2f.c: Likewise.
  78627. * math/w_log2l.c: Likewise.
  78628. * math/w_logf.c: Likewise.
  78629. * math/w_logl.c: Likewise.
  78630. * math/w_pow.c: Likewise.
  78631. * math/w_powf.c: Likewise.
  78632. * math/w_powl.c: Likewise.
  78633. * math/w_remainder.c: Likewise.
  78634. * math/w_remainderf.c: Likewise.
  78635. * math/w_remainderl.c: Likewise.
  78636. * math/w_scalb.c: Likewise.
  78637. * math/w_scalbf.c: Likewise.
  78638. * math/w_scalbl.c: Likewise.
  78639. * math/w_sinh.c: Likewise.
  78640. * math/w_sinhf.c: Likewise.
  78641. * math/w_sinhl.c: Likewise.
  78642. * math/w_sqrt.c: Likewise.
  78643. * math/w_sqrtf.c: Likewise.
  78644. * math/w_sqrtl.c: Likewise.
  78645. * math/w_tgamma.c: Likewise.
  78646. * math/w_tgammaf.c: Likewise.
  78647. * math/w_tgammal.c: Likewise.
  78648. * po/ja.po: Update from translation team.
  78649. 2011-09-29 Andreas Jaeger <aj@suse.de>
  78650. [BZ #13179]
  78651. * sunrpc/netname.c (netname2host): Fix logic.
  78652. [BZ #6779]
  78653. [BZ #6783]
  78654. * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
  78655. correctly.
  78656. * math/w_remainder.c (__remainder): Likewise.
  78657. * math/w_remainderf.c (__remainderf): Likewise.
  78658. * math/libm-test.inc (remainder_test): Add test cases.
  78659. 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  78660. * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
  78661. sdiv_qrnnd.
  78662. 2011-10-07 Ulrich Drepper <drepper@gmail.com>
  78663. * string/test-memcmp.c: Avoid unncessary #defines.
  78664. Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
  78665. 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
  78666. * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
  78667. Use new sse2 version for core i3 - i7 as it's faster
  78668. than sse42 version.
  78669. (bit_Prefer_PMINUB_for_stringop): New.
  78670. * sysdeps/x86_64/rawmemchr.S: Update.
  78671. Replace with faster SSE2 version.
  78672. * sysdeps/x86_64/memrchr.S: New file.
  78673. * sysdeps/x86_64/memchr.S: Update.
  78674. Replace with faster SSE2 version.
  78675. 2011-09-12 Marek Polacek <mpolacek@redhat.com>
  78676. * elf/dl-load.c (lose): Add cast to avoid warning.
  78677. 2011-10-07 Ulrich Drepper <drepper@gmail.com>
  78678. * po/ca.po: Update from translation team.
  78679. * inet/getnetgrent_r.c: Hook up nscd.
  78680. * nscd/Makefile (routines): Add nscd_netgroup.
  78681. (nscd-modules): Add netgroupcache.
  78682. (CFLAGS-netgroupcache.c): Define.
  78683. * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
  78684. (cache_search): Add const to second parameter.
  78685. * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
  78686. INNETGR.
  78687. (dbs): Add netgrdb entry.
  78688. (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
  78689. (verify_persistent_db): Handle netgrdb.
  78690. (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
  78691. * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
  78692. GETFDNETGR.
  78693. (netgroup_response_header): Define.
  78694. (innetgroup_response_header): Define.
  78695. (datahead): Add netgroup_response_header and innetgroup_response_header
  78696. elements.
  78697. * nscd/nscd.conf: Add entries for netgroup cache.
  78698. * nscd/nscd.h (dbtype): Add netgrdb.
  78699. (_PATH_NSCD_NETGROUP_DB): Define.
  78700. (netgroup_iov_disabled): Declare.
  78701. (xmalloc, xcalloc, xrealloc): Move declarations here.
  78702. (cache_search): Adjust prototype.
  78703. Add netgroup-related prototypes.
  78704. * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
  78705. * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
  78706. (__nscd_innetgr): Declare.
  78707. * nscd/selinux.c (perms): Use access_vector_t as element type and
  78708. add netgroup-related initializers.
  78709. * nscd/netgroupcache.c: New file.
  78710. * nscd/nscd_netgroup.c: New file.
  78711. * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
  78712. * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
  78713. For four parameters use innetgr.
  78714. * nss/nss_files/files-init.c: Add definition and callback for netgr.
  78715. * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
  78716. (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
  78717. * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
  78718. * nscd/connections.c (register_traced_file): Don't register file
  78719. for disabled databases.
  78720. 2011-10-06 Ulrich Drepper <drepper@gmail.com>
  78721. * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
  78722. * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
  78723. from tree and freeing node.
  78724. 2011-09-25 Jiri Olsa <jolsa@redhat.com>
  78725. * nss/nsswitch.c (__nss_database_lookup): Handle
  78726. nss_parse_service_list out of memory case.
  78727. 2011-09-15 Jiri Olsa <jolsa@redhat.com>
  78728. * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
  78729. out of memory case.
  78730. 2011-10-04 Andreas Schwab <schwab@redhat.com>
  78731. * include/dlfcn.h (__RTLD_NOIFUNC): Define.
  78732. * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
  78733. pass it down.
  78734. * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
  78735. elf_machine_rela, elf_machine_lazy_rel.
  78736. (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
  78737. (ELF_DYNAMIC_DO_REL): Likewise.
  78738. (ELF_DYNAMIC_DO_RELA): Likewise.
  78739. (ELF_DYNAMIC_RELOCATE): Likewise.
  78740. * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
  78741. to ELF_DYNAMIC_DO_REL.
  78742. * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
  78743. (dl_main): In trace mode always set __RTLD_NOIFUNC.
  78744. * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
  78745. elf_machine_rela.
  78746. * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
  78747. skip_ifunc, don't call ifunc function if non-zero.
  78748. (elf_machine_rela): Likewise.
  78749. (elf_machine_lazy_rel): Likewise.
  78750. (elf_machine_lazy_rela): Likewise.
  78751. * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
  78752. (elf_machine_lazy_rel): Likewise.
  78753. * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
  78754. Likewise.
  78755. (elf_machine_lazy_rel): Likewise.
  78756. * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
  78757. Likewise.
  78758. (elf_machine_lazy_rel): Likewise.
  78759. * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
  78760. (elf_machine_lazy_rel): Likewise.
  78761. * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
  78762. (elf_machine_lazy_rel): Likewise.
  78763. * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
  78764. (elf_machine_lazy_rel): Likewise.
  78765. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
  78766. (elf_machine_lazy_rel): Likewise.
  78767. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
  78768. (elf_machine_lazy_rel): Likewise.
  78769. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
  78770. (elf_machine_lazy_rel): Likewise.
  78771. 2011-09-28 Ulrich Drepper <drepper@gmail.com>
  78772. * nss/nss_files/files-init.c (_nss_files_init): Use static
  78773. initialization for all the *_traced_file variables.
  78774. 2011-09-28 Andreas Schwab <schwab@redhat.com>
  78775. * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
  78776. 2011-09-27 Roland McGrath <roland@hack.frob.com>
  78777. [BZ #13226]
  78778. * manual/signal.texi (Longjmp in Handler): Grammar fixes.
  78779. 2011-09-27 Andreas Schwab <schwab@redhat.com>
  78780. * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
  78781. Reread the line before reparsing it.
  78782. 2011-09-26 Andreas Schwab <schwab@redhat.com>
  78783. * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
  78784. 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
  78785. Maxim Kuvyrkov <maxim@codesourcery.com>
  78786. Joseph Myers <joseph@codesourcery.com>
  78787. * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
  78788. if needed for __stack_chk_guard.
  78789. 2011-09-19 Roland McGrath <roland@hack.frob.com>
  78790. * sysdeps/posix/spawni.c (script_execute): Always define it.
  78791. It will be optimized away if unused.
  78792. (maybe_script_execute): New function.
  78793. (__spawni): Call it.
  78794. * Makerules: Don't include tls.make.
  78795. (config-tls): Always set to thread.
  78796. * tls.make.c: File removed.
  78797. 2011-09-19 Mike Frysinger <vapier@gentoo.org>
  78798. * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
  78799. * config.make.in (CPPFLAGS-config): New substituted variable.
  78800. 2011-09-15 Ulrich Drepper <drepper@gmail.com>
  78801. * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
  78802. [BZ #13192]
  78803. * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
  78804. Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
  78805. 2011-09-15 Roland McGrath <roland@hack.frob.com>
  78806. * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
  78807. (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
  78808. * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
  78809. (CALL_FAIL): Likewise.
  78810. * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
  78811. (CALL_FAIL): Macro removed.
  78812. Patch mostly by Mike Frysinger <vapier@gentoo.org>.
  78813. 2011-09-15 Ulrich Drepper <drepper@gmail.com>
  78814. * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
  78815. for __FINITE_MATH_ONLY__ == 1.
  78816. 2011-09-15 Andreas Schwab <schwab@redhat.com>
  78817. * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
  78818. __ieee754_sqrt instead of sqrt.
  78819. * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
  78820. __ieee754_sqrtf instead of sqrtf.
  78821. * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
  78822. __floorf instead of floorf.
  78823. * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
  78824. __floorf, __truncf instead of floorf, truncf.
  78825. 2011-09-14 Ulrich Drepper <drepper@gmail.com>
  78826. * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
  78827. * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
  78828. __extern_always_inline.
  78829. Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
  78830. 32-bit.
  78831. 2011-09-14 Andreas Schwab <schwab@redhat.com>
  78832. * elf/rtld.c (dl_main): Also relocate in dependency order when
  78833. doing symbol dependency testing.
  78834. 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
  78835. * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
  78836. Always define `refsym'.
  78837. 2011-09-13 Andreas Schwab <schwab@redhat.com>
  78838. * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
  78839. (__FD_ELT): Renamed from __FDELT.
  78840. * misc/bits/select2.h (__FD_ELT): Likewise.
  78841. * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
  78842. __FD_MASK instead of __FDELT, __FDMASK.
  78843. * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
  78844. Likewise.
  78845. * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
  78846. Likewise.
  78847. * elf/Makefile (gen-ldd): Fix pattern.
  78848. * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
  78849. (init_tls): Likewise.
  78850. 2011-09-12 Ulrich Drepper <drepper@gmail.com>
  78851. * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
  78852. 2011-09-12 Andreas Schwab <schwab@redhat.com>
  78853. * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
  78854. `struct cmsghdr *' instead of `void *'.
  78855. * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
  78856. Likewise.
  78857. 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
  78858. * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
  78859. if non-absolute.
  78860. * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
  78861. ldd_rewrite_script.
  78862. 2011-09-11 Ulrich Drepper <drepper@gmail.com>
  78863. * configure.in: Remove --with-tls option.
  78864. * config.h.in: Remove HAVE_TLS_SUPPORT entry.
  78865. * sysdeps/i386/elf/configure.in: Always test for TLS support and err
  78866. out in case it is missing.
  78867. * sysdeps/ia64/elf/configure.in: Likewise.
  78868. * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
  78869. * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
  78870. * sysdeps/s390/s390-32/elf/configure.in: Likewise.
  78871. * sysdeps/s390/s390-64/elf/configure.in: Likewise.
  78872. * sysdeps/sh/elf/configure.in: Likewise.
  78873. * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
  78874. * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
  78875. * sysdeps/x86_64/elf/configure.in: Likewise.
  78876. * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
  78877. * sysdeps/mach/hurd/tls.h: Likewise.
  78878. [BZ #13067]
  78879. * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
  78880. [BZ #13090]
  78881. * configure.in: Fix use of AC_INIT.
  78882. * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
  78883. 2011-09-10 Ulrich Drepper <drepper@gmail.com>
  78884. * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
  78885. __set_errno.
  78886. * malloc/hooks.c: Likewise.
  78887. [BZ #11929]
  78888. * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
  78889. variables statically.
  78890. (narenas): Initialize.
  78891. (list_lock): Initialize.
  78892. (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
  78893. initializtion of main_arena and list_lock. Small cleanups.
  78894. Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
  78895. * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
  78896. Add initializers to main_arena and mp_.
  78897. (malloc_state): Remove pagesize member. Change all users to use
  78898. GLRO(dl_pagesize).
  78899. * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
  78900. * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
  78901. is always initialized.
  78902. * malloc/malloc.c: Removed unused configurations and dead code.
  78903. * malloc/arena.c: Likewise.
  78904. * malloc/hooks.c: Likewise.
  78905. * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
  78906. * include/tls.h: Removed. USE___THREAD must always be defined.
  78907. * bits/libc-tsd.h: Don't handle !USE___THREAD.
  78908. * elf/dl-libc.c: Likewise.
  78909. * elf/dl-tsd.c: Likewise.
  78910. * include/errno.h: Likewise.
  78911. * include/netdb.h: Likewise.
  78912. * include/resolv.h: Likewise.
  78913. * inet/herrno-loc.c: Likewise.
  78914. * inet/herrno.c: Likewise.
  78915. * malloc/arena.c: Likewise.
  78916. * malloc/hooks.c: Likewise.
  78917. * malloc/malloc.c: Likewise.
  78918. * resolv/res-state.c: Likewise.
  78919. * resolv/res_libc.c: Likewise.
  78920. * sysdeps/i386/dl-machine.h: Likewise.
  78921. * sysdeps/ia64/dl-machine.h: Likewise.
  78922. * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
  78923. * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
  78924. * sysdeps/s390/s390-32/dl-machine.h: Likewise.
  78925. * sysdeps/s390/s390-64/dl-machine.h: Likewise.
  78926. * sysdeps/sh/dl-machine.h: Likewise.
  78927. * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
  78928. * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
  78929. * sysdeps/unix/i386/sysdep.S: Likewise.
  78930. * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
  78931. * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
  78932. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
  78933. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
  78934. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
  78935. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
  78936. * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
  78937. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
  78938. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
  78939. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
  78940. * sysdeps/unix/x86_64/sysdep.S: Likewise.
  78941. * sysdeps/x86_64/dl-machine.h: Likewise.
  78942. * tls.make.c: Likewise.
  78943. * configure.in: Remove --with-__thread option. Make tests for
  78944. --no-whole-archive, __builtin_expect, symbol redirection, __thread,
  78945. tls_model attribute fail if no support is available. Remove
  78946. USE_IN_LIBIO.
  78947. * Makeconfig: Adjust for dropped configure option. All features are
  78948. now mandatory.
  78949. * Makerules: Likewise.
  78950. * Versions.def: Likewise.
  78951. * argp/argp-fmtstream.c: Likewise.
  78952. * argp/argp-fmtstream.h: Likewise.
  78953. * argp/argp-help.c: Likewise.
  78954. * assert/assert.c: Likewise.
  78955. * config.h.in: Likewise.
  78956. * config.make.in: Likewise.
  78957. * configure: Likewise.
  78958. * configure.in: Likewise.
  78959. * csu/Versions: Likewise.
  78960. * csu/init.c: Likewise.
  78961. * elf/tst-audit2.c: Likewise.
  78962. * elf/tst-tls10.c: Likewise.
  78963. * elf/tst-tls10.h: Likewise.
  78964. * elf/tst-tls11.c: Likewise.
  78965. * elf/tst-tls12.c: Likewise.
  78966. * elf/tst-tls14.c: Likewise.
  78967. * elf/tst-tlsmod11.c: Likewise.
  78968. * elf/tst-tlsmod12.c: Likewise.
  78969. * elf/tst-tlsmod13.c: Likewise.
  78970. * elf/tst-tlsmod13a.c: Likewise.
  78971. * elf/tst-tlsmod14a.c: Likewise.
  78972. * elf/tst-tlsmod15b.c: Likewise.
  78973. * elf/tst-tlsmod16a.c: Likewise.
  78974. * elf/tst-tlsmod16b.c: Likewise.
  78975. * elf/tst-tlsmod7.c: Likewise.
  78976. * elf/tst-tlsmod8.c: Likewise.
  78977. * elf/tst-tlsmod9.c: Likewise.
  78978. * gmon/gmon.c: Likewise.
  78979. * grp/fgetgrent_r.c: Likewise.
  78980. * grp/putgrent.c: Likewise.
  78981. * hurd/fopenport.c: Likewise.
  78982. * include/libc-symbols.h: Likewise.
  78983. * include/tls.h: Likewise.
  78984. * intl/gettextP.h: Likewise.
  78985. * intl/loadinfo.h: Likewise.
  78986. * locale/global-locale.c: Likewise.
  78987. * locale/localeinfo.h: Likewise.
  78988. * mach/devstream.c: Likewise.
  78989. * malloc/arena.c: Likewise.
  78990. * malloc/set-freeres.c: Likewise.
  78991. * misc/err.c: Likewise.
  78992. * misc/getttyent.c: Likewise.
  78993. * misc/mntent_r.c: Likewise.
  78994. * posix/getopt.c: Likewise.
  78995. * posix/wordexp.c: Likewise.
  78996. * pwd/fgetpwent_r.c: Likewise.
  78997. * resolv/Versions: Likewise.
  78998. * resolv/res_hconf.c: Likewise.
  78999. * shadow/fgetspent_r.c: Likewise.
  79000. * shadow/putspent.c: Likewise.
  79001. * stdio-common/printf_fphex.c: Likewise.
  79002. * stdio-common/tmpfile.c: Likewise.
  79003. * stdlib/abort.c: Likewise.
  79004. * stdlib/fmtmsg.c: Likewise.
  79005. * sunrpc/auth_unix.c: Likewise.
  79006. * sunrpc/clnt_perr.c: Likewise.
  79007. * sunrpc/clnt_tcp.c: Likewise.
  79008. * sunrpc/clnt_udp.c: Likewise.
  79009. * sunrpc/clnt_unix.c: Likewise.
  79010. * sunrpc/openchild.c: Likewise.
  79011. * sunrpc/svc_simple.c: Likewise.
  79012. * sunrpc/svc_tcp.c: Likewise.
  79013. * sunrpc/svc_udp.c: Likewise.
  79014. * sunrpc/svc_unix.c: Likewise.
  79015. * sunrpc/xdr.c: Likewise.
  79016. * sunrpc/xdr_array.c: Likewise.
  79017. * sunrpc/xdr_rec.c: Likewise.
  79018. * sunrpc/xdr_ref.c: Likewise.
  79019. * sunrpc/xdr_stdio.c: Likewise.
  79020. 2011-09-09 Ulrich Drepper <drepper@gmail.com>
  79021. * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
  79022. 2011-07-03 Andreas Jaeger <aj@suse.de>
  79023. * math/libm-test.inc (jn_test): Add tests for BZ#11589.
  79024. * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
  79025. regenerate with gen-libm-tests.pl.
  79026. 2010-05-12 Petr Baudiš <pasky@suse.cz>
  79027. [BZ #11589]
  79028. * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
  79029. around j0() zero points by switching to j1().
  79030. * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
  79031. * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
  79032. * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
  79033. * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
  79034. 2011-09-09 Ulrich Drepper <drepper@gmail.com>
  79035. * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
  79036. instead of 0.
  79037. * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
  79038. instead of 0.
  79039. * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
  79040. Patch in part by Pavel Roskin <proski@gnu.org>.
  79041. [BZ #13138]
  79042. * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
  79043. realloc.
  79044. (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
  79045. Free memory block if necessary.
  79046. [BZ #12847]
  79047. * libio/genops.c (INTDEF): For string streams the _lock pointer can
  79048. be NULL. Don't lock in this case.
  79049. 2011-09-09 Roland McGrath <roland@hack.frob.com>
  79050. * elf/elf.h (ELFOSABI_GNU): New macro.
  79051. (ELFOSABI_LINUX): Define to that.
  79052. 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
  79053. * string/strncat.c (strncat): Undef the symbol in case it has been
  79054. defined in bits/string.h.
  79055. 2011-09-09 Ulrich Drepper <drepper@gmail.com>
  79056. * elf/sotruss.ksh: Clean up, fix, and complete help messages.
  79057. * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
  79058. link map.
  79059. 2011-08-17 Andreas Jaeger <aj@suse.de>
  79060. * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
  79061. 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
  79062. Ian Lance Taylor <iant@google.com>
  79063. * math/libm-test.inc (lround_test): New testcase.
  79064. * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
  79065. 2011-09-08 Ulrich Drepper <drepper@gmail.com>
  79066. * Makefile: Remove support for automatic cvs check-ins.
  79067. * Makerules: Likewise.
  79068. * config.make.in: Likewise.
  79069. * configure.in: Likewise.
  79070. * intl/Makefile: Likewise.
  79071. * locale/Makefile: Likewise.
  79072. * po/Makefile: Likewise.
  79073. * posix/Makefile: Likewise.
  79074. * sysdeps/gnu/Makefile: Likewise.
  79075. * sysdeps/mach/hurd/Makefile: Likewise.
  79076. * sysdeps/sparc/sparc32/Makefile: Likewise.
  79077. [BZ #13118]
  79078. * posix/Makefile (bug-regex32-ENV): Define.
  79079. Patch by John Stanley <jpsinthemix@verizon.net>.
  79080. * misc/Makefile (headers): Add bits/select2.h.
  79081. * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
  79082. * misc/bits/select2.h: New file.
  79083. * include/bits/select2.h: New file.
  79084. * debug/Makefile (routines): Add fdelt_chk.
  79085. * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
  79086. * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
  79087. FD_ISSET.
  79088. * debug/fdelt_chk.c: New file.
  79089. * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
  79090. * wcsmbs/test-wmemcmp.c: Likewise.
  79091. * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
  79092. * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
  79093. 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
  79094. * string/Makefile (strop-tests): Add memcmp.
  79095. * string/test-wmemcmp.c: New file.
  79096. * string/test-memcmp.c: Add wmemcmp support.
  79097. 2011-09-08 Roland McGrath <roland@hack.frob.com>
  79098. [BZ #13153]
  79099. * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
  79100. 2011-07-19 change.
  79101. * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
  79102. garbage value in a __mach_port_mod_refs call in the cases of the
  79103. task-self and thread-self ports.
  79104. 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
  79105. * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
  79106. 2011-09-08 Andreas Schwab <schwab@redhat.com>
  79107. * elf/dl-load.c (lose): Check for non-null L.
  79108. 2011-09-07 Ulrich Drepper <drepper@gmail.com>
  79109. * elf/dl-load.c (open_verify): Use O_CLOEXEC.
  79110. * elf/dl-libc.c (dlerror_run): Pass back error code from
  79111. dl_catch_error.
  79112. [BZ #13123]
  79113. * elf/dl-load.c (lose): Free l_origin if it is valid.
  79114. * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
  79115. names.
  79116. * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
  79117. * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
  79118. * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
  79119. * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
  79120. * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
  79121. Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
  79122. 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
  79123. * sysdeps/powerpc/fpu/e_hypot.c: New file.
  79124. * sysdeps/powerpc/fpu/e_hypotf.c: New file.
  79125. * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
  79126. * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
  79127. * sysdeps/powerpc/fpu/k_cosf.c: New file.
  79128. * sysdeps/powerpc/fpu/k_sinf.c: New file.
  79129. * sysdeps/powerpc/fpu/s_cosf.c: New file.
  79130. * sysdeps/powerpc/fpu/s_sinf.c: New file.
  79131. * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
  79132. * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
  79133. 2011-08-15 Alan Modra <amodra@gmail.com>
  79134. [BZ #13092]
  79135. * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
  79136. * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
  79137. * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
  79138. ppc_mcount to static-only-routines.
  79139. * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
  79140. __mcount_internal.
  79141. * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
  79142. __mcount_internal with usual JUMPTARGET. Remove useless nop.
  79143. 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
  79144. * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
  79145. for finite and infinity parameters.
  79146. 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
  79147. * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
  79148. and add nop instructions for throughput optimization.
  79149. * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
  79150. 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
  79151. * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
  79152. aligned copy for power7 with vector-scalar instructions.
  79153. * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
  79154. 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
  79155. * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
  79156. AVX check.
  79157. 2011-09-07 Andreas Schwab <schwab@redhat.com>
  79158. [BZ #13144]
  79159. * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
  79160. last change.
  79161. 2011-09-07 Ulrich Drepper <drepper@gmail.com>
  79162. * sysdeps/unix/sysv/linux/x86_64/init-first.c
  79163. (_libc_vdso_platform_setup): If vDSO is not present store pointer to
  79164. syscall wrapper around clock_gettime in __vdso_clock_gettime.
  79165. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
  79166. clock_gettime.
  79167. 2011-09-06 Ulrich Drepper <drepper@gmail.com>
  79168. * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
  79169. Forgot to demangle the pointer.
  79170. * sysdeps/i386/sysdep.h: Define atom_text_section.
  79171. * sysdeps/x86_64/sysdep.h: Likewise.
  79172. * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
  79173. section with atom_text_section.
  79174. * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
  79175. * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
  79176. * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
  79177. * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
  79178. * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
  79179. * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
  79180. * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
  79181. already be defined. Change to take two parameters and don't assign
  79182. result to variable. Adjust all users.
  79183. Define INTERNAL_GETTIME if not already defined.
  79184. Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
  79185. call.
  79186. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
  79187. HAVE_CLOCK_GETTIME_VSYSCALL.
  79188. * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
  79189. * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
  79190. gettimeofday vsyscall, just use time.
  79191. 2011-09-06 Andreas Schwab <schwab@redhat.com>
  79192. * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
  79193. <errno.h>.
  79194. 2011-09-06 Ulrich Drepper <drepper@gmail.com>
  79195. * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
  79196. syscall on x86-64.
  79197. * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
  79198. syscall.
  79199. * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
  79200. * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
  79201. syscall if possible.
  79202. 2011-09-05 Ulrich Drepper <drepper@gmail.com>
  79203. * elf/pldd.c (get_process_info): Don't read whole ELF header, just
  79204. e_ident. Don't pass to find_mapsXX.
  79205. * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
  79206. 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
  79207. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  79208. strchr-sse2-no-bsf strrchr-sse2-no-bsf
  79209. * sysdeps/x86_64/multiarch/strchr.S: Update.
  79210. Check bit_slow_BSF bit.
  79211. * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
  79212. * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
  79213. * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
  79214. 2011-09-05 Ulrich Drepper <drepper@gmail.com>
  79215. [BZ #13134]
  79216. * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
  79217. before glibc 2.15.
  79218. (tryshell): Define.
  79219. (__spawni): Change last parameter to be flag. Test
  79220. SPAWN_XFLAGS_USE_PATH flag to use path or not.
  79221. Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
  79222. * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
  79223. * posix/spawni.c: Likewise.
  79224. * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
  79225. * posix/spawnp.c: Likewise. Change normal version to use
  79226. SPAWN_XFLAGS_USE_PATH.
  79227. * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
  79228. SPAWN_XFLAGS_TRY_SHELL.
  79229. [BZ #13150]
  79230. * posix/glob.h: Remove gcc 1.x support.
  79231. [BZ #13068]
  79232. * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
  79233. 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
  79234. * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
  79235. strchr-sse2 strrchr-sse2 strchr-sse2-bsf
  79236. strrchr-sse2-bsf
  79237. * sysdeps/i386/i686/multiarch/strchr.S: New file.
  79238. * sysdeps/i386/i686/multiarch/strrchr.S: New file.
  79239. * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
  79240. * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
  79241. * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
  79242. * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
  79243. 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
  79244. * sysdeps/x86_64/wcscmp.S: New file.
  79245. * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
  79246. wcscmp-c wcscmp-sse2
  79247. * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
  79248. * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
  79249. * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
  79250. * wcsmbs/wcscmp.c: Allow renaming.
  79251. 2011-09-05 David S. Miller <davem@davemloft.net>
  79252. * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
  79253. stack slot, rather than the struct return pointer slot.
  79254. * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
  79255. * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
  79256. * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
  79257. * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
  79258. 2011-09-05 Ulrich Drepper <drepper@gmail.com>
  79259. * po/ja.po: Update from translation team.
  79260. [BZ #13144]
  79261. * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
  79262. kernel in 64-bit binaries.
  79263. 2011-09-01 David S. Miller <davem@davemloft.net>
  79264. * elf/elf.h (HWCAP_SPARC_*): Move to..
  79265. * sysdeps/sparc/sysdep.h: this new file and add new values.
  79266. * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
  79267. * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
  79268. _DL_HWCAP_COUNT to 24.
  79269. * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
  79270. entries.
  79271. * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
  79272. __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
  79273. * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
  79274. * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
  79275. instead of magic constants.
  79276. * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
  79277. 2011-08-31 David S. Miller <davem@davemloft.net>
  79278. * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
  79279. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
  79280. Reimplement to do errno handling inline.
  79281. (SYSCALL_ERROR_HANDLER): New macro.
  79282. (__SYSCALL_STRING): Do not do errno handling in asm.
  79283. (__CLONE_SYSCALL_STRING): Delete.
  79284. (__INTERNAL_SYSCALL_STRING): Delete.
  79285. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
  79286. sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
  79287. (PSEUDO): Reimplement to do errno handling inline.
  79288. (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
  79289. (SYSCALL_ERROR_HANDLER): New macro.
  79290. (__SYSCALL_STRING): Do not do errno handling in asm.
  79291. (__CLONE_SYSCALL_STRING): Delete.
  79292. (__INTERNAL_SYSCALL_STRING): Delete.
  79293. * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
  79294. Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
  79295. i386.
  79296. (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
  79297. (inline_syscall*): Add 'err' argument.
  79298. (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
  79299. INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
  79300. (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
  79301. INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
  79302. * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
  79303. * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
  79304. 2011-08-30 Andreas Schwab <schwab@redhat.com>
  79305. * elf/rtld.c (dl_main): Relocate objects in dependency order.
  79306. 2011-08-29 Jiri Olsa <jolsa@redhat.com>
  79307. * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
  79308. directive.
  79309. 2011-08-24 David S. Miller <davem@davemloft.net>
  79310. * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
  79311. 2011-08-24 Andreas Schwab <schwab@redhat.com>
  79312. * elf/Makefile: Add rules to build and run unload8 test.
  79313. * elf/unload8.c: New file.
  79314. * elf/unload8mod1.c: New file.
  79315. * elf/unload8mod1x.c: New file.
  79316. * elf/unload8mod2.c: New file.
  79317. * elf/unload8mod3.c: New file.
  79318. * elf/dl-close.c (_dl_close_worker): Reset private search list if
  79319. it wasn't used.
  79320. 2011-08-23 David S. Miller <davem@davemloft.net>
  79321. * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
  79322. subtract stack bias.
  79323. * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
  79324. %sp not %fp in calculations.
  79325. (_JMPBUF_UNWINDS_ADJ): Likewise.
  79326. * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
  79327. (aio_suspend): Call it to force an exception region around the
  79328. AIO_MISC_WAIT() invocation.
  79329. 2011-08-23 Andreas Schwab <schwab@redhat.com>
  79330. * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
  79331. backslash.
  79332. 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
  79333. * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
  79334. protection macro.
  79335. * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
  79336. and <dl-machine.h>.
  79337. (Elf64_FuncDesc): Remove.
  79338. 2011-08-22 David S. Miller <davem@davemloft.net>
  79339. * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
  79340. sigaltstack check, add missing cfi directives.
  79341. * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
  79342. missing cfi directives, and sigaltstack handling.
  79343. 2011-08-16 Andreas Schwab <schwab@redhat.com>
  79344. [BZ #11724]
  79345. * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
  79346. object is seen twice.
  79347. * elf/dl-fini.c (_dl_sort_fini): Likewise.
  79348. * elf/Makefile (distribute): Add tst-initorder2.c.
  79349. (tests): Add tst-initorder2.
  79350. (modules-names): Add tst-initorder2a tst-initorder2b
  79351. tst-initorder2c tst-initorder2d. Add rules to build them.
  79352. ($(objpfx)tst-initorder2.out): New rule.
  79353. * elf/tst-initorder2.c: New file.
  79354. * elf/tst-initorder2.exp: New file.
  79355. 2011-08-22 Andreas Schwab <schwab@redhat.com>
  79356. * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
  79357. * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
  79358. dependencies back to end of function.
  79359. * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
  79360. $(elfobjdir)/ld.so.
  79361. 2011-08-21 Ulrich Drepper <drepper@gmail.com>
  79362. * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
  79363. * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
  79364. * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
  79365. * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
  79366. * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
  79367. of __vdso_gettimeofday.
  79368. * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
  79369. __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
  79370. attribute_hidden.
  79371. (_libc_vdso_platform_setup): Remove initialization of
  79372. __vdso_gettimeofday and __vdso_time.
  79373. 2011-08-20 Ulrich Drepper <drepper@gmail.com>
  79374. * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
  79375. and fgetc_unlocked.
  79376. * nss/nss_files/files-key.c (search): Use fgets_unlocked and
  79377. getc_unlocked.
  79378. * elf/dl-open.c (add_to_global): Report additions to the global scope
  79379. for LD_DEBUG=scopes.
  79380. (dl_open_worker): Also print scope of newly loaded dependencies.
  79381. (_dl_show_scope): Indicate if there is no scope.
  79382. [BZ #13114]
  79383. * stdio-common/Makefile (tests): Add bug24.
  79384. * stdio-common/bug24.c: New file.
  79385. 2011-08-19 Andreas Jaeger <aj@suse.de>
  79386. [BZ #13114]
  79387. * libio/fileops.c (_IO_new_file_fopen): Fix handling of
  79388. non-existant file when using close-on-exec mode.
  79389. 2011-08-20 Ulrich Drepper <drepper@gmail.com>
  79390. * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
  79391. the very first instruction.
  79392. * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
  79393. the CFI state in the end.
  79394. * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
  79395. inclusion of dl-trampoline.h.
  79396. Based on a patch by Jiri Olsa <jolsa@redhat.com>.
  79397. 2011-08-19 Andreas Schwab <schwab@redhat.com>
  79398. * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
  79399. expectations for long double.
  79400. * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
  79401. from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
  79402. 2011-08-14 David S. Miller <davem@davemloft.net>
  79403. * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
  79404. artificual limit depends upon the system page size.
  79405. 2011-08-17 Ulrich Drepper <drepper@gmail.com>
  79406. * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
  79407. * resolv/Makefile: Define CFLAGS-libresolv.
  79408. 2011-08-17 Andreas Schwab <schwab@redhat.com>
  79409. * nss/makedb.c (compute_tables): Make variables used in nested
  79410. function static.
  79411. 2011-08-17 Ulrich Drepper <drepper@gmail.com>
  79412. * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
  79413. * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
  79414. if buffer was too small.
  79415. * elf/pldd.c (main): Attach to all threads in the process.
  79416. Rewrite /proc handling to use *at functions.
  79417. 2011-08-16 Ulrich Drepper <drepper@gmail.com>
  79418. * elf/dl-open.c (_dl_show_scope): Take additional parameter which
  79419. specifies first scope to show.
  79420. (dl_open_worker): Update callers. Move printing scope of new
  79421. object to before the relocation.
  79422. * elf/rtld.c (dl_main): Update _dl_show_scope call.
  79423. * sysdeps/generic/ldsodefs.h: Update declaration.
  79424. * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
  79425. string for the scope number.
  79426. 2011-08-14 Ulrich Drepper <drepper@gmail.com>
  79427. * nscd/servicescache.c (cache_addserv): Make sure written is always
  79428. initialized.
  79429. 2011-08-14 Roland McGrath <roland@hack.frob.com>
  79430. * sysdeps/i386/i486/bits/atomic.h
  79431. (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
  79432. statement expression, so as to suppress "set but not used" warning.
  79433. (__arch_c_compare_and_exchange_val_64_acq): Likewise.
  79434. * string/strncat.c (STRNCAT): Use prototype definition.
  79435. * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
  79436. (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
  79437. -Iprograms here.
  79438. (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
  79439. (localedef-modules): Add localedef.
  79440. (locale-modules): Add locale.
  79441. * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
  79442. * elf/rtld.c (dl_main): Invert order of assignment in last change,
  79443. to avoid a warning.
  79444. 2011-08-14 David S. Miller <davem@davemloft.net>
  79445. * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
  79446. RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
  79447. 2011-08-13 Ulrich Drepper <drepper@gmail.com>
  79448. * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
  79449. (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
  79450. * elf/rtld.c (dl_main): Set l_name of vDSO.
  79451. Call _dl_show_scope when DL_DEBUG_SCOPES.
  79452. (process_dl_debug): Recognize scopes flag and also set it for all.
  79453. * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
  79454. Declare _dl_show_scope.
  79455. * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
  79456. (do_dlopen): Pass caller_dlopen to dl_open.
  79457. (__libc_dlopen_mode): Initialize caller_dlopen.
  79458. * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
  79459. of libc. Make tolower call locale-independent. Optimize a bit by
  79460. using isdigit instead of isalnum.
  79461. * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
  79462. 2011-08-12 Ulrich Drepper <drepper@gmail.com>
  79463. * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
  79464. was a dependency or dynamically loaded.
  79465. 2011-08-11 Ulrich Drepper <drepper@gmail.com>
  79466. * intl/l10nflist.c: Allow architecture-specific pop function.
  79467. * sysdeps/x86_64/l10nflist.c: New file.
  79468. * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
  79469. classification.
  79470. 2011-08-10 Andreas Schwab <schwab@redhat.com>
  79471. * include/dirent.h: Add libc_hidden_proto for scandirat and
  79472. scandirat64. Don't declare __scandirat64.
  79473. * dirent/scandirat.c: Add libc_hidden_def.
  79474. * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
  79475. * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
  79476. 2011-08-10 David S. Miller <davem@davemloft.net>
  79477. * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
  79478. enum.
  79479. * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
  79480. * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
  79481. * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
  79482. 2011-08-09 Ulrich Drepper <drepper@gmail.com>
  79483. * Versions.def [libc]: Add GLIBC_2.15.
  79484. * dirent/Makefile (routines): Add scandirat and scandirat64.
  79485. * dirent/Versions [libc]: Export scandirat and scandirat64 for
  79486. GLIBC_2.15.
  79487. * dirent/dirent.h: Declare scandirat and scandirat64.
  79488. * dirent/scandirat.c: New file.
  79489. * dirent/scandirat64.c: New file.
  79490. * sysdeps/wordsize-64/scandirat.c: New file.
  79491. * sysdeps/wordsize-64/scandirat64.c: New file.
  79492. * dirent/opendir.c: Define opendirat.
  79493. * dirent/scandir.c: Move code to scandirat.c. Implement scandir
  79494. using scandirat.
  79495. * dirent/scandir64.c: Adjust for scandir.c change.
  79496. * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
  79497. __scandirat64, and __scandir_cancel_handler.
  79498. * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
  79499. additional parameter and use openat instead of open (outside of ld.so).
  79500. Add new __opendir as wrapper around __opendirat.
  79501. * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
  79502. here without requiring old scandirat implementation.
  79503. 2011-08-08 Ulrich Drepper <drepper@gmail.com>
  79504. * dirent/scandir.c (cancel_handler): Renamed to
  79505. __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
  79506. defined. Adjust users.
  79507. * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
  79508. * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
  79509. 2011-08-04 Ulrich Drepper <drepper@gmail.com>
  79510. * string/test-string.h (IMPL): Use __STRING to expand name and then
  79511. stringify it.
  79512. * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
  79513. of cleanups.
  79514. 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
  79515. * string/Makefile: Update.
  79516. (strop-tests): Append strncat.
  79517. * string/test-wcscmp.c: New file.
  79518. New comprehensive test for wcscmp.
  79519. * string/test-strcmp.c: Update.
  79520. (WIDE): New define.
  79521. 2011-07-22 Andreas Schwab <schwab@redhat.com>
  79522. * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
  79523. line.
  79524. 2011-07-26 Andreas Schwab <schwab@redhat.com>
  79525. * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
  79526. encoding to ACE if AI_IDN.
  79527. 2011-08-01 Jakub Jelinek <jakub@redhat.com>
  79528. * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
  79529. to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
  79530. 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
  79531. * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
  79532. Fix overflow bug in strncat.
  79533. * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
  79534. * string/test-strncat.c: Update.
  79535. Add new tests for checking overflow bugs.
  79536. 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
  79537. * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
  79538. strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
  79539. * sysdeps/i386/i686/multiarch/strcat.S: New file.
  79540. * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
  79541. * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
  79542. * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
  79543. * sysdeps/i386/i686/multiarch/strncat.S: New file.
  79544. * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
  79545. * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
  79546. * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
  79547. (USE_AS_STRCAT): Define.
  79548. Add strcat and strncat support.
  79549. * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
  79550. 2011-07-25 Andreas Schwab <schwab@redhat.com>
  79551. * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
  79552. __n bigger than INT_MAX+1.
  79553. (__strncmp_g): Likewise.
  79554. 2011-07-23 Ulrich Drepper <drepper@gmail.com>
  79555. * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
  79556. * libio/stido.h: Likewise.
  79557. * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
  79558. (AF_NFC): Define.
  79559. * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
  79560. (AF_NFC): Define.
  79561. * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
  79562. * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
  79563. * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
  79564. * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
  79565. * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
  79566. [BZ #13021]
  79567. * scripts/test-installation.pl: Don't expect libnss_test1 to be
  79568. installed.
  79569. * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
  79570. typo.
  79571. (_dl_x86_64_save_sse): Likewise.
  79572. 2011-07-22 Ulrich Drepper <drepper@gmail.com>
  79573. * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
  79574. OSXSAVE.
  79575. (_dl_x86_64_save_sse): Likewise.
  79576. * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
  79577. * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
  79578. 2011-07-21 Andreas Schwab <schwab@redhat.com>
  79579. * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
  79580. change.
  79581. (_dl_x86_64_save_sse): Use correct AVX check.
  79582. 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
  79583. * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
  79584. bug in strncpy/strncat.
  79585. * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
  79586. 2011-07-21 Ulrich Drepper <drepper@gmail.com>
  79587. * string/tester.c (test_strcat): Add tests for different alignments
  79588. of source and destination.
  79589. (test_strncat): Likewise.
  79590. 2011-07-20 Ulrich Drepper <drepper@gmail.com>
  79591. [BZ #12852]
  79592. * posix/glob.c (glob): Check passed in values before using them in
  79593. expressions to avoid some overflows.
  79594. (glob_in_dir): Likewise.
  79595. [BZ #13007]
  79596. * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
  79597. check for AVX enablement so that we don't crash with old kernels and
  79598. new hardware.
  79599. * elf/tst-audit4.c: Add same checks here.
  79600. * elf/tst-audit6.c: Likewise.
  79601. * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
  79602. 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
  79603. * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
  79604. 2011-07-20 Ulrich Drepper <drepper@gmail.com>
  79605. * po/cs.po: Update from translation team.
  79606. * po/bg.po: Likewise.
  79607. 2011-07-12 Marek Polacek <mpolacek@redhat.com>
  79608. * misc/sys/cdefs.h: Add support for const attribute.
  79609. * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
  79610. to gnu_dev_{major,minor,makedev} functions.
  79611. 2011-07-20 Marek Polacek <mpolacek@redhat.com>
  79612. * intl/dcigettext.c (get_output_charset): Add missing bracket.
  79613. 2011-07-20 Andreas Schwab <schwab@redhat.com>
  79614. * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
  79615. strlen results.
  79616. 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  79617. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
  79618. (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
  79619. register in order to avoid conflicts with the soft frame pointer
  79620. being held in r11 when necessary.
  79621. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
  79622. (INTERNAL_VSYSCALL_NCS): Likewise.
  79623. 2011-07-14 Marek Polacek <mpolacek@redhat.com>
  79624. * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
  79625. * elf/dl-fini.c (_dl_fini): Adjust caller.
  79626. * elf/dl-close.c (_dl_close_worker): Likewise.
  79627. * sysdeps/generic/ldsodefs.h: Adjust declaration.
  79628. 2011-07-15 Marek Polacek <mpolacek@redhat.com>
  79629. * elf/cache.c (load_aux_cache): Remove unnecessary condition of
  79630. "aux_cache->nlibs < 0".
  79631. * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
  79632. in the reload-count case.
  79633. 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
  79634. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  79635. strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
  79636. strncat-sse2-unaligned strncat-c strlen-sse2-pminub
  79637. * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
  79638. * sysdeps/x86_64/multiarch/strcat.S: New file.
  79639. * sysdeps/x86_64/multiarch/strncat.S: New file.
  79640. * sysdeps/x86_64/multiarch/strncat-c.c: New file.
  79641. * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
  79642. * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
  79643. * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
  79644. * sysdeps/x86_64/multiarch/strcpy-ssse3.S
  79645. (USE_AS_STRCAT): Define.
  79646. Add strcat and strncat support.
  79647. * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
  79648. * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
  79649. * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
  79650. * string/strncat.c: Update.
  79651. (USE_AS_STRNCAT): Define.
  79652. * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
  79653. Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
  79654. and i7.
  79655. * sysdeps/x86_64/multiarch/init-arch.h
  79656. (bit_Prefer_PMINUB_for_stringop): New.
  79657. (index_Prefer_PMINUB_for_stringop): Likewise.
  79658. * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
  79659. bit_Prefer_PMINUB_for_stringop.
  79660. 2011-07-19 Ulrich Drepper <drepper@gmail.com>
  79661. * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
  79662. buffer64.
  79663. * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
  79664. of casting of buffer.
  79665. * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
  79666. buffer32 and buffer64.
  79667. * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
  79668. writes instead of casting of buffer.
  79669. * crypt/md5.h (struct md5_ctx): Move buffer into union and add
  79670. buffer32.
  79671. * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
  79672. casting of buffer.
  79673. 2011-07-19 Andreas Schwab <schwab@redhat.com>
  79674. * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
  79675. 2011-07-19 Ulrich Drepper <drepper@gmail.com>
  79676. * nscd/nscd.c (termination_handler): Don't do anything for a database
  79677. if it has not yet been initialized.
  79678. 2011-07-18 Ulrich Drepper <drepper@gmail.com>
  79679. * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
  79680. 2011-07-15 Marek Polacek <mpolacek@redhat.com>
  79681. * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
  79682. 2011-07-18 Ulrich Drepper <drepper@gmail.com>
  79683. * po/nl.po: Update from translation team.
  79684. * po/sv.po: Likewise.
  79685. 2011-07-16 Roland McGrath <roland@hack.frob.com>
  79686. * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
  79687. now disallowed by GCC.
  79688. * configure.in (use-default-link): Default to yes if a test -shared
  79689. link meets our qualifications.
  79690. * configure: Regenerated.
  79691. * config.make.in (output-format): New variable.
  79692. * configure.in: Check for ld --print-output-format support.
  79693. * configure: Regenerated.
  79694. * Makerules ($(common-objpfx)format.lds)
  79695. [$(output-format) != unknown]: Just use $(output-format),
  79696. instead of the linker-script munging.
  79697. 2011-07-14 Roland McGrath <roland@hack.frob.com>
  79698. * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
  79699. of $(common-objpfx)shlib.lds.
  79700. * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
  79701. * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
  79702. Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
  79703. * configure.in (-z relro check): Adjust test code to add a large
  79704. writable data section after it.
  79705. * configure: Regenerated.
  79706. 2011-07-11 Roland McGrath <roland@hack.frob.com>
  79707. * configure.in (-z relro check): Fix test code to make the variable
  79708. truly const.
  79709. * configure: Regenerated.
  79710. 2011-07-11 Ulrich Drepper <drepper@gmail.com>
  79711. * nscd/nscd.h (struct traced_file): Define.
  79712. (struct database_dyn): Remove inotify_descr, reset_res, and filename
  79713. elements. Add traced_files.
  79714. (inotify_fd): Declare.
  79715. (register_traced_file): Declare.
  79716. * nscd/connections.c (dbs): Remove reset_res and filename initializers.
  79717. (inotify_fd): Export.
  79718. (resolv_conf_descr): Remove.
  79719. (nscd_init): Move inotify descriptor creation to main.
  79720. Don't register files for notification here.
  79721. (register_traced_file): New function.
  79722. (invalidate_cache): Don't use reset_res to determine whether to call
  79723. res_init, go through the list of registered files.
  79724. (main_loop_poll): The inotify descriptors are now stored in the
  79725. structures for the traced files.
  79726. (main_loop_epoll): Likewise.
  79727. * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
  79728. to __nss_disable_nscd.
  79729. * nscd/cache.c (prune_cache): There is no single inotify descriptor
  79730. for a database anymore. Check the records for all the registered
  79731. files instead.
  79732. * nss/Makefile (libnss_files-routines): Add files-init.
  79733. (libnss_db-routines): Add db-init.
  79734. * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
  79735. [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
  79736. * nss/nss_db/db-init.c: New file.
  79737. * nss/nss_files/files-init.c: New file.
  79738. * nss/nsswitch.c (nss_load_library): New function. Broken out of
  79739. __nss_lookup_function.
  79740. (__nss_lookup_function): Call nss_load_library.
  79741. (nss_load_all_libraries): New function.
  79742. (__nss_disable_nscd): Take parameter with callback function for files
  79743. to register. Set is_nscd. Load all the DSOs for the NSS modules
  79744. used for the cached services.
  79745. * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
  79746. * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
  79747. options for features to all the files in nscd.
  79748. * nss/nsswitch.c (nss_parse_file): Add missing fclose.
  79749. 2011-07-10 Roland McGrath <roland@hack.frob.com>
  79750. * csu/elf-init.c (__libc_csu_init): Comment typo.
  79751. 2011-07-09 Ulrich Drepper <drepper@gmail.com>
  79752. * po/pl.po: Update from translation team.
  79753. * po/ja.po: Likewise.
  79754. * po/ru.po: Likewise.
  79755. * po/ko.po: Likewise.
  79756. * po/fr.po: Likewise.
  79757. 2011-07-09 Roland McGrath <roland@hack.frob.com>
  79758. * configure.in (.ctors/.dtors header and trailer check):
  79759. Use an empirical test on a built program.
  79760. * configure: Regenerated.
  79761. * configure.in (-z relro check): Use an empirical test on a built DSO.
  79762. Detect, but do not require, on ia64.
  79763. * configure: Regenerated.
  79764. * configure.in (READELF): Find it with AC_CHECK_TOOL.
  79765. Update tests that use readelf to use $READELF instead.
  79766. * configure: Regenerated.
  79767. 2011-07-08 Ulrich Drepper <drepper@gmail.com>
  79768. * malloc/hooks.c (memalign_check): Avoid using checked_request2size
  79769. if the result is not used.
  79770. 2011-07-05 Andreas Jaeger <aj@suse.de>
  79771. [BZ #9696]
  79772. * stdlib/tst-strtod.c: Add testcase.
  79773. 2011-07-07 Ulrich Drepper <drepper@gmail.com>
  79774. * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
  79775. (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
  79776. The latter has a higher limit. Take additional parameter to pass to
  79777. the new function.
  79778. (__pathconf): Pass file to __statfs_link_max.
  79779. * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
  79780. __statfs_link_max.
  79781. * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
  79782. __statfs_link_max.
  79783. [BZ #12868]
  79784. * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
  79785. * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
  79786. Handle Lustre.
  79787. * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
  79788. (__statfs_filesize_max): Likewise.
  79789. Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
  79790. 2011-07-05 Andreas Jaeger <aj@suse.de>
  79791. * resolv/res_comp.c (dn_skipname): Remove unused variable.
  79792. 2011-07-06 Marek Polacek <mpolacek@redhat.com>
  79793. * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
  79794. `status' variable.
  79795. * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
  79796. Likewise.
  79797. 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
  79798. * Makefile (strop-tests): Add strncat.
  79799. * string/test-strncat.c: New file.
  79800. 2011-06-30 Marek Polacek <mpolacek@redhat.com>
  79801. * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
  79802. 2011-06-21 Andreas Jaeger <aj@suse.de>
  79803. * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
  79804. Copy rule from iconvdata/Makefile.
  79805. 2011-07-06 Ulrich Drepper <drepper@gmail.com>
  79806. [BZ #12922]
  79807. * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
  79808. but no long options are defined, just return 'W'.
  79809. 2011-06-22 Marek Polacek <mpolacek@redhat.com>
  79810. [BZ #9696]
  79811. * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
  79812. 2011-07-06 Ulrich Drepper <drepper@gmail.com>
  79813. * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
  79814. netgroups to read.
  79815. (innetgr): Likewise.
  79816. 2011-07-05 Roland McGrath <roland@hack.frob.com>
  79817. * config.make.in (install_root): Default to $(DESTDIR).
  79818. 2011-07-05 Ulrich Drepper <drepper@gmail.com>
  79819. * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
  79820. 2011-07-02 Roland McGrath <roland@hack.frob.com>
  79821. * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
  79822. * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
  79823. containing directory rather than embedding absolute directory names.
  79824. * scripts/check-local-headers.sh: Rewritten using awk.
  79825. Match by word, not by line. Print error messages for matches.
  79826. * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
  79827. * Makerules [shlib-lds-flags empty]:
  79828. ($(common-objpfx)libc_pic.opts): New target.
  79829. ($(common-objpfx)libc_pic.os.clean): New target.
  79830. ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
  79831. * config.make.in (OBJCOPY): New variable.
  79832. * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
  79833. * configure: Regenerated.
  79834. * config.make.in (use-default-link): New variable.
  79835. * configure.in (use_default_link): Grok --with-default-link to set it.
  79836. * configure: Regenerated.
  79837. * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
  79838. (shlib-lds, shlib-lds-flags): Define to empty.
  79839. * Makerules (shlib-lds): New variable.
  79840. (shlib-lds-flags): New variable.
  79841. (build-shlib, build-moduile, build-module-asneeded): Use it.
  79842. ($(common-objpfx)libc.so): Use $(shlib-lds).
  79843. ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
  79844. * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
  79845. * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
  79846. DT_FLAGS/DT_FLAGS_1 with zero flags.
  79847. * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
  79848. linker script munging.
  79849. 2011-07-02 Ulrich Drepper <drepper@gmail.com>
  79850. * crypt/sha512.h (struct sha512_ctx): Add union to access total also
  79851. as 128-bit value.
  79852. * crypt/sha512.c (sha512_process_block): Perform total addition using
  79853. 128-bit if possible.
  79854. (__sha512_finish_ctx): Likewise.
  79855. * crypt/sha256.h (struct sha256_ctx): Add union to access total also
  79856. as 64-bit value.
  79857. * crypt/sha256.c (SWAP64): Define.
  79858. (sha256_process_block): Perform total addition using 64-bit if
  79859. possible.
  79860. (__sha256_finish_ctx): Likewise.
  79861. 2011-07-01 Ulrich Drepper <drepper@gmail.com>
  79862. * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
  79863. * nscd/initgrcache.c (addinitgroupsX): Likewise.
  79864. * nscd/hstcache.c (cache_addhst): Likewise.
  79865. * nscd/grpcache.c (cache_addgr): Likewise.
  79866. * nscd/aicache.c (addhstaiX): Likewise.
  79867. * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
  79868. 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
  79869. * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
  79870. * nscd/initgrcache.c (addinitgroupsX): Likewise.
  79871. * nscd/hstcache.c (cache_addhst): Likewise.
  79872. * nscd/grpcache.c (cache_addgr): Likewise.
  79873. * nscd/aicache.c (addhstaiX): Likewise.
  79874. 2011-07-01 Andreas Schwab <schwab@redhat.com>
  79875. * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
  79876. domain only when needed.
  79877. 2011-06-30 Andreas Schwab <schwab@redhat.com>
  79878. * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
  79879. is always restored.
  79880. 2011-06-29 Ulrich Drepper <drepper@gmail.com>
  79881. * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
  79882. are re-adding the entry.
  79883. * nscd/servicescache.c (cache_addserv): Likewise.
  79884. 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
  79885. * sysdeps/generic/dl-irel.h: fix protection against multiple
  79886. inclusions.
  79887. * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
  79888. 2011-06-28 Ulrich Drepper <drepper@gmail.com>
  79889. [BZ #12935]
  79890. * malloc/memusage.sh: Fix quoting in message.
  79891. * debug/xtrace.sh: Likewise.
  79892. * configure.in: Remove support for --experimental-malloc option, make
  79893. it the default.
  79894. * config.make.in: Likewise.
  79895. * malloc/Makefile: Likewise.
  79896. 2011-06-27 Andreas Schwab <schwab@redhat.com>
  79897. * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
  79898. two-byte characters.
  79899. 2011-06-27 Roland McGrath <roland@hack.frob.com>
  79900. * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
  79901. AC_CACHE_CHECK invocation.
  79902. * configure: Regenerated.
  79903. * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
  79904. 2011-06-27 Ulrich Drepper <drepper@gmail.com>
  79905. [BZ #12350]
  79906. * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
  79907. bit from old_res_options.
  79908. * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
  79909. * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
  79910. value type for setfct.
  79911. 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
  79912. * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
  79913. __gettimeofday instead of gettimeofday.
  79914. 2011-06-26 Ulrich Drepper <drepper@gmail.com>
  79915. * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
  79916. 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
  79917. * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
  79918. * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
  79919. info.
  79920. 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
  79921. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  79922. strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
  79923. strcpy-sse2-unaligned strncpy-sse2-unaligned
  79924. stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
  79925. * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
  79926. * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
  79927. * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
  79928. * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
  79929. * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
  79930. * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
  79931. * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
  79932. * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
  79933. * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
  79934. (STRCPY): Support SSE2 and SSSE3 versions.
  79935. 2011-06-24 Ulrich Drepper <drepper@gmail.com>
  79936. [BZ #12874]
  79937. * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
  79938. * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
  79939. kernels which artificially limit size of requests.
  79940. 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
  79941. * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
  79942. strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
  79943. strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
  79944. * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
  79945. * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
  79946. * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
  79947. * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
  79948. * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
  79949. * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
  79950. * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
  79951. * sysdeps/i386/i686/multiarch/strcpy.S: New file.
  79952. * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
  79953. * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
  79954. * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
  79955. * sysdeps/i386/i686/multiarch/strncpy.S: New file.
  79956. * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
  79957. Enable unaligned load optimization for Intel Core i3, i5 and i7
  79958. processors.
  79959. * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
  79960. Define.
  79961. (index_Fast_Unaligned_Load): Define.
  79962. (HAS_FAST_UNALIGNED_LOAD): Define.
  79963. 2011-06-23 Marek Polacek <mpolacek@redhat.com>
  79964. * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
  79965. 2011-06-22 Ulrich Drepper <drepper@gmail.com>
  79966. [BZ #12907]
  79967. * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
  79968. until it is clear that the information is realy needed.
  79969. Patch mostly by David Hanisch <david.hanisch@nsn.com>.
  79970. 2011-06-22 Andreas Schwab <schwab@redhat.com>
  79971. * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
  79972. 2011-06-22 Ulrich Drepper <drepper@gmail.com>
  79973. * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
  79974. /sys/devices/system/cpu/online if it is usable.
  79975. * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
  79976. reading the information from the /proc filesystem to once a second.
  79977. 2011-06-21 Andreas Jaeger <aj@suse.de>
  79978. * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
  79979. NULL after inclusion of kernel headers.
  79980. 2011-06-21 Ulrich Drepper <drepper@gmail.com>
  79981. * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
  79982. calls to internal_setent.
  79983. [BZ #12885]
  79984. * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
  79985. addresses using gethostbyname4_r ignore IPv4 addresses.
  79986. * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
  79987. branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
  79988. * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
  79989. 2011-06-20 David S. Miller <davem@davemloft.net>
  79990. * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
  79991. inclusions.
  79992. * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
  79993. * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
  79994. (elf_irel): Use it.
  79995. * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
  79996. * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
  79997. * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
  79998. * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
  79999. * sysdeps/x86_64/dl-irel.h: Likewise.
  80000. * elf/dl-runtime.c: Use elf_ifunc_invoke.
  80001. * elf/dl-sym.c: Likewise.
  80002. 2011-06-15 Ulrich Drepper <drepper@gmail.com>
  80003. * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
  80004. need to dereference resplen2.
  80005. 2011-06-14 Andreas Schwab <schwab@redhat.com>
  80006. * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
  80007. 2011-06-15 Ulrich Drepper <drepper@gmail.com>
  80008. * Makeconfig: Define vardbdir and inst_vardbdir.
  80009. * nss/Makefile: Add rules to install db-Makefile.
  80010. * nss/nss_db/db-XXX.c: Cleanup.
  80011. * nss/Makefile (libnss_db-dbs): Add db-initgroups.
  80012. * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
  80013. GLIBC_PRIVATE.
  80014. * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
  80015. * nss/makedb.c: Implement -g option to specify that value strings
  80016. are generated and should not be added to table iterated over for
  80017. get*ent calls.
  80018. * nss/nss_db/db-initgroups.c: New file.
  80019. * nss/getent.c: Add support for initgroups lookups through getgrouplist
  80020. interface.
  80021. * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
  80022. (internal_getgrouplist): Adjust to name change.
  80023. Update use_initgroups_entry if this is not the first call.
  80024. * nss/databases.def: Add initgroups entry.
  80025. * nss/makedb.c (compute_tables): Check result of multiple hash table
  80026. sizes to minimize maximum chain length.
  80027. 2011-06-14 Ulrich Drepper <drepper@gmail.com>
  80028. * Versions.def: Add entry for libnss_db.
  80029. * shlib-versions: Likewise.
  80030. * nss/Makefile: Add rules to build libnss_db.
  80031. * nss/Versions: Add libnss_db information. Organize libnss_files
  80032. entries better.
  80033. * nss/db-Makefile: Add gshadow support. Change rules for the new
  80034. makedb progra. Some minor improvements to generate smaller files.
  80035. * nss/nss_db/nss_db.h: Move NSS database header data structures to
  80036. here from...
  80037. * nss/makedb.c: ...here.
  80038. Improve database format to be smaller and require less memory at
  80039. runtime.
  80040. * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
  80041. db anymore.
  80042. * nss/nss_db/db-netgrp.c: Likewise.
  80043. * nss/nss_db/db-open.c: Likewise.
  80044. * nss/nss_files/flies-XXX.x: Adjust comments.
  80045. * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
  80046. * nss/nss_files/files-grp.c: Likewise.
  80047. * nss/nss_files/files-hosts.c: Likewise.
  80048. * nss/nss_files/files-network.c: Likewise.
  80049. * nss/nss_files/files-proto.c: Likewise.
  80050. * nss/nss_files/files-pwd.c: Likewise.
  80051. * nss/nss_files/files-rpc.c: Likewise.
  80052. * nss/nss_files/files-service.c: Likewise.
  80053. * nss/nss_files/files-sgrp.c: Likewise.
  80054. * nss/nss_files/files-spwd.c: Likewise.
  80055. * nss/nss_db/db-alias.c: Removed.
  80056. * nss/nss_db/dummy-db.h: Removed.
  80057. 2011-06-02 Ulrich Drepper <drepper@gmail.com>
  80058. * nss/makedb.c: Rewritten to not use database library.
  80059. * nss/Makefile: Update to build new makedb program.
  80060. 2011-06-14 Andreas Jaeger <aj@suse.de>
  80061. * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
  80062. memset declaration.
  80063. 2011-06-10 Andreas Schwab <schwab@redhat.com>
  80064. * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
  80065. tmpbuf.
  80066. 2011-06-10 Roland McGrath <roland@hack.frob.com>
  80067. * Makerules (shlib.lds): Fail if the linker script comes out empty.
  80068. * elf/Makefile ($(objpfx)ld.so): Likewise.
  80069. * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
  80070. Don't list ld.so twice in dependencies.
  80071. * posix/bug-regex31.c: Include <stdlib.h>.
  80072. * nscd/hstcache.c (cache_addhst): Remove unused variable.
  80073. * nis/nss_compat/compat-spwd.c
  80074. (getspent_next_nss_netgr): Remove unused variable.
  80075. * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
  80076. * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
  80077. nonmembers" output to use the right array.
  80078. * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
  80079. * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
  80080. * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
  80081. * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
  80082. * catgets/gencat.c (read_input_file): Likewise.
  80083. * locale/programs/locarchive.c (enlarge_archive): Likewise.
  80084. * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
  80085. variable definition inside #if's controlling its use.
  80086. * inet/getnetgrent_r.c (innetgr): Remove unused variable.
  80087. * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
  80088. * misc/syslog.c (__vsyslog_chk): Remove unused variable.
  80089. * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
  80090. unreachable code.
  80091. * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
  80092. * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
  80093. * configure: Regenerated.
  80094. * Makerules: Revert last change.
  80095. * elf/Makefile: Likewise.
  80096. 2011-06-09 Roland McGrath <roland@hack.frob.com>
  80097. * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
  80098. * elf/Makefile ($(objpfx)librtld.os): Likewise.
  80099. (reloc-link): Likewise.
  80100. 2011-06-09 Ulrich Drepper <drepper@gmail.com>
  80101. * elf/Makefile: Add rules to build pldd.
  80102. * elf/pldd.c: New file.
  80103. * elf/pldd-xx.c: New file.
  80104. 2011-06-07 Ulrich Drepper <drepper@gmail.com>
  80105. * version.h: Update for 2.15 development version.
  80106. 2011-06-07 David S. Miller <davem@davemloft.net>
  80107. * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
  80108. ifuncs.
  80109. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
  80110. elf_machine_lazy_rel): Likewise.
  80111. * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
  80112. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
  80113. elf_machine_lazy_rel): Likewise.
  80114. * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
  80115. dl_hwcap via passed in argument.
  80116. * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
  80117. Likewise.
  80118. 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  80119. * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
  80120. 2011-06-06 Roland McGrath <roland@hack.frob.com>
  80121. [BZ #12849]
  80122. * manual/fdl-1.1.texi: New file, verbatim from:
  80123. http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
  80124. * manual/lgpl-2.1.texi: New file, verbatim from:
  80125. http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
  80126. * manual/Makefile (licenses): New variable, list those new file names.
  80127. (texis): Use it.
  80128. (chapters.% top-menu.%): Include $(licenses) with $(appendices).
  80129. * manual/fdl.texi: File removed.
  80130. * manual/lesser.texi: File removed.
  80131. * manual/libc.texinfo (Copying, Documentation License):
  80132. Use new @include file names, put @appendix directive before @include.
  80133. 2011-06-04 Jakub Jelinek <jakub@redhat.com>
  80134. [BZ #12841]
  80135. * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
  80136. (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
  80137. (mq_open): Add __NTH.
  80138. 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
  80139. * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
  80140. Assume Intel Core i3/i5/i7 processor if AVX is available.
  80141. 2011-05-31 Ulrich Drepper <drepper@gmail.com>
  80142. * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
  80143. typo.
  80144. 2011-05-31 Andreas Schwab <schwab@redhat.com>
  80145. * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
  80146. memory. Use alloca_account. Fix memory leak when retrying.
  80147. 2011-05-31 Ulrich Drepper <drepper@gmail.com>
  80148. * version.h (RELEASE): Bump for 2.14 release.
  80149. * include/features.h (__GLIBC_MINOR__): Bump to 14.
  80150. * config.make.in (RANLIB): Remove entry.
  80151. 2011-05-30 Ulrich Drepper <drepper@gmail.com>
  80152. * po/Makefile (po-sed-cmd): Add ksh to extensions.
  80153. (libc.pot): Work around missing support for .ksh extension in xgettext.
  80154. [BZ #12684]
  80155. * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
  80156. if both request failed.
  80157. (send_dg): In case of server errors clear resplen or *resplen2.
  80158. [BZ #12454]
  80159. * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
  80160. when there are multiple maps.
  80161. * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
  80162. (_dl_fini): Remove test here.
  80163. * elf/rtld.c (dl_main): Don't allow the loader to load itself.
  80164. 2011-05-29 Ulrich Drepper <drepper@gmail.com>
  80165. [BZ #12350]
  80166. * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
  80167. bit from old_res_options.
  80168. (gaih_inet): Likewise.
  80169. [BZ #11099]
  80170. * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
  80171. as signed.
  80172. * resolv/res_init.c (res_setoptions): Make the code more compact.
  80173. [BZ #11558]
  80174. * resolv/res_init.c (res_setoptions): Recognize use-vc option and
  80175. set RES_USEVC.
  80176. [BZ #11634]
  80177. * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
  80178. * malloc/malloc.h: Mark malloc hook variables as deprecated.
  80179. [BZ #11781]
  80180. * malloc/malloc.h: Declare malloc hook variables as volatile.
  80181. * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
  80182. in last patch.
  80183. [BZ #11799]
  80184. * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
  80185. raise in the comment.
  80186. * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
  80187. * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
  80188. * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
  80189. 2011-05-28 Ulrich Drepper <drepper@gmail.com>
  80190. [BZ #12811]
  80191. * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
  80192. grow the buffers more if it already has to be sufficient.
  80193. (build_wcs_upper_buffer): Likewise.
  80194. * posix/regexec.c (check_matching): Likewise.
  80195. (clean_state_log_if_needed): Likewise.
  80196. (extend_buffers): Don't enlarge buffers beyond size of the input
  80197. buffer.
  80198. Patches mostly by Emil Wojak <emil@wojak.eu>.
  80199. * posix/bug-regex32.c: New file.
  80200. * posix/Makefile (tests): Add bug-regex32.
  80201. * locale/findlocale.c (_nl_find_locale): Return right away if
  80202. _nl_explode_name failed.
  80203. * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
  80204. * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
  80205. * debug/xtrace.sh: Unify messages.
  80206. * malloc/memusage.sh: Likewise.
  80207. [BZ #12813]
  80208. * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
  80209. time symbol from vDSO. Substitute with vsyscall if not available.
  80210. * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
  80211. __vdso_time.
  80212. * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
  80213. * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
  80214. * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
  80215. Add sendmmsg and internal_sendmmsg.
  80216. * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
  80217. * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
  80218. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
  80219. * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
  80220. * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
  80221. * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
  80222. 2011-05-27 Ulrich Drepper <drepper@gmail.com>
  80223. [BZ #12813]
  80224. * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
  80225. Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
  80226. available.
  80227. * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
  80228. __vdso_getcpu.
  80229. [BZ #12814]
  80230. * iconvdata/Makefile (tests): Add bug-iconv9.
  80231. * iconvdata/bug-iconv9.c: New file.
  80232. 2011-05-27 Andreas Schwab <schwab@redhat.com>
  80233. [BZ #12814]
  80234. * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
  80235. 2011-05-25 Jakub Jelinek <jakub@redhat.com>
  80236. * sysdeps/unix/sysv/linux/x86_64/sys/user.h
  80237. (struct user_regs_struct): Change intcs field back to cs.
  80238. 2011-05-25 Ulrich Drepper <drepper@gmail.com>
  80239. * po/ja.po: Update from translation team.
  80240. 2011-05-23 Ulrich Drepper <drepper@gmail.com>
  80241. [BZ #12795]
  80242. * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
  80243. * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
  80244. 2011-05-20 Andreas Schwab <schwab@redhat.com>
  80245. * stdlib/longlong.h: Update from GCC.
  80246. 2011-05-23 Andreas Schwab <schwab@redhat.com>
  80247. * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
  80248. parameter name.
  80249. * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
  80250. Add parameter name.
  80251. (__sysconf): Pass it down.
  80252. 2011-05-22 Ulrich Drepper <drepper@gmail.com>
  80253. [BZ #12671]
  80254. * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
  80255. some situations.
  80256. * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
  80257. * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
  80258. add in in __libc_use_alloca calls. Adjust callers.
  80259. (glob): Use malloc in some situations.
  80260. * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
  80261. and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
  80262. pltexit.
  80263. 2011-05-21 Ulrich Drepper <drepper@gmail.com>
  80264. * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
  80265. and CLOCK_BOOTTIME_ALARM.
  80266. [BZ #12782]
  80267. * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
  80268. is returned.
  80269. * string/_strerror.c (__strerror_r): Print negative errors as signed
  80270. numbers.
  80271. [BZ #12777]
  80272. * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
  80273. (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
  80274. * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
  80275. * configure.in: Fix typo in redirection and correct removal of test
  80276. files in two cases.
  80277. [BZ #12788]
  80278. * locale/setlocale.c (new_composite_name): Fix test to check for
  80279. identical name of all categories.
  80280. [BZ #12792]
  80281. * libio/filedoalloc.c (local_isatty): New function.
  80282. (_IO_file_doallocate): Use local_isatty.
  80283. * stdio-common/perror.c (perror): In case a new stream is used
  80284. forward the stream error.
  80285. * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
  80286. error flag.
  80287. 2011-05-20 Ulrich Drepper <drepper@gmail.com>
  80288. [BZ #11884]
  80289. * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
  80290. alloca.
  80291. * include/alloca.h (extend_alloca_account): Define.
  80292. [BZ #11857]
  80293. * posix/regex.h: Fix comments with documentation of user-accessible
  80294. fields after compilation and describe correct free'ing of pattern
  80295. after re_compile_pattern.
  80296. Patch by Reuben Thomas <rrt@sc3d.org>.
  80297. 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
  80298. * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
  80299. and -mno-altivec to prevent the compiler from using Altivec and/or
  80300. VSX instructions when the corresponding registers are not available.
  80301. 2011-05-19 Andreas Schwab <schwab@redhat.com>
  80302. * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
  80303. 2011-05-19 Ulrich Drepper <drepper@gmail.com>
  80304. * libio/freopen.c (freopen): Use __dup2, not dup2.
  80305. * libio/freopen64.c (freopen64): Likewise.
  80306. 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
  80307. [BZ #12775]
  80308. * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
  80309. * math/Makefile (tests): Add test-powl.
  80310. (CFLAGS-test-powl.c): Define.
  80311. * math/test-powl.c: New file.
  80312. 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
  80313. * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
  80314. 2011-05-17 Ulrich Drepper <drepper@gmail.com>
  80315. [BZ #11837]
  80316. * iconvdata/gb18030.c: Update to GB18020-2005.
  80317. 2011-05-16 Ulrich Drepper <drepper@gmail.com>
  80318. * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
  80319. RE_SYNTAX_POSIX_AWK): Update to match recent development.
  80320. Patch by Aharon Robbins <arnold@skeeve.com>.
  80321. [BZ #11892]
  80322. * stdlib/putenv.c (putenv): Don't always create copy of the variable
  80323. on the stack.
  80324. [BZ #11895]
  80325. * misc/pselect.c (__pselect): Handle timeout value errors hidden
  80326. through underflows.
  80327. [BZ #12766]
  80328. * misc/error.c (error_at_line): Ensure file_name and old_file_name
  80329. point to strings before performing equality test for error_one_per_line
  80330. mode.
  80331. [BZ #11697]
  80332. * login/programs/pt_chown.c (do_pt_chown): Always call chown.
  80333. [BZ #11820]
  80334. * sysdeps/unix/sysv/linux/x86_64/sys/user.h
  80335. (struct user_fpregs_struct): Avoid __uint*_t types.
  80336. [BZ #6420]
  80337. * malloc/mtrace.c (tr_where): Add additional parameter to point to
  80338. symbol info. Use it instead of calling _dl_addr locally.
  80339. (lock_and_info): New function.
  80340. (tr_freehook): Call lock_and_info and pass symbol info as additional
  80341. parameter to tr_where.
  80342. (tr_mallochook): Likewise.
  80343. (tr_reallochook): Likewise.
  80344. (tr_memalignhook): Likewise.
  80345. * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
  80346. used and couldn't be at all thread-safe.
  80347. 2011-05-15 Ulrich Drepper <drepper@gmail.com>
  80348. * libio/freopen.c (freopen): Don't close old file descriptor
  80349. before the new one is opened. Instead dup the new file descriptor
  80350. to the old one after the new stream is created.
  80351. * libio/freopen64.c (freopen64): Likewise.
  80352. * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
  80353. * libio/fileops.c (_IO_new_file_close_it): Handle new
  80354. _IO_FLAGS2_NOCLOSE flag.
  80355. (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
  80356. If _IO_file_open didn't set FD_CLOEXEC do it after the call.
  80357. * libio/oldfileops.c (_IO_old_file_close_it): Handle new
  80358. _IO_FLAGS2_NOCLOSE flag.
  80359. * include/unistd.h: Add hidden_proto for dup3.
  80360. Define __have_dup3.
  80361. * io/dup3.c: Define hidden symbol.
  80362. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
  80363. [BZ #7101]
  80364. * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
  80365. when an incomplete long option is used.
  80366. * posix/tst-getopt_long1.c: New file.
  80367. * posix/Makefile (tests): Add tst-getopt_long1.
  80368. [BZ #10138]
  80369. * scripts/config.guess: Update from autoconf-2.68.
  80370. * scripts/config.sub: Likewise.
  80371. [BZ #10157]
  80372. * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
  80373. tests into ...
  80374. (has_cpuclock): ...this. New function.
  80375. * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
  80376. macro here based on has_cpuclock code.
  80377. [BZ #10149]
  80378. * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
  80379. First byte (not low byte) is now always NUL.
  80380. * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
  80381. * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
  80382. Use non-cancelable interfaces.
  80383. [BZ #9809]
  80384. * locale/iso-639.def: Add entry for Sorani.
  80385. [BZ #11901]
  80386. * include/stdlib.h: Move include protection to the right place.
  80387. Define abort_msg_s. Declare __abort_msg with it.
  80388. * stdlib/abort.c (__abort_msg): Adjust type.
  80389. * assert/assert.c (__assert_fail_base): New function. Majority
  80390. of code from __assert_fail. Allocate memory for __abort_msg with
  80391. mmap.
  80392. (__assert_fail): Now call __assert_fail_base.
  80393. * assert/assert-perr.c: Remove bulk of implementation. Use
  80394. __assert_fail_base.
  80395. * include/assert.hL Declare __assert_fail_base.
  80396. * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
  80397. mmap.
  80398. * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
  80399. 2011-05-14 Ulrich Drepper <drepper@gmail.com>
  80400. [BZ #11952]
  80401. [BZ #12453]
  80402. * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
  80403. until all modules are registered in the DTV.
  80404. * elf/Makefile: Add rules to build and run tst-tls19.
  80405. * elf/tst-tls19.c: New file.
  80406. * elf/tst-tls19mod1.c: New file.
  80407. * elf/tst-tls19mod2.c: New file.
  80408. * elf/tst-tls19mod3.c: New file.
  80409. Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
  80410. [BZ #12083]
  80411. * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
  80412. correctly.
  80413. [BZ #12601]
  80414. * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
  80415. two-byte sequence errors.
  80416. * iconvdata/Makefile (tests): Add bug-iconv8.
  80417. * iconvdata/bug-iconv8.c: New file.
  80418. [BZ #12626]
  80419. * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
  80420. buf2 definition.
  80421. * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
  80422. [BZ #12432]
  80423. * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
  80424. (dummy_getcfa): New function.
  80425. (init): Get _Unwind_GetCFA address, use dummy if not found.
  80426. (backtrace_helper): In recursion check, also check whether CFA changes.
  80427. (__backtrace): Completely initialize arg.
  80428. * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
  80429. storing incomplete byte sequence in state object. Avoid testing for
  80430. guaranteed too small input if we know there is enough data available.
  80431. 2011-05-11 Andreas Schwab <schwab@redhat.com>
  80432. * Makeconfig (+link-pie): Indent.
  80433. * Rules (binaries-pie): Define if $(have-fpie) and
  80434. $(build-shared).
  80435. (binaries-shared): Also filter out $(binaries-pie).
  80436. ($(addprefix $(objpfx),$(binaries-pie))): New rule.
  80437. * nscd/Makefile (others-pie): Add nscd.
  80438. (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
  80439. ($(objpfx)nscd): Remove command override.
  80440. * login/Makefile (others-pie): Add pt_chown.
  80441. ($(objpfx)pt_chown): Remove command override.
  80442. * elf/Makefile: Add PIE tests to tests and tests-pie variables and
  80443. remove command overrides.
  80444. 2011-05-13 Ulrich Drepper <drepper@gmail.com>
  80445. * libio/tst_putwc.c: Fix error messages.
  80446. [BZ #12724]
  80447. * libio/fileops.c (_IO_new_file_close_it): Always flush when
  80448. currently writing and seek to current position when not.
  80449. * libio/Makefile (tests): Add bug-fclose1.
  80450. * libio/bug-fclose1.c: New file.
  80451. 2011-05-12 Ulrich Drepper <drepper@gmail.com>
  80452. [BZ #12511]
  80453. * elf/dl-lookup.c (enter): Don't test for copy relocation here and
  80454. don't set DF_1_NODELETE here.
  80455. (do_lookup_x): When entering new entry test for copy relocation
  80456. and if necessary set DF_1_NODELETE flag.
  80457. * elf/tst-unique4.cc: New file.
  80458. * elf/tst-unique4.h: New file.
  80459. * elf/tst-unique4lib.cc: New file.
  80460. * elf/Makefile: Add rules to build and run tst-unique4.
  80461. Patch by Piotr Bury <pbury@goahead.com>.
  80462. 2011-05-11 Ulrich Drepper <drepper@gmail.com>
  80463. [BZ #12052]
  80464. * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
  80465. [BZ #12625]
  80466. * misc/mntent_r.c (addmntent): Flush the stream after the output
  80467. [BZ #12393]
  80468. * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
  80469. (is_trusted_path_normalize): Skip initial colon. Append slash
  80470. to empty buffer. Duplicate is_trusted_path code but allow
  80471. constructed patch to be prefix.
  80472. (is_dst): Allow $ORIGIN followed by /.
  80473. (_dl_dst_substitute): Correct clearing of check_for_trusted.
  80474. Correct testing of result of is_trusted_path_normalize
  80475. (decompose_rpath): Fix warning.
  80476. 2011-05-10 Ulrich Drepper <drepper@gmail.com>
  80477. [BZ #11257]
  80478. * grp/initgroups.c (internal_getgrouplist): When we found the service
  80479. list through the initgroups entry in nsswitch.conf do not always
  80480. continue on a successful lookup. Don't always use the
  80481. __nss_group_database value if it is set.
  80482. * nss/nsswitch.conf (initgroups): Change action for successful db
  80483. lookup to continue for compatibility.
  80484. 2011-05-09 Ulrich Drepper <drepper@gmail.com>
  80485. [BZ #11532]
  80486. * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
  80487. and CP774 modules.
  80488. * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
  80489. and CP774 modules.
  80490. * iconvdata/tst-tables.sh: Likewise.
  80491. * iconvdata/cp770.c: New file.
  80492. * iconvdata/cp771.c: New file.
  80493. * iconvdata/cp772.c: New file.
  80494. * iconvdata/cp773.c: New file.
  80495. * iconvdata/cp774.c: New file.
  80496. * iconvdata/testdata/CP770: New file.
  80497. * iconvdata/testdata/CP770..UTF8: New file.
  80498. * iconvdata/testdata/CP771: New file.
  80499. * iconvdata/testdata/CP771..UTF8: New file.
  80500. * iconvdata/testdata/CP772: New file.
  80501. * iconvdata/testdata/CP772..UTF8: New file.
  80502. * iconvdata/testdata/CP773: New file.
  80503. * iconvdata/testdata/CP773..UTF8: New file.
  80504. * iconvdata/testdata/CP774: New file.
  80505. * iconvdata/testdata/CP774..UTF8: New file.
  80506. * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
  80507. END CHARMAP line.
  80508. * iconvdata/gen-8bit-gap.sh: Likewise.
  80509. * iconvdata/gen-8bit.sh: Likewise.
  80510. * locale/iso-639.def: Add ary entry.
  80511. [BZ #11258]
  80512. * locale/C-translit.h.in: Add U20A1 transliteration.
  80513. [BZ #12178]
  80514. * locale/iso-639.def: Add wae entry.
  80515. Patch by Kevin Bortis <bortis@translate-wae.ch>.
  80516. [BZ #12545]
  80517. * locale/programs/localedef.c (construct_output_path): Use ssize_t
  80518. for n.
  80519. [BZ #12711]
  80520. * locale/C-translit.h.in: Add entry for U20B9.
  80521. Patch by pravin.d.s@gmail.com.
  80522. 2011-05-08 Ulrich Drepper <drepper@gmail.com>
  80523. [BZ #12713]
  80524. * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
  80525. ENAMETOOLONG use generic getcwd.
  80526. * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
  80527. in rtld. Use *stat64.
  80528. * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
  80529. Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
  80530. * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
  80531. * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
  80532. * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
  80533. * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
  80534. * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
  80535. __fstatat64 macros.
  80536. * include/dirent.h: Add libc_hidden_proto for rewinddir.
  80537. * dirent/rewinddir.c: Add libc_hidden_def.
  80538. * sysdeps/mach/hurd/rewinddir.c: Likewise.
  80539. * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
  80540. * include/dirent.h (__alloc_dir): Add flags parameter.
  80541. * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
  80542. * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
  80543. __alloc_dir.
  80544. (__alloc_dir): Take new parameter. Don't call fcntl for invocations
  80545. from fdopendir if O_CLOEXEC is already set.
  80546. 2011-03-15 Alan Modra <amodra@gmail.com>
  80547. * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
  80548. l_tls_firstbyte_offset non-zero. Save padding offset in
  80549. l_tls_firstbyte_offset for later use.
  80550. * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
  80551. freeing static tls block.
  80552. 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
  80553. * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
  80554. where #ifdef was intended. The intent is to prevent ARG_MAX from
  80555. being defined by the kernel headers.
  80556. 2011-05-07 Ulrich Drepper <drepper@gmail.com>
  80557. [BZ #12734]
  80558. * resolv/resolv.h: Define RES_NOTLDQUERY.
  80559. * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
  80560. no-tld-query and set RES_NOTLDQUERY.
  80561. * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
  80562. * resolv/res_query.c (__libc_res_nsearch): Backport changes from
  80563. modern BIND to search name as TLD unless forbidden.
  80564. 2011-05-07 Petr Baudiš <pasky@suse.cz>
  80565. Ulrich Drepper <drepper@gmail.com>
  80566. [BZ #12393]
  80567. * elf/dl-load.c (fillin_rpath): Move trusted path check...
  80568. (is_trusted_path): ...to here.
  80569. (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
  80570. (_dl_dst_substitute): Verify expanded $ORIGIN path elements
  80571. using is_trusted_path_normalize() in setuid scripts.
  80572. 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
  80573. * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
  80574. __BEGIN/__END_DECLS.
  80575. 2011-05-06 Ulrich Drepper <drepper@gmail.com>
  80576. * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
  80577. NSS_STATUS_NOTFOUND if no record was found.
  80578. 2011-05-05 Andreas Schwab <schwab@redhat.com>
  80579. * sunrpc/Makefile (headers): Add rpc/netdb.h.
  80580. (headers-not-in-tirpc): Remove rpc/netdb.h
  80581. * resolv/netdb.h: Revert last change.
  80582. 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
  80583. * Makeconfig (link-libc-static): Use --{start,end}-group to handle
  80584. circular dependency between libgcc.a and libc.a.
  80585. 2011-05-05 Andreas Schwab <schwab@redhat.com>
  80586. * resolv/netdb.h: Don't include <rpc/netdb.h>.
  80587. * nis/Makefile: Don't install rpcsvc/*.
  80588. * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
  80589. instead of <rpc/types.h>.
  80590. (MAXHOSTNAMELEN): Define.
  80591. 2011-05-03 Andreas Schwab <schwab@redhat.com>
  80592. * elf/ldconfig.c (add_dir): Don't crash on empty path.
  80593. 2011-04-28 Maciej Babinski <mbabinski@google.com>
  80594. [BZ #12714]
  80595. * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
  80596. gethostbyname4_r when IPv6 results are possible.
  80597. 2011-05-02 Ulrich Drepper <drepper@gmail.com>
  80598. [BZ #12723]
  80599. * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
  80600. _PC_PIPE_BUF handling.
  80601. 2011-04-30 Bruno Haible <bruno@clisp.org>
  80602. [BZ #12717]
  80603. * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
  80604. * resolv/netdb.h (getnameinfo): Change type of flags parameter
  80605. to 'int'.
  80606. * inet/getnameinfo.c (getnameinfo): Likewise.
  80607. 2011-04-29 Ulrich Drepper <drepper@gmail.com>
  80608. * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
  80609. to groups setting in database lookup.
  80610. * nss/nsswitch.conf: Add initgroups entry.
  80611. 2011-04-22 Ulrich Drepper <drepper@gmail.com>
  80612. [BZ #12685]
  80613. * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
  80614. mode string.
  80615. Patch by Eric Blake <eblake@redhat.com>.
  80616. 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
  80617. * sunrpc/Makefile (need-export-routines): Add svc_run.
  80618. (routines): Remove svc_run.
  80619. ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
  80620. * sunrpc/clnt_perr.c (clnt_perrno): Export.
  80621. * sunrpc/svc_run.c (svc_run): Likewise.
  80622. * sunrpc/svc_udp.c (svcudp_create): Likewise.
  80623. 2011-04-21 Ulrich Drepper <drepper@gmail.com>
  80624. * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
  80625. problem in reallocation in last patch.
  80626. 2011-04-20 Ulrich Drepper <drepper@gmail.com>
  80627. * sunrpc/Makefile: Move inclusion of Rules.
  80628. 2011-04-19 Ulrich Drepper <drepper@gmail.com>
  80629. * nss/nss_files/files-initgroups.c: New file.
  80630. * nss/Makefile (libnss_files-routines): Add files-initgroups.
  80631. * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
  80632. _nss_files_initgroups_dyn.
  80633. 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
  80634. * elf/elf.h (R_ARM_IRELATIVE): Define.
  80635. 2011-04-19 Ulrich Drepper <drepper@gmail.com>
  80636. * po/ru.po: Update from translation team.
  80637. 2011-04-17 Ulrich Drepper <drepper@gmail.com>
  80638. * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
  80639. dependencies.
  80640. 2011-02-06 Mike Frysinger <vapier@gentoo.org>
  80641. [BZ #12653]
  80642. * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
  80643. MEMCPY_CHK with USE_AS_BCOPY ifdef check.
  80644. * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
  80645. * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
  80646. * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
  80647. 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
  80648. * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
  80649. differing bytes.
  80650. * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
  80651. * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
  80652. * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
  80653. 2011-04-17 Ulrich Drepper <drepper@gmail.com>
  80654. [BZ #12420]
  80655. * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
  80656. storing it.
  80657. * stdlib/bug-getcontext.c: New file.
  80658. * stdlib/Makefile: Add rules to build and run bug-getcontext.
  80659. 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  80660. * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
  80661. instructions into .machine "z9-109".
  80662. * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
  80663. * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
  80664. 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  80665. * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
  80666. between environment variables and auxiliary vector.
  80667. 2011-04-16 Ulrich Drepper <drepper@gmail.com>
  80668. * Makefile: Add rules to build linkobj/libc.so.
  80669. * include/libc-symbols.h: Define libc_hidden_nolink.
  80670. * include/rpc/auth.h: Mark functions which are to be hidden.
  80671. * include/rpc/auth_des.h: Likewise.
  80672. * include/rpc/auth_unix.h: Likewise.
  80673. * include/rpc/clnt.h: Likewise.
  80674. * include/rpc/des_crypt.h: Likewise.
  80675. * include/rpc/key_prot.h: Likewise.
  80676. * include/rpc/pmap_clnt.h: Likewise.
  80677. * include/rpc/pmap_prot.h: Likewise.
  80678. * include/rpc/pmap_rmt.h: Likewise.
  80679. * include/rpc/rpc_msg.h: Likewise.
  80680. * include/rpc/svc.h: Likewise.
  80681. * include/rpc/svc_auth.h: Likewise.
  80682. * include/rpc/xdr.h: Likewise.
  80683. * nis/Makefile: Link all DSOs against linkobj/libc.so.
  80684. * nss/Makefile: Likewise.
  80685. * sunrpc/Makefile: Don't install headers. Build library with normal
  80686. entry points. Don't build rpcinfo. Link RPC tests appropriately.
  80687. * sunrpc/auth_des.c: Hide exported symbols by default, export some
  80688. for the compat linking library. Remove use of INTDEF/INTUSE.
  80689. * sunrpc/auth_none.c: Likewise.
  80690. * sunrpc/auth_unix.c: Likewise.
  80691. * sunrpc/authdes_prot.c: Likewise.
  80692. * sunrpc/authuxprot.c: Likewise.
  80693. * sunrpc/clnt_gen.c: Likewise.
  80694. * sunrpc/clnt_perr.c: Likewise.
  80695. * sunrpc/clnt_raw.c: Likewise.
  80696. * sunrpc/clnt_simp.c: Likewise.
  80697. * sunrpc/clnt_tcp.c: Likewise.
  80698. * sunrpc/clnt_udp.c: Likewise.
  80699. * sunrpc/clnt_unix.c: Likewise.
  80700. * sunrpc/des_crypt.c: Likewise.
  80701. * sunrpc/des_soft.c: Likewise.
  80702. * sunrpc/get_myaddr.c: Likewise.
  80703. * sunrpc/key_call.c: Likewise.
  80704. * sunrpc/key_prot.c: Likewise.
  80705. * sunrpc/netname.c: Likewise.
  80706. * sunrpc/pm_getmaps.c: Likewise.
  80707. * sunrpc/pm_getport.c: Likewise.
  80708. * sunrpc/pmap_clnt.c: Likewise.
  80709. * sunrpc/pmap_prot.c: Likewise.
  80710. * sunrpc/pmap_prot2.c: Likewise.
  80711. * sunrpc/pmap_rmt.c: Likewise.
  80712. * sunrpc/publickey.c: Likewise.
  80713. * sunrpc/rpc_cmsg.c: Likewise.
  80714. * sunrpc/rpc_common.c: Likewise.
  80715. * sunrpc/rpc_dtable.c: Likewise.
  80716. * sunrpc/rpc_prot.c: Likewise.
  80717. * sunrpc/rpc_thread.c: Likewise.
  80718. * sunrpc/rtime.c: Likewise.
  80719. * sunrpc/svc.c: Likewise.
  80720. * sunrpc/svc_auth.c: Likewise.
  80721. * sunrpc/svc_authux.c: Likewise.
  80722. * sunrpc/svc_raw.c: Likewise.
  80723. * sunrpc/svc_run.c: Likewise.
  80724. * sunrpc/svc_simple.c: Likewise.
  80725. * sunrpc/svc_tcp.c: Likewise.
  80726. * sunrpc/svc_udp.c: Likewise.
  80727. * sunrpc/svc_unix.c: Likewise.
  80728. * sunrpc/svcauth_des.c: Likewise.
  80729. * sunrpc/xcrypt.c: Likewise.
  80730. * sunrpc/xdr.c: Likewise.
  80731. * sunrpc/xdr_array.c: Likewise.
  80732. * sunrpc/xdr_float.c: Likewise.
  80733. * sunrpc/xdr_intXX_t.c: Likewise.
  80734. * sunrpc/xdr_mem.c: Likewise.
  80735. * sunrpc/xdr_rec.c: Likewise.
  80736. * sunrpc/xdr_ref.c: Likewise.
  80737. * sunrpc/xdr_sizeof.c: Likewise.
  80738. * sunrpc/xdr_stdio.c: Likewise.
  80739. 2011-04-10 Ulrich Drepper <drepper@gmail.com>
  80740. [BZ #12650]
  80741. * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
  80742. * sysdeps/ia64/dl-tls.h: Likewise.
  80743. * sysdeps/powerpc/dl-tls.h: Likewise.
  80744. * sysdeps/s390/dl-tls.h: Likewise.
  80745. * sysdeps/sh/dl-tls.h: Likewise.
  80746. * sysdeps/sparc/dl-tls.h: Likewise.
  80747. * sysdeps/x86_64/dl-tls.h: Likewise.
  80748. * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
  80749. 2011-03-14 Andreas Schwab <schwab@redhat.com>
  80750. * elf/dl-load.c (_dl_dst_substitute): When skipping the first
  80751. rpath element also skip the following colon.
  80752. (expand_dynamic_string_token): Add is_path parameter and pass
  80753. down to DL_DST_REQUIRED and _dl_dst_substitute.
  80754. (decompose_rpath): Call expand_dynamic_string_token with
  80755. non-zero is_path. Ignore empty rpaths.
  80756. (_dl_map_object_from_fd): Call expand_dynamic_string_token
  80757. with zero is_path.
  80758. 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
  80759. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
  80760. Make cancelable.
  80761. 2011-04-09 Ulrich Drepper <drepper@gmail.com>
  80762. [BZ #12655]
  80763. * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
  80764. Patch by Filipe David Manana <fdmanana@apache.org>.
  80765. 2011-04-07 Andreas Schwab <schwab@redhat.com>
  80766. * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
  80767. Maintain aligned stack.
  80768. (CHECK_RSP): Remove unused macro.
  80769. 2011-04-03 Ulrich Drepper <drepper@gmail.com>
  80770. * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
  80771. * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
  80772. 2011-04-02 Ulrich Drepper <drepper@gmail.com>
  80773. * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
  80774. * include/features.h: Mention __USE_XOPEN2K8 in comment.
  80775. 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
  80776. [BZ #12518]
  80777. * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
  80778. * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
  80779. * sysdeps/x86_64/memmove.c: New file.
  80780. * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
  80781. (memcpy): Renamed to ...
  80782. (__new_memcpy): This.
  80783. (memcpy): Provide GLIBC_2_14 memcpy.
  80784. * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
  80785. (memcpy): Provide GLIBC_2_2_5 memcpy.
  80786. 2011-04-01 Ulrich Drepper <drepper@gmail.com>
  80787. [BZ #12631]
  80788. * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
  80789. 2011-03-30 Andreas Schwab <schwab@redhat.com>
  80790. * misc/syncfs.c: New file.
  80791. * misc/Makefile (routines): Add syncfs.
  80792. * posix/unistd.h: Declare syncfs.
  80793. * sysdeps/unix/syscalls.list: Add syncfs.
  80794. 2011-04-01 Andreas Schwab <schwab@redhat.com>
  80795. * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
  80796. open_by_handle_at.
  80797. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
  80798. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
  80799. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
  80800. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
  80801. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
  80802. * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
  80803. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
  80804. 2011-04-01 Ulrich Drepper <drepper@gmail.com>
  80805. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
  80806. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
  80807. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
  80808. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
  80809. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
  80810. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
  80811. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
  80812. * io/Makefile: Compile fallocate.c, fallocate64.c, and
  80813. sync_file_range.c with -fexceptions.
  80814. * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
  80815. * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
  80816. * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
  80817. * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
  80818. * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
  80819. * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
  80820. * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
  80821. sync_file_range as cancellation point
  80822. * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
  80823. now a wrapper around __call_sync_file_range with cancellation handling.
  80824. * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
  80825. * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
  80826. function name to __call_sync_file_range.
  80827. * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
  80828. Add call_sync_file_range.
  80829. 2011-04-01 Andreas Schwab <schwab@redhat.com>
  80830. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
  80831. bits/timex.h.
  80832. 2011-04-01 Ulrich Drepper <drepper@gmail.com>
  80833. * iconv/iconv.h: Fix typo in comment.
  80834. * io/fcntl.h: Likewise.
  80835. * libio/stdio.h: Likewise.
  80836. * posix/spawn.h: Likewise.
  80837. * posix/unistd.h: Likewise.
  80838. * stdlib/stdlib.h: Likewise.
  80839. * time/time.h: Likewise.
  80840. * wcsmbs/wchar.h: Likewise.
  80841. * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
  80842. open_by_handle): Add.
  80843. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
  80844. and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
  80845. Augment a few comments.
  80846. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
  80847. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
  80848. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
  80849. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
  80850. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
  80851. * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
  80852. open_by_handle.
  80853. * io/fcntl.h (AT_EMPTY_PATH): Define.
  80854. 2011-03-30 Ulrich Drepper <drepper@gmail.com>
  80855. * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
  80856. * sysdeps/unix/sysv/linux/bits/time.h: New file.
  80857. * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
  80858. to...
  80859. * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
  80860. * Versions.def: Add GLIBC_2.14.
  80861. * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
  80862. Export.
  80863. 2011-03-22 Ulrich Drepper <drepper@gmail.com>
  80864. * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
  80865. round counter.
  80866. * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
  80867. 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
  80868. [BZ #12597]
  80869. * string/test-strncmp.c (do_page_test): New function.
  80870. (check2): Likewise.
  80871. (test_main): Call check2.
  80872. * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
  80873. 2011-03-20 Ulrich Drepper <drepper@gmail.com>
  80874. [BZ #12587]
  80875. * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
  80876. Handle cache information in CPU leaf 4.
  80877. * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
  80878. 2011-03-18 Ulrich Drepper <drepper@gmail.com>
  80879. [BZ #12583]
  80880. * posix/fnmatch.c (fnmatch): Check size of pattern in wide
  80881. character representation.
  80882. Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
  80883. 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
  80884. * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
  80885. END(__isnan) to END(__isnanf) to match function entry point/label
  80886. EALIGN(__isnanf,...).
  80887. 2011-03-10 Jakub Jelinek <jakub@redhat.com>
  80888. * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
  80889. 2011-03-10 Ulrich Drepper <drepper@gmail.com>
  80890. [BZ #12510]
  80891. * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
  80892. copy from the symbol referenced in the relocation to initialize the
  80893. used variable.
  80894. Patch by Piotr Bury <pbury@goahead.com>.
  80895. * elf/Makefile: Add rules to build and tst-unique3.
  80896. * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
  80897. * elf/tst-unique3.cc: New file.
  80898. * elf/tst-unique3.h: New file.
  80899. * elf/tst-unique3lib.cc: New file.
  80900. * elf/tst-unique3lib2.cc: New file.
  80901. * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
  80902. 2011-03-10 Mike Frysinger <vapier@gentoo.org>
  80903. * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
  80904. $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
  80905. to _start.
  80906. 2011-03-06 Ulrich Drepper <drepper@gmail.com>
  80907. * elf/dl-load.c (_dl_map_object): If we are looking for the first
  80908. to-be-loaded object along a path to loader is ld.so.
  80909. 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
  80910. Ulrich Drepper <drepper@gmail.com>
  80911. * sysdeps/x86_64/memset.S: After aligning destination, code
  80912. branches to different locations depending on the value of
  80913. misalignment, when multiarch is enabled. Fix this.
  80914. 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
  80915. * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
  80916. Set _x86_64_preferred_memory_instruction for AMD processsors.
  80917. * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
  80918. Set bit_Prefer_SSE_for_memop for AMD processors.
  80919. 2011-03-04 Ulrich Drepper <drepper@gmail.com>
  80920. * libio/fmemopen.c (fmemopen): Optimize a bit.
  80921. 2011-03-03 Andreas Schwab <schwab@redhat.com>
  80922. * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
  80923. 2011-03-03 Roland McGrath <roland@redhat.com>
  80924. * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
  80925. 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
  80926. * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
  80927. __bzero_ultra1 instead of __memset_ultra1.
  80928. 2011-02-23 Andreas Schwab <schwab@redhat.com>
  80929. Ulrich Drepper <drepper@gmail.com>
  80930. [BZ #12509]
  80931. * include/link.h (struct link_map): Add l_orig_initfini.
  80932. * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
  80933. returning unsuccessfully.
  80934. * elf/dl-close.c (_dl_close_worker): If this is the last explicit
  80935. close of a file loaded at startup, restore the original l_initfini
  80936. list.
  80937. * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
  80938. list, store the pointer.
  80939. * elf/Makefile ($(objpfx)noload-mem): New rule.
  80940. (noload-ENV): Define.
  80941. (tests): Add $(objpfx)noload-mem.
  80942. * elf/noload.c: Include <memcheck.h>.
  80943. (main): Call mtrace. Close all opened handles.
  80944. 2011-02-17 Andreas Schwab <schwab@redhat.com>
  80945. [BZ #12454]
  80946. * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
  80947. dependencies are missing.
  80948. 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
  80949. Fix __if_freereq crash: Unlike the generic version which uses free,
  80950. Hurd needs munmap.
  80951. * sysdeps/mach/hurd/ifreq.h: New file.
  80952. 2011-01-27 Petr Baudiš <pasky@suse.cz>
  80953. Ulrich Drepper <drepper@gmail.com>
  80954. [BZ 12445]#
  80955. * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
  80956. to extend_alloca().
  80957. * stdio-common/bug23.c: New file.
  80958. * stdio-common/Makefile (tests): Add bug23.
  80959. 2010-09-28 Andreas Schwab <schwab@redhat.com>
  80960. Ulrich Drepper <drepper@gmail.com>
  80961. [BZ #12489]
  80962. * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
  80963. before performing relro protection. At old place add assertion
  80964. to make sure nothing changed.
  80965. 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
  80966. Glauber de Oliveira Costa <glommer@gmail.com>
  80967. * elf/elf.h: Add new ARM TLS relocs.
  80968. 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
  80969. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
  80970. (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
  80971. cast from r3.
  80972. * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
  80973. 'tests' variable.
  80974. * sysdeps/wordsize-64/tst-writev.c: New file.
  80975. 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
  80976. * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
  80977. -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
  80978. insns in _dl_start to prevent a TOC reference before relocs are
  80979. resolved.
  80980. 2011-02-15 Ulrich Drepper <drepper@gmail.com>
  80981. [BZ #12469]
  80982. * Makeconfig: Remove RANLIB definition.
  80983. * Makerules: Don't use RANLIB.
  80984. * aclocal.m4: Remove ranlib test.
  80985. * configure.in: No need to check for ranlib.
  80986. * elf/rtld-Rules: Don't use RANLIB.
  80987. 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
  80988. * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
  80989. protection macro.
  80990. * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
  80991. inclusion protection macro.
  80992. * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
  80993. SIGRTMIN and SIGRTMAX and print information in that case only when
  80994. SIGRTMIN is defined.
  80995. 2011-02-11 Jakub Jelinek <jakub@redhat.com>
  80996. * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
  80997. arginfo fn returning -1.
  80998. * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
  80999. and thousands string is zero terminated.
  81000. 2011-02-03 Andreas Schwab <schwab@redhat.com>
  81001. * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
  81002. sysdeps/unix/sysv/linux/bits/socket.h.
  81003. 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
  81004. * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
  81005. (__CPU_COUNT): Remove old macros.
  81006. (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
  81007. (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
  81008. (__CPU_ALLOC, __CPU_FREE): Add macros.
  81009. (__sched_cpualloc, __sched_cpufree): Add declarations.
  81010. 2011-02-05 Ulrich Drepper <drepper@gmail.com>
  81011. * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
  81012. (struct datahead): Reuse 32 bits of the alignment for a TTL field.
  81013. * nscd/aicache.c (addhstaiX): Return timeout of added value.
  81014. (readdhstai): Return value of addhstaiX call.
  81015. * nscd/grpcache.c (cache_addgr): Return timeout of added value.
  81016. (addgrbyX): Return value returned by cache_addgr.
  81017. (readdgrbyname): Return value returned by addgrbyX.
  81018. (readdgrbygid): Likewise.
  81019. * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
  81020. (addpwbyX): Return value returned by cache_addpw.
  81021. (readdpwbyname): Return value returned by addhstbyX.
  81022. (readdpwbyuid): Likewise.
  81023. * nscd/servicescache.c (cache_addserv): Return timeout of added value.
  81024. (addservbyX): Return value returned by cache_addserv.
  81025. (readdservbyname): Return value returned by addservbyX:
  81026. (readdservbyport): Likewise.
  81027. * nscd/hstcache.c (cache_addhst): Return timeout of added value.
  81028. (addhstbyX): Return value returned by cache_addhst.
  81029. (readdhstbyname): Return value returned by addhstbyX.
  81030. (readdhstbyaddr): Likewise.
  81031. (readdhstbynamev6): Likewise.
  81032. (readdhstbyaddrv6): Likewise.
  81033. * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
  81034. (readdinitgroups): Return value returned by addinitgroupsX.
  81035. * nscd/cache.c (readdfcts): Change return value of functions to time_t.
  81036. (prune_cache): Keep track of timeout value of re-added entries.
  81037. * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
  81038. * nscd/nscd.h: Adjust prototypes of readd* functions.
  81039. 2011-02-04 Roland McGrath <roland@redhat.com>
  81040. * nis/nis_server.c (nis_servstate): Use the right name for 0.
  81041. (nis_stats): Likewise.
  81042. * nis/nis_modify.c (nis_modify): Likewise.
  81043. * nis/nis_remove.c (nis_remove): Likewise.
  81044. * nis/nis_add.c (nis_add): Likewise.
  81045. * elf/dl-object.c (_dl_new_object): Remove unused variable L.
  81046. * posix/fnmatch_loop.c: Add some consts.
  81047. * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
  81048. 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
  81049. [BZ #12460]
  81050. * config.make.in (config-cflags-novzeroupper): Define.
  81051. * configure.in: Substitute libc_cv_cc_novzeroupper.
  81052. * elf/Makefile (AVX-CFLAGS): Define.
  81053. (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
  81054. (CFLAGS-tst-auditmod4a.c): Likewise.
  81055. (CFLAGS-tst-auditmod4b.c): Likewise.
  81056. (CFLAGS-tst-auditmod6b.c): Likewise.
  81057. (CFLAGS-tst-auditmod6c.c): Likewise.
  81058. (CFLAGS-tst-auditmod7b.c): Likewise.
  81059. * sysdeps/i386/configure.in: Check -mno-vzeroupper.
  81060. 2011-02-02 Ulrich Drepper <drepper@gmail.com>
  81061. * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
  81062. function to the callback.
  81063. Patch partly by Jiri Olsa <jolsa@redhat.com>.
  81064. 2011-02-02 Andreas Schwab <schwab@redhat.com>
  81065. * shadow/sgetspent.c: Check return value of __sgetspent_r instead
  81066. of errno.
  81067. 2011-01-19 Ulrich Drepper <drepper@gmail.com>
  81068. [BZ #11724]
  81069. * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
  81070. of constructors.
  81071. * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
  81072. of destructors.
  81073. (_dl_fini): Don't call _dl_sort_fini if there is only one object.
  81074. [BZ #11724]
  81075. * elf/Makefile: Add rules to build and run new test.
  81076. * elf/tst-initorder.c: New file.
  81077. * elf/tst-initorder.exp: New file.
  81078. * elf/tst-initordera1.c: New file.
  81079. * elf/tst-initordera2.c: New file.
  81080. * elf/tst-initordera3.c: New file.
  81081. * elf/tst-initordera4.c: New file.
  81082. * elf/tst-initorderb1.c: New file.
  81083. * elf/tst-initorderb2.c: New file.
  81084. * elf/tst-order-a1.c: New file.
  81085. * elf/tst-order-a2.c: New file.
  81086. * elf/tst-order-a3.c: New file.
  81087. * elf/tst-order-a4.c: New file.
  81088. * elf/tst-order-b1.c: New file.
  81089. * elf/tst-order-b2.c: New file.
  81090. * elf/tst-order-main.c: New file.
  81091. New test case by George Gensure <werkt0@gmail.com>.
  81092. 2010-10-01 Andreas Schwab <schwab@redhat.com>
  81093. * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
  81094. decoding ACE if AI_CANONIDN.
  81095. 2011-01-18 Ulrich Drepper <drepper@gmail.com>
  81096. * elf/Makefile: Build IFUNC tests unless multi-arch = no.
  81097. 2011-01-17 Ulrich Drepper <drepper@gmail.com>
  81098. * version.h (RELEASE): Bump for 2.13 release.
  81099. * include/features.h: (__GLIBC_MINOR__): Bump to 13.
  81100. * io/fcntl.h: Define AT_NO_AUTOMOUNT.
  81101. * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
  81102. MADV_NOHUGEPAGE.
  81103. * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
  81104. * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
  81105. * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
  81106. * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
  81107. * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
  81108. * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
  81109. * posix/getconf.c: Update copyright year.
  81110. * catgets/gencat.c: Likewise.
  81111. * csu/version.c: Likewise.
  81112. * debug/catchsegv.sh: Likewise.
  81113. * debug/xtrace.sh: Likewise.
  81114. * elf/ldconfig.c: Likewise.
  81115. * elf/ldd.bash.in: Likewise.
  81116. * elf/sprof.c (print_version): Likewise.
  81117. * iconv/iconv_prog.c: Likewise.
  81118. * iconv/iconvconfig.c: Likewise.
  81119. * locale/programs/locale.c: Likewise.
  81120. * locale/programs/localedef.c: Likewise.
  81121. * malloc/memusage.sh: Likewise.
  81122. * malloc/mtrace.pl: Likewise.
  81123. * nscd/nscd.c (print_version): Likewise.
  81124. * nss/getent.c: Likewise.
  81125. * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
  81126. PF_CAIF, and PF_ALG.
  81127. * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
  81128. 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
  81129. * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
  81130. (modules-names): Use them.
  81131. (ifunc-test-modules, ifunc-pie-tests): Define.
  81132. (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
  81133. tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
  81134. (test-extras): Likewise.
  81135. ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
  81136. $(compile-command.c).
  81137. ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
  81138. (all-built-dso): Define.
  81139. (check-textrel.out, check-execstack.out): Depend on it.
  81140. * configure.in: Don't override --enable-multi-arch.
  81141. 2011-01-15 Ulrich Drepper <drepper@gmail.com>
  81142. [BZ #6812]
  81143. * nscd/hstcache.c (tryagain): Define.
  81144. (cache_addhst): Return tryagain not notfound for temporary errors.
  81145. (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
  81146. failed.
  81147. 2011-01-14 Ulrich Drepper <drepper@gmail.com>
  81148. [BZ #10563]
  81149. * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
  81150. to make the syscall.
  81151. * sysdeps/unix/sysv/linux/setgroups.c: New file.
  81152. [BZ #12378]
  81153. * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
  81154. and fall back to matching as normal character if the string ends before
  81155. the matching ']' is found. This is what POSIX requires.
  81156. * posix/testfnm.c: Adjust test result.
  81157. * posix/globtest.sh: Adjust test result. Add new test.
  81158. * posix/tst-fnmatch.input: Likewise.
  81159. * posix/tst-fnmatch2.c: Add new test.
  81160. 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
  81161. * elf/Makefile (check-execstack): Revert last change. Depend on
  81162. check-execstack.h.
  81163. (check-execstack.h): New target.
  81164. (generated): Add check-execstack.h.
  81165. * elf/check-execstack.c: Include "check-execstack.h".
  81166. (main): Revert last change.
  81167. (handle_file): Return zero if GNU_STACK is absent and
  81168. DEFAULT_STACK_PERMS doesn't include PF_X.
  81169. 2011-01-13 Ulrich Drepper <drepper@gmail.com>
  81170. * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
  81171. in child fails because the descriptor is already closed.
  81172. * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
  81173. * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
  81174. * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
  81175. [BZ #12397]
  81176. * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
  81177. syscall.
  81178. [BZ #10484]
  81179. * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
  81180. temporary buffer used to handle multi lookups locally.
  81181. * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
  81182. 2011-01-12 Ulrich Drepper <drepper@gmail.com>
  81183. * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
  81184. loader is ld.so.
  81185. 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
  81186. * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
  81187. alignment for SSE2.
  81188. 2011-01-12 Ulrich Drepper <drepper@gmail.com>
  81189. [BZ #12394]
  81190. * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
  81191. characters. When rounding increased number of integer digits recompute
  81192. number of groups.
  81193. * stdio-common/tst-grouping.c: New file.
  81194. * stdio-common/Makefile: Add rules to build and run tst-grouping.
  81195. 2011-01-09 Ulrich Drepper <drepper@gmail.com>
  81196. * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
  81197. __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
  81198. * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
  81199. void.
  81200. * bits/select.h: Likewise.
  81201. 2011-01-08 Ulrich Drepper <drepper@gmail.com>
  81202. * po/ja.po: Update from translation team.
  81203. 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
  81204. [BZ #11155]
  81205. * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
  81206. implementation just like for lxstat, fxstatat, et al.
  81207. 2010-12-27 Jim Meyering <meyering@redhat.com>
  81208. [BZ #12348]
  81209. * posix/regexec.c (build_trtable): Return failure indication upon
  81210. calloc failure. Otherwise, re_search_internal could infloop on OOM.
  81211. 2010-12-25 Ulrich Drepper <drepper@gmail.com>
  81212. [BZ #12201]
  81213. * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
  81214. * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
  81215. * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
  81216. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
  81217. [BZ #12207]
  81218. * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
  81219. [BZ #12204]
  81220. * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
  81221. * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
  81222. 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
  81223. * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
  81224. * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
  81225. script has SORT_BY_INIT_PRIORITY.
  81226. * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
  81227. NO_CTORS_DTORS_SECTIONS is defined.
  81228. * elf/soinit.c: Likewise.
  81229. * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
  81230. NO_CTORS_DTORS_SECTIONS is defined.
  81231. * sysdeps/mach/hurd/i386/init-first.c: Likewise.
  81232. * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
  81233. * sysdeps/sh/init-first.c: Likewise.
  81234. * sysdeps/unix/sysv/linux/init-first.c: Likewise.
  81235. 2010-12-24 Ulrich Drepper <drepper@gmail.com>
  81236. * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
  81237. always use the slow path.
  81238. 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
  81239. * elf/Makefile: (check-execstack): Replace $(native-compile) with a
  81240. similar rule which adds the sysdep directories to the header search in
  81241. order to pick up the correct platform stackinfo.h.
  81242. * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
  81243. perform test if it is, otherwise return successfully without testing.
  81244. * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
  81245. DEFAULT_STACK_PERMS define in stackinfo.h.
  81246. * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
  81247. defined in stackinfo.h.
  81248. * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
  81249. DEFAULT_STACK_PERMS defined in stackinfo.h.
  81250. * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
  81251. * sysdeps/ia64/stackinfo.h: Likewise.
  81252. * sysdeps/s390/stackinfo.h: Likewise.
  81253. * sysdeps/sh/stackinfo.h: Likewise.
  81254. * sysdeps/sparc/stackinfo.h: Likewise.
  81255. * sysdeps/x86_64/stackinfo.h: Likewise.
  81256. * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
  81257. PF_X for powerpc64. Retain PF_X for powerpc32.
  81258. 2010-12-19 Ulrich Drepper <drepper@gmail.com>
  81259. * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
  81260. accurately.
  81261. * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
  81262. GETDENTS_64BIT_ALIGNED.
  81263. 2010-12-14 Ulrich Drepper <dreper@gmail.com>
  81264. * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
  81265. 2010-12-10 Andreas Schwab <schwab@redhat.com>
  81266. * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
  81267. _GNU_SOURCE.
  81268. * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
  81269. * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
  81270. Remove __restrict.
  81271. (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
  81272. (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
  81273. 2010-12-09 Ulrich Drepper <drepper@gmail.com>
  81274. [BZ #11655]
  81275. * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
  81276. are initialized.
  81277. 2010-12-09 Jakub Jelinek <jakub@redhat.com>
  81278. * string/bits/string3.h (memmove, bcopy): Remove __restrict.
  81279. 2010-12-03 Ulrich Drepper <drepper@gmail.com>
  81280. * po/it.po: Update from translation team.
  81281. 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
  81282. * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
  81283. unused codes.
  81284. 2010-11-30 Ulrich Drepper <drepper@gmail.com>
  81285. * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
  81286. 2010-11-24 Andreas Schwab <schwab@redhat.com>
  81287. * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
  81288. specially.
  81289. (gaih_getanswer_slice): Likewise.
  81290. 2010-10-20 Jakub Jelinek <jakub@redhat.com>
  81291. * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
  81292. 2010-05-31 Petr Baudiš <pasky@suse.cz>
  81293. [BZ #11149]
  81294. * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
  81295. silently even in the chroot mode.
  81296. 2010-11-22 Ulrich Drepper <drepper@gmail.com>
  81297. * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
  81298. last patch a bit. Pretty printing
  81299. 2010-05-31 Petr Baudiš <pasky@suse.cz>
  81300. [BZ #10085]
  81301. * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
  81302. initialization of skip_initgroups_dyn.
  81303. 2010-11-19 Ulrich Drepper <drepper@gmail.com>
  81304. * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
  81305. * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
  81306. 2010-11-16 Ulrich Drepper <drepper@gmail.com>
  81307. * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
  81308. 2010-11-11 Andreas Schwab <schwab@redhat.com>
  81309. * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
  81310. * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
  81311. (tst-fnmatch-ENV): Set MALLOC_TRACE.
  81312. ($(objpfx)tst-fnmatch-mem): New rule.
  81313. (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
  81314. * posix/tst-fnmatch.c (main): Call mtrace.
  81315. 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
  81316. * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
  81317. Support Intel processor model 6 and model 0x2c.
  81318. 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
  81319. * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
  81320. signed comparison.
  81321. 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
  81322. [BZ #12205]
  81323. * string/test-strncasecmp.c (check_result): New function.
  81324. (do_one_test): Use it.
  81325. (check1): New function.
  81326. (test_main): Use it.
  81327. * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
  81328. Support strcasecmp and strncasecmp.
  81329. 2010-11-08 Ulrich Drepper <drepper@gmail.com>
  81330. [BZ #12194]
  81331. * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
  81332. * sysdeps/x86_64/bits/byteswap.h: Likewise.
  81333. 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
  81334. * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
  81335. IFUNC support.
  81336. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  81337. memset-x86-64.
  81338. * sysdeps/x86_64/multiarch/bzero.S: New file.
  81339. * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
  81340. * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
  81341. * sysdeps/x86_64/multiarch/memset.S: New file.
  81342. * sysdeps/x86_64/multiarch/memset_chk.S: New file.
  81343. * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
  81344. Set bit_Prefer_SSE_for_memop for Intel processors.
  81345. * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
  81346. Define.
  81347. (index_Prefer_SSE_for_memop): Define.
  81348. (HAS_PREFER_SSE_FOR_MEMOP): Define.
  81349. 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
  81350. * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
  81351. * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
  81352. 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
  81353. [BZ #12191]
  81354. * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
  81355. (__x86_64_raw_data_cache_size_half): Likewise.
  81356. (__x86_64_raw_shared_cache_size): Likewise.
  81357. (__x86_64_raw_shared_cache_size_half): Likewise.
  81358. * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
  81359. (__x86_64_raw_data_cache_size_half): Likewise.
  81360. (__x86_64_raw_shared_cache_size): Likewise.
  81361. (__x86_64_raw_shared_cache_size_half): Likewise.
  81362. (init_cacheinfo): Set __x86_64_raw_data_cache_size,
  81363. __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
  81364. and __x86_64_raw_shared_cache_size_half. Round
  81365. __x86_64_data_cache_size_half, __x86_64_data_cache_size
  81366. __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
  81367. to multiple of 256 bytes.
  81368. 2010-11-03 Ulrich Drepper <drepper@gmail.com>
  81369. [BZ #12167]
  81370. * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
  81371. of inacessible symlinks. Verify result of symlink before returning it.
  81372. * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
  81373. Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
  81374. 2010-10-28 Erich Ritz <erichritz@gmail.com>
  81375. * math/math.h (isinf): Fix typo in comment.
  81376. 2010-11-01 Ulrich Drepper <drepper@gmail.com>
  81377. * po/da.po: Update from translation team.
  81378. 2010-10-26 Ulrich Drepper <drepper@gmail.com>
  81379. * elf/rtld.c (dl_main): Move assertion after the point where rtld map
  81380. is added to the list.
  81381. 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  81382. Ulrich Drepper <drepper@gmail.com>
  81383. * elf/dl-object.c (_dl_new_object): Don't append the new object to
  81384. the global list here. Move code to...
  81385. (_dl_add_to_namespace_list): ...here. New function.
  81386. * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
  81387. * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
  81388. * elf/dl-load.c (lose): Don't remove the element from the list.
  81389. (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
  81390. (_dl_map_object): Likewise.
  81391. 2010-10-25 Ulrich Drepper <drepper@gmail.com>
  81392. [BZ #12159]
  81393. * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
  81394. into all bytes of SSE register.
  81395. Patch by Richard Li <richardpku@gmail.com>.
  81396. 2010-10-24 Ulrich Drepper <drepper@gmail.com>
  81397. [BZ #12140]
  81398. * malloc/malloc.c (_int_free): Fill correct number of bytes when
  81399. perturbing.
  81400. 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
  81401. * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
  81402. * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
  81403. * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
  81404. * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
  81405. * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
  81406. submachine.
  81407. * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
  81408. 2010-10-22 Andreas Schwab <schwab@redhat.com>
  81409. * include/dlfcn.h (__RTLD_SECURE): Define.
  81410. * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
  81411. mode & __RTLD_SECURE instead.
  81412. (open_path): Rename preloaded parameter to secure.
  81413. * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
  81414. * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
  81415. * elf/dl-deps.c (openaux): Likewise.
  81416. * elf/rtld.c (struct map_args): Remove is_preloaded.
  81417. (map_doit): Don't use it.
  81418. (dl_main): Likewise.
  81419. (do_preload): Use __RTLD_SECURE instead of is_preloaded.
  81420. (dlmopen_doit): Add __RTLD_SECURE to mode bits.
  81421. 2010-09-09 Andreas Schwab <schwab@redhat.com>
  81422. * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
  81423. (sysd-rules-targets): Remove duplicates.
  81424. * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
  81425. rtld-%.$o dependency.
  81426. 2010-10-18 Andreas Schwab <schwab@redhat.com>
  81427. * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
  81428. _dl_map_object do it.
  81429. 2010-10-19 Ulrich Drepper <drepper@gmail.com>
  81430. * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
  81431. fast fma builtins, define the macros in the C99 standard.
  81432. (FP_FAST_FMAF): Likewise.
  81433. (FP_FAST_FMAL): Likewise.
  81434. * sysdeps/x86_64/bits/mathdef.h: Likewise.
  81435. * bits/mathdef.h: Update copyright year.
  81436. * sysdeps/powerpc/bits/mathdef.h: Likewise.
  81437. 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
  81438. * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
  81439. builtins, define the macros in the C99 standard.
  81440. (FP_FAST_FMAF): Likewise.
  81441. (FP_FAST_FMAL): Likewise.
  81442. * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
  81443. multiply/add.
  81444. (FP_FAST_FMAF): Likewise.
  81445. 2010-10-15 Jakub Jelinek <jakub@redhat.com>
  81446. [BZ #3268]
  81447. * math/libm-test.inc (fma_test): Some new testcases.
  81448. * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
  81449. * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
  81450. y and infinite z. Do multiplication by C already in long double.
  81451. * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
  81452. * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
  81453. y and infinite z. Do bitwise or of inexact bit into u.d.
  81454. * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
  81455. * sysdeps/i386/fpu/s_fmaf.S: Removed.
  81456. * sysdeps/i386/fpu/s_fma.S: Removed.
  81457. * sysdeps/i386/fpu/s_fmal.S: Removed.
  81458. 2010-10-16 Jakub Jelinek <jakub@redhat.com>
  81459. [BZ #3268]
  81460. * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
  81461. * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
  81462. computation is not scheduled after fetestexcept. Fix value
  81463. of minimum denormal long double.
  81464. 2010-10-14 Jakub Jelinek <jakub@redhat.com>
  81465. [BZ #3268]
  81466. * math/libm-test.inc (fma_test): Add some more tests.
  81467. * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
  81468. correctly.
  81469. 2010-10-15 Andreas Schwab <schwab@redhat.com>
  81470. * scripts/data/localplt-s390-linux-gnu.data: New file.
  81471. * scripts/data/localplt-s390x-linux-gnu.data: New file.
  81472. 2010-10-13 Jakub Jelinek <jakub@redhat.com>
  81473. [BZ #3268]
  81474. * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
  81475. * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
  81476. instead of dbl-64.
  81477. * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
  81478. inlines.
  81479. * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
  81480. * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
  81481. if one of x and y is very large and the other is subnormal.
  81482. * sysdeps/s390/fpu/s_fmaf.c: New file.
  81483. * sysdeps/s390/fpu/s_fma.c: New file.
  81484. * sysdeps/powerpc/fpu/s_fmaf.S: New file.
  81485. * sysdeps/powerpc/fpu/s_fma.S: New file.
  81486. * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
  81487. * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
  81488. * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
  81489. 2010-10-12 Jakub Jelinek <jakub@redhat.com>
  81490. [BZ #3268]
  81491. * math/libm-test.inc (fma_test): Add some more fmaf tests, add
  81492. fma tests.
  81493. * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
  81494. * sysdeps/ieee754/dbl-64/s_fma.c: New file.
  81495. * sysdeps/i386/i686/multiarch/s_fma.c: Include
  81496. sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
  81497. * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
  81498. * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
  81499. * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
  81500. 2010-10-12 Ulrich Drepper <drepper@redhat.com>
  81501. [BZ #12078]
  81502. * posix/regcomp.c (parse_branch): One more memory leak plugged.
  81503. * posix/bug-regex31.input: Add test case.
  81504. 2010-10-11 Ulrich Drepper <drepper@gmail.com>
  81505. * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
  81506. * posix/bug-regex31.input: New file.
  81507. [BZ #12078]
  81508. * posix/regcomp.c (parse_branch): Free memory when allocation failed.
  81509. (parse_sub_exp): Fix last change, use postorder.
  81510. * posix/bug-regex31.c: New file.
  81511. * posix/Makefile: Add rules to build and run bug-regex31.
  81512. * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
  81513. [BZ #12078]
  81514. * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
  81515. [BZ #12108]
  81516. * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
  81517. to have entries in sys_siglist.
  81518. [BZ #12093]
  81519. * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
  81520. be NULL.
  81521. 2010-10-07 Jakub Jelinek <jakub@redhat.com>
  81522. [BZ #3268]
  81523. * math/libm-test.inc (fma_test): Add 2 fmaf tests.
  81524. * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
  81525. * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
  81526. sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
  81527. * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
  81528. * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
  81529. * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
  81530. * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
  81531. * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
  81532. * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
  81533. * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
  81534. * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
  81535. * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
  81536. * math/ftestexcept.c (fetestexcept): Likewise.
  81537. * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
  81538. * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
  81539. * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
  81540. * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
  81541. * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
  81542. * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
  81543. * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
  81544. 2010-10-11 Ulrich Drepper <drepper@gmail.com>
  81545. [BZ #12107]
  81546. * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
  81547. newline.
  81548. 2010-10-06 Ulrich Drepper <drepper@gmail.com>
  81549. * string/bug-strstr1.c: New file.
  81550. * string/Makefile: Add rules to build and run bug-strstr1.
  81551. 2010-10-05 Eric Blake <eblake@redhat.com>
  81552. [BZ #12092]
  81553. * string/str-two-way.h (two_way_long_needle): Always clear memory
  81554. when skipping input due to the shift table.
  81555. 2010-10-03 Ulrich Drepper <drepper@gmail.com>
  81556. [BZ #12005]
  81557. * malloc/mcheck.c: Handle large requests.
  81558. [BZ #12077]
  81559. * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
  81560. for strncmp and strncasecmp.
  81561. * string/stratcliff.c: Add tests for strcmp and strncmp.
  81562. * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
  81563. 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
  81564. * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
  81565. __set_fpscr.
  81566. 2010-09-30 Andreas Jaeger <aj@suse.de>
  81567. * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
  81568. (CGROUP_SUPER_MAGIC): Define.
  81569. * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
  81570. Handle btrfs and cgroup file systems.
  81571. * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
  81572. Likewise.
  81573. 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
  81574. * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
  81575. * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
  81576. 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  81577. [BZ #12067]
  81578. * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
  81579. trying to locate the ELF header.
  81580. 2010-09-27 Andreas Schwab <schwab@redhat.com>
  81581. [BZ #11611]
  81582. * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
  81583. Mask out sign-bit copies when constructing f_fsid.
  81584. 2010-09-24 Petr Baudiš <pasky@suse.cz>
  81585. * debug/stack_chk_fail_local.c: Add missing licence exception.
  81586. * debug/warning-nop.c: Likewise.
  81587. 2010-09-15 Joseph Myers <joseph@codesourcery.com>
  81588. * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
  81589. implementing getdents64 using getdents syscall, set d_type if
  81590. __ASSUME_GETDENTS32_D_TYPE.
  81591. 2010-09-16 Andreas Schwab <schwab@redhat.com>
  81592. * elf/dl-close.c (free_slotinfo, free_mem): Move to...
  81593. * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
  81594. 2010-09-21 Ulrich Drepper <drepper@redhat.com>
  81595. [BZ #12037]
  81596. * posix/unistd.h: Undo change of feature selection for ftruncate from
  81597. 2010-01-11.
  81598. 2010-09-20 Ulrich Drepper <drepper@redhat.com>
  81599. * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
  81600. detection.
  81601. 2010-09-20 Andreas Schwab <schwab@redhat.com>
  81602. * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
  81603. fanotify_mark.
  81604. * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
  81605. 2010-09-14 Andreas Schwab <schwab@redhat.com>
  81606. * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
  81607. variables after CHECK_SP call.
  81608. * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
  81609. 2010-09-13 Andreas Schwab <schwab@redhat.com>
  81610. Ulrich Drepper <drepper@redhat.com>
  81611. * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
  81612. re-relocationg ld.so.
  81613. * elf/dl-support.c (_dl_non_dynamic_init): And here after the
  81614. _dl_init_paths call.
  81615. * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
  81616. here anymore.
  81617. 2010-09-14 Ulrich Drepper <drepper@redhat.com>
  81618. * resolv/res_init.c (__res_vinit): Count the default server we added.
  81619. 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
  81620. Ulrich Drepper <drepper@redhat.com>
  81621. [BZ #11968]
  81622. * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
  81623. (____longjmp_chk): Use %ebx for saving value across system call.
  81624. Add unwind info.
  81625. 2010-09-06 Andreas Schwab <schwab@redhat.com>
  81626. * manual/Makefile: Don't mix pattern rules with normal rules.
  81627. 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
  81628. * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
  81629. operation.
  81630. * libio/iofdopen.c (_IO_new_fdopen): Likewise.
  81631. * libio/iofopncook.c (_IO_cookie_init): Likewise.
  81632. * libio/iovdprintf.c (_IO_vdprintf): Likewise.
  81633. * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
  81634. * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
  81635. Likewise.
  81636. 2010-09-04 Ulrich Drepper <drepper@redhat.com>
  81637. [BZ #11979]
  81638. * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
  81639. IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
  81640. 2010-09-02 Ulrich Drepper <drepper@redhat.com>
  81641. * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
  81642. * sysdeps/x86_64/addmul_1.S: Likewise.
  81643. * sysdeps/x86_64/lshift.S: Likewise.
  81644. * sysdeps/x86_64/mul_1.S: Likewise.
  81645. * sysdeps/x86_64/rshift.S: Likewise.
  81646. * sysdeps/x86_64/sub_n.S: Likewise.
  81647. * sysdeps/x86_64/submul_1.S: Likewise.
  81648. 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
  81649. This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
  81650. Define __sched_param instead of SCHED_* and sched_param when
  81651. <bits/sched.h> is included with __need_schedparam defined.
  81652. * bits/sched.h [__need_schedparam]
  81653. (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
  81654. [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
  81655. (__defined_schedparam): Define to 1.
  81656. (__sched_param): New structure, identical to sched_param.
  81657. (__need_schedparam): Undefine.
  81658. 2010-08-31 Mike Frysinger <vapier@gentoo.org>
  81659. * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
  81660. (epoll_create1): Declare.
  81661. * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
  81662. 2010-08-31 Andreas Schwab <schwab@redhat.com>
  81663. [BZ #7066]
  81664. * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
  81665. shifting retval into place.
  81666. 2010-09-01 Ulrich Drepper <drepper@redhat.com>
  81667. * nis/rpcsvc/nis.h: Update copyright notice.
  81668. * nis/rpcsvc/nis.x: Likewise.
  81669. * nis/rpcsvc/nis_callback.h: Likewise.
  81670. * nis/rpcsvc/nis_callback.x: Likewise.
  81671. * nis/rpcsvc/nis_object.x: Likewise.
  81672. * nis/rpcsvc/nis_tags.h: Likewise.
  81673. * nis/rpcsvc/yp.h: Likewise.
  81674. * nis/rpcsvc/yp.x: Likewise.
  81675. * nis/rpcsvc/ypupd.h: Likewise.
  81676. * nis/yp_xdr.c: Likewise.
  81677. * nis/ypupdate_xdr.c: Likewise.
  81678. * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
  81679. mainly the body of pmap_getport. Add parameters to specify timeouts.
  81680. (pmap_getport): Use __libc_rpc_getport.
  81681. * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
  81682. * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
  81683. * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
  81684. 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
  81685. * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
  81686. fanotify_mark.
  81687. 2010-08-27 Roland McGrath <roland@redhat.com>
  81688. * sysdeps/i386/i686/multiarch/Makefile
  81689. (CFLAGS-varshift.c): New variable.
  81690. 2010-08-27 Ulrich Drepper <drepper@redhat.com>
  81691. * sysdeps/i386/i686/multiarch/varshift.S: File removed.
  81692. * sysdeps/i386/i686/multiarch/varshift.c: New file.
  81693. * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
  81694. * sysdeps/x86_64/strlen.S: Minimal code improvement.
  81695. 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
  81696. * sysdeps/x86_64/strlen.S: Unroll the loop.
  81697. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  81698. strlen-sse2 strlen-sse2-bsf.
  81699. * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
  81700. __strlen_no_bsf if bit_Slow_BSF is set.
  81701. (__strlen_sse42): Removed.
  81702. * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
  81703. * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
  81704. 2010-08-25 Roland McGrath <roland@redhat.com>
  81705. * sysdeps/x86_64/multiarch/varshift.S: File removed.
  81706. * sysdeps/x86_64/multiarch/varshift.c: New file.
  81707. * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
  81708. * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
  81709. * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
  81710. * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
  81711. 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
  81712. * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
  81713. strlen-sse2 strlen-sse2-bsf.
  81714. * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
  81715. __strlen_sse2_bsf if bit_Slow_BSF is unset.
  81716. (__strlen_sse2): Removed.
  81717. * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
  81718. * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
  81719. * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
  81720. bit_Slow_BSF for Atom.
  81721. * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
  81722. (index_Slow_BSF): Define.
  81723. (HAS_SLOW_BSF): Define.
  81724. 2010-08-25 Ulrich Drepper <drepper@redhat.com>
  81725. [BZ #10851]
  81726. * resolv/res_init.c (__res_vinit): When no server address at all
  81727. is given default to loopback.
  81728. 2010-08-24 Roland McGrath <roland@redhat.com>
  81729. * configure.in: Remove config-name.h generation.
  81730. * configure: Regenerated.
  81731. * config-name.in: File removed.
  81732. * scripts/config-uname.sh: New file.
  81733. * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
  81734. ($(objdir)config-name.h): New target.
  81735. * sunrpc/rpc_parse.h: Avoid nested comment.
  81736. 2010-08-24 Richard Henderson <rth@redhat.com>
  81737. Ulrich Drepper <drepper@redhat.com>
  81738. H.J. Lu <hongjiu.lu@intel.com>
  81739. * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
  81740. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
  81741. * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
  81742. Replace _mm_srli_si128 with __m128i_shift_right. Replace
  81743. _mm_alignr_epi8 with _mm_loadu_si128.
  81744. * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
  81745. * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
  81746. (__m128i_shift_right): Removed.
  81747. * sysdeps/i386/i686/multiarch/varshift.h: New file.
  81748. * sysdeps/i386/i686/multiarch/varshift.S: New file.
  81749. * sysdeps/x86_64/multiarch/varshift.h: New file.
  81750. * sysdeps/x86_64/multiarch/varshift.S: New file.
  81751. 2010-08-21 Mike Frysinger <vapier@gentoo.org>
  81752. * configure.in: Move assembler checks to before sysdep dir checking.
  81753. 2010-08-20 Petr Baudiš <pasky@suse.cz>
  81754. * LICENSES: Sync the sunrpc license.
  81755. 2010-08-19 Ulrich Drepper <drepper@redhat.com>
  81756. * sunrpc/auth_des.c: Update copyright notice once again.
  81757. * sunrpc/auth_none.c: Likewise.
  81758. * sunrpc/auth_unix.c: Likewise.
  81759. * sunrpc/authdes_prot.c: Likewise.
  81760. * sunrpc/authuxprot.c: Likewise.
  81761. * sunrpc/bindrsvprt.c: Likewise.
  81762. * sunrpc/clnt_gen.c: Likewise.
  81763. * sunrpc/clnt_perr.c: Likewise.
  81764. * sunrpc/clnt_raw.c: Likewise.
  81765. * sunrpc/clnt_simp.c: Likewise.
  81766. * sunrpc/clnt_tcp.c: Likewise.
  81767. * sunrpc/clnt_udp.c: Likewise.
  81768. * sunrpc/clnt_unix.c: Likewise.
  81769. * sunrpc/des_crypt.c: Likewise.
  81770. * sunrpc/des_soft.c: Likewise.
  81771. * sunrpc/get_myaddr.c: Likewise.
  81772. * sunrpc/getrpcport.c: Likewise.
  81773. * sunrpc/key_call.c: Likewise.
  81774. * sunrpc/key_prot.c: Likewise.
  81775. * sunrpc/openchild.c: Likewise.
  81776. * sunrpc/pm_getmaps.c: Likewise.
  81777. * sunrpc/pm_getport.c: Likewise.
  81778. * sunrpc/pmap_clnt.c: Likewise.
  81779. * sunrpc/pmap_prot.c: Likewise.
  81780. * sunrpc/pmap_prot2.c: Likewise.
  81781. * sunrpc/pmap_rmt.c: Likewise.
  81782. * sunrpc/rpc/auth.h: Likewise.
  81783. * sunrpc/rpc/auth_unix.h: Likewise.
  81784. * sunrpc/rpc/clnt.h: Likewise.
  81785. * sunrpc/rpc/des_crypt.h: Likewise.
  81786. * sunrpc/rpc/key_prot.h: Likewise.
  81787. * sunrpc/rpc/netdb.h: Likewise.
  81788. * sunrpc/rpc/pmap_clnt.h: Likewise.
  81789. * sunrpc/rpc/pmap_prot.h: Likewise.
  81790. * sunrpc/rpc/pmap_rmt.h: Likewise.
  81791. * sunrpc/rpc/rpc.h: Likewise.
  81792. * sunrpc/rpc/rpc_des.h: Likewise.
  81793. * sunrpc/rpc/rpc_msg.h: Likewise.
  81794. * sunrpc/rpc/svc.h: Likewise.
  81795. * sunrpc/rpc/svc_auth.h: Likewise.
  81796. * sunrpc/rpc/types.h: Likewise.
  81797. * sunrpc/rpc/xdr.h: Likewise.
  81798. * sunrpc/rpc_clntout.c: Likewise.
  81799. * sunrpc/rpc_cmsg.c: Likewise.
  81800. * sunrpc/rpc_common.c: Likewise.
  81801. * sunrpc/rpc_cout.c: Likewise.
  81802. * sunrpc/rpc_dtable.c: Likewise.
  81803. * sunrpc/rpc_hout.c: Likewise.
  81804. * sunrpc/rpc_main.c: Likewise.
  81805. * sunrpc/rpc_parse.c: Likewise.
  81806. * sunrpc/rpc_parse.h: Likewise.
  81807. * sunrpc/rpc_prot.c: Likewise.
  81808. * sunrpc/rpc_sample.c: Likewise.
  81809. * sunrpc/rpc_scan.c: Likewise.
  81810. * sunrpc/rpc_scan.h: Likewise.
  81811. * sunrpc/rpc_svcout.c: Likewise.
  81812. * sunrpc/rpc_tblout.c: Likewise.
  81813. * sunrpc/rpc_util.c: Likewise.
  81814. * sunrpc/rpc_util.h: Likewise.
  81815. * sunrpc/rpcinfo.c: Likewise.
  81816. * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
  81817. * sunrpc/rpcsvc/key_prot.x: Likewise.
  81818. * sunrpc/rpcsvc/klm_prot.x: Likewise.
  81819. * sunrpc/rpcsvc/mount.x: Likewise.
  81820. * sunrpc/rpcsvc/nfs_prot.x: Likewise.
  81821. * sunrpc/rpcsvc/nlm_prot.x: Likewise.
  81822. * sunrpc/rpcsvc/rex.x: Likewise.
  81823. * sunrpc/rpcsvc/rstat.x: Likewise.
  81824. * sunrpc/rpcsvc/rusers.x: Likewise.
  81825. * sunrpc/rpcsvc/sm_inter.x: Likewise.
  81826. * sunrpc/rpcsvc/spray.x: Likewise.
  81827. * sunrpc/rpcsvc/yppasswd.x: Likewise.
  81828. * sunrpc/rtime.c: Likewise.
  81829. * sunrpc/svc.c: Likewise.
  81830. * sunrpc/svc_auth.c: Likewise.
  81831. * sunrpc/svc_authux.c: Likewise.
  81832. * sunrpc/svc_raw.c: Likewise.
  81833. * sunrpc/svc_run.c: Likewise.
  81834. * sunrpc/svc_simple.c: Likewise.
  81835. * sunrpc/svc_tcp.c: Likewise.
  81836. * sunrpc/svc_udp.c: Likewise.
  81837. * sunrpc/svc_unix.c: Likewise.
  81838. * sunrpc/svcauth_des.c: Likewise.
  81839. * sunrpc/xcrypt.c: Likewise.
  81840. * sunrpc/xdr.c: Likewise.
  81841. * sunrpc/xdr_array.c: Likewise.
  81842. * sunrpc/xdr_float.c: Likewise.
  81843. * sunrpc/xdr_mem.c: Likewise.
  81844. * sunrpc/xdr_rec.c: Likewise.
  81845. * sunrpc/xdr_ref.c: Likewise.
  81846. * sunrpc/xdr_sizeof.c: Likewise.
  81847. * sunrpc/xdr_stdio.c: Likewise.
  81848. * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
  81849. handling.
  81850. 2010-08-19 Andreas Schwab <schwab@redhat.com>
  81851. * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
  81852. 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
  81853. * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
  81854. * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
  81855. * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
  81856. * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
  81857. * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
  81858. * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
  81859. * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
  81860. * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
  81861. * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
  81862. * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
  81863. * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
  81864. * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
  81865. * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
  81866. * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
  81867. 2010-07-26 Anton Blanchard <anton@samba.org>
  81868. * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
  81869. * malloc/arena.c (heap_trim): Likewise.
  81870. 2010-08-16 Ulrich Drepper <drepper@redhat.com>
  81871. * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
  81872. here. Not...
  81873. * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
  81874. * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
  81875. 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
  81876. * sysdeps/i386/elf/Makefile: New file.
  81877. 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
  81878. * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
  81879. from fanotify_init.
  81880. * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
  81881. * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
  81882. 2010-08-15 Ulrich Drepper <drepper@redhat.com>
  81883. * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
  81884. of strncasecmp_l.
  81885. * sysdeps/multiarch/strcmp.S: Likewise.
  81886. 2010-08-14 Ulrich Drepper <drepper@redhat.com>
  81887. * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
  81888. strncase_l-nonascii.
  81889. * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
  81890. Add strncase_l-ssse3.
  81891. * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
  81892. * sysdeps/x86_64/strcmp.S: Likewise.
  81893. * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
  81894. * sysdeps/x86_64/multiarch/strncase_l.S: New file.
  81895. * sysdeps/x86_64/strncase.S: New file.
  81896. * sysdeps/x86_64/strncase_l-nonascii.c: New file.
  81897. * sysdeps/x86_64/strncase_l.S: New file.
  81898. * string/Makefile (strop-tests): Add strncasecmp.
  81899. * string/test-strncasecmp.c: New file.
  81900. * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
  81901. warning.
  81902. * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
  81903. * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
  81904. 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
  81905. * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
  81906. 2010-08-12 Ulrich Drepper <drepper@redhat.com>
  81907. * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
  81908. * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
  81909. * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
  81910. 2010-05-01 Alan Modra <amodra@gmail.com>
  81911. * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
  81912. * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
  81913. * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
  81914. * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
  81915. * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
  81916. tidying. Don't tail-call __sigjmp_save for static lib.
  81917. * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
  81918. save location.
  81919. (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
  81920. (CALL_MCOUNT): Add eh info, and nop after bl.
  81921. (TAIL_CALL_SYSCALL_ERROR): New macro.
  81922. (PSEUDO_RET): Use it.
  81923. * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
  81924. Correct save location of integer regs and cr.
  81925. (_dl_profile_resolve): Correct cr save location. Delete nops
  81926. after bl when SHARED. Reduce cfi size a little by better
  81927. placement of cfi directives.
  81928. * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
  81929. make a stack frame. Instead use parm save area as a temp.
  81930. * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
  81931. make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
  81932. * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
  81933. Don't make a stack frame for parent, use parm save area.
  81934. Increase child stack frame to 112 bytes. Don't save unused reg,
  81935. and adjust reg usage. Set up cfi on error recovery and
  81936. epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
  81937. * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
  81938. (__makecontext): Add dummy nop after jump to exit.
  81939. * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
  81940. Use correct parm save area and cr save, reduce stack frame.
  81941. Correct cfi for possible PSEUDO_RET frame setup.
  81942. * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
  81943. Branch to local label emitted by PSEUDO_RET rather than
  81944. __syscall_error.
  81945. 2010-08-12 Andreas Schwab <schwab@redhat.com>
  81946. [BZ #11904]
  81947. * locale/programs/locale.c (print_assignment): New function.
  81948. (show_locale_vars): Use it.
  81949. 2010-08-11 Ulrich Drepper <drepper@redhat.com>
  81950. * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
  81951. field.
  81952. (struct statfs64): Likewise.
  81953. (_STATFS_F_FLAGS): Define.
  81954. * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
  81955. * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
  81956. Don't define if __ASSUME_STATFS_F_FLAGS is defined.
  81957. (ST_VALID): Define locally.
  81958. (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
  81959. __statvfs_getflags, use the provided value.
  81960. * sysdeps/unix/sysv/linux/kernel-features.h: Define
  81961. __ASSUME_STATFS_F_FLAGS.
  81962. * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
  81963. * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
  81964. Add sys/fanotify.h.
  81965. * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
  81966. fanotify_mask for GLIBC_2.13.
  81967. * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
  81968. fanotify_init and fanotify_mark.
  81969. * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
  81970. * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
  81971. * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
  81972. Add prlimit.
  81973. * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
  81974. prlimit64 for GLIBC_2.13.
  81975. * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
  81976. prlimit64.
  81977. * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
  81978. syscall.
  81979. * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
  81980. * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
  81981. * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
  81982. * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
  81983. * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
  81984. add prlimit alias.
  81985. * sysdeps/unix/sysv/linux/prlimit.c: New file.
  81986. [BZ #11903]
  81987. * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
  81988. Patch by Evgeni Bikov <bikovevg@iitp.ru>.
  81989. * nss/Makefile: Add rules to build and run tst-nss-test1.
  81990. * shlib-versions: Add entry for libnss_test1.
  81991. * nss/nss_test1.c: New file.
  81992. * nss/tst-nss-test1.c: New file.
  81993. * nss/nsswitch.c (__nss_database_custom): Define new variable.
  81994. (__nss_configure_lookup): Set appropriate entry in
  81995. __nss_configure_lookup to true.
  81996. * nss/nsswitch.h: Define enum with indeces of databases in
  81997. databases and __nss_database_custom arrays. Declare
  81998. __nss_database_custom.
  81999. * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
  82000. to avoid using nscd when custom rules are installed.
  82001. * nss/getXXbyYY_r.c: Likewise.
  82002. * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
  82003. * nss/nss_files/files-parse.c: Whitespace fixes.
  82004. 2010-08-09 Ulrich Drepper <drepper@redhat.com>
  82005. [BZ #11883]
  82006. * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
  82007. * posix/fnmatch_loop.c: Likewise.
  82008. 2010-07-17 Andi Kleen <ak@linux.intel.com>
  82009. * sysdeps/i386/i386-mcount.S (__fentry__): Define.
  82010. * sysdeps/x86_64/_mcount.S (__fentry__): Define.
  82011. * stdlib/Versions (__fentry__): Add for GLIBC 2.13
  82012. * Versions.def [GLIBC_2.13]: Add.
  82013. 2010-08-06 Ulrich Drepper <drepper@redhat.com>
  82014. * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
  82015. Also fail if tpwd after pwuid call is NULL.
  82016. 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
  82017. * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
  82018. when converting to ms.
  82019. 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
  82020. * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
  82021. EOPNOTSUPP errors with ENOTTY.
  82022. * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
  82023. EOPNOTSUPP errors with ENOTTY.
  82024. 2010-07-31 Ulrich Drepper <drepper@redhat.com>
  82025. * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
  82026. Add strcasecmp_l-ssse3.
  82027. * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
  82028. strcasecmp.
  82029. * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
  82030. * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
  82031. * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
  82032. 2010-07-30 Ulrich Drepper <drepper@redhat.com>
  82033. * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
  82034. * string/Makefile (strop-tests): Add strcasecmp.
  82035. * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
  82036. strcasecmp_l-nonascii.
  82037. (gen-as-const-headers): Add locale-defines.sym.
  82038. * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
  82039. * sysdeps/x86_64/strcasecmp.S: New file.
  82040. * sysdeps/x86_64/strcasecmp_l.S: New file.
  82041. * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
  82042. * sysdeps/x86_64/locale-defines.sym: New file.
  82043. * string/test-strcasecmp.c: New file.
  82044. * string/test-strcasestr.c: Test both ends of the range of characters.
  82045. * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
  82046. 2010-07-29 Roland McGrath <roland@redhat.com>
  82047. [BZ #11856]
  82048. * manual/locale.texi (Yes-or-No Questions): Fix example code.
  82049. 2010-07-27 Ulrich Drepper <drepper@redhat.com>
  82050. * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
  82051. for ld.so.
  82052. 2010-07-27 Andreas Schwab <schwab@redhat.com>
  82053. * manual/memory.texi (Malloc Tunable Parameters): Document
  82054. M_PERTURB.
  82055. 2010-07-26 Roland McGrath <roland@redhat.com>
  82056. [BZ #11840]
  82057. * configure.in (-fgnu89-inline check): Set and substitute
  82058. gnu89_inline, not libc_cv_gnu89_inline.
  82059. * configure: Regenerated.
  82060. * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
  82061. 2010-07-26 Ulrich Drepper <drepper@redhat.com>
  82062. * string/test-strnlen.c: New file.
  82063. * string/Makefile (strop-tests): Add strnlen.
  82064. * string/tester.c (test_strnlen): Add a few more test cases.
  82065. * string/tst-strlen.c: Better error reporting.
  82066. * sysdeps/x86_64/strnlen.S: New file.
  82067. 2010-07-24 Ulrich Drepper <drepper@redhat.com>
  82068. * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
  82069. lower-latency instructions.
  82070. 2010-07-23 Ulrich Drepper <drepper@redhat.com>
  82071. * string/test-strcasestr.c: New file.
  82072. * string/test-strstr.c: New file.
  82073. * string/Makefile (strop-tests): Add strstr and strcasestr.
  82074. * string/str-two-way.h: Don't undefine MAX.
  82075. * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
  82076. 2010-07-21 Andreas Schwab <schwab@redhat.com>
  82077. * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
  82078. strcasestr-nonascii.
  82079. (CFLAGS-strcasestr-nonascii.c): Define.
  82080. * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
  82081. * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
  82082. Remove unused attribute.
  82083. 2010-07-20 Roland McGrath <roland@redhat.com>
  82084. * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
  82085. dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
  82086. ld.so.cache was broken. With it, there is no way to disable dsocaps
  82087. like LD_HWCAP_MASK can disable hwcaps.
  82088. 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
  82089. * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
  82090. 2010-07-16 Ulrich Drepper <drepper@redhat.com>
  82091. * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
  82092. call in strcasestr.
  82093. * sysdeps/x86_64/multiarch/strcasestr.c: Declare
  82094. __strcasestr_sse42_nonascii.
  82095. * sysdeps/x86_64/multiarch/Makefile: Add rules to build
  82096. strcasestr-nonascii.c.
  82097. * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
  82098. 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
  82099. * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
  82100. * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
  82101. * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
  82102. * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
  82103. 2010-07-09 Ulrich Drepper <drepper@redhat.com>
  82104. * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
  82105. fcntl.
  82106. 2010-07-06 Andreas Schwab <schwab@redhat.com>
  82107. [BZ #11577]
  82108. * elf/dl-version.c (match_symbol): Don't pass NULL occation to
  82109. dl_signal_cerror.
  82110. 2010-07-06 Ulrich Drepper <drepper@redhat.com>
  82111. * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
  82112. _PC_PIPE_BUF using F_GETPIPE_SZ.
  82113. 2010-07-05 Roland McGrath <roland@redhat.com>
  82114. * manual/arith.texi (Rounding Functions): Fix rint description
  82115. implicit in round description.
  82116. 2010-07-02 Ulrich Drepper <drepper@redhat.com>
  82117. * elf/Makefile: Fix linking for a few tests to make recent linker
  82118. happy.
  82119. 2010-06-30 Andreas Schwab <schwab@redhat.com>
  82120. * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
  82121. $(common-objpfx)libc_nonshared.a.
  82122. 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
  82123. * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
  82124. * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
  82125. * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
  82126. * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
  82127. * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
  82128. * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
  82129. * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
  82130. * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
  82131. * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
  82132. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
  82133. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
  82134. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
  82135. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
  82136. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
  82137. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
  82138. * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
  82139. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
  82140. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
  82141. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
  82142. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
  82143. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
  82144. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
  82145. * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
  82146. * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
  82147. * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
  82148. * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
  82149. * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
  82150. * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
  82151. * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
  82152. * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
  82153. * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
  82154. * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
  82155. * sysdeps/powerpc/powerpc32/power7/Implies: New file.
  82156. * sysdeps/powerpc/powerpc64/power7/Implies: New file.
  82157. * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
  82158. * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
  82159. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
  82160. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
  82161. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
  82162. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
  82163. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
  82164. * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
  82165. * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
  82166. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
  82167. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
  82168. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
  82169. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
  82170. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
  82171. 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
  82172. * debug/memmove_chk.c (__memmove_chk): Renamed to ...
  82173. (MEMMOVE_CHK): ...this. Default to __memmove_chk.
  82174. * string/memmove.c (memmove): Renamed to ...
  82175. (MEMMOVE): ...this. Default to memmove.
  82176. * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
  82177. * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
  82178. (END_CHK): Define.
  82179. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  82180. memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
  82181. mempcpy-ssse3-back memmove-ssse3-back.
  82182. * sysdeps/x86_64/multiarch/bcopy.S: New file .
  82183. * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
  82184. * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
  82185. * sysdeps/x86_64/multiarch/memcpy.S: New file.
  82186. * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
  82187. * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
  82188. * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
  82189. * sysdeps/x86_64/multiarch/memmove.c: New file.
  82190. * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
  82191. * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
  82192. * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
  82193. * sysdeps/x86_64/multiarch/mempcpy.S: New file.
  82194. * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
  82195. * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
  82196. Define.
  82197. (index_Fast_Copy_Backward): Define.
  82198. (HAS_ARCH_FEATURE): Define.
  82199. (HAS_FAST_REP_STRING): Define.
  82200. (HAS_FAST_COPY_BACKWARD): Define.
  82201. 2010-06-21 Andreas Schwab <schwab@redhat.com>
  82202. * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
  82203. Restore proper fallback handling.
  82204. 2010-06-19 Ulrich Drepper <drepper@redhat.com>
  82205. [BZ #11701]
  82206. * posix/group_member.c (__group_member): Correct checking loop.
  82207. * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
  82208. OOM in getpwuid_r correctly. Return error number when the caller
  82209. should return, otherwise -1.
  82210. (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
  82211. call returning > 0 value.
  82212. * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
  82213. 2010-06-07 Andreas Schwab <schwab@redhat.com>
  82214. * dlfcn/Makefile: Remove explicit dependencies on libc.so and
  82215. libc_nonshared.a from targets in modules-names.
  82216. 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
  82217. * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
  82218. requires it.
  82219. 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
  82220. * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
  82221. * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
  82222. * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
  82223. * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
  82224. 2010-06-02 Andreas Schwab <schwab@redhat.com>
  82225. * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
  82226. 2010-06-14 Ulrich Drepper <drepper@redhat.com>
  82227. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
  82228. and F_GETPIPE_SZ.
  82229. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
  82230. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
  82231. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
  82232. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
  82233. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
  82234. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
  82235. 2010-06-14 Roland McGrath <roland@redhat.com>
  82236. * manual/libc.texinfo (@copying): Change to GFDL v1.3.
  82237. 2010-06-07 Jakub Jelinek <jakub@redhat.com>
  82238. * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
  82239. __REDIRECT followed by __THROW.
  82240. * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
  82241. * posix/getopt.h (getopt): Likewise.
  82242. 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
  82243. * hurd/lookup-at.c (__file_name_lookup_at): Accept
  82244. AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
  82245. AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
  82246. in AT_FLAGS.
  82247. * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
  82248. * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
  82249. 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
  82250. * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
  82251. 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
  82252. [BZ #11640]
  82253. * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
  82254. Properly check family and model.
  82255. 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
  82256. * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
  82257. 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
  82258. * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
  82259. 2010-05-21 Ulrich Drepper <drepper@redhat.com>
  82260. * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
  82261. symbol reference.
  82262. 2010-05-19 Andreas Schwab <schwab@redhat.com>
  82263. * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
  82264. symbol reference.
  82265. 2010-05-21 Andreas Schwab <schwab@redhat.com>
  82266. * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
  82267. and internal_recvmmsg.
  82268. * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
  82269. * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
  82270. * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
  82271. * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
  82272. * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
  82273. * sunrpc/clnt_udp.c (clntudp_control): Likewise.
  82274. * sunrpc/clnt_unix.c (clntunix_control): Likewise.
  82275. 2010-05-20 Andreas Schwab <schwab@redhat.com>
  82276. * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
  82277. 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
  82278. POWER7 optimizations.
  82279. * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
  82280. * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
  82281. 2010-05-19 Ulrich Drepper <drepper@redhat.com>
  82282. * version.h: Update for 2.13 development version.
  82283. 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
  82284. * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
  82285. exceptions. Return 0.
  82286. 2010-05-07 Roland McGrath <roland@redhat.com>
  82287. * elf/ldconfig.c (main): Add a const.
  82288. 2010-05-06 Ulrich Drepper <drepper@redhat.com>
  82289. * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
  82290. (args_options): Add no-idn option.
  82291. (ahosts_keys_int): Add idn_flags to ai_flags.
  82292. (parse_option): Handle 'i' option to clear idn_flags.
  82293. * malloc/malloc.c (_int_free): Possible race in the most recently
  82294. added check. Only act on the data if no current modification
  82295. happened.
  82296. See ChangeLog.17 for earlier changes.