aboutsummaryrefslogtreecommitdiff
path: root/libobjc
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2018-02-08 18:22:39 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2018-02-08 18:22:39 +0000
commit78cce47cff6efdfc96821cc3d94e789abca1c39a (patch)
treef26b729ad50f3c18a319ff63f115f7eeb5c01eb5 /libobjc
parent42c1be422c610d844de315d7de6fd29c28afa1ae (diff)
parent74e6f14adb7057b29d361cc35c76f16663d1e649 (diff)
downloadgcc-78cce47cff6efdfc96821cc3d94e789abca1c39a.zip
gcc-78cce47cff6efdfc96821cc3d94e789abca1c39a.tar.gz
gcc-78cce47cff6efdfc96821cc3d94e789abca1c39a.tar.bz2
Merge from trunk revision 257495.
From-SVN: r257499
Diffstat (limited to 'libobjc')
-rw-r--r--libobjc/ChangeLog17
-rw-r--r--libobjc/Makefile.in7
-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/aclocal.m41
-rw-r--r--libobjc/class.c20
-rwxr-xr-xlibobjc/configure80
-rw-r--r--libobjc/configure.ac7
-rw-r--r--libobjc/encoding.c2
-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.c2
-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.c2
-rw-r--r--libobjc/thr.c2
52 files changed, 162 insertions, 62 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog
index b36962c..50d0769 100644
--- a/libobjc/ChangeLog
+++ b/libobjc/ChangeLog
@@ -1,3 +1,18 @@
+2018-01-03 Jakub Jelinek <jakub@redhat.com>
+
+ Update copyright years.
+
+2017-11-23 Tom de Vries <tom@codesourcery.com>
+
+ * class.c (CLASS_TABLE_HASH): Wrap in "do {} while (0)".
+
+2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
+
+ * Makefile.in: Regenerate.
+ * aclocal.m4: Likeiwse.
+ * configure: Likewise.
+ * configure.ac: Set CET_FLAGS. Update XCFLAGS.
+
2017-08-30 Richard Sandiford <richard.sandiford@linaro.org>
Alan Hayward <alan.hayward@arm.com>
David Sherwood <david.sherwood@arm.com>
@@ -3474,7 +3489,7 @@ Mon Sep 21 23:27:10 1998 Ovidiu Predescu <ovidiu@slip.net>
* New directory. Moved files from ../gcc/objc.
-Copyright (C) 1998-2017 Free Software Foundation, Inc.
+Copyright (C) 1998-2018 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
diff --git a/libobjc/Makefile.in b/libobjc/Makefile.in
index febc92d..ba37cc6 100644
--- a/libobjc/Makefile.in
+++ b/libobjc/Makefile.in
@@ -1,5 +1,5 @@
# Makefile for GNU Objective C runtime library.
-# Copyright (C) 1993-2017 Free Software Foundation, Inc.
+# Copyright (C) 1993-2018 Free Software Foundation, Inc.
#This file is part of GCC.
@@ -72,8 +72,10 @@ RANLIB = @RANLIB@
CC = @CC@
CFLAGS = @CFLAGS@
+XCFLAGS = @XCFLAGS@
WARN_CFLAGS = -W -Wall -Wwrite-strings -Wstrict-prototypes
-ALL_CFLAGS = -I. -I$(srcdir) $(CPPFLAGS) $(DEFS) $(CFLAGS) $(WARN_CFLAGS) \
+ALL_CFLAGS = -I. -I$(srcdir) $(CPPFLAGS) $(DEFS) \
+ $(XCFLAGS) $(CFLAGS) $(WARN_CFLAGS) \
-DIN_GCC -DIN_TARGET_LIBS -fno-strict-aliasing -fexceptions
# Libtool
@@ -295,6 +297,7 @@ aclocal_deps = \
$(srcdir)/../ltsugar.m4 \
$(srcdir)/../ltversion.m4 \
$(srcdir)/../lt~obsolete.m4 \
+ $(srcdir)/../cet.m4 \
$(srcdir)/acinclude.m4
$(srcdir)/configure: @MAINT@ configure.ac $(srcdir)/aclocal.m4
diff --git a/libobjc/NXConstStr.m b/libobjc/NXConstStr.m
index 169a294..c1613aa 100644
--- a/libobjc/NXConstStr.m
+++ b/libobjc/NXConstStr.m
@@ -1,5 +1,5 @@
/* Implementation of the NXConstantString class for Objective-C.
- Copyright (C) 1995-2017 Free Software Foundation, Inc.
+ Copyright (C) 1995-2018 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 b281074..be5df27 100644
--- a/libobjc/Object.m
+++ b/libobjc/Object.m
@@ -1,5 +1,5 @@
/* The implementation of class Object for Objective-C.
- Copyright (C) 1993-2017 Free Software Foundation, Inc.
+ Copyright (C) 1993-2018 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libobjc/Protocol.m b/libobjc/Protocol.m
index ab55c1c..dbf3df6 100644
--- a/libobjc/Protocol.m
+++ b/libobjc/Protocol.m
@@ -1,5 +1,5 @@
/* This file contains the implementation of class Protocol.
- Copyright (C) 1993-2017 Free Software Foundation, Inc.
+ Copyright (C) 1993-2018 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libobjc/accessors.m b/libobjc/accessors.m
index 4fba289..32d4ed8 100644
--- a/libobjc/accessors.m
+++ b/libobjc/accessors.m
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime accessors functions
- Copyright (C) 2010-2017 Free Software Foundation, Inc.
+ Copyright (C) 2010-2018 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 c4abbf2..661437f 100644
--- a/libobjc/acinclude.m4
+++ b/libobjc/acinclude.m4
@@ -1,4 +1,4 @@
-dnl Copyright (C) 1994-2017 Free Software Foundation, Inc.
+dnl Copyright (C) 1994-2018 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/aclocal.m4 b/libobjc/aclocal.m4
index 174f9b7..2127341 100644
--- a/libobjc/aclocal.m4
+++ b/libobjc/aclocal.m4
@@ -197,6 +197,7 @@ AC_DEFUN([_AM_SUBST_NOTMAKE])
# Public sister of _AM_SUBST_NOTMAKE.
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
+m4_include([../config/cet.m4])
m4_include([../config/lthostflags.m4])
m4_include([../config/multi.m4])
m4_include([../config/override.m4])
diff --git a/libobjc/class.c b/libobjc/class.c
index 53fb5fe..c2cdc48 100644
--- a/libobjc/class.c
+++ b/libobjc/class.c
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime class related functions
- Copyright (C) 1993-2017 Free Software Foundation, Inc.
+ Copyright (C) 1993-2018 Free Software Foundation, Inc.
Contributed by Kresten Krab Thorup and Dennis Glatting.
Lock-free class table code designed and written from scratch by
@@ -153,14 +153,16 @@ static objc_mutex_t __class_table_lock = NULL;
string, and HASH the computed hash of the string; CLASS_NAME is
untouched. */
-#define CLASS_TABLE_HASH(INDEX, HASH, CLASS_NAME) \
- HASH = 0; \
- for (INDEX = 0; CLASS_NAME[INDEX] != '\0'; INDEX++) \
- { \
- HASH = (HASH << 4) ^ (HASH >> 28) ^ CLASS_NAME[INDEX]; \
- } \
- \
- HASH = (HASH ^ (HASH >> 10) ^ (HASH >> 20)) & CLASS_TABLE_MASK;
+#define CLASS_TABLE_HASH(INDEX, HASH, CLASS_NAME) \
+ do { \
+ HASH = 0; \
+ for (INDEX = 0; CLASS_NAME[INDEX] != '\0'; INDEX++) \
+ { \
+ HASH = (HASH << 4) ^ (HASH >> 28) ^ CLASS_NAME[INDEX]; \
+ } \
+ \
+ HASH = (HASH ^ (HASH >> 10) ^ (HASH >> 20)) & CLASS_TABLE_MASK; \
+ } while (0)
/* Setup the table. */
static void
diff --git a/libobjc/configure b/libobjc/configure
index abf5aed..3a2b2e3 100755
--- a/libobjc/configure
+++ b/libobjc/configure
@@ -635,6 +635,7 @@ INSTALL_PROGRAM
RANLIB
AR
AS
+XCFLAGS
extra_ldflags_libobjc
lt_host_flags
OBJEXT
@@ -714,6 +715,7 @@ with_target_subdir
with_cross_host
enable_version_specific_runtime_libs
enable_multilib
+enable_cet
enable_maintainer_mode
enable_shared
enable_static
@@ -1350,6 +1352,8 @@ Optional Features:
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
--enable-multilib build many library versions (default)
+ --enable-cet enable Intel CET in target libraries
+ [default=default]
--enable-maintainer-mode enable make rules and dependencies not useful
(and sometimes confusing) to the casual installer
--enable-shared[=PKGS] build shared libraries [default=yes]
@@ -3350,6 +3354,77 @@ case "${host}" in
esac
+# Add CET specific flags if CET is enabled
+
+ # Check whether --enable-cet was given.
+if test "${enable_cet+set}" = set; then :
+ enableval=$enable_cet;
+ case "$enableval" in
+ yes|no|default) ;;
+ *) as_fn_error "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
+ esac
+
+else
+ enable_cet=default
+fi
+
+
+case "$host" in
+ i[34567]86-*-linux* | x86_64-*-linux*)
+ case "$enable_cet" in
+ default)
+ # Check if assembler supports CET.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+asm ("setssbsy");
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ enable_cet=yes
+else
+ enable_cet=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ;;
+ yes)
+ # Check if assembler supports CET.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+asm ("setssbsy");
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+else
+ as_fn_error "assembler with CET support is required for --enable-cet" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ;;
+ esac
+ ;;
+ *)
+ enable_cet=no
+ ;;
+esac
+if test x$enable_cet = xyes; then
+ CET_FLAGS="-fcf-protection -mcet"
+fi
+
+XCFLAGS="$XCFLAGS $CET_FLAGS"
+
+
if test -n "$ac_tool_prefix"; then
@@ -5982,7 +6057,6 @@ fi
-
# Check whether --enable-libtool-lock was given.
if test "${enable_libtool_lock+set}" = set; then :
enableval=$enable_libtool_lock;
@@ -10594,7 +10668,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 10671 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -10700,7 +10774,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 10777 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
diff --git a/libobjc/configure.ac b/libobjc/configure.ac
index c6d48f7..3176130 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-2017 Free Software Foundation, Inc.
+# Copyright (C) 1994-2018 Free Software Foundation, Inc.
# Originally contributed by Dave Love (d.love@dl.ac.uk).
#
#This file is part of GCC.
@@ -151,7 +151,12 @@ case "${host}" in
esac
AC_SUBST(extra_ldflags_libobjc)
+# Add CET specific flags if CET is enabled
+GCC_CET_FLAGS(CET_FLAGS)
+XCFLAGS="$XCFLAGS $CET_FLAGS"
+
AC_SUBST(CFLAGS)
+AC_SUBST(XCFLAGS)
AC_CHECK_TOOL(AS, as)
AC_CHECK_TOOL(AR, ar)
diff --git a/libobjc/encoding.c b/libobjc/encoding.c
index 776b82d..caa33ec 100644
--- a/libobjc/encoding.c
+++ b/libobjc/encoding.c
@@ -1,5 +1,5 @@
/* Encoding of types for Objective C.
- Copyright (C) 1993-2017 Free Software Foundation, Inc.
+ Copyright (C) 1993-2018 Free Software Foundation, Inc.
Contributed by Kresten Krab Thorup
Bitfield support by Ovidiu Predescu
diff --git a/libobjc/error.c b/libobjc/error.c
index 6bbb352..4db6639 100644
--- a/libobjc/error.c
+++ b/libobjc/error.c
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime Error Functions
- Copyright (C) 1993-2017 Free Software Foundation, Inc.
+ Copyright (C) 1993-2018 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libobjc/exception.c b/libobjc/exception.c
index 312cb8e..e30b447 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-2017 Free Software Foundation, Inc.
+ Copyright (C) 2004-2018 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libobjc/gc.c b/libobjc/gc.c
index e3e41d8..c4c3368 100644
--- a/libobjc/gc.c
+++ b/libobjc/gc.c
@@ -1,5 +1,5 @@
/* Basic data types for Objective C.
- Copyright (C) 1998-2017 Free Software Foundation, Inc.
+ Copyright (C) 1998-2018 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 6648199..407283e 100644
--- a/libobjc/hash.c
+++ b/libobjc/hash.c
@@ -1,5 +1,5 @@
/* Hash tables for Objective C internal structures
- Copyright (C) 1993-2017 Free Software Foundation, Inc.
+ Copyright (C) 1993-2018 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libobjc/init.c b/libobjc/init.c
index a0555a8..6c453f6 100644
--- a/libobjc/init.c
+++ b/libobjc/init.c
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime initialization
- Copyright (C) 1993-2017 Free Software Foundation, Inc.
+ Copyright (C) 1993-2018 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 6a41087..b861b48 100644
--- a/libobjc/ivars.c
+++ b/libobjc/ivars.c
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime ivar related functions.
- Copyright (C) 2010-2017 Free Software Foundation, Inc.
+ Copyright (C) 2010-2018 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 a5b070d..31e9a488 100644
--- a/libobjc/libobjc.def
+++ b/libobjc/libobjc.def
@@ -1,5 +1,5 @@
; GNU Objective C Runtime DLL Export Definitions
-; Copyright (C) 1997-2017 Free Software Foundation, Inc.
+; Copyright (C) 1997-2018 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 970e1b0..d3b1ca0 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-2017 Free Software Foundation, Inc.
+ Copyright (C) 1997-2018 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 9ad3378..d36585e 100644
--- a/libobjc/memory.c
+++ b/libobjc/memory.c
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime Memory allocation functions
- Copyright (C) 1993-2017 Free Software Foundation, Inc.
+ Copyright (C) 1993-2018 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 04b1ba2..89e0252 100644
--- a/libobjc/methods.c
+++ b/libobjc/methods.c
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime method related functions.
- Copyright (C) 2010-2017 Free Software Foundation, Inc.
+ Copyright (C) 2010-2018 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 f14ebba..178c695 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-2017 Free Software Foundation, Inc.
+ Copyright (C) 1993-2018 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 c9c0f0e..47ca5cb 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-2017 Free Software Foundation, Inc.
+ Copyright (C) 2010-2018 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 a81c719..1eb4bd6 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-2017 Free Software Foundation, Inc.
+ Copyright (C) 2010-2018 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 59834a5..357fc1a 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-2017 Free Software Foundation, Inc.
+ Copyright (C) 2010-2018 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 7d13728..0bb3d68 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-2017 Free Software Foundation, Inc.
+ Copyright (C) 2010-2018 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 3e7fd67..f360175 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-2017 Free Software Foundation, Inc.
+ Copyright (C) 1993-2018 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 7791727..e53dc3f 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-2017 Free Software Foundation, Inc.
+ Copyright (C) 1993-2018 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 c96a581..3e29b09 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-2017 Free Software Foundation, Inc.
+ Copyright (C) 1993-2018 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 b67a2dc..8783774 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-2017 Free Software Foundation, Inc.
+ Copyright (C) 2010-2018 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 0860091c..37cf6ec 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-2017 Free Software Foundation, Inc.
+ Copyright (C) 2010-2018 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 209aae7..30f1a1f 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-2017 Free Software Foundation, Inc.
+ Copyright (C) 1993-2018 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 c90bb57..53b7c9b 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-2017 Free Software Foundation, Inc.
+ Copyright (C) 1993-2018 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 c14f802..2cfdb97 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-2017 Free Software Foundation, Inc.
+ Copyright (C) 2010-2018 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 c78b609..9d4b577 100644
--- a/libobjc/objc-sync.c
+++ b/libobjc/objc-sync.c
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime @synchronized implementation
- Copyright (C) 2010-2017 Free Software Foundation, Inc.
+ Copyright (C) 2010-2018 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 acc42d6..b1b3223 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-2017 Free Software Foundation, Inc.
+ Copyright (C) 1995-2018 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 a6e85dd..5fb14ec 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-2017 Free Software Foundation, Inc.
+ Copyright (C) 1993-2018 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libobjc/objc/Protocol.h b/libobjc/objc/Protocol.h
index 50c3838..9716745 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-2017 Free Software Foundation, Inc.
+ Copyright (C) 1993-2018 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libobjc/objc/message.h b/libobjc/objc/message.h
index 6bb5aa7..369e883 100644
--- a/libobjc/objc/message.h
+++ b/libobjc/objc/message.h
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime messaging declarations
- Copyright (C) 1993-2017 Free Software Foundation, Inc.
+ Copyright (C) 1993-2018 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 3dd1135..864d046 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-2017 Free Software Foundation, Inc.
+ Copyright (C) 2004-2018 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 0bec446..9eee2ad 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-2017 Free Software Foundation, Inc.
+ Copyright (C) 2010-2018 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 8157566..4f2a0ee 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-2017 Free Software Foundation, Inc.
+ Copyright (C) 2010-2018 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 20fcdb4..abaf3f3 100644
--- a/libobjc/objc/objc.h
+++ b/libobjc/objc/objc.h
@@ -1,5 +1,5 @@
/* Basic data types for Objective C.
- Copyright (C) 1993-2017 Free Software Foundation, Inc.
+ Copyright (C) 1993-2018 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libobjc/objc/runtime.h b/libobjc/objc/runtime.h
index 303569a..c1051db 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-2017 Free Software Foundation, Inc.
+ Copyright (C) 2010-2018 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 e4bd8f0..7c2f0d2 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-2017 Free Software Foundation, Inc.
+ Copyright (C) 1996-2018 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 db30b38..521fa18 100644
--- a/libobjc/objects.c
+++ b/libobjc/objects.c
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime class related functions
- Copyright (C) 1993-2017 Free Software Foundation, Inc.
+ Copyright (C) 1993-2018 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 f6090fb..aeb94ef 100644
--- a/libobjc/protocols.c
+++ b/libobjc/protocols.c
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime protocol related functions.
- Copyright (C) 2010-2017 Free Software Foundation, Inc.
+ Copyright (C) 2010-2018 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 ccec8c4..fdb6916 100644
--- a/libobjc/sarray.c
+++ b/libobjc/sarray.c
@@ -1,5 +1,5 @@
/* Sparse Arrays for Objective C dispatch tables
- Copyright (C) 1993-2017 Free Software Foundation, Inc.
+ Copyright (C) 1993-2018 Free Software Foundation, Inc.
This file is part of GCC.
diff --git a/libobjc/selector.c b/libobjc/selector.c
index 809e38e..80e8f39 100644
--- a/libobjc/selector.c
+++ b/libobjc/selector.c
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime selector related functions
- Copyright (C) 1993-2017 Free Software Foundation, Inc.
+ Copyright (C) 1993-2018 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 fa1deee..e4e93e9 100644
--- a/libobjc/sendmsg.c
+++ b/libobjc/sendmsg.c
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime message lookup
- Copyright (C) 1993-2017 Free Software Foundation, Inc.
+ Copyright (C) 1993-2018 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 cbd5b8d..97dbe24 100644
--- a/libobjc/thr.c
+++ b/libobjc/thr.c
@@ -1,5 +1,5 @@
/* GNU Objective C Runtime Thread Interface
- Copyright (C) 1996-2017 Free Software Foundation, Inc.
+ Copyright (C) 1996-2018 Free Software Foundation, Inc.
Contributed by Galen C. Hunt (gchunt@cs.rochester.edu)
This file is part of GCC.