diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2014-10-30 09:35:42 +0000 |
---|---|---|
committer | <> | 2015-01-09 11:51:27 +0000 |
commit | c27a97d04853380f1e80525391b3f0d156ed4c84 (patch) | |
tree | 68ffaade7c605bc80cffa18360799c98a810976f /libobjc | |
parent | 6af3fdec2262dd94954acc5e426ef71cbd4521d3 (diff) | |
download | gcc-tarball-c27a97d04853380f1e80525391b3f0d156ed4c84.tar.gz |
Imported from /home/lorry/working-area/delta_gcc-tarball/gcc-4.9.2.tar.bz2.gcc-4.9.2
Diffstat (limited to 'libobjc')
51 files changed, 195 insertions, 113 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index fc3b5c0aeb..62f7cdadd3 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -1,18 +1,80 @@ -2013-04-11 Release Manager +2014-10-30 Release Manager - * GCC 4.7.3 released. + * GCC 4.9.2 released. -2012-09-20 Release Manager +2014-07-28 Ulrich Weigand <uweigand@de.ibm.com> - * GCC 4.7.2 released. + PR libobjc/61920 + * encoding.c (rs6000_special_adjust_field_align_p): Use definition + that matches the 4.9 branch ABI. -2012-06-14 Release Manager +2014-07-27 Alan Modra <amodra@gmail.com> + Matthias Klose <doko@ubuntu.com> + + PR libobjc/61920 + + * encoding.c: Define rs6000_special_adjust_field_align_p. + +2014-07-16 Release Manager + + * GCC 4.9.1 released. + +2014-04-22 Release Manager + + * GCC 4.9.0 released. + +2014-01-02 Richard Sandiford <rdsandiford@googlemail.com> + + Update copyright years + +2013-09-20 Alan Modra <amodra@gmail.com> + + * configure: Regenerate. + +2013-07-21 OndÅej BÃlka <neleai@seznam.cz> + + * class.c: Fix typos. + * encoding.c: Likewise. + * init.c: Likewise. + * objc-private/runtime.h: Likewise. + * objc/runtime.h: Likewise. + * objc-sync.c: Likewise. - * GCC 4.7.1 released. +2013-07-04 Kai Tietz <ktietz@redhat.com> -2012-03-22 Release Manager + * exception.c: Add check for SjLj to SEH blocks. - * GCC 4.7.0 released. +2013-02-03 Richard Sandiford <rdsandiford@googlemail.com> + + Update copyright years. + +2012-10-19 Michael Meissner <meissner@linux.vnet.ibm.com> + + * encoding.c (TARGET_VSX): Provide definitions based on the + current compilation options, and not based off the target options + structure. + (TARGET_ALTIVEC): Likewise. + (TARGET_64BIT): Likewise. + +2012-09-14 David Edelsohn <dje.gcc@gmail.com> + + * configure: Regenerated. + +2012-07-19 Tristan Gingold <gingold@adacore.com> + Richard Henderson <rth@redhat.com> + + * exception.c (__gnu_objc_personality_seh0): New function. + +2012-05-16 H.J. Lu <hongjiu.lu@intel.com> + + * configure: Regenerated. + +2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * configure.ac (enable_objc_gc): Remove alpha*-dec-osf* handling. + * configure: Regenerate. + + * thr.c (_XOPEN_SOURCE): Define unconditionally. 2011-11-21 Andreas Tobler <andreast@fgznet.ch> @@ -43,7 +105,7 @@ fields other than the first two upon loading a class. 2011-10-09 Nicola Pero <nicola.pero@meta-innovation.com> - + * class.c (objc_lookup_class): Added back for compatibility with clang which seems to emit calls to it. diff --git a/libobjc/Makefile.in b/libobjc/Makefile.in index 1427bac43b..c6f155bd40 100644 --- a/libobjc/Makefile.in +++ b/libobjc/Makefile.in @@ -1,6 +1,5 @@ # Makefile for GNU Objective C runtime library. -# Copyright 1993, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 1993-2014 Free Software Foundation, Inc. #This file is part of GCC. diff --git a/libobjc/NXConstStr.m b/libobjc/NXConstStr.m index 1442ba6d39..1b8bb7621e 100644 --- a/libobjc/NXConstStr.m +++ b/libobjc/NXConstStr.m @@ -1,5 +1,5 @@ /* Implementation of the NXConstantString class for Objective-C. - Copyright (C) 1995, 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 1995-2014 Free Software Foundation, Inc. Contributed by Pieter J. Schoenmakers <tiggr@es.ele.tue.nl> This file is part of GCC. diff --git a/libobjc/Object.m b/libobjc/Object.m index 552acb037f..6e4af06316 100644 --- a/libobjc/Object.m +++ b/libobjc/Object.m @@ -1,6 +1,5 @@ /* The implementation of class Object for Objective-C. - Copyright (C) 1993, 1994, 1995, 1997, 2002, 2009, 2010 - Free Software Foundation, Inc. + Copyright (C) 1993-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/libobjc/Protocol.m b/libobjc/Protocol.m index 400f2a2087..9ad7afda90 100644 --- a/libobjc/Protocol.m +++ b/libobjc/Protocol.m @@ -1,5 +1,5 @@ /* This file contains the implementation of class Protocol. - Copyright (C) 1993, 2004, 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 1993-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/libobjc/accessors.m b/libobjc/accessors.m index a47903a6c8..a912155fff 100644 --- a/libobjc/accessors.m +++ b/libobjc/accessors.m @@ -1,5 +1,5 @@ /* GNU Objective C Runtime accessors functions - Copyright (C) 2010 Free Software Foundation, Inc. + Copyright (C) 2010-2014 Free Software Foundation, Inc. Contributed by Nicola Pero This file is part of GCC. diff --git a/libobjc/acinclude.m4 b/libobjc/acinclude.m4 index 581a5f272a..34cd102577 100644 --- a/libobjc/acinclude.m4 +++ b/libobjc/acinclude.m4 @@ -1,5 +1,4 @@ -dnl Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2010 -dnl Free Software Foundation, Inc. +dnl Copyright (C) 1994-2014 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. diff --git a/libobjc/class.c b/libobjc/class.c index 3b750829f3..190dabcb74 100644 --- a/libobjc/class.c +++ b/libobjc/class.c @@ -1,6 +1,5 @@ /* GNU Objective C Runtime class related functions - Copyright (C) 1993, 1995, 1996, 1997, 2001, 2002, 2009, 2010 - Free Software Foundation, Inc. + Copyright (C) 1993-2014 Free Software Foundation, Inc. Contributed by Kresten Krab Thorup and Dennis Glatting. Lock-free class table code designed and written from scratch by @@ -765,7 +764,7 @@ objc_get_meta_class (const char *name) } /* This is not used by GCC, but the clang compiler seems to use it - when targetting the GNU runtime. That's wrong, but we have it to + when targeting the GNU runtime. That's wrong, but we have it to be compatible. */ Class objc_lookup_class (const char *name) diff --git a/libobjc/configure b/libobjc/configure index 8c07356af0..dd39d7ec8b 100755 --- a/libobjc/configure +++ b/libobjc/configure @@ -2329,13 +2329,6 @@ if test "${enable_objc_gc+set}" = set; then : OBJC_GCFLAGS='-DOBJC_WITH_GC=1' OBJC_BOEHM_GC='libobjc_gc$(libsuffix).la' OBJC_BOEHM_GC_INCLUDES='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include' - case "${host}" in - alpha*-dec-osf*) - # boehm-gc headers include <pthread.h>, which needs to be compiled - # with -pthread on Tru64 UNIX. - OBJC_GCFLAGS="${OBJC_GCFLAGS} -pthread" - ;; - esac ;; esac else @@ -6063,7 +6056,7 @@ ia64-*-hpux*) rm -rf conftest* ;; -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ +x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext @@ -6079,9 +6072,19 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) LD="${LD-ld} -m elf_i386_fbsd" ;; x86_64-*linux*) - LD="${LD-ld} -m elf_i386" + case `/usr/bin/file conftest.o` in + *x86-64*) + LD="${LD-ld} -m elf32_x86_64" + ;; + *) + LD="${LD-ld} -m elf_i386" + ;; + esac ;; - ppc64-*linux*|powerpc64-*linux*) + powerpc64le-*linux*) + LD="${LD-ld} -m elf32lppclinux" + ;; + powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) @@ -6100,7 +6103,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; - ppc*-*linux*|powerpc*-*linux*) + powerpcle-*linux*) + LD="${LD-ld} -m elf64lppc" + ;; + powerpc-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) @@ -7621,6 +7627,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' fi + lt_prog_compiler_pic='-fPIC' ;; amigaos*) @@ -10594,7 +10601,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 10597 "configure" +#line 10604 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -10700,7 +10707,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 10703 "configure" +#line 10710 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11471,7 +11478,7 @@ if test "${enable_sjlj_exceptions+set}" = set; then : enableval=$enable_sjlj_exceptions; : else cat > conftest.$ac_ext << EOF -#line 11474 "configure" +#line 11481 "configure" @interface Frob @end @implementation Frob diff --git a/libobjc/configure.ac b/libobjc/configure.ac index 52599e6019..340851fc98 100644 --- a/libobjc/configure.ac +++ b/libobjc/configure.ac @@ -1,6 +1,5 @@ # Process this file with autoconf to produce a configure script. -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004 -# 2005, 2006, 2009, 2011 Free Software Foundation, Inc. +# Copyright (C) 1994-2014 Free Software Foundation, Inc. # Originally contributed by Dave Love (d.love@dl.ac.uk). # #This file is part of GCC. @@ -71,13 +70,6 @@ AC_ARG_ENABLE(objc-gc, OBJC_GCFLAGS='-DOBJC_WITH_GC=1' OBJC_BOEHM_GC='libobjc_gc$(libsuffix).la' OBJC_BOEHM_GC_INCLUDES='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include' - case "${host}" in - alpha*-dec-osf*) - # boehm-gc headers include <pthread.h>, which needs to be compiled - # with -pthread on Tru64 UNIX. - OBJC_GCFLAGS="${OBJC_GCFLAGS} -pthread" - ;; - esac ;; esac], [OBJC_GCFLAGS=''; OBJC_BOEHM_GC=''; OBJC_BOEHM_GC_INCLUDES='']) diff --git a/libobjc/encoding.c b/libobjc/encoding.c index bd8b67e0e8..c476f22ad4 100644 --- a/libobjc/encoding.c +++ b/libobjc/encoding.c @@ -1,6 +1,5 @@ /* Encoding of types for Objective C. - Copyright (C) 1993, 1995, 1996, 1997, 1998, 2000, 2002, 2004, 2009, 2010 - Free Software Foundation, Inc. + Copyright (C) 1993-2014 Free Software Foundation, Inc. Contributed by Kresten Krab Thorup Bitfield support by Ovidiu Predescu @@ -112,6 +111,32 @@ static int __attribute__ ((__unused__)) not_target_flags = 0; #undef ALTIVEC_VECTOR_MODE #define ALTIVEC_VECTOR_MODE(MODE) (0) +/* Replace TARGET_VSX, TARGET_ALTIVEC, and TARGET_64BIT with constants based on + the current switches, rather than looking in the options structure. */ +#ifdef _ARCH_PPC +#undef TARGET_VSX +#undef TARGET_ALTIVEC +#undef TARGET_64BIT + +#ifdef __VSX__ +#define TARGET_VSX 1 +#else +#define TARGET_VSX 0 +#endif + +#ifdef __ALTIVEC__ +#define TARGET_ALTIVEC 1 +#else +#define TARGET_ALTIVEC 0 +#endif + +#ifdef _ARCH_PPC64 +#define TARGET_64BIT 1 +#else +#define TARGET_64BIT 0 +#endif +#endif + /* Furthermore, some (powerpc) targets also use TARGET_ALIGN_NATURAL in their alignment macros. Currently[4.5/6], rs6000.h points this to a static variable, initialized by target overrides. This is reset @@ -167,6 +192,8 @@ _darwin_rs6000_special_round_type_align (const char *struc, int comp, int spec) ? MAX (MAX (COMPUTED, SPECIFIED), 64) \ : MAX (COMPUTED, SPECIFIED));}) +#define rs6000_special_adjust_field_align_p(FIELD, COMPUTED) \ + (TARGET_ALTIVEC && TREE_CODE (TREE_TYPE (FIELD)) == VECTOR_TYPE) /* Skip a variable name, enclosed in quotes ("). */ static inline @@ -1036,7 +1063,7 @@ objc_get_type_qualifiers (const char *type) These functions are used by objc_sizeof_type and objc_alignof_type functions to compute the size and alignment of structures. The previous method of computing the size and alignment of a structure - was not working on some architectures, particulary on AIX, and in + was not working on some architectures, particularly on AIX, and in the presence of bitfields inside the structure. */ void objc_layout_structure (const char *type, diff --git a/libobjc/error.c b/libobjc/error.c index b56aa4da66..51f18f1051 100644 --- a/libobjc/error.c +++ b/libobjc/error.c @@ -1,6 +1,5 @@ /* GNU Objective C Runtime Error Functions - Copyright (C) 1993, 1994, 1995, 1996, 1997, 2002, 2009, 2010 - Free Software Foundation, Inc. + Copyright (C) 1993-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/libobjc/exception.c b/libobjc/exception.c index 04308ce13e..9d560c47df 100644 --- a/libobjc/exception.c +++ b/libobjc/exception.c @@ -1,5 +1,5 @@ /* The implementation of exception handling primitives for Objective-C. - Copyright (C) 2004, 2005, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 2004-2014 Free Software Foundation, Inc. This file is part of GCC. @@ -202,6 +202,8 @@ get_ttype_entry (struct lsda_header_info *info, _Unwind_Word i) #ifdef SJLJ_EXCEPTIONS #define PERSONALITY_FUNCTION __gnu_objc_personality_sj0 #define __builtin_eh_return_data_regno(x) x +#elif defined(__SEH__) && !defined (__USING_SJLJ_EXCEPTIONS__) +#define PERSONALITY_FUNCTION __gnu_objc_personality_imp #else #define PERSONALITY_FUNCTION __gnu_objc_personality_v0 #endif @@ -225,6 +227,9 @@ PERSONALITY_FUNCTION (_Unwind_State state, #define CONTINUE_UNWINDING return _URC_CONTINUE_UNWIND +#if defined (__SEH__) && !defined (__USING_SJLJ_EXCEPTIONS__) +static +#endif _Unwind_Reason_Code PERSONALITY_FUNCTION (int version, _Unwind_Action actions, @@ -519,3 +524,13 @@ objc_exception_throw (id exception) abort (); } +#if defined (__SEH__) && !defined (__USING_SJLJ_EXCEPTIONS__) +EXCEPTION_DISPOSITION +__gnu_objc_personality_seh0 (PEXCEPTION_RECORD ms_exc, void *this_frame, + PCONTEXT ms_orig_context, + PDISPATCHER_CONTEXT ms_disp) +{ + return _GCC_specific_handler (ms_exc, this_frame, ms_orig_context, + ms_disp, __gnu_objc_personality_imp); +} +#endif diff --git a/libobjc/gc.c b/libobjc/gc.c index d009230b78..9c31c23dd6 100644 --- a/libobjc/gc.c +++ b/libobjc/gc.c @@ -1,6 +1,5 @@ /* Basic data types for Objective C. - Copyright (C) 1998, 2002, 2004, 2005, 2006, 2009, 2010 - Free Software Foundation, Inc. + Copyright (C) 1998-2014 Free Software Foundation, Inc. Contributed by Ovidiu Predescu. This file is part of GCC. diff --git a/libobjc/hash.c b/libobjc/hash.c index 733fc65019..592bb1bc9d 100644 --- a/libobjc/hash.c +++ b/libobjc/hash.c @@ -1,6 +1,5 @@ /* Hash tables for Objective C internal structures - Copyright (C) 1993, 1996, 1997, 2004, 2009, 2010 - Free Software Foundation, Inc. + Copyright (C) 1993-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/libobjc/init.c b/libobjc/init.c index 23ba41ba12..5d895d7ca2 100644 --- a/libobjc/init.c +++ b/libobjc/init.c @@ -1,6 +1,5 @@ /* GNU Objective C Runtime initialization - Copyright (C) 1993, 1995, 1996, 1997, 2002, 2009, 2010 - Free Software Foundation, Inc. + Copyright (C) 1993-2014 Free Software Foundation, Inc. Contributed by Kresten Krab Thorup +load support contributed by Ovidiu Predescu <ovidiu@net-community.com> @@ -339,7 +338,7 @@ objc_tree_insert_class (Class class) } /* If the list was finished but the class hasn't been inserted, we - don't have an existing class hierarchy that can accomodate it. + don't have an existing class hierarchy that can accommodate it. Create a new one. */ __objc_class_tree_list = list_cons (NULL, __objc_class_tree_list); __objc_class_tree_list->head = __objc_tree_insert_class (NULL, class); @@ -840,7 +839,7 @@ __objc_create_classes_tree (struct objc_module *module) struct objc_symtab *symtab = module->symtab; int i; - /* Iterate thru classes defined in this module and insert them in + /* Iterate through classes defined in this module and insert them in the classes tree hierarchy. */ for (i = 0; i < symtab->cls_def_cnt; i++) { @@ -879,7 +878,7 @@ __objc_call_load_callback (struct objc_module *module) struct objc_symtab *symtab = module->symtab; int i; - /* Iterate thru classes defined in this module and call the callback + /* Iterate through classes defined in this module and call the callback for each one. */ for (i = 0; i < symtab->cls_def_cnt; i++) { diff --git a/libobjc/ivars.c b/libobjc/ivars.c index 6111a03ea1..f666a96ec0 100644 --- a/libobjc/ivars.c +++ b/libobjc/ivars.c @@ -1,5 +1,5 @@ /* GNU Objective C Runtime ivar related functions. - Copyright (C) 2010 Free Software Foundation, Inc. + Copyright (C) 2010-2014 Free Software Foundation, Inc. Contributed by Nicola Pero This file is part of GCC. diff --git a/libobjc/libobjc.def b/libobjc/libobjc.def index 8a295c824f..fce22c93a9 100644 --- a/libobjc/libobjc.def +++ b/libobjc/libobjc.def @@ -1,6 +1,5 @@ ; GNU Objective C Runtime DLL Export Definitions -; Copyright (C) 1997, 2001, 2003, 2005, 2009, 2010 -; Free Software Foundation, Inc. +; Copyright (C) 1997-2014 Free Software Foundation, Inc. ; Contributed by Scott Christley <scottc@net-community.com> ; ; This file is part of GCC. diff --git a/libobjc/linking.m b/libobjc/linking.m index cf28e56965..bc931f52b0 100644 --- a/libobjc/linking.m +++ b/libobjc/linking.m @@ -1,5 +1,5 @@ /* Force linking of classes required by Objective C runtime. - Copyright (C) 1997, 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 1997-2014 Free Software Foundation, Inc. Contributed by Ovidiu Predescu (ovidiu@net-community.com). This file is part of GCC. diff --git a/libobjc/memory.c b/libobjc/memory.c index c02176ef87..181d5a3e4e 100644 --- a/libobjc/memory.c +++ b/libobjc/memory.c @@ -1,6 +1,5 @@ /* GNU Objective C Runtime Memory allocation functions - Copyright (C) 1993, 1994, 1995, 1996, 1997, 2002, 2009, 2010 - Free Software Foundation, Inc. + Copyright (C) 1993-2014 Free Software Foundation, Inc. Contributed by Kresten Krab Thorup This file is part of GCC. diff --git a/libobjc/methods.c b/libobjc/methods.c index b4faee533c..348158c534 100644 --- a/libobjc/methods.c +++ b/libobjc/methods.c @@ -1,5 +1,5 @@ /* GNU Objective C Runtime method related functions. - Copyright (C) 2010 Free Software Foundation, Inc. + Copyright (C) 2010-2014 Free Software Foundation, Inc. Contributed by Nicola Pero This file is part of GCC. diff --git a/libobjc/nil_method.c b/libobjc/nil_method.c index 15e3d528c4..e8bb7f0734 100644 --- a/libobjc/nil_method.c +++ b/libobjc/nil_method.c @@ -1,6 +1,5 @@ /* GNU Objective C Runtime nil receiver function - Copyright (C) 1993, 1995, 1996, 2002, 2009, 2010 - Free Software Foundation, Inc. + Copyright (C) 1993-2014 Free Software Foundation, Inc. Contributed by Kresten Krab Thorup This file is part of GCC. diff --git a/libobjc/objc-foreach.c b/libobjc/objc-foreach.c index 911206118c..eff0372168 100644 --- a/libobjc/objc-foreach.c +++ b/libobjc/objc-foreach.c @@ -1,5 +1,5 @@ /* GNU Objective C Runtime 'fast enumeration' implementation - Copyright (C) 2010 Free Software Foundation, Inc. + Copyright (C) 2010-2014 Free Software Foundation, Inc. Contributed by Nicola Pero <nicola.pero@meta-innovation.com> This file is part of GCC. diff --git a/libobjc/objc-private/accessors.h b/libobjc/objc-private/accessors.h index 570ae7a855..fe15b13fcc 100644 --- a/libobjc/objc-private/accessors.h +++ b/libobjc/objc-private/accessors.h @@ -1,5 +1,5 @@ /* GNU Objective C Runtime accessors - Private Declarations - Copyright (C) 2010 Free Software Foundation, Inc. + Copyright (C) 2010-2014 Free Software Foundation, Inc. Contributed by Nicola Pero <nicola.pero@meta-innovation.com> This file is part of GCC. diff --git a/libobjc/objc-private/common.h b/libobjc/objc-private/common.h index d1f071114e..ee6ff1051f 100644 --- a/libobjc/objc-private/common.h +++ b/libobjc/objc-private/common.h @@ -1,5 +1,5 @@ /* GNU Objective C Runtime Common Private Definitions - Copyright (C) 2010 Free Software Foundation, Inc. + Copyright (C) 2010-2014 Free Software Foundation, Inc. Contributed by Nicola Pero This file is part of GCC. diff --git a/libobjc/objc-private/error.h b/libobjc/objc-private/error.h index e8673f722e..6d796d9907 100644 --- a/libobjc/objc-private/error.h +++ b/libobjc/objc-private/error.h @@ -1,5 +1,5 @@ /* GNU Objective C Runtime Common Private Definitions - Copyright (C) 2010 Free Software Foundation, Inc. + Copyright (C) 2010-2014 Free Software Foundation, Inc. Contributed by Nicola Pero This file is part of GCC. diff --git a/libobjc/objc-private/hash.h b/libobjc/objc-private/hash.h index c330d618e5..3c147514b8 100644 --- a/libobjc/objc-private/hash.h +++ b/libobjc/objc-private/hash.h @@ -1,5 +1,5 @@ /* Hash tables for Objective C method dispatch. - Copyright (C) 1993, 1995, 1996, 2004, 2009 Free Software Foundation, Inc. + Copyright (C) 1993-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/libobjc/objc-private/module-abi-8.h b/libobjc/objc-private/module-abi-8.h index 06846e7969..53b7b8d7ef 100644 --- a/libobjc/objc-private/module-abi-8.h +++ b/libobjc/objc-private/module-abi-8.h @@ -1,6 +1,5 @@ /* Definitions of Module Structures used by ABI version 8 - Copyright (C) 1993, 1995, 1996, 1997, 2001, 2002, 2003, 2004, 2005, - 2007, 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 1993-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/libobjc/objc-private/objc-list.h b/libobjc/objc-private/objc-list.h index 989b9c9d4c..481a6c00d1 100644 --- a/libobjc/objc-private/objc-list.h +++ b/libobjc/objc-private/objc-list.h @@ -1,5 +1,5 @@ /* Generic single linked list to keep various information - Copyright (C) 1993, 1994, 1996, 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 1993-2014 Free Software Foundation, Inc. Contributed by Kresten Krab Thorup. This file is part of GCC. diff --git a/libobjc/objc-private/objc-sync.h b/libobjc/objc-private/objc-sync.h index 95eb28b30e..98608b3bdd 100644 --- a/libobjc/objc-private/objc-sync.h +++ b/libobjc/objc-private/objc-sync.h @@ -1,5 +1,5 @@ /* GNU Objective C Runtime @synchronized implementation - Private functions - Copyright (C) 2010 Free Software Foundation, Inc. + Copyright (C) 2010-2014 Free Software Foundation, Inc. Contributed by Nicola Pero <nicola.pero@meta-innovation.com> This file is part of GCC. diff --git a/libobjc/objc-private/protocols.h b/libobjc/objc-private/protocols.h index 3219ff2893..1721ec9dc4 100644 --- a/libobjc/objc-private/protocols.h +++ b/libobjc/objc-private/protocols.h @@ -1,5 +1,5 @@ /* GNU Objective C Runtime protocols - Private functions - Copyright (C) 2010 Free Software Foundation, Inc. + Copyright (C) 2010-2014 Free Software Foundation, Inc. Contributed by Nicola Pero <nicola.pero@meta-innovation.com> This file is part of GCC. diff --git a/libobjc/objc-private/runtime.h b/libobjc/objc-private/runtime.h index bd11392ebe..3d4c103102 100644 --- a/libobjc/objc-private/runtime.h +++ b/libobjc/objc-private/runtime.h @@ -1,5 +1,5 @@ /* GNU Objective C Runtime internal declarations - Copyright (C) 1993, 1995, 1996, 1997, 2002, 2004, 2009 Free Software Foundation, Inc. + Copyright (C) 1993-2014 Free Software Foundation, Inc. Contributed by Kresten Krab Thorup This file is part of GCC. @@ -32,7 +32,7 @@ The original list was: #include "objc/hash.h" #include "objc/objc-list.h" -but can almost certainly be shrinked down. */ +but can almost certainly be shrunk down. */ #ifndef __objc_private_runtime_INCLUDE_GNU #define __objc_private_runtime_INCLUDE_GNU @@ -42,7 +42,7 @@ but can almost certainly be shrinked down. */ #include <stdio.h> #include <ctype.h> -#include <stddef.h> /* so noone else will get system versions */ +#include <stddef.h> /* so no one else will get system versions */ #include <assert.h> extern BOOL __objc_add_class_to_hash (Class); /* (objc-class.c) */ diff --git a/libobjc/objc-private/sarray.h b/libobjc/objc-private/sarray.h index 12fad921f2..ef32c834ea 100644 --- a/libobjc/objc-private/sarray.h +++ b/libobjc/objc-private/sarray.h @@ -1,5 +1,5 @@ /* Sparse Arrays for Objective C dispatch tables - Copyright (C) 1993, 1995, 1996, 2004, 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 1993-2014 Free Software Foundation, Inc. Contributed by Kresten Krab Thorup. This file is part of GCC. diff --git a/libobjc/objc-private/selector.h b/libobjc/objc-private/selector.h index 32223b9d69..9b489bd2bc 100644 --- a/libobjc/objc-private/selector.h +++ b/libobjc/objc-private/selector.h @@ -1,5 +1,5 @@ /* GNU Objective C Runtime selector implementation - Private functions - Copyright (C) 2010 Free Software Foundation, Inc. + Copyright (C) 2010-2014 Free Software Foundation, Inc. Contributed by Nicola Pero <nicola.pero@meta-innovation.com> This file is part of GCC. diff --git a/libobjc/objc-sync.c b/libobjc/objc-sync.c index d685a35964..f5169bfcf3 100644 --- a/libobjc/objc-sync.c +++ b/libobjc/objc-sync.c @@ -1,5 +1,5 @@ /* GNU Objective C Runtime @synchronized implementation - Copyright (C) 2010 Free Software Foundation, Inc. + Copyright (C) 2010-2014 Free Software Foundation, Inc. Contributed by Nicola Pero <nicola.pero@meta-innovation.com> This file is part of GCC. @@ -390,7 +390,7 @@ objc_sync_exit (id object) node->usage_count--; /* Normally, we do not reset object to nil here. We'll leave the lock associated with that object, at zero - usage count. This makes it slighly more efficient to + usage count. This makes it slightly more efficient to provide a lock for that object if (as likely) requested again. If the object is deallocated, we don't care. It will never match a new lock that is diff --git a/libobjc/objc/NXConstStr.h b/libobjc/objc/NXConstStr.h index 40eb66e32f..6e84882665 100644 --- a/libobjc/objc/NXConstStr.h +++ b/libobjc/objc/NXConstStr.h @@ -1,5 +1,5 @@ /* Interface for the NXConstantString class for Objective-C. - Copyright (C) 1995, 2004, 2009 Free Software Foundation, Inc. + Copyright (C) 1995-2014 Free Software Foundation, Inc. Contributed by Pieter J. Schoenmakers <tiggr@es.ele.tue.nl> This file is part of GCC. diff --git a/libobjc/objc/Object.h b/libobjc/objc/Object.h index e2fa926e7b..037a299a31 100644 --- a/libobjc/objc/Object.h +++ b/libobjc/objc/Object.h @@ -1,5 +1,5 @@ /* Interface for the Object class for Objective-C. - Copyright (C) 1993, 1994, 1995, 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 1993-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/libobjc/objc/Protocol.h b/libobjc/objc/Protocol.h index f2b7b78963..60c3a233a8 100644 --- a/libobjc/objc/Protocol.h +++ b/libobjc/objc/Protocol.h @@ -1,5 +1,5 @@ /* Declare the class Protocol for Objective C programs. - Copyright (C) 1993, 2004, 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 1993-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/libobjc/objc/message.h b/libobjc/objc/message.h index 92b52633aa..d808933826 100644 --- a/libobjc/objc/message.h +++ b/libobjc/objc/message.h @@ -1,6 +1,5 @@ /* GNU Objective C Runtime messaging declarations - Copyright (C) 1993, 1995, 1996, 2004, 2009, - 2010 Free Software Foundation, Inc. + Copyright (C) 1993-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/libobjc/objc/objc-decls.h b/libobjc/objc/objc-decls.h index 44df64397a..3e20769179 100644 --- a/libobjc/objc/objc-decls.h +++ b/libobjc/objc/objc-decls.h @@ -1,5 +1,5 @@ /* GNU Objective-C Extern helpers for Win32. - Copyright (C) 2004, 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 2004-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/libobjc/objc/objc-exception.h b/libobjc/objc/objc-exception.h index 4f3ee4fbf6..95bef5fb27 100644 --- a/libobjc/objc/objc-exception.h +++ b/libobjc/objc/objc-exception.h @@ -1,5 +1,5 @@ /* GNU Objective C Runtime native exceptions - Copyright (C) 2010 Free Software Foundation, Inc. + Copyright (C) 2010-2014 Free Software Foundation, Inc. Contributed by Nicola Pero <nicola.pero@meta-innovation.com> This file is part of GCC. diff --git a/libobjc/objc/objc-sync.h b/libobjc/objc/objc-sync.h index 04d1db653e..8c38639764 100644 --- a/libobjc/objc/objc-sync.h +++ b/libobjc/objc/objc-sync.h @@ -1,5 +1,5 @@ /* GNU Objective C Runtime @synchronized implementation - Copyright (C) 2010 Free Software Foundation, Inc. + Copyright (C) 2010-2014 Free Software Foundation, Inc. Contributed by Nicola Pero <nicola.pero@meta-innovation.com> This file is part of GCC. diff --git a/libobjc/objc/objc.h b/libobjc/objc/objc.h index 1fa43737e4..f9a1c31420 100644 --- a/libobjc/objc/objc.h +++ b/libobjc/objc/objc.h @@ -1,6 +1,5 @@ /* Basic data types for Objective C. - Copyright (C) 1993, 1995, 1996, 2004, 2009, - 2010 Free Software Foundation, Inc. + Copyright (C) 1993-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/libobjc/objc/runtime.h b/libobjc/objc/runtime.h index c649e239d9..045039f1a5 100644 --- a/libobjc/objc/runtime.h +++ b/libobjc/objc/runtime.h @@ -1,5 +1,5 @@ /* GNU Objective-C Runtime API - Modern API - Copyright (C) 2010 Free Software Foundation, Inc. + Copyright (C) 2010-2014 Free Software Foundation, Inc. Contributed by Nicola Pero <nicola.pero@meta-innovation.com> This file is part of GCC. @@ -793,7 +793,7 @@ objc_EXPORT Protocol *objc_getProtocol (const char *name); objc_EXPORT Protocol **objc_copyProtocolList (unsigned int *numberOfReturnedProtocols); /* Add a protocol to a class, and return YES if it was done - succesfully, and NO if not. At the moment, NO should only happen + successfully, and NO if not. At the moment, NO should only happen if class_ or protocol are nil, if the protocol is not a Protocol object or if the class already conforms to the protocol. */ objc_EXPORT BOOL class_addProtocol (Class class_, Protocol *protocol); @@ -1114,7 +1114,7 @@ objc_EXPORT unsigned objc_get_type_qualifiers (const char *type); These functions are used by objc_sizeof_type and objc_alignof_type functions to compute the size and alignment of structures. The previous method of computing the size and alignment of a structure - was not working on some architectures, particulary on AIX, and in + was not working on some architectures, particularly on AIX, and in the presence of bitfields inside the structure. */ struct objc_struct_layout { diff --git a/libobjc/objc/thr.h b/libobjc/objc/thr.h index d5ddf9b2f9..ada75fcb68 100644 --- a/libobjc/objc/thr.h +++ b/libobjc/objc/thr.h @@ -1,6 +1,5 @@ /* Thread and mutex controls for Objective C. - Copyright (C) 1996, 1997, 2002, 2004, 2009, 2010 - Free Software Foundation, Inc. + Copyright (C) 1996-2014 Free Software Foundation, Inc. Contributed by Galen C. Hunt (gchunt@cs.rochester.edu) This file is part of GCC. diff --git a/libobjc/objects.c b/libobjc/objects.c index fe11062835..f7965ebe04 100644 --- a/libobjc/objects.c +++ b/libobjc/objects.c @@ -1,5 +1,5 @@ /* GNU Objective C Runtime class related functions - Copyright (C) 1993, 1995, 1996, 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 1993-2014 Free Software Foundation, Inc. Contributed by Kresten Krab Thorup This file is part of GCC. diff --git a/libobjc/protocols.c b/libobjc/protocols.c index a02f2cd999..a0163a54fb 100644 --- a/libobjc/protocols.c +++ b/libobjc/protocols.c @@ -1,5 +1,5 @@ /* GNU Objective C Runtime protocol related functions. - Copyright (C) 2010 Free Software Foundation, Inc. + Copyright (C) 2010-2014 Free Software Foundation, Inc. Contributed by Nicola Pero This file is part of GCC. diff --git a/libobjc/sarray.c b/libobjc/sarray.c index f58c416a22..42823389df 100644 --- a/libobjc/sarray.c +++ b/libobjc/sarray.c @@ -1,6 +1,5 @@ /* Sparse Arrays for Objective C dispatch tables - Copyright (C) 1993, 1995, 1996, 2002, 2004, 2009, 2010 - Free Software Foundation, Inc. + Copyright (C) 1993-2014 Free Software Foundation, Inc. This file is part of GCC. diff --git a/libobjc/selector.c b/libobjc/selector.c index 55ca7064bd..450e6389b8 100644 --- a/libobjc/selector.c +++ b/libobjc/selector.c @@ -1,6 +1,5 @@ /* GNU Objective C Runtime selector related functions - Copyright (C) 1993, 1995, 1996, 1997, 2002, 2004, 2009, 2010 - Free Software Foundation, Inc. + Copyright (C) 1993-2014 Free Software Foundation, Inc. Contributed by Kresten Krab Thorup This file is part of GCC. diff --git a/libobjc/sendmsg.c b/libobjc/sendmsg.c index ea8ea97026..aa60e5609d 100644 --- a/libobjc/sendmsg.c +++ b/libobjc/sendmsg.c @@ -1,6 +1,5 @@ /* GNU Objective C Runtime message lookup - Copyright (C) 1993, 1995, 1996, 1997, 1998, - 2001, 2002, 2004, 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 1993-2014 Free Software Foundation, Inc. Contributed by Kresten Krab Thorup This file is part of GCC. diff --git a/libobjc/thr.c b/libobjc/thr.c index 095b9403a4..27c7fe6bdb 100644 --- a/libobjc/thr.c +++ b/libobjc/thr.c @@ -1,5 +1,5 @@ /* GNU Objective C Runtime Thread Interface - Copyright (C) 1996, 1997, 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 1996-2014 Free Software Foundation, Inc. Contributed by Galen C. Hunt (gchunt@cs.rochester.edu) This file is part of GCC. @@ -27,11 +27,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #define _LIBOBJC /* The line below is needed for declarations of functions such as pthread_mutexattr_settype, without which gthr-posix.h may fail to - compile within libobjc. Unfortunately, this breaks compilation on - Tru64 UNIX V4.0F, so disable it there. */ -#ifndef __osf__ + compile within libobjc. */ #define _XOPEN_SOURCE 500 -#endif #include "config.h" #include "tconfig.h" #include "coretypes.h" |