On Tue, 2014-09-23 at 23:27 +0000, Joseph S. Myers wrote: [...] > > diff --git a/gcc/jit/internal-api.c b/gcc/jit/internal-api.c > > Should start with standard copyright and license header. This applies to > all sources in gcc/jit/. [...]
I've committed the following to the dmalcolm/jit branch: ChangeLog.jit: * ChangeLog.jit: Add copyright footer. contrib/ChangeLog.jit: * ChangeLog.jit: Add copyright footer. gcc/ChangeLog.jit: * ChangeLog.jit: Add copyright footer. gcc/java/ChangeLog.jit: * ChangeLog.jit: Add copyright footer. gcc/jit/ChangeLog.jit: * ChangeLog.jit: Add copyright footer. * Make-lang.in: Update copyright. * config-lang.in: Update copyright. * docs/examples/install-hello-world.c: Add copyright header. * docs/examples/tut01-square.c: Likewise. * docs/examples/tut02-sum-of-squares.c: Likewise. * docs/examples/tut03-toyvm/toyvm.c: Likewise. * internal-api.c: Likewise. * internal-api.h: Likewise. * libgccjit++.h: Likewise. * libgccjit.c: Likewise. * libgccjit.h: Likewise. * libgccjit.map: Likewise. gcc/testsuite/ChangeLog.jit: * ChangeLog.jit: Add copyright footer. libbacktrace/ChangeLog.jit: * ChangeLog.jit: Add copyright footer. libcpp/ChangeLog.jit: * ChangeLog.jit: Add copyright footer. libdecnumber/ChangeLog.jit: * ChangeLog.jit: Add copyright footer. libiberty/ChangeLog.jit: * ChangeLog.jit: Add copyright footer. zlib/ChangeLog.jit: * ChangeLog.jit: Add copyright footer. --- ChangeLog.jit | 10 ++++++++++ contrib/ChangeLog.jit | 10 ++++++++++ gcc/ChangeLog.jit | 10 ++++++++++ gcc/java/ChangeLog.jit | 10 ++++++++++ gcc/jit/ChangeLog.jit | 22 ++++++++++++++++++++++ gcc/jit/Make-lang.in | 2 +- gcc/jit/config-lang.in | 2 +- gcc/jit/docs/examples/install-hello-world.c | 19 +++++++++++++++++++ gcc/jit/docs/examples/tut01-square.c | 19 +++++++++++++++++++ gcc/jit/docs/examples/tut02-sum-of-squares.c | 19 +++++++++++++++++++ gcc/jit/docs/examples/tut03-toyvm/toyvm.c | 19 ++++++++++++++++++- gcc/jit/internal-api.c | 20 ++++++++++++++++++++ gcc/jit/internal-api.h | 20 ++++++++++++++++++++ gcc/jit/libgccjit++.h | 19 ++++++++++++++++++- gcc/jit/libgccjit.c | 21 ++++++++++++++++++++- gcc/jit/libgccjit.h | 22 +++++++++++++++++++--- gcc/jit/libgccjit.map | 18 ++++++++++++++++++ gcc/testsuite/ChangeLog.jit | 10 ++++++++++ libbacktrace/ChangeLog.jit | 10 ++++++++++ libcpp/ChangeLog.jit | 10 ++++++++++ libdecnumber/ChangeLog.jit | 10 ++++++++++ libiberty/ChangeLog.jit | 10 ++++++++++ zlib/ChangeLog.jit | 10 ++++++++++ 23 files changed, 314 insertions(+), 8 deletions(-) diff --git a/ChangeLog.jit b/ChangeLog.jit index 5d2db3f..d2c3941 100644 --- a/ChangeLog.jit +++ b/ChangeLog.jit @@ -1,3 +1,7 @@ +2014-09-24 David Malcolm <dmalc...@redhat.com> + + * ChangeLog.jit: Add copyright footer. + 2014-09-11 David Malcolm <dmalc...@redhat.com> * MAINTAINERS (Various Maintainers): Add myself as jit maintainer. @@ -6,3 +10,9 @@ * configure.ac: Add --enable-host-shared * configure: Regenerate. + +Copyright (C) 2013-2014 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. diff --git a/contrib/ChangeLog.jit b/contrib/ChangeLog.jit index 79be84d..38a315a 100644 --- a/contrib/ChangeLog.jit +++ b/contrib/ChangeLog.jit @@ -1,4 +1,14 @@ +2014-09-24 David Malcolm <dmalc...@redhat.com> + + * ChangeLog.jit: Add copyright footer. + 2014-01-23 David Malcolm <dmalc...@redhat.com> * jit-coverage-report.py: New file: a script to print crude code-coverage information for the libgccjit API. + +Copyright (C) 2014 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. diff --git a/gcc/ChangeLog.jit b/gcc/ChangeLog.jit index 9771913..29307b1 100644 --- a/gcc/ChangeLog.jit +++ b/gcc/ChangeLog.jit @@ -1,5 +1,9 @@ 2014-09-24 David Malcolm <dmalc...@redhat.com> + * ChangeLog.jit: Add copyright footer. + +2014-09-24 David Malcolm <dmalc...@redhat.com> + * cgraph.h (cgraphbuild_c_finalize): Delete prototype of empty function. (ipa_c_finalize): Likewise. @@ -280,3 +284,9 @@ (toplev_finalize): New. * varpool.c (varpool_c_finalize): New. + +Copyright (C) 2013-2014 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. diff --git a/gcc/java/ChangeLog.jit b/gcc/java/ChangeLog.jit index 50de5bc..e5e7e27 100644 --- a/gcc/java/ChangeLog.jit +++ b/gcc/java/ChangeLog.jit @@ -1,4 +1,14 @@ +2014-09-24 David Malcolm <dmalc...@redhat.com> + + * ChangeLog.jit: Add copyright footer. + 2013-10-11 David Malcolm <dmalc...@redhat.com> * lang.c (java_handle_option): Update for introduction of gcc::dump_manager. + +Copyright (C) 2013-2014 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. diff --git a/gcc/jit/ChangeLog.jit b/gcc/jit/ChangeLog.jit index 4db5e66..f451771 100644 --- a/gcc/jit/ChangeLog.jit +++ b/gcc/jit/ChangeLog.jit @@ -1,3 +1,19 @@ +2014-09-24 David Malcolm <dmalc...@redhat.com> + + * ChangeLog.jit: Add copyright footer. + * Make-lang.in: Update copyright. + * config-lang.in: Update copyright. + * docs/examples/install-hello-world.c: Add copyright header. + * docs/examples/tut01-square.c: Likewise. + * docs/examples/tut02-sum-of-squares.c: Likewise. + * docs/examples/tut03-toyvm/toyvm.c: Likewise. + * internal-api.c: Likewise. + * internal-api.h: Likewise. + * libgccjit++.h: Likewise. + * libgccjit.c: Likewise. + * libgccjit.h: Likewise. + * libgccjit.map: Likewise. + 2014-09-23 David Malcolm <dmalc...@redhat.com> * TODO.rst (API): Shift operators are done. @@ -3062,3 +3078,9 @@ * libgccjit.h: New. * libgccjit.map: New. * notes.txt: New. + +Copyright (C) 2013-2014 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. diff --git a/gcc/jit/Make-lang.in b/gcc/jit/Make-lang.in index bf017f7..26dd022 100644 --- a/gcc/jit/Make-lang.in +++ b/gcc/jit/Make-lang.in @@ -1,5 +1,5 @@ # Top level -*- makefile -*- fragment for libgccjit.so. -# Copyright (C) 2013 Free Software Foundation, Inc. +# Copyright (C) 2013-2014 Free Software Foundation, Inc. #This file is part of GCC. diff --git a/gcc/jit/config-lang.in b/gcc/jit/config-lang.in index 7128c3b..b22a5ee 100644 --- a/gcc/jit/config-lang.in +++ b/gcc/jit/config-lang.in @@ -1,5 +1,5 @@ # Top level configure fragment for libgccjit.so. -# Copyright (C) 2013 Free Software Foundation, Inc. +# Copyright (C) 2013-2014 Free Software Foundation, Inc. #This file is part of GCC. diff --git a/gcc/jit/docs/examples/install-hello-world.c b/gcc/jit/docs/examples/install-hello-world.c index 29afad9..49c9651 100644 --- a/gcc/jit/docs/examples/install-hello-world.c +++ b/gcc/jit/docs/examples/install-hello-world.c @@ -1,3 +1,22 @@ +/* Smoketest example for libgccjit.so + Copyright (C) 2014 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING3. If not see +<http://www.gnu.org/licenses/>. */ + #include <libgccjit.h> #include <stdlib.h> diff --git a/gcc/jit/docs/examples/tut01-square.c b/gcc/jit/docs/examples/tut01-square.c index ea07b92..5eae179 100644 --- a/gcc/jit/docs/examples/tut01-square.c +++ b/gcc/jit/docs/examples/tut01-square.c @@ -1,3 +1,22 @@ +/* Usage example for libgccjit.so + Copyright (C) 2014 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING3. If not see +<http://www.gnu.org/licenses/>. */ + #include <libgccjit.h> #include <stdlib.h> diff --git a/gcc/jit/docs/examples/tut02-sum-of-squares.c b/gcc/jit/docs/examples/tut02-sum-of-squares.c index 1970a36..594230b 100644 --- a/gcc/jit/docs/examples/tut02-sum-of-squares.c +++ b/gcc/jit/docs/examples/tut02-sum-of-squares.c @@ -1,3 +1,22 @@ +/* Usage example for libgccjit.so + Copyright (C) 2014 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING3. If not see +<http://www.gnu.org/licenses/>. */ + #include <libgccjit.h> #include <stdlib.h> diff --git a/gcc/jit/docs/examples/tut03-toyvm/toyvm.c b/gcc/jit/docs/examples/tut03-toyvm/toyvm.c index 8211768..2646fda 100644 --- a/gcc/jit/docs/examples/tut03-toyvm/toyvm.c +++ b/gcc/jit/docs/examples/tut03-toyvm/toyvm.c @@ -1,5 +1,22 @@ /* A simple stack-based virtual machine to demonstrate - JIT-compilation. */ + JIT-compilation. + Copyright (C) 2014 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING3. If not see +<http://www.gnu.org/licenses/>. */ #include <assert.h> #include <errno.h> diff --git a/gcc/jit/internal-api.c b/gcc/jit/internal-api.c index a22cc5c..9e59d92 100644 --- a/gcc/jit/internal-api.c +++ b/gcc/jit/internal-api.c @@ -1,3 +1,23 @@ +/* Core of implementation of libgccjit.so + Copyright (C) 2013-2014 Free Software Foundation, Inc. + Contributed by David Malcolm <dmalc...@redhat.com>. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING3. If not see +<http://www.gnu.org/licenses/>. */ + #include "config.h" #include "system.h" #include "ansidecl.h" diff --git a/gcc/jit/internal-api.h b/gcc/jit/internal-api.h index 274b6ca..8054bed 100644 --- a/gcc/jit/internal-api.h +++ b/gcc/jit/internal-api.h @@ -1,3 +1,23 @@ +/* Core of implementation of libgccjit.so + Copyright (C) 2013-2014 Free Software Foundation, Inc. + Contributed by David Malcolm <dmalc...@redhat.com>. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING3. If not see +<http://www.gnu.org/licenses/>. */ + #ifndef INTERNAL_API_H #define INTERNAL_API_H diff --git a/gcc/jit/libgccjit++.h b/gcc/jit/libgccjit++.h index afcf892..67ed5d5 100644 --- a/gcc/jit/libgccjit++.h +++ b/gcc/jit/libgccjit++.h @@ -1,4 +1,21 @@ -/* A C++ API for libgccjit, purely as inline wrapper functions. */ +/* A C++ API for libgccjit, purely as inline wrapper functions. + Copyright (C) 2014 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING3. If not see +<http://www.gnu.org/licenses/>. */ #ifndef LIBGCCJIT_PLUS_PLUS_H #define LIBGCCJIT_PLUS_PLUS_H diff --git a/gcc/jit/libgccjit.c b/gcc/jit/libgccjit.c index 9550d8f..510ed86 100644 --- a/gcc/jit/libgccjit.c +++ b/gcc/jit/libgccjit.c @@ -1,4 +1,23 @@ -/* Implementation of the C API; all wrappers into a C++ API */ +/* Implementation of the C API; all wrappers into the internal C++ API + Copyright (C) 2013-2014 Free Software Foundation, Inc. + Contributed by David Malcolm <dmalc...@redhat.com>. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING3. If not see +<http://www.gnu.org/licenses/>. */ + #include "config.h" #include "system.h" #include "ansidecl.h" diff --git a/gcc/jit/libgccjit.h b/gcc/jit/libgccjit.h index 0ca1e92..8e03412 100644 --- a/gcc/jit/libgccjit.h +++ b/gcc/jit/libgccjit.h @@ -1,6 +1,22 @@ -/* - A pure C API to enable client code to embed GCC as a JIT-compiler. - */ +/* A pure C API to enable client code to embed GCC as a JIT-compiler. + Copyright (C) 2013-2014 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING3. If not see +<http://www.gnu.org/licenses/>. */ + #ifndef LIBGCCJIT_H #define LIBGCCJIT_H diff --git a/gcc/jit/libgccjit.map b/gcc/jit/libgccjit.map index 768e010..d4ba7b6 100644 --- a/gcc/jit/libgccjit.map +++ b/gcc/jit/libgccjit.map @@ -1,4 +1,22 @@ # Linker script for libgccjit.so +# Copyright (C) 2013-2014 Free Software Foundation, Inc. +# Contributed by David Malcolm <dmalc...@redhat.com>. +# +# This file is part of GCC. +# +# GCC is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GCC is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GCC; see the file COPYING3. If not see +# <http://www.gnu.org/licenses/>. */ { global: # Keep this list sorted alphabetically: diff --git a/gcc/testsuite/ChangeLog.jit b/gcc/testsuite/ChangeLog.jit index e882b05..4572c3d 100644 --- a/gcc/testsuite/ChangeLog.jit +++ b/gcc/testsuite/ChangeLog.jit @@ -1,3 +1,7 @@ +2014-09-24 David Malcolm <dmalc...@redhat.com> + + * ChangeLog.jit: Add copyright footer. + 2014-09-23 David Malcolm <dmalc...@redhat.com> * jit.dg/test-expressions.c (make_tests_of_binary_ops): Add @@ -555,3 +559,9 @@ * jit.dg/test-string-literal.c: New. * jit.dg/test-sum-of-squares.c: New. + +Copyright (C) 2013-2014 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. diff --git a/libbacktrace/ChangeLog.jit b/libbacktrace/ChangeLog.jit index fff6241..6b60e3b 100644 --- a/libbacktrace/ChangeLog.jit +++ b/libbacktrace/ChangeLog.jit @@ -1,4 +1,14 @@ +2014-09-24 David Malcolm <dmalc...@redhat.com> + + * ChangeLog.jit: Add copyright footer. + 2013-10-03 David Malcolm <dmalc...@redhat.com> * configure.ac: Add --enable-host-shared. * configure: Regenerate. + +Copyright (C) 2013-2014 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. diff --git a/libcpp/ChangeLog.jit b/libcpp/ChangeLog.jit index 6f497d4..5182b9c 100644 --- a/libcpp/ChangeLog.jit +++ b/libcpp/ChangeLog.jit @@ -1,3 +1,7 @@ +2014-09-24 David Malcolm <dmalc...@redhat.com> + + * ChangeLog.jit: Add copyright footer. + 2013-10-07 David Malcolm <dmalc...@redhat.com> * Makefile.in: Set PICFLAG from configure script; add it to @@ -10,3 +14,9 @@ * configure.ac: Add --enable-host-shared. * configure: Regenerate. + +Copyright (C) 2013-2014 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. diff --git a/libdecnumber/ChangeLog.jit b/libdecnumber/ChangeLog.jit index 6f497d4..5182b9c 100644 --- a/libdecnumber/ChangeLog.jit +++ b/libdecnumber/ChangeLog.jit @@ -1,3 +1,7 @@ +2014-09-24 David Malcolm <dmalc...@redhat.com> + + * ChangeLog.jit: Add copyright footer. + 2013-10-07 David Malcolm <dmalc...@redhat.com> * Makefile.in: Set PICFLAG from configure script; add it to @@ -10,3 +14,9 @@ * configure.ac: Add --enable-host-shared. * configure: Regenerate. + +Copyright (C) 2013-2014 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. diff --git a/libiberty/ChangeLog.jit b/libiberty/ChangeLog.jit index 9578e4f..52328e3 100644 --- a/libiberty/ChangeLog.jit +++ b/libiberty/ChangeLog.jit @@ -1,4 +1,14 @@ +2014-09-24 David Malcolm <dmalc...@redhat.com> + + * ChangeLog.jit: Add copyright footer. + 2013-10-03 David Malcolm <dmalc...@redhat.com> * configure.ac: If --enable-host-shared, use -fPIC. * configure: Regenerate. + +Copyright (C) 2013-2014 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. diff --git a/zlib/ChangeLog.jit b/zlib/ChangeLog.jit index 0ffd068..64ba6e1 100644 --- a/zlib/ChangeLog.jit +++ b/zlib/ChangeLog.jit @@ -1,3 +1,7 @@ +2014-09-24 David Malcolm <dmalc...@redhat.com> + + * ChangeLog.jit: Add copyright footer. + 2013-10-07 David Malcolm <dmalc...@redhat.com> * Makefile.am: Add PICFLAG to libz_a_CFLAGS. @@ -10,3 +14,9 @@ * configure.ac: Add --enable-host-shared. * configure: Regenerate. + +Copyright (C) 2013-2014 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. -- 1.7.11.7