summaryrefslogtreecommitdiff
path: root/libobjc
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2015-04-22 10:21:45 +0000
committer <>2015-04-25 21:44:09 +0000
commitf80b5ea1605c9f9408c5aa386ba71c16d918ebbf (patch)
treebb7eafaa81fc4b8c5c215bc08d517fd158db234a /libobjc
parentc27a97d04853380f1e80525391b3f0d156ed4c84 (diff)
downloadgcc-tarball-f80b5ea1605c9f9408c5aa386ba71c16d918ebbf.tar.gz
Imported from /home/lorry/working-area/delta_gcc-tarball/gcc-5.1.0.tar.bz2.gcc-5.1.0
Diffstat (limited to 'libobjc')
-rw-r--r--libobjc/ChangeLog47
-rw-r--r--libobjc/Makefile.in2
-rw-r--r--libobjc/NXConstStr.m2
-rw-r--r--libobjc/Object.m2
-rw-r--r--libobjc/Protocol.m2
-rw-r--r--libobjc/accessors.m2
-rw-r--r--libobjc/acinclude.m42
-rw-r--r--libobjc/class.c2
-rwxr-xr-xlibobjc/configure4
-rw-r--r--libobjc/configure.ac2
-rw-r--r--libobjc/encoding.c5
-rw-r--r--libobjc/error.c2
-rw-r--r--libobjc/exception.c2
-rw-r--r--libobjc/gc.c2
-rw-r--r--libobjc/hash.c2
-rw-r--r--libobjc/init.c2
-rw-r--r--libobjc/ivars.c4
-rw-r--r--libobjc/libobjc.def2
-rw-r--r--libobjc/linking.m2
-rw-r--r--libobjc/memory.c2
-rw-r--r--libobjc/methods.c2
-rw-r--r--libobjc/nil_method.c2
-rw-r--r--libobjc/objc-foreach.c2
-rw-r--r--libobjc/objc-private/accessors.h2
-rw-r--r--libobjc/objc-private/common.h2
-rw-r--r--libobjc/objc-private/error.h2
-rw-r--r--libobjc/objc-private/hash.h2
-rw-r--r--libobjc/objc-private/module-abi-8.h2
-rw-r--r--libobjc/objc-private/objc-list.h2
-rw-r--r--libobjc/objc-private/objc-sync.h2
-rw-r--r--libobjc/objc-private/protocols.h2
-rw-r--r--libobjc/objc-private/runtime.h2
-rw-r--r--libobjc/objc-private/sarray.h2
-rw-r--r--libobjc/objc-private/selector.h2
-rw-r--r--libobjc/objc-sync.c2
-rw-r--r--libobjc/objc/NXConstStr.h2
-rw-r--r--libobjc/objc/Object.h2
-rw-r--r--libobjc/objc/Protocol.h2
-rw-r--r--libobjc/objc/message.h2
-rw-r--r--libobjc/objc/objc-decls.h2
-rw-r--r--libobjc/objc/objc-exception.h2
-rw-r--r--libobjc/objc/objc-sync.h2
-rw-r--r--libobjc/objc/objc.h2
-rw-r--r--libobjc/objc/runtime.h2
-rw-r--r--libobjc/objc/thr.h2
-rw-r--r--libobjc/objects.c2
-rw-r--r--libobjc/protocols.c2
-rw-r--r--libobjc/sarray.c2
-rw-r--r--libobjc/selector.c2
-rw-r--r--libobjc/sendmsg.c10
-rw-r--r--libobjc/thr.c6
51 files changed, 94 insertions, 72 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog
index 62f7cdadd3..5bcda93a7f 100644
--- a/libobjc/ChangeLog
+++ b/libobjc/ChangeLog
@@ -1,27 +1,46 @@
-2014-10-30 Release Manager
+2015-04-22 Release Manager
- * GCC 4.9.2 released.
+ * GCC 5.1.0 released.
-2014-07-28 Ulrich Weigand <uweigand@de.ibm.com>
+2015-02-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
- PR libobjc/61920
- * encoding.c (rs6000_special_adjust_field_align_p): Use definition
- that matches the 4.9 branch ABI.
+ PR libobjc/63765
+ * thr.c (_XOPEN_SOURCE): Remove.
-2014-07-27 Alan Modra <amodra@gmail.com>
- Matthias Klose <doko@ubuntu.com>
+2015-01-27 Matthias Klose <doko@ubuntu.com>
- PR libobjc/61920
+ * sendmsg.c: Add prototypes for __objc_get_forward_imp and get_imp.
- * encoding.c: Define rs6000_special_adjust_field_align_p.
+2015-01-09 Dimitris Papavasiliou <dpapavas@gmail.com>
+
+ PR libobjc/51891
+ * ivars.c: Add a check for classes without instance
+ variables, which have a NULL ivar list pointer.
+
+2015-01-05 Jakub Jelinek <jakub@redhat.com>
+
+ Update copyright years.
+
+2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
-2014-07-16 Release Manager
+ PR bootstrap/63784
+ * configure: Regenerated.
+
+2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR target/63610
+ * configure: Regenerate.
+
+2014-11-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
- * GCC 4.9.1 released.
+ * thr.c (_XOPEN_SOURCE): Define as 600.
-2014-04-22 Release Manager
+2014-07-27 Alan Modra <amodra@gmail.com>
+ Matthias Klose <doko@ubuntu.com>
- * GCC 4.9.0 released.
+ PR libobjc/61920
+
+ * encoding.c: Define rs6000_special_adjust_field_align_p.
2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
diff --git a/libobjc/Makefile.in b/libobjc/Makefile.in
index c6f155bd40..307ee94eca 100644
--- a/libobjc/Makefile.in
+++ b/libobjc/Makefile.in
@@ -1,5 +1,5 @@
# Makefile for GNU Objective C runtime library.
-# Copyright (C) 1993-2014 Free Software Foundation, Inc.
+# Copyright (C) 1993-2015 Free Software Foundation, Inc.
#This file is part of GCC.
diff --git a/libobjc/NXConstStr.m b/libobjc/NXConstStr.m
index 1b8bb7621e..3ff737ddff 100644
--- a/libobjc/NXConstStr.m
+++ b/libobjc/NXConstStr.m
@@ -1,5 +1,5 @@
/* Implementation of the NXConstantString class for Objective-C.
- Copyright (C) 1995-2014 Free Software Foundation, Inc.
+ Copyright (C) 1995-2015 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 6e4af06316..ea3ea7aa0b 100644
--- a/libobjc/Object.m
+++ b/libobjc/Object.m
@@ -1,5 +1,5 @@
/* The implementation of class Object for Objective-C.
- Copyright (C) 1993-2014 Free Software Foundation, Inc.
+ Copyright (C) 1993-2015 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libobjc/Protocol.m b/libobjc/Protocol.m
index 9ad7afda90..6897e2e259 100644
--- a/libobjc/Protocol.m
+++ b/libobjc/Protocol.m
@@ -1,5 +1,5 @@
/* This file contains the implementation of class Protocol.
- Copyright (C) 1993-2014 Free Software Foundation, Inc.
+ Copyright (C) 1993-2015 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libobjc/accessors.m b/libobjc/accessors.m
index a912155fff..0d36bc2199 100644
--- a/libobjc/accessors.m
+++ b/libobjc/accessors.m
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime accessors functions
- Copyright (C) 2010-2014 Free Software Foundation, Inc.
+ Copyright (C) 2010-2015 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 34cd102577..bf78dbec8e 100644
--- a/libobjc/acinclude.m4
+++ b/libobjc/acinclude.m4
@@ -1,4 +1,4 @@
-dnl Copyright (C) 1994-2014 Free Software Foundation, Inc.
+dnl Copyright (C) 1994-2015 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 190dabcb74..6d0cd09e82 100644
--- a/libobjc/class.c
+++ b/libobjc/class.c
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime class related functions
- Copyright (C) 1993-2014 Free Software Foundation, Inc.
+ Copyright (C) 1993-2015 Free Software Foundation, Inc.
Contributed by Kresten Krab Thorup and Dennis Glatting.
Lock-free class table code designed and written from scratch by
diff --git a/libobjc/configure b/libobjc/configure
index dd39d7ec8b..642eb9cc5f 100755
--- a/libobjc/configure
+++ b/libobjc/configure
@@ -6794,7 +6794,7 @@ $as_echo "$lt_cv_ld_force_load" >&6; }
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
- 10.[012]*)
+ 10.[012][,.]*)
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10.*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
@@ -8364,7 +8364,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
- tmp_addflag=
+ tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
diff --git a/libobjc/configure.ac b/libobjc/configure.ac
index 340851fc98..c794a80b51 100644
--- a/libobjc/configure.ac
+++ b/libobjc/configure.ac
@@ -1,5 +1,5 @@
# Process this file with autoconf to produce a configure script.
-# Copyright (C) 1994-2014 Free Software Foundation, Inc.
+# Copyright (C) 1994-2015 Free Software Foundation, Inc.
# Originally contributed by Dave Love (d.love@dl.ac.uk).
#
#This file is part of GCC.
diff --git a/libobjc/encoding.c b/libobjc/encoding.c
index c476f22ad4..7333908608 100644
--- a/libobjc/encoding.c
+++ b/libobjc/encoding.c
@@ -1,5 +1,5 @@
/* Encoding of types for Objective C.
- Copyright (C) 1993-2014 Free Software Foundation, Inc.
+ Copyright (C) 1993-2015 Free Software Foundation, Inc.
Contributed by Kresten Krab Thorup
Bitfield support by Ovidiu Predescu
@@ -192,8 +192,7 @@ _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)
+#define rs6000_special_adjust_field_align_p(FIELD, COMPUTED) 0
/* Skip a variable name, enclosed in quotes ("). */
static inline
diff --git a/libobjc/error.c b/libobjc/error.c
index 51f18f1051..4fc453fb2f 100644
--- a/libobjc/error.c
+++ b/libobjc/error.c
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime Error Functions
- Copyright (C) 1993-2014 Free Software Foundation, Inc.
+ Copyright (C) 1993-2015 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libobjc/exception.c b/libobjc/exception.c
index 9d560c47df..d6eb5dbe2a 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-2014 Free Software Foundation, Inc.
+ Copyright (C) 2004-2015 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libobjc/gc.c b/libobjc/gc.c
index 9c31c23dd6..32fadc3afc 100644
--- a/libobjc/gc.c
+++ b/libobjc/gc.c
@@ -1,5 +1,5 @@
/* Basic data types for Objective C.
- Copyright (C) 1998-2014 Free Software Foundation, Inc.
+ Copyright (C) 1998-2015 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 592bb1bc9d..591db4b1b9 100644
--- a/libobjc/hash.c
+++ b/libobjc/hash.c
@@ -1,5 +1,5 @@
/* Hash tables for Objective C internal structures
- Copyright (C) 1993-2014 Free Software Foundation, Inc.
+ Copyright (C) 1993-2015 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libobjc/init.c b/libobjc/init.c
index 5d895d7ca2..e6954ea665 100644
--- a/libobjc/init.c
+++ b/libobjc/init.c
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime initialization
- Copyright (C) 1993-2014 Free Software Foundation, Inc.
+ Copyright (C) 1993-2015 Free Software Foundation, Inc.
Contributed by Kresten Krab Thorup
+load support contributed by Ovidiu Predescu <ovidiu@net-community.com>
diff --git a/libobjc/ivars.c b/libobjc/ivars.c
index f666a96ec0..910a09828d 100644
--- a/libobjc/ivars.c
+++ b/libobjc/ivars.c
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime ivar related functions.
- Copyright (C) 2010-2014 Free Software Foundation, Inc.
+ Copyright (C) 2010-2015 Free Software Foundation, Inc.
Contributed by Nicola Pero
This file is part of GCC.
@@ -179,7 +179,7 @@ struct objc_ivar ** class_copyIvarList (Class class_, unsigned int *numberOfRetu
struct objc_ivar **returnValue = NULL;
struct objc_ivar_list* ivar_list;
- if (class_ == Nil || CLS_IS_IN_CONSTRUCTION (class_))
+ if (class_ == Nil || CLS_IS_IN_CONSTRUCTION (class_) || !class_->ivars)
{
if (numberOfReturnedIvars)
*numberOfReturnedIvars = 0;
diff --git a/libobjc/libobjc.def b/libobjc/libobjc.def
index fce22c93a9..bda36fed38 100644
--- a/libobjc/libobjc.def
+++ b/libobjc/libobjc.def
@@ -1,5 +1,5 @@
; GNU Objective C Runtime DLL Export Definitions
-; Copyright (C) 1997-2014 Free Software Foundation, Inc.
+; Copyright (C) 1997-2015 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 bc931f52b0..4ca80f5e2a 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-2014 Free Software Foundation, Inc.
+ Copyright (C) 1997-2015 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 181d5a3e4e..5397935b08 100644
--- a/libobjc/memory.c
+++ b/libobjc/memory.c
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime Memory allocation functions
- Copyright (C) 1993-2014 Free Software Foundation, Inc.
+ Copyright (C) 1993-2015 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 348158c534..095eeff18e 100644
--- a/libobjc/methods.c
+++ b/libobjc/methods.c
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime method related functions.
- Copyright (C) 2010-2014 Free Software Foundation, Inc.
+ Copyright (C) 2010-2015 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 e8bb7f0734..fb87f7f86e 100644
--- a/libobjc/nil_method.c
+++ b/libobjc/nil_method.c
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime nil receiver function
- Copyright (C) 1993-2014 Free Software Foundation, Inc.
+ Copyright (C) 1993-2015 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 eff0372168..0e29d14771 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-2014 Free Software Foundation, Inc.
+ Copyright (C) 2010-2015 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 fe15b13fcc..d6156c0cbd 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-2014 Free Software Foundation, Inc.
+ Copyright (C) 2010-2015 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 ee6ff1051f..d711b08e4a 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-2014 Free Software Foundation, Inc.
+ Copyright (C) 2010-2015 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 6d796d9907..7ff3c9ea70 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-2014 Free Software Foundation, Inc.
+ Copyright (C) 2010-2015 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 3c147514b8..63279693e3 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-2014 Free Software Foundation, Inc.
+ Copyright (C) 1993-2015 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 53b7b8d7ef..67e27ec053 100644
--- a/libobjc/objc-private/module-abi-8.h
+++ b/libobjc/objc-private/module-abi-8.h
@@ -1,5 +1,5 @@
/* Definitions of Module Structures used by ABI version 8
- Copyright (C) 1993-2014 Free Software Foundation, Inc.
+ Copyright (C) 1993-2015 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 481a6c00d1..1480687efe 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-2014 Free Software Foundation, Inc.
+ Copyright (C) 1993-2015 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 98608b3bdd..524a4696c8 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-2014 Free Software Foundation, Inc.
+ Copyright (C) 2010-2015 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 1721ec9dc4..b9ebd3255e 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-2014 Free Software Foundation, Inc.
+ Copyright (C) 2010-2015 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 3d4c103102..a8836a3c8c 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-2014 Free Software Foundation, Inc.
+ Copyright (C) 1993-2015 Free Software Foundation, Inc.
Contributed by Kresten Krab Thorup
This file is part of GCC.
diff --git a/libobjc/objc-private/sarray.h b/libobjc/objc-private/sarray.h
index ef32c834ea..58a7f5b8a8 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-2014 Free Software Foundation, Inc.
+ Copyright (C) 1993-2015 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 9b489bd2bc..7e0a535aad 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-2014 Free Software Foundation, Inc.
+ Copyright (C) 2010-2015 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 f5169bfcf3..16ffb52a2f 100644
--- a/libobjc/objc-sync.c
+++ b/libobjc/objc-sync.c
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime @synchronized implementation
- Copyright (C) 2010-2014 Free Software Foundation, Inc.
+ Copyright (C) 2010-2015 Free Software Foundation, Inc.
Contributed by Nicola Pero <nicola.pero@meta-innovation.com>
This file is part of GCC.
diff --git a/libobjc/objc/NXConstStr.h b/libobjc/objc/NXConstStr.h
index 6e84882665..537887970b 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-2014 Free Software Foundation, Inc.
+ Copyright (C) 1995-2015 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 037a299a31..7ef325e2e6 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-2014 Free Software Foundation, Inc.
+ Copyright (C) 1993-2015 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libobjc/objc/Protocol.h b/libobjc/objc/Protocol.h
index 60c3a233a8..851aa775c6 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-2014 Free Software Foundation, Inc.
+ Copyright (C) 1993-2015 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libobjc/objc/message.h b/libobjc/objc/message.h
index d808933826..4b14edcffa 100644
--- a/libobjc/objc/message.h
+++ b/libobjc/objc/message.h
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime messaging declarations
- Copyright (C) 1993-2014 Free Software Foundation, Inc.
+ Copyright (C) 1993-2015 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 3e20769179..648295d5c2 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-2014 Free Software Foundation, Inc.
+ Copyright (C) 2004-2015 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 95bef5fb27..16f7154967 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-2014 Free Software Foundation, Inc.
+ Copyright (C) 2010-2015 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 8c38639764..69cd38b093 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-2014 Free Software Foundation, Inc.
+ Copyright (C) 2010-2015 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 f9a1c31420..a5cfd85332 100644
--- a/libobjc/objc/objc.h
+++ b/libobjc/objc/objc.h
@@ -1,5 +1,5 @@
/* Basic data types for Objective C.
- Copyright (C) 1993-2014 Free Software Foundation, Inc.
+ Copyright (C) 1993-2015 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libobjc/objc/runtime.h b/libobjc/objc/runtime.h
index 045039f1a5..a0004aa480 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-2014 Free Software Foundation, Inc.
+ Copyright (C) 2010-2015 Free Software Foundation, Inc.
Contributed by Nicola Pero <nicola.pero@meta-innovation.com>
This file is part of GCC.
diff --git a/libobjc/objc/thr.h b/libobjc/objc/thr.h
index ada75fcb68..1dc3254ef7 100644
--- a/libobjc/objc/thr.h
+++ b/libobjc/objc/thr.h
@@ -1,5 +1,5 @@
/* Thread and mutex controls for Objective C.
- Copyright (C) 1996-2014 Free Software Foundation, Inc.
+ Copyright (C) 1996-2015 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 f7965ebe04..4d21f5de43 100644
--- a/libobjc/objects.c
+++ b/libobjc/objects.c
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime class related functions
- Copyright (C) 1993-2014 Free Software Foundation, Inc.
+ Copyright (C) 1993-2015 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 a0163a54fb..02e5478085 100644
--- a/libobjc/protocols.c
+++ b/libobjc/protocols.c
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime protocol related functions.
- Copyright (C) 2010-2014 Free Software Foundation, Inc.
+ Copyright (C) 2010-2015 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 42823389df..746c1769ce 100644
--- a/libobjc/sarray.c
+++ b/libobjc/sarray.c
@@ -1,5 +1,5 @@
/* Sparse Arrays for Objective C dispatch tables
- Copyright (C) 1993-2014 Free Software Foundation, Inc.
+ Copyright (C) 1993-2015 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libobjc/selector.c b/libobjc/selector.c
index 450e6389b8..a59e507e8d 100644
--- a/libobjc/selector.c
+++ b/libobjc/selector.c
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime selector related functions
- Copyright (C) 1993-2014 Free Software Foundation, Inc.
+ Copyright (C) 1993-2015 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 aa60e5609d..8e347dfede 100644
--- a/libobjc/sendmsg.c
+++ b/libobjc/sendmsg.c
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime message lookup
- Copyright (C) 1993-2014 Free Software Foundation, Inc.
+ Copyright (C) 1993-2015 Free Software Foundation, Inc.
Contributed by Kresten Krab Thorup
This file is part of GCC.
@@ -104,6 +104,10 @@ static struct objc_method * search_for_method_in_hierarchy (Class class, SEL sel
struct objc_method * search_for_method_in_list (struct objc_method_list * list, SEL op);
id nil_method (id, SEL);
+/* Make sure this inline function is exported regardless of GNU89 or C99
+ inlining semantics as it is part of the libobjc ABI. */
+extern IMP __objc_get_forward_imp (id, SEL);
+
/* Given a selector, return the proper forwarding implementation. */
inline
IMP
@@ -320,6 +324,10 @@ get_implementation (id receiver, Class class, SEL sel)
return res;
}
+/* Make sure this inline function is exported regardless of GNU89 or C99
+ inlining semantics as it is part of the libobjc ABI. */
+extern IMP get_imp (Class, SEL);
+
inline
IMP
get_imp (Class class, SEL sel)
diff --git a/libobjc/thr.c b/libobjc/thr.c
index 27c7fe6bdb..4b16d4b059 100644
--- a/libobjc/thr.c
+++ b/libobjc/thr.c
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime Thread Interface
- Copyright (C) 1996-2014 Free Software Foundation, Inc.
+ Copyright (C) 1996-2015 Free Software Foundation, Inc.
Contributed by Galen C. Hunt (gchunt@cs.rochester.edu)
This file is part of GCC.
@@ -25,10 +25,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include "objc-private/common.h"
#include "objc-private/error.h"
#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. */
-#define _XOPEN_SOURCE 500
#include "config.h"
#include "tconfig.h"
#include "coretypes.h"