ChangeLog 119 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613
  1. 2021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
  2. * configure: Re-generate.
  3. 2020-12-05 Iain Sandoe <iain@sandoe.co.uk>
  4. PR target/97865
  5. * configure: Regenerate.
  6. 2020-11-29 John David Anglin <danglin@gcc.gnu.org>
  7. * configure: Regenerate.
  8. 2020-10-11 Iain Sandoe <iain@sandoe.co.uk>
  9. * encoding.c (_darwin_rs6000_special_round_type_align):
  10. Use DFMode in the emulation of the special round type.
  11. 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
  12. PR bootstrap/95413
  13. * configure: Regenerated.
  14. 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
  15. PR bootstrap/95147
  16. * configure: Regenerated.
  17. 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
  18. * configure: Regenerated.
  19. 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
  20. PR libstdc++/79193
  21. PR libstdc++/88999
  22. * configure: Regenerated.
  23. 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
  24. * Makefile.in (aclocal_deps): Add `toolexeclibdir.m4'.
  25. * aclocal.m4: Include `toolexeclibdir.m4'.
  26. * configure.ac: Handle `--with-toolexeclibdir='.
  27. * configure: Regenerate.
  28. 2020-01-01 Andrew Pinski <pinskia@gmail.com>
  29. PR libobjc/93099
  30. * objc/objc-decls.h (objc_EXPORT): Define it to
  31. extern for DLL_EXPORT define case.
  32. 2020-01-01 Jakub Jelinek <jakub@redhat.com>
  33. Update copyright years.
  34. 2019-11-26 Tobias Burnus <tobias@codesourcery.com>
  35. * Makefile.in (aclocal_deps): Fix path to cet.m4.
  36. 2019-09-27 Maciej W. Rozycki <macro@wdc.com>
  37. * configure: Regenerate.
  38. 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
  39. Bernd Edlinger <bernd.edlinger@hotmail.de>
  40. Jakub Jelinek <jakub@redhat.com>
  41. PR target/89093
  42. * exception.c (PERSONALITY_FUNCTION): Add general-regs-only target
  43. attribute for ARM.
  44. 2019-03-06 Uroš Bizjak <ubizjak@gmail.com>
  45. * encoding.c (DFmode): #undef before #define.
  46. 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
  47. PR other/16615
  48. * objc/runtime.h: Change "can not" to "cannot".
  49. 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
  50. PR other/16615
  51. * class.c: Mechanically replace "can not" with "cannot".
  52. * objc/runtime.h: Likewise.
  53. * sendmsg.c: Likewise.
  54. 2019-01-01 Jakub Jelinek <jakub@redhat.com>
  55. Update copyright years.
  56. 2018-10-31 Joseph Myers <joseph@codesourcery.com>
  57. PR bootstrap/82856
  58. * configure.ac: Remove AC_PREREQ.
  59. * aclocal.m4, config.h.in, configure: Regenerate.
  60. 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
  61. * configure: Regenerated.
  62. 2018-04-19 Jakub Jelinek <jakub@redhat.com>
  63. * configure: Regenerated.
  64. 2018-04-18 David Malcolm <dmalcolm@redhat.com>
  65. PR jit/85384
  66. * configure: Regenerate.
  67. 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
  68. PR target/84148
  69. * configure: Regenerate.
  70. 2018-01-03 Jakub Jelinek <jakub@redhat.com>
  71. Update copyright years.
  72. 2017-11-23 Tom de Vries <tom@codesourcery.com>
  73. * class.c (CLASS_TABLE_HASH): Wrap in "do {} while (0)".
  74. 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
  75. * Makefile.in: Regenerate.
  76. * aclocal.m4: Likeiwse.
  77. * configure: Likewise.
  78. * configure.ac: Set CET_FLAGS. Update XCFLAGS.
  79. 2017-08-30 Richard Sandiford <richard.sandiford@linaro.org>
  80. Alan Hayward <alan.hayward@arm.com>
  81. David Sherwood <david.sherwood@arm.com>
  82. * encoding.c (_darwin_rs6000_special_round_type_align): Prefix mode
  83. names with E_ in case statements.
  84. 2017-02-07 Richard Biener <rguenther@suse.de>
  85. PR tree-optimization/79256
  86. PR middle-end/79278
  87. * encoding.c (objc_layout_structure_next_member): Adjust
  88. ADJUST_FIELD_ALIGN usage.
  89. 2017-01-18 Matthias Klose <doko@ubuntu.com>
  90. PR libobjc/78697
  91. * configure.ac: Allow default for --with-target-bdw-gc-include.
  92. * configure: Regenerate.
  93. PR libobjc/78698
  94. * configure.ac: Use the libgc.la file when available.
  95. * configure: Regenerate.
  96. 2017-01-17 Jakub Jelinek <jakub@redhat.com>
  97. PR other/79046
  98. * configure: Regenerated.
  99. * configure.ac: Add GCC_BASE_VER.
  100. * Makefile.in (gcc_version): Use @get_gcc_base_ver@ instead of cat to
  101. get version from BASE-VER file.
  102. * configure: Regenerated.
  103. 2017-01-01 Jakub Jelinek <jakub@redhat.com>
  104. Update copyright years.
  105. 2016-12-01 Matthias Klose <doko@ubuntu.com>
  106. * configure.ac: Don't use pkg-config to check for bdw-gc.
  107. * configure: Regenerate.
  108. 2016-11-30 Matthias Klose <doko@ubuntu.com>
  109. * configure.ac: Set BDW_GC_CFLAGS and BDW_GC_LIBS after checking
  110. for the existence of the pkg-config modules.
  111. * Regenerate.
  112. 2016-11-30 Jakub Jelinek <jakub@redhat.com>
  113. * configure.ac (--enable-objc-gc): If not given, default to
  114. enable_objc_gc=no.
  115. * configure: Regenerated.
  116. 2016-11-30 Matthias Klose <doko@ubuntu.com>
  117. * configure.ac (--enable-objc-gc): Allow to configure with a
  118. system provided boehm-gc.
  119. * configure: Regenerate.
  120. * Makefile.in (OBJC_BOEHM_GC_LIBS): Get value from configure.
  121. * gc.c: Include system bdw-gc headers.
  122. * memory.c: Likewise.
  123. * objects.c: Likewise.
  124. 2016-11-15 Matthias Klose <doko@ubuntu.com>
  125. * aclocal.m4: Regenerate.
  126. * configure: Likewise.
  127. 2016-01-04 Jakub Jelinek <jakub@redhat.com>
  128. Update copyright years.
  129. 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
  130. PR libobjc/24775
  131. * encoding.c (_darwin_rs6000_special_round_type_align): Use
  132. __CHAR_BIT__ instead of BITS_PER_UNIT.
  133. (objc_sizeof_type): Likewise.
  134. (objc_layout_structure): Likewise.
  135. (objc_layout_structure_next_member): Likewise.
  136. (objc_layout_finish_structure): Likewise.
  137. (objc_layout_structure_get_info): Likewise.
  138. 2015-11-03 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
  139. PR libobjc/24775
  140. * encoding.c (objc_layout_finish_structure): Remove usage of
  141. ROUND_TYPE_SIZE.
  142. 2015-09-12 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
  143. PR libobjc/24775
  144. * sendmsg.c (tm.h): Remove include.
  145. 2015-09-12 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
  146. PR libobjc/24775
  147. * sendmsg.c (gen_rtx): Remove macro.
  148. (gen_rtx_MEM): Likewise.
  149. (gen_rtx_REG): Likewise.
  150. (rtx): Likewise.
  151. 2015-09-12 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
  152. PR libobjc/24775
  153. * sendmsg.c: Remove check of STRUCT_VALUE macro.
  154. 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
  155. * configure.ac: Remove manual SJLJ check.
  156. * config.h.in: Regenerate.
  157. * configure: Likewise.
  158. * exception.c: Replace SJLJ_EXCEPTIONS by __USING_SJLJ_EXCEPTIONS__.
  159. 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
  160. * aclocal.m4: Regenerated with automake-1.11.6.
  161. 2015-05-04 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
  162. * configure: Regenerate.
  163. 2015-05-01 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
  164. * acinclude.m4: Include bitfields.m4.
  165. * config.h.in: Regenerate.
  166. * configure: Likewise.
  167. * configure.ac: Invoke gt_BITFIELD_TYPE_MATTERS.
  168. * encoding.c: Check HAVE_BITFIELD_TYPE_MATTERS.
  169. 2015-04-29 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
  170. * encoding.c (objc_layout_structure_next_member): Check the value of
  171. PCC_BITFIELD_TYPE_MATTERS not if it is defined.
  172. 2015-02-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
  173. PR libobjc/63765
  174. * thr.c (_XOPEN_SOURCE): Remove.
  175. 2015-01-27 Matthias Klose <doko@ubuntu.com>
  176. * sendmsg.c: Add prototypes for __objc_get_forward_imp and get_imp.
  177. 2015-01-09 Dimitris Papavasiliou <dpapavas@gmail.com>
  178. PR libobjc/51891
  179. * ivars.c: Add a check for classes without instance
  180. variables, which have a NULL ivar list pointer.
  181. 2015-01-05 Jakub Jelinek <jakub@redhat.com>
  182. Update copyright years.
  183. 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
  184. PR bootstrap/63784
  185. * configure: Regenerated.
  186. 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  187. PR target/63610
  188. * configure: Regenerate.
  189. 2014-11-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
  190. * thr.c (_XOPEN_SOURCE): Define as 600.
  191. 2014-07-27 Alan Modra <amodra@gmail.com>
  192. Matthias Klose <doko@ubuntu.com>
  193. PR libobjc/61920
  194. * encoding.c: Define rs6000_special_adjust_field_align_p.
  195. 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
  196. Update copyright years
  197. 2013-09-20 Alan Modra <amodra@gmail.com>
  198. * configure: Regenerate.
  199. 2013-07-21 Ondřej Bílka <neleai@seznam.cz>
  200. * class.c: Fix typos.
  201. * encoding.c: Likewise.
  202. * init.c: Likewise.
  203. * objc-private/runtime.h: Likewise.
  204. * objc/runtime.h: Likewise.
  205. * objc-sync.c: Likewise.
  206. 2013-07-04 Kai Tietz <ktietz@redhat.com>
  207. * exception.c: Add check for SjLj to SEH blocks.
  208. 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
  209. Update copyright years.
  210. 2012-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
  211. * encoding.c (TARGET_VSX): Provide definitions based on the
  212. current compilation options, and not based off the target options
  213. structure.
  214. (TARGET_ALTIVEC): Likewise.
  215. (TARGET_64BIT): Likewise.
  216. 2012-09-14 David Edelsohn <dje.gcc@gmail.com>
  217. * configure: Regenerated.
  218. 2012-07-19 Tristan Gingold <gingold@adacore.com>
  219. Richard Henderson <rth@redhat.com>
  220. * exception.c (__gnu_objc_personality_seh0): New function.
  221. 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
  222. * configure: Regenerated.
  223. 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
  224. * configure.ac (enable_objc_gc): Remove alpha*-dec-osf* handling.
  225. * configure: Regenerate.
  226. * thr.c (_XOPEN_SOURCE): Define unconditionally.
  227. 2011-11-21 Andreas Tobler <andreast@fgznet.ch>
  228. * configure: Regenerate.
  229. 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
  230. * Makefile.in (INCLUDES): Add -I$(MULTIBUILDTOP)../libgcc.
  231. * configure.ac (target_thread_file, HAVE_GTHR_DEFAULT): Remove.
  232. * configure: Regenerate.
  233. * config.h.in: Regenerate.
  234. 2011-10-17 Paul Brook <paul@codesourcery.com>
  235. Matthias Klose <doko@ubuntu.com>
  236. * exception.c (parse_lsda_header): hardcode ttype_encoding for older
  237. ARM EABI toolchains.
  238. (get_ttype_entry) Remove __ARM_EABI_UNWINDER__ variant.
  239. 2011-10-09 Nicola Pero <nicola.pero@meta-innovation.com>
  240. PR libobjc/49883
  241. * init.c (__objc_exec_class): Work around a bug in clang's code
  242. generation. Clang sets the class->info field to values different
  243. from 0x1 or 0x2 (the only allowed values in the traditional GNU
  244. Objective-C runtime ABI) to store some additional information, but
  245. this breaks backwards compatibility. Wipe out all the bits in the
  246. fields other than the first two upon loading a class.
  247. 2011-10-09 Nicola Pero <nicola.pero@meta-innovation.com>
  248. * class.c (objc_lookup_class): Added back for compatibility with
  249. clang which seems to emit calls to it.
  250. 2011-10-08 Richard Frith-Macdonald <rfm@gnu.org>
  251. Nicola Pero <nicola.pero@meta-innovation.com>
  252. PR libobjc/50428
  253. * sendmsg.c (__objc_send_initialize): If a class does not have an
  254. +initialize method, search for an +initialize method in the
  255. superclass and in the ancestor classes and execute the first one
  256. that is found. This makes the GNU runtime behave in the same way
  257. as the Apple/NeXT runtime with respect to +initialize methods and
  258. subclassing.
  259. 2011-08-06 Nicola Pero <nicola.pero@meta-innovation.com>
  260. PR libobjc/50002
  261. * class.c (__objc_update_classes_with_methods): Iterate over meta
  262. classes as well as normal classes when refreshing the method
  263. implementations. This fixes replacing class methods.
  264. 2011-08-06 Nicola Pero <nicola.pero@meta-innovation.com>
  265. * class.c (class_getSuperclass): Fixed to work with meta classes
  266. still in construction too.
  267. 2011-08-06 Nicola Pero <nicola.pero@meta-innovation.com>
  268. * class.c (class_getSuperclass): Fixed typo in comment.
  269. 2011-08-06 Nicola Pero <nicola.pero@meta-innovation.com>
  270. PR libobjc/49882
  271. * class.c (class_getSuperclass): Return the superclass if the
  272. class is in construction.
  273. * objc/runtime.h (class_getSuperclass): Updated documentation.
  274. 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
  275. * Makefile.in (INCLUDES): Search
  276. $(srcdir)/$(MULTISRCTOP)../libgcc.
  277. 2011-06-08 Nicola Pero <nicola.pero@meta-innovation.com>
  278. * objc/objc.h (__GNU_LIBOBJC__): Bumped to 20110608.
  279. 2011-06-08 Nicola Pero <nicola.pero@meta-innovation.com>
  280. * configure.ac (VERSION): Bumped to 4:0:0.
  281. * configure (VERSION): Likewise.
  282. 2011-06-08 Nicola Pero <nicola.pero@meta-innovation.com>
  283. * objc/README: Updated.
  284. * objc-private/selector.h: Updated comments.
  285. 2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com>
  286. * sendmsg.c (class_get_instance_method): Removed.
  287. (class_get_class_method): Removed.
  288. (objc_get_uninstalled_dtable): Removed.
  289. 2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com>
  290. * objc-private/module-abi-8.h (class_get_instance_size): Removed.
  291. * objects.c (class_create_instance): Removed.
  292. * error.c (__USE_FIXED_PROTOTYPES__): Removed.
  293. * gc.c (__objc_generate_gc_type_description): Use
  294. class_getInstanceSize() instead of class_get_instance_size().
  295. * selector.c (sel_types_match): Made static.
  296. (sel_get_typed_uid): Removed.
  297. (sel_get_any_typed_uid): Removed.
  298. (sel_get_name): Removed.
  299. (sel_get_type): Removed.
  300. (sel_register_name): Removed.
  301. (sel_register_typed_name): Removed.
  302. (sel_get_uid): Removed.
  303. 2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com>
  304. * encoding.c (method_get_number_of_arguments): Removed.
  305. (method_get_sizeof_arguments): Removed.
  306. 2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com>
  307. * class.c (objc_next_class): Removed.
  308. (class_pose_as): Removed.
  309. (CLASSOF): Removed.
  310. (class_table_replace): Removed.
  311. (objc_lookup_class): Removed.
  312. 2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com>
  313. Removed the Traditional Objective-C runtime public API.
  314. * Makefile.in (OBJC_DEPRECATED_H): Variable removed.
  315. (install-headers): Do not create the objc/deprecated directory and
  316. do not install the deprecated headers.
  317. (OBJC_H): Removed encoding.h and objc-api.h.
  318. * Object.m: Removed all methods with the exception of -class and
  319. -isEqual:. Updated includes. ([-class]): Use Modern API.
  320. * objc/Object.h: Do not include deprecated/Object.h.
  321. * objc/deprecated/Object.h: Removed.
  322. * linking.m (__objc_linking): Call [Object class] instead of
  323. [Object name].
  324. * Protocol.m: Removed all methods with the exception of -isEqual:.
  325. Updated includes.
  326. * objc/Protocol.h: Do not include deprecated/Protocol.h.
  327. * objc/deprecated/Protocol.h: Removed.
  328. * objc/deprecated/struct_objc_symtab.h: Removed.
  329. * objc/deprecated/struct_objc_module.h: Removed.
  330. * objc/deprecated/struct_objc_ivar.h: Removed.
  331. * objc/deprecated/struct_objc_ivar_list.h: Removed.
  332. * objc/deprecated/struct_objc_method.h: Removed.
  333. * objc/deprecated/struct_objc_method_list.h: Removed.
  334. * objc/deprecated/struct_objc_protocol_list.h: Removed.
  335. * objc/deprecated/struct_objc_category.h: Removed.
  336. * objc/deprecated/MetaClass.h: Removed.
  337. * objc/deprecated/objc_msg_sendv.h: Removed.
  338. * objc/deprecated/README: Removed.
  339. * objc/deprecated/struct_objc_class.h: Removed.
  340. * objc/deprecated/struct_objc_protocol.h: Removed.
  341. * objc/deprecated/struct_objc_selector.h: Removed.
  342. * objc/encoding.h: Removed.
  343. * objc/message.h (struct objc_super): Removed the definition for
  344. the Traditional Objective-C runtime API.
  345. * objc/objc.h: Do not include objc/objc-decls.h.
  346. deprecated/struct_objc_selector.h, deprecated/MetaClass.h,
  347. deprecated/struct_objc_class.h, deprecated/struct_objc_protocol.h
  348. and deprecated/objc_msg_sendv.h. Uncommented new definition of
  349. Protocol *.
  350. * objc/objc-api.h: Removed.
  351. * objc/runtime.h: Updated comments. Removed check to detect
  352. concurrent usage of Traditional and Modern APIs.
  353. * objc-private/module-abi-8.h: Always define struct objc_class and
  354. struct objc_protocol. (struct objc_protocol_list): Changed type
  355. of 'list' argument from 'Protocol *' to 'struct objc_protocol *'.
  356. (class_get_instance_size): Added.
  357. * objc-private/protocols.h (__objc_protocols_add_protocol): Take a
  358. 'struct objc_protocol *' as argument, not a 'Protocol *'.
  359. * objc-private/runtime.h: Updated comments.
  360. * objc-private/selector.h (struct objc_selector, sel_eq): Added.
  361. * class.c: Include objc-private/selector.h.
  362. (objc_get_meta_class): Return a Class instead of a MetaClass.
  363. * encoding.c (method_get_next_argument): Removed.
  364. (method_get_first_argument): Removed.
  365. (method_get_nth_argument): Removed.
  366. * gc.c: Include objc/runtime.h instead of objc/encoding.h.
  367. Include objc-private/module-abi-8.h and ctype.h.
  368. * protocols.c (__objc_protocols_add_protocol): Take a 'struct
  369. objc_protocl *' as argument, not a 'Protocol *'.
  370. (class_addProtocol): Added casts to 'struct objc_protocol *' and
  371. 'Protocol *'.
  372. (class_copyProtocolList): Likewise.
  373. (protocol_conformsToProtocol): Likewise.
  374. (protocol_copyProtocolList): Likewise.
  375. * sarray.c: Include objc-private/module-abi-8.h.
  376. * sendmsg.c (method_get_next_argument): Removed.
  377. (method_get_first_argument): Removed.
  378. (method_get_nth_argument): Removed.
  379. (objc_msg_sendv): Removed.
  380. (arglist_t, retval_t): New. (class_get_class_method): Take a
  381. 'Class', not 'MetaClass', argument.
  382. * thr.c: Include module-abi-8.h.
  383. 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
  384. * Makefile.in (OBJC_DEPRECATED_H): Removed struct_objc_static_instances.h
  385. and objc_get_uninstalled_dtable.h.
  386. * objc/deprecated/struct_objc_static_instances.h: Removed.
  387. * objc/deprecated/objc_get_uninstalled_dtable.h: Removed.
  388. * objc/objc-api.h: Do not include deprecated/objc_static_instances.h
  389. and deprecated/objc_get_uninstalled_dtable.h.
  390. 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
  391. * Makefile.in (OBJC_DEPRECATED_H): Removed objc_object_alloc.h.
  392. * objc/deprecated/objc_object_alloc.h: Removed.
  393. * objc/objc-api.h: Do not include deprecated/objc_object_alloc.h.
  394. * objects.c (_objc_object_alloc, _objc_object_dispose,
  395. _objc_object_copy): Removed.
  396. * libobjc.def (__objc_object_alloc, __objc_object_copy,
  397. __objc_object_dispose): Removed.
  398. 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
  399. * Makefile.in (OBJC_DEPRECATED_H): Removed METHOD_NULL.h.
  400. * objc/objc-api.h: Do not include deprecated/METHOD_NULL.h.
  401. * objc/deprecated/METHOD_NULL.h: Removed.
  402. 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
  403. * Makefile.in (OBJC_DEPRECATED_H): Removed objc_valloc.h,
  404. objc_malloc.h and objc_unexpected_exception.h.
  405. (exception.lo): Do not use -Wno-deprecated-declarations.
  406. (exception_gc.lo): Likewise.
  407. * objc/objc-api.h: Do not include deprecated/objc_valloc.h,
  408. deprecated/objc_malloc.h and
  409. deprecated/objc_unexpected_exception.h.
  410. * objc/deprecated/objc_valloc.h: Removed.
  411. * objc/deprecated/objc_malloc.h: Removed.
  412. * objc/deprecated/objc_unexpected_exception.h: Removed.
  413. * exception.c (_objc_unexpected_exception): Removed.
  414. (objc_exception_throw): Do not check for
  415. _objc_unexpected_exception.
  416. * memory.c (objc_valloc, _objc_malloc, _objc_atomic_malloc,
  417. _objc_valloc, _objc_realloc, _objc_calloc, _objc_free): Removed.
  418. * libobjc.def (_objc_unexpected_exception, objc_valloc): Removed.
  419. 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
  420. * objc/objc.h: Do not include deprecated/STR.h.
  421. * objc/deprecated/STR.h: Removed.
  422. * Makefile.in (OBJC_DEPRECATED_H): removed STR.h.
  423. 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
  424. * Makefile.in (OBJC_H): Removed hash.h and sarray.h.
  425. (OBJC_DEPRECATED_H): Likewise.
  426. * libobjc.def (objc_hash_new, objc_hash_delete, objc_hash_add,
  427. objc_hash_remove, objc_hash_next, objc_hash_value_for_key,
  428. objc_hash_is_key_in_hash, hash_add, hash_delete, hash_new,
  429. hash_next, hash_remove, hash_value_for_key, hash_is_key_in_hash,
  430. sarray_at_put, sarray_at_put_safe, sarray_free, sarray_lazy_copy,
  431. sarray_new, sarray_realloc, sarray_remove_garbage): Removed.
  432. * objc/sarray.h: Removed.
  433. * objc/hash.h: Removed.
  434. * objc/deprecated/sarray.h: Removed.
  435. * objc/deprecated/hash.h: Removed.
  436. * objc/Object.h: Do not include objc/deprecated/hash.h
  437. * Object.m: Include string.h.
  438. * objc/objc-api.h: Do not include objc/deprecated/hash.h.
  439. * objc-private/common.h (GNU_LIBOBJC_COMPILING_LIBOBJC_ITSELF):
  440. Removed.
  441. 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
  442. * Object.m ([-forward::]): Removed.
  443. * objc/deprecated/Object.h ([-forward::]): Removed.
  444. * sendmsg.c (__objc_forward): Updated comments.
  445. 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
  446. * Makefile.in (OBJC_H): Removed objc-list.h.
  447. (OBJC_DEPRECATED_H): Removed objc-list.h.
  448. * objc/objc-list.h: File removed.
  449. * objc/deprecated/objc-list.h: File removed.
  450. 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
  451. * Makefile.in (OBJC_H): Removed typedstream.h.
  452. (OBJC_DEPRECATED_H): Removed typedstream.h.
  453. (C_SOURCE_FILES): Removed archive.c.
  454. (Object.lo): Rule removed.
  455. (Object_gc.lo): Likewise.
  456. (archive.lo): Likewise.
  457. (archive_gc.lo): Likewise.
  458. * objc/deprecated/Object.h ([+streamVersion:], [-read], [-write],
  459. [-awake]): Removed.
  460. Do not include deprecated/typedstream.h.
  461. * Object.m: Removed the same methods.
  462. * archive.c: File removed.
  463. * objc/typedstream.h: File removed.
  464. * objc/deprecated/typedstream.h: File removed.
  465. * libobjc.def (__objc_read_nbyte_uint, __objc_read_nbyte_ulong,
  466. __objc_write_class, __objc_write_object, __objc_write_selector,
  467. objc_close_typed_stream, objc_end_of_typed_stream,
  468. objc_flush_typed_stream, objc_get_stream_class_version,
  469. objc_open_typed_stream, objc_open_typed_stream_for_file,
  470. objc_read_array, objc_read_char, objc_read_int, objc_read_long,
  471. objc_read_object, objc_read_selector, objc_read_short,
  472. objc_read_string, objc_read_type, objc_read_types,
  473. objc_read_unsigned_char, objc_read_unsigned_int,
  474. objc_read_unsigned_long, objc_read_unsigned_short,
  475. objc_write_array, objc_write_char, objc_write_int,
  476. objc_write_long, objc_write_object, objc_write_object_reference,
  477. objc_write_root_object, objc_write_selector, objc_write_short,
  478. objc_write_string, objc_write_string_atomic, objc_write_type,
  479. objc_write_types, objc_write_unsigned_char,
  480. objc_write_unsigned_int, objc_write_unsigned_long,
  481. objc_write_unsigned_short): Removed.
  482. 2011-06-02 Nicola Pero <nicola.pero@meta-innovation.com>
  483. * Makefile.in (OBJC_DEPRECATED_H): Removed objc_error.h.
  484. * objc/deprecated/objc_error.h: Removed.
  485. * objc/objc-api.h: Do not include deprecated/objc_error.h.
  486. * libobjc.def (objc_error, objc_verror): Removed.
  487. * error.c (_objc_error_handler, objc_error, objc_verror,
  488. objc_set_error_handler): Removed.
  489. * Object.m ([-error:], [-perform:], [-perform:with:],
  490. [-perform:with:with], [-subclassResponsibility:],
  491. [-notImplemented:], [-shouldNotImplement:], [-doesNotRecognize:]):
  492. Removed.
  493. * objc/deprecated/Object.h: Removed the same methods.
  494. * sendmsg.c (__objc_forward): Do not try to invoke the "error:"
  495. method after trying to invoke the "doesNotRecognize:" method.
  496. 2011-05-26 Nicola Pero <nicola.pero@meta-innovation.com>
  497. * sendmsg.c: Reindented part of the file. No non-trivial changes
  498. in code.
  499. 2011-05-26 Nicola Pero <nicola.pero@meta-innovation.com>
  500. * sendmsg.c (__objc_install_dtable_for_class): Use objc_getClass,
  501. not objc_lookup_class.
  502. 2011-05-25 Richard Frith-Macdonald <rfm@gnu.org>
  503. David Ayers <ayers@fsfe.org>
  504. PR libobjc/38307
  505. * sendmsg.c: Include objc/hash.h.
  506. (get_implementation): New function, mostly with code from get_imp
  507. updated to support the new +initialize dispatch table logic.
  508. (get_imp): Use get_implementation.
  509. (__objc_responds_to): Updated to support the new +initialize
  510. dispatch table logic.
  511. (class_respondsToSelector): Likewise.
  512. (objc_msg_lookup): Use get_implementation.
  513. (__objc_init_install_dtable): Removed.
  514. (__objc_install_methods_in_dtable): Updated arguments.
  515. (__objc_install_dispatch_table_for_class): Renamed to
  516. __objc_install_dtable_for_class and updated to support the new
  517. +initialize dispatch table logic.
  518. (__objc_update_dispatch_table_for_class): Updated to support the
  519. new +initialize dispatch table logic.
  520. (__objc_forward): Call get_implementation instead of get_imp.
  521. (prepared_dtable_table): New.
  522. (__objc_prepare_dtable_for_class): New.
  523. (__objc_prepared_dtable_for_class): New.
  524. (__objc_get_prepared_imp): New.
  525. (__objc_install_prepared_dtable_for_class): New.
  526. 2011-05-24 Nicola Pero <nicola.pero@meta-innovation.com>
  527. PR libobjc/48177
  528. * selector.c (__sel_register_typed_name): Use sel_types_match()
  529. instead of strcmp() to compare selector types (Suggestion by
  530. Richard Frith-Macdonald <rfm@gnu.org>).
  531. 2011-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
  532. PR libobjc/32037
  533. * Makefile.in (OBJC_GCFLAGS): Move ...
  534. * configure.ac (enable_objc_gc): ... here.
  535. Add $(libsuffix) to OBJC_BOEHM_GC.
  536. * configure: Regenerate.
  537. 2011-02-28 Nicola Pero <nicola.pero@meta-innovation.com>
  538. * selector.c (sel_getTypedSelector): Return NULL if there are
  539. multiple selectors with conflicting types.
  540. * objc/runtime.h (sel_getTypedSelector): Updated documentation.
  541. 2011-02-28 Richard Frith-Macdonald <rfm@gnu.org>
  542. PR libobjc/47922
  543. * gc.c (class_ivar_set_gcinvisible): Use _C_GCINVISIBLE instead of
  544. a hardcoded "!".
  545. 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  546. * configure: Regenerate.
  547. 2010-12-26 Nicola Pero <nicola.pero@meta-innovation.com>
  548. * init.c (create_tree_of_subclasses_inherited_from): Use
  549. class_superclass_of_class instead of assuming a class is
  550. unresolved when it could be resolved. Tidied up assignment and
  551. check.
  552. (__objc_tree_insert_class): Enhanced DEBUG_PRINTF.
  553. (objc_tree_insert_class): Tidied up loop; return immediately upon
  554. inserting a class.
  555. (__objc_exec_class): Do not set __objc_class_tree_list.
  556. 2010-12-24 Nicola Pero <nicola.pero@meta-innovation.com>
  557. * selector.c (sel_getTypedSelector): Return NULL if given a NULL
  558. argument.
  559. (sel_registerTypedName): Same.
  560. (sel_registerName): Same.
  561. * objc/runtime.h: Updated documentation.
  562. 2010-12-24 Nicola Pero <nicola.pero@meta-innovation.com>
  563. * objc/runtime.h (class_addIvar): Updated documentation. The
  564. alignment is actually the log_2 of the alignment in bytes.
  565. * ivars.c (class_addIvar): Corresponding change to the
  566. implementation.
  567. 2010-12-24 Nicola Pero <nicola.pero@meta-innovation.com>
  568. * objc/runtime.h (sel_getType): Renamed to sel_getTypeEncoding to
  569. be consistent with method_getTypeEncoding and
  570. ivar_getTypeEncoding.
  571. (sel_copyTypedSelectorList, sel_getTypedSelector): New.
  572. * selector.c (sel_getType): Renamed to sel_getTypeEncoding.
  573. (sel_copyTypedSelectorList, sel_getTypedSelector): New.
  574. (sel_get_type): Updated call to sel_getType.
  575. 2010-12-24 Nicola Pero <nicola.pero@meta-innovation.com>
  576. * objc/runtime.h (class_conformsToProtocol,
  577. class_copyProtocolList): Updated documentation.
  578. 2010-12-23 Nicola Pero <nicola.pero@meta-innovation.com>
  579. * init.c (create_tree_of_subclasses_inherited_from): Updated
  580. DEBUG_PRINTF messages.
  581. (__objc_tree_insert_class): Same.
  582. (__objc_send_load_using_method_list): Same.
  583. (__objc_send_load): Same.
  584. (__objc_exec_class): Same. In particular, do not print the module
  585. name since it is no longer used.
  586. * sendmsg.c (__objc_send_initialize): Added DEBUG_PRINTFs for
  587. tracking +initialize calls.
  588. (__objc_update_dispatch_table_for_class): Added DEBUG_PRINTFs for
  589. tracking updates of dispatch tables.
  590. (__objc_install_dispatch_table_for_class): Same.
  591. 2010-12-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
  592. * Makefile.in (libobjc$(libsuffix).la): Link with -Wc,-shared-libgcc.
  593. (libobjc_gc$(libsuffix).la): Likewise.
  594. 2010-12-23 Nicola Pero <nicola.pero@meta-innovation.com>
  595. * sendmsg.c (class_addMethod): Return NO if the method already
  596. exists in the class.
  597. 2010-12-22 Nicola Pero <nicola.pero@meta-innovation.com>
  598. * init.c (duplicate_classes): New.
  599. (__objc_exec_class): Initialize duplicate_classes.
  600. (__objc_create_classes_tree): Ignore classes in the
  601. duplicate_classes table.
  602. (__objc_call_load_callback): Same.
  603. (__objc_init_class): If a duplicate class is found, add it to
  604. duplicate_classes instead of aborting. Return YES if the class is
  605. not a duplicate, and NO if it is.
  606. * objc-private/runtime.h (__objc_init_class): Updated prototype.
  607. 2010-12-22 Nicola Pero <nicola.pero@meta-innovation.com>
  608. * objc-private/objc-list.h: Reindented file. No code changes.
  609. * objc-private/sarray.h: Same change.
  610. 2010-12-22 Nicola Pero <nicola.pero@meta-innovation.com>
  611. * objc-private/accessors.h: Removed 'extern "C"' guards. This
  612. file is never compiled with C++.
  613. * objc-private/hash.h: Same change.
  614. * objc-private/objc-list.h: Same change.
  615. * objc-private/objc-sync.h: Same change.
  616. * objc-private/protocols.h: Same change.
  617. * objc-private/runtime.h: Same change.
  618. * objc-private/sarray.h: Same change.
  619. * objc-private/selector.h: Same change.
  620. 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
  621. PR libobjc/18764
  622. * class.c (__objc_add_class_to_hash): Return YES if the class was
  623. added, and NO if it already existed.
  624. * init.c (__objc_init_class): If __objc_add_class_to_hash returns
  625. NO, then abort the program with an error message.
  626. * objc-private/runtime.h (__objc_add_class_to_hash): Updated
  627. declaration.
  628. 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
  629. * init.c (_objc_load_callback): Initialize with 0.
  630. (__objc_call_callback): Renamed to __objc_call_load_callback.
  631. Check _objc_load_callback only once, and if it is not set, return
  632. immediately.
  633. (objc_send_load): Updated call to __objc_call_callback.
  634. 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
  635. PR libobjc/16110
  636. * init.c (__objc_send_message_in_list): Renamed to
  637. __objc_send_load_using_method_list. Do not take an 'op' argument.
  638. Register the 'load' selector if needed.
  639. (__objc_send_load): Do not register the 'load' selector. Updated
  640. call to __objc_send_message_in_list.
  641. (__objc_create_classes_tree): Add the class of any claimed
  642. category that was loaded in the module to the list of classes for
  643. which we try to execute +load.
  644. 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
  645. * objc-private/common.h: When DEBUG is defined, include <stdio.h>.
  646. Updated comments.
  647. * init.c (__objc_tree_insert_class): Use %p, not %x, when printing
  648. a pointer using DEBUG_PRINTF.
  649. 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
  650. PR libobjc/45953
  651. * selector.c (__sel_register_typed_name): When registering a new
  652. selector with the same name as an existing one, reuse the existing
  653. name string. Also updated types, casts and comments in the whole
  654. function.
  655. 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
  656. * objc-private/module-abi-8.h (struct objc_symtab): Declare 'refs'
  657. to be 'struct objc_selector *' and not 'SEL'.
  658. * init.c (__objc_exec_class): Call
  659. __objc_register_selectors_from_module instead of iterating over
  660. each selector and calling __sel_register_typed_name for each.
  661. * objc-private/selector.h: Declare
  662. __objc_register_selectors_from_module instead of
  663. __sel_register_typed_name.
  664. * selector.c (__objc_register_selectors_from_module): New.
  665. (__sel_register_typed_name): Made static.
  666. 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
  667. * linking.m: Do not include objc/NXConstStr.h.
  668. 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
  669. * objc-private/runtime.h (DEBUG_PRINTF): Moved from here ...
  670. * objc-private/common.h (DEBUG_PRINTF): To here.
  671. * hash.c: Do not include objc-private/runtime.h and objc/thr.h.
  672. 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
  673. * hash.c: Tidied up comments and indentation. No code changes.
  674. 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
  675. PR libobjc/47012
  676. * accessors.m (objc_getProperty): If not atomic, do not
  677. retain/autorelease the returned value.
  678. 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
  679. * objc-private/runtime.h (__objc_selector_max_index,
  680. __objc_init_selector_tables, __objc_register_selectors_from_class,
  681. __objc_register_selectors_from_list,
  682. __objc_register_selectors_from_description_list): Moved to ...
  683. * objc-private/selector.h: ... here.
  684. 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
  685. * objc-private/runtime.h (__objc_class_links_resolved): Removed.
  686. (__objc_print_dtable_stats): Removed.
  687. (__sel_register_typed_name): Removed.
  688. * sendmsg.c (__objc_print_dtable_stats): Use 'void' as argument.
  689. 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
  690. * init.c (__objc_exec_class): Call __objc_resolve_class_links (),
  691. if appropriate, after loading the module.
  692. 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
  693. * sendmsg.c (method_setImplementation): Do not declare.
  694. 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
  695. * objc/message.h: Updated comments.
  696. * objc/runtime.h: Updated comments.
  697. 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
  698. * class.c (objc_lookupClass): Renamed to objc_lookUpClass.
  699. * protocols.c: Updated all calls to objc_lookupClass to call
  700. objc_lookUpClass instead.
  701. * sendmsg.c (objc_lookupClass): Do not declare.
  702. (get_imp): Update call to objc_lookupClass to call
  703. objc_lookUpClass instead.
  704. * objc/runtime.h (objc_lookupClass): Renamed to objc_lookUpClass.
  705. 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
  706. * objc/runtime.h (class_ivar_set_gcinvisible): Declare.
  707. * sendmsg.c (_CLS_IN_CONSTRUCTION, CLS_IS_IN_CONSTRUCTION): Do not
  708. define. Updated comments.
  709. 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
  710. * objc/encoding.h: Updated comments.
  711. * objc/runtime.h: Updated comments.
  712. (objc_setGetUnknownClassHandler): Mark with objc_EXPORT.
  713. (objc_sizeof_type): Same.
  714. (objc_alignof_type): Same.
  715. (objc_aligned_size): Same.
  716. (objc_promoted_size): Same.
  717. (objc_skip_type_qualifiers): Same.
  718. (objc_skip_typespec): Same.
  719. (objc_skip_offset): Same.
  720. (objc_skip_argspec): Same.
  721. (objc_get_type_qualifiers): Same.
  722. (objc_layout_structure): Same.
  723. (objc_layout_structure_next_member): Same.
  724. (objc_layout_finish_structure): Same.
  725. (objc_layout_structure_get_info): Same.
  726. 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
  727. * init.c: Updated comments.
  728. * objc/objc-api.h: Updated comments.
  729. * objc/runtime.h (_objc_load_callback): Declare.
  730. 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
  731. * objc/Object.h: Include deprecated/typedstream.h and
  732. deprecated/hash.h instead of typedstream.h. Updated comments.
  733. 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
  734. * Makefile.in (OBJC_DEPRECATED_H): Added objc_msg_sendv.h.
  735. * objc/deprecated/objc_msg_sendv.h: New.
  736. * objc/message.h: Do not define retval_t, apply_t, arglist,
  737. arglist_t, objc_msg_sendv, now in
  738. objc/deprecated/objc_msg_sendv.h.
  739. * objc/objc.h: Do not include message.h; include
  740. objc/deprecated/objc_msg_sendv.h instead. Tidied up comments.
  741. * sendmsg.c: Include objc/message.h.
  742. * thr.c: Include objc/message.h.
  743. 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
  744. * objc/objc-exception.h: Include objc-decls.h. Mark all
  745. functions with objc_EXPORT.
  746. * objc/objc-sync.h: Same change.
  747. 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
  748. * Protocol.m: Moved all methods, with the exception of -isEqual:,
  749. into the 'Deprecated' category.
  750. * objc/Protocol.h: Removed all methods, moved to
  751. objc/deprecated/Protocol.h. Include objc/deprecated/Protocol.h.
  752. * objc/deprecated/Protocol.h: New.
  753. * Makefile.in (OBJC_DEPRECATED_H): Added Protocol.h.
  754. 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
  755. * init.c: Include objc-private/selector.h. Do not declare
  756. __sel_register_typed_name.
  757. * objc-private/selector.h (__sel_register_typed_name): Declare.
  758. * selector.c: Include objc-private/selector.h.
  759. 2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
  760. * class.c: Tidied up comments and indentation. No code changes.
  761. * error.c: Same.
  762. * exception.c: Same.
  763. * init.c: Same.
  764. * ivars.c: Same.
  765. * memory.c: Same.
  766. * objc-foreach.c: Same.
  767. * objc-sync.c: Same.
  768. * objects.c: Same.
  769. * protocols.c: Same.
  770. * sarray.c: Same.
  771. * thr.c: Same.
  772. 2010-12-17 Nicola Pero <nicola.pero@meta-innovation.com>
  773. * init.c: Include objc/runtime.h and objc-private/module-abi-8.h
  774. instead of objc/objc-api.h.
  775. (init_check_module_version): Take a 'struct objc_module *'
  776. argument instead of 'Module_t'. Use 'struct objc_module *'
  777. instead of 'Module_t'.
  778. (__objc_created_classes_tree): Take a 'struct objc_module *'
  779. argument instead of 'Module_t'; use 'struct objc_symtab *' instead
  780. of 'Symtab_t'.
  781. (__objc_call_callback): Take a 'struct objc_module *' argument
  782. instead of 'Module_t'; use 'struct objc_symtab *' instead of
  783. 'Symtab_t' and 'struct objc_category *' instead of 'Category_t'.
  784. (_objc_load_callback): Take a 'struct objc_category *' argument
  785. instead of 'Category *'.
  786. (class_superclass_of_class): Use objc_getClass() instead of
  787. objc_lookup_class().
  788. (create_tree_of_subclasses_inherited_from): Same change (also, use
  789. an explicit 'if' instead of '?').
  790. (objc_init_statics): Same change.
  791. (objc_send_load): Same change.
  792. (__objc_init_protocol): same change.
  793. (__objc_send_message_in_list): Take a 'struct objc_method_list *'
  794. argument instead of 'MethodList_t'. Use 'struct objc_method *'
  795. instead of 'Method_t'.
  796. (__objc_send_load): Use 'struct objc_method_list *' instead of
  797. 'MethodList_t'. Use sel_registerName() instead of
  798. sel_register_name().
  799. (__objc_exec_class): Take a 'struct objc_module *' argument
  800. instead of 'Module_t'. Use 'struct objc_symtab *' instead of
  801. 'Symtab_t'. Use objc_getClass() instead of objc_lookup_class().
  802. Use 'struct objc_category *' instead of 'Category_t'.
  803. 2010-12-16 Nicola Pero <nicola.pero@meta-innovation.com>
  804. * sendmsg.c: Include objc/runtime.h instead of objc/objc-api.h.
  805. Include objc-private/module-abi-8.h and objc-private/selector.h
  806. instead of objc/encoding.h.
  807. (objc_msg_lookup_super): Use super->super_class instead of
  808. super->class.
  809. (method_get_first_argument, method_get_next_argument): Declare
  810. locally.
  811. (class_get_instance_method): Declare before using.
  812. (objc_msg_sendv): Use 'struct objc_method' instead of 'Method'.
  813. (__objc_init_dispatch_tables, __objc_send_initialize): Use
  814. sel_registerName() instead of sel_register_name().
  815. (__objc_forward): Use sel_getName() instead of sel_get_name().
  816. (objc_get_uninstalled_dtable): Use 'void' as argument.
  817. * objc-private/selector.h: New.
  818. 2010-12-15 Nicola Pero <nicola.pero@meta-innovation.com>
  819. * objc/message.h (objc_super): When using the modern API, do not
  820. define Super and Super_t, and always use 'super_class' for the
  821. super class field.
  822. (objc_msg_lookup_super): Updated prototype to use 'struct
  823. objc_super *' instead of 'Super_t'.
  824. * sendmsg.c (objc_msg_lookup_super): Updated prototype to use
  825. 'struct objc_super *' instead of 'Super_t'.
  826. 2010-12-15 Nicola Pero <nicola.pero@meta-innovation.com>
  827. * objc/message.h: Update comments, reindented code and moved
  828. deprecated types and functions at the end of the file. No code
  829. changes.
  830. 2010-12-15 Nicola Pero <nicola.pero@meta-innovation.com>
  831. * ivars.c (class_addIvar): Use the 'size' argument instead of
  832. trying to calculate it using objc_sizeof_type().
  833. * objc/runtime.h (class_addIvar): Updated comments.
  834. 2010-12-15 Nicola Pero <nicola.pero@meta-innovation.com>
  835. * sendmsg.c: Reindented some code and tidied up comments. No
  836. actual code changes.
  837. 2010-12-14 Nicola Pero <nicola.pero@meta-innovation.com>
  838. * objc/Object.h: Moved all the methods, with the exception of
  839. -class and -isEqual:, into ...
  840. * objc/deprecated/Object.h: here.
  841. * Object.m: Moved all the methods, with the exception of -class
  842. and -isEqual: into the 'Deprecated' category.
  843. 2010-12-14 Nicola Pero <nicola.pero@meta-innovation.com>
  844. * objects.c (object_copy): Do not #undef as we are no longer
  845. including objc/objc-api.h.
  846. * selector.c: Include objc/runtime.h and
  847. objc-private/module-abi-8.h. Do not include objc/objc-api.h and
  848. objc/encoding.h. Updated
  849. (__objc_register_selectors_from_class): Use struct
  850. objc_method_list * instead of MethodList_t.
  851. (__objc_register_selectors_from_list): Use Method instead of
  852. Method_t.
  853. (struct objc_method_description_list): Do not define here.
  854. (__objc_register_instance_methods_to_class): Use struct
  855. objc_method_list * instead of MethodList_t and Method instead of
  856. Method_t.
  857. 2010-12-14 Nicola Pero <nicola.pero@meta-innovation.com>
  858. * selector.c: Reindented some code and tidied up comments. No
  859. actual code changes.
  860. 2010-12-13 Iain Sandoe <iains@gcc.gnu.org>
  861. * encoding.c (_darwin_rs6000_special_round_type_align): New.
  862. (darwin_rs6000_special_round_type_align): Adjust to use new routine.
  863. 2010-12-11 Nicola Pero <nicola.pero@meta-innovation.com>
  864. * sendmsg.c (selector_resolveClassMethod): New.
  865. (selector_resolveInstanceMethod): New.
  866. (__objc_resolve_class_method): New.
  867. (__objc_resolve_instance_method): New.
  868. (get_imp): Call __objc_resolve_class_method or
  869. __objc_resolve_instance_method at the appropriate time.
  870. (objc_msg_lookup): Same.
  871. (class_getClassMethod): Same.
  872. (class_getInstanceMethod): Same.
  873. (__objc_init_dispatch_tables): Initialize
  874. selector_resolveClassMethod and selector_resolveInstanceMethod.
  875. * objc/runtime.h: Updated documentation of class_getClassMethod,
  876. class_getInstanceMethod and class_getMethodImplementation.
  877. 2010-12-11 Nicola Pero <nicola.pero@meta-innovation.com>
  878. * objc-private/module-abi-8.h (struct objc_symtab): Updated
  879. description of sel_ref_cnt and refs.
  880. * objc/deprecated/struct_objc_symtab.h (objc_symtab): Same change.
  881. 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com>
  882. PR target/40125
  883. PR lto/46695
  884. * configure.ac (extra_ldflags_libobjc): Invoke ACX_LT_HOST_FLAGS.
  885. * Makefile.in (lt_host_flags): Import AC_SUBST'd value.
  886. * aclocal.m4: Regenerate.
  887. * configure: Regenerate.
  888. 2010-12-03 Matthias Klose <doko@ubuntu.com>
  889. * configure.ac (VERSION): Bump the version to 3:0:0.
  890. * configure: Regenerate.
  891. 2010-11-23 Richard Frith-Macdonald <rfm@gnu.org>
  892. * sendmsg.c (get_imp): Fixed call to __objc_get_forward_imp to
  893. pass nil as the receiver since we don't know the receiver at this
  894. point.
  895. 2010-11-18 Nicola Pero <nicola.pero@meta-innovation.com>
  896. * ivars.c: Include stdlib.h.
  897. * protocols.c: Same change.
  898. 2010-10-24 Nicola Pero <nicola.pero@meta-innovation.com>
  899. * Makefile.in (OBJC_SOURCE_FILES): Added accessors.m.
  900. * accessors.m: New.
  901. * init.c: Include objc-private/accessors.h.
  902. (__objc_exec_class): Call __objc_accessors_init.
  903. * objc-private/accessors.h: New.
  904. 2010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
  905. * objc/message.h: Moved initial includes outside of extern "C".
  906. * objc/runtime.h: Add extern "C" for Objective-C++.
  907. 2010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
  908. * init.c (objc_send_load): Do not wait for NXConstantString to be
  909. registered before executing +load. There is no point if
  910. -fconstant-string-class=xxx is used when compiling all modules,
  911. as is the case for almost all users.
  912. * linking.m (__objc_linking): Do not try to forcefully link in
  913. NXConstantString.
  914. 2010-10-16 Nicola Pero <nicola.pero@meta-innovation.com>
  915. * objc/runtime.h: Updated comments.
  916. (class_addMethod): New.
  917. (class_addIvar): New.
  918. (class_replaceMethod): New.
  919. (objc_allocateClassPair): New.
  920. (objc_registerClassPair): New.
  921. (objc_disposeClassPair): New.
  922. * class.c (objc_allocateClassPair): New.
  923. (objc_registerClassPair): New.
  924. (objc_disposeClassPair): New.
  925. (class_getSuperclass): Return Nil if a class is in construction.
  926. * init.c (__objc_exec_class): Call __objc_init_class.
  927. (__objc_init_class): New.
  928. * ivars.c (class_copyIvarList): Return NULL if class is in
  929. construction. Do not lock the runtime mutex.
  930. (class_getInstanceVariable): Return NULL if class is in
  931. construction. Do not lock the runtime mutex.
  932. (class_addIvar): New.
  933. * sendmsg.c (class_addMethod): New.
  934. (class_replaceMethod): New.
  935. * objc-private/module-abi-8.h (__CLS_SETNOTINFO): New.
  936. (_CLS_IN_CONSTRUCTION): New.
  937. (CLS_IS_IN_CONSTRUCTION): New.
  938. (CLS_SET_IN_CONSTRUCTION): New.
  939. (CLS_SET_NOT_IN_CONSTRUCTION): New.
  940. * objc-private/runtime.h (__objc_init_class): New.
  941. 2010-10-16 Nicola Pero <nicola.pero@meta-innovation.com>
  942. * class.c (class_getSuperclass): Call __objc_resolve_class_links
  943. if the class is not resolved yet.
  944. * ivars.c (class_getInstanceVariable): Use class_getSuperclass.
  945. 2010-10-16 Nicola Pero <nicola.pero@meta-innovation.com>
  946. * objc/runtime.h (class_getIvarLayout): New.
  947. (class_getWeakIvarLayout): New.
  948. (class_setIvarLayout): New.
  949. (class_setWeakIvarLayout): New.
  950. * ivars.c (class_getIvarLayout): New.
  951. (class_getWeakIvarLayout): New.
  952. (class_setIvarLayout): New.
  953. (class_setWeakIvarLayout): New.
  954. 2010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
  955. * objc/runtime.h (class_copyPropertyList): New.
  956. (class_getProperty): New.
  957. (property_getAttributes): New.
  958. (property_getName): New.
  959. * ivars.c (class_copyPropertyList): New.
  960. (class_getProperty): New.
  961. (property_getAttributes): New.
  962. (property_getName): New.
  963. 2010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
  964. * objc-private/runtime.h (__objc_update_classes_with_methods): New.
  965. * class.c (__objc_update_classes_with_methods): New.
  966. (objc_getClassList): Do not lock the class lock.
  967. * methods.c (method_exchangeImplementations): New.
  968. (method_setImplementation): New.
  969. * objc/runtime.h (method_setImplementation): New.
  970. (method_exchangeImplementations): New.
  971. 2010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
  972. * Protocol.m: Include objc/runtime.h and
  973. objc-private/module-abi-8.h instead of objc/objc-api.h. Do not
  974. repeat Protocol's instance variables.
  975. (struct objc_method_description_list): Do not define here.
  976. ([-conformsTo:]): Reimplemented on top of protocol_conformsTo().
  977. ([descriptionForInstanceMethod:]): Use sel_isEqual() to compare
  978. selectors directly instead of getting names and then using strcmp.
  979. ([descriptionForClassMethod:]): Same change.
  980. ([-isEqual:]): Reimplemented on top of protocol_isEqual().
  981. * protocols.c (protocol_getMethodDescription): Use sel_isEqual()
  982. to compare selectors directly instead of getting names and then
  983. using strcmp.
  984. * objc/Protocol.h: Updated comments.
  985. 2010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
  986. * init.c (__objc_init_protocol): New function which fixes up a
  987. protocol's class pointer, registers it with the runtime, register
  988. all protocol selectors and registers associated protocols too.
  989. (objc_init_statics): Detect if we are initializing protocols, and
  990. if so, use __objc_init_protocol instead of only fixing up the
  991. class pointer.
  992. (__objc_init_protocls): Use __objc_init_protocol.
  993. * objc-private/module-abi-8.h: Updated comments.
  994. * objc-private/runtime.h
  995. (__objc_register_selectors_from_description_list): New.
  996. * selector.c (__objc_register_selectors_from_description_list):
  997. New. (struct objc_method_description_list): Declare.
  998. * Protocol.m ([-descriptionForInstanceMethod:]): Use sel_get_name
  999. when accessing the name of a method, which is now correctly a SEL.
  1000. ([-descriptionForClassMethod:]): Same change.
  1001. * protocols.c (protocol_getMethodDescription): Same change.
  1002. * objc/runtime.h: Updated comments.
  1003. (sel_registerTypedName): Fixed typo in function name.
  1004. 2010-10-13 Nicola Pero <nicola.pero@meta-innovation.com>
  1005. PR libobjc/23214
  1006. * init.c (objc_init_statics): Do not skip the initialization of a
  1007. statics list if the first object has already been initialized; in
  1008. the case of Protocols, while the first one may have been
  1009. initialized, some others may not have been initialized yet.
  1010. 2010-10-13 Nicola Pero <nicola.pero@meta-innovation.com>
  1011. * Makefile.in (OBJC_DEPRECATED_H): Added
  1012. objc_get_uninstalled_dtable, objc_object_alloc.h and
  1013. struct_objc_static_instances.h.
  1014. 2010-10-13 Nicola Pero <nicola.pero@meta-innovation.com>
  1015. * encoding.c (method_copyReturnType): New.
  1016. (method_copyArgumentType): New.
  1017. (method_getReturnType): New.
  1018. (method_getArgumentType): New.
  1019. * methods.c (method_getDescription): New.
  1020. * objc/runtime.h (method_copyReturnType): New.
  1021. (method_copyArgumentType): New.
  1022. (method_getReturnType): New.
  1023. (method_getArgumentType): New.
  1024. (method_getDescription): New.
  1025. 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
  1026. * encoding.c: Tidied up comments.
  1027. (objc_skip_variable_name): New static inline function.
  1028. (objc_sizeof_type): Use objc_skip_variable_name instead of copying
  1029. the same code over and over.
  1030. (objc_alignof_type): Same.
  1031. (objc_aligned_size): Same.
  1032. (objc_promoted_size): Same.
  1033. (objc_skip_typespec): Same.
  1034. (objc_layout_structure_next_member): Same.
  1035. (objc_skip_offset): Skip a '-' before the digits (if any). Fixed
  1036. historical bug where objc_skip_offset would skip one byte even if
  1037. there is no offset: check that the first offset digit is actually
  1038. a digit before skipping it.
  1039. (objc_skip_type_qualifiers): Mark as inline.
  1040. (objc_skip_typespec): Mark as inline.
  1041. 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
  1042. * Makefile.in (C_SOURCE_FILES): Added methods.c.
  1043. * encoding.c (method_getNumberOfArguments): New.
  1044. (method_get_number_of_arguments): Call
  1045. method_getNumberOfArguments.
  1046. * ivars.c (ivar_getName): Check for NULL variable argument.
  1047. (ivar_getOffset): Check for NULL variable argument.
  1048. (ivar_getTypeEncoding): Check for NULL variable argument.
  1049. (class_copyIvarList): New.
  1050. * methods.c: New.
  1051. * protocols.c (class_copyProtocolList): Check for Nil class_
  1052. argument.
  1053. * sendmsg.c: Use 'struct objc_method *' instead of Method_t, and
  1054. 'struct objc_method_list *' instead of MethodList_t.
  1055. (class_getMethodImplementation): New.
  1056. (class_respondsToSelector): New.
  1057. (class_getInstanceMethod): New.
  1058. (class_getClassMethod): New.
  1059. * objc/runtime.h: Updated comments.
  1060. (class_copyIvarList): New.
  1061. (class_getInstanceMethod): New.
  1062. (class_getClassMethod): New.
  1063. (class_getMethodImplementation): New.
  1064. (class_respondsToSelector): New.
  1065. (method_getName): New.
  1066. (method_getImplementation): New.
  1067. (method_getTypeEncoding): New.
  1068. (class_copyMethodList): New.
  1069. (method_getNumberOfArguments): New.
  1070. 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
  1071. * class.c: Include objc/runtime.h and objc-private/module-abi-8.h
  1072. instead of objc/objc-api.h.
  1073. (objc_get_unknown_class_handler): Do not define.
  1074. (class_isMetaClass): New.
  1075. (class_getSuperclass): New.
  1076. (class_getVersion): New.
  1077. (class_setVersion): New.
  1078. (class_getInstanceSize): New.
  1079. * exceptions.c: Include objc/runtime.h instead of objc/objc-api.h.
  1080. (is_kind_of_exception_matcher): Use objc_getSuperclass instead of
  1081. objc_get_super_class.
  1082. (get_ttype_entry): Use objc_getRequiredClass instead of
  1083. objc_get_class.
  1084. * ivars.c (class_getClassVariable): New.
  1085. * objects.c: Include objc/runtime.h, objc/thr.h and
  1086. objc-private/module-abi-8.h instead of objc/objc-api.h
  1087. * objc/runtime.h (class_getClassVariable): New.
  1088. (class_isMetaClass): New.
  1089. (class_getSuperclass): New.
  1090. (class_getVersion): New.
  1091. (class_setVersion): New.
  1092. (class_getInstanceSize): New.
  1093. * objc-private/module-abi-8.h (HOST_BITS_PER_LONG): New (from
  1094. objc/objc-api.h)
  1095. (__CLS_INFO): Same.
  1096. (__CLS_ISINFO): Same.
  1097. (__CLS_SETINFO): Same.
  1098. (CLS_ISMETA): Same.
  1099. (CLS_ISCLASS): Same.
  1100. (CLS_ISRESOLV): Same.
  1101. (CLS_SETRESOLV): Same.
  1102. (CLS_ISINITIALIZED): Same.
  1103. (CLS_SETINITIALIZED): Same.
  1104. (CLS_GETNUMBER): Same.
  1105. (CLS_SETNUMBER): Same.
  1106. 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
  1107. * archive.c: Do not include objc/objc.h.
  1108. * class.c: Do not include objc/objc.h.
  1109. * encoding.c: Include objc/runtime.h, ctype.h and
  1110. objc-private/module-abi-8.h instead of objc/objc-api.h and
  1111. objc/encoding.h.
  1112. * error.c: Do not include objc/objc.h.
  1113. * gc.c: Include tconfig.h and objc/encoding.h only if
  1114. OBJC_WITH_GC.
  1115. * hash.c: Include objc/runtime.h and objc/thr.h instead of
  1116. objc/objc-api.h. Do not include objc/objc.h.
  1117. * init.c: Do not include objc/objc.h.
  1118. * ivars.c: Include objc/runtime.h, objc-private/module-abi-8.h and
  1119. objc/thr.h instead of objc/objc-api.h. Do not include
  1120. objc/objc.h.
  1121. * linking.m: Tidied comment.
  1122. * memory.c: Include objc/runtime.h instead of objc/objc-api.h.
  1123. Do not include objc/objc.h.
  1124. * objects.c: Do not include objc/objc.h.
  1125. * objc-sync.c: Include objc/runtime.h instead of objc/objc-api.h.
  1126. * protocols.c: Do not include objc/objc.h.
  1127. * sarray.c: Include objc/runtime.h instead of objc/objc-api.h. Do
  1128. not include objc/objc.h.
  1129. * selector.c: Do not include objc/objc.h.
  1130. * sendmsg.c: Do not include objc/objc.h.
  1131. * thr.c: Include objc/runtime.h instead of objc/objc-api.h.
  1132. Do not include objc/objc.h.
  1133. * objc/objc-decls.h: Reindented code.
  1134. * objc/runtime.h Include objc-decls.h. Updated comments.
  1135. (objc_malloc): New.
  1136. (objc_atomic_malloc): New.
  1137. (objc_calloc): New.
  1138. (objc_realloc): New.
  1139. (objc_free): New.
  1140. * objc-private/runtime.h: Updated comments.
  1141. 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
  1142. * Makefile.in (C_SOURCE_FILES): Added protocols.c.
  1143. * objc-private/protocols.h: New.
  1144. * protocols.c: New.
  1145. * init.c: Include objc-private/protocols.h.
  1146. (__objc_exec_class): Call __objc_protocols_init on startup.
  1147. (__objc_init_protocols): Call __objc_protocols_add_protocol.
  1148. * objc-private/runtime.h: Use (struct objc_method_list *) instead
  1149. of MethodList_t, and (struct objc_method *) instead of Method_t.
  1150. * objc/deprecated/struct_objc_class.h: Define
  1151. __objc_STRUCT_OBJC_CLASS_defined.
  1152. * objc-private/module-abi-8.h (struct
  1153. objc_method_description_list): New.
  1154. (struct objc_class): Only define if
  1155. __objc_STRUCT_OBJC_CLASS_defined is undefined.
  1156. * objc/runtime.h (class_getName): New.
  1157. (objc_getProtocol): New.
  1158. (objc_copyProtocolList): New.
  1159. (class_addProtocol): New.
  1160. (class_conformsToProtocol): New.
  1161. (class_copyProtocolList): New.
  1162. (protocol_conformsToProtocol): New.
  1163. (protocol_isEqual): New.
  1164. (protocol_getName): New.
  1165. (protocol_getMethodDescription): New.
  1166. (protocol_copyMethodDescriptionList): New.
  1167. (protocol_getProperty): New.
  1168. (protocol_copyPropertyList): New.
  1169. (protocol_copyProtocolList): New.
  1170. * class.c (class_getName): New.
  1171. * selector.c (sel_isEqual): New.
  1172. 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
  1173. * selector.c (sel_getName): Return "<null selector>" for a NULL
  1174. argument.
  1175. (sel_get_name): Return 0 for a NULL argument.
  1176. * objc/runtime.h (sel_getName): Updated documentation.
  1177. * objc-private/hash.h (class_hash_table): Unused declaration
  1178. removed.
  1179. (module_hash_table): Same.
  1180. * objc/deprecated/hash.h: Same changes.
  1181. 2010-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
  1182. * class.c (objc_getClassList): New.
  1183. (objc_getRequiredClass): New.
  1184. (objc_getMetaClass): New.
  1185. (objc_lookupClass): New.
  1186. (objc_getClass): New.
  1187. (__objc_get_unknown_class_handler): New.
  1188. (objc_setGetUnknownClassHandler): New.
  1189. (objc_get_class): Use __objc_get_unknown_class_handler.
  1190. (objc_lookup_class): Call objc_getClass.
  1191. * objc/objc-api.h: Updated comment and copyright notice.
  1192. * objc/runtime.h: Updated comments.
  1193. (objc_getClass): New.
  1194. (objc_lookupClass): New.
  1195. (objc_getMetaClass): New.
  1196. (objc_getRequiredClass): New.
  1197. (objc_getClassList): New.
  1198. (objc_setGetUnknownClassHandler): New.
  1199. (objc_get_unknown_class_handler): New.
  1200. * objc-private/runtime.h: Use __objc_private_runtime_INCLUDE_GNU
  1201. instead of __objc_runtime_INCLUDE_GNU as include guard.
  1202. * objc-private/error.h (_objc_abort): Mark as noreturn.
  1203. 2010-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
  1204. * Makefile.in (C_SOURCE_FILES): Added ivars.c.
  1205. * ivars.c: New.
  1206. * objc/objc.h: Updated comments.
  1207. * objc/runtime.h (object_getClass): New.
  1208. (object_getClassName): New.
  1209. (object_setClass): New.
  1210. (class_getInstanceVariable): New.
  1211. (object_getIndexedIvars): New.
  1212. (object_getInstanceVariable): New.
  1213. (object_setInstanceVariable): New.
  1214. (object_getIvar): New.
  1215. (object_setIvar): New.
  1216. (ivar_getName): New.
  1217. (ivar_getOffset): New.
  1218. (ivar_getTypeEncoding): New.
  1219. * objc-private/module-abi-8.h (struct objc_class): Added.
  1220. * objects.c (object_getClassName): New.
  1221. (object_setClass): New.
  1222. 2010-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
  1223. * objc/objc.h: Updated comments.
  1224. * objc/objc-api.h: (object_copy): Added one argument; use a
  1225. #define to maintain backwards-compatibility. Moved
  1226. _objc_object_alloc, _objc_object_copy, _objc_object_dispose and
  1227. objc_get_uninstalled_dtable into
  1228. objc/deprecated/objc_get_uninstalled_dtable.h and
  1229. objc/deprecated/objc_object_alloc.h. Include these files.
  1230. * objc/deprecated/objc_get_uninstalled_dtable.h: New.
  1231. * objc/deprecated/objc_object_alloc.h: New.
  1232. * objc/runtime.h (set_getName): New.
  1233. (sel_getType): New.
  1234. (sel_getUid): New.
  1235. (sel_registerName): New.
  1236. (sel_registerTypedName): New.
  1237. (sel_isEqual): New.
  1238. (class_createInstance): New.
  1239. (object_copy): New.
  1240. (object_dispose): New.
  1241. * objects.c: Do not include tconfig.h. Include gc_typed.h if
  1242. building the garbage collection version.
  1243. (__objc_object_alloc): Removed.
  1244. (__objc_object_copy): Removed.
  1245. (__objc_object_dispose): Removed.
  1246. (class_createInstance): New from code in class_create_instance.
  1247. Cast second argument of GC_malloc_explicitly_typed. Use
  1248. objc_calloc. Do not call _objc_object_alloc.
  1249. (class_create_instance): Call class_createInstance.
  1250. (object_copy): Added extraBytes argument. Do not call
  1251. _objc_object_copy.
  1252. (object_dispose): Do not call _objc_object_dispose.
  1253. * memory.c (objc_free): When using garbage collection, mark the
  1254. argument as unused.
  1255. * selector.c (sel_getName): New.
  1256. (sel_get_name): Call sel_getName.
  1257. (sel_getType): New.
  1258. (sel_get_type): Call sel_getType.
  1259. (sel_registerName): New.
  1260. (sel_register_name): Call sel_registerName.
  1261. (sel_registerTypedName): New.
  1262. (sel_register_typed_name): Call sel_registerTypedName.
  1263. (sel_getUid): New.
  1264. (sel_get_uid): Call sel_getUid.
  1265. 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
  1266. * objc/objc-api.h: Define Method, Method_t, Category and
  1267. Category_t. Prevent including this file at the same time as
  1268. objc/runtime.h. Updated comments.
  1269. * objc/deprecated/struct_objc_method.h: Do not define Method,
  1270. Method_t.
  1271. * objc/deprecated/struct_objc_category.h: Do not define Category,
  1272. Category_t.
  1273. * objc-private/module-abi-8.h: New file containing a copy of all
  1274. the structure definitions. Not used yet.
  1275. * objc/encoding.h (objc_aligned_size): Removed duplicate
  1276. declaration. Updated comments.
  1277. * objc/runtime.h: Added Ivar, objc_property_t, Property, Method,
  1278. Category, struct objc_method_description, _C_ID and similar,
  1279. _C_CONST and similar and _F_CONST and similar. Added
  1280. objc_sizeof_type, objc_alignof_type, objc_aligned_size,
  1281. objc_promoted_size, objc_skip_type_qualifier, objc_skip_typespec,
  1282. objc_skip_offset, objc_skip_argspec, objc_get_type_qualifiers,
  1283. struct objc_struct_layout, objc_layout_structure,
  1284. objc_layout_structure_next_member, objc_layout_finish_structure,
  1285. objc_layout_structure_get_info. Prevent including this file at
  1286. the same time as objc/objc-api.h.
  1287. 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
  1288. * Makefile.in (OBJC_DEPRECATED_H): Added struct_objc_category.h,
  1289. struct_objc_ivar.h, struct_objc_ivar_list.h, struct_objc_method.h,
  1290. struct_objc_method_list.h, struct_objc_module.h,
  1291. struct_objc_protocol_list.h, struct_objc_symtab.h.
  1292. * objc/deprecated/struct_objc_category.h: New.
  1293. * objc/deprecated/struct_objc_ivar.h: New.
  1294. * objc/deprecated/struct_objc_ivar_list.h: New.
  1295. * objc/deprecated/struct_objc_method.h: New.
  1296. * objc/deprecated/struct_objc_method_list.h: New.
  1297. * objc/deprecated/struct_objc_module.h: New.
  1298. * objc/deprecated/struct_objc_protocol_list.h: New.
  1299. * objc/deprecated/struct_objc_symtab.h: New.
  1300. * objc/deprecated/struct_objc_static_instances.h: New.
  1301. * objc/objc-api.h: Definitions of deprecated structures moved into
  1302. the above header fragment files in objc/deprecated/. Include the
  1303. files instead of definition the structures here. Updated
  1304. comments.
  1305. * objc/runtime.h: Updated comments. Do not include objc-api.h.
  1306. (objc_set_enumeration_mutation_handler): Renamed to
  1307. objc_setEnumerationMutationHandler.
  1308. * objc-foreach.c (objc_set_enumeration_mutation_handler): Renamed
  1309. to objc_setEnumerationMutationHandler.
  1310. * objc/objc-exception.h (objc_set_exception_matcher): Renamed to
  1311. objc_setExceptionMatcher.
  1312. (objc_set_uncaught_exception_handler): Renamed to
  1313. objc_setUncaughtExceptionHandler.
  1314. * exception.c: Same changes.
  1315. 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
  1316. * objc-sync.c: Include objc-private/common.h.
  1317. 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
  1318. * objc-foreach.c: Include objc-private/common.h.
  1319. * objc/deprecated/METHOD_NULL.h: New file.
  1320. * objc/objc-api.h: Include deprecated/METHOD_NULL.h instead of
  1321. defining METHOD_NULL here.
  1322. * Makefile.in (OBJC_DEPRECATED_H): Added METHOD_NULL.h.
  1323. * Object.m ([+instancesRespondTo:]): Use (Method_t)0 instead of
  1324. METHOD_NULL.
  1325. ([-respondsTo:]): Same change.
  1326. * objc/objc-api.h (method_get_imp): Converted it into a normal
  1327. function so that we can hide the internals of struct objc_method.
  1328. * sendmsg.c (method_get_imp): Implemented.
  1329. 2010-10-09 Nicola Pero <nicola.pero@meta-innovation.com>
  1330. * objc/objc-api.h (struct objc_super, Super, Super_t,
  1331. objc_msg_lookup_super, objc_msg_sendv, objc_msg_forward,
  1332. objc_msg_forward2): Declarations moved to objc/message.h. Include
  1333. message.h here.
  1334. * objc/message.h: Added such declarations; updated comments.
  1335. 2010-10-06 Nicola Pero <nicola.pero@meta-innovation.com>
  1336. Implemented fast enumeration for Objective-C.
  1337. * Makefile.in (C_SOURCE_FILES): Added objc-foreach.c.
  1338. (OBJC_H): Added runtime.h
  1339. * objc-foreach.c: New file.
  1340. * objc/runtime.h: New file.
  1341. 2010-09-30 Kai Tietz <kai.tietz@onevision.com>
  1342. * objc/deprecated/struct_objc_class.h: Add padding
  1343. to avoid warning with -Wpadded.
  1344. 2010-09-26 Nicola Pero <nicola.pero@meta-innovation.com>
  1345. * encoding.c (objc_sizeof_type): Added support for vector type and
  1346. for double long types.
  1347. (objc_alignof_type): Same change.
  1348. (objc_skip_typespec): Same change.
  1349. * objc/encoding.h (_C_GCINVISIBLE): Use '|' for _C_GCINVISIBLE
  1350. instead of '!' since '!' is already used for _C_VECTOR.
  1351. * objc/objc-api.h (_C_LNG_DBL): Added.
  1352. 2010-09-26 Nicola Pero <nicola.pero@meta-innovation.com>
  1353. * libobjc_entry.c: File removed.
  1354. 2010-09-26 Kai Tietz <kai.tietz@onevision.com>
  1355. * sendmsg.c (objc_msg_lookup): Remove inline.
  1356. (objc_get_uninstalled_dtable): Likewise.
  1357. * encoding.c (objc_skip_type_qualifiers): Likewise.
  1358. (objc_skip_offset): Likewise.
  1359. * archive.c (__objc_write_object): Likewise
  1360. (__objc_write_class):
  1361. (__objc_write_selector):
  1362. (objc_read_char):
  1363. (objc_read_unsigned_char):
  1364. (objc_read_short):
  1365. (objc_read_unsigned_short):
  1366. (objc_read_int):
  1367. (objc_read_long):
  1368. (__objc_read_nbyte_uint):
  1369. (objc_read_unsigned_int):
  1370. (objc_read_unsigned_long):
  1371. * objc/objc-decls.h (obc_EXPORT): Remove dllexport for DLL_EXPORT case.
  1372. (objc_EXPORT): Likewise.
  1373. * objc/message.h (objc-decls.h): Add include.
  1374. * objc/objc-api.h: Mark API by objc_EXPORT.
  1375. * libobjc.def (__objc_responds_to): Removed.
  1376. 2010-09-18 Nicola Pero <nicola.pero@meta-innovation.com>
  1377. * hash.c: Include objc-private/hash.h instead of objc/hash.h.
  1378. * objc/sarray.h: Moved into objc/deprecated/sarray.h;
  1379. objc/sarray.h replaced with a placeholder including the file from
  1380. the deprecated/ directory.
  1381. * objc-private/sarray.h: New file (private copy of sarray.h).
  1382. * hash.c: Include <assert.h> instead of "assert.h"
  1383. * sarray.c: Include <assert.h> instead of "assert.h". Include
  1384. objc-private/sarray.h instead of objc/sarray.h.
  1385. * selector.c: Include objc-private/sarray.h instead of
  1386. objc/sarray.h.
  1387. * sendmsg.c: Include <assert.h>. Include objc-private/sarray.h
  1388. instead of objc/sarray.h.
  1389. * Makefile.in (OBJC_DEPRECATED_H): Added sarray.h.
  1390. 2010-09-17 Nicola Pero <nicola.pero@meta-innovation.com>
  1391. * objc-private/objc-list.h (list_remove_elem): Unused function
  1392. removed. (list_nth): Unused function removed. (list_find):
  1393. Unused function removed. (list_lenght): Unused function removed.
  1394. 2010-09-17 Nicola Pero <nicola.pero@meta-innovation.com>
  1395. * objc/hash.h: Moved into objc/deprecated/hash.h; objc/hash.h
  1396. replaced with a placeholder including the file from the
  1397. deprecated/ directory.
  1398. * objc/objc-api.h: Updated includes.
  1399. * objc/typedstream.h: Updated includes.
  1400. * objc-private/hash.h: New file (private copy of hash.h).
  1401. * objc/objc-list.h: Moved into objc/deprecated/objc-list.h;
  1402. objc/objc-list.h replaced with a placeholder including the file
  1403. from the deprecated/ directory.
  1404. * objc-private/objc-list.h: New file (private copy of objc-list.h).
  1405. * init.c: Include objc-private/hash.h and objc-private/objc-list.h
  1406. instead of objc/hash.h and objc/objc-list.h.
  1407. * selector.c: Same change.
  1408. * class.c: Added include <string.h>, which used to be implicitly included
  1409. when hash.h was included.
  1410. * exception.c: Same change.
  1411. * objects.c: Same change.
  1412. * sarray.c: Same change.
  1413. * sendmsg.c: Same change.
  1414. * Makefile.in (OBJC_DEPRECATED_H): Added hash.h and objc-list.h.
  1415. 2010-09-14 Nicola Pero <nicola.pero@meta-innovation.com>
  1416. Implemented objc_sync_enter() and objc_sync_exit(), which are
  1417. required by @synchronized() to work.
  1418. * objc-sync.c: New file.
  1419. * objc/objc-sync.h: New file.
  1420. * objc-private/objc-sync.h: New file.
  1421. * init.c (__objc_exec_class): Call __objc_sync_init() during the
  1422. Objective-C runtime startup.
  1423. * Makefile.in: Added objc-sync.c and objc-sync.h.
  1424. * configure.ac: Added GCC_CHECK_TLS.
  1425. * acinclude.m4: Include ../config/enable.m4 and ../config/tls.m4.
  1426. * configure: Regenerated.
  1427. * config.h.in: Regenerated.
  1428. 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
  1429. * Makefile.in (%_gc.lo): New pattern rules to build the
  1430. garbage-collected version of the library. Removed rules for
  1431. specific files that are no longer needed. Standardized all rules.
  1432. (C_SOURCE_FILES, OBJC_SOURCE_FILES): New variables.
  1433. (OBJS, OBJS_GC): Compute these from C_SOURCE_FILES and
  1434. OBJC_SOURCE_FILES.
  1435. (INCLUDES): Removed the unused include -I$(srcdir)/objc.
  1436. 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
  1437. * memory.c (objc_calloc): Fixed call to GC_malloc when building
  1438. with Garbage Colletion.
  1439. 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
  1440. * memory.c: Do not include objc-private/runtime.h.
  1441. 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
  1442. * objc/deprecated/objc_malloc.h: New file.
  1443. * objc/deprecated/objc_valloc.h: New file.
  1444. * objc/objc-api.h: Include the files instead of defining
  1445. objc_valloc, _objc_malloc() and similar.
  1446. * Makefile.in (OBJC_DEPRECATED_H): Added objc_valloc.h and
  1447. objc_malloc.h.
  1448. * memory.c: Removed the extra layer of indirection of _objc_malloc
  1449. and similar.
  1450. (objc_calloc): Use GC_malloc in the garbage-collected
  1451. implementation as GC_malloc returns memory that is already freed.
  1452. (objc_valloc): Deprecated.
  1453. 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
  1454. * objc/deprecated/objc_error.h: New file.
  1455. * objc/objc-api.h: Include deprecated/objc_error.h instead of
  1456. defining objc_error and related.
  1457. * error.c: New file. Added _objc_abort function which replaces
  1458. objc_error. No change in functionality as they both print an
  1459. error and abort.
  1460. * misc.c: File removed. Code moved into memory.c and error.c.
  1461. * memory.c: New file.
  1462. * objc-private/error.h: New file.
  1463. * archive.c: Include objc-private/error.h and use _objc_abort
  1464. instead of objc_error everywhere.
  1465. * class.c: Same change.
  1466. * encoding.c: Same change.
  1467. * init.c: Same change, and simplified init_check_module_version.
  1468. * memory.c: Same change.
  1469. * sendmsg.c: Same change.
  1470. * thr.c: Same change.
  1471. * Makefile.in (OBJ_DEPRECATED_H): Added objc_error.h.
  1472. (OBJ_H): Reordered list.
  1473. (OBJS): Removed misc.lo, added memory.lo and error.lo.
  1474. (OBJS_GC): Removed misc_gc.lo, added memory_gc.lo and error_gc.lo.
  1475. (misc_gc.lo): Rule removed.
  1476. (error_gc.lo): Rule added.
  1477. (memory_gc.lo): Rule added.
  1478. 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
  1479. * objc/objc.h (__GNU_LIBOBJC__): New #define providing an easy way
  1480. to check the API version. Added some comments.
  1481. * objc-private/common.h: New file.
  1482. * NXConstStr.m: Include objc-private/common.h.
  1483. * Object.m: Same change.
  1484. * Protocol.m: Same change.
  1485. * archive.c: Same change.
  1486. * class.c: Same change.
  1487. * encoding.c: Same change.
  1488. * exception.c: Same change.
  1489. * gc.c: Same change.
  1490. * hash.c: Same change.
  1491. * init.c: Same change.
  1492. * libobjc_entry.c: Same change.
  1493. * linking.m: Same change.
  1494. * misc.c: Same change (and added a comment).
  1495. * nil_method.c: Same change.
  1496. * objects.c: Same change.
  1497. * sarray.c: Same change.
  1498. * selector.c: Same change.
  1499. * sendmsg.c: Same change.
  1500. * thr.c: Same change.
  1501. 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
  1502. * objc/objc-api.h: Removed obsolete #ifdef for NeXTSTEP.
  1503. 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
  1504. * archive.c: Removed not needed includes.
  1505. * class.c: Same change.
  1506. * hash.c: Same change.
  1507. * misc.c: Same change.
  1508. * nil_method.c: Same change.
  1509. * objects.c: Same change.
  1510. * sarray.c: Same change.
  1511. * sendmsg.c: Same change.
  1512. * thr.c: Same change.
  1513. 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
  1514. * objc/runtime.h: Moved to objc-private/runtime.h. Do not include
  1515. all the objc/*.h files.
  1516. * objc-private/runtime.h: New file.
  1517. * archive.c: Include objc-private/runtime.h (and required objc/*.h
  1518. files) instead of objc/runtime.h.
  1519. * class.c: Same change.
  1520. * hash.c: Same change.
  1521. * init.c: Same change.
  1522. * misc.c: Same change.
  1523. * nil_method.c: Same change.
  1524. * objects.c: Same change.
  1525. * sarray.c: Same change.
  1526. * selector.c: Same change.
  1527. * sendmsg.c: Same change.
  1528. * thr.c: Same change.
  1529. 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
  1530. * objc/deprecated/struct_objc_selector.h: New file. Definition of
  1531. 'struct objc_selector' and 'sel_eq' moved here.
  1532. * objc/deprecated/struct_objc_protocol.h: New file. Definition of
  1533. 'struct objc_procotol' moved here.
  1534. * objc/deprecated/struct_objc_class.h: New file. Definition of
  1535. 'struct objc_class' moved here.
  1536. * objc/deprecated/MetaClass.h: New file. Definition of MetClass
  1537. moved here.
  1538. * objc/deprecated/STR.h: New file. Definition of STR moved here.
  1539. * objc/message.h: New file. Definitions for relval_t, apply_t,
  1540. arglist, arglist_t and objc_msg_lookup were moved here.
  1541. * objc/objc.h: Include the above files instead of defining the
  1542. corresponding structs, types and functions here. Added new opaque
  1543. definitions for SEL and Class. Use Class and not 'struct
  1544. objc_class *' in the definition of 'struct objc_object'.
  1545. Commented all types defined in the file. Removed special
  1546. definition of BOOL as 'int' on __vxworks; use 'unsigned char'
  1547. there as well.
  1548. * objc/deprecated/objc-unexpected-exception.h: Renamed to
  1549. objc_unexpected_exception.h.
  1550. * objc/objc-api.h: Updated include of
  1551. objc-unexpetected-exception.h
  1552. * objc/objc-exception.h: Updated comments.
  1553. * Makefile.in (OBJC_H, OBJC_DEPRECATED_H): Added the new header
  1554. files. Reindented list of files.
  1555. 2010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
  1556. * objc/objc-api.h (objc_trace): Unused variable removed.
  1557. 2010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
  1558. * objc/deprecated: New directory.
  1559. * objc/deprecated/README: New file.
  1560. * objc/README: New file.
  1561. * objc/typedstream.h: Moved into objc/deprecated/typedstream.h;
  1562. objc/typedstream.h replaced with a placeholder including the file
  1563. from the deprecated/ directory.
  1564. * objc/deprecated/objc-unexpected-exception.h: New file with the
  1565. definition of _objc_unexpected_exception.
  1566. * objc/objc-api.h: Include deprecated/objc-unexcepted-exception.h
  1567. instead of defining _objc_unexpected_exception.
  1568. * objc/deprecated/Object.h: New file with the deprecated Object
  1569. methods in a 'Deprecated' category.
  1570. * objc/Object.h Include deprecated/Object.h instead of defining
  1571. the deprecated methods.
  1572. * Object.m: Moved deprecated methods into 'Deprecated' category.
  1573. * objc-private: New directory.
  1574. * objc-private/README: New file.
  1575. * Makefile.in (OBJC_DEPRECATED_H): New variable.
  1576. (install-headers): Create installation directory for
  1577. OBJC_DEPRECATED_H headers, and install them.
  1578. 2010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
  1579. * objc/objc-exception.h: Fixed include of objc.h.
  1580. 2010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
  1581. * objc/objc-exception.h: New file.
  1582. * exception.c (objc_set_uncaught_exception_handler): Implemented.
  1583. (objc_set_exception_matcher): Implemented.
  1584. (objc_exception_throw): Use the uncaught exception handler if set.
  1585. (PERSONALITY_FUNCTION): Use the exception matcher instead of the
  1586. hardcoded isKindOf.
  1587. (isKindOf): Renamed to is_kind_of_exception_matcher. Tidied code
  1588. up. Removed segmentation fault when value is 'nil'.
  1589. * objc/objc-api.h (_objc_unexpected_exception): Mark as
  1590. deprecated.
  1591. * Makefile.in (exception.lo, exception_gc.lo): Use
  1592. -Wno-deprecated-declarations when compiling.
  1593. (OBJC_H): Added objc-exception.h
  1594. 2010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
  1595. * objc/typedstream.h: Deprecate all functions in the file. This
  1596. file is obsolete.
  1597. * objc/Object.h ([+streamVersion:], [-read:], [-write:],
  1598. [-awake]): Documented that these methods are deprecated. Added a
  1599. brief description of the Object class and its relationship to the
  1600. NSObject class.
  1601. * Makefile.in: Compile archive.c and Object.m with
  1602. -Wno-deprecated-declarations.
  1603. 2010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
  1604. Removed obsolete intermediate threading layer.
  1605. * thr.c: Use __gthread_objc_xxx functions directly instead of
  1606. __objc_thread_xxx ones.
  1607. * objc/thr.h: Removed prototypes of no longer existing
  1608. __objc_thread_xxx functions.
  1609. * Makefile.in: Removed thr-objc.lo.
  1610. * thr-dce.c: File removed.
  1611. * thr-decosf1.c: File removed.
  1612. * thr-irix.c: File removed.
  1613. * thr-mach.c: File removed.
  1614. * thr-objc.c: File removed.
  1615. * thr-os2.c: File removed.
  1616. * thr-posix.c: File removed.
  1617. * thr-pthreads.c: File removed.
  1618. * thr-rtems.c: File removed.
  1619. * thr-single.c: File removed.
  1620. * thr-solaris.c: File removed.
  1621. * thr-vxworks.c: File removed.
  1622. * thr-win32.c: File removed.
  1623. * README.threads: File removed.
  1624. * THREADS.MACH: File removed.
  1625. * THREADS: Updated.
  1626. 2010-09-07 Nicola Pero <nicola.pero@meta-innovation.com>
  1627. * Object.m (MAX_CLASS_NAME_LEN): Unused define removed.
  1628. 2010-09-06 Iain Sandoe <iains@gcc.gnu.org>
  1629. * encoding.c: Add TARGET_ALIGN_NATURAL definition for m64 powerpc darwin.
  1630. Add a comment as to why, update FIXME comments.
  1631. 2010-09-06 Nicola Pero <nicola.pero@meta-innovation.com>
  1632. * makefile.dos: Obsolete file removed.
  1633. 2010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1634. * aclocal.m4: Regenerate.
  1635. 2010-03-23 Dave Korn <dave.korn.cygwin@gmail.com>
  1636. PR libobjc/30445
  1637. * configure.ac (extra_ldflags_libobjc): Define appropriately for
  1638. Cygwin and MinGW hosts.
  1639. * Makefile.am (libobjc_s.a): Remove dead pre-libtool target.
  1640. (libobjc.dll): Likewise.
  1641. * configure: Regenerate.
  1642. 2009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1643. * configure: Regenerate.
  1644. 2009-11-28 Jakub Jelinek <jakub@redhat.com>
  1645. * sarray.c (sarray_free): Use old_buckets variable.
  1646. * encoding.c (objc_layout_structure_next_member): Remove unused
  1647. bfld_type_size variable.
  1648. 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1649. * configure.ac (AC_PREREQ): Bump to 2.64.
  1650. 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1651. * aclocal.m4: Regenerate.
  1652. * configure: Regenerate.
  1653. * config.h.in: Regenerate.
  1654. 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1655. * Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).
  1656. 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1657. * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
  1658. New variables.
  1659. ($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
  1660. 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1661. * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
  1662. 2009-04-09 Nick Clifton <nickc@redhat.com>
  1663. * sendmsg.c: Change copyright header to refer to version 3 of
  1664. the GNU General Public License with version 3.1 of the GCC
  1665. Runtime Library Exception and to point readers at the COPYING3
  1666. and COPYING3.RUNTIME files and the FSF's license web page.
  1667. * NXConstStr.m: Likewise.
  1668. * Object.m: Likewise.
  1669. * Protocol.m: Likewise.
  1670. * archive.c: Likewise.
  1671. * class.c: Likewise.
  1672. * encoding.c: Likewise.
  1673. * exception.c: Likewise.
  1674. * gc.c: Likewise.
  1675. * hash.c: Likewise.
  1676. * init.c: Likewise.
  1677. * libobjc_entry.c: Likewise.
  1678. * linking.m: Likewise.
  1679. * misc.c: Likewise.
  1680. * nil_method.c: Likewise.
  1681. * objc/NXConstStr.h: Likewise.
  1682. * objc/Object.h: Likewise.
  1683. * objc/Protocol.h: Likewise.
  1684. * objc/encoding.h: Likewise.
  1685. * objc/hash.h: Likewise.
  1686. * objc/objc-api.h: Likewise.
  1687. * objc/objc-decls.h: Likewise.
  1688. * objc/objc-list.h: Likewise.
  1689. * objc/objc.h: Likewise.
  1690. * objc/runtime.h: Likewise.
  1691. * objc/sarray.h: Likewise.
  1692. * objc/thr.h: Likewise.
  1693. * objc/typedstream.h: Likewise.
  1694. * objects.c: Likewise.
  1695. * sarray.c: Likewise.
  1696. * selector.c: Likewise.
  1697. * thr-dce.c: Likewise.
  1698. * thr-decosf1.c: Likewise.
  1699. * thr-irix.c: Likewise.
  1700. * thr-mach.c: Likewise.
  1701. * thr-objc.c: Likewise.
  1702. * thr-os2.c: Likewise.
  1703. * thr-posix.c: Likewise.
  1704. * thr-pthreads.c: Likewise.
  1705. * thr-rtems.c: Likewise.
  1706. * thr-single.c: Likewise.
  1707. * thr-solaris.c: Likewise.
  1708. * thr-vxworks.c: Likewise.
  1709. * thr-win32.c: Likewise.
  1710. * thr.c: Likewise.
  1711. * libobjc.def: Change copyright header to refer to version 3 of
  1712. the GNU General Public License and to point readers at the COPYING3
  1713. file and the FSF's license web page.
  1714. * makefile.dos: Likewise.
  1715. 2009-04-09 Jakub Jelinek <jakub@redhat.com>
  1716. * Makefile.in: Change copyright header to refer to version
  1717. 3 of the GNU General Public License and to point readers at the
  1718. COPYING3 file and the FSF's license web page.
  1719. * configure.ac: Likewise.
  1720. 2009-03-12 Richard Frith-Macdonald <rfm@gnu.org>
  1721. David Ayers <ayers@fsfe.org>
  1722. PR libobjc/27466
  1723. * objc/objc-api.h (_objc_unexpected_exception): Declare
  1724. new hook. Update copyright dates.
  1725. * exception.c (objc_exception_throw): Use hook. Update
  1726. copyright dates.
  1727. * libobjc.def (_objc_unexpected_exception): Export hook.
  1728. Update copyright dates.
  1729. 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1730. * configure: Regenerate.
  1731. 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1732. * configure: Regenerate.
  1733. 2008-11-21 Kai Tietz <kai.tietz@onevision.com>
  1734. * Object.m (errno): Replaced by errno.h include.
  1735. (compare): Cast self to id to prevent warning on comparison.
  1736. * objc/objc.h (BOOL): Prevent redeclaration of BOOL, if it is
  1737. already there.
  1738. * sendmsg.c (__objc_print_dtable_stats): Remove type warnings.
  1739. * thr-win32.c (__objc_thread_detach): Remove type warning.
  1740. (__objc_thread_id): Likewise.
  1741. * thr.c (__objc_thread_detach_functiont): Add __builtin_trap ()
  1742. for noreturn.
  1743. 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
  1744. Steve Ellcey <sje@cup.hp.com>
  1745. * configure: Regenerate for new libtool.
  1746. * config.h.in: Regenerate for new libtool.
  1747. 2008-07-18 Matthias Klose <doko@ubuntu.com>
  1748. * Makefile.in: Ignore missing ../boehm-gc/threads.mk.
  1749. 2008-07-18 Matthias Klose <doko@ubuntu.com>
  1750. * Makefile.in: Include ../boehm-gc/threads.mk.
  1751. (OBJC_BOEHM_GC_LIBS): Define, (libobjc_gc$(libsuffix).la): Use it.
  1752. 2008-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1753. * Makefile.in (install-info): New stub target.
  1754. 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1755. * configure: Regenerate.
  1756. 2008-06-14 Kai Tietz <kai.tietz@onevision.com>
  1757. * exception.c (PERSONALITY_FUNCTION): Remove extra decrement
  1758. if HAVE_GETIPINFO is not defined.
  1759. 2008-06-10 Kai Tietz <kai.tietz@onevision.com>
  1760. * Object.m (compare): Add type id.
  1761. * objc/Object.h: Likewise.
  1762. * archive.c (objc_read_class): Use size_t to extend version to be
  1763. size of pointer scalar width.
  1764. * sendmsg.c (rtx): Undefine it before redefinition.
  1765. (__objc_print_dtable_stats): Cast arguments to long as intended.
  1766. 2008-05-30 Julian Brown <julian@codesourcery.com>
  1767. * exception.c (__objc_exception_class): Initialise as constant
  1768. array for ARM EABI. Change macro to static const for non-ARM EABI.
  1769. (ObjcException): Add note about structure layout. Remove landingPad
  1770. and handlerSwitchValue for ARM EABI.
  1771. (get_ttype_entry): Add __ARM_EABI_UNWINDER__ version
  1772. of function.
  1773. (CONTINUE_UNWINDING): Define for ARM EABI/otherwise cases.
  1774. (PERSONALITY_FUNCTION): Use ARM EABI-specific arguments, and add
  1775. ARM EABI unwinding support.
  1776. (objc_exception_throw): Use memcpy to initialise exception class.
  1777. 2008-05-25 Alan Modra <amodra@bigpond.net.au>
  1778. * encoding.c (strip_array_types): Rename from get_inner_array_type.
  1779. (rs6000_special_round_type_align): Update.
  1780. 2008-05-09 Julian Brown <julian@codesourcery.com>
  1781. * Makefile.in (LTLDFLAGS): New.
  1782. (libobjc$(libsuffix).la, libobjc_gc$(libsuffix).la): Use above.
  1783. 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
  1784. PR bootstrap/35457
  1785. * aclocal.m4: Regenerate.
  1786. * configure: Regenerate.
  1787. 2008-01-24 David Edelsohn <edelsohn@gnu.org>
  1788. * configure: Regenerate.
  1789. 2007-10-14 H.J. Lu <hongjiu.lu@intel.com>
  1790. * configure.ac: Don't run config-ml.in directly.
  1791. (multilib_arg): New.
  1792. * configure: Regenerated.
  1793. 2007-08-06 Andrew Pinski <pinskia@gmail.com>
  1794. PR libobjc/30731
  1795. * exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead
  1796. of _Unwind_Word for variables which are used in
  1797. read_uleb128/read_sleb128.
  1798. (PERSONALITY_FUNCTION): Likewise.
  1799. 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
  1800. * aclocal.m4: Regenerated.
  1801. 2007-06-03 Andrew Pinski <andrew_pinski@playstation.sony.com>
  1802. * configure.ac: Fix a typo in *-*-darwin clause.
  1803. * configure: Regenerated.
  1804. 2007-06-02 H.J. Lu <hongjiu.lu@intel.com>
  1805. * configure.ac: Fix a typo.
  1806. * configure: Regenerated.
  1807. 2007-06-02 Paolo Bonzini <bonzini@gnu.org>
  1808. * configure: Regenerate.
  1809. 2007-06-01 Andrew Pinski <andrew_pinski@playstation.sony.com>
  1810. * Makefile.in: Replace all uses of libext with libsuffix.
  1811. * configure.ac: Likewise.
  1812. * configure: Regenerate.
  1813. Revert:
  1814. * Makefile.in: Remove all uses of $(libext).
  1815. 2007-05-23 Andrew Pinski <andrew_pinski@playstation.sony.com>
  1816. * Makefile.in: Remove all uses of $(libext).
  1817. 2007-05-23 Steve Ellcey <sje@cup.hp.com>
  1818. * configure: Regenerate.
  1819. * aclocal.m4: Regenerate.
  1820. 2007-04-21 Andrew Ruder <andy@aeruder.net>
  1821. * sendmsg.c (__objc_get_forward_imp): Call
  1822. __objc_msg_forward2 for real.
  1823. 2007-04-09 Andrew Ruder <andy@aeruder.net>
  1824. * sendmsg.c: Added __objc_msg_forward2, a hook that allows
  1825. external libraries to provide a function that returns the real
  1826. forwarding function based on both the selector and the receiver.
  1827. * objc/objc-api.h: Define __objc_msg_forward2.
  1828. 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
  1829. * Makefile.in: Add dummy install-pdf target.
  1830. 2007-02-18 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  1831. * objc/objc-list.h (list_free): Add keyword 'inline' to avoid
  1832. unused warning.
  1833. 2006-10-31 Geoffrey Keating <geoffk@apple.com>
  1834. * encoding.c (darwin_rs6000_special_round_type_align): New.
  1835. 2006-10-14 Geoffrey Keating <geoffk@apple.com>
  1836. * Makefile.in: Use multi_basedir instead of toplevel_srcdir.
  1837. * configure.ac: Use multi.m4 from aclocal rather than custom
  1838. code. Use multi_basedir instead of toplevel_srcdir.
  1839. * aclocal.m4: Regenerate.
  1840. * configure: Regenerate.
  1841. 2006-10-10 Brooks Moses <bmoses@stanford.edu>
  1842. * Makefile.in: Added empty "pdf" target.
  1843. 2006-07-18 Paolo Bonzini <bonzini@gnu.org>
  1844. * configure: Regenerate.
  1845. 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
  1846. * Makefile.in: Add install-html target. Add install-html to .PHONY
  1847. 2006-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  1848. PR libobjc/26309
  1849. * thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
  1850. 2006-01-24 David Ayers <d.ayers@inode.at>
  1851. PR libobjc/9751
  1852. * gc.c (class_ivar_set_gcinvisible): Replace strncpy with memcpy
  1853. and insure the new strings are '\0' termintated.
  1854. 2006-01-24 David Ayers <d.ayers@inode.at>
  1855. PR libobjc/13946
  1856. * configure.ac: Add include directives for --enable-objc-gc.
  1857. * Makefile.in: Ditto.
  1858. * configure: Regenerate.
  1859. * gc.c (__objc_class_structure_encoding): Increment the used bytes
  1860. instead of the local pointer to them.
  1861. 2005-12-14 Andrew Pinski <pinskia@physics.uc.edu>
  1862. PR objc/25360
  1863. * objc/objc-api.c (_C_COMPLEX): New define.
  1864. * encoding.c (objc_sizeof_type): Handle _C_Complex.
  1865. (objc_alignof_type): Likewise.
  1866. (objc_skip_typespec): Likewise.
  1867. 2005-12-15 David Ayers <d.ayers@inode.at>
  1868. PR libobjc/14382
  1869. * README (+load,+initialize): Fix documentation to reflect
  1870. intended and implemented semantics for +load and +initialize.
  1871. 2005-12-12 Andrew Pinski <pinskia@physics.uc.edu>
  1872. * encoding.c (TYPE_FIELDS): Fix to skip over just _C_STRUCT_B and
  1873. the name.
  1874. (get_inner_array_type): Fix to skip over _C_ARY_B and size.
  1875. (rs6000_special_round_type_align): Update for the ABI fix.
  1876. (objc_layout_finish_structure): Correct the encoding which is passed to
  1877. ROUND_TYPE_ALIGN.
  1878. 2005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
  1879. PR libobjc/25347
  1880. * encoding.c (objc_sizeof_type): Don't handle _C_UNION_B special
  1881. but use the struct layout functions.
  1882. (objc_alignof_type): Likewise.
  1883. (objc_layout_structure): Handle _C_UNION_B also.
  1884. (objc_layout_structure_next_member): Likewise.
  1885. (objc_layout_finish_structure): Likewise.
  1886. 2005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
  1887. PR libobjc/25346
  1888. * objc/objc-api.h (_C_BOOL): New define.
  1889. * encoding.c (objc_sizeof_type): Handle _C_BOOL.
  1890. (objc_alignof_type): Likewise.
  1891. (objc_skip_typespec): Likewise.
  1892. 2005-11-20 David Ayers <d.ayers@inode.at>
  1893. PR libobjc/19024
  1894. * objc/hash.h: Remove deprecated hash API.
  1895. * hash_compat.c: Remove.
  1896. * Makefile.in: Remove reference to hash_compat.c.
  1897. * configure.ac (VERSION): Bump library version to 2:0:0.
  1898. * configure: Regenerate.
  1899. 2005-11-09 Alexandre Oliva <aoliva@redhat.com>
  1900. PR other/4372
  1901. * thr-objc.c (_XOPEN_SOURCE): Define.
  1902. 2005-10-07 Ulrich Weigand <uweigand@de.ibm.com>
  1903. PR libobjc/23612
  1904. * objc/objc-api.h (struct objc_ivar): Move definition to
  1905. global scope.
  1906. 2005-09-04 Andrew Pinski <pinskia@physics.uc.edu>
  1907. Rasmus Hahn <rassahah@neofonie.de>
  1908. PR libobjc/23108
  1909. * archive.c (objc_write_type): Correct the element offset.
  1910. (objc_read_type): Likewise.
  1911. 2005-08-17 Kelley Cook <kcook@gcc.gnu.org>
  1912. * All files: Update FSF address.
  1913. 2005-08-13 Marcin Koziej <creep@desk.pl>
  1914. Andrew Pinski <pinskia@physics.uc.edu>
  1915. PR libobjc/22492
  1916. * exception.c (PERSONALITY_FUNCTION): Fix the PC with finally.
  1917. 2005-08-13 Andrew Pinski <pinskia@physics.uc.edu>
  1918. * Makefile.in (extra_ldflags_libobjc): New.
  1919. (libobjc$(libext).la): Add extra_ldflags_libobjc to the link line.
  1920. (libobjc_gc$(libext).la): Likewise.
  1921. * configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
  1922. "-Wl,-single_module".
  1923. * configure: Regenerate.
  1924. * linking.m (_objcInit): Remove.
  1925. 2005-07-26 Andrew Pinski <pinskia@physics.uc.edu>
  1926. PR libobjc/22606
  1927. * Makefile.in (ALL_CFLAGS): Add -fexceptions.
  1928. 2005-06-08 David Ayers <d.ayers@inode.at>
  1929. * objc/NXConstStr.h, objc/Object.h, objc/Protocol.h,
  1930. objc/encoding.h, objc/hash.h, objc/objc-api.h,
  1931. objc/runtime.h, objc/sarray.h, objc/thr.h,
  1932. objc/typedstream.h: Do not include Objective-C headers as
  1933. system headers.
  1934. 2005-06-07 David Ayers <d.ayers@inode.at>
  1935. * archive.c, init.c, selector.c: Include hash.h.
  1936. * archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c,
  1937. init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c,
  1938. sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c,
  1939. thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c,
  1940. thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c:
  1941. Include Objective-C headers with quotes and objc/ directory
  1942. prefix.
  1943. 2005-05-19 Richard Henderson <rth@redhat.com>
  1944. * exception.c: Revert last change.
  1945. 2005-05-19 David Ayers <d.ayers@inode.at>
  1946. * exception.c: Include tsystem.h for unwind.h.
  1947. 2005-05-09 Mike Stump <mrs@apple.com>
  1948. * configure: Regenerate.
  1949. 2005-04-12 Mike Stump <mrs@apple.com>
  1950. * configure: Regenerate.
  1951. 2005-03-21 Zack Weinberg <zack@codesourcery.com>
  1952. * Makefile.in: Set gcc_version here.
  1953. * configure.ac: Do not invoke TL_AC_GCC_VERSION. Adjust quoting
  1954. in definition of toolexeclibdir so that $(gcc_version) is expanded
  1955. by the Makefile.
  1956. * aclocal.m4, configure: Regenerate.
  1957. 2005-03-03 David Ayers <d.ayers@inode.at>
  1958. * objc/hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated
  1959. version reference. Correct typo.
  1960. 2005-03-02 David Ayers <d.ayers@inode.at>
  1961. PR libobjc/19024
  1962. * Makefile.in (OBJS): Add hash_compat.lo.
  1963. (OBJS_GC): Add hash_compat_gc.lo.
  1964. (hash_compat_gc.lo): New target and rule.
  1965. * objc/hash.h (hash_new, hash_delete, hash_add, hash_remove)
  1966. (hash_next, hash_value_for_key, hash_is_key_in_hash)
  1967. (hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix
  1968. with objc_. Add deprecated non prefixed inlined versions.
  1969. (OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated
  1970. declarations.
  1971. * hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next)
  1972. (hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and
  1973. update callers.
  1974. * hash_compat.c: New file.
  1975. * archive.c: Update callers.
  1976. * init.c: Likewise.
  1977. * selector.c: Likewise.
  1978. * libobjc.def: Add objc_ versions of hash functions.
  1979. 2005-02-28 Andrew Pinski <pinskia@physics.uc.edu>
  1980. PR libobjc/20252
  1981. * Makefile.in (GTHREAD_FLAGS): Remove.
  1982. (ALL_CFLAGS): Remove usage of GTHREAD_FLAGS.
  1983. * thr-objc.c: Include config.h.
  1984. * configure.ac: Instead of looking at GCC's makefile, figure out if
  1985. GTHREAD_FLAGS should be defined by looking at the `thread model'
  1986. of the current gcc.
  1987. * configure: Regenerate.
  1988. * config.h.in: Regenerate.
  1989. 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
  1990. PR bootstrap/17383
  1991. * configure.ac: Call GCC_TOPLEV_SUBDIRS.
  1992. (Determine CFLAGS for gthread): Use $host_subdir.
  1993. * configure: Regenerate.
  1994. * Makefile.in (host_subdir): New.
  1995. (INCLUDES): Use it.
  1996. 2004-12-20 Andrew Pinski <pinskia@physics.uc.edu>
  1997. PR libobjc/12035
  1998. * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
  1999. they are not used.
  2000. Include limits.h and stdlib.h.
  2001. Define BITS_PER_WORD.
  2002. 2004-12-12 Alexander Malmberg <alexander@malmberg.org>
  2003. * selector.c (__objc_init_selector_tables): Add missing void to
  2004. definition.
  2005. 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
  2006. * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
  2007. * configure, aclocal.m4: Regenerate.
  2008. 2004-11-29 Kelley Cook <kcook@gcc.gnu.org>
  2009. * configure: Regenerate for libtool change.
  2010. 2004-11-25 Kelley Cook <kcook@gcc.gnu.org>
  2011. * configure: Regenerate for libtool reversion.
  2012. 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
  2013. * configure: Regenerate for libtool change.
  2014. 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
  2015. * aclocal.m4, config.h.in: Regenerate.
  2016. 2004-10-08 Mike Stump <mrs@apple.com>
  2017. Andrew Pinski <pinskia@physics.uc.edu>
  2018. * aclocal.m4: Rename to ...
  2019. * acinclude.m4: here and also use m4_include instead of sinclude.
  2020. * aclocal.m4: Regenerate.
  2021. * configure: Regenerate.
  2022. * configure.ac: Add AM_MAINTAINER_MODE and AM_PROG_CC_C_O.
  2023. * Makefile.in (configure): Add @MAINT@ infront of configure.ac
  2024. 2004-10-08 Andrew Pinski <pinskia@physics.uc.edu>
  2025. * archive.c: Fix all the warnings about passing unsigned char*
  2026. to char* and the other way too.
  2027. 2004-09-16 Andrew Pinski <pinskia@physics.uc.edu>
  2028. PR libobjc/16448
  2029. * exception.c: Include config.h
  2030. (objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to
  2031. SJLJ_EXCEPTIONS.
  2032. * configure.ac: Find out what exception handling code we use.
  2033. * configure: Regenerate.
  2034. * config.h.in: New file, regenerate.
  2035. 2004-09-16 Andrew Pinski <apinski@apple.com>
  2036. * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
  2037. 2004-08-28 Nathanael Nerode <neroden@gcc.gnu.org>
  2038. * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
  2039. ACX_NONCANONICAL_TARGET.
  2040. * configure: Regenerate.
  2041. 2004-08-13 Ziemowit Laski <zlaski@apple.com>
  2042. * objc/sarray.h: Hoist include of assert.h near the top of file,
  2043. and mark the remainder of the file 'extern "C"'.
  2044. 2004-08-13 Andrew Pinski <pinskia@physics.uc.edu>
  2045. * objc/Object.h: Move includes out of extern "C" blocks.
  2046. * objc/encoding.h: Likewise.
  2047. * objc/hash.h: Likewise.
  2048. * objc/objc-api.h: Likewise.
  2049. * objc/runtime.h: Likewise.
  2050. * objc/sarray.h: Likewise.
  2051. * objc/typedstream.h: Likewise.
  2052. 2004-08-12 Ziemowit Laski <zlaski@apple.com>
  2053. * objc/NXConstStr.h: Update copyright date; bracket with
  2054. 'extern "C"' for C++ use; make include syntax consistent
  2055. by using <...> instead of "..."; hoist <objc/...> includes
  2056. above the 'extern "C"' block.
  2057. * objc/Object.h: Likewise.
  2058. * objc/Protocol.h: Likewise.
  2059. * objc/encoding.h: Likewise.
  2060. * objc/hash.h: Likewise.
  2061. * objc/runtime.h: Likewise.
  2062. * objc/sarray.h: Likewise.
  2063. * objc/thr.h: Likewise.
  2064. * objc/typedstream.h: Likewise.
  2065. * objc/objc-api.h: Add 'extern "C"' block for C++ use.
  2066. (objc_static_instances): For C++ case, do away with
  2067. zero-sized array.
  2068. (objc_method): Hoist definition to file scope.
  2069. (_objc_load_callback, _objc_object_alloc, class_get_class_method,
  2070. class_get_instance_method, class_create_instance,
  2071. class_get_class_name, class_get_instance_size,
  2072. class_get_meta_class, class_get_super_class, class_get_version,
  2073. class_is_class, class_is_meta_class, class_set_version,
  2074. class_get_gc_object_type, class_ivar_set_gcinvisible,
  2075. get_imp): Rename 'class' parameter to '_class'.
  2076. * objc/objc-list.h: Add 'extern "C"' block for C++ use.
  2077. * objc/objc.h: Update copyright date.
  2078. (arglist_t): Provide a union tag.
  2079. 2004-07-22 Andrew Pinski <pinskia@physics.uc.edu>
  2080. * thr.c (__objc_thread_detach_function): Do not mark as volatile
  2081. but instead use the attribute noreturn.
  2082. 2004-06-28 Zack Weinberg <zack@codesourcery.com>
  2083. * encoding.c: Rename target_flags with a #define to avoid
  2084. conflict with a prior declaration.
  2085. 2004-06-24 Andrew Pinski <apinski@apple.com>
  2086. * objc/encoding.h: Wrap the functions with extern "C" for C++
  2087. mode.
  2088. * objc/hash.h: Likewise.
  2089. * objc/objc-api.h: Likewise.
  2090. * objc/objc-list.h: Likewise.
  2091. * objc/runtime.h: Likewise.
  2092. * objc/sarray.h: Likewise.
  2093. * objc/thr.h: Likewise.
  2094. * objc/typedstream.h: Likewise.
  2095. 2004-06-21 Nick Clifton <nickc@redhat.com>
  2096. * encoding.c (BITS_PER_UNIT): Define if a definition is not
  2097. provided.
  2098. 2004-06-20 Alexander Malmberg <alexander@malmberg.org>
  2099. * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
  2100. (exception_gc.lo): New.
  2101. (OBJS_GC): Add exception_gc.lo.
  2102. 2004-06-17 Richard Henderson <rth@redhat.com>
  2103. * exception.c: New file.
  2104. * Makefile.in (exception.lo): New.
  2105. (OBJS): Add it.
  2106. 2004-06-14 Andrew Pinski <pinskia@physics.uc.edu>
  2107. * linking.m (_objcInit): New empty function
  2108. for Darwin only.
  2109. 2004-06-11 Andrew Pinski <pinskia@physics.uc.edu>
  2110. * configure.ac: Support --enable-shared=libobjc.
  2111. * configure: Regenerate.
  2112. PR libobjc/15901
  2113. * configure.ac: Do not disable shared by default.
  2114. * configure: Regenerate.
  2115. 2004-06-03 Nicola Pero <n.pero@mi.flashnet.it>
  2116. * Protocol.m ([-isEqual:]): Small optimizations returning
  2117. immediately if the argument is equal to self, and accessing
  2118. the argument's name directly if it's a protocol.
  2119. 2004-06-03 David Ayers <d.ayers@inode.at>
  2120. * Protocol.m ([-isEqual:]): Test the class of the argument.
  2121. 2004-05-25 Andrew Pinski <pinskia@physics.uc.edu>
  2122. * configure.ac (includedir): Rename to ...
  2123. (includedirname).
  2124. * Makefile.in: s/includedir/includedirname/.
  2125. PR target/11572
  2126. * configure.ac (includedir): Set to "include"
  2127. except for Darwin.
  2128. (libext) Set to empty except for Darwin.
  2129. * configure: Regenerate
  2130. * Makefile.in: s/libobjc.la/libobjc$(libext).la/g.
  2131. s/include/$(includedir)/g.
  2132. 2004-05-25 Daniel Jacobowitz <drow@false.org>
  2133. * Makefile.in: Add .NOEXPORT.
  2134. 2004-05-25 Andrew Pinski <pinskia@physics.uc.edu>
  2135. Merge from the libobjc-branch
  2136. 2004-02-09 Andrew Pinski <pinskia@physics.uc.edu>
  2137. * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
  2138. 2004-02-03 Andrew Pinski <pinskia@physics.uc.edu>
  2139. * Makefile.in (OBJC_H): Add objc-deps.h.
  2140. 2004-01-27 Nicola Pero <n.pero@mi.flashnet.it>
  2141. * Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
  2142. ([-hash], [-isEqual:]): New methods.
  2143. 2004-01-27 Richard Frith-Macdonald <rfm@gnu.org>
  2144. * sarray.c (sarray_free): Add a better comment.
  2145. 2004-01-27 Adam Fedor <fedor@gnu.org>
  2146. * hash.c (hash_add): Cast cachep to int.
  2147. * selector.c (__sel_register_typed_name): Cast
  2148. soffset_decode to int.
  2149. 2004-01-27 Alexander Malmberg <alexander@malmberg.org>
  2150. * selector.c: Rename register_selectors_from_list to
  2151. __objc_register_selectors_from_list. Update caller.
  2152. (__objc_register_selectors_from_list): Lock __objc_runtime_mutex
  2153. while registering selectors. Use __sel_register_typed_name instead
  2154. of sel_register_typed_name. Check for NULL method_name:s.
  2155. (pool_alloc_selector): New function.
  2156. (__sel_register_typed_name): Use pool_alloc_selector to allocate
  2157. selector structures.
  2158. * sendmsg.c (class_add_method_list): Use
  2159. __objc_register_selectors_from_list.
  2160. * objc/runtime.h: Add __objc_register_selectors_from_list.
  2161. 2004-01-25 Adam Fedor <fedor@gnu.org>
  2162. Nicola Pero <n.pero@mi.flashnet.it>
  2163. Andrew Pinski <pinskia@physics.uc.edu>
  2164. * objc/objc-decls.h: New file.
  2165. * objc/objc-api.h (_objc_lookup_class): Mark as export.
  2166. (_objc_load_callback): Likewise.
  2167. (_objc_object_alloc): Likewise.
  2168. (_objc_object_copy): Likewise.
  2169. (_objc_object_dispose): Likewise.
  2170. 2004-01-25 Andrew Pinski <pinskia@physics.uc.edu>
  2171. * archive.c: s/__inline__/inline
  2172. * sendmsg.c: Likewise.
  2173. * encoding.c: Remove FIXME about the warning
  2174. about unused variable.
  2175. * sendmsg.c: Add a FIXME comment saying that
  2176. this should be using libffi.
  2177. * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
  2178. 2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
  2179. * archive.c (objc_read_class): Initialize class_name.
  2180. (objc_read_selector): Initialize selector_name.
  2181. 2004-05-09 Richard Sandiford <rsandifo@redhat.com>
  2182. * Makefile.in (toolexecdir): Remove trailing space.
  2183. 2004-04-15 Nathanael Nerode <neroden@gcc.gnu.org>
  2184. PR libobjc/14948
  2185. * configure.ac: De-precious CC so multilibs work.
  2186. * configure: Regenerate.
  2187. 2004-04-14 Nathanael Nerode <neroden@gcc.gnu.org>
  2188. * configure.ac: Restore toolexecdir.
  2189. * Makefile.in: Restore toolexecdir.
  2190. * configure: Regenerate.
  2191. 2004-04-09 Nathanael Nerode <neroden@gcc.gnu.org>
  2192. * configure.ac: Remove (unused) glibcpp_prefixdir.
  2193. * configure: Regenerate.
  2194. * configure.in: Rename to configure.ac.
  2195. * Makefile.in: Update to match.
  2196. * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
  2197. Replace glibcpp_toolexeclibdir with toolexeclibdir.
  2198. * configure.in: Remove glibcpp_toolexecdir (unused).
  2199. Replace glibcpp_toolexeclibdir with toolexeclibdir. Don't generate
  2200. config.h or stamp-h (unused). Move one comment to the right place.
  2201. * configure: Regenerate.
  2202. * config.h.in: Remove (unused).
  2203. * config.h.in: Regenerate with autoheader.
  2204. * Makefile.in: Remove (unused) gcc_version_trigger.
  2205. * configure.in: Remove (unused) glibcpp_builddir. Don't AC_SUBST
  2206. gcc_version_trigger.
  2207. * configure: Regenerate.
  2208. * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
  2209. Sort file into sections. Remove dnl where appropriate. Fix
  2210. other style issues.
  2211. * configure: Regenerate.
  2212. * configure.in: Replace old AC_PROG_CC hack with new one.
  2213. Define toplevel_srcdir in terms of srcdir, not top_srcdir (there
  2214. are no subdirectory output files, so this is fine). Change prereq
  2215. to autoconf 2.59.
  2216. * aclocal.m4: Include ../config/no-executables.m4.
  2217. * configure: Regenerate with autoconf 2.59.
  2218. * configure.in: Improve comments on gthread_cflags. Improve m4
  2219. quotation, and replace 'if test' with 'case', for --enable-objc-gc.
  2220. * configure: Regenerate.
  2221. * configure.in: Move PACKAGE and VERSION settings up top. Remove
  2222. unused call to AC_PROG_LN_S. Default RANLIB to ':'. Remove
  2223. redundant checks for values of RANLIB, AR, INSTALL.
  2224. * configure: Regenerate.
  2225. * configure.in: Clean up handling of
  2226. --enable-version-specific-runtime-libs and related variables;
  2227. replace 'if test' with 'case' where reasonable. Fix comments.
  2228. Remove useless libstdcxx_interface.
  2229. * configure: Regenerate.
  2230. * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET.
  2231. Replace uses of target_alias with target_noncanonical.
  2232. * aclocal.m4: Include ../config/acx.m4.
  2233. * configure: Regenerate.
  2234. * Makefile.in: Replace uses of target_alias with target_noncanonical.
  2235. Fix copyright statement.
  2236. * configure.in: Hand-inline bulky, confusing macros from
  2237. aclocal.m4. Replace references to "GNU Objective C" with "GCC".
  2238. Update copyright notice. Remove stuff for automake, which isn't
  2239. used in this directory. Remove emacs local variables.
  2240. * aclocal.m4: Remove hand-inlined macros. Update copyright notice.
  2241. * configure: Regenerate.
  2242. 2004-03-16 Manfred Hollstein <mh@suse.com>
  2243. * Makefile.in, configure.in, configure: Update copyright years.
  2244. 2004-03-15 Manfred Hollstein <mh@suse.com>
  2245. * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use
  2246. definition from configure.in.
  2247. * configure.in (PACKAGE): Add definition.
  2248. (VERSION): Add definition; substitute it in output files.
  2249. * configure: Re-generate.
  2250. 2004-03-05 Ziemowit Laski <zlaski@apple.com>
  2251. * objc/hash.h (hash_string, compare_strings):
  2252. Add type-casts to make Objective-C++ happy.
  2253. * objc/typedstream.h (objc_get_stream_class_version):
  2254. Rename parameter from 'class' to 'class_name' to make
  2255. Objective-C++ happy.
  2256. 2004-03-01 Michael Matz <matz@suse.de>
  2257. * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
  2258. 2004-02-06 Ziemowit Laski <zlaski@apple.com>
  2259. * objc/objc-api.h (objc_super): The 'class' field shall
  2260. be named 'super_class' #ifdef __cplusplus.
  2261. 2004-01-17 Andrew Pinski <pinskia@physics.uc.edu>
  2262. PR target/10781
  2263. * encoding.c (rs6000_special_round_type_align): Define.
  2264. 2004-01-14 Adam Fedor <fedor@gnu.org>
  2265. PR libobjc/12155
  2266. * selector.c (__objc_register_instance_methods_to_class): Free
  2267. new_list if not used.
  2268. 2004-01-09 Andrew Ruder <aeruder@ksu.edu>
  2269. PR libobjc/11904
  2270. * sarray.c (sarray_free): Free array->is_copy_of latter.
  2271. 2003-12-01 Zack Weinberg <zack@codesourcery.com>
  2272. PR 11433
  2273. * Protocol.m (descriptionForInstanceMethod): Don't dereference
  2274. instance_methods if it's NULL.
  2275. (descriptionForClassMethod): Likewise for class_methods.
  2276. 2003-10-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  2277. * Makefile.in (runtime-info.h): Remove -Wp.
  2278. 2003-10-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  2279. * Makefile.in (CC1OBJ): Remove.
  2280. (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
  2281. correctly.
  2282. Use .m extension for temporary file.
  2283. Remove assembler temp file.
  2284. 2003-10-20 Joseph S. Myers <jsm@polyomino.org.uk>
  2285. * objc/hash.h (hash_string): Don't use a cast as an lvalue.
  2286. 2003-10-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  2287. * Makefile.in (runtime-info.h): Use MULTIFLAGS.
  2288. 2003-09-09 Alan Modra <amodra@bigpond.net.au>
  2289. * configure: Regenerate.
  2290. 2003-08-27 Alexander Malmberg <alexander@malmberg.org>
  2291. * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of
  2292. (libdir)/gcc-lib/ when installing.
  2293. * configure: Regenerate.
  2294. Thu Jul 10 10:27:43 2003 Nicola Pero <n.pero@mi.flashnet.it>
  2295. libobjc/9969
  2296. * sendmsg.c (get_imp): Fixed rare threading problem.
  2297. (__objc_responds_to): Similar fixes.
  2298. (objc_msg_lookup): Similar fixes.
  2299. (__objc_init_install_dtable): Lock the runtime before checking if the
  2300. table is installed.
  2301. 2003-05-23 Nathanael Nerode <neroden@gcc.gnu.org>
  2302. * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
  2303. makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
  2304. selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
  2305. thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
  2306. thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
  2307. thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
  2308. * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
  2309. class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
  2310. objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
  2311. objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
  2312. objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
  2313. Tue May 13 14:56:03 2003 Richard Frith-Macdonald <rfm@gnu.org>
  2314. Nicola Pero <n.pero@mi.flashnet.it>
  2315. libobjc/10742
  2316. * init.c (class_superclass_of_class): New function.
  2317. (create_tree_of_subclasses_inherited_from): Use it.
  2318. (__objc_tree_insert_class): Likewise.
  2319. (class_is_subclass_of_class): Likewise.
  2320. 2003-04-11 David Chad <davidc@freebsd.org>
  2321. Loren J. Rittle <ljrittle@acm.org>
  2322. libobjc/8562
  2323. * objc/hash.h (hash_string): Constify correctly.
  2324. (compare_ptrs): Use direct compare.
  2325. * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
  2326. * objc/sarray.h: Global rename index to indx to avoid shadow.
  2327. 2003-03-12 Andreas Schwab <schwab@suse.de>
  2328. * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
  2329. glibcpp_toolexeclibdir.
  2330. * configure: Rebuilt.
  2331. 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
  2332. * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
  2333. config.status.
  2334. * configure: Rebuilt.
  2335. 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
  2336. * aclocal.m4 (glibcpp_toolexeclibdir): Instead of
  2337. $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
  2338. version_specific_libs is enabled.
  2339. * configure: Rebuilt.
  2340. 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
  2341. * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
  2342. (install-libs, install-headers): Prepend $(DESTDIR) to
  2343. destination paths in all (un)installation commands.
  2344. 2002-12-02 Zack Weinberg <zack@codesourcery.com>
  2345. * thr-objc.c: Include coretypes.h and tm.h.
  2346. 2002-12-01 Zack Weinberg <zack@codesourcery.com>
  2347. * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
  2348. 2002-11-26 Nathanael Nerode <neroden@gcc.gnu.org>
  2349. * configure.in: Remove skip-this-dir support.
  2350. * configure: Regenerate.
  2351. 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2352. * Makefile.in (all): Fix multilib parallel build.
  2353. Thu Sep 12 12:44:37 2002 Nicola Pero <n.pero@mi.flashnet.it>
  2354. * sendmsg.c (nil_method): Declare not to take a variable number of
  2355. args.
  2356. (objc_msg_lookup): Cast nil_method to IMP before returning it.
  2357. (objc_msg_lookup_super): The same.
  2358. 2002-09-10 Jan Hubicka <jh@suse.cz>
  2359. * nil_method.c (nil_method): No longer defined with variable
  2360. arguments.
  2361. 2002-07-02 Rodney Brown <rbrown64@csc.com.au>
  2362. * objc/encoding.h: Fix formatting.
  2363. * objc/hash.h: Likewise.
  2364. * objc/objc-api.h: Likewise.
  2365. * objc/runtime.h: Likewise.
  2366. * objc/thr.h: Likewise.
  2367. * archive.c: Likewise.
  2368. * class.c: Likewise.
  2369. * encoding.c: Likewise.
  2370. * gc.c: Likewise.
  2371. * hash.c: Likewise.
  2372. * init.c: Likewise.
  2373. * misc.c: Likewise.
  2374. * nil_method.c: Likewise.
  2375. * objects.c: Likewise.
  2376. * sarray.c: Likewise.
  2377. * selector.c: Likewise.
  2378. * sendmsg.c: Likewise.
  2379. * thr-mach.c: Likewise.
  2380. * thr.c: Likewise.
  2381. 2002-06-25 DJ Delorie <dj@redhat.com>
  2382. * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
  2383. GLIBCPP_TOPREL_CONFIGURE.
  2384. * configure.in: Call it before AC_CANONICAL_SYSTEM.
  2385. * configure: Regenerate.
  2386. 2002-06-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2387. * Object.m (forward, read, write): Fix unused parameter warnings.
  2388. * encoding.c: Include <stdlib.h>.
  2389. (target_flags): Mark with attribute unused.
  2390. (atoi): Delete.
  2391. * runtime.h (__objc_selector_max_index): Change to unsigned int.
  2392. (__objc_generate_gc_type_description): Prototype.
  2393. * selector.c (__objc_selector_max_index): Change to unsigned int.
  2394. Mon Jun 17 18:37:42 2002 Nicola Pero <n.pero@mi.flashnet.it>
  2395. * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
  2396. we always have a return value: if __objc_msg_forward does not
  2397. supply a forwarding implementation, return the default
  2398. __builtin_apply based one.
  2399. 2002-06-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2400. * Object.m: Fix signed/unsigned warning.
  2401. * Protocol.m: Likewise.
  2402. * archive.c: Always include stdlib.h.
  2403. (objc_read_short, objc_read_unsigned_short, objc_read_int,
  2404. objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
  2405. Fix signed/unsigned warning.
  2406. (objc_write_type, objc_read_type, objc_write_types,
  2407. objc_read_types): Ensure ctype 8-bit safety.
  2408. (__objc_no_write, __objc_no_read): Mark unused parameters.
  2409. * class.c (class_table_setup): Specify void arg.
  2410. * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
  2411. objc_skip_typespec, objc_skip_offset,
  2412. objc_layout_structure_next_member): Ensure ctype 8-bit safety.
  2413. (objc_layout_structure_next_member): Ensure variables are
  2414. initialized.
  2415. * gc.c (__objc_generate_gc_type_description,
  2416. class_ivar_set_gcinvisible): Mark unused parameters.
  2417. * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
  2418. unused parameters.
  2419. (__objc_init_protocols) Fix signed/unsigned warning.
  2420. * nil_method.c (nil_method): Mark unused parameters.
  2421. * thr.h (objc_thread_callback): Specify void arg.
  2422. * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
  2423. signed/unsigned warning.
  2424. (sarray_free): Fix formatting.
  2425. * selector.c (sel_types_match): Ensure ctype 8-bit safety.
  2426. * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
  2427. 2002-06-09 Andreas Jaeger <aj@suse.de>
  2428. * encoding.c (objc_layout_structure_next_member): Remove unused
  2429. variable.
  2430. 2002-05-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2431. * Makefile.in (SHELL): Set to @SHELL@.
  2432. (WARN_CFLAGS): New.
  2433. (ALL_CFLAGS): Add $(WARN_CFLAGS).
  2434. 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  2435. * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
  2436. * configure: Regenerate.
  2437. 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
  2438. * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
  2439. script entry, and set LD to it when configuring multilibs.
  2440. * configure: Rebuilt.
  2441. 2002-04-19 David O'Brien <obrien@FreeBSD.org>
  2442. * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
  2443. 2002-04-09 Hans-Peter Nilsson <hp@bitrange.com>
  2444. PR objc/6107
  2445. * objc/objc-api.h (struct objc_protocol_list): Change type of
  2446. member count from int to size_t.
  2447. 2002-02-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  2448. PR libobjc/4039
  2449. * aclocal.m4: Replace with version copied from libstdc++-v3.
  2450. * configure.in: Update for changes to aclocal and Makefile.
  2451. * configure: Regenerate.
  2452. * Makefile.in: Correct install of multilibs and shared libs, use
  2453. INSTALL_DATA for include files.
  2454. Mon Dec 17 17:02:12 2001 Nicola Pero <nicola@brainstorm.co.uk>
  2455. * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
  2456. categories - when an unclaimed category was found, the loop was
  2457. doing two steps forward instead of one, so that in certain cases
  2458. it was failing to properly load all the categories. (Reported
  2459. with fix by Alexander Malmberg <alexander@malmberg.org>).
  2460. 2001-11-14 Aldy Hernandez <aldyh@redhat.com>
  2461. * encoding.c: Add target_flags.
  2462. 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
  2463. * objc/objc-api.h (_C_VECTOR): New.
  2464. * encoding.c (VECTOR_TYPE): New.
  2465. Mon Oct 29 21:29:21 2001 Nicola Pero <n.pero@mi.flashnet.it>
  2466. * class.c: Rewritten the class table to use optimized, lock-free
  2467. lookup. This more than doubles the speed of class method
  2468. invocations. (class_table_setup), (class_table_insert),
  2469. (class_table_replace), (class_table_get_safe),
  2470. (class_table_next), (class_table_print),
  2471. (class_table_print_histogram): New functions.
  2472. (__objc_init_class_tables): Use class_table_setup.
  2473. (__objc_add_class_to_hash): Use class_table_get_safe and
  2474. class_table_insert. (objc_lookup_class), (objc_get_class): Do not
  2475. assert the existence of the table; do not lock the runtime; use
  2476. class_table_get_safe. (objc_next_class): Use class_table_next.
  2477. (__objc_resolve_class_links): Use class_table_next.
  2478. (class_pose_as): Use class_table_replace.
  2479. 2001-09-10 Ovidiu Predescu <ovidiu@cup.hp.com>
  2480. * gc.c: Removed the DEBUG declaration.
  2481. Wed Jul 18 12:48:56 2001 Nicola Pero <n.pero@mi.flashnet.it>
  2482. * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
  2483. rather than through objc_thread_id, to save a function call.
  2484. (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
  2485. Ditto.
  2486. Mon Jul 16 12:15:00 2001 Nicola Pero <n.pero@mi.flashnet.it>
  2487. * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
  2488. to cast an id to a Class, which can not be done. Make the check
  2489. by using CLS_ISMETA on the class pointer instead.
  2490. (object_is_meta_class): Similar fix.
  2491. 2001-06-09 Alexandre Oliva <aoliva@redhat.com>, Stephen L Moshier <moshier@mediaone.net>
  2492. * configure.in (AC_EXEEXT): Work around in case it expands to
  2493. nothing, as in autoconf 2.50.
  2494. * acinclude.m4: Likewise.
  2495. * configure: Rebuilt.
  2496. 2001-06-08 Nicola Pero <n.pero@mi.flashnet.it>
  2497. * THREADS: Explain that when we compile libobjc inside GCC, we
  2498. always use thr-objc.c as a backend, which uses GCC's thread code.
  2499. 2001-06-06 Richard Frith-Macdonald <rrfm@gnu.org>
  2500. * init.c (__objc_send_message_in_list): When setting a new entry
  2501. in __objc_load_methods use the method IMP as key, but check to see
  2502. if the method is in the hashtable by looking at the IMP also.
  2503. Also ... call the method after adding it to the hashtable rather
  2504. than before ... thus preventing an obscure possibility of infinite
  2505. recursion if a +load method itself loads a subclass.
  2506. 2001-05-25 Ovidiu Predescu <ovidiu@cup.hp.com>
  2507. * init.c (__objc_send_message_in_list): When setting a new entry
  2508. in __objc_load_methods use the method name as key, not the method
  2509. IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
  2510. 2001-05-09 Joseph S. Myers <jsm28@cam.ac.uk>
  2511. * objc-features.texi: Move to ../gcc/objc.texi.
  2512. * fdl.texi: Remove.
  2513. * Makefile.in: Don't generate documentation from
  2514. objc-features.texi.
  2515. 2001-05-01 Mark Mitchell <mark@codesourcery.com>
  2516. * fdl.texi: New file.
  2517. * objc-features.texi: Simplify.
  2518. * Makefile.in: Adjust accordingly.
  2519. 2001-04-30 Mark Mitchell <mark@codesourcery.com>
  2520. * objc-features.texi: Use the GFDL.
  2521. Wed Mar 21 04:44:58 EST 2001 John Wehle (john@feith.com)
  2522. * encoding.c (REAL_TYPE): Define.
  2523. 2001-03-19 David Edelsohn <edelsohn@gnu.org>
  2524. * encoding.c (TYPE_MODE): Define.
  2525. 2001-03-14 Nicola Pero <n.pero@mi.flashnet.it>
  2526. * thr.c (objc_thread_add): New function.
  2527. (objc_thread_remove): Ditto.
  2528. * objc/thr.h: Declare them.
  2529. * libobjc.def: Mention them.
  2530. 2001-02-28 Ovidiu Predescu <ovidiu@cup.hp.com>
  2531. * objc-features.texi: Document the @compatibility_alias compiler
  2532. directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
  2533. Fri Feb 23 18:12:00 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  2534. * sendmsg.c (__objc_forward): Delete strlen() declaration.
  2535. 2001-02-08 Geoffrey Keating <geoffk@redhat.com>
  2536. * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
  2537. we're not interested in the result and they might fail.
  2538. * configure: Regenerated.
  2539. 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
  2540. * objc-features.texi: Use @email.
  2541. 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
  2542. * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
  2543. printf.
  2544. 2000-01-11 Richard Earnshaw <rearnsha@arm.com>
  2545. * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
  2546. determines the value dynamically.
  2547. Wed Jan 3 00:49:10 2001 Ovidiu Predescu <ovidiu@cup.hp.com>
  2548. * sendmsg.c: Added __objc_msg_forward, a hook that allows external
  2549. libraries to provide a function that returns the real forwarding
  2550. function. This can alleviate problems __builtin_apply() and
  2551. friends have on various platforms. (Solution suggested by Helge
  2552. Hess.)
  2553. * objc/objc-api.h: Define __objc_msg_forward.
  2554. * sendmsg.c: Define gen_rtx_REG.
  2555. 2000-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
  2556. * thr-rtems.c: New file. Stub to compile.
  2557. 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
  2558. * configure: Rebuilt with new libtool.m4.
  2559. Tue Aug 15 00:38:56 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
  2560. * configure.in: Create a config.h file. Check for <sched.h>.
  2561. * configure: Regenerate.
  2562. * config.h.in: Check for <sched.h>.
  2563. 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
  2564. * configure: Regenerate after change to ../libtool.m4.
  2565. 2000-08-14 Andreas Schwab <schwab@suse.de>
  2566. * objc-features.texi (Top): Move @menu at end of node.
  2567. 2000-08-11 Manfred Hollstein <manfredh@redhat.com>
  2568. * objc-features.texi: Move @node Top before @menu.
  2569. Sun Aug 6 23:27:49 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
  2570. * objc-features.texi: Documented the new -fconstant-string-class
  2571. option.
  2572. Sun Aug 6 22:51:16 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
  2573. * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
  2574. improve the Posix thread support for Objective-C.
  2575. 2000-08-04 Zack Weinberg <zack@wolery.cumb.org>
  2576. * aclocal.m4: Replace copy of ../libtool.m4 with
  2577. sinclude(../libtool.m4).
  2578. Fri Jul 28 08:58:02 2000 Nicola Pero <nicola@brainstorm.co.uk>
  2579. * configure.in: Added libtool support; build shared libraries
  2580. if --enable-shared was passed on command line.
  2581. * Makefile.in: Modified most compilation commands to use libtool.
  2582. * aclocal.m4: New symbolic link to the ../libtool.m4, from the
  2583. libtool distribution.
  2584. Sat Jul 29 00:10:21 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
  2585. * sarray.c, Object.m: Removed the explicit prototypes for strlen
  2586. and memcpy on 64-bit platforms (Suggested by Rodney Brown
  2587. <rdb@cup.hp.com>).
  2588. 2000-05-12 H.J. Lu (hjl@gnu.org)
  2589. * Makefile.in (GTHREAD_FLAGS): New.
  2590. (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
  2591. (OBJC_THREAD_FILE): Changed to thr-objc.
  2592. * configure.in (GTHREAD_FLAGS): New, check and replace it for
  2593. Makefile.
  2594. (OBJC_THREAD_FILE): Removed.
  2595. * thr-objc.c: New.
  2596. 2000-07-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2597. * objc/hash.h: Include string.h.
  2598. 2000-04-15 David Edelsohn <edelsohn@gnu.org>
  2599. * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
  2600. 2000-04-12 Jakub Jelinek <jakub@redhat.com>
  2601. * Object.m (strlen): Provide prototype on all 64bit platforms,
  2602. not only alpha.
  2603. * sarray.c (memcpy): Likewise.
  2604. * encoding.c (objc_layout_finish_structure): Don't use
  2605. ROUND_TYPE_ALIGN on sparc.
  2606. * encoding.c (objc_layout_structure_next_member): Do the whole
  2607. procedure even for the first member, so that we get correct
  2608. alignment.
  2609. 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
  2610. * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
  2611. comments.
  2612. 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
  2613. * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
  2614. Thu Sep 23 07:19:12 1999 Chris Ball <cball@fmco.com>
  2615. * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
  2616. Tue Sep 21 07:47:10 1999 Jeffrey A Law (law@cygnus.com)
  2617. * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
  2618. the compiler when building C code.
  2619. Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
  2620. * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
  2621. libdir, libsubdir and tooldir.
  2622. Mon Jun 21 05:40:15 1999 John David Anglin <dave@hiauly1>
  2623. * init.c (__objc_force_linking): Make global.
  2624. Thu May 20 03:20:59 1999 Jeffrey A Law (law@cygnus.com)
  2625. * configure.in (AC_EXEEXT): Remove call.
  2626. (compiler_name): Explicitly check with no extension and .exe
  2627. extension.
  2628. * configure: Regenerate.
  2629. Sun Apr 25 01:15:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
  2630. * Makefile.in (CC1OBJ): Define in terms of CC.
  2631. (runtime-info.h): Use.
  2632. Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
  2633. * objc-features.texi: Updated the URL to Boehm's GC page.
  2634. Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
  2635. * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
  2636. the char as being signed (patch from Daniel Jacobowitz
  2637. <drow@false.org>).
  2638. Wed Mar 24 22:41:28 1999 Mumit Khan <khan@xraylith.wisc.edu>
  2639. * configure.in (AC_PREREQ): Update to 2.13.
  2640. (AC_EXEEXT): Call to find possible file extension.
  2641. (compiler_name): Use.
  2642. * configure: Regenerate.
  2643. Wed Jan 27 02:31:01 1999 Jeffrey A Law (law@cygnus.com)
  2644. * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
  2645. Tue Jan 5 01:38:53 1999 Jeffrey A Law (law@cygnus.com)
  2646. * configure.in (thread_file): Correct and simplify code to find
  2647. the thread file.
  2648. * configure: Rebuilt.
  2649. 1998-11-26 Manfred Hollstein <manfred@s-direktnet.de>
  2650. * configure.in (compiler_name): Add check to detect if this
  2651. language's compiler has been built.
  2652. * configure: Regenerate.
  2653. Mon Nov 23 16:50:28 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2654. * configure.in: Use AC_PREREQ(2.12.1).
  2655. Thu Nov 19 20:33:37 1998 Jeffrey A Law (law@cygnus.com)
  2656. * Makefile.in (runtime-info.h): Avoid GNU make extensions.
  2657. Sun Nov 8 17:46:14 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2658. * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
  2659. Thu Oct 22 14:34:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2660. * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
  2661. Sat Oct 17 05:21:31 1998 Ovidiu Predescu <ovidiu@slip.net>
  2662. * objc-features.texi (Top): Changed the email address.
  2663. * objc-features.texi (Garbage Collection): Use @uref instead of @url.
  2664. Mon Oct 11 21:25:27 1998 Ovidiu Predescu <ovidiu@slip.net>
  2665. * encoding.c: Redefine get_inner_array_type to get the first entry
  2666. in the structure.
  2667. Thu Oct 8 12:21:14 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
  2668. * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
  2669. (objc_get_type_qualifiers): Similarly.
  2670. * objc/encoding.h (_C_BYREF): Define.
  2671. (_F_BYREF): Define.
  2672. 1998-10-07 David S. Miller <davem@pierdol.cobaltmicro.com>
  2673. * objc/sarray.h: Make boffset be an unsigned long when sparc so it
  2674. works out on 64-bit systems.
  2675. Tue Oct 6 20:32:06 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
  2676. * Makefile.in (INCLUDES): Make it multilib-friendly.
  2677. Fri Oct 2 07:12:14 1998 H.J. Lu (hjl@gnu.org)
  2678. * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
  2679. Thu Oct 1 22:33:03 1998 Robert Lipe <robertl@dgii.com>
  2680. Jeffrey A Law (law@cygnus.com)
  2681. * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
  2682. (FLAGS_TO_PASS): Added.
  2683. (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
  2684. * archive.c: Change config.h to tconfig.h.
  2685. * configure.in: Find gcc's object directory even for multilibs.
  2686. Wed Sep 30 18:17:17 1998 Robert Lipe <robertl@dgii.com>
  2687. * configure.in: Escape ^ in grep string.
  2688. * configure: Rebuilt.
  2689. Wed Sep 30 09:14:52 1998 Jeffrey A Law (law@cygnus.com)
  2690. * All .h files pushed down into the objc/ subdirectory.
  2691. * Makefile.in (copy_headers): Corresponding changes.
  2692. * configure.in (AC_INIT): Corresponding changes.
  2693. * configure: Rebuilt.
  2694. 1998-09-30 Ben Elliston <bje@cygnus.com>
  2695. Jeff Law <law@cygnus.com>
  2696. * Makefile.in: Rewrite.
  2697. * configure.in: Likewise.
  2698. * configure: Regenerate.
  2699. * All .c files. Remove "objc" prefix when including objc header
  2700. files. Include tconfig.h, not ../tconfig.h.
  2701. Mon Sep 21 23:27:10 1998 Ovidiu Predescu <ovidiu@slip.net>
  2702. * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
  2703. (get_inner_array_type): Define.
  2704. 1998-09-21 Ben Elliston <bje@cygnus.com>
  2705. * New directory. Moved files from ../gcc/objc.
  2706. Copyright (C) 1998-2022 Free Software Foundation, Inc.
  2707. Copying and distribution of this file, with or without modification,
  2708. are permitted in any medium without royalty provided the copyright
  2709. notice and this notice are preserved.