12011-04-28 Release Manager 2 3 * GCC 4.5.3 released. 4 52010-12-16 Release Manager 6 7 * GCC 4.5.2 released. 8 92010-07-31 Release Manager 10 11 * GCC 4.5.1 released. 12 132010-04-14 Release Manager 14 15 * GCC 4.5.0 released. 16 172010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 18 19 * aclocal.m4: Regenerate. 20 212010-03-23 Dave Korn <dave.korn.cygwin@gmail.com> 22 23 PR libobjc/30445 24 * configure.ac (extra_ldflags_libobjc): Define appropriately for 25 Cygwin and MinGW hosts. 26 * Makefile.am (libobjc_s.a): Remove dead pre-libtool target. 27 (libobjc.dll): Likewise. 28 * configure: Regenerate. 29 302009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 31 32 * configure: Regenerate. 33 342009-11-28 Jakub Jelinek <jakub@redhat.com> 35 36 * sarray.c (sarray_free): Use old_buckets variable. 37 * encoding.c (objc_layout_structure_next_member): Remove unused 38 bfld_type_size variable. 39 402009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 41 42 * configure.ac (AC_PREREQ): Bump to 2.64. 43 442009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 45 46 * aclocal.m4: Regenerate. 47 * configure: Regenerate. 48 * config.h.in: Regenerate. 49 502009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 51 52 * Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS). 53 542009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 55 56 * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps): 57 New variables. 58 ($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules. 59 602009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 61 62 * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force. 63 642009-04-09 Nick Clifton <nickc@redhat.com> 65 66 * sendmsg.c: Change copyright header to refer to version 3 of 67 the GNU General Public License with version 3.1 of the GCC 68 Runtime Library Exception and to point readers at the COPYING3 69 and COPYING3.RUNTIME files and the FSF's license web page. 70 * NXConstStr.m: Likewise. 71 * Object.m: Likewise. 72 * Protocol.m: Likewise. 73 * archive.c: Likewise. 74 * class.c: Likewise. 75 * encoding.c: Likewise. 76 * exception.c: Likewise. 77 * gc.c: Likewise. 78 * hash.c: Likewise. 79 * init.c: Likewise. 80 * libobjc_entry.c: Likewise. 81 * linking.m: Likewise. 82 * misc.c: Likewise. 83 * nil_method.c: Likewise. 84 * objc/NXConstStr.h: Likewise. 85 * objc/Object.h: Likewise. 86 * objc/Protocol.h: Likewise. 87 * objc/encoding.h: Likewise. 88 * objc/hash.h: Likewise. 89 * objc/objc-api.h: Likewise. 90 * objc/objc-decls.h: Likewise. 91 * objc/objc-list.h: Likewise. 92 * objc/objc.h: Likewise. 93 * objc/runtime.h: Likewise. 94 * objc/sarray.h: Likewise. 95 * objc/thr.h: Likewise. 96 * objc/typedstream.h: Likewise. 97 * objects.c: Likewise. 98 * sarray.c: Likewise. 99 * selector.c: Likewise. 100 * thr-dce.c: Likewise. 101 * thr-decosf1.c: Likewise. 102 * thr-irix.c: Likewise. 103 * thr-mach.c: Likewise. 104 * thr-objc.c: Likewise. 105 * thr-os2.c: Likewise. 106 * thr-posix.c: Likewise. 107 * thr-pthreads.c: Likewise. 108 * thr-rtems.c: Likewise. 109 * thr-single.c: Likewise. 110 * thr-solaris.c: Likewise. 111 * thr-vxworks.c: Likewise. 112 * thr-win32.c: Likewise. 113 * thr.c: Likewise. 114 * libobjc.def: Change copyright header to refer to version 3 of 115 the GNU General Public License and to point readers at the COPYING3 116 file and the FSF's license web page. 117 * makefile.dos: Likewise. 118 1192009-04-09 Jakub Jelinek <jakub@redhat.com> 120 121 * Makefile.in: Change copyright header to refer to version 122 3 of the GNU General Public License and to point readers at the 123 COPYING3 file and the FSF's license web page. 124 * configure.ac: Likewise. 125 1262009-03-12 Richard Frith-Macdonald <rfm@gnu.org> 127 David Ayers <ayers@fsfe.org> 128 129 PR libobjc/27466 130 * objc/objc-api.h (_objc_unexpected_exception): Declare 131 new hook. Update copyright dates. 132 * exception.c (objc_exception_throw): Use hook. Update 133 copyright dates. 134 * libobjc.def (_objc_unexpected_exception): Export hook. 135 Update copyright dates. 136 1372009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 138 139 * configure: Regenerate. 140 1412008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 142 143 * configure: Regenerate. 144 1452008-11-21 Kai Tietz <kai.tietz@onevision.com> 146 147 * Object.m (errno): Replaced by errno.h include. 148 (compare): Cast self to id to prevent warning on comparison. 149 * objc/objc.h (BOOL): Prevent redeclaration of BOOL, if it is 150 already there. 151 * sendmsg.c (__objc_print_dtable_stats): Remove type warnings. 152 * thr-win32.c (__objc_thread_detach): Remove type warning. 153 (__objc_thread_id): Likewise. 154 * thr.c (__objc_thread_detach_functiont): Add __builtin_trap () 155 for noreturn. 156 1572008-09-26 Peter O'Gorman <pogma@thewrittenword.com> 158 Steve Ellcey <sje@cup.hp.com> 159 160 * configure: Regenerate for new libtool. 161 * config.h.in: Regenerate for new libtool. 162 1632008-07-18 Matthias Klose <doko@ubuntu.com> 164 165 * Makefile.in: Ignore missing ../boehm-gc/threads.mk. 166 1672008-07-18 Matthias Klose <doko@ubuntu.com> 168 169 * Makefile.in: Include ../boehm-gc/threads.mk. 170 (OBJC_BOEHM_GC_LIBS): Define, (libobjc_gc$(libsuffix).la): Use it. 171 1722008-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 173 174 * Makefile.in (install-info): New stub target. 175 1762008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 177 178 * configure: Regenerate. 179 1802008-06-14 Kai Tietz <kai.tietz@onevision.com> 181 182 * exception.c (PERSONALITY_FUNCTION): Remove extra decrement 183 if HAVE_GETIPINFO is not defined. 184 1852008-06-10 Kai Tietz <kai.tietz@onevision.com> 186 187 * Object.m (compare): Add type id. 188 * objc/Object.h: Likewise. 189 * archive.c (objc_read_class): Use size_t to extend version to be 190 size of pointer scalar width. 191 * sendmsg.c (rtx): Undefine it before redefinition. 192 (__objc_print_dtable_stats): Cast arguments to long as intended. 193 1942008-05-30 Julian Brown <julian@codesourcery.com> 195 196 * exception.c (__objc_exception_class): Initialise as constant 197 array for ARM EABI. Change macro to static const for non-ARM EABI. 198 (ObjcException): Add note about structure layout. Remove landingPad 199 and handlerSwitchValue for ARM EABI. 200 (get_ttype_entry): Add __ARM_EABI_UNWINDER__ version 201 of function. 202 (CONTINUE_UNWINDING): Define for ARM EABI/otherwise cases. 203 (PERSONALITY_FUNCTION): Use ARM EABI-specific arguments, and add 204 ARM EABI unwinding support. 205 (objc_exception_throw): Use memcpy to initialise exception class. 206 2072008-05-25 Alan Modra <amodra@bigpond.net.au> 208 209 * encoding.c (strip_array_types): Rename from get_inner_array_type. 210 (rs6000_special_round_type_align): Update. 211 2122008-05-09 Julian Brown <julian@codesourcery.com> 213 214 * Makefile.in (LTLDFLAGS): New. 215 (libobjc$(libsuffix).la, libobjc_gc$(libsuffix).la): Use above. 216 2172008-04-18 Paolo Bonzini <bonzini@gnu.org> 218 219 PR bootstrap/35457 220 * aclocal.m4: Regenerate. 221 * configure: Regenerate. 222 2232008-01-24 David Edelsohn <edelsohn@gnu.org> 224 225 * configure: Regenerate. 226 2272007-10-14 H.J. Lu <hongjiu.lu@intel.com> 228 229 * configure.ac: Don't run config-ml.in directly. 230 (multilib_arg): New. 231 * configure: Regenerated. 232 2332007-08-06 Andrew Pinski <pinskia@gmail.com> 234 235 PR libobjc/30731 236 * exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead 237 of _Unwind_Word for variables which are used in 238 read_uleb128/read_sleb128. 239 (PERSONALITY_FUNCTION): Likewise. 240 2412007-07-05 H.J. Lu <hongjiu.lu@intel.com> 242 243 * aclocal.m4: Regenerated. 244 2452007-06-03 Andrew Pinski <andrew_pinski@playstation.sony.com> 246 247 * configure.ac: Fix a typo in *-*-darwin clause. 248 * configure: Regenerated. 249 2502007-06-02 H.J. Lu <hongjiu.lu@intel.com> 251 252 * configure.ac: Fix a typo. 253 * configure: Regenerated. 254 2552007-06-02 Paolo Bonzini <bonzini@gnu.org> 256 257 * configure: Regenerate. 258 2592007-06-01 Andrew Pinski <andrew_pinski@playstation.sony.com> 260 261 * Makefile.in: Replace all uses of libext with libsuffix. 262 * configure.ac: Likewise. 263 * configure: Regenerate. 264 265 Revert: 266 * Makefile.in: Remove all uses of $(libext). 267 2682007-05-23 Andrew Pinski <andrew_pinski@playstation.sony.com> 269 270 * Makefile.in: Remove all uses of $(libext). 271 2722007-05-23 Steve Ellcey <sje@cup.hp.com> 273 274 * configure: Regenerate. 275 * aclocal.m4: Regenerate. 276 2772007-04-21 Andrew Ruder <andy@aeruder.net> 278 279 * sendmsg.c (__objc_get_forward_imp): Call 280 __objc_msg_forward2 for real. 281 2822007-04-09 Andrew Ruder <andy@aeruder.net> 283 284 * sendmsg.c: Added __objc_msg_forward2, a hook that allows 285 external libraries to provide a function that returns the real 286 forwarding function based on both the selector and the receiver. 287 * objc/objc-api.h: Define __objc_msg_forward2. 288 2892007-03-01 Brooks Moses <brooks.moses@codesourcery.com> 290 291 * Makefile.in: Add dummy install-pdf target. 292 2932007-02-18 Manuel Lopez-Ibanez <manu@gcc.gnu.org> 294 295 * objc/objc-list.h (list_free): Add keyword 'inline' to avoid 296 unused warning. 297 2982006-10-31 Geoffrey Keating <geoffk@apple.com> 299 300 * encoding.c (darwin_rs6000_special_round_type_align): New. 301 3022006-10-14 Geoffrey Keating <geoffk@apple.com> 303 304 * Makefile.in: Use multi_basedir instead of toplevel_srcdir. 305 * configure.ac: Use multi.m4 from aclocal rather than custom 306 code. Use multi_basedir instead of toplevel_srcdir. 307 * aclocal.m4: Regenerate. 308 * configure: Regenerate. 309 3102006-10-10 Brooks Moses <bmoses@stanford.edu> 311 312 * Makefile.in: Added empty "pdf" target. 313 3142006-07-18 Paolo Bonzini <bonzini@gnu.org> 315 316 * configure: Regenerate. 317 3182006-05-23 Carlos O'Donell <carlos@codesourcery.com> 319 320 * Makefile.in: Add install-html target. Add install-html to .PHONY 321 3222006-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 323 324 PR libobjc/26309 325 * thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX. 326 3272006-01-24 David Ayers <d.ayers@inode.at> 328 329 PR libobjc/9751 330 * gc.c (class_ivar_set_gcinvisible): Replace strncpy with memcpy 331 and insure the new strings are '\0' termintated. 332 3332006-01-24 David Ayers <d.ayers@inode.at> 334 335 PR libobjc/13946 336 * configure.ac: Add include directives for --enable-objc-gc. 337 * Makefile.in: Ditto. 338 * configure: Regenerate. 339 340 * gc.c (__objc_class_structure_encoding): Increment the used bytes 341 instead of the local pointer to them. 342 3432005-12-14 Andrew Pinski <pinskia@physics.uc.edu> 344 345 PR objc/25360 346 * objc/objc-api.c (_C_COMPLEX): New define. 347 * encoding.c (objc_sizeof_type): Handle _C_Complex. 348 (objc_alignof_type): Likewise. 349 (objc_skip_typespec): Likewise. 350 3512005-12-15 David Ayers <d.ayers@inode.at> 352 353 PR libobjc/14382 354 * README (+load,+initialize): Fix documentation to reflect 355 intended and implemented semantics for +load and +initialize. 356 3572005-12-12 Andrew Pinski <pinskia@physics.uc.edu> 358 359 * encoding.c (TYPE_FIELDS): Fix to skip over just _C_STRUCT_B and 360 the name. 361 (get_inner_array_type): Fix to skip over _C_ARY_B and size. 362 (rs6000_special_round_type_align): Update for the ABI fix. 363 (objc_layout_finish_structure): Correct the encoding which is passed to 364 ROUND_TYPE_ALIGN. 365 3662005-12-11 Andrew Pinski <pinskia@physics.uc.edu> 367 368 PR libobjc/25347 369 * encoding.c (objc_sizeof_type): Don't handle _C_UNION_B special 370 but use the struct layout functions. 371 (objc_alignof_type): Likewise. 372 (objc_layout_structure): Handle _C_UNION_B also. 373 (objc_layout_structure_next_member): Likewise. 374 (objc_layout_finish_structure): Likewise. 375 3762005-12-11 Andrew Pinski <pinskia@physics.uc.edu> 377 378 PR libobjc/25346 379 * objc/objc-api.h (_C_BOOL): New define. 380 * encoding.c (objc_sizeof_type): Handle _C_BOOL. 381 (objc_alignof_type): Likewise. 382 (objc_skip_typespec): Likewise. 383 3842005-11-20 David Ayers <d.ayers@inode.at> 385 386 PR libobjc/19024 387 * objc/hash.h: Remove deprecated hash API. 388 * hash_compat.c: Remove. 389 * Makefile.in: Remove reference to hash_compat.c. 390 391 * configure.ac (VERSION): Bump library version to 2:0:0. 392 * configure: Regenerate. 393 3942005-11-09 Alexandre Oliva <aoliva@redhat.com> 395 396 PR other/4372 397 * thr-objc.c (_XOPEN_SOURCE): Define. 398 3992005-10-07 Ulrich Weigand <uweigand@de.ibm.com> 400 401 PR libobjc/23612 402 * objc/objc-api.h (struct objc_ivar): Move definition to 403 global scope. 404 4052005-09-04 Andrew Pinski <pinskia@physics.uc.edu> 406 Rasmus Hahn <rassahah@neofonie.de> 407 408 PR libobjc/23108 409 * archive.c (objc_write_type): Correct the element offset. 410 (objc_read_type): Likewise. 411 4122005-08-17 Kelley Cook <kcook@gcc.gnu.org> 413 414 * All files: Update FSF address. 415 4162005-08-13 Marcin Koziej <creep@desk.pl> 417 Andrew Pinski <pinskia@physics.uc.edu> 418 419 PR libobjc/22492 420 * exception.c (PERSONALITY_FUNCTION): Fix the PC with finally. 421 4222005-08-13 Andrew Pinski <pinskia@physics.uc.edu> 423 424 * Makefile.in (extra_ldflags_libobjc): New. 425 (libobjc$(libext).la): Add extra_ldflags_libobjc to the link line. 426 (libobjc_gc$(libext).la): Likewise. 427 * configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to 428 "-Wl,-single_module". 429 * configure: Regenerate. 430 * linking.m (_objcInit): Remove. 431 4322005-07-26 Andrew Pinski <pinskia@physics.uc.edu> 433 434 PR libobjc/22606 435 * Makefile.in (ALL_CFLAGS): Add -fexceptions. 436 4372005-06-08 David Ayers <d.ayers@inode.at> 438 439 * objc/NXConstStr.h, objc/Object.h, objc/Protocol.h, 440 objc/encoding.h, objc/hash.h, objc/objc-api.h, 441 objc/runtime.h, objc/sarray.h, objc/thr.h, 442 objc/typedstream.h: Do not include Objective-C headers as 443 system headers. 444 4452005-06-07 David Ayers <d.ayers@inode.at> 446 447 * archive.c, init.c, selector.c: Include hash.h. 448 * archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c, 449 init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c, 450 sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c, 451 thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c, 452 thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c: 453 Include Objective-C headers with quotes and objc/ directory 454 prefix. 455 4562005-05-19 Richard Henderson <rth@redhat.com> 457 458 * exception.c: Revert last change. 459 4602005-05-19 David Ayers <d.ayers@inode.at> 461 462 * exception.c: Include tsystem.h for unwind.h. 463 4642005-05-09 Mike Stump <mrs@apple.com> 465 466 * configure: Regenerate. 467 4682005-04-12 Mike Stump <mrs@apple.com> 469 470 * configure: Regenerate. 471 4722005-03-21 Zack Weinberg <zack@codesourcery.com> 473 474 * Makefile.in: Set gcc_version here. 475 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Adjust quoting 476 in definition of toolexeclibdir so that $(gcc_version) is expanded 477 by the Makefile. 478 * aclocal.m4, configure: Regenerate. 479 4802005-03-03 David Ayers <d.ayers@inode.at> 481 482 * objc/hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated 483 version reference. Correct typo. 484 4852005-03-02 David Ayers <d.ayers@inode.at> 486 487 PR libobjc/19024 488 * Makefile.in (OBJS): Add hash_compat.lo. 489 (OBJS_GC): Add hash_compat_gc.lo. 490 (hash_compat_gc.lo): New target and rule. 491 * objc/hash.h (hash_new, hash_delete, hash_add, hash_remove) 492 (hash_next, hash_value_for_key, hash_is_key_in_hash) 493 (hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix 494 with objc_. Add deprecated non prefixed inlined versions. 495 (OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated 496 declarations. 497 * hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next) 498 (hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and 499 update callers. 500 * hash_compat.c: New file. 501 * archive.c: Update callers. 502 * init.c: Likewise. 503 * selector.c: Likewise. 504 * libobjc.def: Add objc_ versions of hash functions. 505 5062005-02-28 Andrew Pinski <pinskia@physics.uc.edu> 507 508 PR libobjc/20252 509 * Makefile.in (GTHREAD_FLAGS): Remove. 510 (ALL_CFLAGS): Remove usage of GTHREAD_FLAGS. 511 * thr-objc.c: Include config.h. 512 * configure.ac: Instead of looking at GCC's makefile, figure out if 513 GTHREAD_FLAGS should be defined by looking at the `thread model' 514 of the current gcc. 515 * configure: Regenerate. 516 * config.h.in: Regenerate. 517 5182005-02-28 Paolo Bonzini <bonzini@gnu.org> 519 520 PR bootstrap/17383 521 * configure.ac: Call GCC_TOPLEV_SUBDIRS. 522 (Determine CFLAGS for gthread): Use $host_subdir. 523 * configure: Regenerate. 524 * Makefile.in (host_subdir): New. 525 (INCLUDES): Use it. 526 5272004-12-20 Andrew Pinski <pinskia@physics.uc.edu> 528 529 PR libobjc/12035 530 * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since 531 they are not used. 532 Include limits.h and stdlib.h. 533 Define BITS_PER_WORD. 534 5352004-12-12 Alexander Malmberg <alexander@malmberg.org> 536 537 * selector.c (__objc_init_selector_tables): Add missing void to 538 definition. 539 5402004-12-02 Richard Sandiford <rsandifo@redhat.com> 541 542 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version. 543 * configure, aclocal.m4: Regenerate. 544 5452004-11-29 Kelley Cook <kcook@gcc.gnu.org> 546 547 * configure: Regenerate for libtool change. 548 5492004-11-25 Kelley Cook <kcook@gcc.gnu.org> 550 551 * configure: Regenerate for libtool reversion. 552 5532004-11-24 Kelley Cook <kcook@gcc.gnu.org> 554 555 * configure: Regenerate for libtool change. 556 5572004-11-24 Kelley Cook <kcook@gcc.gnu.org> 558 559 * aclocal.m4, config.h.in: Regenerate. 560 5612004-10-08 Mike Stump <mrs@apple.com> 562 Andrew Pinski <pinskia@physics.uc.edu> 563 564 * aclocal.m4: Rename to ... 565 * acinclude.m4: here and also use m4_include instead of sinclude. 566 * aclocal.m4: Regenerate. 567 * configure: Regenerate. 568 * configure.ac: Add AM_MAINTAINER_MODE and AM_PROG_CC_C_O. 569 * Makefile.in (configure): Add @MAINT@ infront of configure.ac 570 5712004-10-08 Andrew Pinski <pinskia@physics.uc.edu> 572 573 * archive.c: Fix all the warnings about passing unsigned char* 574 to char* and the other way too. 575 5762004-09-16 Andrew Pinski <pinskia@physics.uc.edu> 577 578 PR libobjc/16448 579 * exception.c: Include config.h 580 (objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to 581 SJLJ_EXCEPTIONS. 582 * configure.ac: Find out what exception handling code we use. 583 * configure: Regenerate. 584 * config.h.in: New file, regenerate. 585 5862004-09-16 Andrew Pinski <apinski@apple.com> 587 588 * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro. 589 5902004-08-28 Nathanael Nerode <neroden@gcc.gnu.org> 591 592 * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to 593 ACX_NONCANONICAL_TARGET. 594 * configure: Regenerate. 595 5962004-08-13 Ziemowit Laski <zlaski@apple.com> 597 598 * objc/sarray.h: Hoist include of assert.h near the top of file, 599 and mark the remainder of the file 'extern "C"'. 600 6012004-08-13 Andrew Pinski <pinskia@physics.uc.edu> 602 603 * objc/Object.h: Move includes out of extern "C" blocks. 604 * objc/encoding.h: Likewise. 605 * objc/hash.h: Likewise. 606 * objc/objc-api.h: Likewise. 607 * objc/runtime.h: Likewise. 608 * objc/sarray.h: Likewise. 609 * objc/typedstream.h: Likewise. 610 6112004-08-12 Ziemowit Laski <zlaski@apple.com> 612 613 * objc/NXConstStr.h: Update copyright date; bracket with 614 'extern "C"' for C++ use; make include syntax consistent 615 by using <...> instead of "..."; hoist <objc/...> includes 616 above the 'extern "C"' block. 617 * objc/Object.h: Likewise. 618 * objc/Protocol.h: Likewise. 619 * objc/encoding.h: Likewise. 620 * objc/hash.h: Likewise. 621 * objc/runtime.h: Likewise. 622 * objc/sarray.h: Likewise. 623 * objc/thr.h: Likewise. 624 * objc/typedstream.h: Likewise. 625 * objc/objc-api.h: Add 'extern "C"' block for C++ use. 626 (objc_static_instances): For C++ case, do away with 627 zero-sized array. 628 (objc_method): Hoist definition to file scope. 629 (_objc_load_callback, _objc_object_alloc, class_get_class_method, 630 class_get_instance_method, class_create_instance, 631 class_get_class_name, class_get_instance_size, 632 class_get_meta_class, class_get_super_class, class_get_version, 633 class_is_class, class_is_meta_class, class_set_version, 634 class_get_gc_object_type, class_ivar_set_gcinvisible, 635 get_imp): Rename 'class' parameter to '_class'. 636 * objc/objc-list.h: Add 'extern "C"' block for C++ use. 637 * objc/objc.h: Update copyright date. 638 (arglist_t): Provide a union tag. 639 6402004-07-22 Andrew Pinski <pinskia@physics.uc.edu> 641 642 * thr.c (__objc_thread_detach_function): Do not mark as volatile 643 but instead use the attribute noreturn. 644 6452004-06-28 Zack Weinberg <zack@codesourcery.com> 646 647 * encoding.c: Rename target_flags with a #define to avoid 648 conflict with a prior declaration. 649 6502004-06-24 Andrew Pinski <apinski@apple.com> 651 652 * objc/encoding.h: Wrap the functions with extern "C" for C++ 653 mode. 654 * objc/hash.h: Likewise. 655 * objc/objc-api.h: Likewise. 656 * objc/objc-list.h: Likewise. 657 * objc/runtime.h: Likewise. 658 * objc/sarray.h: Likewise. 659 * objc/thr.h: Likewise. 660 * objc/typedstream.h: Likewise. 661 662 6632004-06-21 Nick Clifton <nickc@redhat.com> 664 665 * encoding.c (BITS_PER_UNIT): Define if a definition is not 666 provided. 667 6682004-06-20 Alexander Malmberg <alexander@malmberg.org> 669 670 * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS). 671 (exception_gc.lo): New. 672 (OBJS_GC): Add exception_gc.lo. 673 6742004-06-17 Richard Henderson <rth@redhat.com> 675 676 * exception.c: New file. 677 * Makefile.in (exception.lo): New. 678 (OBJS): Add it. 679 6802004-06-14 Andrew Pinski <pinskia@physics.uc.edu> 681 682 * linking.m (_objcInit): New empty function 683 for Darwin only. 684 6852004-06-11 Andrew Pinski <pinskia@physics.uc.edu> 686 687 * configure.ac: Support --enable-shared=libobjc. 688 * configure: Regenerate. 689 690 PR libobjc/15901 691 * configure.ac: Do not disable shared by default. 692 * configure: Regenerate. 693 6942004-06-03 Nicola Pero <n.pero@mi.flashnet.it> 695 696 * Protocol.m ([-isEqual:]): Small optimizations returning 697 immediately if the argument is equal to self, and accessing 698 the argument's name directly if it's a protocol. 699 7002004-06-03 David Ayers <d.ayers@inode.at> 701 702 * Protocol.m ([-isEqual:]): Test the class of the argument. 703 7042004-05-25 Andrew Pinski <pinskia@physics.uc.edu> 705 706 * configure.ac (includedir): Rename to ... 707 (includedirname). 708 * Makefile.in: s/includedir/includedirname/. 709 710 PR target/11572 711 * configure.ac (includedir): Set to "include" 712 except for Darwin. 713 (libext) Set to empty except for Darwin. 714 * configure: Regenerate 715 * Makefile.in: s/libobjc.la/libobjc$(libext).la/g. 716 s/include/$(includedir)/g. 717 7182004-05-25 Daniel Jacobowitz <drow@false.org> 719 720 * Makefile.in: Add .NOEXPORT. 721 7222004-05-25 Andrew Pinski <pinskia@physics.uc.edu> 723 724 Merge from the libobjc-branch 725 2004-02-09 Andrew Pinski <pinskia@physics.uc.edu> 726 727 * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h. 728 729 2004-02-03 Andrew Pinski <pinskia@physics.uc.edu> 730 731 * Makefile.in (OBJC_H): Add objc-deps.h. 732 733 2004-01-27 Nicola Pero <n.pero@mi.flashnet.it> 734 735 * Protocol.m ([-conformsTo:]): If the argument is nil, return NO. 736 ([-hash], [-isEqual:]): New methods. 737 738 2004-01-27 Richard Frith-Macdonald <rfm@gnu.org> 739 740 * sarray.c (sarray_free): Add a better comment. 741 742 2004-01-27 Adam Fedor <fedor@gnu.org> 743 744 * hash.c (hash_add): Cast cachep to int. 745 * selector.c (__sel_register_typed_name): Cast 746 soffset_decode to int. 747 748 2004-01-27 Alexander Malmberg <alexander@malmberg.org> 749 750 * selector.c: Rename register_selectors_from_list to 751 __objc_register_selectors_from_list. Update caller. 752 (__objc_register_selectors_from_list): Lock __objc_runtime_mutex 753 while registering selectors. Use __sel_register_typed_name instead 754 of sel_register_typed_name. Check for NULL method_name:s. 755 (pool_alloc_selector): New function. 756 (__sel_register_typed_name): Use pool_alloc_selector to allocate 757 selector structures. 758 * sendmsg.c (class_add_method_list): Use 759 __objc_register_selectors_from_list. 760 * objc/runtime.h: Add __objc_register_selectors_from_list. 761 762 2004-01-25 Adam Fedor <fedor@gnu.org> 763 Nicola Pero <n.pero@mi.flashnet.it> 764 Andrew Pinski <pinskia@physics.uc.edu> 765 766 * objc/objc-decls.h: New file. 767 * objc/objc-api.h (_objc_lookup_class): Mark as export. 768 (_objc_load_callback): Likewise. 769 (_objc_object_alloc): Likewise. 770 (_objc_object_copy): Likewise. 771 (_objc_object_dispose): Likewise. 772 773 2004-01-25 Andrew Pinski <pinskia@physics.uc.edu> 774 775 * archive.c: s/__inline__/inline 776 * sendmsg.c: Likewise. 777 778 * encoding.c: Remove FIXME about the warning 779 about unused variable. 780 * sendmsg.c: Add a FIXME comment saying that 781 this should be using libffi. 782 783 * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works. 784 785 7862004-05-13 Andrew Pinski <pinskia@physics.uc.edu> 787 788 * archive.c (objc_read_class): Initialize class_name. 789 (objc_read_selector): Initialize selector_name. 790 7912004-05-09 Richard Sandiford <rsandifo@redhat.com> 792 793 * Makefile.in (toolexecdir): Remove trailing space. 794 7952004-04-15 Nathanael Nerode <neroden@gcc.gnu.org> 796 797 PR libobjc/14948 798 * configure.ac: De-precious CC so multilibs work. 799 * configure: Regenerate. 800 8012004-04-14 Nathanael Nerode <neroden@gcc.gnu.org> 802 803 * configure.ac: Restore toolexecdir. 804 * Makefile.in: Restore toolexecdir. 805 * configure: Regenerate. 806 8072004-04-09 Nathanael Nerode <neroden@gcc.gnu.org> 808 809 * configure.ac: Remove (unused) glibcpp_prefixdir. 810 * configure: Regenerate. 811 812 * configure.in: Rename to configure.ac. 813 * Makefile.in: Update to match. 814 815 * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused). 816 Replace glibcpp_toolexeclibdir with toolexeclibdir. 817 * configure.in: Remove glibcpp_toolexecdir (unused). 818 Replace glibcpp_toolexeclibdir with toolexeclibdir. Don't generate 819 config.h or stamp-h (unused). Move one comment to the right place. 820 * configure: Regenerate. 821 * config.h.in: Remove (unused). 822 823 * config.h.in: Regenerate with autoheader. 824 825 * Makefile.in: Remove (unused) gcc_version_trigger. 826 * configure.in: Remove (unused) glibcpp_builddir. Don't AC_SUBST 827 gcc_version_trigger. 828 * configure: Regenerate. 829 830 * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT. 831 Sort file into sections. Remove dnl where appropriate. Fix 832 other style issues. 833 * configure: Regenerate. 834 835 * configure.in: Replace old AC_PROG_CC hack with new one. 836 Define toplevel_srcdir in terms of srcdir, not top_srcdir (there 837 are no subdirectory output files, so this is fine). Change prereq 838 to autoconf 2.59. 839 * aclocal.m4: Include ../config/no-executables.m4. 840 * configure: Regenerate with autoconf 2.59. 841 842 * configure.in: Improve comments on gthread_cflags. Improve m4 843 quotation, and replace 'if test' with 'case', for --enable-objc-gc. 844 * configure: Regenerate. 845 846 * configure.in: Move PACKAGE and VERSION settings up top. Remove 847 unused call to AC_PROG_LN_S. Default RANLIB to ':'. Remove 848 redundant checks for values of RANLIB, AR, INSTALL. 849 * configure: Regenerate. 850 851 * configure.in: Clean up handling of 852 --enable-version-specific-runtime-libs and related variables; 853 replace 'if test' with 'case' where reasonable. Fix comments. 854 Remove useless libstdcxx_interface. 855 * configure: Regenerate. 856 857 * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET. 858 Replace uses of target_alias with target_noncanonical. 859 * aclocal.m4: Include ../config/acx.m4. 860 * configure: Regenerate. 861 * Makefile.in: Replace uses of target_alias with target_noncanonical. 862 Fix copyright statement. 863 864 * configure.in: Hand-inline bulky, confusing macros from 865 aclocal.m4. Replace references to "GNU Objective C" with "GCC". 866 Update copyright notice. Remove stuff for automake, which isn't 867 used in this directory. Remove emacs local variables. 868 * aclocal.m4: Remove hand-inlined macros. Update copyright notice. 869 * configure: Regenerate. 870 8712004-03-16 Manfred Hollstein <mh@suse.com> 872 873 * Makefile.in, configure.in, configure: Update copyright years. 874 8752004-03-15 Manfred Hollstein <mh@suse.com> 876 877 * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use 878 definition from configure.in. 879 * configure.in (PACKAGE): Add definition. 880 (VERSION): Add definition; substitute it in output files. 881 * configure: Re-generate. 882 8832004-03-05 Ziemowit Laski <zlaski@apple.com> 884 885 * objc/hash.h (hash_string, compare_strings): 886 Add type-casts to make Objective-C++ happy. 887 * objc/typedstream.h (objc_get_stream_class_version): 888 Rename parameter from 'class' to 'class_name' to make 889 Objective-C++ happy. 890 8912004-03-01 Michael Matz <matz@suse.de> 892 893 * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing. 894 8952004-02-06 Ziemowit Laski <zlaski@apple.com> 896 897 * objc/objc-api.h (objc_super): The 'class' field shall 898 be named 'super_class' #ifdef __cplusplus. 899 9002004-01-17 Andrew Pinski <pinskia@physics.uc.edu> 901 902 PR target/10781 903 * encoding.c (rs6000_special_round_type_align): Define. 904 9052004-01-14 Adam Fedor <fedor@gnu.org> 906 907 PR libobjc/12155 908 * selector.c (__objc_register_instance_methods_to_class): Free 909 new_list if not used. 910 9112004-01-09 Andrew Ruder <aeruder@ksu.edu> 912 913 PR libobjc/11904 914 * sarray.c (sarray_free): Free array->is_copy_of latter. 915 9162003-12-01 Zack Weinberg <zack@codesourcery.com> 917 918 PR 11433 919 * Protocol.m (descriptionForInstanceMethod): Don't dereference 920 instance_methods if it's NULL. 921 (descriptionForClassMethod): Likewise for class_methods. 922 9232003-10-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 924 925 * Makefile.in (runtime-info.h): Remove -Wp. 926 9272003-10-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 928 929 * Makefile.in (CC1OBJ): Remove. 930 (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled 931 correctly. 932 Use .m extension for temporary file. 933 Remove assembler temp file. 934 9352003-10-20 Joseph S. Myers <jsm@polyomino.org.uk> 936 937 * objc/hash.h (hash_string): Don't use a cast as an lvalue. 938 9392003-10-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 940 941 * Makefile.in (runtime-info.h): Use MULTIFLAGS. 942 9432003-09-09 Alan Modra <amodra@bigpond.net.au> 944 945 * configure: Regenerate. 946 9472003-08-27 Alexander Malmberg <alexander@malmberg.org> 948 949 * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of 950 (libdir)/gcc-lib/ when installing. 951 * configure: Regenerate. 952 953Thu Jul 10 10:27:43 2003 Nicola Pero <n.pero@mi.flashnet.it> 954 955 libobjc/9969 956 * sendmsg.c (get_imp): Fixed rare threading problem. 957 (__objc_responds_to): Similar fixes. 958 (objc_msg_lookup): Similar fixes. 959 (__objc_init_install_dtable): Lock the runtime before checking if the 960 table is installed. 961 9622003-05-23 Nathanael Nerode <neroden@gcc.gnu.org> 963 964 * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m, 965 makefile.dos, misc.c, nil_method.c, objects.c, sarray.c, 966 selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, 967 thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, 968 thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c, 969 thr-win32.c, thr.c: Replace "GNU CC" with "GCC". 970 * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c, 971 class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h, 972 objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h, 973 objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h, 974 objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC". 975 976Tue May 13 14:56:03 2003 Richard Frith-Macdonald <rfm@gnu.org> 977 Nicola Pero <n.pero@mi.flashnet.it> 978 979 libobjc/10742 980 * init.c (class_superclass_of_class): New function. 981 (create_tree_of_subclasses_inherited_from): Use it. 982 (__objc_tree_insert_class): Likewise. 983 (class_is_subclass_of_class): Likewise. 984 9852003-04-11 David Chad <davidc@freebsd.org> 986 Loren J. Rittle <ljrittle@acm.org> 987 988 libobjc/8562 989 * objc/hash.h (hash_string): Constify correctly. 990 (compare_ptrs): Use direct compare. 991 * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow. 992 * objc/sarray.h: Global rename index to indx to avoid shadow. 993 9942003-03-12 Andreas Schwab <schwab@suse.de> 995 996 * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in 997 glibcpp_toolexeclibdir. 998 * configure: Rebuilt. 999 10002003-02-20 Alexandre Oliva <aoliva@redhat.com> 1001 1002 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to 1003 config.status. 1004 * configure: Rebuilt. 1005 10062003-01-27 Alexandre Oliva <aoliva@redhat.com> 1007 1008 * aclocal.m4 (glibcpp_toolexeclibdir): Instead of 1009 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless 1010 version_specific_libs is enabled. 1011 * configure: Rebuilt. 1012 10132003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de> 1014 1015 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR. 1016 (install-libs, install-headers): Prepend $(DESTDIR) to 1017 destination paths in all (un)installation commands. 1018 10192002-12-02 Zack Weinberg <zack@codesourcery.com> 1020 1021 * thr-objc.c: Include coretypes.h and tm.h. 1022 10232002-12-01 Zack Weinberg <zack@codesourcery.com> 1024 1025 * encoding.c, sendmsg.c: Include coretypes.h and tm.h. 1026 10272002-11-26 Nathanael Nerode <neroden@gcc.gnu.org> 1028 1029 * configure.in: Remove skip-this-dir support. 1030 * configure: Regenerate. 1031 10322002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 1033 1034 * Makefile.in (all): Fix multilib parallel build. 1035 1036Thu Sep 12 12:44:37 2002 Nicola Pero <n.pero@mi.flashnet.it> 1037 1038 * sendmsg.c (nil_method): Declare not to take a variable number of 1039 args. 1040 (objc_msg_lookup): Cast nil_method to IMP before returning it. 1041 (objc_msg_lookup_super): The same. 1042 10432002-09-10 Jan Hubicka <jh@suse.cz> 1044 1045 * nil_method.c (nil_method): No longer defined with variable 1046 arguments. 1047 10482002-07-02 Rodney Brown <rbrown64@csc.com.au> 1049 1050 * objc/encoding.h: Fix formatting. 1051 * objc/hash.h: Likewise. 1052 * objc/objc-api.h: Likewise. 1053 * objc/runtime.h: Likewise. 1054 * objc/thr.h: Likewise. 1055 * archive.c: Likewise. 1056 * class.c: Likewise. 1057 * encoding.c: Likewise. 1058 * gc.c: Likewise. 1059 * hash.c: Likewise. 1060 * init.c: Likewise. 1061 * misc.c: Likewise. 1062 * nil_method.c: Likewise. 1063 * objects.c: Likewise. 1064 * sarray.c: Likewise. 1065 * selector.c: Likewise. 1066 * sendmsg.c: Likewise. 1067 * thr-mach.c: Likewise. 1068 * thr.c: Likewise. 1069 10702002-06-25 DJ Delorie <dj@redhat.com> 1071 1072 * aclocal.m4 (GLIBCPP_CONFIGURE): Split out 1073 GLIBCPP_TOPREL_CONFIGURE. 1074 * configure.in: Call it before AC_CANONICAL_SYSTEM. 1075 * configure: Regenerate. 1076 10772002-06-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 1078 1079 * Object.m (forward, read, write): Fix unused parameter warnings. 1080 * encoding.c: Include <stdlib.h>. 1081 (target_flags): Mark with attribute unused. 1082 (atoi): Delete. 1083 * runtime.h (__objc_selector_max_index): Change to unsigned int. 1084 (__objc_generate_gc_type_description): Prototype. 1085 * selector.c (__objc_selector_max_index): Change to unsigned int. 1086 1087Mon Jun 17 18:37:42 2002 Nicola Pero <n.pero@mi.flashnet.it> 1088 1089 * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure 1090 we always have a return value: if __objc_msg_forward does not 1091 supply a forwarding implementation, return the default 1092 __builtin_apply based one. 1093 10942002-06-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 1095 1096 * Object.m: Fix signed/unsigned warning. 1097 * Protocol.m: Likewise. 1098 * archive.c: Always include stdlib.h. 1099 (objc_read_short, objc_read_unsigned_short, objc_read_int, 1100 objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong): 1101 Fix signed/unsigned warning. 1102 (objc_write_type, objc_read_type, objc_write_types, 1103 objc_read_types): Ensure ctype 8-bit safety. 1104 (__objc_no_write, __objc_no_read): Mark unused parameters. 1105 * class.c (class_table_setup): Specify void arg. 1106 * encoding.c (atoi, objc_sizeof_type, objc_alignof_type, 1107 objc_skip_typespec, objc_skip_offset, 1108 objc_layout_structure_next_member): Ensure ctype 8-bit safety. 1109 (objc_layout_structure_next_member): Ensure variables are 1110 initialized. 1111 * gc.c (__objc_generate_gc_type_description, 1112 class_ivar_set_gcinvisible): Mark unused parameters. 1113 * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark 1114 unused parameters. 1115 (__objc_init_protocols) Fix signed/unsigned warning. 1116 * nil_method.c (nil_method): Mark unused parameters. 1117 * thr.h (objc_thread_callback): Specify void arg. 1118 * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix 1119 signed/unsigned warning. 1120 (sarray_free): Fix formatting. 1121 * selector.c (sel_types_match): Ensure ctype 8-bit safety. 1122 * sendmsg.c (__objc_init_install_dtable) Mark unused parameters. 1123 11242002-06-09 Andreas Jaeger <aj@suse.de> 1125 1126 * encoding.c (objc_layout_structure_next_member): Remove unused 1127 variable. 1128 11292002-05-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 1130 1131 * Makefile.in (SHELL): Set to @SHELL@. 1132 (WARN_CFLAGS): New. 1133 (ALL_CFLAGS): Add $(WARN_CFLAGS). 1134 11352002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 1136 1137 * aclocal.m4: Allow for PWDCMD to override hardcoded pwd. 1138 * configure: Regenerate. 1139 11402002-05-08 Alexandre Oliva <aoliva@redhat.com> 1141 1142 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at 1143 script entry, and set LD to it when configuring multilibs. 1144 * configure: Rebuilt. 1145 11462002-04-19 David O'Brien <obrien@FreeBSD.org> 1147 1148 * encoding.c (MAX, MIN, ROUNDING): #undef before defining. 1149 11502002-04-09 Hans-Peter Nilsson <hp@bitrange.com> 1151 1152 PR objc/6107 1153 * objc/objc-api.h (struct objc_protocol_list): Change type of 1154 member count from int to size_t. 1155 11562002-02-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> 1157 1158 PR libobjc/4039 1159 * aclocal.m4: Replace with version copied from libstdc++-v3. 1160 * configure.in: Update for changes to aclocal and Makefile. 1161 * configure: Regenerate. 1162 * Makefile.in: Correct install of multilibs and shared libs, use 1163 INSTALL_DATA for include files. 1164 1165Mon Dec 17 17:02:12 2001 Nicola Pero <nicola@brainstorm.co.uk> 1166 1167 * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed 1168 categories - when an unclaimed category was found, the loop was 1169 doing two steps forward instead of one, so that in certain cases 1170 it was failing to properly load all the categories. (Reported 1171 with fix by Alexander Malmberg <alexander@malmberg.org>). 1172 11732001-11-14 Aldy Hernandez <aldyh@redhat.com> 1174 1175 * encoding.c: Add target_flags. 1176 11772001-11-07 Aldy Hernandez <aldyh@redhat.com> 1178 1179 * objc/objc-api.h (_C_VECTOR): New. 1180 1181 * encoding.c (VECTOR_TYPE): New. 1182 1183Mon Oct 29 21:29:21 2001 Nicola Pero <n.pero@mi.flashnet.it> 1184 1185 * class.c: Rewritten the class table to use optimized, lock-free 1186 lookup. This more than doubles the speed of class method 1187 invocations. (class_table_setup), (class_table_insert), 1188 (class_table_replace), (class_table_get_safe), 1189 (class_table_next), (class_table_print), 1190 (class_table_print_histogram): New functions. 1191 (__objc_init_class_tables): Use class_table_setup. 1192 (__objc_add_class_to_hash): Use class_table_get_safe and 1193 class_table_insert. (objc_lookup_class), (objc_get_class): Do not 1194 assert the existence of the table; do not lock the runtime; use 1195 class_table_get_safe. (objc_next_class): Use class_table_next. 1196 (__objc_resolve_class_links): Use class_table_next. 1197 (class_pose_as): Use class_table_replace. 1198 11992001-09-10 Ovidiu Predescu <ovidiu@cup.hp.com> 1200 1201 * gc.c: Removed the DEBUG declaration. 1202 1203Wed Jul 18 12:48:56 2001 Nicola Pero <n.pero@mi.flashnet.it> 1204 1205 * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly, 1206 rather than through objc_thread_id, to save a function call. 1207 (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait): 1208 Ditto. 1209 1210Mon Jul 16 12:15:00 2001 Nicola Pero <n.pero@mi.flashnet.it> 1211 1212 * objc/objc-api.h (object_is_class): Fixed - buggy code was trying 1213 to cast an id to a Class, which can not be done. Make the check 1214 by using CLS_ISMETA on the class pointer instead. 1215 (object_is_meta_class): Similar fix. 1216 12172001-06-09 Alexandre Oliva <aoliva@redhat.com>, Stephen L Moshier <moshier@mediaone.net> 1218 1219 * configure.in (AC_EXEEXT): Work around in case it expands to 1220 nothing, as in autoconf 2.50. 1221 * acinclude.m4: Likewise. 1222 * configure: Rebuilt. 1223 12242001-06-08 Nicola Pero <n.pero@mi.flashnet.it> 1225 1226 * THREADS: Explain that when we compile libobjc inside GCC, we 1227 always use thr-objc.c as a backend, which uses GCC's thread code. 1228 12292001-06-06 Richard Frith-Macdonald <rrfm@gnu.org> 1230 1231 * init.c (__objc_send_message_in_list): When setting a new entry 1232 in __objc_load_methods use the method IMP as key, but check to see 1233 if the method is in the hashtable by looking at the IMP also. 1234 Also ... call the method after adding it to the hashtable rather 1235 than before ... thus preventing an obscure possibility of infinite 1236 recursion if a +load method itself loads a subclass. 1237 12382001-05-25 Ovidiu Predescu <ovidiu@cup.hp.com> 1239 1240 * init.c (__objc_send_message_in_list): When setting a new entry 1241 in __objc_load_methods use the method name as key, not the method 1242 IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>). 1243 12442001-05-09 Joseph S. Myers <jsm28@cam.ac.uk> 1245 1246 * objc-features.texi: Move to ../gcc/objc.texi. 1247 * fdl.texi: Remove. 1248 * Makefile.in: Don't generate documentation from 1249 objc-features.texi. 1250 12512001-05-01 Mark Mitchell <mark@codesourcery.com> 1252 1253 * fdl.texi: New file. 1254 * objc-features.texi: Simplify. 1255 * Makefile.in: Adjust accordingly. 1256 12572001-04-30 Mark Mitchell <mark@codesourcery.com> 1258 1259 * objc-features.texi: Use the GFDL. 1260 1261Wed Mar 21 04:44:58 EST 2001 John Wehle (john@feith.com) 1262 1263 * encoding.c (REAL_TYPE): Define. 1264 12652001-03-19 David Edelsohn <edelsohn@gnu.org> 1266 1267 * encoding.c (TYPE_MODE): Define. 1268 12692001-03-14 Nicola Pero <n.pero@mi.flashnet.it> 1270 1271 * thr.c (objc_thread_add): New function. 1272 (objc_thread_remove): Ditto. 1273 * objc/thr.h: Declare them. 1274 * libobjc.def: Mention them. 1275 12762001-02-28 Ovidiu Predescu <ovidiu@cup.hp.com> 1277 1278 * objc-features.texi: Document the @compatibility_alias compiler 1279 directive (description from Nicola Pero <n.pero@mi.flashnet.it>). 1280 1281Fri Feb 23 18:12:00 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 1282 1283 * sendmsg.c (__objc_forward): Delete strlen() declaration. 1284 12852001-02-08 Geoffrey Keating <geoffk@redhat.com> 1286 1287 * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because 1288 we're not interested in the result and they might fail. 1289 * configure: Regenerated. 1290 12912001-01-12 Joseph S. Myers <jsm28@cam.ac.uk> 1292 1293 * objc-features.texi: Use @email. 1294 12952001-01-12 Joseph S. Myers <jsm28@cam.ac.uk> 1296 1297 * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside 1298 printf. 1299 13002000-01-11 Richard Earnshaw <rearnsha@arm.com> 1301 1302 * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that 1303 determines the value dynamically. 1304 1305Wed Jan 3 00:49:10 2001 Ovidiu Predescu <ovidiu@cup.hp.com> 1306 1307 * sendmsg.c: Added __objc_msg_forward, a hook that allows external 1308 libraries to provide a function that returns the real forwarding 1309 function. This can alleviate problems __builtin_apply() and 1310 friends have on various platforms. (Solution suggested by Helge 1311 Hess.) 1312 1313 * objc/objc-api.h: Define __objc_msg_forward. 1314 1315 * sendmsg.c: Define gen_rtx_REG. 1316 13172000-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 1318 1319 * thr-rtems.c: New file. Stub to compile. 1320 13212000-09-06 Alexandre Oliva <aoliva@redhat.com> 1322 1323 * configure: Rebuilt with new libtool.m4. 1324 1325Tue Aug 15 00:38:56 2000 Ovidiu Predescu <ovidiu@cup.hp.com> 1326 1327 * configure.in: Create a config.h file. Check for <sched.h>. 1328 * configure: Regenerate. 1329 1330 * config.h.in: Check for <sched.h>. 1331 13322000-08-14 Zack Weinberg <zack@wolery.cumb.org> 1333 1334 * configure: Regenerate after change to ../libtool.m4. 1335 13362000-08-14 Andreas Schwab <schwab@suse.de> 1337 1338 * objc-features.texi (Top): Move @menu at end of node. 1339 13402000-08-11 Manfred Hollstein <manfredh@redhat.com> 1341 1342 * objc-features.texi: Move @node Top before @menu. 1343 1344Sun Aug 6 23:27:49 2000 Ovidiu Predescu <ovidiu@cup.hp.com> 1345 1346 * objc-features.texi: Documented the new -fconstant-string-class 1347 option. 1348 1349Sun Aug 6 22:51:16 2000 Ovidiu Predescu <ovidiu@cup.hp.com> 1350 1351 * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to 1352 improve the Posix thread support for Objective-C. 1353 13542000-08-04 Zack Weinberg <zack@wolery.cumb.org> 1355 1356 * aclocal.m4: Replace copy of ../libtool.m4 with 1357 sinclude(../libtool.m4). 1358 1359Fri Jul 28 08:58:02 2000 Nicola Pero <nicola@brainstorm.co.uk> 1360 1361 * configure.in: Added libtool support; build shared libraries 1362 if --enable-shared was passed on command line. 1363 * Makefile.in: Modified most compilation commands to use libtool. 1364 * aclocal.m4: New symbolic link to the ../libtool.m4, from the 1365 libtool distribution. 1366 1367Sat Jul 29 00:10:21 2000 Ovidiu Predescu <ovidiu@cup.hp.com> 1368 1369 * sarray.c, Object.m: Removed the explicit prototypes for strlen 1370 and memcpy on 64-bit platforms (Suggested by Rodney Brown 1371 <rdb@cup.hp.com>). 1372 13732000-05-12 H.J. Lu (hjl@gnu.org) 1374 1375 * Makefile.in (GTHREAD_FLAGS): New. 1376 (ALL_CFLAGS): Add $(GTHREAD_FLAGS). 1377 (OBJC_THREAD_FILE): Changed to thr-objc. 1378 1379 * configure.in (GTHREAD_FLAGS): New, check and replace it for 1380 Makefile. 1381 (OBJC_THREAD_FILE): Removed. 1382 1383 * thr-objc.c: New. 1384 13852000-07-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 1386 1387 * objc/hash.h: Include string.h. 1388 13892000-04-15 David Edelsohn <edelsohn@gnu.org> 1390 1391 * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well. 1392 13932000-04-12 Jakub Jelinek <jakub@redhat.com> 1394 1395 * Object.m (strlen): Provide prototype on all 64bit platforms, 1396 not only alpha. 1397 * sarray.c (memcpy): Likewise. 1398 * encoding.c (objc_layout_finish_structure): Don't use 1399 ROUND_TYPE_ALIGN on sparc. 1400 1401 * encoding.c (objc_layout_structure_next_member): Do the whole 1402 procedure even for the first member, so that we get correct 1403 alignment. 1404 14052000-03-29 Zack Weinberg <zack@wolery.cumb.org> 1406 1407 * objc/Protocol.h, objc/objc-list.h: Change #endif labels to 1408 comments. 1409 14102000-02-23 Zack Weinberg <zack@wolery.cumb.org> 1411 1412 * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS. 1413 1414Thu Sep 23 07:19:12 1999 Chris Ball <cball@fmco.com> 1415 1416 * thr-posix.c (__objc_mutex_deallocate): made deallocate work. 1417 1418Tue Sep 21 07:47:10 1999 Jeffrey A Law (law@cygnus.com) 1419 1420 * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to 1421 the compiler when building C code. 1422 1423Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org> 1424 1425 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix, 1426 libdir, libsubdir and tooldir. 1427 1428Mon Jun 21 05:40:15 1999 John David Anglin <dave@hiauly1> 1429 1430 * init.c (__objc_force_linking): Make global. 1431 1432Thu May 20 03:20:59 1999 Jeffrey A Law (law@cygnus.com) 1433 1434 * configure.in (AC_EXEEXT): Remove call. 1435 (compiler_name): Explicitly check with no extension and .exe 1436 extension. 1437 * configure: Regenerate. 1438 1439Sun Apr 25 01:15:34 1999 Mumit Khan <khan@xraylith.wisc.edu> 1440 1441 * Makefile.in (CC1OBJ): Define in terms of CC. 1442 (runtime-info.h): Use. 1443 1444Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com> 1445 1446 * objc-features.texi: Updated the URL to Boehm's GC page. 1447 1448Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com> 1449 1450 * archive.c (__objc_code_char, __objc_write_char): Explicitly specify 1451 the char as being signed (patch from Daniel Jacobowitz 1452 <drow@false.org>). 1453 1454Wed Mar 24 22:41:28 1999 Mumit Khan <khan@xraylith.wisc.edu> 1455 1456 * configure.in (AC_PREREQ): Update to 2.13. 1457 (AC_EXEEXT): Call to find possible file extension. 1458 (compiler_name): Use. 1459 * configure: Regenerate. 1460 1461Wed Jan 27 02:31:01 1999 Jeffrey A Law (law@cygnus.com) 1462 1463 * Makefile.in (ALL_CFLAGS): Add -DIN_GCC. 1464 1465Tue Jan 5 01:38:53 1999 Jeffrey A Law (law@cygnus.com) 1466 1467 * configure.in (thread_file): Correct and simplify code to find 1468 the thread file. 1469 * configure: Rebuilt. 1470 14711998-11-26 Manfred Hollstein <manfred@s-direktnet.de> 1472 1473 * configure.in (compiler_name): Add check to detect if this 1474 language's compiler has been built. 1475 * configure: Regenerate. 1476 1477Mon Nov 23 16:50:28 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 1478 1479 * configure.in: Use AC_PREREQ(2.12.1). 1480 1481Thu Nov 19 20:33:37 1998 Jeffrey A Law (law@cygnus.com) 1482 1483 * Makefile.in (runtime-info.h): Avoid GNU make extensions. 1484 1485Sun Nov 8 17:46:14 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 1486 1487 * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include. 1488 1489Thu Oct 22 14:34:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 1490 1491 * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir). 1492 1493Sat Oct 17 05:21:31 1998 Ovidiu Predescu <ovidiu@slip.net> 1494 1495 * objc-features.texi (Top): Changed the email address. 1496 * objc-features.texi (Garbage Collection): Use @uref instead of @url. 1497 1498Mon Oct 11 21:25:27 1998 Ovidiu Predescu <ovidiu@slip.net> 1499 1500 * encoding.c: Redefine get_inner_array_type to get the first entry 1501 in the structure. 1502 1503Thu Oct 8 12:21:14 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk> 1504 1505 * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF. 1506 (objc_get_type_qualifiers): Similarly. 1507 * objc/encoding.h (_C_BYREF): Define. 1508 (_F_BYREF): Define. 1509 15101998-10-07 David S. Miller <davem@pierdol.cobaltmicro.com> 1511 1512 * objc/sarray.h: Make boffset be an unsigned long when sparc so it 1513 works out on 64-bit systems. 1514 1515Tue Oct 6 20:32:06 1998 Alexandre Oliva <oliva@dcc.unicamp.br> 1516 1517 * Makefile.in (INCLUDES): Make it multilib-friendly. 1518 1519Fri Oct 2 07:12:14 1998 H.J. Lu (hjl@gnu.org) 1520 1521 * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc. 1522 1523Thu Oct 1 22:33:03 1998 Robert Lipe <robertl@dgii.com> 1524 Jeffrey A Law (law@cygnus.com) 1525 1526 * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP. 1527 (FLAGS_TO_PASS): Added. 1528 (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP. 1529 1530 * archive.c: Change config.h to tconfig.h. 1531 1532 * configure.in: Find gcc's object directory even for multilibs. 1533 1534Wed Sep 30 18:17:17 1998 Robert Lipe <robertl@dgii.com> 1535 1536 * configure.in: Escape ^ in grep string. 1537 * configure: Rebuilt. 1538 1539Wed Sep 30 09:14:52 1998 Jeffrey A Law (law@cygnus.com) 1540 1541 * All .h files pushed down into the objc/ subdirectory. 1542 * Makefile.in (copy_headers): Corresponding changes. 1543 * configure.in (AC_INIT): Corresponding changes. 1544 * configure: Rebuilt. 1545 15461998-09-30 Ben Elliston <bje@cygnus.com> 1547 Jeff Law <law@cygnus.com> 1548 1549 * Makefile.in: Rewrite. 1550 1551 * configure.in: Likewise. 1552 1553 * configure: Regenerate. 1554 1555 * All .c files. Remove "objc" prefix when including objc header 1556 files. Include tconfig.h, not ../tconfig.h. 1557 1558Mon Sep 21 23:27:10 1998 Ovidiu Predescu <ovidiu@slip.net> 1559 1560 * encoding.c (TREE_TYPE, ARRAY_TYPE): Define. 1561 (get_inner_array_type): Define. 1562 15631998-09-21 Ben Elliston <bje@cygnus.com> 1564 1565 * New directory. Moved files from ../gcc/objc. 1566