ChangeLog.15 200 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480
  1. 2004-12-20 Jakub Jelinek <jakub@redhat.com>,
  2. Jim Gifford <giffordj@linkline.com>
  3. [BZ #562]
  4. * sysdeps/mips/Makefile (librt-sysdep_routines): Add.
  5. * sysdeps/unix/mips/rt-sysdep.S: New file.
  6. 2004-12-19 Roland McGrath <roland@redhat.com>
  7. * iconv/Makefile (test-iconvconfig): New target.
  8. [$(cross-compiling) != yes] (xtests): Depend on it.
  9. * iconv/iconvconfig.c (nostdlib, output_file, output_file_len):
  10. New variables.
  11. (options, parse_opt, main): Take new options --nostdlib and
  12. --output/-o to set them. Under --nostdlib, skip GCONV_PATH dirs.
  13. (write_output): If output_file is set, write the output there.
  14. 2004-12-19 Andreas Jaeger <aj@suse.de>
  15. [BZ #560]
  16. * inet/netinet/in.h: Use __interface_addr instead of __interface.
  17. [BZ #573]
  18. * sunrpc/xcrypt.c (passwd2des_internal): Make it hidden instead of
  19. internal linkage.
  20. 2004-12-19 Roland McGrath <roland@frob.com>
  21. * version.h (VERSION): 2.3.4.
  22. * README.template: Various updates.
  23. * README: Regenerated.
  24. * NEWS: Mention ports.
  25. * README-alpha: File removed.
  26. [BZ #416]
  27. * locale/langinfo.h: Comment fixes.
  28. 2004-12-17 Ulrich Drepper <drepper@redhat.com>
  29. * po/ja.po: Update from translation team.
  30. 2004-12-17 Richard Henderson <rth@redhat.com>
  31. * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Add support
  32. for NPTL where the PID is stored at userlevel and needs to be
  33. reset when CLONE_THREAD is not used.
  34. 2004-12-17 Jakub Jelinek <jakub@redhat.com>
  35. * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
  36. 2004-12-17 Andreas Jaeger <aj@suse.de>
  37. * math/libm-test.inc (atan2_test): Compute value with 36 digits.
  38. * sysdeps/alpha/fpu/libm-test-ulps: Adjust for changed result.
  39. * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
  40. * sysdeps/s390/fpu/libm-test-ulps: Likewise.
  41. * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
  42. * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
  43. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
  44. 2004-12-16 Ulrich Drepper <drepper@redhat.com>
  45. * stdlib/tst-setcontext.c: Enlarge st1 and st2 arrays.
  46. 2004-09-02 Steven Munroe <sjmunroe@us.ibm.com>
  47. [BZ #610]
  48. * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
  49. (__novec_getcontext): Fix typo in store of fp29.
  50. (__getcontext): Fix typo in store of fp29.
  51. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
  52. (__novec_swapcontext): Fix typo in store of fp29.
  53. (__swapcontext): Fix typo in store of fp29.
  54. 2004-12-17 GOTO Masanori <gotom@debian.or.jp>
  55. * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Fix
  56. vague message.
  57. 2004-12-16 Roland McGrath <roland@redhat.com>
  58. * nscd/Makefile ($(objpfx)nscd): Don't depend on $(selinux-LIBS),
  59. which is usually a -lselinux that make will resolve wrongly.
  60. 2004-12-16 Andreas Jaeger <aj@suse.de>
  61. * math/math.h: Use #if defined to not receive warnings about
  62. undefined symbols.
  63. 2004-12-16 Jakub Jelinek <jakub@redhat.com>
  64. * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Add support
  65. for NPTL where the PID is stored at userlevel and needs to be reset
  66. when CLONE_THREAD is not used.
  67. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
  68. (SYSCALL_ERROR_HANDLER): If RTLD_PRIVATE_ERRNO, use rtld_errno
  69. instead of errno.
  70. * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Include
  71. sysdep-cancel.h instead of sysdep.h. Handle cancellation.
  72. * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Regenerate.
  73. * sysdeps/ieee754/ldbl-128/e_expl.c: Include stdlib.h.
  74. 2004-12-15 Jakub Jelinek <jakub@redhat.com>
  75. * sysdeps/unix/sysv/linux/gethostid.c: Make bi-arch safe.
  76. 2004-12-15 Steven Munroe <sjmunroe@us.ibm.com>
  77. * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Correct stack
  78. alignment. Clean up flag bit tests.
  79. * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Correct stack
  80. alignment. Clean up flag bit tests. Remove redundent SP assignment.
  81. Add TOC register save/restore around function call.
  82. * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Make no_vmx symbol
  83. local.
  84. * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Make no_vmx symbol
  85. local.
  86. * sysdeps/powerpc/powerpc64/__longjmp-common.S: Make no_vmx symbol
  87. local.
  88. * sysdeps/powerpc/powerpc64/setjmp-common.S: Make no_vmx and
  89. aligned_save_vmx symbol local.
  90. 2004-12-15 Ulrich Drepper <drepper@redhat.com>
  91. * sysdeps/i386/i486/bits/string.h (__strncat_g): Fix i686
  92. implementation.
  93. 2004-09-08 H.J. Lu <hongjiu.lu@intel.com>
  94. * Makeconfig (libunwind): New.
  95. (libgcc_eh): Add $(libunwind).
  96. (gnulib): Always set to -lgcc $(libgcc_eh).
  97. (static-gnulib): Always set to -lgcc -lgcc_eh $(libunwind).
  98. (libc.so-gnulib): New.
  99. * Makerules (LDLIBS-c.so): Use $(libc.so-gnulib) instead of
  100. $(static-gnulib).
  101. * configure.in (libc_cv_cc_with_libunwind): Set to yes if gcc
  102. uses -lunwind for static binaries.
  103. 2004-06-05 Joseph S. Myers <jsm@polyomino.org.uk>
  104. * malloc/Makefile (install-bin): Remove memusage.
  105. (install-bin-script): Add memusage.
  106. 2004-12-15 Jakub Jelinek <jakub@redhat.com>
  107. * nis/nis_domain_of_r.c (nis_domain_of_r): Use libnsl_hidden_def,
  108. not libnsl_hidden_proto.
  109. * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Add support
  110. for NPTL where the PID is stored at userlevel and needs to be reset
  111. when CLONE_THREAD is not used.
  112. * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
  113. * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone): Save
  114. and restore r2 around call to fn.
  115. 2004-12-15 Andreas Jaeger <aj@suse.de>
  116. * sysdeps/ia64/dl-machine.h (elf_machine_rela): Mark auto instead
  117. of static, add always_inline attribute.
  118. (elf_machine_rela_relative): Likewise.
  119. (elf_machine_lazy_rel): Likewise.
  120. 2004-12-15 Ulrich Drepper <drepper@redhat.com>
  121. * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Add support
  122. for pid caching in nptl.
  123. 2004-12-14 Ulrich Drepper <drepper@redhat.com>
  124. * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Add support
  125. for pid caching in nptl.
  126. 2004-10-18 Maciej W. Rozycki <macro@mips.com>
  127. * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Use
  128. __NTH instead of __THROW in the inline definition.
  129. * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Likewise.
  130. * sysdeps/mips/bits/dlfcn.h (RTLD_DEEPBIND): New macro.
  131. * sysdeps/unix/sysv/linux/mips/bits/mman.h
  132. (PROT_GROWSDOWN, PROT_GROWSUP): New macros.
  133. 2004-10-06 Alan Modra <amodra@bigpond.net.au>
  134. * sysdeps/powerpc/powerpc64/ppc-mcount.S (PROF): Don't undef.
  135. * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Invoke CALL_MOUNT.
  136. * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
  137. * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
  138. * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
  139. * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
  140. * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
  141. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
  142. * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
  143. 2004-10-19 Wolfram Gloger <wg@malloc.de>
  144. * malloc/hooks.c (mem2chunk_check, top_check): Handle
  145. non-contiguous arena. Reported by Michael Dalton
  146. <mwdalton@stanford.edu> [BZ #457]. Add further checks for top chunk.
  147. 2004-12-14 Jakub Jelinek <jakub@redhat.com>
  148. * sysdeps/posix/sysconf.c (__sysconf_check_spec): Remove leading
  149. underscore from GETCONF_DIR filenames.
  150. 2004-12-13 Ulrich Drepper <drepper@redhat.com>
  151. * po/de.po: Update from translation team.
  152. * nss/getnssent.c (__nss_getent): Double buffer size each round to
  153. avoid problems with delays for some people's huge entries.
  154. * nss/getXXbyYY.c (FUNCTION_NAME): Likewise.
  155. 2004-12-13 Jakub Jelinek <jakub@redhat.com>
  156. * posix/getconf.c (main): Prepend just $GETCONF_DIR/ instead of
  157. $GETCONF_DIR/_ to spec.
  158. * posix/confstr.c (confstr): Remove leading underscores for
  159. _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS.
  160. 2004-12-12 Ulrich Drepper <drepper@redhat.com>
  161. * elf/dl-load.c (_dl_map_object_from_fd): Fix computation of
  162. mapping start. It must take the actual pagesize into account, not
  163. the alignment in the file.
  164. 2004-12-11 Ulrich Drepper <drepper@redhat.com>
  165. * malloc/malloc.c (_int_realloc): Add checks for corrupted memory.
  166. (_int_free): Make clear message are result of free() calls.
  167. * malloc/malloc.c (_int_realloc): Remove unnecessary tests for
  168. oldmem and size == 0.
  169. 2004-12-10 Ulrich Drepper <drepper@redhat.com>
  170. * malloc/arena.c (arena_get2): Prevent endless loop if arenas and
  171. list lock are taken.
  172. 2004-12-08 Thorsten Kukuk <kukuk@suse.de>
  173. * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
  174. Add check if the value is not an empty string. [BZ #597]
  175. 2004-11-29 Jakub Jelinek <jakub@redhat.com>
  176. * stdlib/strtod_l.c (INTERNAL (__STRTOF)): If densize > 2
  177. and numsize < densize, always shift num up by empty + 1 limbs.
  178. 2004-12-07 Paolo Bonzini <bonzini@gnu.org>
  179. * posix/regexec.c (proceed_next_node): Simplify treatment of epsilon
  180. nodes. Pass the pushed node to push_fail_stack.
  181. (push_fail_stack): Accept a single node rather than an array
  182. of two epsilon destinations.
  183. (build_sifted_states): Only walk non-epsilon nodes.
  184. (check_arrival): Don't pass epsilon nodes to
  185. check_arrival_add_next_nodes.
  186. (check_arrival_add_next_nodes) [DEBUG]: Abort if an epsilon node is
  187. found.
  188. (check_node_accept): Do expensive checks later.
  189. (add_epsilon_src_nodes): Cache result of merging the inveclosures.
  190. * posix/regex_internal.h (re_dfastate_t): Add non_eps_nodes and
  191. inveclosure.
  192. (re_string_elem_size_at, re_string_char_size_at, re_string_wchar_at,
  193. re_string_context_at, re_string_peek_byte_case,
  194. re_string_fetch_byte_case, re_node_set_compare, re_node_set_contains):
  195. Declare as pure.
  196. * posix/regex_internal.c (create_newstate_common): Remove.
  197. (register_state): Move part of it here. Initialize non_eps_nodes.
  198. (free_state): Free inveclosure and non_eps_nodes.
  199. (create_cd_newstate, create_ci_newstate): Allocate the new
  200. re_dfastate_t here.
  201. 2004-12-09 Ulrich Drepper <drepper@redhat.com>
  202. * malloc/malloc.c (public_rEALLOc): Add parameter checks.
  203. (_int_free): Provide better error message for invalid pointers.
  204. 2004-12-01 Jakub Jelinek <jakub@redhat.com>
  205. * posix/tst-regex.c: Use defined _POSIX_CPUTIME && _POSIX_CPUTIME >= 0
  206. conditionals instead of defined _POSIX_CPUTIME.
  207. (main): If _POSIX_CPUTIME == 0, call sysconf to see if CPUTIME
  208. option is available.
  209. * posix/tst-regex.c2: Use defined _POSIX_CPUTIME && _POSIX_CPUTIME >= 0
  210. conditionals instead of defined _POSIX_CPUTIME.
  211. (do_test): If _POSIX_CPUTIME == 0, call sysconf to see if CPUTIME
  212. option is available.
  213. * sysdeps/posix/sysconf.c (__sysconf): If _POSIX_CPUTIME resp.
  214. _POSIX_THREAD_CPUTIME is defined to 0, return -1 for the corresponding
  215. _SC_ argument.
  216. 2004-12-08 Jakub Jelinek <jakub@redhat.com>
  217. * elf/ldd.bash.in: When set -o pipefail is available, use that for
  218. piping to cat; when not, don't use the pipe at all.
  219. Pipe to cat in all cases of running the executable.
  220. When direct running exits with code 5, retry running via ${RTLD}.
  221. * elf/rtld.c (process_envvars): If __libc_enable_secure and
  222. mode != normal, exit with exitcode 5.
  223. 2004-12-07 Jakub Jelinek <jakub@redhat.com>
  224. * sysdeps/posix/sysconf.c (__sysconf_check_spec): Only define
  225. if it will be actually used.
  226. 2004-12-07 Roland McGrath <roland@redhat.com>
  227. * rt/tst-timer5.c (setup_test): New function.
  228. (TEST_CLOCK_MISSING): Use it to punt test if timer_create does not
  229. support CLOCK_MONOTONIC.
  230. 2004-12-07 Jakub Jelinek <jakub@redhat.com>
  231. * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Add support for
  232. NPTL where the PID is stored at userlevel and needs to be reset when
  233. CLONE_THREAD is not used. Restore gp before calling _exit.
  234. 2004-12-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  235. * sysdeps/unix/sysv/linux/sh/clone.S: Clear the frame pointer when
  236. starting a new thread. Add support for NPTL where the PID is stored
  237. at userlevel and needs to be reset when CLONE_THREAD is not used.
  238. 2004-12-01 Jakub Jelinek <jakub@redhat.com>
  239. * elf/rtld.c (process_envvars): Don't consider LD_SHOW_AUXV
  240. and LD_DYNAMIC_WEAK if __libc_enable_secure.
  241. If __libc_enable_secure, /etc/suid-debug doesn't exist and
  242. program will be actually run, turn off all debugging.
  243. * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add LD_DEBUG,
  244. LD_DYNAMIC_WEAK and LD_SHOW_AUXV.
  245. 2004-12-06 Jakub Jelinek <jakub@redhat.com>
  246. * time/tzset.c (tzset_internal): If + or - is seen,
  247. but no offset after it, reset offset to 0. [BZ #601]
  248. 2004-12-06 Ulrich Drepper <drepper@redhat.com>
  249. * libio/ioseekpos.c (_IO_seekpos_unlocked): Call _IO_SEEKOFF not
  250. _IO_SEEKPOS, saving one indirect jump.
  251. * libio/fileops.c (_IO_new_file_seekoff): Fix optimization of in-buffer
  252. seek. Remove dead code.
  253. 2004-12-02 Jakub Jelinek <jakub@redhat.com>
  254. * libio/Makefile (tests): Add bug-ungetc4.
  255. * libio/bug-ungetc4.c: New test.
  256. 2004-12-06 Roland McGrath <roland@redhat.com>
  257. * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Diagnose EINVAL
  258. for CLOCK_THREAD_CPUTIME_ID, not ENOTSUP.
  259. Use SYSDEP_NANOSLEEP handler before validating CLOCK_ID value.
  260. * rt/tst-timer4.c (TEST_CLOCK, TEST_CLOCK_NANOSLEEP): New macros.
  261. Use them throughout in place of CLOCK_REALTIME and nanosleep.
  262. (do_test) [TEST_CLOCK_MISSING]: Call this macro and if it returns
  263. non-null, punt the test with a message using the string returned.
  264. * rt/tst-timer5.c: New file.
  265. * rt/Makefile (tests): Add it.
  266. 2004-12-01 Paolo Bonzini <bonzini@gnu.org>
  267. * posix/regcomp.c (free_dfa_content, init_dfa): Remove
  268. references to re_dfa_t's subexps field.
  269. (parse_sub_exp, parse_expression): Do not use it. Use
  270. completed_bkref_map instead.
  271. (create_initial_state, peek_token): Store a backreference \N
  272. with opr.idx = N-1.
  273. * posix/regexec.c (proceed_next_node, check_dst_limits, get_subexp):
  274. Likewise.
  275. (check_subexp_limits): Remove useless condition.
  276. * posix/regex_internal.h (re_subexp_t): Remove.
  277. (re_dfa_t): Remove subexps and subexps_alloc field, add
  278. completed_bkref_map.
  279. 2004-12-05 Roland McGrath <roland@frob.com>
  280. * Makeconfig: Comment typo fix.
  281. 2004-11-30 Andreas Schwab <schwab@suse.de>
  282. * nis/ypclnt.c (ypprot_err): Remove unused entries.
  283. 2004-11-30 Paolo Bonzini <bonzini@gnu.org>
  284. * posix/regexec.c (check_dst_limits_calc_pos_1): Check for
  285. bkref_idx == -1, and don't recurse in that case.
  286. 2004-11-30 GOTO Masanori <gotom@debian.or.jp>
  287. * posix/confstr.c: Enclose #error message with double quote
  288. for gcc-3.3 and lower.
  289. 2004-12-04 Ulrich Drepper <drepper@redhat.com>
  290. * sysdeps/unix/sysv/linux/i386/clone.S: Add support for NPTL where
  291. the PID is stored at userlevel and needs to be reset when CLONE_THREAD
  292. is not used.
  293. * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
  294. 2004-11-18 Daniel Jacobowitz <dan@codesourcery.com>
  295. * sysdeps/arm/sysdep.h: Define __USE_BX__ if bx is available.
  296. Use it instead of __THUMB_INTERWORK__. Make RETINSTR take
  297. only a condition and a register.
  298. * sysdeps/arm/dl-machine.h: Use __USE_BX__ instead of
  299. __THUMB_INTERWORK__.
  300. (_dl_start_user): Use BX.
  301. * sysdeps/arm/strlen.S: Use DO_RET.
  302. * sysdeps/unix/arm/brk.S: Likewise.
  303. * sysdeps/unix/arm/fork.S: Likewise.
  304. * sysdeps/unix/arm/sysdep.S: Likewise.
  305. * sysdeps/unix/arm/sysdep.h: Likewise.
  306. * sysdeps/unix/sysv/linux/arm/clone.S: Update uses of RETINSTR.
  307. * sysdeps/unix/sysv/linux/arm/mmap.S: Likewise.
  308. * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
  309. * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
  310. * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
  311. * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
  312. 2004-12-02 Roland McGrath <roland@redhat.com>
  313. * extra-lib.mk (object-suffixes-$(lib)): Add .oS when
  314. $(lib)-static-only-routines is nonempty.
  315. (extra-objs, o-iterator.mk rule): Filter out .oS from generators.
  316. Add a special rule for .oS objects -> _nonshared.a library.
  317. 2004-12-01 Jakub Jelinek <jakub@redhat.com>
  318. * time/mktime.c (__mktime_internal): If SEC_REQUESTED != SEC,
  319. convert T2, not T.
  320. * time/Makefile (tests): Add tst-mktime3.
  321. * time/tst-mktime3.c: New test.
  322. 2004-12-01 Jakub Jelinek <jakub@redhat.com>
  323. * stdlib/stdlib.h (realpath): Remove nonnull attribute.
  324. * posix/fnmatch_loop.c (internal_fnmatch): Clear is_seqval after
  325. normal_bracket label.
  326. * time/tst-mktime2.c (bigtime_test): Initialize tm.tm_isdst to -1.
  327. 2004-12-01 Roland McGrath <roland@redhat.com>
  328. * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c):
  329. Do $(make-target-directory).
  330. 2004-11-29 Roland McGrath <roland@redhat.com>
  331. * posix/confstr.c: Avoid punctuation in #error text.
  332. 2004-11-27 Ulrich Drepper <drepper@redhat.com>
  333. * posix/Makefile (tests): Add tst-sysconf.
  334. * posix/tst-sysconf.c: New file.
  335. * posix/getconf.c (vars): Add support for _SC_IPV6 and
  336. _SC_RAW_SOCKETS.
  337. * sysdeps/posix/sysconf.c (__sysconf): Add support for _SC_IPV6
  338. and _SC_RAW_SOCKETS.
  339. * sysdeps/generic/bits/confname.h: Define _SC_IPV6 and
  340. _SC_RAW_SOCKETS.
  341. 2004-11-26 Jakub Jelinek <jakub@redhat.com>
  342. * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add GETCONF_DIR.
  343. 2004-11-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  344. * sysdeps/unix/sysv/linux/mips/pread.c: Include sgidefs.h only if
  345. NO_SGIDEFS_H isn't defined. Don't include sgidefs.h twice.
  346. * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
  347. * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
  348. * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
  349. 2004-11-27 Ulrich Drepper <drepper@redhat.com>
  350. * include/dlfcn.h (__libc_dlopen): Add __RTLD_DLOPEN to the mode
  351. parameter. Reported by VY Newsum <newsum@fel.tno.nl>.
  352. 2004-11-10 Daniel Jacobowitz <dan@debian.org>
  353. * libio/iolibio.h (_IO_fclose, _IO_new_fclose, _IO_old_fclose,
  354. _IO_fflush, _IO_fgetpos, _IO_fgetpos64, _IO_fgets, _IO_fopen,
  355. _IO_old_fopen, _IO_new_fopen, _IO_fopen64, __fopen_internal,
  356. _IO_fprintf, _IO_fputs, _IO_fsetpos, _IO_fsetpos64, _IO_ftell,
  357. _IO_fread, _IO_fwrite, _IO_gets, _IO_printf, _IO_puts, _IO_scanf,
  358. _IO_fflush_internal, _IO_ftell_internal, _IO_fputs_internal)
  359. _IO_fwrite_internal): Remove incorrect __THROW.
  360. * libio/libioP.h (_IO_default_xsputn, _IO_wdefault_xsputn,
  361. _IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_default_write,
  362. _IO_default_read, _IO_getline, _IO_getline_info, _IO_getwline,
  363. _IO_getwline_info, _IO_file_read_internal, _IO_sgetn_internal,
  364. _IO_wdo_write_internal, _IO_do_write_internal,
  365. _IO_getline_info_internal, _IO_getline_internal,
  366. _IO_vfprintf_internal, _IO_putc_internal, _IO_read, _IO_write,
  367. _IO_close): Likewise.
  368. 2004-11-26 Jakub Jelinek <jakub@redhat.com>
  369. * posix/Makefile (install-others): Add $(inst_libexecdir)/getconf.
  370. (CFLAGS-sysconf.c): Add -D_GETCONF_DIR.
  371. (CFLAGS-getconf.c): New.
  372. ($(inst_libexecdir)/getconf): New.
  373. * posix/confstr.c (confstr): Use __sysconf to query specifications
  374. that don't have _POSIX_V6_* macros defined. Use __*_{C,LD}FLAGS
  375. macros defined in bits/environments.h.
  376. * sysdeps/posix/sysconf.c: Include stdlib.h, string.h and
  377. sys/stat.h.
  378. (__sysconf_check_spec): New routine.
  379. (__sysconf): Use it.
  380. * posix/getconf.c (specs): Change into structure array.
  381. (main): If -v is not given, try to get default from
  382. $(libexecdir)/getconf/default. If specification is not
  383. supported by this getconf, try to execute
  384. $(libexecdir)/getconf/$(specification).
  385. * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: New file.
  386. * sysdeps/unix/sysv/linux/s390/bits/environments.h: New file.
  387. * sysdeps/unix/sysv/linux/powerpc/bits/environments.h: New file.
  388. * sysdeps/unix/sysv/linux/sparc/bits/environments.h: New file.
  389. * sysdeps/unix/sysv/linux/i386/bits/environments.h: New file.
  390. * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: New file.
  391. * sysdeps/generic/bits/environments.h (__ILP32_OFFBIG_CFLAGS):
  392. Define.
  393. * stdlib/stdlib.h (setenv): Use nonnull only for second argument.
  394. (unsetenv): Remove.
  395. 2004-11-23 Paolo Bonzini <bonzini@gnu.org>
  396. * posix/regcomp.c (analyze_tree): Always call calc_epsdest.
  397. (calc_inveclosure): Use re_node_set_insert_last.
  398. (parse_dup_op): Lower X{1,5} to (X(X(X(XX?)?)?)?)?
  399. rather than X?X?X?X?X?.
  400. * posix/regex_internal.h (re_node_set_insert_last): New declaration.
  401. * posix/regex_internal.c (re_node_set_insert_last): New function.
  402. * posix/PCRE.tests: Add testcases.
  403. 2004-11-25 Ulrich Drepper <drepper@redhat.com>
  404. * dlfcn/dlfcn.h: Remove nonnull attribute from dlopen.
  405. * posix/confstr.c (confstr): Return appropriate strings for
  406. _CS_LFS_LINTFLAGS, _CS_LFS64_CFLAGS, and _CS_LFS64_LINTFLAGS.
  407. 2004-11-05 Maciej W. Rozycki <macro@mips.com>
  408. * sysdeps/mips/dl-machine.h: Include <sgidefs.h>. Use _ABIO32,
  409. _ABIN32 and _ABI64 for ABI selection throughout.
  410. * sysdeps/mips/elf/start.S: Likewise.
  411. * sysdeps/mips/mips64/__longjmp.c: Likewise.
  412. * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
  413. * sysdeps/mips/mips64/bsd-setjmp.S: Likewise.
  414. * sysdeps/mips/mips64/setjmp.S: Likewise.
  415. * sysdeps/mips/mips64/setjmp_aux.c: Likewise.
  416. * sysdeps/mips/sys/regdef.h: Likewise.
  417. * sysdeps/mips/sys/ucontext.h: Likewise.
  418. * sysdeps/unix/mips/sysdep.h: Likewise.
  419. * sysdeps/unix/sysv/linux/kernel-features.h: Likewise.
  420. * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
  421. * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
  422. * sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise.
  423. * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
  424. * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
  425. * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
  426. * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
  427. * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
  428. * sysdeps/mips/atomicity.h: Use _ABIO32, _ABIN32 and _ABI64 for
  429. ABI selection throughout.
  430. * sysdeps/mips/bits/setjmp.h: Likewise.
  431. * sysdeps/mips/fpu/bits/mathdef.h: Likewise.
  432. * sysdeps/mips/machine-gmon.h: Likewise.
  433. * sysdeps/mips/sys/asm.h: Likewise.
  434. * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
  435. * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Likewise.
  436. * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
  437. * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
  438. * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
  439. * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Likewise.
  440. * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
  441. * sysdeps/unix/sysv/linux/mips/sys/user.h: Likewise.
  442. * sysdeps/mips/sgidefs.h: Prevent <asm/sgidefs.h> from being
  443. included by kernel headers and undo its settings if already
  444. included. Define _ABIO32, _ABIN32 and _ABI64 if missing and use
  445. them to define _MIPS_SIM_ABI32, _MIPS_SIM_NABI32 and
  446. _MIPS_SIM_ABI64 for compatibility.
  447. * sysdeps/unix/sysv/linux/mips/Makefile: Use _ABIO32, _ABIN32 and
  448. _ABI64 for ABI selection in generated syscall-list.h
  449. * sysdeps/unix/sysv/linux/mips/configure.in: Use _ABIO32, _ABIN32
  450. and _ABI64 for ABI selection in generated asm-unistd.h.
  451. * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
  452. * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Correct
  453. an inverted _MIPS_SIM conditional.
  454. 2004-11-23 Alexandre Oliva <aoliva@redhat.com>
  455. * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Use free
  456. range even if it doesn't match exactly.
  457. 2004-11-23 Jakub Jelinek <jakub@redhat.com>
  458. * nss/nss_files/files-XXX.c (internal_getent): If parse_line returned
  459. -1, also do H_ERRNO_SET (NETDB_INTERNAL).
  460. 2004-11-22 Ulrich Drepper <drepper@redhat.com>
  461. * sysdeps/i386/fpu_control.h: Add volatile to the asms.
  462. Patch by Alexander Stohr.
  463. 2004-11-22 Jakub Jelinek <jakub@redhat.com>
  464. * nscd/nscd_getai (__nscd_getai): Avoid memory and file descriptor
  465. leaks.
  466. * sysdeps/posix/getaddrinfo.c (gaih_inet): Free air.
  467. 2004-11-15 Maciej W. Rozycki <macro@mips.com>
  468. * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (__SI_MAX_SIZE):
  469. Define appropriately based on __WORDSIZE.
  470. [struct siginfo] (__pad0): Add for explicit padding.
  471. * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Formatting fixes
  472. throughout.
  473. 2004-11-22 Ulrich Drepper <drepper@redhat.com>
  474. * dirent/dirent.h: Add nonnull attributes.
  475. * dlfcn/dlfcn.h: Likewise.
  476. 2004-11-20 Jakub Jelinek <jakub@redhat.com>
  477. * sysdeps/ieee754/k_standard.c: Document code 50.
  478. (__kernel_standard) <case 50>: Avoid raising div-by-zero
  479. exception again.
  480. 2004-11-19 H.J. Lu <hongjiu.lu@intel.com>
  481. [BZ #552]
  482. * math/libm-test.inc (tgamma_test): Update tgamma (0) and
  483. tgamma (-0).
  484. * sysdeps/generic/w_tgamma.c (__tgamma): Properly handle |x| == 0.
  485. * sysdeps/generic/w_tgammaf.c (__tgammaf): Likewise.
  486. * sysdeps/generic/w_tgammal.c (__tgammal): Likewise.
  487. * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
  488. * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
  489. * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
  490. * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
  491. * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle
  492. tgamma (0) and tgamma (-0).
  493. 2004-11-20 Ulrich Drepper <drepper@redhat.com>
  494. * time/tzfile.c (__tzfile_read): Avoid open for checking whether
  495. the file we already use changed.
  496. * misc/syslog.c: Remove !USE_IN_LIBIO code.
  497. 2004-11-20 Jakub Jelinek <jakub@redhat.com>
  498. * signal/signal.h (__sysv_signal, sysv_signal, signal, bsd_signal,
  499. ssignal): Remove __nonnull attribute.
  500. 2004-11-20 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  501. * sysdeps/unix/sysv/linux/sh/sys/procfs.h: New file.
  502. 2004-11-20 Ulrich Drepper <drepper@redhat.com>
  503. * signal/signal.h: Add nonnull attributes.
  504. * signal/signal.h: Add deprecated attributes to sigstack,
  505. sigpause, sigblock, sigsetmask, siggetmask.
  506. 2004-11-20 Jakub Jelinek <jakub@redhat.com>
  507. * sysdeps/unix/sysv/linux/bits/socket.h (SCM_RIGHTS): Avoid
  508. comma at the end of enum if __USE_BSD is not defined.
  509. 2004-11-19 Ulrich Drepper <drepper@redhat.com>
  510. * malloc/malloc.c (_int_malloc): Check for corruption of chunk
  511. which is about to be returned.
  512. * malloc/malloc.c (_int_free): Add a few more cheap tests for
  513. corruption.
  514. 2004-11-17 Randolph Chung <tausq@debian.org>
  515. * sysdeps/hppa/dl-machine.h (TRAMPOLINE_TEMPLATE): Add unwind
  516. annotations.
  517. 2004-11-18 Jakub Jelinek <jakub@redhat.com>
  518. [BZ #544]
  519. * posix/regex.h (RE_NO_SUB): New define.
  520. * posix/regex_internal.h (OP_DELETED_SUBEXP): New.
  521. (re_dfa_t): Add subexp_map.
  522. * posix/regcomp.c (struct subexp_optimize): New type.
  523. (optimize_subexps): New routine.
  524. (re_compile_internal): Call it.
  525. (re_compile_pattern): Set preg->no_sub to 1 if RE_NO_SUB.
  526. (free_dfa_content): Free subexp_map.
  527. (calc_inveclosure, calc_eclosure): Skip OP_DELETED_SUBEXP nodes.
  528. * posix/regexec.c (re_search_internal): If subexp_map
  529. is not NULL, duplicate registers as needed.
  530. * posix/Makefile: Add rules to build and run tst-regex2.
  531. * posix/tst-regex2.c: New test.
  532. * posix/rxspencer/tests: Fix last two tests (\0 -> \1).
  533. Add some new tests for nested subexpressions.
  534. 2004-11-18 Ulrich Drepper <drepper@redhat.com>
  535. * libio/libio.h (_IO_FLAGS2_FORTIFY): Renamed from
  536. _IO_FLAGS2_CHECK_PERCENT_N.
  537. * debug/fprintf_chk.c: Adjust all users.
  538. * debug/printf_chk.c: Likewise.
  539. * debug/vfprintf_chk.c: Likewise.
  540. * debug/vprintf_chk.c: Likewise.
  541. * debug/vsnprintf_chk.c: Likewise.
  542. * debug/vsprintf_chk.c: Likewise.
  543. * stdio-common/vfprintf.c: Likewise. Detect missing %N$ formats.
  544. * debug/tst-chk1.c: Test detection of missing %N$ formats.
  545. 2004-11-15 Jakub Jelinek <jakub@redhat.com>
  546. * posix/bug-regex24.c: Include string.h.
  547. * nis/nis_clone_obj.c (nis_clone_object): Rename out3 label to out2
  548. and out2 to out. Remove out label. Formatting.
  549. 2004-11-15 Ulrich Drepper <drepper@redhat.com>
  550. * include/stdio.h: Do not mark __libc_message as noreturn.
  551. * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_fatal): Add loop to
  552. fool gcc. Include <stdbool.h>.
  553. * sysdeps/posix/libc_fatal.c (__libc_fatal): Add loop to fool gcc.
  554. (__libc_message): Fix typo.
  555. 2004-11-13 Ulrich Drepper <drepper@redhat.com>
  556. * malloc/malloc.c (malloc_state): stat_lock_* elements need only
  557. be defined if THREAD_STATS is defined. Remove pad0_ since it does
  558. not align with cache line sizes in general anyway.
  559. 2004-11-13 Jakub Jelinek <jakub@redhat.com>
  560. * elf/rtld.c (print_statistics): Avoid segfaults if not all namespaces
  561. are used. Fix computation of num_relative_relocations on RELA
  562. architectures other than IA-64 and Alpha.
  563. 2004-11-13 Ulrich Drepper <drepper@redhat.com>
  564. * malloc/malloc.c (_int_free): Use munmap_chunk for handling
  565. mmaped memory.
  566. 2004-11-12 Ulrich Drepper <drepper@redhat.com>
  567. * malloc/malloc.c (_int_free): Remove test for NULL parameter.
  568. (_int_realloc): Call _int_free only if memory parameter is not NULL.
  569. * sysdeps/unix/sysv/linux/libc_fatal.c: Add new function __libc_message
  570. which performs the printing and simple format string handling. The
  571. string is written to tty, stderr, syslog in this order, stopping after
  572. the first successful output.
  573. (__libc_fatal): Call __libc_message.
  574. * include/stdio.h: Declare __libc_message.
  575. * malloc/malloc.c (malloc_printerr): Use __libc_message.
  576. * debug/chk_fail.c: Also print message with __libc_message.
  577. * debug/test-strcpy_chk.c: Ensure that debug messages are not printed
  578. to the terminal or stderr.
  579. * debug/tst-chk1.c: Likewise.
  580. * posix/Makefile: Remove gpl2lgpl variable.
  581. 2004-11-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
  582. * elf/elf.h: Add 20 bit relocations R_390_*20.
  583. 2004-11-12 Jakub Jelinek <jakub@redhat.com>
  584. * sysdeps/unix/sysv/linux/i386/setuid.c: Include linux/posix_types.h.
  585. * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
  586. * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
  587. * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
  588. * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
  589. * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
  590. 2004-11-12 Andreas Schwab <schwab@suse.de>
  591. * nis/ypclnt.c (ypprot_err): Fix "minor optimizations".
  592. 2004-11-12 Ulrich Drepper <drepper@redhat.com>
  593. * posix/Makefile (tests): Add bug-regex24.
  594. * posix/bug-regex24.c: New file.
  595. 2004-11-12 Paolo Bonzini <bonzini@gnu.org>
  596. * posix/regexec.c (check_dst_limits_calc_pos_1): Use the map to
  597. cut recursive paths. Make exit condition more precise.
  598. (match_ctx_add_entry): Initialize the map.
  599. * posix/regex_internal.h (struct re_backref_cache_entry): Add a map of
  600. reachable subexpression nodes from each backreference cache entry.
  601. 2004-11-10 Jakub Jelinek <jakub@redhat.com>
  602. * sysdeps/unix/sysv/linux/setreuid.c: Remove sys/syscall.h,
  603. sys/types.h, linux/posix_types.h, sysdep.h and pthread-functions.h
  604. includes. Include setxid.h. Use INLINE_SETXID_SYSCALL macro
  605. instead of INLINE_SYSCALL, kill the HAVE_PTR__NPTL_SETXID guarded
  606. snippets.
  607. * sysdeps/unix/sysv/linux/setegid.c: Likewise.
  608. * sysdeps/unix/sysv/linux/setuid.c: Likewise.
  609. * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
  610. * sysdeps/unix/sysv/linux/setgid.c: Likewise.
  611. * sysdeps/unix/sysv/linux/setresuid.c: Likewise.
  612. * sysdeps/unix/sysv/linux/setresgid.c: Likewise.
  613. * sysdeps/unix/sysv/linux/setregid.c: Likewise.
  614. * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
  615. * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
  616. * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
  617. * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
  618. * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
  619. * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
  620. * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
  621. * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
  622. * sysdeps/unix/sysv/linux/alpha/setreuid.c: Likewise.
  623. Formatting. Change signed int into int.
  624. * sysdeps/unix/sysv/linux/alpha/setresuid.c: Likewise.
  625. * sysdeps/unix/sysv/linux/alpha/setresgid.c: Likewise.
  626. * sysdeps/unix/sysv/linux/alpha/setregid.c: Likewise.
  627. * sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid):
  628. Remove.
  629. * sysdeps/unix/setxid.h: New file.
  630. * Rules (binaries-static): Add xtests-static.
  631. * Makeconfig (run-program-prefix): Filter also xtests-static.
  632. 2004-11-09 Paul Eggert <eggert@cs.ucla.edu.
  633. [BZ #535]
  634. * time/difftime.c: Fix a double-rounding bug on hosts with
  635. 64-bit time_t and long double being IEEE double. Also, port
  636. to more valid C99 hosts, even those that have padding bits.
  637. Don't include <values.h> since it is marked as an obsolescent
  638. interface. Include <limits.h>, <float.h>, and <stdint.h> instead.
  639. (TYPE_BITS, TYPE_FLOATING, TYPE_SIGNED): New macros.
  640. (subtract): New static function, that works correctly without
  641. double-rounding, even on hosts with 64-bit time_t. Also cater
  642. to hosts with padding bits.
  643. (__difftime): Use it. Use DBL_MANT_DIG and LDBL_MANT_DIG to
  644. determine whether floating types are wide enough: the old
  645. test (which used sizeof) could in theory report the wrong results
  646. on hosts with padding bits in floating-point values.
  647. 2004-11-11 Simon Josefsson <jas@extundo.com>
  648. [BZ #542]
  649. * sysdeps/generic/strtok_r.c [HAVE_CONFIG_H]: Include config.h.
  650. [!_LIBC]: Include strtok_r.h (in gnulib), map __strtok_r to
  651. strtok_r and __rawmemchr to strch.
  652. (__strtok_r): Use C89 prototype.
  653. [weak_alias]: Move calls to libc_hidden_def and weak_alias into
  654. this #ifdef.
  655. 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
  656. [BZ #541]
  657. * time/mktime.c (SHR): New macro, which is a portable
  658. substitute for >> that should work even on Crays.
  659. (TIME_T_MIDPOINT, ydhms_diff, __mktime_internal): Use it.
  660. Problem reported by Mark D. Baushke in
  661. <http://lists.gnu.org/archive/html/bug-gnulib/2004-11/msg00071.html>.
  662. 2004-11-09 Paolo Bonzini <bonzini@gnu.org>
  663. * posix/regexec.c (match_ctx_free_subtops): Remove, merge into...
  664. (match_ctx_clean): ... this function.
  665. (match_ctx_free): Call match_ctx_clean.
  666. * posix/regexec.c (transit_state): Remove the check for
  667. out-of-bounds buffers.
  668. (check_matching): Check here for out-of-bounds buffers.
  669. (re_search_internal): Store into match_kind a set of bits
  670. indicating which incantation of fastmap scanning must be
  671. used. Use a switch statement instead of multiple ifs.
  672. Exit the final "for (;;)" with goto free_return unless
  673. the match succeeded, thus simplifying some conditionals.
  674. * posix/regex_internal.c (re_string_reconstruct,
  675. re_string_context_at): Add several branch predictions for
  676. case-sensitive matching and no transition table being used.
  677. 2004-11-10 Ulrich Drepper <drepper@redhat.com>
  678. * posix/tst-waitid.c: Don't use error to print error message, they
  679. won't end up in the .out file.
  680. 2004-11-09 Ulrich Drepper <drepper@redhat.com>
  681. * nscd/nscd-client.h (libc_locked_map_ptr): Add new first
  682. parameter, used as class for definition.
  683. * nscd/nscd_getpw_r.c: Adjust for libc_locked_map_ptr change.
  684. (pw_map_free): Ensure no crash after memory is freed.
  685. * nscd/nscd_getgr_r.c: Likewise. Make map externally visible.
  686. * nscd/nscd_gethst_r.c: Likewise.
  687. * nscd/nscd_getai.c: Use map from nscd_gethost.c.
  688. * nscd/nscd_initgroups.c: Use map from nscd_getgr.c.
  689. * nscd/nscd_getai.c: Add some checks to detect corrupt databases.
  690. * nscd/nscd_getgr_r.c: Likewise
  691. * nscd/nscd_gethst_r.c: Likewise.
  692. * nscd/nscd_getpw_r.c: Likewise
  693. 2004-11-09 Jakub Jelinek <jakub@redhat.com>
  694. * posix/regcomp.c (calc_eclosure_iter): Don't access
  695. dfa->edests[node].elems[0] if dfa->edests[node].nelem == 0.
  696. * posix/rxspencer/tests: Add 5 new tests.
  697. 2004-11-09 Ulrich Drepper <drepper@redhat.com>
  698. * sysdeps/unix/sysv/linux/ifaddrs.c: Determine sin6_scope_id field
  699. value correctly. Patch by Mitsuru Kanda <mk@karaba.org>.
  700. 2004-11-04 Jakub Jelinek <jakub@redhat.com>
  701. * libio/fileops.c (_IO_new_file_seekoff): If mode is 0 and
  702. fp->_offset == _IO_pos_BAD, just call _IO_SYSSEEK (fp, 0, dir)
  703. and if successful set fp->_offset.
  704. * libio/Makefile (tests): Add bug-ungetc3.
  705. * libio/bug-ungetc3.c: New test.
  706. 2004-11-03 Marcus Brinkmann <marcus@gnu.org>
  707. * sysdeps/gnu/_G_config.h (_G_HAVE_MREMAP): Define symbol.
  708. * sysdeps/mach/hurd/_G_config.h: New file.
  709. * libio/fileops.c (mmap_remap_check) [__linux__]: Replaced with
  710. [_G_HAVE_MREMAP].
  711. 2004-11-08 Ulrich Drepper <drepper@redhat.com>
  712. * posix/regcomp.c (utf8_sb_map): Define.
  713. (free_dfa_content): Don't free dfa->sb_char if it's a pointer to
  714. utf8_sb_map.
  715. (init_dfa): Use utf8_sb_map instead of initializing memory when the
  716. encoding is UTF-8.
  717. 2004-11-03 Paolo Bonzini <bonzini@gnu.org>
  718. * posix/regcomp.c (init_dfa): Get the codeset name outside glibc as
  719. well. Check if it is spelled UTF8 as well as UTF-8, and check
  720. case-insensitively. Set dfa->map_notascii manually when outside
  721. glibc.
  722. * posix/regex_internal.c (build_wcs_upper_buffer) [!_LIBC]: Enable
  723. optimizations based on map_notascii.
  724. * posix/regex_internal.h [HAVE_LANGINFO_H || HAVE_LANGINFO_CODESET
  725. || _LIBC]: Include langinfo.h.
  726. * posix/regex_internal.h (struct re_backref_cache_entry): Add "more"
  727. field.
  728. * posix/regexec.c (check_dst_limits): Hoist computation of the source
  729. and destination bkref_idx out of the loop. Pass it to
  730. check_dst_limits_calc_pos.
  731. (check_dst_limits_calc_pos_1): New function, containing the recursive
  732. loop of check_dst_limits_calc_pos; uses the "more" field of
  733. struct re_backref_cache to control the loop.
  734. (check_dst_limits_calc_pos): Store into "boundaries" the position
  735. relative to lim's start and end positions. Do not accept eclosures,
  736. accept bkref_idx instead. Call check_dst_limits_calc_pos_1 to do the
  737. work.
  738. (sift_states_bkref): Use the "more" field of struct re_backref_cache
  739. to control the loop. A big "if" was turned into a continue and the
  740. function was reindented.
  741. (get_subexp): Use the "more" field of struct re_backref_cache
  742. to control the loop.
  743. (match_ctx_add_entry): Initialize the bkref_ents' "more" field.
  744. (search_cur_bkref_entry): Return -1 if out of bounds.
  745. * posix/regexec.c (empty_set): Remove.
  746. (sift_states_backward): Remove cur_src variable. Move inner loop
  747. to build_sifted_states.
  748. (build_sifted_states): Extract from sift_states_backward. Do not
  749. use empty_set.
  750. (update_cur_sifted_state): Do not use empty_set. Special case
  751. dest_nodes->nelem == 0.
  752. * posix/regex_internal.h (struct re_backref_cache_entry): Remove flag
  753. field.
  754. (struct re_sift_context_t): Remove cur_bkref, cls_subexp_idx,
  755. check_subexp fields. Move limits last.
  756. * posix/regexec.c (match_ctx_clear_flag): Remove.
  757. (sift_ctx_init): Remove check_subexp parameter. Do not set removed
  758. fields. Callers adjusted.
  759. (expand_bkref_cache): Remove last_str parameter. Callers adjusted.
  760. (re_search_internal): Remove fast_translate variable.
  761. (update_cur_sifted_state): Pass candidates as the final parameter
  762. to sift_states_bkref.
  763. (sift_states_bkref): Change last unused parameter to be "candidates",
  764. do not fetch candidates into a local variable.
  765. Remove dead test for "node == sctx->bkref", and the cur_bkref_idx
  766. variable.
  767. Remove loops that set/reset the flag field of backref cache entries.
  768. (check_arrival_add_next_nodes): Use a signed int to hold the return
  769. value of re_node_set_insert.
  770. (group_nodes_into_DFAstates): Likewise.
  771. (match_ctx_add_entry): Do not set the flag field of the new entry.
  772. 2004-11-05 Roland McGrath <roland@redhat.com>
  773. * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Define
  774. _dl_sysinfo_dso under [NEED_DL_SYSINFO_DSO] as well.
  775. * elf/rtld.c (dl_main): Set up GLRO(dl_sysinfo_dso) under
  776. [NEED_DL_SYSINFO_DSO] as well.
  777. * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Always include
  778. AT_SYSINFO and AT_SYSINFO_EHDR in name table.
  779. (_dl_sysdep_start) [NEED_DL_SYSINFO_DSO]: Match AT_SYSINFO_EHDR.
  780. * elf/dl-support.c (_dl_sysinfo_dso): Define also under
  781. [NEED_DL_SYSINFO_DSO].
  782. (_dl_aux_init) [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO]:
  783. Match AT_SYSINFO_EHDR and set GL(dl_sysinfo_dso).
  784. 2004-11-05 Roland McGrath <roland@redhat.com>
  785. * manual/errno.texi (Error Codes): Revert last change for now.
  786. * sysdeps/gnu/errlist.c: Regenerated.
  787. 2004-11-04 Roland McGrath <roland@frob.com>
  788. * Makeconfig (link-libc, rpath-dirs): Remove AIX cruft definitions.
  789. (LDFLAGS-rpath-ORIGIN, LDFLAGS-soname-fname): Likewise.
  790. (LDFLAGS-rdynamic, LDFLAGS-Bsymbolic): Likewise.
  791. ($(common-objpfx)gnu/lib-names.stmp): Likewise.
  792. 2004-11-01 Jakub Jelinek <jakub@redhat.com>
  793. * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h [__WORDSIZE == 32]
  794. (elf_fpxregset_t): New type.
  795. (struct elf_prpsinfo): If __WORDSIZE == 32, change pr_[ug]id type
  796. to unsigned short int.
  797. * sysdeps/unix/sysv/linux/x86_64/sys/user.h
  798. (struct user_fpregs_struct): Fix comment.
  799. * sysdeps/i386/fpu/bits/mathdef.h (float_t, double_t): If
  800. __FLOAT_EVAL_METHOD__ is defined and 0, typedef to float resp. double.
  801. * sysdeps/x86_64/fpu/bits/mathdef.h: Include bits/wordsize.h.
  802. (float_t, double_t): If -m32 and not -mfpmath=sse, typedef to
  803. long double.
  804. * sysdeps/x86_64/fpu/bits/fenv.h: Include bits/wordsize.h.
  805. (fenv_t): Remove __mxcsr field for -m32.
  806. 2004-11-04 Jakub Jelinek <jakub@redhat.com>
  807. * libio/ftello.c (ftello): Don't subtract save_end - save_base
  808. if pos is _IO_pos_BAD.
  809. * libio/ftello64.c (ftello64): Likewise.
  810. * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
  811. * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
  812. * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
  813. * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
  814. * libio/ioftell.c (_IO_ftell): Likewise.
  815. Cast to long int instead of off_t when checking for overflow.
  816. 2004-11-04 Richard Henderson <rth@redhat.com>
  817. * sysdeps/unix/sysv/linux/alpha/register-dump.h (regnames): Align.
  818. (linefeed): Remove.
  819. (register_dump): Rewrite to generate into a flat buffer instead
  820. of into iovecs.
  821. 2004-11-02 Jakub Jelinek <jakub@redhat.com>
  822. * debug/tst-chk1.c (ret): New volatile variable.
  823. (CHK_FAIL_END): Remove redundant ret setting.
  824. (do_test): Remote ret variable.
  825. 2004-01-03 Paolo Bonzini <bonzini@gnu.org>
  826. * posix/regex_internal.h (__regfree) [!_LIBC]: Define to regfree.
  827. 2004-11-03 Marcus Brinkmann <marcus@gnu.org>
  828. * sysdeps/generic/utime.c: Include <stddef.h>.
  829. * sysdeps/generic/sysconf.c: Include <grp.h> and <pwd.h>.
  830. * sysdeps/generic/tempname.c (__path_search): Add missing argument
  831. TRY_TMPDIR.
  832. 2004-10-31 Mariusz Mazur <mmazur@kernel.pl>
  833. * sysdeps/unix/sysv/linux/alpha/setregid.c: New file.
  834. * sysdeps/unix/sysv/linux/alpha/setresgid.c: New file.
  835. * sysdeps/unix/sysv/linux/alpha/setresuid.c: New file.
  836. * sysdeps/unix/sysv/linux/alpha/setreuid.c: New file.
  837. 2004-10-27 Derek R. Price <derek@ximbiot.com>
  838. [BZ #487] This change is imported from gnulib.
  839. * time/mktime.c (not_equal_tm) [DEBUG]: Remove redundant check.
  840. 2004-10-24 Paul Eggert <eggert@cs.ucla.edu>
  841. [BZ #473]
  842. * time/tst-mktime.c (main): Don't assume that mktime fails
  843. when given time stamps before 1970. It returns negative
  844. time_t values instead, for compatibility with BSD.
  845. * time/tst-mktime2.c: New file.
  846. * time/Makefile (tests): Add it.
  847. [BZ #473] Import from gnulib. Revamp to avoid several problems near
  848. time_t extrema, and on hosts with 64-bit time_t and 32-bit int.
  849. This fixes Debian bug 177940.
  850. * time/mktime.c (TIME_T_MIDPOINT): New macro.
  851. (ydhms_diff): Renamed from ydhms_tm_diff, with a new signature,
  852. which avoids overflow problems on hosts with 64-bit time_t and
  853. 32-bit int. All callers changed. Now an inline function.
  854. Verify at compile-time that long int is wide enough to avoid
  855. these overflow problems.
  856. (guess_time_tm): New function.
  857. (__mktime_internal): Use it. Avoid overflow when computing yday on
  858. hosts with 64-bit long and 32-bit int. Remove tests for 69;
  859. no longer needed. Use if rather than #ifdef for LEAP_SECONDS_POSSIBLE
  860. so that the code is checked by more compilers.
  861. Do not rely on floating point to probe: stick to integer arithmetic,
  862. to avoid potential porting problems.
  863. Repair potential overflow correctly in the Southern Hemisphere.
  864. (localtime_offset): Add a FIXME for the case where time_t is unsigned.
  865. 2004-10-30 Andreas Schwab <schwab@suse.de>
  866. * sysdeps/m68k/dl-machine.h (elf_machine_rela)
  867. (elf_machine_rela_relative, elf_machine_lazy_rel): Mark auto
  868. instead of static.
  869. 2004-10-30 Andreas Schwab <schwab@suse.de>
  870. * sysdeps/unix/sysv/linux/waitid.c: Include <stddef.h> for NULL.
  871. 2004-10-30 Ulrich Drepper <drepper@redhat.com>
  872. * malloc/malloc.c (_int_free): Use unique comments for the error
  873. cases.
  874. 2004-10-28 Roland McGrath <roland@frob.com>
  875. * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_fork): Use i386_thread_state
  876. instead of machine_thread_state.
  877. 2004-10-28 Roland McGrath <roland@redhat.com>
  878. * sysdeps/unix/sysv/linux/syscalls.list: Remove setaltroot.
  879. 2004-10-28 Ulrich Drepper <drepper@redhat.com>
  880. * elf/dl-open.c (dl_open_worker): Remove reference to glibcbug script.
  881. 2004-10-27 Ulrich Drepper <drepper@redhat.com>
  882. * elf/dl-load.c (_dl_map_object): Use cache_rpath to check for
  883. existing rpath in main executable, not explicit test.
  884. 2004-10-27 Jakub Jelinek <jakub@redhat.com>
  885. * include/resolv.h (_res_opcodes): New extern.
  886. Add libresolv_hidden_proto.
  887. * resolv/res_debug.c (_res_opcodes): Remove.
  888. (__p_class_syms, __p_type_syms): Add libresolv_hidden_proto
  889. and libresolv_hidden_data_def. Remove attribute_hidden.
  890. * resolv/res_mkquery (_res_opcodes): Remove.
  891. * resolv/res_data.c (_res_opcodes): Remove attribute_hidden.
  892. Add libresolv_hidden_data_def.
  893. 2004-10-27 Ulrich Drepper <drepper@redhat.com>
  894. * elf/dl-open.c (_dl_open): Don't allow explicitly opening a DSO
  895. into an empty namespace.
  896. * elf/dl-fini.c (_dl_fini): Fix search for map in maps array.
  897. Reverse order of namespaces.
  898. * elf/Makefile: Add rules to build and run tst-dlmopen3.
  899. * elf/tst-dlmopen3.c: New file.
  900. * elf/tst-dlmopen1mod.c: Add check whether constructor runs.
  901. 2004-10-27 Jakub Jelinek <jakub@redhat.com>
  902. * sysdeps/generic/glob.c (globfree): Clear gl_pathv after freeing it.
  903. * posix/Makefile: Add rules to build and run bug-glob2 test.
  904. * posix/bug-glob2.c: New test.
  905. 2004-10-27 Roland McGrath <roland@frob.com>
  906. * sysdeps/mach/hurd/i386/tls.h (HURD_TLS_DESC_DECL): New macro.
  907. (_hurd_tls_init): Use it.
  908. (_hurd_tls_fork): New function.
  909. * sysdeps/mach/hurd/fork.c (__fork) [USE_TLS]: Call it.
  910. 2004-10-26 Roland McGrath <roland@frob.com>
  911. * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Initialize TCB->tcb.
  912. 2004-10-26 Jakub Jelinek <jakub@redhat.com>
  913. * sysdeps/gnu/netinet/udp.h (struct udphdr): Use u_int16_t
  914. type instead of uint16_t. Formatting.
  915. 2004-10-25 Roland McGrath <roland@redhat.com>
  916. * login/openpty.c (openpty): Add libutil_hidden_def.
  917. * nss/nss_files/files-parse.c (nss_files_parse_hidden_def): Define to
  918. either libc_hidden_def or libnss_files_hidden_def, not hidden_def.
  919. This file is also compiled into libnss_hesiod by #include.
  920. 2004-10-25 Roland McGrath <roland@frob.com>
  921. * sysdeps/unix/bsd/hp: Directory and all files removed.
  922. These are now in the ports repository.
  923. * sysdeps/unix/bsd/osf: Likewise.
  924. * sysdeps/unix/bsd/sequent: Likewise.
  925. * sysdeps/unix/bsd/sony: Likewise.
  926. * sysdeps/unix/bsd/ultrix4: Likewise.
  927. * sysdeps/unix/sysv/aix: Likewise.
  928. * sysdeps/unix/sysv/hpux: Likewise.
  929. * sysdeps/unix/sysv/irix4: Likewise.
  930. * sysdeps/unix/sysv/isc2.2: Likewise.
  931. * sysdeps/unix/sysv/minix: Likewise.
  932. * sysdeps/unix/sysv/sco3.2.4: Likewise.
  933. * sysdeps/unix/sysv/sco3.2: Likewise.
  934. * sysdeps/unix/sysv/sysv4: Likewise.
  935. * configure.in (ASM_LINE_SEP): Move this setting to ...
  936. * sysdeps/hppa/configure.in: ... here, new file.
  937. * sysdeps/hppa/configure: New generated file.
  938. * configure: Regenerated.
  939. 2004-10-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  940. * sysdeps/sh/dl-machine.h: Include sysdep.h.
  941. (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add CFI directives.
  942. (elf_machine_runtime_setup): Add always_inline attribute.
  943. (_dl_start_user): Pass the correct environ.
  944. (elf_machine_rela): Replace static inline by auto inline, add
  945. always_inline attribute.
  946. (elf_machine_rela_relative): Likewise.
  947. (elf_machine_lazy_rel): Likewise.
  948. 2004-10-24 Ulrich Drepper <drepper@redhat.com>
  949. * nis/nis_call.c: Pretty printing. Minor cleanups.
  950. * nis/nis_addmember.c (nis_addmember): Add assert to check buffer
  951. bounds.
  952. * resolv/nss_dns/dns-host.c: Avoid using PLTs.
  953. * include/libc-symbols.h: Define hidden attribute macros for
  954. libnss_nisplus and libutil.
  955. * include/utmp.h: Add libutil_hidden_proto for login_tty.
  956. * login/login_tty.c: Add libutil_hidden_def.
  957. * nis/nisplus-parser.h: Add libnss_nisplus_hidden_proto for parsers.
  958. * nis/nss_nisplus/nisplus-parser.c: Add libnss_nisplus_hidden_def.
  959. * include/pty.h: New file.
  960. * include/rpcsvc/yp.h: New file.
  961. * include/rpcsvc/ypclnt.h: New file.
  962. * include/rpcsvc/ypupd.h: New file.
  963. * include/libc-symbols.h: Define hidden attribute macros for libnsl.
  964. * include/rpcsvc/nislib.h: Use libnsl_hidden_proto for various
  965. functions.
  966. * nis/nis_add.c: Add libnsl_hidden_def. Minor optimizations.
  967. * nis/nis_call.c: Likewise.
  968. * nis/nis_clone_obj.c: Likewise.
  969. * nis/nis_defaults.c: Likewise.
  970. * nis/nis_domain_of_r.c: Likewise.
  971. * nis/nis_error.c: Likewise.
  972. * nis/nis_file.c: Likewise.
  973. * nis/nis_free.c: Likewise.
  974. * nis/nis_local_names.c: Likewise.
  975. * nis/nis_lookup.c: Likewise.
  976. * nis/nis_modify.c: Likewise.
  977. * nis/nis_print.c: Likewise.
  978. * nis/nis_remove.c: Likewise.
  979. * nis/nis_subr.c: Likewise.
  980. * nis/nis_table.c: Likewise.
  981. * nis/nis_util.c: Likewise.
  982. * nis/yp_xdr.c: Likewise.
  983. * nis/ypclnt.c: Likewise.
  984. * nis/ypupdate_xdr.c: Likewise.
  985. * resolv/res_send.c (send_dg): Cope with failures.
  986. * include/libc-symbols.h: Define hidden attribute macros for
  987. libnss_files.
  988. * include/netdb.h: Use libnss_files_hidden_proto for the parsers
  989. defined in libnss_files, not libc_hidden_proto.
  990. * include/netinet/ether.h: Likewise.
  991. * include/rpc/netdb.h: Likewise.
  992. * nss/nss_files/files-parse.c: Use hidden_def in parser definitions
  993. instead of libc_hidden_def.
  994. * nss/nss_files/files-netgrp.c: Add libnss_files_hidden_def to
  995. _nss_netgroup_parseline definition.
  996. 2004-10-23 Roland McGrath <roland@frob.com>
  997. * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Don't return early
  998. after an RPC succeeds.
  999. * sysdeps/vax, sysdeps/unix/bsd/vax: Directories and all files removed.
  1000. These are now in the ports repository.
  1001. * sysdeps/tahoe, sysdeps/unix/bsd/tahoe: Likewise.
  1002. * sysdeps/cris, sysdeps/unix/sysv/linux/cris: Likewise.
  1003. * sysdeps/am29k, sysdeps/i860, sysdeps/i960, sysdeps/m88k: Likewise.
  1004. * sysdeps/standalone, sysdeps/z8000: Likewise.
  1005. 2004-10-23 Ulrich Drepper <drepper@redhat.com>
  1006. * resolv/res_send.c (send_dg): Combine write and read to socket
  1007. into one loop.
  1008. 2004-10-22 Roland McGrath <roland@frob.com>
  1009. * Makefile (%.bz2, %.gz): Move these pattern rules ...
  1010. * Makerules: ... to here.
  1011. 2001-10-31 Alexandre Oliva <aoliva@redhat.com>
  1012. * elf/elf.h: Add R_MN10300_* relocation numbers.
  1013. 2004-10-22 Paul Eggert <eggert@cs.ucla.edu>
  1014. [BZ #471] Fix imported from gnulib.
  1015. * time/mktime.c (leapyear, ydms_tm_diff): Year is of type
  1016. long int, not int, to avoid problems when tm_year == INT_MAX
  1017. and tm_mon > 12.
  1018. (__mktime_intenral): Compute year using long int arithmetic,
  1019. not int arithmetic, to avoid problems on hosts where time_t
  1020. and long are 64 bits but int is 32.
  1021. [BZ #468] Import a fix from gnulib.
  1022. * time/mktime.c [! DEBUG]: Do not include <string.h>.
  1023. It's needed only if DEBUG is nonzero.
  1024. [BZ #470] Import fix from gnulib.
  1025. * time/mktime.c [!_LIBC] (__mktime_internal): Define to
  1026. mktime_internal, to avoid clashes with any __mktime_internal
  1027. function defined in the standard library.
  1028. [BZ #469] Imported from gnulib.
  1029. * time/mktime.c (__isleap): Remove; all uses replaced by:
  1030. (leapyear): New function, which avoids overflow by not adding
  1031. 1900 to year before testing whether it is a leap year.
  1032. [BZ #472] Imported from gnulib.
  1033. * time/mktime.c (Local Variables): Remove -DHAVE_TIME_R_POSIX;
  1034. no longer used.
  1035. 2004-10-22 Ulrich Drepper <drepper@redhat.com>
  1036. * resolv/res_send.c: Remove compatibility code which is unused in
  1037. glibc and probably bitrotten.
  1038. * debug/execinfo.h: Remove __THROW from backtrace prototype.
  1039. 2004-10-22 Jakub Jelinek <jakub@redhat.com>
  1040. * sysdeps/i386/Makefile (CFLAGS-backtrace.c): Add -fexceptions.
  1041. * sysdeps/i386/backtrace.c: Include <bits/libc-lock.h>, <dlfcn.h>,
  1042. <stdlib.h> and <unwind.h>. Remove <bp-checks.h> include.
  1043. (struct trace_arg): New type.
  1044. (unwind_backtrace, unwind_getip, unwind_getcfa, unwind_getgr): New
  1045. fn pointers resp. macros.
  1046. (init, backtrace_helper): New functions.
  1047. (__backtrace): Rewritten to use _Unwind_Backtrace first and fall
  1048. back to frame pointer walking.
  1049. 2004-10-22 Ulrich Drepper <drepper@redhat.com>
  1050. * sysdeps/unix/sysv/linux/Versions: Things are still in flux, it
  1051. seems. Undo last additions.
  1052. 2004-10-21 Ulrich Drepper <drepper@redhat.com>
  1053. * posix/execvp.c (execvp): Also ignore ENODEV and ETIMEDOUT errno
  1054. values.
  1055. 2004-10-20 Roland McGrath <roland@redhat.com>
  1056. * Makeconfig ($(common-objpfx)shlib-versions.v.i): Check also
  1057. $(config-sysdirs) for shlib-versions files.
  1058. * Makeconfig ($(common-objpfx)soversions.i): Replace shell loop with
  1059. use of ...
  1060. * scripts/soversions.awk: ... this new file. Collect lib info and
  1061. match any DEFAULT line before emitting anything, so DEFAULT can come
  1062. later in the concatenation of shlib-versions files.
  1063. * manual/errno.texi (Error Codes): Add ENOKEY, EKEYEXPIRED,
  1064. EKEYREVOKED, EKEYREJECTED.
  1065. * sysdeps/unix/sysv/linux/Versions (libc: GLIBC_2.3.4): New errlist.
  1066. * sysdeps/gnu/errlist.c: Regenerated
  1067. * sysdeps/gnu/errlist-compat.awk: Don't bail if Versions gives a count
  1068. higher than ERR_MAX reports. Instead, emit a #define ERR_MAX.
  1069. * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.h): New target.
  1070. (generated): Add errlist-compat.h.
  1071. * sysdeps/gnu/errlist.awk: Make output #include <errlist-compat.h> to
  1072. define ERR_MAX and use that for table size.
  1073. 2004-10-20 Ulrich Drepper <drepper@redhat.com>
  1074. * sysdeps/unix/sysv/linux/syscalls.list: Add entries for setaltroot,
  1075. key_add, key_request, and keyctl syscalls.
  1076. * sysdeps/unix/sysv/linux/Versions: Export them.
  1077. 2004-10-19 Roland McGrath <roland@frob.com>
  1078. * sysdeps/mach/readonly-area.c: New file.
  1079. 2004-10-19 Ulrich Drepper <drepper@redhat.com>
  1080. * elf/Versions [ld, GLIBC_PRIVATE]: Add _dl_debug_state.
  1081. * elf/dl-debug.c (_dl_debug_state): Add rtld_hidden_def.
  1082. * sysdeps/generic/ldsodefs.h (_dl_debug_state): Don't mark as
  1083. hidden but use rtld_hidden_proto.
  1084. 2004-10-19 Alfred M. Szmidt <ams@gnu.org>
  1085. * sysdeps/generic/readonly-area.c (__readonly_str): Renamed to ...
  1086. (__readonly_area): ... this.
  1087. 2004-10-18 Jakub Jelinek <jakub@redhat.com>
  1088. * sysdeps/generic/strcpy_chk.c (__strcpy_chk): Speed up by checking
  1089. destlen only every 4 bytes.
  1090. 2004-10-19 Ulrich Drepper <drepper@redhat.com>
  1091. * nss/getent.c (hosts_keys): Let inet_pton decide whether the
  1092. string is an address or not.
  1093. 2004-10-19 Jakub Jelinek <jakub@redhat.com>
  1094. * elf/dl-addr.c (_dl_addr): Don't look at STT_TLS symbols.
  1095. Use DL_SYMBOL_ADDRESS to set dli_saddr.
  1096. * debug/Makefile (catchsegv): Prefix $LIB with a backslash.
  1097. 2004-10-19 Ulrich Drepper <drepper@redhat.com>
  1098. * debug/Makefile ($(objpfx)catchsegv): To support multilib
  1099. platforms, use $LIB in path to slibdir.
  1100. 2004-10-19 Jakub Jelinek <jakub@redhat.com>
  1101. * debug/catchsegv.sh: Update copyright year.
  1102. Use mktemp to create segv_output file.
  1103. 2004-10-18 Jakub Jelinek <jakub@redhat.com>
  1104. * elf/dl-libc.c (__libc_dlsym_private, __libc_register_dl_open_hook):
  1105. New functions.
  1106. (__libc_dlopen_mode): Call __libc_register_dl_open_hook and
  1107. __libc_register_dlfcn_hook.
  1108. * dlfcn/Makefile (routines, elide-routines.os): Set.
  1109. Add rules to build and test tststatic2.
  1110. * dlfcn/tststatic2.c: New test.
  1111. * dlfcn/modstatic2.c: New test module.
  1112. * dlfcn/dladdr.c: Call _dlfcn_hook from libdl.so if not NULL.
  1113. Define __ prefixed routine in libc.a and in libdl.a just call it.
  1114. * dlfcn/dladdr1.c: Likewise.
  1115. * dlfcn/dlclose.c: Likewise.
  1116. * dlfcn/dlerror.c: Likewise.
  1117. * dlfcn/dlinfo.c: Likewise.
  1118. * dlfcn/dlmopen.c: Likewise.
  1119. * dlfcn/dlopen.c: Likewise.
  1120. * dlfcn/dlopenold.c: Likewise.
  1121. * dlfcn/dlsym.c: Likewise.
  1122. * dlfcn/dlvsym.c: Likewise.
  1123. * dlfcn/sdladdr.c: New file.
  1124. * dlfcn/sdladdr1.c: New file.
  1125. * dlfcn/sdlclose.c: New file.
  1126. * dlfcn/sdlerror.c: New file.
  1127. * dlfcn/sdlinfo.c: New file.
  1128. * dlfcn/sdlopen.c: New file.
  1129. * dlfcn/sdlsym.c: New file.
  1130. * dlfcn/sdlvsym.c: New file.
  1131. * dlfcn/Versions (libdl): Export _dlfcn_hook@GLIBC_PRIVATE.
  1132. * include/dlfcn.h (DL_CALLER_DECL, DL_CALLER RETURN_ADDRESS): Define.
  1133. (struct dlfcn_hook): New type.
  1134. (_dlfcn_hook): New extern decl.
  1135. (__dlopen, __dlclose, __dlsym, __dlerror, __dladdr, __dladdr1,
  1136. __dlinfo, __dlmopen, __libc_dlsym_private,
  1137. __libc_register_dl_open_hook, __libc_register_dlfcn_hook): New
  1138. prototypes.
  1139. (__dlvsym): Use DL_CALLER_DECL.
  1140. * include/libc-symbols.h: Define libdl_hidden_proto and friends.
  1141. * malloc/arena.c (_dl_open_hook): Extern decl.
  1142. (ptmalloc_init): Don't call _dl_addr when dlopened from statically
  1143. linked programs but don't use brk for them either.
  1144. 2004-10-18 Roland McGrath <roland@redhat.com>
  1145. * dlfcn/bug-dlsym1.c (main): Remove bogus setenv call.
  1146. 2004-10-18 Ulrich Drepper <drepper@redhat.com>
  1147. * elf/dl-open.c (dl_open_worker): Avoid dereferencing map in
  1148. statically linked code if there might none be found.
  1149. 2004-10-06 Maciej W. Rozycki <macro@mips.com>
  1150. * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
  1151. (__SYSCALL_CLOBBERS): Add "memory".
  1152. * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
  1153. (__SYSCALL_CLOBBERS): Likewise.
  1154. * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
  1155. (__SYSCALL_CLOBBERS): Likewise.
  1156. 2004-10-17 Ulrich Drepper <drepper@redhat.com>
  1157. * include/libc-symbols.h: Define libresolv_hidden_proto and friends.
  1158. * include/resolv.h: Add libresolv_hidden_proto for symbols defined,
  1159. used, and exported in libresolv.
  1160. * resolv/base64.c: Add libresolv_hidden_def.
  1161. * resolv/gethnamaddr.c: Likewise.
  1162. * resolv/ns_name.c: Likewise.
  1163. * resolv/ns_netint.c: Likewise.
  1164. * resolv/res_comp.c: Likewise.
  1165. * resolv/res_data.c: Likewise.
  1166. * resolv/res_debug.c: Likewise.
  1167. * resolv/res_mkquery.c: Likewise.
  1168. * resolv/res_query.c: Likewise.
  1169. * resolv/res_send.c: Likewise.
  1170. 2004-10-15 Jakub Jelinek <jakub@redhat.com>
  1171. * elf/dl-minimal.c (__chk_fail): New. Add rtld_hidden_def.
  1172. * sysdeps/unix/sysv/linux/readonly-area.c: New file.
  1173. * sysdeps/i386/i686/memmove.S (__memmove_chk): Add checking
  1174. routine.
  1175. * sysdeps/i386/i686/memcpy.S (__memcpy_chk): Likewise.
  1176. * sysdeps/i386/i686/mempcpy.S (__mempcpy_chk): Likewise.
  1177. * sysdeps/i386/i686/memset.S (__memset_chk): Likewise.
  1178. * sysdeps/i386/i686/memmove-chk.S: New file.
  1179. * sysdeps/i386/i686/memcpy-chk.S: Likewise.
  1180. * sysdeps/i386/i686/mempcpy-chk.S: Likewise.
  1181. * sysdeps/i386/i686/memset-chk.S: Likewise.
  1182. * sysdeps/generic/strcat-chk.c (__strcat_chk): Don't __chk_fail
  1183. if exactly fitting into buffer.
  1184. * sysdeps/generic/strncat-chk.c (__strncat_chk): Likewise.
  1185. * sysdeps/generic/readonly-area.c: New file.
  1186. * sysdeps/generic/strncpy-chk.c (__strncpy_chk): Only test
  1187. destlen once.
  1188. * sysdeps/x86_64/memset.S (__memset_chk): Add checking routine.
  1189. * sysdeps/x86_64/memcpy.S (__memcpy_chk): Likewise.
  1190. * sysdeps/x86_64/mempcpy.S (__memcpy_chk): Define to __mempcpy_chk.
  1191. * sysdeps/x86_64/memcpy-chk.S: New file.
  1192. * sysdeps/x86_64/mempcpy-chk.S: Likewise.
  1193. * sysdeps/x86_64/memset-chk.S: Likewise.
  1194. * sysdeps/x86_64/strcpy-chk.S: Likewise.
  1195. * sysdeps/x86_64/stpcpy-chk.S: Likewise.
  1196. * argp/argp-xinl.c (__OPTIMIZE__): Define to 1 instead of nothing.
  1197. * argp/argp-fs-xinl.c (__OPTIMIZE__): Likewise.
  1198. * debug/tst-chk1.c: New test.
  1199. * debug/tst-chk2.c: Likewise.
  1200. * debug/tst-chk3.c: Likewise.
  1201. * debug/test-strcpy_chk.c: Likewise.
  1202. * debug/test-stpcpy_chk.c: Likewise.
  1203. * debug/vsprintf_chk.c (__vsprintf_chk): If flags > 0, request
  1204. _IO_FLAGS2_CHECK_PERCENT_N. Add libc_hidden_def.
  1205. * debug/Makefile (routines): Add printf_chk, fprintf_chk, vprintf_chk,
  1206. vfprintf_chk, gets_chk and readonly-area.
  1207. (CFLAGS-*_chk.c): Set.
  1208. (tests): Add tst-chk1, tst-chk2, tst-chk3, test-strcpy_chk and
  1209. test-stpcpy_chk.
  1210. * debug/vprintf_chk.c: New file.
  1211. * debug/printf_chk.c: Likewise.
  1212. * debug/vfprintf_chk.c: Likewise.
  1213. * debug/fprintf_chk.c: Likewise.
  1214. * debug/gets_chk.c: Likewise.
  1215. * debug/chk_fail.c (__chk_fail): Add libc_hidden_def.
  1216. * debug/snprintf_chk.c (__snprintf_chk): Fix order of arguments
  1217. passed to __vsnprintf_chk.
  1218. * debug/Versions (libc): Export __printf_chk, __fprintf_chk,
  1219. __vprintf_chk, __vfprintf_chk and __gets_chk @GLIBC_2.3.4.
  1220. * debug/vsnprintf_chk.c (__vsnprintf_chk): Don't call
  1221. __vsnprintf, instead create a temporary file with
  1222. _IO_strn_jumps jumptable. If flags > 0, request
  1223. _IO_FLAGS2_CHECK_PERCENT_N. Add libc_hidden_def.
  1224. * libio/Makefile (headers): Add bits/stdio2.h.
  1225. * libio/stdio.h: Include <bits/stdio2.h> if __USE_FORTIFY_LEVEL.
  1226. (sprintf, snprintf, vsprintf, vsnprintf): Remove defines.
  1227. * libio/strfile.h (_IO_strnfile): New type.
  1228. (_IO_strn_jumps): New extern.
  1229. * libio/vsnprintf.c (_IO_strnfile): Remove.
  1230. (_IO_strn_jumps): Remove static.
  1231. * libio/bits/stdio2.h: New file.
  1232. * libio/vswprintf.c (_IO_strnfile): Rename type to...
  1233. (_IO_wstrnfile): ...this. Adjust all uses.
  1234. * libio/libio.h (_IO_FLAGS2_CHECK_PERCENT_N): Define.
  1235. * stdio-common/vfprintf.c (STR_LEN): Define.
  1236. (vfprintf): Add readonly_format variable.
  1237. Handle _IO_FLAGS2_CHECK_PERCENT_N.
  1238. (buffered_vfprintf): Copy _flags2.
  1239. * include/stdio.h (__sprintf_chk, __snprintf_chk, __vsprintf_chk,
  1240. __vsnprintf_chk, __printf_chk, __fprintf_chk, __vprintf_chk,
  1241. __vfprintf_chk): New prototypes.
  1242. (__vsprintf_chk, __vsnprintf_chk): Add libc_hidden_proto.
  1243. * include/string.h (__memcpy_chk, __memmove_chk, __mempcpy_chk,
  1244. __memset_chk, __strcpy_chk, __stpcpy_chk, __strncpy_chk, __strcat_chk,
  1245. __strncat_chk): New prototypes.
  1246. * include/bits/string3.h: New file.
  1247. * include/sys/cdefs.h (__chk_fail): Add libc_hidden_proto
  1248. and rtld_hidden_proto.
  1249. * string/Makefile (headers): Add bits/string3.h.
  1250. * string/bits/string3.h (bcopy, bzero): New defines.
  1251. (memset, memcpy, memmove, strcpy, strncpy, strcat, strncat): Change
  1252. macros so that inlines are used only if unknown destination size
  1253. or side-effects in destination argument.
  1254. (mempcpy, stpcpy): Likewise. Protect with #ifdef __USE_GNU.
  1255. 2004-09-16 Ulrich Drepper <drepper@redhat.com>
  1256. * debug/Makefile (routines): Add *_chk.
  1257. * debug/Versions (libc): Export __chk_fail, __memcpy_chk,
  1258. __memmove_chk, __mempcpy_chk, __memset_chk, __stpcpy_chk,
  1259. __strcat_chk, __strcpy_chk, __strncat_chk, __strncpy_chk,
  1260. __sprintf_chk, __vsprintf_chk, __snprintf_chk, __vsnprintf_chk
  1261. @GLIBC_2.3.4.
  1262. * debug/chk_fail.c: New file.
  1263. * debug/snprintf_chk.c: Likewise.
  1264. * debug/sprintf_chk.c: Likewise.
  1265. * debug/vsnprintf_chk.c: Likewise.
  1266. * debug/vsprintf_chk.c: Likewise.
  1267. * include/features.h (_FORTIFY_SOURCE): Document, handle.
  1268. (__USE_FORTIFY_LEVEL): Define.
  1269. (__GNUC_PREREQ): Move to earlier location.
  1270. * include/sys/cdefs.h (__chk_fail): New prototype.
  1271. * libio/bits/stdio.h (sprintf, vsprintf, snprintf, vsnprintf):
  1272. Define if __USE_FORTIFY_LEVEL.
  1273. * misc/sys/cdefs.h (__bos, __bos0): Define.
  1274. * string/string.h: Include <bits/string3.h> if __USE_FORTIFY_LEVEL.
  1275. * bits/string/string3.h: New header.
  1276. * sysdeps/generic/memcpy_chk.c: New file.
  1277. * sysdeps/generic/memmove_chk.c: Likewise.
  1278. * sysdeps/generic/mempcpy_chk.c: Likewise.
  1279. * sysdeps/generic/memset_chk.c: Likewise.
  1280. * sysdeps/generic/stpcpy_chk.c: Likewise.
  1281. * sysdeps/generic/strcat_chk.c: Likewise.
  1282. * sysdeps/generic/strcpy_chk.c: Likewise.
  1283. * sysdeps/generic/strncat_chk.c: Likewise.
  1284. * sysdeps/generic/strncpy_chk.c: Likewise.
  1285. 2004-10-17 Roland McGrath <roland@frob.com>
  1286. * manual/memory.texi (Page Lock Functions): Typo fix.
  1287. Reported by Carlos Maziero <maziero@ppgia.pucpr.br>
  1288. 2004-10-16 Alfred M. Szmidt <ams@kemisten.nu>
  1289. * sysdeps/mach/hurd/Makefile (link-libc-static): Use
  1290. `$(static-gnulib') instead of `$(gnulib)'.
  1291. 2004-10-17 Ulrich Drepper <drepper@redhat.com>
  1292. * sunrpc/rpc_clntout.c: Avoid including rcsid into binary.
  1293. * sunrpc/rpc_cout.c: Likewise.
  1294. * sunrpc/rpc_hout.c: Likewise.
  1295. * sunrpc/rpc_main.c: Likewise.
  1296. * sunrpc/rpc_parse.c: Likewise.
  1297. * sunrpc/rpc_sample.c: Likewise.
  1298. * sunrpc/rpc_scan.c: Likewise.
  1299. * sunrpc/rpc_svcout.c: Likewise.
  1300. * sunrpc/rpc_tblout.c: Likewise.
  1301. * sunrpc/rpc_util.c: Likewise.
  1302. 2004-10-15 Jakub Jelinek <jakub@redhat.com>
  1303. * sysdeps/unix/sysv/linux/i386/sysdep.h (PUSHARGS_6, DOARGS_6,
  1304. POPARGS_6, _PUSHARGS_6, _DOARGS_6, _POPARGS_6): Define.
  1305. * sysdeps/unix/sysv/linux/i386/syscall.S (syscall): Handle 6 argument
  1306. syscalls.
  1307. 2004-10-15 Ulrich Drepper <drepper@redhat.com>
  1308. * nscd/nscd.h (_PATH_NSCD_PASSWD_DB): Move to /var/db.
  1309. (_PATH_NSCD_GROUP_DB): Likewise.
  1310. (_PATH_NSCD_HOSTS_DB): Likewise.
  1311. (_PATH_NSCD_XYZ_DB_TMP): New #define, point to /var/run.
  1312. * nscd/connections.c (nscd_init): Non-persistent database files
  1313. are created with the _PATH_NSCD_XYZ_DB_TMP path.
  1314. * nscd/nscd.init: Create /var/db/nscd if necessary.
  1315. 2004-10-15 Richard Henderson <rth@redhat.com>
  1316. * sysdeps/unix/sysv/linux/alpha/register-dump.h: New file.
  1317. * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h (SIGCONTEXT): Add
  1318. _code argument, pass sigcontext by pointer.
  1319. (SIGCONTEXT_EXTRA_ARGS): Likewise.
  1320. (GET_PC, GET_FRAME, GET_STACK): Expect ctx as pointer.
  1321. 2004-10-14 Richard Henderson <rth@redhat.com>
  1322. * sysdeps/alpha/dl-machine.h (elf_machine_rela,
  1323. elf_machine_rela_relative, elf_machine_lazy_rel): Mark auto
  1324. instead of static.
  1325. * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use prototype
  1326. style definition.
  1327. * sysdeps/unix/sysv/linux/alpha/adjtime.c (ADJTIME): If
  1328. __ASSUME_TIMEVAL64, define __adjtime directly rather than
  1329. via strong_alias.
  1330. 2004-10-14 Ulrich Drepper <drepper@redhat.com>
  1331. * nscd/Makefile: When using compilers without -fpie support, also
  1332. link with -lselinux if necessary.
  1333. Patch by Arkadiusz Miskiewicz <arekm@pld-linux.org>.
  1334. * nscd/connections.c (nscd_init): Remove file if not persistent
  1335. and not shared. Patch by Jerome Borsboom <j.borsboom@erasmusmc.nl>.
  1336. 2004-10-14 Jakub Jelinek <jakub@redhat.com>
  1337. * sysdeps/unix/sysv/linux/i386/setresuid.c: Handle
  1338. defined __NR_setresuid32 && !defined __NR_setresuid.
  1339. * sysdeps/unix/sysv/linux/i386/setresgid.c: Handle
  1340. defined __NR_setresgid32 && !defined __NR_setresgid.
  1341. * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf, __signbit,
  1342. __signbitl, sqrtf, sqrt, sqrtl, fdim, fdimf): Use __NTH macro.
  1343. * sysdeps/generic/errno-loc.c: Don't undef #errno
  1344. if RTLD_PRIVATE_ERRNO.
  1345. * include/errno.h (__errno_location): If RTLD_PRIVATE_ERRNO,
  1346. add attribute_hidden.
  1347. * dlfcn/dlinfo.c (dlinfo_doit): Replace iteration over GL(dl_loaded)
  1348. chain with iteration over all namespaces' _ns_loaded chains.
  1349. * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_preferred_address):
  1350. Likewise.
  1351. * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Likewise.
  1352. * elf/rtld.c (_dl_start): Fix one last dl_loaded.
  1353. * elf/dl-load.c (_dl_map_object_from_fd): Avoid definition of
  1354. label when it is not needed.
  1355. * elf/dl-close.c (_dl_close): Typo: & -> &&.
  1356. 2004-10-12 Jakub Jelinek <jakub@redhat.com>
  1357. * sysdeps/generic/segfault.c: Include alloca.h and stdint.h.
  1358. Don't include frame.h.
  1359. (CURRENT_STACK_FRAME, INNER_THAN, ADVANCE_STACK_FRAME): Remove.
  1360. (catch_segfault): Use backtrace function.
  1361. * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Fix comment.
  1362. * sysdeps/unix/sysv/linux/ia64/register-dump.h: New file.
  1363. * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h (GET_PC): Return sc_ip
  1364. field.
  1365. 2004-10-13 Ulrich Drepper <drepper@redhat.com>
  1366. Add support for namespaces in the dynamic linker.
  1367. * dlfcn/Makefile (libdl-routines): Add dlmopen.
  1368. * dlfcn/Versions [libdl, GLIBC_2.3.4]: Add dlmopen.
  1369. * dlfcn/dlfcn.h: Define Lmid_t, LM_ID_BASE, and LM_ID_NEWLM.
  1370. Declare dlmopen. Document RTLD_DI_LMID.
  1371. * dlfcn/dlinfo.c: Handle RTLD_DI_LMID.
  1372. * dlfcn/dlmopen.c: New file.
  1373. * dlfcn/dlopen.c: Pass new parameter to _dl_open.
  1374. * dlfcn/dlopenold.c: Likewise.
  1375. * elf/dl-addr.c: Adjust for removal of GL(dl_loaded).
  1376. * elf/dl-caller.c: Likewise.
  1377. * elf/dl-close.c: Likewise.
  1378. * elf/dl-conflict.c: Likewise.
  1379. * elf/dl-debug.c: Likewise.
  1380. * elf/dl-lookup.c: Likewise.
  1381. * elf/dl-sym.c: Likewise.
  1382. * elf/dl-version.c: Likewise.
  1383. * elf/do-lookup.h: Likewise.
  1384. * elf/rtld.c: Likewise.
  1385. * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
  1386. * elf/dl-depsc: Likewise. Add new parameter to _dl_map_object.
  1387. * elf/dl-fini.c: Call destructors in all namespaces.
  1388. * elf/dl-iteratephdr.c: Compute total nloaded. Adjust for removal of
  1389. GL(dl_loaded).
  1390. * elf/dl-libc.c: Pass new parameter to _dl_open. Adjust for removal
  1391. of GL(dl_loaded).
  1392. * elf/dl-load.c (_dl_map_object_from_fd): Don't load ld.so a second
  1393. time. Reuse the one from the main namespace in all others.
  1394. Pass new parameter to _dl_new_object.
  1395. Adjust for removal of GL(dl_loaded).
  1396. * elf/dl-object.c: Take new parameter. Use it to initialize l_ns.
  1397. Adjust for removal of GL(dl_loaded).
  1398. * elf/dl-open.c (_dl_open): Take new parameter.
  1399. Adjust for removal of GL(dl_loaded).
  1400. * elf/dl-support.c: Replace global _dl_loaded etc variables with
  1401. _dl_ns variable.
  1402. * include/dlfcn.h: Adjust prototype of _dl_open.
  1403. Define __LM_ID_CALLER.
  1404. * include/link.h: Add l_real, l_ns, and l_direct_opencount elements.
  1405. * sysdeps/generic/dl-tls.c: Bump TLS_STATIC_SURPLUS. Since libc is
  1406. using TLS we need memory appropriate to the number of namespaces.
  1407. * sysdeps/generic/ldsodefs.h (struct rtld_global): Replace _dl_loaded,
  1408. _dl_nloaded, _dl_global_scope, _dl_main_searchlist, and
  1409. _dl_global_scope_alloc with _dl_ns element. Define DL_NNS.
  1410. Adjust prototypes of _dl_map_object and member in rtld_global_ro.
  1411. * malloc/malloc.c: Include <dlfcn.h>.
  1412. * malloc/arena.c (ptmalloc_init): If libc is not in primary namespace,
  1413. never use brk.
  1414. * elf/Makefile: Add rules to build and run tst-dlmopen1 and
  1415. tst-dlmopen2.
  1416. * elf/tst-dlmopen1.c: New file.
  1417. * elf/tst-dlmopen1mod.c: New file.
  1418. * elf/tst-dlmopen2.c: New file.
  1419. * elf/dl-close.c: Improve reference counting by tracking direct loads.
  1420. * elf/dl-lookup.c (add_dependency): Likewise.
  1421. * elf/dl-open.c (dl_open_worker): Likewise.
  1422. * elf/rtld.c (dl_main): Likewise.
  1423. 2004-09-09 GOTO Masanori <gotom@debian.or.jp>
  1424. [BZ #77]
  1425. * elf/dl-close.c: Count down l_opencount to check not only for
  1426. l_reldeps, but also l_initfini.
  1427. 2004-10-13 Ulrich Drepper <drepper@redhat.com>
  1428. * elf/dl-close.c (_dl_close): Update bug reporting instructions.
  1429. 2004-10-11 Ulrich Drepper <drepper@redhat.com>
  1430. * timezone/asia: Update from tzdata2004e.
  1431. * timezone/southamerica: Likewise.
  1432. * timezone/private.h: Update from tzcode2004e.
  1433. * timezone/zdump.c: Likewise.
  1434. * stdio-common/vfscanf.c: Add support for reading localized
  1435. digits. Patch mainly by Hamed Malek <hamed@bamdad.org>.
  1436. * resolv/res_init.c (res_thread_freeres): Reset _res.options.
  1437. [BZ #434]
  1438. * resolv/res_send.c (send_dg): Use nonblocking sockets. Add
  1439. appropriate poll/select calls and restart operation if necessary.
  1440. Also handle EINTR.
  1441. * elf/tst-dlopenrpath.c (do_test): Enable code which was disabled
  1442. for debugging.
  1443. * elf/dl-sym.c (do_sym): Avoid using global variable.
  1444. * elf/dl-addr.c (_dl_addr): Really use match everywhere.
  1445. 2004-10-09 Andreas Schwab <schwab@suse.de>
  1446. * sysdeps/m68k/memcopy.h (WORD_COPY_BWD): Remove use of cast as
  1447. lvalue.
  1448. * sysdeps/m68k/fpu/bits/mathinline.h: Remove __THROW from inline
  1449. definitions.
  1450. 2004-10-07 Andreas Schwab <schwab@suse.de>
  1451. * misc/sys/uio.h: Change __vector to __iovec to avoid clash with
  1452. altivec.
  1453. 2004-10-06 Alan Modra <amodra@bigpond.net.au>
  1454. * gmon/Makefile (CFLAGS-mcount.c): Move before inclusion of "Rules".
  1455. * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-mcount.c): Add
  1456. -msoft-float.
  1457. * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): New macros.
  1458. (CALL_MCOUNT): Replace with a gas macro implementation.
  1459. (EALIGN): Delete PROF version.
  1460. * sysdeps/powerpc/powerpc64/__longjmp-common.S: Invoke CALL_MCOUNT.
  1461. * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Likewise.
  1462. * sysdeps/powerpc/powerpc64/bsd-setjmp.S: Likewise.
  1463. * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
  1464. * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
  1465. * sysdeps/powerpc/powerpc64/memset.S: Likewise.
  1466. * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
  1467. * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
  1468. * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
  1469. * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
  1470. * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
  1471. * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
  1472. * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
  1473. * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
  1474. * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
  1475. * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
  1476. * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
  1477. * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
  1478. * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
  1479. * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
  1480. * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
  1481. * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
  1482. * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
  1483. * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
  1484. * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
  1485. * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
  1486. * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
  1487. * sysdeps/powerpc/powerpc64/setjmp-common.S: Add extra entry point
  1488. past _mcount call.
  1489. * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Use it.
  1490. * sysdeps/powerpc/powerpc64/bsd-setjmp.S: Likewise.
  1491. 2004-10-06 Ulrich Drepper <drepper@redhat.com>
  1492. * resolv/res_mkquery.c (res_nmkquery): Reject randombits value if
  1493. low 16 bits are zero.
  1494. 2004-10-06 Jakub Jelinek <jakub@redhat.com>
  1495. * posix/tst-getaddrinfo2.c: Include stdlib.h and string.h.
  1496. (do_test): Use %p instead of 0x%08X to print a pointer.
  1497. * malloc/malloc.c: Include stdio-common/_itoa.h.
  1498. 2004-10-05 Ulrich Drepper <drepper@redhat.com>
  1499. * elf/rtld.c (dl_main): Use _dl_debug_printf instead of _dl_printf
  1500. for prelink message.
  1501. 2004-10-05 Jakub Jelinek <jakub@redhat.com>
  1502. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Include dl-sysdep.h.
  1503. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
  1504. 2004-10-05 Ulrich Drepper <drepper@redhat.com>
  1505. * grp/initgroups.c: Remove duplicate group IDs.
  1506. * grp/compat-initgroups.c: Likewise.
  1507. * nscd/initgrcache.c: Likewise.
  1508. 2004-10-05 Jakub Jelinek <jakub@redhat.com>
  1509. * sysdeps/unix/sysv/linux/x86_64/sysconf.c (__sysconf): Return 200112L
  1510. for _SC_CPUTIME or _SC_THREAD_CPUTIME.
  1511. * nscd/Makefile (nscd-cflags): Set to -DIS_IN_nscd=1, plus
  1512. -fpie if building PIE.
  1513. (CFLAGS-*.c): Use it.
  1514. * nscd/Makefile (relro-LDFLAGS): Add -Wl,-z,now if have-z-relro.
  1515. ($(objpfx)nscd): Add $(relro-LDFLAGS).
  1516. * sysdeps/unix/sysv/linux/i386/sysconf.c: Include hp-timing.h.
  1517. (__sysconf): Return -1 for _SC_CPUTIME or _SC_THREAD_CPUTIME if
  1518. !HP_TIMING_AVAIL.
  1519. 2004-10-05 Ulrich Drepper <drepper@redhat.com>
  1520. * nscd/Makefile (distribute): Remove TODO.
  1521. * nscd/TODO: Removed.
  1522. 2004-10-04 Ulrich Drepper <drepper@redhat.com>
  1523. * nscd/gai.c: Define __no_netlink_support if NEED_NETLINK is
  1524. defined and __ASSUME_NETLINK_SUPPORT is zero.
  1525. * sysdeps/unix/sysv/linux/Makefile (CFLAGS-gai.c): Add
  1526. -DNEED_NETLINK.
  1527. * malloc/mtrace.pl: Avoid calling location unless it is needed for
  1528. output. Patch by Edward Bishop <binutils@gmail.com>.
  1529. * nscd/Makefile (CFLAGS-gai.c): Add -fpie.
  1530. 2004-10-04 H.J. Lu <hongjiu.lu@intel.com>
  1531. * sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c
  1532. (clock_getcpuclockid): Add missing retval.
  1533. * sysdeps/unix/sysv/linux/ia64/sysconf.c (linux_sysconf): Fix a typo.
  1534. 2004-10-04 Roland McGrath <roland@redhat.com>
  1535. * include/errno.h [RTLD_PRIVATE_ERRNO] (errno): Rename the real symbol
  1536. to rtld_errno.
  1537. * sysdeps/generic/errno.c [RTLD_PRIVATE_ERRNO] (rtld_errno): Define it,
  1538. and don't define any other errno names.
  1539. * sysdeps/unix/alpha/sysdep.h [RTLD_PRIVATE_ERRNO]: Use rtld_errno in
  1540. place of errno.
  1541. * sysdeps/unix/i386/sysdep.S: Likewise.
  1542. * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
  1543. * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
  1544. * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
  1545. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
  1546. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
  1547. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
  1548. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
  1549. * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
  1550. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
  1551. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
  1552. * sysdeps/unix/x86_64/sysdep.S: Likewise.
  1553. * sysdeps/generic/errno.c [! USE___THREAD] (errno): Use `nocommon'
  1554. attribute instead of `section'.
  1555. 2004-10-04 Ulrich Drepper <drepper@redhat.com>
  1556. * sysdeps/unix/sysv/linux/ia64/sysconf.c: New file.
  1557. * sysdeps/unix/sysv/linux/ia64/Dist: Add has_cpuclock.c.
  1558. * sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c: Move actual
  1559. testing code to...
  1560. * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: ...here. New file.
  1561. * sysdeps/unix/sysv/linux/i386/sysconf.c: Add dynamic check for
  1562. _SC_CPUTIME and _SC_THREAD_CPUTIME.
  1563. * nscd/connections.c (start_threads): Use sysconf in case
  1564. _POSIX_CLOCK_SELECTION or _POSIX_MONOTONIC_CLOCK is not greater zero.
  1565. * nscd/Makefile (nscd-modules): Add gai.
  1566. * nscd/gai.c: New file.
  1567. * nscd/nscd.c: Remove getaddrinfo stub definition.
  1568. * assert/assert.h: Give up on using __builtin_expect.
  1569. * elf/rtld.c (dl_main): Only skip => output in ldd mode if both
  1570. strings are identical.
  1571. 2004-03-18 Jakub Jelinek <jakub@redhat.com>
  1572. * malloc/arena.c (aligned_heap_area): New variable.
  1573. (new_heap): If aligned_heap_area != NULL, attempt to use that
  1574. first. If HEAP_MAX_SIZE << 1 area is already HEAP_MAX_SIZE bytes
  1575. aligned, remember the second half in aligned_heap_area.
  1576. (delete_heap): Clear aligned_heap_area if deleting the area right
  1577. before aligned_heap_area.
  1578. 2004-10-03 Jürg Billeter <j@bitron.ch>
  1579. * nscd/nscd_initgroups.c (__nscd_getgrouplist): Return -1 if nscd
  1580. can't be used. [BZ #424]
  1581. 2004-10-03 Ulrich Drepper <drepper@redhat.com>
  1582. Dynamically create new threads if necessary.
  1583. * nscd/connections.c (fd_ready): If no thread available for processing
  1584. the request, create a new one unless the limit is reached.
  1585. (start_threads): Check errors from pthread_create.
  1586. * nscd/nscd.h: Declare max_nthreads.
  1587. * nscd/nscd_conf.c: Parse max-nthreads entry.
  1588. * nscd/nscd.conf: Add max-threads entry.
  1589. * nscd/nscd_stat.c: Print current and maximum number of threads.
  1590. Implement paranoia mode.
  1591. * nscd/connections.c (nscd_init): Mark database and socket descriptors
  1592. as close on exec.
  1593. (restart): New function.
  1594. (restart_p): New function.
  1595. (nscd_run): Add missing descrement of nready in case readylist is
  1596. empty.
  1597. (main_loop_poll): Call restart_p and restart.
  1598. (main_loop_epoll): Likewise.
  1599. (begin_drop_privileges): Save original UID and GID.
  1600. * nscd/nscd.c: Define new variables paranoia, restart_time,
  1601. restart_interval, oldcwd, old_gid, old_uid.
  1602. (main): Disable paranoia mode if we are not forking.
  1603. (check_pid): When re-execing, the PID file contains the same PID as
  1604. the current process. Do not fail in this case.
  1605. * nscd/nscd.conf: Add paranoia and restart-interval entries.
  1606. * nscd/nscd.h: Define RESTART_INTERVAL. Declare new variables.
  1607. * nscd/nscd_conf.c: Parse paranoia and restart-internal configurations.
  1608. * nscd/nscd_stat.c: Print paranoia and restart-internal values.
  1609. * nscd/connections.c: Implement alternative loop for main thread
  1610. which uses epoll.
  1611. * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]
  1612. (CFLAGS-connections.c): Add -DHAVE_EPOLL.
  1613. 2004-10-02 Ulrich Drepper <drepper@redhat.com>
  1614. * nscd/Makefile (CFLAGS-initgrcache.c): Add to CFLAGS-* variables,
  1615. don't replace old content.
  1616. * nscd/connections.c: Rewrite handling of incoming connections. All
  1617. are handled by one thread which then hands off the descriptors for the
  1618. real work to the worker threads.
  1619. * nscd/Makefile: Link nscd with librt.
  1620. * nscd/selinux.c: Pretty printing.
  1621. * nscd/dbg_log.c (dbg_log): Don't add unnecessary newline to
  1622. output. Let syslog do the formatting if debug_level == 0.
  1623. * nscd/nscd_helper.c (get_mapping): No need to check timestamp if
  1624. nscd_certainly_running is nonzero.
  1625. 2004-10-02 Simon Josefsson <jas@extundo.com>
  1626. [BZ #420]
  1627. * sysdeps/generic/memmem.c [!_LIBC]: Define __builtin_expect, to
  1628. make the file usable inside gnulib.
  1629. 2004-10-01 Ulrich Drepper <drepper@redhat.com>
  1630. * malloc/malloc.c (public_vALLOc): Add missing use of hooks.
  1631. (public_pVALLOc): Likewise.
  1632. * nscd/nscd_initgroups.c (__nscd_getgrouplist): Always add the
  1633. group the caller provided unless there is a real problem.
  1634. * posix/bug-glob1.c (prepare): Fix creation of symlink.
  1635. 2004-09-30 Ulrich Drepper <drepper@redhat.com>
  1636. * posix/Makefile: Add rules to build and run bug-glob1.
  1637. * posix/bug-glob1.c: New file.
  1638. * iconv/iconv_prog.c (main): Print progress information to stderr.
  1639. * nscd/nscd.c (termination_handler): Reset timestamp so that
  1640. clients immediately stop using the database.
  1641. * nscd/nscd-client.h (__nscd_get_map_ref): Drop volatile from last
  1642. parameter.
  1643. (__nscd_drop_map_ref): Change second parameter to be a reference to
  1644. a variable. Update variable when cycle count changed.
  1645. * nscd/nscd_helper.c (__nscd_get_map_ref): Remove volatile here, too.
  1646. * nscd/nscd_getai.c: Correctly use __nscd_drop_map_ref. Reinitialize
  1647. all variables and avoid memory leak in case of retries.
  1648. * nscd/nscd_getgr_r.c: Likewise.
  1649. * nscd/nscd_gethst_r.c: Likewise.
  1650. * nscd/nscd_getpw_r.c: Likewise.
  1651. * nscd/nscd_initgroups.c: Likewise.
  1652. * nscd/nscd.h: Add declaration of addinitgroups and
  1653. readdinitgroups.
  1654. 2004-09-30 Andreas Jaeger <aj@suse.de>
  1655. * nscd/Makefile (CFLAGS-nscd_initgroups.c): Set to -fpie.
  1656. (CFLAGS-initgrcache.c): Set to -fexceptions.
  1657. 2004-09-29 Ulrich Drepper <drepper@redhat.com>
  1658. * sysdeps/generic/glob.c (glob_in_dir): Don't blindly trust
  1659. readdir results; for symlinks or files of unknown type check using
  1660. stat whether the file exists.
  1661. * posix/tst-gnuglob.c (find_file): Handle leading "./". Fix
  1662. recognition of files.
  1663. 2004-09-29 Jakub Jelinek <jakub@redhat.com>
  1664. * time/tzfile.c (tzfile_mtime): New variable.
  1665. (__tzfile_read): Reread the file if mtime is different.
  1666. 2004-09-28 Jakub Jelinek <jakub@redhat.com>
  1667. * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf, __fdim, fdimf, fdim):
  1668. Handle +inf/+inf.
  1669. * sysdeps/powerpc/fpu/bits/mathinline.h (fdim, fdimf): Likewise.
  1670. * sysdeps/sparc/fpu/bits/mathinline.h (fdim, fdimf): Likewise.
  1671. 2004-09-29 Ulrich Drepper <drepper@redhat.com>
  1672. * nscd/nscd_gethst_r.c (nscd_gethst_r): Use correct constant for
  1673. testing result of __nscd_get_map_ref.
  1674. 2004-09-29 Jakub Jelinek <jakub@redhat.com>
  1675. * sysdeps/i386/fpu/s_fdim.S (__fdim): Handle +inf/+inf.
  1676. * sysdeps/i386/fpu/s_fdimf.S (__fdimf): Likewise.
  1677. * sysdeps/i386/fpu/s_fdiml.S (__fdiml): Likewise.
  1678. 004-09-29 Ulrich Drepper <drepper@redhat.com>
  1679. * grp/initgroups.c: Move compat_call implementation...
  1680. * grp/compat-initgroups.c: ...to here. New file.
  1681. * grp/Makefile (distribute): Add compat-initgroups.c.
  1682. (CFLAGS-initgroups.c): Add -DUSE_NSCD=1.
  1683. * mscd/initgrcache.c: New file.
  1684. * nscd/nscd_initgroups.c: New file.
  1685. * nscd/Makefile (routines): Add nscd_initgroups.
  1686. (nscd-modules): Add initgrcache.
  1687. * nscd/cache.c (prune_cache): Add support for INITGROUPS entries.
  1688. * nscd/connections.c: Handle INITGROUPS requests.
  1689. * nscd/nscd-client.h: Define INITGROUPS, initgr_response_header.
  1690. Add initgrdata element to struct datahead. Fix typo in comment.
  1691. * nscd/nscd_proto.h: Declare __nscd_getgrouplist. Fix parameter
  1692. type in __nscd_getgrgrid_r.
  1693. * nscd/selinux.c (perms): Add INITGROUPS entry.
  1694. * nscd/nscd_getai.c: No need to include <sys/mman.h>.
  1695. * sunrpc/get_myaddr.c (get_myaddress): Account for interfaces without
  1696. assigned addresses.
  1697. * sunrpc/pmap_clnt.c (__get_myaddress): Likewise.
  1698. * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
  1699. * sunrpc/clnt_udp.c (is_network_up): Likewise.
  1700. * nscd/nscd.c: Define getaddrinfo hidden so that it is never found
  1701. outside.
  1702. * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (si_segvflags):
  1703. Renamed from si_flags due to conflict with si_flags from <elf.h>.
  1704. 2004-09-28 Ulrich Drepper <drepper@redhat.com>
  1705. * nscd/nscd_getai.c: Use NO_MAPPING instead of MAP_FAILED for test
  1706. of failing __nscd_get_map_ref. Fix a few typos.
  1707. * sysdeps/unix/sysv/linux/sigwait.c (do_sigwait): Make sure
  1708. SIGSETXID is not blocked.
  1709. * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Likewise.
  1710. * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Likewise.
  1711. * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
  1712. * sysdeps/generic/sigfillset.c (sigfillset): Don't set SIGSETXID.
  1713. * sunrpc/get_myaddr.c (get_myaddress): Fix test for failing
  1714. getifaddrs call.
  1715. * sunrpc/pmap_clnt.c (__get_myaddress): Likewise.
  1716. * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
  1717. * sunrpc/Makefile (xtests): Add tst-getmyaddr.
  1718. * sunrpc/tst-getmyaddr.c: New file.
  1719. * malloc/arena.c (ptmalloc_init): Allow MALLOC_CHECK_==0 to
  1720. disable all checking.
  1721. * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (si_flags): Add
  1722. support to get this value.
  1723. 2004-09-28 Jakub Jelinek <jakub@redhat.com>
  1724. * io/utime.h (utime): Allow second argument to be NULL.
  1725. 2004-09-28 Ulrich Drepper <drepper@redhat.com>
  1726. * sysdeps/posix/getaddrinfo.c (gaih_inet): If NAME is a numerical IP
  1727. address and AI_CANONNAME is set, return copy of NAME as ai_canonname.
  1728. 2004-09-27 Andreas Jaeger <aj@suse.de>
  1729. * sysdeps/i386/dl-machine.h (elf_machine_rela_relative): Replace
  1730. static inline by auto inline, add always_inline attribute.
  1731. (elf_machine_rel): Likewise.
  1732. (elf_machine_rela): Likewise.
  1733. (elf_machine_lazy_rel): Likewise.
  1734. (elf_machine_lazy_rela): Likewise.
  1735. (elf_machine_rel_relative): Likewise.
  1736. 2004-09-27 Ulrich Drepper <drepper@redhat.com>
  1737. * sunrpc/xdr_intXX_t.c: Add xdr_quad_t and xdr_u_quad_t aliases.
  1738. * sunrpc/rpc/xdr.h: Declare xdr_quad_t and xdr_u_quad_t.
  1739. * sunrpc/rpc_parse.c (get_type): Use "quad_t" for TOK_HYPER.
  1740. Otherwise isvectordef will loop infinitely if typedef hyper int64_t
  1741. is seen.
  1742. (unsigned_dec): Use "u_quad_t" for similar reasons.
  1743. * sunrpc/Versions: Export xdr_quad_t and xdr_u_quad_t.
  1744. 2004-09-27 Roland McGrath <roland@redhat.com>
  1745. * sysdeps/generic/bits/waitstatus.h (__WIFSIGNALED): Simplify bit
  1746. twiddling in last change.
  1747. * posix/tst-waitid.c (do_test): Add tests for waitpid with WCONTINUED.
  1748. [BZ #409]
  1749. * posix/sys/wait.h [__WIFCONTINUED] (WIFCONTINUED): New macro.
  1750. * stdlib/stdlib.h [__WIFCONTINUED] (WIFCONTINUED): New macro.
  1751. * sysdeps/generic/bits/waitstatus.h (__W_CONTINUED): New macro.
  1752. [WCONTINUED] (__WIFCONTINUED): New macro.
  1753. (__WIFSIGNALED): Rewritten to exclude __W_CONTINUED value, and have no
  1754. branches.
  1755. * sysdeps/unix/sysv/linux/waitid.c (do_waitid): Add fifth argument to
  1756. all three syscall uses, not just one!
  1757. 2004-09-26 Richard Henderson <rth@redhat.com>
  1758. * sysdeps/alpha/alphaev6/memcpy.S: Mark .prologue.
  1759. * sysdeps/unix/alpha/sysdep.h (LEAF, ENTRY): Align entry points
  1760. to 16 byte boundaries.
  1761. 2004-09-26 Ulrich Drepper <drepper@redhat.com>
  1762. * elf/readlib.c (process_file): Before complaining about too-short
  1763. file, check that it potentially be an ELF file. Also complain about
  1764. empty files. [BZ #151].
  1765. * scripts/test-installation.pl: Fix ld.so recognition for new
  1766. LD_TRACE_LOADED_OBJECTS output format.
  1767. Patch by <jsberg04+computing.glibc@ftml.net> [BZ #407].
  1768. * elf/dl-support.c (_dl_non_dynamic_init): Fix cleaning of
  1769. environment. [BZ #384]
  1770. * sunrpc/clnt_udp.c (is_network_up): Use getifaddrs instead of ioctl.
  1771. * sunrpc/get_myaddr.c (get_myaddress): Likewise.
  1772. * sunrpc/pmap_clnt.c (__get_myaddress): Likewise.
  1773. * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise. Change interface
  1774. to avoid buffer overrun and remove now useless parameters.
  1775. (clnt_broadcast): Adjust caller. [BZ #381].
  1776. * sysdeps/generic/s_fdim.c: Handle +inf/+inf
  1777. * sysdeps/generic/s_fdimf.c: Likewise.
  1778. * sysdeps/generic/s_fdiml.c: Likewise.
  1779. * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
  1780. * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
  1781. * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
  1782. * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
  1783. * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
  1784. * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
  1785. * math/libm-test.inc (fdim_test): Add test case. [BZ #376].
  1786. * sysdeps/generic/bits/types.h: Fix __SQUAD_TYPE and __UQUAD_TYPE
  1787. for compilers without __GLIBC_HAVE_LONG_LONG. [BZ #362]
  1788. * sysdeps/posix/getaddrinfo.c (getaddrinfo): Remove incorrect
  1789. requirement on socktype and protocol.
  1790. (gaih_inet): If numeric port number is given, return records for all
  1791. possible socket types.
  1792. * posix/tst-getaddrinfo2.c: New file.
  1793. * posix/Makefile (tests): Add tst-getaddrinfo2. [BZ #358]
  1794. 2004-09-25 Ulrich Drepper <drepper@redhat.com>
  1795. * locale/loadlocale.c (_nl_intern_locale_data): Recognize LC_CTYPE
  1796. data where _nl_value_type_LC_CTYPE does not contain the type
  1797. information. Add range checks.
  1798. Reported by John Lumby <johnlumby@hotmail.com> [BZ #356].
  1799. * libio/vasprintf.c (_IO_vasprintf): Fix condition to decide
  1800. whether to realloc or not.
  1801. Reported by Pavel Kankovsky <peak@argo.troja.mff.cuni.cz> [BZ #346].
  1802. * intl/dcigettext.c (DCIGETTEXT): Protect tfind/tsearch calls.
  1803. * intl/dcigettext.c (_nl_find_msg): Call _nl_load_domain also if
  1804. decided < 0.
  1805. * intl/finddomain.c (_nl_find_domain): Likewise.
  1806. * intl/loadmsgcat.c (_nl_load_domain): Set decided to 1 only once we
  1807. are done. First set to -1 to signal initialization is ongoing.
  1808. Protect against concurrent callers with recursive lock.
  1809. * intl/finddomain.c (_nl_find_domain): Protect calls to
  1810. _nl_make_l10nflist. [BZ #322]
  1811. * sysdeps/posix/getaddrinfo.c (getaddrinfo): If determinination of
  1812. source address fails, initialized source_addr_len field so that
  1813. duplicate address recognition does not copy junk.
  1814. 2004-09-25 Jakub Jelinek <jakub@redhat.com>
  1815. * sysdeps/unix/sysv/linux/i386/setuid.c (__setuid): Remove second
  1816. result declaration.
  1817. 2004-09-22 Andreas Schwab <schwab@suse.de>
  1818. * sysdeps/unix/sysv/linux/ia64/sysdep.h: Adjust whitespace.
  1819. 2004-09-24 Ulrich Drepper <drepper@redhat.com>
  1820. * misc/daemon.c (daemon): Don't succeed if /dev/null cannot be
  1821. opened.
  1822. * nis/ypclnt.c (do_ypcall): Add one missing unlock. Simplify the
  1823. code a bit.
  1824. * misc/daemon.c (daemon): Define errno in case /dev/null is not
  1825. the correct device.
  1826. * nis/ypclnt.c (yp_bind_file): Optimize a bit. Minimal cleanups.
  1827. 2004-09-23 Andreas Jaeger <aj@suse.de>
  1828. * locale/weight.h (findidx): Remove static, it's not supported
  1829. anymore with GCC 4.0 in a block scope.
  1830. * locale/weightwc.h (findidx): Likewise.
  1831. * posix/regcomp.c (seek_collating_symbol_entry): Likewise.
  1832. (lookup_collation_sequence_value): Likewise.
  1833. (build_range_exp): Likewise.
  1834. (build_collating_symbol): Likewise.
  1835. * iconv/iconvconfig.c (write_output): Likewise.
  1836. * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
  1837. * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Remove
  1838. static, add always_inline attribute.
  1839. (elf_machine_rela): Likewise.
  1840. (elf_machine_lazy_rel): Likewise.
  1841. * elf/dynamic-link.h (elf_get_dynamic_info): Make static dependend
  1842. on !RESOLVE so that it's not defined in local scope.
  1843. 2004-09-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  1844. * sysdeps/unix/sysv/linux/sh/sysdep.h (INTERNAL_SYSCALL_NCS): Define.
  1845. 2004-09-23 Thorsten Kukuk <kukuk@suse.de>
  1846. * sysdeps/unix/sysv/linux/sys/mount.h: Sync MS_RMT_MASK flag
  1847. and BLK* ioctls with linux kernel headers.
  1848. 2004-09-23 Ulrich Drepper <drepper@redhat.com>
  1849. * sysdeps/generic/bits/dlfcn.h: Add RTLD_DEEPBIND.
  1850. * elf/dl-object.c (_dl_new_object): Add new parameter mode. If mode
  1851. has RTLD_DEEPBIND set add local searchlist before global scope.
  1852. * sysdeps/generic/ldsodefs.h (_dl_new_object): Adjust prototype.
  1853. * elf/rtld.c: Adjust callers of _dl_new_object.
  1854. * elf/dl-load.c: Likewise.
  1855. (_dl_map_object_from_fd): If RTLD_DEEPBIND is used, don't do anything
  1856. for DF_SYMBOLIC.
  1857. * elf/dl-open.c (dl_open_writer): Pass RTLD_DEEPBIND flag on to
  1858. _dl_map_object_deps.
  1859. * elf/tst-deep1.c: New file.
  1860. * elf/tst-deep1mod1.c: New file.
  1861. * elf/tst-deep1mod2.c: New file.
  1862. * elf/tst-deep1mod3.c: New file.
  1863. * elf/Makefile: Add rules to build and run new tests.
  1864. * elf/dl-deps.c: Pretty printing.
  1865. 2004-09-23 Jakub Jelinek <jakub@redhat.com>
  1866. * sysdeps/unix/alpha/sysdep.h (inline_syscall[0-6]): Change name
  1867. argument to numbers from syscall names.
  1868. (INLINE_SYSCALL1): Pass __NR_##name to inline_syscall##nr.
  1869. (INTERNAL_SYSCALL_NCS): Renamed from...
  1870. (INTERNAL_SYSCALL_1): ... this. Use INTERNAL_SYSCALL_NCS.
  1871. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
  1872. (INTERNAL_SYSCALL_NCS): Define.
  1873. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
  1874. (INTERNAL_SYSCALL_NCS): Likewise.
  1875. * sysdeps/unix/sysv/linux/sparc/sysdep.h (inline_syscall[0-6]):
  1876. Change name argument to numbers from syscall names.
  1877. (INLINE_SYSCALL, INTERNAL_SYSCALL): Adjust.
  1878. (INTERNAL_SYSCALL_NCS): Define.
  1879. 2004-09-22 Ulrich Drepper <drepper@redhat.com>
  1880. * malloc/malloc.c (malloc_printerr): Use syslog if writev failed.
  1881. * string/string.h: Add __nonnull annotations.
  1882. * stdlib/stdlib.h: Likewise.
  1883. 2004-09-20 H.J. Lu <hongjiu.lu@intel.com>
  1884. * sysdeps/unix/sysv/linux/ia64/sysdep.h (DO_INLINE_SYSCALL):
  1885. Renamed to ...
  1886. (DO_INLINE_SYSCALL_NCS): This.
  1887. (DO_INLINE_SYSCALL): New.
  1888. (INLINE_SYSCALL): Updated.
  1889. (INTERNAL_SYSCALL_NCS): Updated.
  1890. 2004-09-21 Ulrich Drepper <drepper@redhat.com>
  1891. * elf/sprof.c (load_shobj): Add support for reading symbol table
  1892. from debuginfo file.
  1893. * elf/ldd.bash.in: Fix syntax errors.
  1894. 2004-09-20 Ulrich Drepper <drepper@redhat.com>
  1895. * sysdeps/unix/sysv/linux/dl-execstack.c
  1896. (_dl_make_stack_executable): Remove some duplication.
  1897. * nscd/nscd.c (options): Mark S option as hidden.
  1898. (parse_opt): When S option is used, print warning message.
  1899. * nscd/grpcache.c (adgrptbyX): Don't handle secure mode.
  1900. * nscd/hstcache.c (addhstbyX): Don't handle secure mode.
  1901. * nscd/aicache.c (addhstaiX): Don't handle secure mode.
  1902. * nscd/pwdcache.c (addpwbyX): Don't handle secure mode.
  1903. 2004-09-20 Roland McGrath <roland@frob.com>
  1904. * elf/dl-load.c (__stack_prot): Only use PROT_GROWSUP/PROT_GROWSDOWN
  1905. in initializer #if defined.
  1906. 2004-09-18 Paul Eggert <eggert@cs.ucla.edu>
  1907. [BZ #391]
  1908. * stdlib/getsubopt.c: Merge fixes from gnulib.
  1909. (__strchrnul) [!_LIBC]: Define and include "strchrnul.c".
  1910. (getsubopt): Use prototypes, not K&R style.
  1911. Fix bug: memcmp(A,B,N) was being invoked on a memory block B
  1912. whose size might be smaller than N. Use strncmp to avoid the bug.
  1913. 2004-09-20 Ulrich Drepper <drepper@redhat.com>
  1914. * configure.in: If selinux has not explictly been requested, don't
  1915. comment on it missing.
  1916. * elf/dl-load.c: Define __stack_prot.
  1917. * sysdeps/unix/sysv/linux/dl-execstack.c: Don't define
  1918. __stack_prot here, just declare it.
  1919. 2004-09-20 Jakub Jelinek <jakub@redhat.com>
  1920. * configure.in (libc_cv_z_relro): Only set to yes if linker script
  1921. contains DATA_SEGMENT_RELRO_END.
  1922. 2004-09-20 Ulrich Drepper <drepper@redhat.com>
  1923. * elf/dl-load.c (_dl_map_object_from_fd): Add some error checking.
  1924. Reorder code slightly.
  1925. * elf/rtld.c (dl_main): No need to check whether l_info[DT_HASH]
  1926. is non-null, _dl_setup_hash will do that.
  1927. 2004-09-19 Ulrich Drepper <drepper@redhat.com>
  1928. * sysdeps/unix/sysv/linux/setegid.c [HAVE_PTR__NPTL_SETXID]: Call
  1929. callback to set IDs in all other threads as well.
  1930. * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
  1931. * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
  1932. * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
  1933. * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
  1934. * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
  1935. * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
  1936. * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
  1937. * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
  1938. * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
  1939. * sysdeps/unix/sysv/linux/setuid.c: New file.
  1940. * sysdeps/unix/sysv/linux/setgid.c: New file.
  1941. * sysdeps/unix/sysv/linux/setreuid.c: New file.
  1942. * sysdeps/unix/sysv/linux/setregid.c: New file.
  1943. * sysdeps/unix/sysv/linux/setresuid.c: New file.
  1944. * sysdeps/unix/sysv/linux/setresgid.c: New file.
  1945. * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INTERNAL_SYSCALL_NCS.
  1946. * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
  1947. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
  1948. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
  1949. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
  1950. * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Use x86 version.
  1951. * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
  1952. * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
  1953. * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
  1954. * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove setresgid
  1955. and setresuid.
  1956. * nscd/aicache.c: Use pthread_seteuid_np instead of seteuid.
  1957. * nscd/grpcache.c: Likewise.
  1958. * nscd/hstcache.c: Likewise.
  1959. * nscd/pwdcache.c: Likewise.
  1960. * resolv/res_mkquery.c (res_nmkquery): Fix typo.
  1961. 2004-09-18 Ulrich Drepper <drepper@redhat.com>
  1962. * sysdeps/unisx/sysv/linux/dl-execstack.c: Get protection flag
  1963. from memory.
  1964. * elf/dl-load.c (_dl_map_object_from_fd): Add PROT_EXEC flag to
  1965. __stack_flags.
  1966. * sysdeps/posix/getaddrinfo.c (gaih_inet): Do not use
  1967. gethostbyname3_r if we are not looking for the canonical name.
  1968. * resolv/res_mkquery.c (res_nmkquery): Randomize request ID every
  1969. time.
  1970. 2004-09-18 Roland McGrath <roland@redhat.com>
  1971. * sysdeps/unix/sysv/linux/waitid.c (do_waitid): Pass fifth argument to
  1972. system call.
  1973. 2004-09-17 Ulrich Drepper <drepper@redhat.com>
  1974. * include/link.h (struct link_map): Add l_used element.
  1975. * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_UNUSED.
  1976. * elf/rtld.c (process_dl_debug): Recognize unused.
  1977. (dl_main): When unused debug flag is set check for unused direct
  1978. dependencies.
  1979. When printing dependencies and SONAME starts with /, omit the SONAME =>
  1980. part.
  1981. * elf/dl-lookup.c (_dl_lookup_symbol_x): Mark object in which the
  1982. symbol has been found as used.
  1983. * elf/ldd.bash.in: Add -u option.
  1984. 2004-09-18 Jakub Jelinek <jakub@redhat.com>
  1985. * sysdeps/unix/sysv/linux/nscd_setup_thread.c (setup_thread):
  1986. Do nothing if __NR_set_tid_address is not defined. [BZ #390]
  1987. 2004-09-17 Ulrich Drepper <drepper@redhat.com>
  1988. * sysdeps/posix/getaddrinfo.c: Use gethostbyname3_r NSS function
  1989. in case it is available.
  1990. 2004-09-17 Jakub Jelinek <jakub@redhat.com>
  1991. * nscd/nscd.c (parse_opt): Write arg string instead of (void *)
  1992. key to the socket.
  1993. 2004-09-17 Ulrich Drepper <drepper@redhat.com>
  1994. * misc/sys/cdefs.h: Define __nonnull using nonnull function attribute
  1995. for gcc 3.3 and higher.
  1996. * io/fcntl.h: Add __nonnull where appropriate.
  1997. * io/ftw.h: Likewise.
  1998. * io/utime.h: Likewise.
  1999. * io/sys/poll.h: Likewise.
  2000. * io/sys/sendfile.h: Likewise.
  2001. * io/sys/stat.h: Likewise.
  2002. * io/sys/statfs.h: Likewise.
  2003. * io/sys/statvfs.h: Likewise.
  2004. * posix/unistd.h: Likewise.
  2005. * catgets/nl_types.h: Likewise.
  2006. * crypt/crypt.h: Likewise.
  2007. * debug/execinfo.h: Likewise.
  2008. 2004-09-16 Ulrich Drepper <drepper@redhat.com>
  2009. * posix/glob.h: Remove cruft to make header usable outside glibc.
  2010. The maintenance headache is too big.
  2011. * configure.in: Add test for required SELinux features.
  2012. * config.make.in: Add have-selinux entry.
  2013. * config.h.in: Add HAVE_SELINUX entry.
  2014. * nscd/Makefile (nscd-modules): Add selinux.
  2015. (CFLAGS-selinux.c): Add -fpie.
  2016. Define selinux-LIBS and use in link line.
  2017. * nscd/connections.c (handle_request): Check access SELinux permissions
  2018. before processing request.
  2019. * nscd/nscd.c (main): Initialize selinux_enabled and stop avc thread.
  2020. * nscd/nscd_stat.c: Transmit and print AVC statistics.
  2021. * nscd/selinux.c: New file.
  2022. * nscd/selinux.h: New file.
  2023. Patch mostly by Matthew Rickard <mjricka@epoch.ncsc.mil>.
  2024. 2004-09-16 Jakub Jelinek <jakub@redhat.com>
  2025. * nscd/nscd_helper.c (__nscd_unmap, get_mapping): Use __munmap
  2026. instead of munmap.
  2027. * nscd/Makefile (CFLAGS-aicache.c): Set to -fpie.
  2028. 2004-09-16 Thorsten Kukuk <kukuk@suse.de>
  2029. * sysdeps/posix/getaddrinfo.c (gaih_inet): Check
  2030. __nss_not_use_nscd_hosts variable if nscd should be used or not.
  2031. 2004-09-16 Ulrich Drepper <drepper@redhat.com>
  2032. * nscd/nscd_proto.h: Define NSS_NSCD_RETRY.
  2033. Add __nscd_getai prototype.
  2034. * nss/getXXbyYY_r.c: Remode definition of NSS_NSCD_RETRY.
  2035. * nscd/nscd-client.h: Remove __nscd_getai prototype.
  2036. * nscd/nscd_getai.c: Include nscd_proto.h.
  2037. * elf/ldd.bash.in: Add support for SELinux environments.
  2038. Patch by Stephen Smalley <sds@epoch.ncsc.mil>.
  2039. 2004-09-16 Roland McGrath <roland@redhat.com>
  2040. * configure.in (--with-headers): Let argument contain a : separated
  2041. list of directories to use, not just one.
  2042. * configure: Regenerated.
  2043. 2004-09-15 Richard Henderson <rth@redhat.com>
  2044. * sysdeps/alpha/fpu/libm-test-ulps: Update.
  2045. * scripts/data/c++-types-alpha-linux-gnu.data: New file.
  2046. 2004-09-15 Ulrich Drepper <drepper@redhat.com>
  2047. * nscd/aicache.c: Prefer using gethostbyname3_r NSS callback to also
  2048. get ttl and canonical name. Use these two values.
  2049. * resolv/Versions: Export _nss_dns_gethostbyname3_r from libnss_dns.
  2050. * resolv/nss_dns/dns-host.c (getanswer_r): Take two new parameters.
  2051. If nonnull fill with TTL and pointer to canonical name respectively.
  2052. (_nss_dns_gethostbyaddr_r): Pass NULL in new parameters of getanswer_r.
  2053. (_nss_dns_gethostbyname2_r): Just wrapper around
  2054. _nss_dns_gethostbyname3_r.
  2055. (_nss_dns_gethostbyname3_r): Renamed from _nss_dns_gethostbyname2_r.
  2056. Take two new parameters which as passed to getanswer_r.
  2057. * nscd/Makefile (rountines): Add nscd_getai.
  2058. (nscd-modules): Add aicache.
  2059. * nscd/aicache.c: New file.
  2060. * nscd/nscd_getai.c: New file.
  2061. * nscd/cache.c (prune_cache): Handle GETAI request type.
  2062. * nscd/connections.c: Add GETAI support in request handling.
  2063. * nscd/nscd-client.h (request_type): Add GETAI.
  2064. Define ai_response_header and struct nscd_ai_result types.
  2065. (struct datahead): Add aidata field.
  2066. Declare __nscd_getai.
  2067. * nscd/nscd.c: Add getaddrinfo definition to catch problems.
  2068. * nscd/nscd.h: Declare addhstai and readdhstai.
  2069. * sysdeps/posix/getaddrinfo.c: Add support for using cached results.
  2070. * posix/Makefile (CFLAGS-getaddrinfo.c): Add -DUSE_NSCD.
  2071. * nscd/nscd-client.h (struct datahead): Use uint8_t instead of bool.
  2072. 2004-09-14 Ulrich Drepper <drepper@redhat.com>
  2073. * misc/sys/cdefs.h: Remove debugging text from __P and __PMT.
  2074. 2004-09-13 Ulrich Drepper <drepper@redhat.com>
  2075. * misc/sys/cdefs.h: Restore old definition of __P.
  2076. * csu/munch.awk: Remove uses of __P and __PMT.
  2077. * gmon/gmon.c: Likewise.
  2078. * hesiod/hesiod.h: Likewise.
  2079. * include/stdio.h: Likewise.
  2080. * io/fts.c: Likewise.
  2081. * libio/genops.c: Likewise.
  2082. * libio/libioP.h: Likewise.
  2083. * libio/fileops.c: Likewise.
  2084. * libio/iolibio.h: Likewise.
  2085. * libio/libio.h: Likewise.
  2086. * libio/memstream.c: Likewise.
  2087. * libio/oldfileops.c: Likewise.
  2088. * libio/oldstdfiles.c: Likewise.
  2089. * libio/iopopen.c: Likewise.
  2090. * libio/vsnprintf.c: Likewise.
  2091. * libio/vswprintf.c: Likewise.
  2092. * libio/wgenops.c: Likewise.
  2093. * libio/oldiopopen.c: Likewise.
  2094. * locale/programs/xmalloc.c: Likewise.
  2095. * locale/programs/xstrdup.c: Likewise.
  2096. * malloc/mtrace.c: Likewise.
  2097. * misc/getttyent.c: Likewise.
  2098. * misc/getusershell.c: Likewise.
  2099. * nis/rpcsvc/ypupd.h: Likewise.
  2100. * posix/fnmatch.h: Likewise.
  2101. * posix/glob.h: Likewise.
  2102. * resolv/arpa/nameser.h: Likewise.
  2103. * resolv/gethnamaddr.c: Likewise.
  2104. * resolv/resolv.h: Likewise.
  2105. * resolv/inet_net_ntop.c: Likewise.
  2106. * resolv/inet_net_pton.c: Likewise.
  2107. * resolv/res_init.c: Likewise.
  2108. * resolv/nss_dns/dns-network.c: Likewise.
  2109. * stdio-common/vfprintf.c: Likewise.
  2110. * stdio-common/reg-printf.c: Likewise.
  2111. * sysdeps/generic/chflags.c: Likewise.
  2112. * sysdeps/generic/fchflags.c: Likewise.
  2113. * sysdeps/generic/glob.c: Likewise.
  2114. * sysdeps/generic/printf_fphex.c: Likewise.
  2115. * sysdeps/generic/memcmp.c: Likewise.
  2116. * sysdeps/generic/memcopy.h: Likewise.
  2117. * sysdeps/generic/morecore.c: Likewise.
  2118. * sysdeps/generic/sstk.c: Likewise.
  2119. * sysdeps/posix/sigvec.c: Likewise.
  2120. * sysdeps/posix/ttyname_r.c: Likewise.
  2121. * sysdeps/standalone/arm/bits/errno.h: Likewise.
  2122. * sysdeps/standalone/standalone.h: Likewise.
  2123. * sysdeps/standalone/i386/force_cpu386/brdinit.c: Likewise.
  2124. * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
  2125. * sysdeps/unix/arm/start.c: Likewise.
  2126. * sysdeps/unix/bsd/sigaction.c: Likewise.
  2127. * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise.
  2128. * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise.
  2129. * sysdeps/unix/bsd/sun/sunos4/wait4.c: Likewise.
  2130. * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Likewise.
  2131. * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise.
  2132. * sysdeps/unix/sparc/start.c: Likewise.
  2133. * sysdeps/unix/sysv/getdents.c: Likewise.
  2134. * sysdeps/unix/sysv/irix4/fpathconf.c: Likewise.
  2135. * sysdeps/unix/sysv/irix4/getgroups.c: Likewise.
  2136. * sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
  2137. * sysdeps/unix/sysv/irix4/getrusage.c: Likewise.
  2138. * sysdeps/unix/sysv/irix4/pathconf.c: Likewise.
  2139. * sysdeps/unix/sysv/irix4/setgroups.c: Likewise.
  2140. * sysdeps/unix/sysv/irix4/sigtramp.c: Likewise.
  2141. * sysdeps/unix/sysv/irix4/start.c: Likewise.
  2142. * sysdeps/unix/sysv/irix4/sysconf.c: Likewise.
  2143. * sysdeps/unix/sysv/sco3.2.4/__setpgid.c: Likewise.
  2144. * sysdeps/unix/sysv/sco3.2.4/getgroups.c: Likewise.
  2145. * sysdeps/unix/sysv/sysv4/__getpgid.c: Likewise.
  2146. * sysdeps/unix/sysv/sysv4/__setpgid.c: Likewise.
  2147. * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
  2148. * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
  2149. * sysdeps/unix/sysv/sysv4/sethostname.c: Likewise.
  2150. * sysdeps/unix/sysv/sysv4/setsid.c: Likewise.
  2151. * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise.
  2152. * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise.
  2153. * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: Likewise.
  2154. * time/tzset.c: Likewise.
  2155. * time/strftime_l.c: Likewise.
  2156. * time/strptime_l.c: Likewise.
  2157. * crypt/md5.h: Likewise.
  2158. 2004-09-13 Andreas Jaeger <aj@suse.de>
  2159. * configure.in: Support GCC 4.x.
  2160. * configure: Regenerated.
  2161. 2004-09-13 Thorsten Kukuk <kukuk@suse.de>
  2162. * nscd/nscd_stat.c: Don't access dbs[cnt].head for disabled services.
  2163. * nscd/nscd.init: Fix path to socket.
  2164. 2004-09-12 Ulrich Drepper <drepper@redhat.com>
  2165. * nscd/nscd_helper.c (get_mapping): Correctly check cmsg length.
  2166. Avoid file descriptor leak in case of size mismatch.
  2167. * nscd/nscd-client.h: Fix database structure layout for biarch.
  2168. * nscd/mem.c (gc): Add casts to avoid warnings.
  2169. * nss/getent.c: Don't preconstruct help message. Do it only when
  2170. needed.
  2171. * locale/programs/locale.c: Simplify help message printing.
  2172. 2004-09-12 Roland McGrath <roland@frob.com>
  2173. * sysdeps/mach/hurd/i386/init-first.c (init1) [! SHARED]: Add decls
  2174. missing in last change.
  2175. 2004-09-11 Thorsten Kukuk <kukuk@suse.de>
  2176. * nis/nss_compat/compat-grp.c: Check that buflen is greater zero
  2177. before writing data into the buffer with negative offset.
  2178. * nis/nss_compat/compat-initgroups.c: Likewise.
  2179. * nis/nss_compat/compat-pwd.c: Likewise.
  2180. * nis/nss_compat/compat-spwd.c Likewise.
  2181. 2004-09-12 Ulrich Drepper <drepper@redhat.com>
  2182. * misc/syslog.c (vsyslog): Fix copying of PID in case of
  2183. out-of-memory situation. [BZ #365].
  2184. * sysdeps/alpha/fpu/bits/mathinline.h: Use __NTH instead of
  2185. __THROW in inline function definitions.
  2186. * posix/spawn.h [__USE_GNU]: Define POSIX_SPAWN_USEVFORK.
  2187. * posix/spawnattr_setflags.c: Check whether any unknown bit is set
  2188. in FLAGS parameter and fail if this is the case.
  2189. * sysdeps/posix/spawni.c: Use vfork if POSIX_SPAWN_USEVFORK flag is
  2190. set.
  2191. * nscd/pwdcache.c (cache_addpw): Sync also negative results to disk.
  2192. * nscd/grpcache.c (cache_addgr): Likewise.
  2193. * nscd/hstcache.c (cache_addhst): Likewise.
  2194. 2004-09-11 Roland McGrath <roland@frob.com>
  2195. * sysdeps/mach/hurd/i386/init-first.c (init1) [! SHARED]:
  2196. Set _dl_phdr and _dl_phnum.
  2197. (init1): When bootstrap task, bail early and never examine *D.
  2198. 2004-09-11 Alfred M. Szmidt <ams@kemisten.nu>
  2199. * sysdeps/mach/hurd/i386/tls.h (__i386_set_gdt) [!HAVE_I386_SET_GDT]:
  2200. Cast THR, SEL and DESC to `void'.
  2201. 2004-09-11 Ulrich Drepper <drepper@redhat.com>
  2202. * nscd/connections.c (nscd_run): Call setup_thread only for enabled
  2203. databases.
  2204. * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Use __NTH for __cmsg_nxthdr.
  2205. 2004-09-10 Ulrich Drepper <drepper@redhat.com>
  2206. * nscd/nscd.c (pagesize_m1): New variable.
  2207. (main): Initialize it.
  2208. * nscd/nscd.h: Declare pagesize_m1.
  2209. * nscd/hstcache.c: Pass correctly aligned address to msync.
  2210. * nscd/grpcache.c: Likewise.
  2211. * nscd/pwdcache.c: Likewise.
  2212. 2004-09-10 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  2213. * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Decrement
  2214. __nwaiters. If pthread_cond_destroy has been called and this is
  2215. the last waiter, signal pthread_cond_destroy caller and avoid
  2216. using the pthread_cond_t structure after unlock.
  2217. * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
  2218. 2004-09-10 Ulrich Drepper <drepper@redhat.com>
  2219. * sysdeps/unix/sysv/linux/kernel-features.h: Don't define
  2220. __ASSUME_CLONE_STOPPED.
  2221. 2004-09-10 Jakub Jelinek <jakub@redhat.com>
  2222. * misc/sys/cdefs.h (__REDIRECT_NTH): Change order of __THROW and
  2223. __asm__ for C++. [BZ #377]
  2224. 2004-09-10 Ulrich Drepper <drepper@redhat.com>
  2225. * nscd/nscd_stat.c: Improve output by also printing .shared and
  2226. .persistent.
  2227. * nscd/connections.c: Allow cache sharing to be really disabled.
  2228. 2004-09-10 Jakub Jelinek <jakub@redhat.com>
  2229. * malloc/malloc.c (_int_free): Only do arena boundary check for
  2230. contiguous arenas.
  2231. 2004-09-10 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
  2232. * stdlib/longlong.h [__M32R__] (add_ssaaaa, sub_ddmmss): Fix broken
  2233. instruct operands.
  2234. * elf/elf.h: Add R_M32R_* relocs.
  2235. 2004-09-09 Ulrich Drepper <drepper@redhat.com>
  2236. * misc/sys/cdefs.h: Despite what the gcc manual says, gcc 3.2
  2237. seems not to support the nothrow attribute. Use it only for gcc
  2238. 3.3 and higher.
  2239. * malloc/hooks.c (top_check): Print top chunk corruption as normal
  2240. error message.
  2241. * malloc/malloc.c (malloc_printerr): Don't make informational
  2242. message look like error message.
  2243. 2004-09-09 Andreas Jaeger <aj@suse.de>
  2244. * nscd/Makefile (CFLAGS-nscd_setup_thread.c): Set to -fpie.
  2245. 2004-09-08 Ulrich Drepper <drepper@redhat.com>
  2246. * sysdeps/unix/sysv/linux/bits/socket.h (__SCM_CONNECT): Removed.
  2247. * malloc/malloc.c (_int_free): Add inexpensive double free and
  2248. memory corruption tests.
  2249. (malloc_printf_nc): Renamed to malloc_printerr. Second parameter
  2250. is no format string anymore. Don't use stdio. Adjust all callers.
  2251. * malloc/hooks.c: Adjust malloc_printf_nc callers.
  2252. 2004-09-08 Roland McGrath <roland@redhat.com>
  2253. * malloc/mcheck.c: Don't use __P.
  2254. Use prototypes definitions for static functions.
  2255. 2004-09-08 Ulrich Drepper <drepper@redhat.com>
  2256. * sysdeps/ia64/fpu/bits/mathinline.h: Use __NTH instead of __THROW.
  2257. 2004-09-08 Ulrich Drepper <drepper@redhat.com>
  2258. Jakub Jelinek <jakub@redhat.com>
  2259. * nscd/nscd-client.h: Add a few #includes.
  2260. * nscd/Makefile (nscd-modules): Add nscd_setup_thread.
  2261. * nscd/connections.c (nscd_run): Call setup_thread for maintenance
  2262. threads.
  2263. * nscd/nscd-client.h (struct database_pers_head): Add
  2264. nscd_certainly_running field.
  2265. * nscd/nscd.h: Declare setup_thread.
  2266. * nscd/nscd_helper.c (__nscd_get_map_ref): Avoid the time test if
  2267. nscd_certainly_running is nonzero.
  2268. * sysdeps/generic/nscd_setup_thread.c: New file.
  2269. * sysdeps/unix/sysv/linux/nscd_setup_thread.c: New file.
  2270. 2004-09-08 Ulrich Drepper <drepper@redhat.com>
  2271. * nscd/connections.c: Implement r/o sharing of nscd's cache with client
  2272. processes via shared memory.
  2273. * nscd/nscd-client.h: Likewise.
  2274. * nscd/nscd.h: Likewise.
  2275. * nscd/nscd_conf.c: Likewise.
  2276. * nscd/nscd_getgr_r.c: Likewise.
  2277. * nscd/nscd_getpw_r.c: Likewise.
  2278. * nscd/nscd_gethst_r.c: Likewise.
  2279. * nscd/nscd.conf: Add new config parameters.
  2280. * nscd/Makefile (aux): Add nscd_helper.
  2281. * nscd/nscd_helper.c: New file.
  2282. * nscd/mem.c (gc): Indicate beginning and end of the gc cycle.
  2283. * nscd/hstcache.c: Simplify a lot. We cache only the request itself,
  2284. no derived information.
  2285. * connections.c (nscd_init): Fix bug in testing size of the persistent.
  2286. * nis/Makefile (aux): Add nis_hash.
  2287. * nis/nis_hash.c: New file. Split out from nis_util.c.
  2288. * nis/nis_util.c: Move __nis_hash code in separate file.
  2289. * csu/tst-atomic.c: Improve atomic_increment_val test which would
  2290. not have found a ppc bug.
  2291. * sysdeps/s390/fpu/bits/mathinline.h: Remove unnecessary includes.
  2292. * malloc/arena.c: Remove __MALLOC_P uses.
  2293. * malloc/malloc.c: Likewise.
  2294. * malloc/mtrace.c: Remove __P uses.
  2295. * malloc/mcheck-init.c: Likewise.
  2296. 2004-09-07 Jakub Jelinek <jakub@redhat.com>
  2297. * sysdeps/powerpc/powerpc64/configure.in: New file.
  2298. * config.h.in (USE_PPC64_OVERLAPPING_OPD): Add.
  2299. * configure.in (HAVE_ASM_GLOBAL_DOT_NAME): Remove.
  2300. * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
  2301. (OPD_ENT, BODY_LABEL, ENTRY_1, ENTRY_2, END_2, DOT_PREFIX,
  2302. BODY_PREFIX): Define.
  2303. (ENTRY, DOT_LABEL, END, TRACEBACK, END_GEN_TB, EALIGN): Support
  2304. HAVE_ASM_GLOBAL_DOT_NAME or no dot symbols,
  2305. USE_PPC64_OVERLAPPING_OPD or never overlapping .opd entries.
  2306. * sysdeps/powerpc/powerpc64/dl-machine.h: Include sysdep.h.
  2307. (TRAMPOLINE_TEMPLATE, RTLD_START): Use the new sysdep.h macros.
  2308. 2004-09-07 Ulrich Drepper <drepper@redhat.com>
  2309. * malloc/malloc.h: Don't define __THROW if it is already defined.
  2310. * sysdeps/powerpc/bits/atomic.h (atomic_increment): Define.
  2311. (atomic_decrement): Define.
  2312. * sysdeps/powerpc/bits/atomic.h: Implement atomic_increment_val and
  2313. atomic_decrement_val.
  2314. * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
  2315. * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
  2316. * csu/tst-atomic.c (do_test): Add tests of atomic_increment_val
  2317. and atomic_decrement_val.
  2318. * include/atomic.h: Define atomic_increment_val, atomic_decrement_val,
  2319. and atomic_delay is not already defined.
  2320. * sysdeps/i386/i486/bits/atomic.h: Define atomic_delay.
  2321. * sysdeps/x86_64/bits/atomic.h: Likewise.
  2322. * miscd/sys/cdefs.h (__NTH): New macro.
  2323. (__THROW): Define using nothrow attribute for C code and gcc >= 3.2.
  2324. (__REDIRECT_NTH): New macro.
  2325. * argp/argp.h: Use __NTH and __REDIRECT_NTH where necessary.
  2326. * ctype/ctype.h: Likewise.
  2327. * dirent/dirent.h: Likewise.
  2328. * io/fcntl.h: Likewise.
  2329. * io/sys/sendfile.h: Likewise.
  2330. * io/sys/stat.h: Likewise.
  2331. * io/sys/statfs.h: Likewise.
  2332. * io/sys/statvfs.h: Likewise.
  2333. * libio/bits/stdio.h: Likewise.
  2334. * misc/sys/mman.h: Likewise.
  2335. * posix/unistd.h: Likewise.
  2336. * resource/sys/resource.h: Likewise.
  2337. * rt/aio.h: Likewise.
  2338. * signal/signal.h: Likewise.
  2339. * stdlib/stdlib.h: Likewise.
  2340. * string/argz.h: Likewise.
  2341. * string/string.h: Likewise.
  2342. * sysdeps/generic/inttypes.h: Likewise.
  2343. * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
  2344. * sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
  2345. * sysdeps/s390/fpu/bits/mathinline.h: Likewise.
  2346. * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
  2347. * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
  2348. * sysdeps/unix/sysv/linux/bits/sys/sysmacros.h: Likewise.
  2349. * wcsmbs/wchar.h: Likewise.
  2350. * sysdeps/generic/glob.c: Use __PMT isntead of __P where appropriate.
  2351. * resolv/gethnamaddr.c (getanswer): Remove __P use in variable
  2352. definition.
  2353. * io/sys/poll.h: Remove __THROW from poll prototype, it's a
  2354. cancellation point.
  2355. * io/fts.c (fts_open): Remove uses of __P.
  2356. * include/stdlib.h: No need to use __THROW in this header.
  2357. 2004-09-06 Roland McGrath <roland@frob.com>
  2358. * sysdeps/mach/hurd/dl-sysdep.c (__writev): Does use assert on FD
  2359. validity, since __assert_fail gets to here anyway. Just fail.
  2360. 2004-09-06 Ulrich Drepper <drepper@redhat.com>
  2361. * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix problem with
  2362. AF_UNSPEC lookup with AI_CANONNAME of name which has only IPv6
  2363. addresses.
  2364. 2004-09-05 Richard Henderson <rth@redhat.com>
  2365. * sysdeps/alpha/fpu/fraiseexcpt.c: Remove file.
  2366. * sysdeps/unix/sysv/linux/kernel-features.h
  2367. (__ASSUME_IEEE_RAISE_EXCEPTION): New.
  2368. * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.c: New file.
  2369. * sysdeps/unix/sysv/linux/alpha/kernel_sysinfo.h: New file.
  2370. * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Use it.
  2371. * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
  2372. 2004-09-05 Richard Henderson <rth@redhat.com>
  2373. * sysdeps/alpha/div.S: Save and restore FPCR around fp operations.
  2374. * sysdeps/alpha/divl.S, sysdeps/alpha/divq.S, sysdeps/alpha/divqu.S,
  2375. sysdeps/alpha/ldiv.S, sysdeps/alpha/reml.S, sysdeps/alpha/remq.S,
  2376. sysdeps/alpha/remqu.S: Likewise.
  2377. * sysdeps/alpha/div_libc.h (FRAME): Increase to 64.
  2378. 2004-09-05 Ulrich Drepper <drepper@redhat.com>
  2379. * nscd/cache.c (cache_add): Correctly log GETHOSTBYADDR and
  2380. GETHOSTBYADDRv6 requests.
  2381. 2004-09-04 Ulrich Drepper <drepper@redhat.com>
  2382. * nscd/pwdcache.c (cache_addpw): Use correct key length in
  2383. cache_add calls.
  2384. * nscd/grpcache.c (cache_addgr): Likewise.
  2385. 2004-09-03 Alfred M. Szmidt <ams@kemisten.nu>
  2386. * sysdeps/mach/hurd/i386/tls.h (THREAD_DTV): Changed type of _DTV
  2387. to `dtv_t *'.
  2388. 2004-09-03 Ulrich Drepper <drepper@redhat.com>
  2389. * nscd/nscd.c (parse_opt): Use writev instead of two write for
  2390. invalidate command.
  2391. 2004-09-02 Ulrich Drepper <drepper@redhat.com>
  2392. * nscd/connections.c (nscd_run): Check early for invalid request types.
  2393. 2004-09-02 Roland McGrath <roland@frob.com>
  2394. * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): New macro.
  2395. (INSTALL_NEW_DTV, THREAD_DTV): Rewritten to fetch the right word.
  2396. (THREAD_SELF): New macro.
  2397. 2004-09-02 Steven Munroe <sjmunroe@us.ibm.com>
  2398. [BZ #357]
  2399. * stdlib/tst-setcontext.c (test_stack): Added test for stack clobber.
  2400. (main): Call test_stack.
  2401. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
  2402. (__getcontext): Push stack frame then save parms in local frame.
  2403. Improve instruction scheduling.
  2404. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
  2405. (__swapcontext): Likewise.
  2406. 2004-09-01 Andreas Schwab <schwab@suse.de>
  2407. * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h [g++ >= 3.5]: Use
  2408. __builtin_offsetof.
  2409. 2004-09-01 Jakub Jelinek <jakub@redhat.com>
  2410. [BZ #361]
  2411. * posix/fnmatch_loop.c (FCT): For backslash between brackets, branch
  2412. to normal_bracket after fetching the next character.
  2413. * posix/tst-fnmatch.input: Add 25 new tests.
  2414. Reported by Markus Oberhumer <markus@oberhumer.com>.
  2415. 2004-09-01 Ulrich Drepper <drepper@redhat.com>
  2416. * elf/rtld.c (dl_main): First check existence of ld.so.preload
  2417. with access.
  2418. 2004-09-01 Roland McGrath <roland@redhat.com>
  2419. * sysdeps/unix/sysv/linux/bits/waitflags.h
  2420. (WSTOPPED, WEXITED, WCONTINUED, WNOWAIT): New macros.
  2421. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_WAITID_SYSCALL):
  2422. New macro.
  2423. * sysdeps/unix/sysv/linux/waitid.c: New file. Use new syscall when
  2424. available, or fall back to the waitpid-based generic code.
  2425. 2004-08-14 Alfred M. Szmidt <ams@kemisten.nu>
  2426. * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Let gcc
  2427. clobber the `ebp' register.
  2428. * sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Removed.
  2429. Reverts change from 2004-05-07 by Jeroen Dekkers.
  2430. * sysdeps/mach/hurd/i386/init-first.c (init): Changed the type of
  2431. NEWSP from `void *' to `int *'. Changed all casts accordingly.
  2432. 2004-08-31 Jakub Jelinek <jakub@redhat.com>
  2433. * wcsmbs/wcsmbsload.c (__wcsmbs_getfct): Move attribute_hidden
  2434. before return type.
  2435. * locale/localename.c (__current_locale_name): Likewise.
  2436. 2004-08-30 Roland McGrath <roland@frob.com>
  2437. * scripts/extract-abilist.awk: If `lastversion' variable defined, omit
  2438. later sets from output.
  2439. * Makerules (check-abi): Pass option to set that with value of
  2440. LIB-abi-frozen variable if one is set.
  2441. * abilist/libcidn.abilist: New file (empty).
  2442. 2004-08-30 Jakub Jelinek <jakub@redhat.com>
  2443. * posix/bits/posix1_lim.h (_POSIX_CHILD_MAX, _POSIX_OPEN_MAX): If
  2444. not __USE_XOPEN2K, use the Unix98 mandated values.
  2445. 2004-08-27 Roland McGrath <roland@redhat.com>
  2446. * configure.in (usetls): Default to yes.
  2447. * configure: Regenerated.
  2448. 2004-08-26 Roland McGrath <roland@redhat.com>
  2449. * configure.in (add_ons_automatic): New variable, set to yes or no
  2450. indicating --enable-add-ons with no explicit list.
  2451. (running add-on fragments): Allow a fragment to modify $libc_add_on
  2452. and have that affect its place in the list of add-ons to use.
  2453. * configure: Regenerated.
  2454. 2004-08-26 Ulrich Drepper <drepper@redhat.com>
  2455. * nscd/cache.c: Major rewrite. The data is now optionally kept in
  2456. a mmaped memory region which is automatically mirrored on disk.
  2457. This implements persistent data storage. The Memory handled
  2458. needed to be completely revamped, it now uses a garbage collection
  2459. mechanism instead of malloc.
  2460. * nscd/connections.c: Likewise.
  2461. * nscd/nscd.c: Likewise.
  2462. * nscd/nscd.h: Likewise.
  2463. * nscd/nscd_conf.c: Likewise.
  2464. * nscd/nscd_stat.c: Likewise.
  2465. * nscd/grpcache.c: Likewise.
  2466. * nscd/hstcache.c:: Likewise.
  2467. * nscd/pwdcache.c:: Likewise.
  2468. * nscd/Makefile: Add rules to build mem.c.
  2469. * nscd/mem.c: New file.
  2470. * nscd/nscd.conf: Describe new configuration options.
  2471. 2004-08-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  2472. * sysdeps/unix/sysv/linux/mips/pread.c: Include sgidefs.h only if
  2473. NO_SGIDEFS_H isn't defined.
  2474. * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
  2475. * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
  2476. * sysdeps/unix/sysv/linux/sh/pread.c: Define NO_SGIDEFS_H and
  2477. _MIPS_SIM.
  2478. * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
  2479. * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
  2480. * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
  2481. 2004-08-26 Ulrich Drepper <drepper@redhat.com>
  2482. * nscd/connections.c (nscd_run): atomic_increment was not missing.
  2483. * sysdeps/gnu/Makefile (libdl-sysdep_routines): Don't add eval.
  2484. Patch by Greg Schafer.
  2485. 2004-08-25 Richard Henderson <rth@redhat.com>
  2486. * sysdeps/alpha/elf/start.S (_start): Use $15 as frame unwind
  2487. instead of $31. Zero $15.
  2488. * sysdeps/unix/sysv/linux/alpha/clone.S (thread_start): Likewise.
  2489. 2004-08-25 Ulrich Drepper <drepper@redhat.com>
  2490. * sysdeps/powerpc/powerpc64/bits/atomic.h
  2491. (__arch_compare_and_exchange_bool_32_acq): Fix case where oldval
  2492. is negative.
  2493. (__arch_compare_and_exchange_bool_32_rel): Likewise.
  2494. * nscd/connections.c: Make socket nonblocking so that threads
  2495. don't get stuck on accept. Fix locking.
  2496. * nscd/grpcache.c (cache_addgr): Use copy of original key in hash
  2497. entry with alternative key.
  2498. * nscd/pwdcache.c (cache_addpw): Likewise.
  2499. 2004-08-25 Richard Sandiford <rsandifo@redhat.com>
  2500. * sysdeps/mips/dl-machine.h (_dl_start_user): Don't set
  2501. __libc_stack_end.
  2502. 2004-08-23 Ulrich Drepper <drepper@redhat.com>
  2503. * sysdeps/gnu/netinet/udp.h: Cosmetic changes. Remove unnecessary
  2504. __BEGIN_DECLS/__END_DECLS.
  2505. 2004-08-23 Andreas Jaeger <aj@suse.de>
  2506. [BZ #341]
  2507. * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOATIME): Define.
  2508. * sysdeps/unix/sysv/linux/arm/bits/fcntl.h (O_NOATIME): Likewise.
  2509. * sysdeps/unix/sysv/linux/cris/bits/fcntl.h (O_NOATIME): Likewise.
  2510. * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (O_NOATIME): Likewise.
  2511. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (O_NOATIME): Likewise.
  2512. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (O_NOATIME): Likewise.
  2513. * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (O_NOATIME): Likewise.
  2514. * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOATIME): Likewise.
  2515. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (O_NOATIME): Likewise.
  2516. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_NOATIME): Likewise.
  2517. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (O_NOATIME): Likewise.
  2518. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_NOATIME): Likewise.
  2519. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (O_NOATIME): Likewise.
  2520. 2004-08-21 Ulrich Drepper <drepper@redhat.com>
  2521. * malloc/hooks.c (DEFAULT_CHECK_ACTION): Moved to malloc.c.
  2522. (check_action): Likewise.
  2523. When printing error messages, use malloc_printf_nc now instead of
  2524. fiddling with the streams cancellation flag in every place.
  2525. * malloc/malloc.c (DEFAULT_CHECK_ACTION): New definition. Change
  2526. default to 3.
  2527. (check_action): New variable.
  2528. (unlink): Print error message and eventually terminate in case list
  2529. is corrupted.
  2530. (malloc_printf_nc): New function. Use it in _int_free.
  2531. Change proposed by Arjan van de Ven.
  2532. * dlfcn/Makefile: Don't build eval.c anymore.
  2533. 2004-08-20 Roland McGrath <roland@frob.com>
  2534. * csu/Makefile ($(objpfx)version-info.h): Use printf in place
  2535. of echo -e for POSIX.2 portability.
  2536. Reported by Paul Jarc <prj@po.cwru.edu>.
  2537. 2004-08-19 Ulrich Drepper <drepper@redhat.com>
  2538. * sysdeps/posix/getaddrinfo.c (gaih_inet): Minor optimizations in
  2539. list generation.
  2540. * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use
  2541. getcanonname_r function if AI_CANONNAME flag is not set in
  2542. request.
  2543. * nis/nss_compat/compat-initgroups.c (getgrent_next_nss):
  2544. Initialize mysize with limits only if latter is >= 0. Use mysize
  2545. in malloc call.
  2546. 2004-08-19 Jakub Jelinek <jakub@redhat.com>
  2547. * sysdeps/posix/getaddrinfo.c (gaih_inet): Cast canon to (char *)
  2548. to avoid warning.
  2549. * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Initialize
  2550. status to NSS_STATUS_UNAVAIL.
  2551. 2004-08-19 Ulrich Drepper <drepper@redhat.com>
  2552. * sysdeps/posix/getaddrinfo.c (gaih_inet): Use h->h_name in the
  2553. cannoname lookup since it has the FQDN even if the original NAME
  2554. value has not.
  2555. 2004-08-18 Ulrich Drepper <drepper@redhat.com>
  2556. * sysdeps/posix/getaddrinfo.c (gaih_inet): Store NAME parameter
  2557. pointer in new variable ORIG_NAME and use this pointer when
  2558. determination of canonical name failed, not the possibly IDN
  2559. translated value of NAME.
  2560. 2004-08-17 Ulrich Drepper <drepper@redhat.com>
  2561. * resolv/resolv.h (RES_DEFAULT): Add RES_NOIP6DOTINT.
  2562. * resolv/res_init.c (res_setoptions): Recognize ip6-dotint option.
  2563. Reset RES_NOIP6DOTINT flag in this case..
  2564. * sysdeps/posix/getaddrinfo.c: Fix memory handling of
  2565. ai_canonname.
  2566. 2004-08-16 Ulrich Drepper <drepper@redhat.com>
  2567. * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Don't use
  2568. CNAME records, we better follow the chain of CNAME records which
  2569. can be accomplished with A/AAAA lookups.
  2570. 2004-08-15 Roland McGrath <roland@redhat.com>
  2571. * sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who):
  2572. Remove __RUSAGE_BOTH constant and RUSAGE_BOTH macro.
  2573. * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
  2574. * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
  2575. * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
  2576. 2004-08-15 Roland McGrath <roland@frob.com>
  2577. * sysdeps/i386/i686/Makefile (elide-routines.os): Append hp-timing to
  2578. this, not ...
  2579. (static-only-routines): ... this.
  2580. * sysdeps/ia64/Makefile: Likewise.
  2581. * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
  2582. * sysdeps/sparc/sparc64/Makefile: Likewise.
  2583. * sysdeps/x86_64/Makefile: Likewise.
  2584. * sysdeps/i386/i686/hp-timing.c: Revert copyright terms change.
  2585. * sysdeps/ia64/hp-timing.c: Likewise.
  2586. * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise.
  2587. * sysdeps/sparc/sparc64/hp-timing.c: Likewise.
  2588. * csu/elf-init.c: Update copyright terms including special exception
  2589. for these trivial files, which are statically linked into executables
  2590. that use dynamic linking for the significant library code.
  2591. * io/fstat.c: Likewise.
  2592. * io/fstat64.c: Likewise.
  2593. * io/lstat.c: Likewise.
  2594. * io/lstat64.c: Likewise.
  2595. * io/stat.c: Likewise.
  2596. * io/stat64.c: Likewise.
  2597. * stdlib/atexit.c: Likewise.
  2598. * sysdeps/alpha/elf/initfini.c: Likewise.
  2599. * sysdeps/alpha/elf/start.S: Likewise.
  2600. * sysdeps/arm/elf/start.S: Likewise.
  2601. * sysdeps/cris/elf/start.S: Likewise.
  2602. * sysdeps/generic/initfini.c: Likewise.
  2603. * sysdeps/generic/mknod.c: Likewise.
  2604. * sysdeps/hppa/elf/initfini.c: Likewise.
  2605. * sysdeps/hppa/elf/start.S: Likewise.
  2606. * sysdeps/i386/elf/start.S: Likewise.
  2607. * sysdeps/i386/i686/hp-timing.c: Likewise.
  2608. * sysdeps/ia64/elf/initfini.c: Likewise.
  2609. * sysdeps/ia64/elf/start.S: Likewise.
  2610. * sysdeps/ia64/hp-timing.c: Likewise.
  2611. * sysdeps/m68k/elf/start.S: Likewise.
  2612. * sysdeps/mach/start.c: Likewise.
  2613. * sysdeps/mips/elf/start.S: Likewise.
  2614. * sysdeps/powerpc/powerpc32/elf/start.S: Likewise.
  2615. * sysdeps/powerpc/powerpc64/elf/start.S: Likewise.
  2616. * sysdeps/s390/s390-32/elf/start.S: Likewise.
  2617. * sysdeps/s390/s390-32/initfini.c: Likewise.
  2618. * sysdeps/s390/s390-64/elf/start.S: Likewise.
  2619. * sysdeps/s390/s390-64/initfini.c: Likewise.
  2620. * sysdeps/sh/elf/initfini.c: Likewise.
  2621. * sysdeps/sh/elf/start.S: Likewise.
  2622. * sysdeps/sparc/sparc32/elf/start.S: Likewise.
  2623. * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise.
  2624. * sysdeps/sparc/sparc64/elf/start.S: Likewise.
  2625. * sysdeps/sparc/sparc64/hp-timing.c: Likewise.
  2626. * sysdeps/standalone/i386/start.S: Likewise.
  2627. * sysdeps/standalone/i960/start.S: Likewise.
  2628. * sysdeps/standalone/m68k/m68020/start.S: Likewise.
  2629. * sysdeps/unix/arm/start.c: Likewise.
  2630. * sysdeps/unix/bsd/osf/alpha/start.S: Likewise.
  2631. * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
  2632. * sysdeps/unix/sparc/start.c: Likewise.
  2633. * sysdeps/unix/start.c: Likewise.
  2634. * sysdeps/unix/sysv/aix/start.s: Likewise.
  2635. * sysdeps/unix/sysv/irix4/start.c: Likewise.
  2636. * sysdeps/x86_64/elf/initfini.c: Likewise.
  2637. * sysdeps/x86_64/elf/start.S: Likewise.
  2638. 2004-08-15 Roland McGrath <roland@redhat.com>
  2639. [BZ #227]
  2640. * sysdeps/unix/sysv/linux/kernel-features.h
  2641. (__ASSUME_BRK_PAGE_ROUNDED): New macro.
  2642. * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
  2643. [! __ASSUME_BRK_PAGE_ROUNDED]: Adjust the break up if it falls within
  2644. the partial page after the dynamic linker's own data segment.
  2645. 2004-08-15 Ulrich Drepper <drepper@redhat.com>
  2646. * sysdeps/posix/getaddrinfo.c (gaih_inet): Optimize generation of
  2647. v4-mapped addresses a bit.
  2648. (gethosts): Move alloca out of macro, so that it is done only once.
  2649. * sysdeps/posix/getaddrinfo.c (gaih_addrtuple): Change type of
  2650. addr to avoid casts.
  2651. (gethosts): Removed.
  2652. (gethosts2): Renamed to gethosts. Make it usable for family !=
  2653. AF_UNSPEC. Fix AI_V4MAPPED.
  2654. (gaih_inet): Remove use of old gethosts. Always use what used to be
  2655. gethosts2. If entry is found, try to use the same NSS module's
  2656. getcanonname_r function. Use gethostbyaddr for AI_CANONNAME only
  2657. if getcanonname_r was not available. Fix filtering of AI_V4MAPPED
  2658. addresses. Numerous cleanups.
  2659. * resolv/nss_dns/dns-canon.c: New file.
  2660. * resolv/Makefile (libnss_dns-routines): Add dns-canon.
  2661. * resolv/Versions (libnss_dns): Add _nss_dns_getcanonname_r.
  2662. * elf/Makefile: Add rules to build and run tst-dlopenrpath.
  2663. * elf/tst-dlopenrpath.c: New file.
  2664. * elf/tst-dlopenrpathmod.c: New file.
  2665. * intl/tst-gettext.sh: Adjust for change of de.po file to UTF-8.
  2666. * intl/tst-gettext.c: Likewise.
  2667. * nss/getent.c (ahosts_keys_int): Correctly print IPv6 addresses.
  2668. * nss/getent.c: Allow queries for getaddrinfo with AF_INET and
  2669. AF_INET6.
  2670. 2004-08-14 Ulrich Drepper <drepper@redhat.com>
  2671. * po/de.po: Update from translation team.
  2672. 2004-08-14 Roland McGrath <roland@frob.com>
  2673. * sysdeps/mach/configure: Regenerated.
  2674. * sysdeps/mach/hurd/configure: Regenerated.
  2675. 2004-08-14 Ulrich Drepper <drepper@redhat.com>
  2676. * sysdeps/posix/getaddrinfo.c (getaddrinfo): If RFC3484 sorting is
  2677. performed, make sure it is still the first entry after sorting
  2678. that has the ai_canonname information.
  2679. * sysdeps/posix/getaddrinfo.c (gaih_inet): Really set ai_canonname
  2680. only in one entry.
  2681. 2004-08-13 Daniel Jacobowitz <dan@debian.org>
  2682. * scripts/output-format.sed: Handle default case of three-argument
  2683. OUTPUT_FORMAT.
  2684. * sysdeps/arm/machine-gmon.h (mcount_internal): Mark as
  2685. __attribute_used__.
  2686. 2004-08-13 Ulrich Drepper <drepper@redhat.com>
  2687. * nss/getent.c (ahosts_keys): ai_canonname is NULL for all but the
  2688. first returned entry. Print name only if not NULL.
  2689. * nis/nss_nis/nis-netgrp.c: Remove locking by using data in struct
  2690. __netgrent object passed in instead of global variables.
  2691. Optimize.
  2692. * nis/nss_nisplus/nisplus-netgrp.c: Remove locking by using data
  2693. in struct __netgrent object passed in instead of global variables.
  2694. * inet/netgroup.h (struct __netgrent): Add service_user field.
  2695. Move cursor in anonymous union, add new field location to that
  2696. union.
  2697. * inet/getnetgrent_r.c: Extensive rewrite to really enable
  2698. concurrent uset of set/get/endnetgrent and innetgr.
  2699. Reported by Chuck Simmons.
  2700. * inet/netgroup.h (struct name_list): Replace name pointer with
  2701. zero-sized array.
  2702. * inet/getnetgrent_r.c: Adjust code for change in name_list
  2703. layout. Numerous strdup and free calls removed.
  2704. * elf/sprof.c (read_symbols): When comparing aliases, prefer
  2705. non-hidden over hidden symbols and strong over weak symbols
  2706. if both don't start with '_'.
  2707. * malloc/malloc.c: Use strong_alias instead of weak_alias wherever
  2708. possible.
  2709. 2004-08-12 Jakub Jelinek <jakub@redhat.com>
  2710. * sysdeps/unix/sysv/linux/bits/resource.h: Define non-standard
  2711. RUSAGE_ enums as __RUSAGE_ and adjust macros accordingly.
  2712. * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
  2713. * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
  2714. * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
  2715. Define non-standard RLIMIT_ enums as __RLIMIT_ and adjust macros
  2716. accordingly.
  2717. 2004-08-11 Andreas Schwab <schwab@suse.de>
  2718. * resolv/res_libc.c: Move definition of __res_initstamp ...
  2719. * resolv/res_init.c: ... here.
  2720. 2004-08-10 GOTO Masanori <gotom@debian.or.jp>
  2721. * locale/C-time.c: Change default ERA value from NULL to "".
  2722. * locale/tst-C-locale.c: Add test case for ERA keywords.
  2723. 2004-08-12 Ulrich Drepper <drepper@redhat.com>
  2724. * sysdeps/unix/sysv/linux/bits/resource.h: Define non-standard
  2725. RLIMIT__ enums as __RLIMIT_ and adjust macros accordingly.
  2726. * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
  2727. * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
  2728. 2004-08-12 Jakub Jelinek <jakub@redhat.com>
  2729. * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_SIGPENDING,
  2730. RLIMIT_MSGQUEUE): Add.
  2731. (RLIMIT_NLIMITS, RLIM_NLIMITS): Adjust.
  2732. * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIMIT_SIGPENDING,
  2733. RLIMIT_MSGQUEUE, RLIMIT_NLIMITS): Add.
  2734. (RLIM_NLIMITS): Adjust.
  2735. * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIMIT_SIGPENDING,
  2736. RLIMIT_MSGQUEUE, RLIMIT_NLIMITS): Add.
  2737. (RLIM_NLIMITS): Adjust.
  2738. * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_SIGPENDING,
  2739. RLIMIT_MSGQUEUE, RLIMIT_NLIMITS): Add.
  2740. (RLIM_NLIMITS): Adjust.
  2741. 2004-08-12 Jakub Jelinek <jakub@redhat.com>
  2742. * resolv/res_query.c (__libc_res_nsearch): Protect the debugging
  2743. printf with #ifdef DEBUG and RES_DEBUG check.
  2744. * sysdeps/unix/sysv/linux/bits/shm.h: Move __END_DECLS after
  2745. __USE_MISC #endif.
  2746. * sysdeps/generic/bits/shm.h: Add __BEGIN_DECLS for __getpagesize
  2747. declaration.
  2748. * sysdeps/gnu/bits/shm.h: Likewise.
  2749. * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
  2750. * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
  2751. * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
  2752. * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
  2753. * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise.
  2754. 2004-08-12 Ulrich Drepper <drepper@redhat.com>
  2755. * po/ca.po: Update from translation team.
  2756. 2004-08-11 Ulrich Drepper <drepper@redhat.com>
  2757. * sysdeps/unix/sysv/linux/bits/shm.h: Add __BEGIN_DECLS for
  2758. __getpagesize declaration.
  2759. 2004-08-11 Roland McGrath <roland@redhat.com>
  2760. * configure.in (libc_cv_cpp_asm_debuginfo): Add missing braces around
  2761. commands inside &&.
  2762. Reported by Andreas Schwab <schwab@suse.de>.
  2763. * configure: Regenerated.
  2764. * posix/tst-waitid.c (do_test): Ignore SIGCHLD before cleanup SIGKILL.
  2765. 2004-08-11 Ulrich Drepper <drepper@redhat.com>
  2766. * time/tzset.c (tzset_internal): Add new parameter which is
  2767. nonzero if called through tzset. Use TZDEFAULT name including
  2768. name comparison if the new parameter is zero. This means implicit
  2769. tzset calls will not cause files to be opened and read by tzfile.c
  2770. all the time.
  2771. 2004-08-11 Jakub Jelinek <jakub@redhat.com>
  2772. * rt/tst-timer2.c (do_test): If timer_create fails, just continue.
  2773. * rt/tst-timer4.c (do_test): If one of the timer_create calls fails,
  2774. return 1 immediately.
  2775. * time/tzfile.c (__tzfile_read): Free transitions only if it will
  2776. not be reused.
  2777. * sysdeps/ieee754/dbl-64/mpa.c: Include <sys/param.h>.
  2778. * sysdeps/ieee754/dbl-64/mpa.h (MAX, MIN): Macros removed.
  2779. * stdio-common/tst-popen.c: Include <string.h>.
  2780. * resolv/res_send.c (__libc_res_nsend): Only define TMPBUF #if DEBUG.
  2781. * sysdeps/pthread/aio_misc.c (handle_fildes_io): Remove noreturn
  2782. attribute. Return NULL instead of calling pthread_exit at the end.
  2783. 2004-08-11 Roland McGrath <roland@redhat.com>
  2784. * iconvdata/testdata/ISO-2022-JP-3: Regenerated.
  2785. 2004-08-10 Alfred M. Szmidt <ams@kemisten.nu>
  2786. * sysdeps/generic/bits/in.h (struct ip_mreq): Remove definition.
  2787. 2004-08-10 Jakub Jelinek <jakub@redhat.com>
  2788. * libio/bits/stdio.h (fread_unlocked): Cast 0 to (size_t).
  2789. (fwrite_unlocked): When checking if size * n is <= 8, cast each
  2790. argument to size_t individually. Cast n to (void) instead of
  2791. (size_t), surround with (), return (size_t) 0 if one of n or size
  2792. is 0. [BZ #316]
  2793. * stdio-common/Makefile (tests): Add tst-unlockedio.
  2794. * stdio-common/tst-unlockedio.c: New test.
  2795. 2004-08-09 Roland McGrath <roland@frob.com>
  2796. * manual/install.texi (Supported Configurations): Replace bug-glibc
  2797. mention with web URL.
  2798. * INSTALL: Regenerated.
  2799. * locale/iso-3166.def: Likewise, in comment.
  2800. * locale/iso-4217.def: Likewise.
  2801. * locale/iso-639.def: Likewise.
  2802. * posix/cpio.h: Remove bug reporting comment.
  2803. 2004-08-09 Ulrich Drepper <drepper@redhat.com>
  2804. * libio/bits/stdio.h (fread_unlocked): Add a couple of (size_t)
  2805. casts to handle funny calls with floating point argument values
  2806. and signed values correctly and without warning.
  2807. (fwrite_unlocked): Likewise. [BZ #309]
  2808. * malloc/memusage.c (me): Use creat64, not creat.
  2809. * malloc/memusagestat.c: Fix handling of very large sizes. [BZ #285]
  2810. Patch by Guy Maor <guymaor@yahoo.com>.
  2811. * elf/ldconfig.c (options): Mark parameter option names as
  2812. translatable. [BZ #253] Patch by Jakub Bogusz <qboosh@pld-linux.org>.
  2813. * iconv/gconv_charset.h (strip): Also allow comma which is what is
  2814. used to separate options. [BZ #194]
  2815. 2004-08-09 Roland McGrath <roland@redhat.com>
  2816. * FAQ.in: Refer to web pages instead of bug-glibc.
  2817. * FAQ: Regenerated.
  2818. * time/strptime_l.c: #include <stdbool.h>, `bool' used in last change.
  2819. 2004-08-09 Ulrich Drepper <drepper@redhat.com>
  2820. * time/tzset.c (tzset_internal): If TZ is not set do not compare
  2821. old and new tz value since it might be /etc/localtime in both
  2822. cases although the file changed. [BZ #154]
  2823. Patch by Christian Franke <franke@computer.org>.
  2824. * time/tzfile.c (__tzfile_read): Determine dev/ino of file.
  2825. Compare with values of previously opened file. Don't do anything
  2826. is they match.
  2827. 2004-08-08 Ulrich Drepper <drepper@redhat.com>
  2828. * elf/dl-load.c (_dl_map_object): If __RTLD_CALLMAP flag is set,
  2829. reset loader before the actual loading.
  2830. * elf/dl-open.c (dl_open_worker): If file name contains no path
  2831. element determine map of caller. Pass caller map in this case to
  2832. _dl_map_object. Set __RTLD_CALLMAP in mode.
  2833. * include/dlfcn.h (__RTLD_CALLMAP): Define. [BZ #116]
  2834. Patch by Greg Wolodkin <greg@mathworks.com>.
  2835. * misc/syslog.c (openlog_internal): Always try both UDP and TCP.
  2836. [BZ #108] Patch mainly by Bjorn Andersson <bjorn@iki.fi>.
  2837. * configure.in: Also recognize i786. [BZ #106]
  2838. Patch by <pluto@pld-linux.org>.
  2839. * resolv/res_query.c (__libc_res_nsearch): Correctly test whether
  2840. name contains any dots. [BZ #95]
  2841. * resolv/res_send.c: Compiling with DEBUG defined works again.
  2842. * resolv/gethnamaddr.c (dprintf): Renamed to Dprintf. Adjust all
  2843. callers.
  2844. * resolv/tst-leaks.c (TIMEOUT): Define so that if no server is
  2845. available the process is not killed. [BZ #41]
  2846. * intl/tst-gettext.c (main): Improve some messages. [BZ #33]
  2847. * time/strptime_l.c (__strptime_internal): Fix handling of %Ey.
  2848. [BZ #28]
  2849. * po/sv.po: Update from translation team.
  2850. 2004-08-07 Ulrich Drepper <drepper@redhat.com>
  2851. * inet/netinet/in.h: Add more const to the setipv4soucefilter,
  2852. getsourcefilter, and setsourcefilter parameter list.
  2853. * sysdeps/generic/setipv4sourcefilter.c: Likewise.
  2854. * sysdeps/generic/getsourcefilter.c: Likewise.
  2855. * sysdeps/generic/setsourcefilter.c: Likewise.
  2856. * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
  2857. * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
  2858. * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
  2859. * po/tr.po: Update from translation team.
  2860. 2004-08-06 Ulrich Drepper <drepper@redhat.com>
  2861. * iconvdata/jisx0213.h (jisx0213_added_in_2004_p): Fix typo.
  2862. Reported by Paolo Bonzini.
  2863. 2004-08-06 Jakub Jelinek <jakub@redhat.com>
  2864. * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add
  2865. always_inline.
  2866. * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_runtime_setup,
  2867. elf_machine_fixup_plt, elf_machine_plt_conflict): Likewise.
  2868. * sysdeps/unix/sysv/linux/netatalk/at.h: Include bits/sockaddr.h
  2869. before including linux/atalk.h.
  2870. * resolv/res_libc.c: Include atomic.h.
  2871. * intl/finddomain.c (free_mem): Rename to...
  2872. (_nl_finddomain_subfreeres): ... this. Add
  2873. __libc_freeres_fn_section.
  2874. * intl/loadmsgcat.c (_nl_unload_domain): Add
  2875. __libc_freeres_fn_section.
  2876. * intl/gettextP.h (_nl_unload_domain): Move into #ifdef _LIBC.
  2877. Add attribute_hidden.
  2878. (_nl_findomain_subfreeres): New prototype.
  2879. * iconv/gconv_db.c (free_mem): Call _nl_findomain_subfreeres.
  2880. 2004-07-30 Guido Guenther <agx@sigxcpu.org>
  2881. * nss/getent.c (passwd_keys): Use strtoul instead of isdigit to
  2882. test if the key is numeric or not.
  2883. (group_keys): Likewise.
  2884. 2004-08-05 Ulrich Drepper <drepper@redhat.com>
  2885. * inet/netinet/in.h: Define struct ip_msfilter, IP_MSFILTER_SIZE,
  2886. struct group_filter, and GROUP_FILTER_SIZE.
  2887. * include/sys/socket.h: Declare __getsockopt.
  2888. * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: New file.
  2889. * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: New file.
  2890. * sysdeps/unix/sysv/linux/setsourcefilter.c: New file.
  2891. * sysdeps/unix/sysv/linux/getsourcefilter.c: New file. [BZ #211]
  2892. * po/ko.po: Update from translation team.
  2893. 2004-08-04 Jakub Jelinek <jakub@redhat.com>
  2894. * hesiod/hesiod.c (__hesiod_res_get): Use calloc instead of malloc +
  2895. memset.
  2896. (__hesiod_res_set): Free nsaddrs.
  2897. * include/resolv.h (__res_maybe_init): Add prototype.
  2898. * resolv/resolv.h (struct __res_state): Add _u._ext.initstamp field.
  2899. * resolv/Versions (libc): Add __res_maybe_init@@GLIBC_PRIVATE.
  2900. * resolv/res_libc.c (__res_initstamp, lock): New variables.
  2901. (res_init): Increase __res_initstamp.
  2902. (__res_maybe_init): New function.
  2903. * resolv/res_init.c (__res_vinit): Initialize _u._ext.initstamp.
  2904. * hesiod/hesiod.c (__hesiod_res_get): Use __res_maybe_init instead
  2905. of RES_INIT check and {res_ninit,__res_ninit,res_init} call.
  2906. * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
  2907. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r,
  2908. _nss_dns_gethostbyaddr_r): Likewise.
  2909. * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r,
  2910. _nss_dns_getnetbyaddr_r): Likewise.
  2911. * resolv/gethnamaddr.c (gethostbyname, gethostbyname2,
  2912. gethostbyaddr): Likewise.
  2913. * resolv/res_data.c (fp_nquery, res_mkquery, res_mkupdate,
  2914. res_isourserver, res_sendsigned, res_update, res_search,
  2915. res_querydomain): Likewise.
  2916. * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Likewise.
  2917. * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
  2918. * nss/getnssent_r.c (__nss_setent, __nss_endent, __nss_getent_r):
  2919. Likewise.
  2920. 2004-08-05 Ulrich Drepper <drepper@redhat.com>
  2921. * sysdeps/posix/getaddrinfo.c (gaih_inet): Set ai_family for
  2922. V4-mapped IPv6 addresses and req->ai_family==AF_INET.
  2923. Reported by A. Guru <a.guru@sympatico.ca>.
  2924. * po/sv.po: Update from translation team.
  2925. * po/sk.po: Likewise.
  2926. * po/pl.po: Likewise.
  2927. 2004-08-04 Jakub Jelinek <jakub@redhat.com>
  2928. Ulrich Drepper <drepper@redhat.com>
  2929. * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Don't read more input
  2930. characters than necessary.
  2931. 2004-08-05 Ulrich Drepper <drepper@redhat.com>
  2932. * wcsmbs/Makefile (tests): Add tst-mbsrtowcs.
  2933. * wcsmbs/tst-mbsrtowcs.c: New file.
  2934. * po/fr.po: Update from translation team.
  2935. 2004-08-04 Jakub Jelinek <jakub@redhat.com>
  2936. * resolv/inet_pton.c (inet_pton4): Disallow octal numbers. Reported
  2937. by A. Guru <a.guru@sympatico.ca>. [BZ #295]
  2938. 2004-08-05 Ulrich Drepper <drepper@redhat.com>
  2939. * po/nl.po: Update from translation team.
  2940. * sysdeps/posix/getaddrinfo.c (gaih_inet): Recognize all the IPv4
  2941. numeric address formats inet_addr knows.
  2942. (getaddrinfo): Allow AI_NUMERICSERV flag.
  2943. If neither IPv4 nor IPv6 interface is present we cannot make any
  2944. decision for AI_ADDRCONFIG. Fail if AI_NUMERICSERV is set and the
  2945. string is not just a number. Remove useless freeaddrinfo call.
  2946. * resolv/netdb.h (AI_NUMERICSERV): Define.
  2947. Based on a patch by a.guru@sympatico.ca.
  2948. 2004-08-04 Jakub Jelinek <jakub@redhat.com>
  2949. * stdlib/strfmon_l.c (__vstrfmon_l): Memset whole info structure
  2950. instead of trying to initialize some, but not all, fields one by
  2951. one.
  2952. * stdio-common/printf_size.c (printf_size): Initialize fb_info
  2953. structure with *info instead of trying to initialize some, but not
  2954. all, fields from it.
  2955. * nscd/connections.c (handle_request): Check if req->type is in
  2956. LASTDBREQ .. LASTREQ range instead of req.
  2957. * locale/programs/linereader.c (lr_create): Initialize
  2958. lr->return_widestr to 0.
  2959. * elf/dl-close.c (free_slotinfo): Add __libc_freeres_fn_section.
  2960. (free_mem): Call free_slotinfo just once.
  2961. * stdio-common/tst-fmemopen.c (main): Check for MAP_FAILED instead
  2962. of NULL.
  2963. * locale/localeinfo.h (_nl_locale_subfreeres): New prototype.
  2964. * locale/setlocale.c (free_category): Add __libc_freeres_fn_section.
  2965. (free_mem): Rename to _nl_locale_subfreeres.
  2966. * iconv/gconv_db.c: Include locale/localeinfo.h.
  2967. (free_derivation, free_modules_db): Add __libc_freeres_fn_section.
  2968. (free_mem): Call _nl_locale_subfreeres.
  2969. * iconv/gconv_dl.c (do_release_all): Add __libc_freeres_fn_section.
  2970. 2004-08-04 Roland McGrath <roland@frob.com>
  2971. * Makeconfig ($(common-objpfx)config.status):
  2972. Fix typo: $(add_ons) -> $(add-ons).
  2973. (Makeconfig-add-on): New variable. When doing $(sysdep-makeconfigs)
  2974. include, use black magic to get it set to an add-on's name during the
  2975. include of the add-on's Makeconfig.
  2976. * configure.in: Use variable name `libc_add_on' when sourcing add-on
  2977. configure fragments, so they can refer to this.
  2978. * configure: Regenerated.
  2979. 2004-08-04 Roland McGrath <roland@redhat.com>
  2980. * posix/tst-waitid.c (test_child): Sleep a second before stopping.
  2981. (do_test): Bump sleep to three seconds.
  2982. (sigchld, check_sigchld): New functions.
  2983. (do_test): Handle SIGCHLD and check for getting the right details.
  2984. * posix/tst-waitid.c (do_test): Kill the child process when bailing
  2985. out early on some failure.
  2986. [WCONTINUED]: Test WCONTINUED functionality.
  2987. 2004-08-03 Ulrich Drepper <drepper@redhat.com>
  2988. * nscd/connections.c (handle_request): Print more descriptive
  2989. message for invalid request types.
  2990. 2004-08-02 Jakub Jelinek <jakub@redhat.com>
  2991. * iconvdata/ibm932.c (BODY): Avoid binary search for ch >= 0xffff.
  2992. Always treat high as highest number in range + 1.
  2993. * iconvdata/ibm943.c (BODY): Likewise.
  2994. 2004-07-31 Bruno Haible <bruno@clisp.org>
  2995. * iconvdata/JISX0213.TXT: Updated to JISX0213 plane 1 version 2004.
  2996. * iconvdata/jisx0213.c (__jisx0213_to_ucs_main,
  2997. __jisx0213_to_ucs_pagestart, __jisx0213_from_ucs_level1,
  2998. __jisx0213_from_ucs_level2): Regenerated.
  2999. * iconvdata/jisx0213.h (jisx0213_added_in_2004_p): New function.
  3000. * iconvdata/iso-2022-jp-3.c (JISX0213_1_2000_set): Renamed from
  3001. JISX0213_1_set.
  3002. (JISX0213_1_2004_set): New enum value.
  3003. (BODY for FROM_LOOP): Treat ESC $ ( Q like ESC $ ( O.
  3004. (BODY for TO_LOOP): For JISX 0213 plane 1 characters, emit ESC $ ( O
  3005. when possible, ESC $ ( Q when needed.
  3006. * iconvdata/testdata/EUC-JISX0213: Add the 10 new characters.
  3007. * iconvdata/testdata/EUC-JISX0213..UTF8: Update.
  3008. * iconvdata/testdata/SHIFT_JISX0213: Add the 10 new characters.
  3009. * iconvdata/testdata/SHIFT_JISX0213..UTF8: Update.
  3010. * iconvdata/testdata/ISO-2022-JP-3: Add the 10 new JISX0213 characters.
  3011. * iconvdata/testdata/ISO-2022-JP-3..UTF8: Update.
  3012. 2004-07-22 Bruno Haible <bruno@clisp.org>
  3013. * iconvdata/gconv-modules (ISO-8859-7): Add alias ISO_8859-7:2003.
  3014. 2004-07-29 David S. Miller <davem@redhat.com>
  3015. * sysdeps/sparc/sparc64/sparcv9b/memcpy.S (memcpy): Optimize
  3016. better for smaller than 256 byte copies. Also, use only one
  3017. unrolled loop instead of two for the large copy case.
  3018. 2004-07-30 Richard Henderson <rth@redhat.com>
  3019. * sysdeps/alpha/divq.S: Save t3 before it gets clobbered.
  3020. * sysdeps/alpha/remq.S: Likewise.
  3021. * sysdeps/alpha/div.S, sysdeps/alpha/ldiv.S: Rewrite with the
  3022. new division algorithms in divl.S and divq.S respectively.
  3023. 2004-07-28 GOTO Masanori <gotom@debian.or.jp>
  3024. * timezone/asia: Update from tzdata2004b.
  3025. * timezone/backward: Likewise.
  3026. * timezone/europe: Likewise.
  3027. * timezone/iso3166.tab: Likewise.
  3028. * timezone/leapseconds: Likewise.
  3029. * timezone/northamerica: Likewise.
  3030. * timezone/southamerica: Likewise.
  3031. * timezone/zone.tab: Likewise.
  3032. * timezone/private.h: Update from tzcode2004b.
  3033. * timezone/zic.c: Likewise.
  3034. 2004-07-27 Ulrich Drepper <drepper@redhat.com>
  3035. * nscd/grpcache.c (cache_addgr): If necessary, add entry also
  3036. under the name the user provided.
  3037. * nscd/pwdcache.c (cache_addpw): Likewise.
  3038. 2004-07-26 Roland McGrath <roland@redhat.com>
  3039. * sysdeps/posix/waitid.c [WEXITED]: Clear WEXITED bit in OPTIONS for
  3040. call to __waitpid.
  3041. 2004-07-26 Ulrich Drepper <drepper@redhat.com>
  3042. * nscd/hstcache.c (cache_addhst): Fix two scenarios which lead to
  3043. memory leaks.
  3044. * sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Assign pointer for
  3045. new buffer at the right time.
  3046. Reported by Jakub Bogusz <qboosh@pld-linux.org>.
  3047. 2004-07-25 Ulrich Drepper <drepper@redhat.com>
  3048. * inet/Versions [libc, GLIBC_2.3.4]: Add getipv4sourcefilter,
  3049. getsourcefilter, setipv4sourcefilter, and setsourcefilter.
  3050. * inet/Makefile (routines): Likewise.
  3051. * inet/netinet/in.h: Add prototypes for getipv4sourcefilter,
  3052. getsourcefilter, setipv4sourcefilter, and setsourcefilter.
  3053. * sysdeps/generic/getipv4sourcefilter.c: New file.
  3054. * sysdeps/generic/setipv4sourcefilter.c: New file.
  3055. * sysdeps/generic/getsourcefilter.c: New file.
  3056. * sysdeps/generic/setsourcefilter.c: New file.
  3057. 2004-07-17 Steven Munroe <sjmunroe@us.ibm.com>
  3058. * sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling
  3059. for POWER4 machines.
  3060. 2004-07-21 Jakub Jelinek <jakub@redhat.com>
  3061. [BZ #274]
  3062. * stdlib/strtod_l.c (INTERNAL (__STRTOF)): Fix used >=
  3063. BITS_PER_MP_LIMB shifting up.
  3064. * stdlib/tst-strtod.c (main): Add new tests.
  3065. 2004-07-23 Jakub Jelinek <jakub@redhat.com>
  3066. [BZ #282]
  3067. * libio/iopopen.c (_IO_new_popen): Use _IO_init instead of
  3068. _IO_no_init. Remove wd from struct locked_FILE.
  3069. (_IO_wproc_jumps): Remove.
  3070. Reported by Andrew Josey <a.josey@opengroup.org>.
  3071. * stdio-common/Makefile (tests): Add tst-popen.
  3072. * stdio-common/tst-popen.c: New test.
  3073. 2004-07-23 Ulrich Drepper <drepper@redhat.com>
  3074. * posix/bits/posix1_lim.h: Fix values for _POSIX_CHILD_MAX and
  3075. _POSIX_OPEN_MAX. Add _POSIX_HOST_NAME_MAX, _POSIX_SYMLINK_MAX,
  3076. _POSIX_SYMLOOP_MAX, and _POSIX_RE_DUP_MAX.
  3077. Reported by Andrew Josey.
  3078. * include/features.h: Document _POSIX_C_SOURCE == 200112L.
  3079. * grp/grp.h: Define gid_t if __USE_XOPEN2K is defined.
  3080. * pwd/pwd.h: Define uid_t and gid_t if __USE_XOPEN2K is defined.
  3081. * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t,
  3082. off_t, time_t, and uid_t if __USE_XOPEN2K is defined.
  3083. * signal/signal.h: Define pid_t if __USE_XOPEN2K is defined.
  3084. * posix/unistd.h: Define gid_t, off_t, pid_t, uid_t, and
  3085. useconds_t if __USE_XOPEN2K is defined.
  3086. * io/utime.h: Define time_t if __USE_XOPEN2K is defined.
  3087. * libio/stdio.h: Declare fseeko and ftello if __USE_XOPEN2K is defined.
  3088. 2004-07-19 Thorsten Kukuk <kukuk@suse.de>
  3089. * nis/nss_compat/compat-initgroups.c (getgrent_next_nss): Don't
  3090. allocate memory for large temporary variables with alloca.
  3091. 2004-07-22 Ulrich Drepper <drepper@redhat.com>
  3092. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Compatibility
  3093. code must have version GLIBC_2.0. Patch by Dwayne McConnell.
  3094. * nscd/nscd_getgr_r.c (nscd_getgr_r): Avoid read call with NULL
  3095. pointer and zero length.
  3096. 2004-07-21 Ulrich Drepper <drepper@redhat.com>
  3097. * nscd/cache.c (prune_cache): Print correct list when debugging.
  3098. 2004-07-21 Jakub Jelinek <jakub@redhat.com>
  3099. * resolv/res_libc.c (res_init): If RES_INIT is set and
  3100. _res.nscount > 0, call __res_nclose and free nsaddrs.
  3101. * resolv/Makefile: Add rules to build and run tst-leaks2.
  3102. * resolv/tst-leaks2.c: New test.
  3103. 2004-07-21 Ulrich Drepper <drepper@redhat.com>
  3104. * intl/libintl.h: Don't define macros for C++.
  3105. Patch by Goto Masanori.
  3106. 2004-07-22 GOTO Masanori <gotom@debian.or.jp>
  3107. [BZ #276]
  3108. * include/arpa/inet.h: Change inet_aton type from in_addr_t to int.
  3109. * inet/arpa/inet.h: Likewise.
  3110. * resolv/inet_addr.c: Likewise.
  3111. 2004-07-21 Alexandre Oliva <aoliva@redhat.com>
  3112. * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Add semtimedop.
  3113. 2004-07-20 Roland McGrath <roland@redhat.com>
  3114. * configure.in (add_ons): Substitute this. Move $add_ons handling
  3115. after AC_CANONICAL_HOST and default setting of $machine et al.
  3116. Don't set $subdirs from $add_ons.
  3117. Instead, source add-on/configure fragments early on.
  3118. (base_machine): If it's already set, don't set it based on $machine.
  3119. (libc_config_ok): New variable, set to no. If an add-on fragment sets
  3120. it to yes, skip the tuple sanity check as if --enable-hacker-mode.
  3121. (sysnames): Try appending add-on names after machine as well.
  3122. * config.make.in (add-ons): Set from @add_ons@ instead of @subdirs@.
  3123. * Makeconfig ($(common-objpfx)config.status): Also depend on configure
  3124. files in $(add_ons) dirs.
  3125. * sysdeps/unix/sysv/linux/bits/in.h (struct ip_mreq): Remove
  3126. definition, now in netinet/in.h proper.
  3127. 2004-07-20 Alexandre Oliva <aoliva@redhat.com>
  3128. * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h):
  3129. Sort by syscalls. Make sure we get headers such as sgidefs.h from
  3130. the build tree before just-installed ones.
  3131. * sysdeps/mips/atomicity.h: Use standard names for ABI macros,
  3132. include sgidefs.h where appropriate.
  3133. * sysdeps/mips/dl-machine.h: Likewise.
  3134. * sysdeps/mips/machine-gmon.h: Likewise.
  3135. * sysdeps/mips/bits/setjmp.h: Likewise.
  3136. * sysdeps/mips/fpu/bits/mathdef.h: Likewise.
  3137. * sysdeps/mips/mips64/__longjmp.c: Likewise.
  3138. * sysdeps/mips/mips64/setjmp_aux.c: Likewise.
  3139. * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
  3140. * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
  3141. * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
  3142. * sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise.
  3143. * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
  3144. * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
  3145. * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
  3146. * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
  3147. * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
  3148. * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Likewise.
  3149. * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
  3150. * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
  3151. * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Likewise.
  3152. * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
  3153. * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
  3154. * sysdeps/unix/sysv/linux/mips/sys/user.h: Likewise.
  3155. * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h):
  3156. Likewise.
  3157. * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h):
  3158. Likewise.
  3159. * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Update to use
  3160. _dl_lookup_symbol_x.
  3161. (elf_machine_runtime_link_map): Don't INTUSE _dl_signal_error.
  3162. 2004-07-20 Ulrich Drepper <drepper@redhat.com>
  3163. * inet/netinet/in.h: Define struct ip_mreq and struct
  3164. ip_mreq_source.
  3165. Define struct group_req and struct group_source_req.
  3166. * sysdeps/unix/sysv/linux/bits/in.h: Define IP_UNBLOCK_SOURCE,
  3167. IP_BLOCK_SOURCE, IP_ADD_SOURCE_MEMBERSHIP,
  3168. IP_DROP_SOURCE_MEMBERSHIP, IP_MSFILTER, MCAST_JOIN_GROUP,
  3169. MCAST_BLOCK_SOURCE, MCAST_UNBLOCK_SOURCE, MCAST_LEAVE_GROUP,
  3170. MCAST_JOIN_SOURCE_GROUP, MCAST_LEAVE_SOURCE_GROUP, and
  3171. MCAST_MSFILTER.
  3172. Define MCAST_INCLUDE and MCAST_EXCLUDE.
  3173. * iconvdata/gconv-modules: Add alias for IBM874 [BZ #244].
  3174. 2004-07-19 Jakub Jelinek <jakub@redhat.com>
  3175. [BZ #258]
  3176. * math/libm-test.inc (max_value, min_value): New variables.
  3177. (initialize): Initialize them.
  3178. (pow_test): Add a couple of new tests.
  3179. * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Don't generate invalid
  3180. exception if |y| >= 1U<<31.
  3181. * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Don't generate invalid
  3182. exception if |y| >= 1L<<63.
  3183. * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
  3184. If y*log2(x) overflows to +-inf, return still +inf/+0 instead of NaN.
  3185. * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
  3186. 2004-07-18 Ulrich Drepper <drepper@redhat.com>
  3187. * nscd/pwdcache.c (cache_addpw): Optimize case of unsuccessful
  3188. lookup a bit.
  3189. * nscd/grpcache.c (cache_addgr): Likewise.
  3190. * nscd/hstcache.c (cache_addhst): Likewise.
  3191. 2004-07-10 GOTO Masanori <gotom@debian.or.jp>
  3192. * sysdeps/s390/s390-32/elf/start.S: Remove symbol _fp_hw.
  3193. * sysdeps/s390/s390-64/elf/start.S: Likewise.
  3194. 2004-04-16 Andreas Schwab <schwab@suse.de>
  3195. * sysdeps/ia64/bits/atomic.h: Cast first argument of
  3196. __sync_bool_compare_and_swap_si correct to void*.
  3197. 2004-07-17 Ulrich Drepper <drepper@redhat.com>
  3198. * iconv/iconv_prog.c (print_known_names): Make machine-readable
  3199. output even less cluttered.
  3200. 2004-07-16 Steven Munroe <sjmunroe@us.ibm.com>
  3201. [BZ #269]
  3202. * setjmp/Makefile (tests): Add bug269-setjmp.
  3203. * setjmp/bug269-setjmp.c: New file.
  3204. * sysdeps/powerpc/powerpc64/__longjmp-common.S [SHARED && !IS_IN_rtld]:
  3205. Store R2 from jmpbuf in callers TOC save area.
  3206. * sysdeps/powerpc/powerpc64/bsd-_setjmp.S [SHARED && !IS_IN_rtld]:
  3207. Store R2 in TOC save area.
  3208. * sysdeps/powerpc/powerpc64/setjmp-common.S [SHARED && !IS_IN_rtld]:
  3209. Copy TOC save area from previous frame as R2 (TOC) in jmpbuf.
  3210. 2004-07-16 Jakub Jelinek <jakub@redhat.com>
  3211. * locale/newlocale.c: Include bits/libc-lock.h.
  3212. (__libc_setlocale_lock): Extern decl.
  3213. (__newlocale): Use it.
  3214. Reported by Ulrich Weigand <Ulrich.Weigand@de.ibm.com>.
  3215. 2004-07-15 Jakub Jelinek <jakub@redhat.com>
  3216. * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Remove
  3217. static inline __attribute ((always_inline)). Don't define if
  3218. NO_CANCELLATION.
  3219. (__libc_fcntl): Use INLINE_SYSCALL directly instead of
  3220. __fcntl_nocancel.
  3221. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__fcntl_nocancel):
  3222. Remove static inline __attribute ((always_inline)). Don't define
  3223. if NO_CANCELLATION.
  3224. (__libc_fcntl): Use INLINE_SYSCALL directly instead of
  3225. __fcntl_nocancel.
  3226. * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Define to
  3227. __libc_fcntl if NO_CANCELLATION and __ASSUME_FCNTL64 == 0.
  3228. Don't define at all if NO_CANCELLATION and __ASSUME_FCNTL64 > 0.
  3229. (__libc_fcntl): Don't define if __fcntl_nocancel is a macro.
  3230. [BZ #262]
  3231. * sysdeps/i386/elf/start.S (_start): Use @GOT instead of @GOTOFF
  3232. for main.
  3233. * elf/Makefile: Add rules to build and run tst-pie1.
  3234. * elf/tst-pie1.c: New test.
  3235. * elf/tst-piemod1.c: New file.
  3236. 2004-07-14 Jakub Jelinek <jakub@redhat.com>
  3237. [BZ #266]
  3238. * manual/string.texi (l64a): Note that the static buffer is 7 bytes
  3239. long. Rewrite example code so that it takes into account l64a output
  3240. shorter than 6 characters.
  3241. Reported by Julian Graham <julian.graham@aya.yale.edu>.
  3242. 2004-07-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  3243. * sysdeps/sh/dl-machine.h: Don't reset _dl_starting_up here.
  3244. (elf_machine_rela_relative): Remove unused valiable.
  3245. 2004-07-12 Paul Eggert <eggert@cs.ucla.edu>
  3246. [BZ #263]
  3247. * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Don't store
  3248. outside the buffer if the read returns 0. __strtod_l can't set
  3249. endp to NULL, so remove a test for that case.
  3250. 2004-07-12 Roland McGrath <roland@redhat.com>
  3251. * manual/signal.texi (Interrupted Primitives): Make clear that
  3252. TEMP_FAILURE_RETRY evaluates its expression as long int and compares
  3253. it to -1 to define "failure".
  3254. 2004-07-10 Ulrich Drepper <drepper@redhat.com>
  3255. * elf/ldconfig.c: Define PROCINFO_CLASS as static before including
  3256. ldsodefs.h.
  3257. * sysdeps/generic/ldsodefs.h: Only define PROCINFO_CLASS if it is not
  3258. already defined.
  3259. * sysdeps/i386/dl-procinfo.c: Define PROCINFO_CALLS only if not
  3260. already defined.
  3261. * elf/rtld.c (print_statistics): Mark with noinline attribute.
  3262. * sysdeps/i386/dl-machine.h (elf_machine_rel): Mark with always_inline
  3263. attribute.
  3264. (elf_machine_rel_relative): Likewise.
  3265. * include/string.h: Add libc_hidden_proto for __strtok_r and
  3266. __strsep_g.
  3267. * sysdeps/generic/strsep.c: Add libc_hidden_def.
  3268. * sysdeps/generic/strtok_r.c: Likewise.
  3269. * sysdeps/i386/strtok_r.S: Add alias for internal symbol.
  3270. * sysdeps/i386/i686/strtok_r.S: Likewise.
  3271. * sysdeps/x86_64/strtok_r.S: Likewise.
  3272. 2004-07-09 Alexandre Oliva <aoliva@redhat.com>
  3273. * inet/getnetgrent_r.c (internal_setnetgrent): Make it hidden
  3274. instead of internal-linkage, such that we can alias to it.
  3275. (internal_endnetgrent, internal_getnetgrent_r): Likewise.
  3276. 2004-07-09 Ulrich Drepper <drepper@redhat.com>
  3277. * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Move attribute
  3278. to the front for gcc 3.5+.
  3279. * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
  3280. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise.
  3281. * include/fcntl.h: Don't declare __fcntl_nocancel here if
  3282. NO_CANCELLATION is defined.
  3283. 2004-07-07 Jakub Jelinek <jakub@redhat.com>
  3284. * elf/dl-fini.c (_dl_fini): Add nloaded variable, load
  3285. GL(dl_nloaded) into it while still in critical section.
  3286. 2004-07-06 Thorsten Kukuk <kukuk@suse.de>
  3287. * nss/getent.c (print_group, print_passwd): Use %lu format for
  3288. `unsigned long int' values.
  3289. * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Fix syntax
  3290. error typos in goto statements.
  3291. 2004-07-07 Roland McGrath <roland@frob.com>
  3292. * Makefile (dist-separate): New variable.
  3293. (glibc-%.tar rule): Make separate tar files for add-ons listed there.
  3294. Depend on their configure files.
  3295. (dist-do-separate-dirs): New canned sequence to do that.
  3296. (dist-separate-libidn, dist-separate-linuxthreads): New variables.
  3297. (dist): Depend on add-on tar files based on $(dist-separate).
  3298. (dist-version): New variable, default to $(version).
  3299. (tag-for-dist, dist): Use that in place of $(version) in deps.
  3300. 2004-07-07 Ulrich Drepper <drepper@redhat.com>
  3301. * elf/dl-fini.c (_dl_fini): Move the unlock of the ld.so lock
  3302. before the loop running the destructors.
  3303. 2004-05-18 Andreas Schwab <schwab@suse.de>
  3304. * elf/dl-load.c (_dl_map_object_from_fd): Use the end address of
  3305. the first segment for mprotect, not l_text_end.
  3306. 2004-07-05 Ulrich Drepper <drepper@redhat.com>
  3307. * elf/dl-profile.c (_dl_start_profile): Compact error handling.
  3308. Remove hashfraction variable. Make kcount and kcountsize local
  3309. variables.
  3310. * elf/dl-init.c: Don't define and use _dl_starting_up if
  3311. HAVE_INLINED_SYSCALLS is defined and the variable is not used.
  3312. * elf/dl-support.c: Likewise.
  3313. * elf/rtld.c: Likewise.
  3314. * elf/dl-misc.c (_dl_debug_vdprintf): Use writev syscall directly
  3315. if HAVE_INLINED_SYSCALLS is defined.
  3316. * sysdeps/powerpc/powerpc64/dl-machine.h: Don't reset _dl_starting_up
  3317. here.
  3318. * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
  3319. * sysdeps/unix/sysv/linux/configure.in: Define HAVE_INLINED_SYSCALLS.
  3320. * config.h.in: Add entry for HAVE_INLINED_SYSCALLS.
  3321. * sysdeps/posix/profil.c: If compiled for ld.so, omit code which
  3322. is needed to stop profiling.
  3323. * elf/dl-open.c (dl_open_worker): If a newly opened object is to be
  3324. profile make sure it cannot be unloaded.
  3325. * sysdeps/unix/sysv/linux/dl-origin.c: Inline readlink syscall.
  3326. * sysdeps/unix/sysv/linux/fcntl.c: If compiled without cancellation
  3327. support, make sure the helper function is inlined.
  3328. * sysdeps/unix/sysv/linux/pread.c: Likewise.
  3329. * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
  3330. * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
  3331. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise.
  3332. 2004-07-05 Jakub Jelinek <jakub@redhat.com>
  3333. * include/string.h (ffs): Add libc_hidden_builtin_proto.
  3334. * sysdeps/rs6000/ffs.c (ffs): Add libc_hidden_builtin_def.
  3335. * sysdeps/alpha/alphaev67/ffs.S (ffs): Likewise.
  3336. * sysdeps/alpha/ffs.S (ffs): Likewise.
  3337. * sysdeps/s390/ffs.c (ffs): Likewise.
  3338. * sysdeps/powerpc/ffs.c (ffs): Likewise.
  3339. * sysdeps/i386/ffs.c (ffs): Likewise.
  3340. * sysdeps/i386/i686/ffs.c (ffs): Likewise.
  3341. * sysdeps/m68k/ffs.c (ffs): Likewise.
  3342. * sysdeps/generic/ffs.c (ffs): Likewise.
  3343. * sysdeps/m88k/ffs.c (ffs): Likewise.
  3344. * sysdeps/am29k/ffs.c (ffs): Likewise.
  3345. * sysdeps/i960/ffs.c (ffs): Likewise.
  3346. * sysdeps/x86_64/ffs.c (ffs): Likewise.
  3347. * Makerules (check-abi): Use diff -p -U 0 instead of diff -pu0.
  3348. * sysdeps/powerpc/novmx-longjmp.c (__libc_longjmp,
  3349. __libc_siglongjmp): Remove symbol_version.
  3350. * sysdeps/powerpc/longjmp.c (__libc_longjmp, __libc_siglongjmp):
  3351. Export @@GLIBC_PRIVATE, not @@GLIBC_2.3.4.
  3352. * sysdeps/powerpc/sigjmp.c (__sigjmp_save): Use strong_alias
  3353. unconditionally.
  3354. * sysdeps/powerpc/novmx-sigjmp.c (__sigjmp_save): Remove.
  3355. * sysdeps/powerpc/powerpc32/__longjmp.S (__longjmp): Use
  3356. strong_alias instead of default_symbol_version, remove
  3357. symbol_version.
  3358. * sysdeps/powerpc/powerpc64/__longjmp.S (__longjmp): Likewise.
  3359. * sysdeps/powerpc/powerpc32/bsd-setjmp.S (__novmx__setjmp): Change
  3360. into strong_alias to __novmxsetjmp.
  3361. (__vmx__setjmp): Similarly with __vmxsetjmp.
  3362. (__setjmp): Make it strong_alias to __vmx__setjmp, remove
  3363. default_symbol_version and symbol_version.
  3364. * sysdeps/powerpc/powerpc64/bsd-setjmp.S (__novmx__setjmp): Change
  3365. into strong_alias to __novmxsetjmp.
  3366. (__vmx__setjmp): Similarly with __vmxsetjmp.
  3367. (__setjmp): Make it strong_alias to __vmx__setjmp, remove
  3368. default_symbol_version and symbol_version.
  3369. * nscd/nscd_getgr_r.c: Include stdio-common/_itoa.h.
  3370. 2004-07-05 Ulrich Drepper <drepper@redhat.com>
  3371. * elf/rtld.c (dl_main): Mark dyn_temp with attribute_relro.
  3372. 2004-07-04 Matthew Reppert <arashi@kai.vm.bytemark.co.uk>
  3373. * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Use libc_hidden_ver
  3374. instead of libc_hidden_def.
  3375. 2004-07-01 Roland McGrath <roland@redhat.com>
  3376. * aclocal.m4: Add provide for AC_CONFIG_AUX_DIR_DEFAULT.
  3377. * Makeconfig ($(common-objpfx)shlib-versions.v.i): Move top-level
  3378. $(..)shlib-versions file to last in deps list. This lets add-ons give
  3379. more-specific matches that override defaults in the top-level file.
  3380. * sysdeps/unix/sysv/linux/configure.in: If arch_minimum_kernel was
  3381. already set, don't set it or libc_cv_gcc_unwind_find_fde.
  3382. * sysdeps/unix/sysv/linux/configure: Regenerated.
  3383. 2004-07-01 Martin Schwidefsky <schwidefsky@de.ibm.com>
  3384. * sysdeps/s390/fpu/bits/mathinline.h [__LIBC_INTERNAL_MATH_INLINES]
  3385. (__ieee754_sqrt): Define as __MATH_INLINE using sqdbr instruction.
  3386. (__ieee754_sqrtf): Define as __MATH_INLINE using sqebr instruction.
  3387. * sysdeps/s390/fpu/e_sqrt.c: New file.
  3388. * sysdeps/s390/fpu/e_sqrtf.c: New file.
  3389. * sysdeps/s390/Implies: New file.
  3390. * sysdeps/s390/s390-32/Implies: Remove ieee754, move
  3391. ieee754/dbl-64 and ieee754/flt-32 to s390/Implies.
  3392. * sysdeps/s390/s390-64/Implies: Likewise.
  3393. 2004-06-30 Jakub Jelinek <jakub@redhat.com>
  3394. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Include tls.h.
  3395. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
  3396. * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (thread_start):
  3397. DO_CALL (exit, 1) instead of branching to _exit.
  3398. * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (thread_start):
  3399. Likewise.
  3400. * sysdeps/s390/fpu/bits/mathinline.h: New file.
  3401. * include/glob.h (glob64): Add libc_hidden_proto.
  3402. * sysdeps/generic/glob64.c (glob64): Add libc_hidden_def.
  3403. * sysdeps/gnu/glob64.c (glob64): Likewise.
  3404. * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Likewise.
  3405. 2004-06-11 Jakub Jelinek <jakub@redhat.com>
  3406. * sysdeps/i386/fpu/libm-test-ulps: Update for GCC 3.4.
  3407. * sysdeps/s390/fpu/libm-test-ulps: Likewise.
  3408. 2004-06-11 Dwayne Grant McConnell <dgm69@us.ibm.com>
  3409. * sysdeps/powerpc/fpu/s_lround.c: Removed.
  3410. * sysdeps/powerpc/fpu/s_lroundf.c: Removed.
  3411. * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: New file.
  3412. * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: New file.
  3413. * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: New file.
  3414. * sysdeps/powerpc/powerpc32/fpu/s_floor.S: New file.
  3415. * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: Removed.
  3416. * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: New file.
  3417. * sysdeps/powerpc/powerpc32/fpu/s_lroundf.S: New file.
  3418. * sysdeps/powerpc/powerpc32/fpu/s_lround.S: New file.
  3419. * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: New file.
  3420. * sysdeps/powerpc/powerpc32/fpu/s_rint.S: New file.
  3421. * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: New file.
  3422. * sysdeps/powerpc/powerpc32/fpu/s_round.S: New file.
  3423. * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: New file.
  3424. * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: New file.
  3425. 2004-06-30 Ulrich Drepper <drepper@redhat.com>
  3426. * include/net/if.h: Handle if_nameindex and if_freenameindex with
  3427. libc_proto_hidden.
  3428. * sysdeps/unix/sysv/linux/netlinkaccess.h: New file.
  3429. * sysdeps/unix/sysv/linux/ifaddrs.c: Export netlink handling functions.
  3430. * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Implement using
  3431. netlink if possible. Fall back on ioctl method if necessary.
  3432. * sysdeps/unix/sysv/linux/Dist: Add netlinkaccess.h.
  3433. * include/unistd.h: Declare __truncate.
  3434. * sysdeps/generic/truncate.c: Also define __truncate.
  3435. * sysdeps/mach/hurd/truncate.c: Likewise.
  3436. * sysdeps/unix/common/syscalls.list: Likewise.
  3437. * sysdeps/unix/sysv/linux/truncate64.c: Use __truncate, not truncate.
  3438. 2004-06-29 Ulrich Drepper <drepper@redhat.com>
  3439. * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
  3440. info.extra. Patch by Marcus Meissner.
  3441. 2004-06-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  3442. * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
  3443. Fix branch offset for a PLT entry.
  3444. 2004-06-20 Jim Meyering <jim@meyering.net>
  3445. * malloc/obstack.h (obstack_base): Cast to `void *', to align with
  3446. documentation.
  3447. 2004-06-28 Ulrich Drepper <drepper@redhat.com>
  3448. * inet/bug-if1.c (do_test): Simply use 0 as invalid index.
  3449. Workaround for [BZ #232].
  3450. * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Use extend_alloca.
  3451. 2004-06-28 GOTO Masanori <gotom@debian.or.jp>
  3452. * iconv/gconv_simple.c: Use get16/put16 for user given buffer
  3453. in ucs2/ucs2reverse when unaligned memory access is attempted.
  3454. * iconv/tst-iconv5.c: New file.
  3455. * iconv/Makefile (tests): Add tst-iconv5.
  3456. 2004-06-28 Jakub Jelinek <jakub@redhat.com>
  3457. * inet/bug-if1.c: Include <string.h>.
  3458. 2004-06-19 Roland McGrath <roland@redhat.com>
  3459. * sysdeps/posix/waitid.c (do_waitid) [DO_WAITID]: Define function
  3460. under this macro name instead.
  3461. [NO_DO_WAITID]: Don't define it at all.
  3462. (do_waitid) [WNOWAIT, WEXITED]: If these POSIX.1 waitid flag bits are
  3463. defined, then return ENOTSUP for combinations of selection bits other
  3464. than WEXITED and WEXITED|WSTOPPED, which this version cannot support.
  3465. * posix/tst-waitid.c: New file.
  3466. * posix/Makefile (tests): Add it.
  3467. 2004-06-28 Jakub Jelinek <jakub@redhat.com>
  3468. * sysdeps/unix/alpha/sysdep.h (inline_syscall6): Fix a typo.
  3469. [BZ #231]
  3470. * sysdeps/unix/alpha/sysdep.S (__syscall_error): Avoid !samegp
  3471. relocation in librt.so.
  3472. [BZ #230]
  3473. * sysdeps/alpha/dl-machine.h (_dl_start_user): Use ldah/ldl to load
  3474. _dl_skip_args. Patch by Jakub Bogusz <qboosh@pld-linux.org>.
  3475. 2004-06-27 Ulrich Drepper <drepper@redhat.com>
  3476. * elf/ldconfig.c (add_dir): Take chroot into account.
  3477. Based on changes by HJ Lu and Hideki Iwamoto.
  3478. * nscd/connections.c (invalidate_cache): If the host cache has to
  3479. be invalidated, re-read resolv.conf.
  3480. * resolv/resolv.h (RES_NOIP6DOTINT): Define.
  3481. * resolv/res_init.c (res_setoptions): Handle no-ip6-dotint option.
  3482. * resolv/gethnamaddr.c (gethostbyaddr): Don't lookup with .ip6.int
  3483. if RES_NOIP6DOTINT flag is set.
  3484. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
  3485. 2004-06-25 Jakub Jelinek <jakub@redhat.com>
  3486. * sysdeps/unix/sysv/linux/powerpc/fcntl.c: Move to...
  3487. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: ... here.
  3488. * sysdeps/unix/sysv/linux/powerpc/lockf64.c: Move to...
  3489. * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: ... here.
  3490. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: New file.
  3491. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_GETLK, F_SETLK,
  3492. F_SETLKW): Fix values for -m32 -D_FILE_OFFSET_BITS=64.
  3493. 2004-06-21 Jakub Jelinek <jakub@redhat.com>
  3494. [BZ #231]
  3495. * sysdeps/unix/alpha/Makefile: New file.
  3496. * sysdeps/unix/alpha/rt-sysdep.S: New file.
  3497. Reported by Jakub Bogusz <qboosh@pld-linux.org>.
  3498. 2004-06-18 Ulrich Drepper <drepper@redhat.com>
  3499. * sysdeps/posix/getaddrinfo.c (gaih_inet): For AI_CANONNAME,
  3500. determine the canonical name only for the first returned entry.
  3501. * inet/bug-if1.c: New file.
  3502. * inet/Makefile (tests): Add bug-if1.
  3503. 2004-06-18 Roland McGrath <roland@frob.com>
  3504. * Makerules (compile-mkdep-flags): Add -MT $@.
  3505. * Makefile (dist, tag-for-dist): New targets.
  3506. (files-for-dist, tag-of-stem): New variables.
  3507. (glibc-%.tar glibc-linuxthreads-%.tar): New pattern rule.
  3508. Make tar files using cvs export.
  3509. (%.bz2, %.gz, tag-%): New pattern rules.
  3510. (distribute): Variable removed.
  3511. (+subdir_targets): Remove distinfo targets.
  3512. (echo_subdirs, echo-distinfo, parent_echo-distinfo): Targets removed.
  3513. (rpm/%): Pattern rule removed.
  3514. * rpm/Makefile, rpm/rpmrc, rpm/template: Ancient cruft files removed.
  3515. * Rules (subdir_echo-headers, subdir_echo-distinfo, subdir_dist):
  3516. Targets removed.
  3517. * Makerules (dist, subdir_distinfo): Targets removed.
  3518. ($(objpfx)distinfo): Depend on $(distribute).
  3519. * Make-dist: File removed.
  3520. * NEWS: Fix a typo. Update bug-reporting instructions.
  3521. 2004-06-17 Thorsten Kukuk <kukuk@suse.de>
  3522. * sysdeps/unix/sysv/linux/sched_setaffinity.c
  3523. (__sched_setaffinity_new): Set errno to EINVAL and return -1 if
  3524. cpuset is wrongly set.
  3525. 2004-06-15 Steven Munroe <sjmunroe@us.ibm.com>
  3526. * sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling
  3527. for POWER4 machines.
  3528. 2004-06-14 Jakub Jelinek <jakub@redhat.com>
  3529. [BZ #218]
  3530. * sunrpc/pmap_prot2.c (xdr_pmaplist): When freeing, remember pml_next
  3531. in a local variable, point rp to that local variable afterwards.
  3532. 2004-06-11 Jakub Jelinek <jakub@redhat.com>
  3533. * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Handle special
  3534. cases properly.
  3535. 2004-06-17 Ulrich Drepper <drepper@redhat.com>
  3536. * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct
  3537. error value for unknown interface. [BZ #198]
  3538. 2004-06-13 Jakub Jelinek <jakub@redhat.com>
  3539. * sysdeps/i386/bits/string.h (memcpy): Add () around arguments.
  3540. (memchr, __memrchr, strlen, strcmp, strncmp, __strchr_g, __strchr_c,
  3541. __strchrnul_g, __strchrnul_c, strspn, strcspn, strpbrk): Add memory
  3542. the asm uses as its input, either of size __n where __n is known or
  3543. 0xfffffff.
  3544. (strstr): Add "memory" clobber.
  3545. 2004-06-14 Jakub Jelinek <jakub@redhat.com>
  3546. [BZ #219]
  3547. * nss/nsswitch.c (free_mem): Don't try to close a library handle
  3548. if the handle is invalid. Patch by David Kimdon <kimdon@esrf.fr>.
  3549. 2004-06-11 Dmitry V. Levin <ldv@altlinux.org>
  3550. [BZ #217]
  3551. * debug/xtrace.sh: Fix typo in error diagnostics.
  3552. 2004-06-14 Andreas Schwab <schwab@suse.de>
  3553. * stdio-common/psignal.c (psignal): Don't use BUF when asprintf
  3554. failed.
  3555. 2004-06-15 Steven Munroe <sjmunroe@us.ibm.com>
  3556. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix pasto
  3557. that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve.
  3558. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Fix pasto
  3559. that clobbers r19.
  3560. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Fix pasto
  3561. that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve.
  3562. * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S:
  3563. Fix setting of sigcontext.v_regs. Fix pasto that clobbers r19.
  3564. Fix pasto that overflowed sigcontext.v_reserve.
  3565. * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S:
  3566. Fix pasto that clobbers r19.
  3567. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Fix setting
  3568. of sigcontext.v_regs. Fix pasto that clobbers r19. Fix pasto that
  3569. overflowed sigcontext.v_reserve.
  3570. 2004-05-04 H.J. Lu <hongjiu.lu@intel.com>
  3571. [BZ #150]
  3572. * sysdeps/generic/strtol_l.c (DEF): Use ".gnu.linkonce.r."
  3573. instead of ".gnu.linkonce.ro." as the prefix for linkonce
  3574. read-only section name.
  3575. 2004-06-14 Richard Henderson <rth@redhat.com>
  3576. * sysdeps/alpha/div_libc.h (_ITOFS): Use "sp" not "$sp".
  3577. (_ITOFT, _FTOIT, _ITOFT2): Likewise.
  3578. 2004-06-08 Jakub Jelinek <jakub@redhat.com>
  3579. * sysdeps/s390/s390-32/backtrace.c (init): Guard with #ifdef SHARED.
  3580. (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
  3581. (__backtrace): Don't call init #ifndef SHARED.
  3582. * sysdeps/s390/s390-64/backtrace.c (init): Guard with #ifdef SHARED.
  3583. (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
  3584. (__backtrace): Don't call init #ifndef SHARED.
  3585. * sysdeps/ia64/backtrace.c (init): Guard with #ifdef SHARED.
  3586. (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
  3587. (__backtrace): Don't call init #ifndef SHARED.
  3588. 2004-06-11 Roland McGrath <roland@redhat.com>
  3589. * sysdeps/arm/strlen.S [__ARMEB__]: Compute correctly for big-endian.
  3590. From Krzysztof Halasa <khc@pm.waw.pl>.
  3591. 2004-06-10 Jakub Jelinek <jakub@redhat.com>
  3592. * elf/tls-macros.h [__s390x__] (TLS_LD, TLS_GD): Clobber also r14.
  3593. 2004-06-08 Jakub Jelinek <jakub@redhat.com>
  3594. [BZ #199]
  3595. * crypt/md5-crypt.c (__md5_crypt): Only update buflen if realloc
  3596. succeeds. Reported by Miles Ohlrich <miles@cray.com>.
  3597. * elf/chroot_canon.c (chroot_canon): Avoid segfault if first malloc
  3598. fails. Avoid memory leak if realloc fails.
  3599. 2004-06-09 Jakub Jelinek <jakub@redhat.com>
  3600. * sysdeps/generic/setenv.c (setenv): Return -1/EINVAL if name is
  3601. NULL, "" or contains '=' character in it. Reported by
  3602. Michael T Kerrisk <mtk-lists@gmx.net>.
  3603. * stdlib/tst-environ.c: Include errno.h.
  3604. (main): Add tests for these arguments to setenv/unsetenv.
  3605. 2004-06-07 Roland McGrath <roland@frob.com>
  3606. * NEWS: Update bug reporting instructions. Fix some typos.
  3607. 2004-06-05 Ulrich Drepper <drepper@redhat.com>
  3608. * stdio-common/_itoa.h: Don't expand _itoa inline for libc.
  3609. * stdio-common/_itoa.c: Add _itoa implementation.
  3610. * nscd/nscd_gethst_r.c (__nscd_open_socket): Change implementation
  3611. to also send request. Add parameter to allow this.
  3612. Change callers.
  3613. * nscd/nscd_getgr_r.c: Change __nscd_open_socket caller.
  3614. * nscd/nscd_getpw_r.c: Likewise.
  3615. * nscd/nscd-client.h: Change __nscd_open_socket prototype.
  3616. 2004-06-05 Andreas Jaeger <aj@suse.de>
  3617. * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
  3618. Handle more than 6 args correctly. Based on a patch by Masahide
  3619. Washizawa <washi@jp.ibm.com>.
  3620. 2004-06-04 Ulrich Drepper <drepper@redhat.com>
  3621. * nscd/nscd_gethst_r.c (nscd_gethst_r): Use __nss_not_use_nscd_hosts
  3622. in all places, not __nss_not_use_nscd_group.
  3623. Reported by Philippe Gregoire.
  3624. 2004-06-03 Ulrich Drepper <drepper@redhat.com>
  3625. * sysdeps/i386/i486/bits/atomic.h: Optimize a bit.
  3626. 2004-05-07 Dmitry V. Levin <ldv@altlinux.org>
  3627. * argp/argp-help.c (__argp_error, __argp_failure): Check result
  3628. of __asprintf call and don't use string if it failed.
  3629. * stdio-common/psignal.c (psignal): Likewise.
  3630. * locale/programs/localedef.c (more_help): Likewise.
  3631. * resolv/res_hconf.c (arg_service_list, arg_trimdomain_list,
  3632. arg_bool, parse_line): Check result of __asprintf calls and
  3633. don't use string if they failed.
  3634. * sunrpc/svc_simple.c (registerrpc, universal): Likewise.
  3635. * elf/ldconfig.c (parse_conf_include): Check result of __asprintf
  3636. call and exit if it failed.
  3637. 2004-05-10 Jakub Jelinek <jakub@redhat.com>
  3638. * sysdeps/posix/sysconf.c (__sysconf) <cases _SC_REALTIME_SIGNALS,
  3639. _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO,
  3640. _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC, _SC_MAPPED_FILES,
  3641. _SC_MEMLOCK, _SC_MEMLOCK_RANGE, _SC_MEMORY_PROTECTION,
  3642. _SC_MESSAGE_PASSING, _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS,
  3643. _SC_THREADS, _SC_THREAD_SAFE_FUNCTIONS, _SC_THREAD_ATTR_STACKADDR,
  3644. _SC_THREAD_ATTR_STACKSIZE, _SC_THREAD_PRIORITY_SCHEDULING,
  3645. _SC_THREAD_PRIO_INHERIT, _SC_THREAD_PRIO_PROTECT,
  3646. _SC_THREAD_PROCESS_SHARED>: Return _POSIX_* value instead of 1.
  3647. * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
  3648. <case _SC_MONOTONIC_CLOCK>: Return _POSIX_VERSION instead of 1.
  3649. 2004-05-07 Jeroen Dekkers <jeroen@dekkers.cx>
  3650. * sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Add
  3651. -momit-leaf-frame-pointer.
  3652. * inet/test-ifaddrs.c (addr_string): Surround AF_PACKET case with
  3653. #ifdef AF_PACKET.
  3654. * sysdeps/mach/hurd/getcwd.c
  3655. (_hurd_canonicalize_directory_name_intern): Only realloc when
  3656. size is <= 0.
  3657. * sysdeps/mach/hurd/mmap.c (__mmap): Fail when addr or offset
  3658. isn't page aligned.
  3659. * sysdeps/mach/hurd/spawni.c (EXPAND_DTABLE): Set dtablesize to
  3660. new size.
  3661. * sysdeps/mach/hurd/Versions (GLIBC_PRIVATE): Add __libc_read,
  3662. __libc_write and __libc_lseek64.
  3663. 2004-05-29 Roland McGrath <roland@redhat.com>
  3664. * elf/Makefile (shared-only-routines): Add dl-caller.
  3665. 2004-05-28 Ulrich Drepper <drepper@redhat.com>
  3666. * sysdeps/powerpc/configure.in: New file.
  3667. 2004-05-28 Steven Munroe <sjmunroe@us.ibm.com>
  3668. * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Add .machine
  3669. "altivec" to enable VMX instructions.
  3670. * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
  3671. * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
  3672. * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
  3673. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
  3674. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
  3675. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
  3676. * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
  3677. * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
  3678. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
  3679. 2004-05-27 Jakub Jelinek <jakub@redhat.com>
  3680. * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Define using
  3681. __builtin_expm1l for GCC 3.5+.
  3682. (__expl): Define using __builtin_expl for GCC 3.4+.
  3683. (exp, expf, expl): Don't define for GCC 3.4+.
  3684. (tan, tanf, tanl): Don't define for GCC 3.5+.
  3685. (__atan2l): Define using __builtin_atan2l for GCC 3.4+.
  3686. (atan2, atan2f, atan2l): Don't define for GCC 3.4+ or !__FAST_MATH__.
  3687. (fmod, fmodf, fmodl): Don't define for GCC 3.5+ or !__FAST_MATH__.
  3688. (fabsf, fabsl): Only provide if __USE_MISC or __USE_ISOC99.
  3689. (sin, sinf, sinl, cos, cosf, cosl, log, logf, logl): Don't define
  3690. for GCC 3.4+.
  3691. (log10, log10f, log10l, asin, asinf, asinl, acos, acosf, acosl):
  3692. Don't define for GCC 3.5+.
  3693. (atan, atanf, atanl): Don't define for GCC 3.4+ or !__FAST_MATH__.
  3694. (log1p, log1pf, log1pl, logb, logbf, logbl, log2, log2f, log2l): Don't
  3695. define for GCC 3.5+.
  3696. (drem, dremf, dreml): Don't define for GCC 3.5+ or !__FAST_MATH__.
  3697. * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, sqrtf, sqrtl): Don't
  3698. define for GCC 3.2+.
  3699. 2004-05-27 Jakub Jelinek <jakub@redhat.com>
  3700. * string/bits/string2.h (__bzero): Define even for GCC 3.0+.
  3701. * sysdeps/alpha/stpcpy.S (stpcpy): Add libc_hidden_builtin_def.
  3702. * sysdeps/alpha/alphaev67/stpcpy.S (stpcpy): Likewise.
  3703. * sysdeps/powerpc/powerpc32/stpcpy.S (stpcpy): Likewise.
  3704. * sysdeps/powerpc/powerpc64/stpcpy.S (stpcpy): Likewise.
  3705. * sysdeps/sparc/sparc32/stpcpy.S (stpcpy): Likewise.
  3706. * sysdeps/sparc/sparc64/stpcpy.S (stpcpy): Likewise.
  3707. * sysdeps/i386/stpcpy.S (stpcpy): Likewise.
  3708. * sysdeps/i386/i586/stpcpy.S (stpcpy): Likewise.
  3709. * sysdeps/generic/stpcpy.c (stpcpy): Likewise.
  3710. * sysdeps/x86_64/stpcpy.S (stpcpy): Likewise.
  3711. * sysdeps/i386/i586/memcpy.S (memcpy): Remove
  3712. libc_hidden_builtin_def if MEMPCPY_P.
  3713. * sysdeps/x86_64/memcpy.S (memcpy): Likewise.
  3714. * sysdeps/i386/i686/mempcpy.S (mempcpy): Add libc_hidden_builtin_def.
  3715. * sysdeps/i386/i586/mempcpy.S (mempcpy): Likewise.
  3716. * sysdeps/generic/mempcpy.c (mempcpy): Likewise.
  3717. * sysdeps/x86_64/mempcpy.S (mempcpy): Likewise.
  3718. 2004-05-26 Roland McGrath <roland@frob.com>
  3719. * sysdeps/generic/bits/in.h
  3720. (IMPLINK_IP, IMPLINK_LOWEXPER, IMPLINK_HIGHEXPER): Macros removed.
  3721. These are long obsolete in BSD systems where they originated.
  3722. * conform/data/netinet/in.h-data: Remove `allow IMPLINK_*'
  3723. 2004-05-26 Jakub Jelinek <jakub@redhat.com>
  3724. * include/string.h (mempcpy, stpcpy): Add libc_hidden_builtin_proto.
  3725. * string/bits/string2.h (memset): Disable macro for GCC 3.0+.
  3726. (__mempcpy): Use __builtin_mempcpy for GCC 3.4+.
  3727. (strchr): For GCC 3.2+, only use __rawmemchr if second argument is
  3728. constant '\0' and first argument is not constant.
  3729. (__stpcpy): Use __builtin_stpcpy for GCC 3.4+.
  3730. (strncpy): Remove #ifdef _USE_STRING_ARCH_mempcpy variant.
  3731. For GCC 3.2+ use __builtin_strncpy.
  3732. (strncat): For GCC 3.2+ use __builtin_strncat.
  3733. (strcmp): For GCC 3.2+ use __builtin_strcmp if both arguments are
  3734. constant.
  3735. (strcspn, strspn, strpbrk): For GCC 3.2+, use builtin function
  3736. if both arguments are constant.
  3737. 2004-05-26 Ulrich Drepper <drepper@redhat.com>
  3738. * nss/nss_files/files-hosts.c: Fix condition for looking up IPv4
  3739. mapped addresses in gethostbyaddr.
  3740. 2004-05-25 Ulrich Drepper <drepper@redhat.com>
  3741. * nss/digits_dots.c (__nss_hostname_digits_dots): Remove typep and
  3742. flags parameter, convert afp to simple int parameter. Adjust code.
  3743. typep was never != NULL and flags therefore also unused. *afp is
  3744. never modified.
  3745. * nss/nsswitch.h: Adjust __nss_hostname_digits_dots prototype.
  3746. * nss/getXXbyYY.c: Remove HAVE_TYPE handling. Adjust af parameter
  3747. handling for __nss_hostname_digits_dots calls.
  3748. * nss/getXXbyYY_r.c: Likewise.
  3749. * elf/dl-load.c (_dl_map_object_from_fd): Map DSOs with MAP_DENYWRITE.
  3750. 2004-05-25 Steven Munroe <sjmunroe@us.ibm.com>
  3751. * sysdeps/powerpc/fpu/Makefile: Make ld.so a dependency of libm.so.
  3752. * sysdeps/powerpc/fpu/bits/mathinline.h [__LIBC_INERNAL_MATH_INLINES]
  3753. (__ieee754_sqrt): Define as __MATH_INLINE using fsqrt instruction.
  3754. (__ieee754_sqrtf): Define as __MATH_INLINE using fsqrts instruction.
  3755. * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Moved
  3756. implementation from w_sqrt.c.
  3757. * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Moved
  3758. implementation from w_sqrtf.c.
  3759. * sysdeps/powerpc/fpu/w_sqrt.c (__sqrt): Wrapper implementation
  3760. using inline __ieee754_sqrt().
  3761. * sysdeps/powerpc/fpu/w_sqrtf.c (__sqrtf): Wrapper implementation
  3762. using inline __ieee754_sqrtf().
  3763. * sysdeps/powerpc/powerpc32/sysdep.h [__ASSEMBLER__]: Include
  3764. <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__.
  3765. * sysdeps/powerpc/sysdep.h [__ASSEMBLER__] (PPC_FEATURE_*): Define
  3766. PPC_FEATURE_* independent of __ASSEMBLER__.
  3767. 2004-05-25 Jakub Jelinek <jakub@redhat.com>
  3768. * sysdeps/pthread/aio_notify.c: Use <> instead of "" for aio_misc.h
  3769. include.
  3770. (aio_start_notify_thread): Define if not defined.
  3771. (notify_func_wrapper): Use it.
  3772. * sysdeps/pthread/aio_misc.c: Use <> instead of "" for aio_misc.h
  3773. include.
  3774. (aio_create_helper_thread): Define if not defined.
  3775. (__aio_create_helper_thread): New function.
  3776. (__aio_enqueue_request): Use aio_create_helper_thread.
  3777. * nis/ypclnt.c (ypall_data, ypall_foreach): Remove.
  3778. (struct ypresp_all_data): New type.
  3779. (__xdr_ypresp_all): Change second argument to
  3780. struct ypresp_all_data *. Replace ypall_foreach and
  3781. ypall_data with objp->foreach and objp->data.
  3782. (yp_all): Remove status variable, add data. Replace
  3783. all uses of status with data.status. Initialize data.foreach
  3784. and data.data instead of ypall_foreach and ypall_data.
  3785. 2004-05-24 Jakub Jelinek <jakub@redhat.com>
  3786. * elf/dl-lookup.c (add_dependency): Set DF_1_NODELETE bit
  3787. in l_flags_1, not in l_flags.
  3788. 2004-04-10 Robert Millan <robertmh@gnu.org>
  3789. * sysdeps/unix/sysv/linux/bits/in.h: Cosmetic fixes to get in sync
  3790. with sysdeps/generic/bits/in.h.
  3791. 2004-05-25 Roland McGrath <roland@frob.com>
  3792. * sysdeps/generic/unwind-dw2-fde-glibc.c: Change copyright terms from
  3793. GCC GPL to standard glibc LGPL.
  3794. 2004-05-24 Ulrich Drepper <drepper@redhat.com>
  3795. * manual/string.texi (Copying and Concatenation): Fixed second
  3796. concat example.
  3797. Reported by Fabian Pietsch <fabian@zzznowman.dyndns.org>.
  3798. 2004-05-23 Ulrich Drepper <drepper@redhat.com>
  3799. * malloc/obstack.c: Don't allow linking with _obstack.
  3800. 2004-05-23 Andreas Schwab <schwab@suse.de>
  3801. * sysdeps/m68k/m68020/bits/atomic.h: Use "+m" constraint instead
  3802. of separate "m" constraints.
  3803. 2004-05-15 Chris Demetriou <cgd@broadcom.com>
  3804. * sysdeps/mips/dl-machine.h (ELF_DL_FRAME_SIZE)
  3805. (ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS): For the N32
  3806. and 64 ABIs, save and restore regs $10 and $11 (a6 and a7).
  3807. 2004-05-20 Paul Eggert <eggert@cs.ucla.edu>
  3808. * malloc/obstack.c (_obstack) [!defined _LIBC]: Remove; not used.
  3809. Add comment explaining why libc still defines it.
  3810. 2004-05-19 Paul Eggert <eggert@cs.ucla.edu>
  3811. * malloc/obstack.h (_obstack_free, obstack_1grow, obstack_1grow_fast,
  3812. obstack_alignment_mask, obstack_alloc, obstack_base,
  3813. obstack_blank, obstack_blank_fast, obstack_chunk_size,
  3814. obstack_copy, obstack_copy0, obstack_finish, obstack_grow,
  3815. obstack_grow0, obstack_init, obstack_int_grow,
  3816. obstack_int_grow_fast, obstack_make_room, obstack_memory_used,
  3817. obstack_next_free, obstack_object_size, obstack_ptr_grow,
  3818. obstack_ptr_grow_fast, obstack_room): Remove declarations of
  3819. nonexistent functions.
  3820. 2004-05-18 Steven Munroe <sjmunroe@us.ibm.com>
  3821. * sysdeps/powerpc/powerpc64/sysdep.h [__ASSEMBLER__]: Include
  3822. <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__.
  3823. [PIC]: Redundent for powerpc64, removed.
  3824. (ENTRY): Generate size and alignment for opd entry.
  3825. (EALIGN): Generate size and alignment for opd entry.
  3826. (END): Use DOT_LABEL in ASM_SIZE_DIRECTIVE.
  3827. (END_GEN_TB): Use DOT_LABEL in ASM_SIZE_DIRECTIVE.
  3828. 2004-05-19 Ulrich Drepper <drepper@redhat.com>
  3829. * misc/regexp.h: Say the functions have been withdrawn.
  3830. * wcsmbs/tst-wcpncpy.c: Add more tests.
  3831. 2004-05-18 Roland McGrath <roland@frob.com>
  3832. * sysdeps/generic/unwind.h: Change copyright terms from GCC GPL to
  3833. standard glibc LGPL.
  3834. * sysdeps/generic/unwind-dw2.c: Likewise.
  3835. * sysdeps/generic/unwind-dw2-fde.c: Likewise.
  3836. * sysdeps/generic/unwind-dw2-fde.h: Likewise.
  3837. * sysdeps/generic/unwind-pe.h: Likewise.
  3838. 2004-05-15 Petter Reinholdtsen <pere@hungry.com>
  3839. * locale/iso-3166.def: Remove YUGOSLAVIA and insert "SERBIA AND
  3840. MONTENEGRO" which have taken over the code 819. Patch from
  3841. Danilo Segan. [BZ #40]
  3842. 2004-05-15 Jakub Jelinek <jakub@redhat.com>
  3843. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
  3844. (SYSCALL_ERROR_HANDLER): Rename __sparc.get_pic.l7 to
  3845. __sparc_get_pic_l7.
  3846. 2004-05-15 Joseph S. Myers <jsm@polyomino.org.uk>
  3847. * catgets/gencat.c: Update bug reporting instructions.
  3848. * csu/version.c: Likewise.
  3849. * debug/catchsegv.sh: Likewise.
  3850. * debug/pcprofiledump.c: Likewise.
  3851. * debug/xtrace.sh: Likewise.
  3852. * elf/ldd.bash.in: Likewise.
  3853. * iconv/iconv_prog.c: Likewise.
  3854. * iconv/iconvconfig.c: Likewise.
  3855. * locale/programs/locale.c: Likewise.
  3856. * locale/programs/localedef.c: Likewise.
  3857. * login/programs/pt_chown.c: Likewise.
  3858. * malloc/memusage.sh: Likewise.
  3859. * malloc/memusagestat.c: Likewise.
  3860. * malloc/mtrace.pl: Likewise.
  3861. * manual/crypt.texi: Likewise.
  3862. * manual/install.texi: Likewise.
  3863. * nss/makedb.c: Likewise.
  3864. 2004-05-14 Jakub Jelinek <jakub@redhat.com>
  3865. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Only
  3866. CHECK_STATIC_TLS if sym != NULL.
  3867. * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
  3868. * sysdeps/i386/dl-machine.h (elf_machine_rela): Likewise.
  3869. 2004-05-12 Andreas Schwab <schwab@suse.de>
  3870. * posix/regex_internal.c (build_wcs_buffer): Also set pstr->mbs
  3871. when translating.
  3872. 2004-05-13 H.J. Lu <hongjiu.lu@intel.com>
  3873. * Rules (xtests): Depend on tests.
  3874. 2004-05-13 Jakub Jelinek <jakub@redhat.com>
  3875. * libio/genops.c (_IO_default_xsputn): Avoid one overflow per char if
  3876. count is negative, yet write_ptr < write_end.
  3877. (_IO_default_xsgetn): Avoid one underflow per char if count is
  3878. negative, yet read_ptr < read_end.
  3879. 2004-05-12 Steven Munroe <sjmunroe@us.ibm.com>
  3880. * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XTABS): Define XTABS
  3881. equal to TAB3.
  3882. 2004-05-12 Ulrich Drepper <drepper@redhat.com>
  3883. * elf/dl-lookup.c (_dl_lookup_symbol_x): Correct _dl_signal_cerror
  3884. call.
  3885. 2004-05-10 Roland McGrath <roland@frob.com>
  3886. * hurd/hurdlookup.c (__hurd_file_name_split): Return ENOENT for "".
  3887. (__hurd_directory_name_split): Likewise.
  3888. 2004-05-10 Ulrich Drepper <drepper@redhat.com>
  3889. * po/fr.po: Update from translation team.
  3890. 2004-05-10 Andreas Jaeger <aj@suse.de>
  3891. * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
  3892. Correctly compute alignment.
  3893. Patch by Michael Matz <matz@suse.de>.
  3894. 2004-05-09 Ulrich Drepper <drepper@redhat.com>
  3895. * sysdeps/generic/sigpause.c: Prevent sigpause prototype.
  3896. * sysdeps/posix/sigpause.c: Likewise.
  3897. * signal/signal.h: Don't define sigpause macro unless needed.
  3898. 2004-05-08 Jakub Jelinek <jakub@redhat.com>
  3899. * configure.in (libc_cv_libgcc_s_suffix): New check.
  3900. (libc_cv_as_needed): Use -lgcc_s$libc_cv_libgcc_s_suffix.
  3901. * config.make.in (libgcc_s_suffix): Set.
  3902. * Makeconfig (libgcc_eh): Use -lgcc_s$(libgcc_s_suffix).
  3903. 2004-05-08 Ulrich Drepper <drepper@redhat.com>
  3904. * signal/signal.h: Use BSD sigpause only if BSD behavior is preferred.
  3905. 2004-04-29 Steven Munroe <sjmunroe@us.ibm.com>
  3906. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (LOADARGS_1,
  3907. LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6):
  3908. Load argument values into temporary variables.
  3909. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (LOADARGS_1,
  3910. LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6):
  3911. Likewise.
  3912. 2004-05-07 Ulrich Drepper <drepper@redhat.com>
  3913. * sysdeps/unix/sysv/linux/Makefile: mq_send.c and mq_receive.c
  3914. need to be compiled with exceptions.
  3915. 2004-05-06 Ulrich Drepper <drepper@redhat.com>
  3916. * sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Fix memory handling.
  3917. * sysdeps/generic/ifreq.c (__ifreq): Fix memory handling.
  3918. * resolv/res_hconf.c (_res_hconf_reorder_addrs): Make clear that
  3919. realloc cannot fail.
  3920. * nss/nss_files/files-netgrp.c (EXPAND): Free buffer which cannot
  3921. be expanded.
  3922. * nis/nis_table.c: Clean up memory handling.
  3923. * nis/nis_subr.c (nis_getnames): Clean up memory handling.
  3924. * nis/nis_removemember.c (nis_removemember): Add comment
  3925. explaining use of realloc.
  3926. * math/tgmath.h (fabs): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL.
  3927. (carg): Likewise.
  3928. Patch by Lev S Bishop <lev.bishop@yale.edu>.
  3929. * math/bug-tgmath1.c (main): Test fabs and carg as well.
  3930. 2004-05-06 Richard Henderson <rth@redhat.com>
  3931. * elf/elf.h (AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE,
  3932. AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New.
  3933. * sysdeps/unix/sysv/linux/alpha/Versions: Export
  3934. __libc_alpha_cache_shape as a private symbol.
  3935. * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: New file.
  3936. * sysdeps/unix/sysv/linux/alpha/sysconf.c: New file.
  3937. 2004-05-06 Richard Henderson <rth@redhat.com>
  3938. * sysdeps/alpha/div_libc.h (_ITOFS, _ITOFT, _FTOIT, _ITOFT2): New.
  3939. * sysdeps/alpha/divl.S: Use them.
  3940. * sysdeps/alpha/divq.S: Likewise.
  3941. * sysdeps/alpha/divqu.S: Likewise.
  3942. * sysdeps/alpha/reml.S: Likewise.
  3943. * sysdeps/alpha/remq.S: Likewise.
  3944. * sysdeps/alpha/remqu.S: Likewise.
  3945. 2004-05-06 Ulrich Drepper <drepper@redhat.com>
  3946. * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG_RET_REAL):Define.
  3947. (cimag): Use it.
  3948. (creal): Likewise.
  3949. * math/Makefile (tests): Add bug-tgmath1.
  3950. * math/bug-tgmath1.c: New file.
  3951. 2004-05-05 Jakub Jelinek <jakub@redhat.com>
  3952. * sysdeps/alpha/atomicity.h: Remove.
  3953. * sysdeps/generic/atomicity.h: Remove.
  3954. 2004-05-05 H.J. Lu <hongjiu.lu@intel.com>
  3955. * sysdeps/i386/i486/bits/string.h (strpbrk): Cast return to
  3956. char *.
  3957. 2004-04-22 David Mosberger <davidm@hpl.hp.com>
  3958. * sysdeps/unix/sysv/linux/ia64/Makefile (librt-routines): Mention
  3959. rt-sysdep.
  3960. * sysdeps/unix/sysv/linux/ia64/rt-sysdep.S: New file.
  3961. * sysdeps/ia64/strcat.c: New file.
  3962. * sysdeps/ia64/strcat.S: Delete.
  3963. 2004-05-04 Jakub Jelinek <jakub@redhat.com>
  3964. * sysdeps/unix/sysv/linux/ia64/sysdep.S (USE___THREAD): Remove
  3965. defined.
  3966. 2004-04-23 Jakub Jelinek <jakub@redhat.com>
  3967. * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Add
  3968. libc_hidden_proto. Define to __GI___libm_error_support for
  3969. assembly going into libc.so.
  3970. * sysdeps/ia64/fpu/libc_libm_error.c (__libm_error_support): Add
  3971. libc_hidden_def.
  3972. * include/libc-symbols.h (HIDDEN_BUILTIN_JUMPTARGET): Define.
  3973. * sysdeps/ia64/bcopy.S (bcopy): Use it for jump to memmove.
  3974. * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Access
  3975. gprel errno if RTLD_PRIVATE_ERRNO or __thread __libc_errno/errno
  3976. if USE___THREAD.
  3977. 2004-05-03 Jakub Jelinek <jakub@redhat.com>
  3978. * sysdeps/unix/bsd/bits/fcntl.h (F_SETOWN, F_GETOWN): Define if
  3979. __USE_BSD or __USE_UNIX98.
  3980. * sysdeps/unix/bsd/ultrix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
  3981. * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
  3982. * sysdeps/unix/bsd/sun/sunos4/bits/fcntl.h (F_SETOWN, F_GETOWN):
  3983. Likewise.
  3984. * sysdeps/unix/common/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
  3985. * sysdeps/unix/sysv/aix/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
  3986. * sysdeps/unix/sysv/irix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
  3987. * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_SETOWN, F_GETOWN):
  3988. Likewise.
  3989. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_SETOWN, F_GETOWN):
  3990. Likewise.
  3991. * sysdeps/unix/sysv/linux/cris/bits/fcntl.h (F_SETOWN, F_GETOWN):
  3992. Likewise.
  3993. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETOWN, F_GETOWN):
  3994. Likewise.
  3995. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_SETOWN, F_GETOWN):
  3996. Likewise.
  3997. * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN, F_GETOWN):
  3998. Likewise.
  3999. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (F_SETOWN, F_GETOWN):
  4000. Likewise.
  4001. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (F_SETOWN, F_GETOWN):
  4002. Likewise.
  4003. * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETOWN, F_GETOWN):
  4004. Likewise.
  4005. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (F_SETOWN, F_GETOWN):
  4006. Likewise.
  4007. * sysdeps/unix/sysv/linux/arm/bits/fcntl.h (F_SETOWN, F_GETOWN):
  4008. Likewise.
  4009. * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (F_SETOWN, F_GETOWN):
  4010. Likewise.
  4011. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_SETOWN, F_GETOWN):
  4012. Likewise.
  4013. * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
  4014. * sysdeps/mach/hurd/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
  4015. * io/sys/stat.h (S_ISSOCK, S_IFSOCK): Likewise.
  4016. 2004-05-01 Jakub Jelinek <jakub@redhat.com>
  4017. * posix/Versions (libc): Remove __libc_wait, __libc_waitpid,
  4018. __libc_pause, __libc_nanosleep, __libc_pread, __libc_pread64,
  4019. __libc_pwrite64, __waitid and __pselect @@GLIBC_PRIVATE.
  4020. * stdlib/Versions (libc): Remove __on_exit@@GLIBC_PRIVATE.
  4021. * sysdeps/unix/sysv/linux/Versions (libc): Remove
  4022. __libc_sigaction@@GLIBC_PRIVATE.
  4023. * sysdeps/unix/sysv/linux/x86_64/Versions (libc): Remove
  4024. __modify_ldt@@GLIBC_PRIVATE.
  4025. * socket/Versions (libc): Remove __libc_accept, __libc_send,
  4026. __libc_recvfrom, __libc_recvmsg, __libc_sendmsg, __libc_recv,
  4027. __libc_sendto and __libc_connect @@GLIBC_PRIVATE.
  4028. * stdio-common/Versions (libc): Remove
  4029. _itoa_upper_digits@@GLIBC_PRIVATE.
  4030. * resolv/Versions (libresolv): Remove __ns_samename@@GLIBC_PRIVATE.
  4031. * misc/Versions (libc): Remove __libc_fsync, __libc_msync,
  4032. __libc_readv and __libc_writev @@GLIBC_PRIVATE.
  4033. * termios/Versions (libc): Remove __libc_tcdrain@@GLIBC_PRIVATE.
  4034. * io/Versions (libc): Remove __libc_open, __libc_close, __libc_read,
  4035. __libc_write, __libc_lseek, __libc_fcntl, __libc_open64 and
  4036. __libc_lseek64 @@GLIBC_PRIVATE.
  4037. 2004-04-30 Jakub Jelinek <jakub@redhat.com>
  4038. * elf/dl-load.c (open_verify): Move e_phentsize check after e_type
  4039. check.
  4040. 2004-04-29 Steven Munroe <sjmunroe@us.ibm.com>
  4041. * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: New file.
  4042. * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: New file.
  4043. * sysdeps/powerpc/powerpc64/fpu/s_floor.S: New file.
  4044. * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: New file.
  4045. * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: Removed.
  4046. * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: New file.
  4047. * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Removed.
  4048. * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: New file.
  4049. * sysdeps/powerpc/powerpc64/fpu/s_llround.S: New file.
  4050. * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: New file.
  4051. * sysdeps/powerpc/powerpc64/fpu/s_lround.S: New file.
  4052. * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: New file.
  4053. * sysdeps/powerpc/powerpc64/fpu/s_rint.S: New file.
  4054. * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: New file.
  4055. * sysdeps/powerpc/powerpc64/fpu/s_round.S: New file.
  4056. * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: New file.
  4057. * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: New file.
  4058. * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: New file.
  4059. * math/test-misc.c [LDBL_MANT_DIG == 106](main): Correct LDBL_MAX
  4060. mantissa for AIX long double format.
  4061. * misc/qefgcvt.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Define for AIX
  4062. long double format.
  4063. * misc/qefgcvt_r.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Likewise.
  4064. * stdlib/fpioconst.c [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
  4065. (_fpioconst_pow10): AIX long double format has same exponent range as
  4066. double.
  4067. * stdlib/fpioconst.h [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
  4068. (LDBL_MAX_10_EXP_LOG): AIX long double format has same exponent range
  4069. as double.
  4070. 2004-04-23 Art Haas <ahaas@airmail.net>
  4071. * sysdeps/unix/sysv/linux/kernel-features.h: Add 'defined'.
  4072. 2004-04-28 Carlos O'Donell <carlos@baldric.uwo.ca>
  4073. * sysdeps/unix/sysv/linux/mq_getattr.c: Include <stddef.h>.
  4074. * sysdeps/unix/sysv/linux/mq_notify.c: Likewise.
  4075. * sysdeps/unix/sysv/linux/mq_open.c: Likewise.
  4076. * sysdeps/unix/sysv/linux/mq_receive.c: Likewise.
  4077. * sysdeps/unix/sysv/linux/mq_send.c: Likewise.
  4078. 2004-04-29 Philip Blundell <pb@nexus.co.uk>
  4079. * sysdeps/arm/dl-machine.h (RTLD_START): Avoid unnecessary GOT
  4080. entries.
  4081. 2004-04-29 Jakub Jelinek <jakub@redhat.com>
  4082. * manual/resource.texi (sched_setaffinity, sched_getaffinity): Fix
  4083. prototypes and description [BZ #131].
  4084. * string/bits/string2.h (strpbrk): Cast NULL to char * [BZ #130].
  4085. Patch by Ed Catmur <ed@catmur.co.uk>.
  4086. * string/tst-inlcall.c (main): Add test for strpbrk.
  4087. [BZ #140]
  4088. * sysdeps/unix/sysv/linux/sys/sysctl.h: Remove linux/compiler.h
  4089. include.
  4090. (_LINUX_KERNEL_H, _LINUX_TYPES_H, _LINUX_LIST_H): Only define if not
  4091. yet defined, #undef back after including linux/sysctl.h if defined
  4092. here.
  4093. (__LINUX_COMPILER_H, __user): Define if not yet defined, #undef
  4094. back after including linux/sysctl.h if defined here.
  4095. * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c (_Qp_qtoi): Use %f31
  4096. for single precision register, add it to __asm clobbers [BZ #139].
  4097. * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c (_Qp_qtoui): Use %f31
  4098. for single precision register, add it to __asm clobbers.
  4099. * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c (_Qp_qtoux): Use fqtox
  4100. instead of fqtoi in QP_HANDLE_EXCEPTIONS.
  4101. * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c (_Qp_qtox): Likewise.
  4102. Reported by M. H. VanLeeuwen <vanl@megsinet.net>.
  4103. 2004-04-23 Andreas Schwab <schwab@suse.de>
  4104. * sysdeps/unix/sysv/linux/m68k/register-dump.h: Use
  4105. __attribute_used__.
  4106. 2004-04-22 Philip Blundell <philb@gnu.org>
  4107. * sysdeps/arm/dl-machine.h (elf_machine_rela): Don't use INTUSE
  4108. when calling _dl_signal_error.
  4109. (elf_machine_rel): Likewise.
  4110. 2004-04-21 Ulrich Drepper <drepper@redhat.com>
  4111. * sysdeps/unix/sysv/linux/ia64/setjmp.S: Define _GI___sigsetjmp
  4112. and use it internally instead of __sigsetjmp.
  4113. * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Use _GI___libm_frexp_4f.
  4114. * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Use _GI___libm_frexp_4l.
  4115. * sysdeps/ia64/fpu/libm_frexp4.S: Define _GI___libm_frexp_4.
  4116. * sysdeps/ia64/fpu/libm_frexp4f.S: Define _GI___libm_frexp_4f.
  4117. * sysdeps/ia64/fpu/libm_frexp4l.S: Define _GI___libm_frexp_4l.
  4118. * sysdeps/ia64/fpu/s_frexp.c (frexp): Use _GI___libm_frexp_4.
  4119. * sysdeps/ia64/fpu/libm_support.h: Declare _GI___libm_frexp_4,
  4120. _GI___libm_frexp_4f, _GI___libm_frexp_4l.
  4121. * sysdeps/ia64/fpu/bits/mathinline.h: New file.
  4122. * sysdeps/unix/sysv/linux/ia64/__start_context.S: Use
  4123. HIDDEN_JUMPTARGET for exit call.
  4124. * sysdeps/unix/sysv/linux/ia64/clone2.S: Use HIDDEN_JUMPTARGET for
  4125. _exit call.
  4126. * sysdeps/ia64/bcopy.S: Use HIDDEN_JUMPTARGET for memmove call.
  4127. * sysdeps/ia64/strcat.S: Use HIDDEN_JUMPTARGET for strlen and
  4128. strcpy calls.
  4129. 2004-04-21 Jakub Jelinek <jakub@redhat.com>
  4130. * posix/tst-chmod.c (do_test): Fix a typo.
  4131. * elf/lateglobal.c (main): Fix error checks.
  4132. Patch by Stephen Clarke <stephen.clarke@st.com>.
  4133. * manual/ctype.texi (isblank, iswblank): Mark as ISO functions,
  4134. mention they have been added in ISO C99.
  4135. Reported by Ben Pfaff <blp@cs.stanford.edu>.
  4136. 2004-03-31 H.J. Lu <hongjiu.lu@intel.com>
  4137. * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Fix typo.
  4138. 2004-04-20 Jakub Jelinek <jakub@redhat.com>
  4139. * sysdeps/unix/sysv/linux/shm_open.c (shm_unlink): Change EPERM into
  4140. EACCES.
  4141. 2004-04-20 Jakub Jelinek <jakub@redhat.com>
  4142. * stdio-common/vfscanf.c (_IO_vfscanf): Revert last %% whitespace
  4143. handling change.
  4144. * stdio-common/tst-sscanf.c (int_tests): Adjust.
  4145. * nis/nss-nis.c: Include stdlib.h.
  4146. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Shut up a
  4147. warning.
  4148. * sysdeps/sparc/sparc64/memcmp.S (memcmp): Remove BP_SYM () from
  4149. libc_hidden_builtin_def.
  4150. 2004-04-20 Jim Meyering <jim@meyering.net>
  4151. * misc/error.c (error_tail): Don't leak upon realloc failure.
  4152. 2004-04-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
  4153. * sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable):
  4154. Use RETURN_ADDRESS instead of __builtin_return_address.
  4155. 2004-04-19 Ulrich Drepper <drepper@redhat.com>
  4156. * sysdeps/unix/sysv/linux/mq_unlink.c: Rewrite to produce more
  4157. compact code.
  4158. 2004-04-20 Jakub Jelinek <jakub@redhat.com>
  4159. * stdio-common/vfscanf.c (_IO_vfscanf): When skipping whitespace,
  4160. do input_error () instead of conv_error () and don't look at errno.
  4161. Don't eat any whitespace before %% if skip_space == 0.
  4162. * stdio-common/tst-sscanf.c (int_tests): New array.
  4163. (main): Run int_tests.
  4164. See ChangeLog.14 for earlier changes.