[prelink-cross][PATCH v4] Add SPDX license headers to all source files
Meh Mbeh Ida Delphine <idadelm@...>
Added SPDX headers in all source files except src/makecrc.c since it is not copyrighted.
Skipped Makefile.am as well. Also cleared redundant license text. Updated README file with correct email addresses. Fixes: [YOCTO #13529] Signed-off-by: Meh Mbeh Ida Delphine <idadelm@...> --- Changes in V4: * Add [YOCTO #13529] tag to git commit log instead of subject line * Updated the README file with right email addresses Changes in V3: * Address review comments * Change subject line to reflect what the patch is trying to do Changes in V2: * Address review comments README | 4 ++-- src/arch-alpha.c | 15 ++------------- src/arch-arm.c | 15 ++------------- src/arch-cris.c | 15 ++------------- src/arch-i386.c | 15 ++------------- src/arch-ia64.c | 15 ++------------- src/arch-mips.c | 16 ++-------------- src/arch-ppc.c | 15 ++------------- src/arch-ppc64.c | 15 ++------------- src/arch-s390.c | 15 ++------------- src/arch-s390x.c | 15 ++------------- src/arch-sh.c | 15 ++------------- src/arch-sparc.c | 16 +++------------- src/arch-sparc64.c | 15 ++------------- src/arch-x86_64.c | 15 ++------------- src/cache.c | 15 ++------------- src/canonicalize.c | 16 ++-------------- src/checksum.c | 15 ++------------- src/conflict.c | 15 ++------------- src/crc32.c | 15 ++------------- src/cxx.c | 15 ++------------- src/data.c | 15 ++------------- src/doit.c | 15 ++------------- src/dso.c | 15 ++------------- src/dwarf2.c | 15 ++------------- src/dwarf2.h | 15 ++------------- src/exec.c | 15 ++------------- src/execle_open.c | 15 ++------------- src/execstack.c | 15 ++------------- src/fptr.c | 15 ++------------- src/fptr.h | 15 ++------------- src/gather.c | 15 ++------------- src/get.c | 15 ++------------- src/hashtab.c | 17 ++--------------- src/hashtab.h | 16 +++------------- src/layout.c | 15 ++------------- src/layout.h | 15 ++------------- src/main.c | 15 ++------------- src/md5.c | 16 ++-------------- src/md5.h | 15 ++------------- src/mdebug.c | 15 ++------------- src/prelink.c | 15 ++------------- src/prelink.h | 15 ++------------- src/prelinktab.h | 15 ++------------- src/reloc-info.c | 15 ++------------- src/reloc-info.h | 15 ++------------- src/reloc.c | 15 ++------------- src/reloc.h | 15 ++------------- src/sha.c | 4 ++++ src/sha.h | 4 ++++ src/space.c | 15 ++------------- src/space.h | 15 ++------------- src/stabs.c | 15 ++------------- src/undo.c | 15 ++------------- src/undoall.c | 15 ++------------- src/verify.c | 15 ++------------- 56 files changed, 118 insertions(+), 696 deletions(-) diff --git a/README b/README index 2d8893b..5f91fab 100644 --- a/README +++ b/README @@ -13,8 +13,8 @@ Patch submission When submitting patches to the cross-prelink project, please do the following: -To: mark.hatle@... -Cc: yocto@... +To: mark.hatle@... +Cc: yocto@... Subject: [prelink-cross] .... diff --git a/src/arch-alpha.c b/src/arch-alpha.c index 7802a3e..bc5c192 100644 --- a/src/arch-alpha.c +++ b/src/arch-alpha.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-arm.c b/src/arch-arm.c index eec7c57..b5ea886 100644 --- a/src/arch-arm.c +++ b/src/arch-arm.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2004, 2009, 2011, 2013 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-cris.c b/src/arch-cris.c index 3272779..634bf9f 100644 --- a/src/arch-cris.c +++ b/src/arch-cris.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-i386.c b/src/arch-i386.c index a1e0fcc..5a0b2ca 100644 --- a/src/arch-i386.c +++ b/src/arch-i386.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2009, 2011 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-ia64.c b/src/arch-ia64.c index 6039115..56196de 100644 --- a/src/arch-ia64.c +++ b/src/arch-ia64.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-mips.c b/src/arch-mips.c index 02c608f..2875ec3 100644 --- a/src/arch-mips.c +++ b/src/arch-mips.c @@ -2,20 +2,8 @@ Written by Richard Sandiford <richard@...>, 2006 Updated by Maciej W. Rozycki <macro@...>, 2008. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - +* SPDX-License-Identifier: GPL-2.0-or-later +*/ /* GENERAL NOTES The psABI defines R_MIPS_REL32 as A - EA + S, where the value of EA diff --git a/src/arch-ppc.c b/src/arch-ppc.c index e22e5d5..e296d79 100644 --- a/src/arch-ppc.c +++ b/src/arch-ppc.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2009, 2011 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-ppc64.c b/src/arch-ppc64.c index a764b99..3f2c375 100644 --- a/src/arch-ppc64.c +++ b/src/arch-ppc64.c @@ -1,19 +1,8 @@ /* Copyright (C) 2002, 2003, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2002. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-s390.c b/src/arch-s390.c index e5fe130..1a65f5c 100644 --- a/src/arch-s390.c +++ b/src/arch-s390.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2009, 2010, 2013 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-s390x.c b/src/arch-s390x.c index e4d82f7..926cfa2 100644 --- a/src/arch-s390x.c +++ b/src/arch-s390x.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2009, 2013 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-sh.c b/src/arch-sh.c index 1b11312..a852266 100644 --- a/src/arch-sh.c +++ b/src/arch-sh.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-sparc.c b/src/arch-sparc.c index e016a79..41b297d 100644 --- a/src/arch-sparc.c +++ b/src/arch-sparc.c @@ -1,19 +1,9 @@ /* Copyright (C) 2001, 2002, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-sparc64.c b/src/arch-sparc64.c index aee4601..c6a1027 100644 --- a/src/arch-sparc64.c +++ b/src/arch-sparc64.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-x86_64.c b/src/arch-x86_64.c index 2f6c551..249661a 100644 --- a/src/arch-x86_64.c +++ b/src/arch-x86_64.c @@ -3,19 +3,8 @@ Copyright (C) 2011 Wind River Systems, Inc. x32 support by Mark Hatle <mark.hatle@...> - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/cache.c b/src/cache.c index 1cc3217..b476581 100644 --- a/src/cache.c +++ b/src/cache.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2006, 2013 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/canonicalize.c b/src/canonicalize.c index 79df44e..e94ec06 100644 --- a/src/canonicalize.c +++ b/src/canonicalize.c @@ -2,20 +2,8 @@ Copyright (C) 1996-2002, 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of the GNU C Library. - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library 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 - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <assert.h> #include <stdlib.h> diff --git a/src/checksum.c b/src/checksum.c index 20a23a0..5c80fc5 100644 --- a/src/checksum.c +++ b/src/checksum.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/conflict.c b/src/conflict.c index 5613ace..83713c5 100644 --- a/src/conflict.c +++ b/src/conflict.c @@ -3,19 +3,8 @@ Written by Jakub Jelinek <jakub@...>, 2001. Updated by Maciej W. Rozycki <macro@...>, 2008. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/crc32.c b/src/crc32.c index f36abb5..81e990b 100644 --- a/src/crc32.c +++ b/src/crc32.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <stdint.h> diff --git a/src/cxx.c b/src/cxx.c index 4391ebe..4b911a9 100644 --- a/src/cxx.c +++ b/src/cxx.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2007, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <alloca.h> diff --git a/src/data.c b/src/data.c index 751f96f..d648744 100644 --- a/src/data.c +++ b/src/data.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include "prelink.h" diff --git a/src/doit.c b/src/doit.c index 3784866..42e6819 100644 --- a/src/doit.c +++ b/src/doit.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2003, 2004, 2005, 2007 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <alloca.h> diff --git a/src/dso.c b/src/dso.c index 949abf9..9cce846 100644 --- a/src/dso.c +++ b/src/dso.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2010 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/dwarf2.c b/src/dwarf2.c index b9588b1..d230bb7 100644 --- a/src/dwarf2.c +++ b/src/dwarf2.c @@ -2,19 +2,8 @@ Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/dwarf2.h b/src/dwarf2.h index b0c80b6..888f2c7 100644 --- a/src/dwarf2.h +++ b/src/dwarf2.h @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2009, 2010, 2011, 2012 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #define DW_TAG_padding 0x00 #define DW_TAG_array_type 0x01 diff --git a/src/exec.c b/src/exec.c index ca7fd14..431690e 100644 --- a/src/exec.c +++ b/src/exec.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/execle_open.c b/src/execle_open.c index 2ee5cbc..0d4bef5 100644 --- a/src/execle_open.c +++ b/src/execle_open.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <errno.h> diff --git a/src/execstack.c b/src/execstack.c index 97fb453..fe044c5 100644 --- a/src/execstack.c +++ b/src/execstack.c @@ -1,19 +1,8 @@ /* Copyright (C) 2003, 2005, 2010 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2003. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <errno.h> diff --git a/src/fptr.c b/src/fptr.c index cfe3aed..65a2804 100644 --- a/src/fptr.c +++ b/src/fptr.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2007 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/fptr.h b/src/fptr.h index 36ef7c6..c4ce3f7 100644 --- a/src/fptr.h +++ b/src/fptr.h @@ -1,19 +1,8 @@ /* Copyright (C) 2001 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef FPTR_H #define FPTR_H diff --git a/src/gather.c b/src/gather.c index 277f1b5..0d1e7c4 100644 --- a/src/gather.c +++ b/src/gather.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/get.c b/src/get.c index 0659962..bb58b1e 100644 --- a/src/get.c +++ b/src/get.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/hashtab.c b/src/hashtab.c index fa27446..7dc389d 100644 --- a/src/hashtab.c +++ b/src/hashtab.c @@ -2,21 +2,8 @@ Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. Contributed by Vladimir Makarov (vmakarov@...). -This file is part of the libiberty library. -Libiberty is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -Libiberty 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 -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with libiberty; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ /* This package implements basic hash table functionality. It is possible to search for an entry, create an entry and destroy an entry. diff --git a/src/hashtab.h b/src/hashtab.h index 31e63e0..d3f297f 100644 --- a/src/hashtab.h +++ b/src/hashtab.h @@ -2,19 +2,8 @@ Copyright (C) 1999, 2000 Free Software Foundation, Inc. Contributed by Vladimir Makarov (vmakarov@...). -This program 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 2 of the License, or -(at your option) any later version. - -This program 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 this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ /* This package implements basic hash table functionality. It is possible to search for an entry, create an entry and destroy an entry. @@ -29,6 +18,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ expanded by creation of new hash table and transferring elements from the old table to the new table. */ + #ifndef __HASHTAB_H__ #define __HASHTAB_H__ diff --git a/src/layout.c b/src/layout.c index 859ab66..29be7a3 100644 --- a/src/layout.c +++ b/src/layout.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2006, 2011 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <alloca.h> diff --git a/src/layout.h b/src/layout.h index f481d22..1b10bc0 100644 --- a/src/layout.h +++ b/src/layout.h @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2004, 2006 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef LAYOUT_H #define LAYOUT_H diff --git a/src/main.c b/src/main.c index 6ba89d5..39e44ad 100644 --- a/src/main.c +++ b/src/main.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2010, 2011 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <errno.h> diff --git a/src/md5.c b/src/md5.c index 0d2fdef..19a8e0b 100644 --- a/src/md5.c +++ b/src/md5.c @@ -4,21 +4,9 @@ NOTE: The canonical source of this file is maintained with the GNU C Library. Bugs can be reported to bug-glibc@.... - This program 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 2, or (at your option) any - later version. - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - -/* Written by Ulrich Drepper <drepper@...>, 1995. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <sys/types.h> #include <stdlib.h> diff --git a/src/md5.h b/src/md5.h index 55f6195..eb0b85e 100644 --- a/src/md5.h +++ b/src/md5.h @@ -4,19 +4,8 @@ NOTE: The canonical source of this file is maintained with the GNU C Library. Bugs can be reported to bug-glibc@.... - This program 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 2, or (at your option) any - later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _MD5_H #define _MD5_H 1 diff --git a/src/mdebug.c b/src/mdebug.c index 4c22d2f..eb6d1b5 100644 --- a/src/mdebug.c +++ b/src/mdebug.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/prelink.c b/src/prelink.c index 64c4fea..bf774c9 100644 --- a/src/prelink.c +++ b/src/prelink.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/prelink.h b/src/prelink.h index 39c4390..4c4c243 100644 --- a/src/prelink.h +++ b/src/prelink.h @@ -4,19 +4,8 @@ Written by Jakub Jelinek <jakub@...>, 2001. Updated by Maciej W. Rozycki <macro@...>, 2008. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef PRELINK_H #define PRELINK_H diff --git a/src/prelinktab.h b/src/prelinktab.h index f41c79c..a404292 100644 --- a/src/prelinktab.h +++ b/src/prelinktab.h @@ -1,19 +1,8 @@ /* Copyright (C) 2001 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef PRELINKTAB_H #define PRELINKTAB_H diff --git a/src/reloc-info.c b/src/reloc-info.c index 4ce333c..d51cfc1 100644 --- a/src/reloc-info.c +++ b/src/reloc-info.c @@ -1,19 +1,8 @@ /* Copyright (C) 2008 CodeSourcery Written by Maciej W. Rozycki <macro@...>, 2008. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> diff --git a/src/reloc-info.h b/src/reloc-info.h index a8f8b7c..592a92c 100644 --- a/src/reloc-info.h +++ b/src/reloc-info.h @@ -1,19 +1,8 @@ /* Copyright (C) 2008 CodeSourcery Written by Maciej W. Rozycki <macro@...>, 2008. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef RELOC_INFO_H #define RELOC_INFO_H diff --git a/src/reloc.c b/src/reloc.c index deb0abe..9883dc7 100644 --- a/src/reloc.c +++ b/src/reloc.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2005 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/reloc.h b/src/reloc.h index a2ceff9..ee91f7e 100644 --- a/src/reloc.h +++ b/src/reloc.h @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef RELOC_H #define RELOC_H diff --git a/src/sha.c b/src/sha.c index cfbc956..f979bc4 100644 --- a/src/sha.c +++ b/src/sha.c @@ -1,3 +1,7 @@ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + /* sha.c - Functions to compute the SHA1 hash (message-digest) of files or blocks of memory. Complies to the NIST specification FIPS-180-1. diff --git a/src/sha.h b/src/sha.h index 13583e3..810072b 100644 --- a/src/sha.h +++ b/src/sha.h @@ -1,3 +1,7 @@ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + /* sha.h - Declaration of functions and datatypes for SHA1 sum computing library functions. diff --git a/src/space.c b/src/space.c index 4bd4760..8223daf 100644 --- a/src/space.c +++ b/src/space.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2006, 2007 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/space.h b/src/space.h index 5c9f725..59d087c 100644 --- a/src/space.h +++ b/src/space.h @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2004 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef SPACE_H #define SPACE_H diff --git a/src/stabs.c b/src/stabs.c index c0a5a6a..fd0ca28 100644 --- a/src/stabs.c +++ b/src/stabs.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2005, 2006 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/undo.c b/src/undo.c index 4c38dab..e6cfae3 100644 --- a/src/undo.c +++ b/src/undo.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2005, 2010 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/undoall.c b/src/undoall.c index 55d2a0b..44a0b4e 100644 --- a/src/undoall.c +++ b/src/undoall.c @@ -1,19 +1,8 @@ /* Copyright (C) 2002, 2005 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2002. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <alloca.h> diff --git a/src/verify.c b/src/verify.c index 7f530c0..991794a 100644 --- a/src/verify.c +++ b/src/verify.c @@ -1,19 +1,8 @@ /* Copyright (C) 2002, 2003, 2006, 2007, 2010 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2002. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> -- 2.17.1
|
|
Re: [YOCTO#13529][prelink-cross v3] Add SPDX license headers to all source files
Meh Mbeh Ida Delphine <idadelm@...>
Got it, thanks!Â
On Fri, Oct 9, 2020 at 3:59 AM Tim Orling <ticotimo@...> wrote:
|
|
Re: [YOCTO#13529][prelink-cross v3] Add SPDX license headers to all source files
Thank you so much for the revision. I was not clear enough in what I said earlier and we had not captured it in the wiki either. Richard and I have updated the wiki. What I was thinking, but did not clearly say is: You should use "Add SPDX license headers to all source files" as the git shortlog (the first line of the text you type in when you do git commit -s). I believe you did this already. Second, the [YOCTO #13529] tag goes into the git commit message itself, not the subject line of send-email. I did not explain that well. So here is explicitly what is the best practice: $ git commit -s (or at this point $ git commit --amend) In the editor enter: Add SPDX license headers to all source files Added SPDX headers in all source files except src/makecrc.c since it is not copyrighted. Skipped Makefile.am as well. Also cleared redundant license text. Then send the patch: $ git send-email --to=yocto@... --subject-prefix="prelink-cross][PATCH v4" --cc mark.hatle@... -M -1 --annotate NOTE: the repository has two errors in the README (which you could optionally fix in v4). (1) Mark Hatle is no longer at Wind River so the email needs to change (2) The Yocto Project mailing list URL has changed to "yocto@..." The -M part makes the email be formatted properly with regard to whitespace so it can be merged cleanly. The -1 part means "one commit". So if your contribution is 3 patches, it would be -3. The --annotate part of that command line will drop you into an editor. Since this is a revision of a prior patch, we want to add the changes underneath the --- This makes it easy to review, but does not put transient, ephemeral text into the permanent git history: Add SPDX license headers to all source files Added SPDX headers in all source files except src/makecrc.c since it is not copyrighted. Skipped Makefile.am as well. Also cleared redundant license text. Fixes: [YOCTO #13529] Changes in V4:  * Add [YOCTO #13529] tag to git commit log instead of subject line Changes in V3:  * Address review comments  * Change subject line to reflect what the patch is trying to do Changes in V2:  src/arch-alpha.c  | 15 ++------------- <snip>
On Thu, Oct 8, 2020 at 11:23 AM Meh Mbeh Ida Delphine <idadelm@...> wrote: Fixed bug #13529
|
|
akhilathota499@...
Hi,
I would like to work on #10699 -- Ensure consistency in repository URLs bug. Kindly help me to move forward by providing more information on this issue(like where I can find more URL's mentioned in the request) and kindly assign it to me.
|
|
Welcome to this amazing community Akhila
toggle quoted messageShow quoted text
On Thu, Oct 8, 2020 at 11:51 AM <akhilathota499@...> wrote:
|
|
akhilathota499@...
Hello Team,Â
I am Akhila, outreachy applicant and I'm new to opensource projects. I'm excited to contribute to yocto project. I hope you guys would help me with this. Â
|
|
[YOCTO#13529][prelink-cross v3] Add SPDX license headers to all source files
Meh Mbeh Ida Delphine <idadelm@...>
Fixed bug #13529
Added SPDX headers in all source files except src/makecrc.c since it is not copyrighted. Skipped Makefile.am as well. Also cleared redundant license text. Signed-off-by: Meh Mbeh Ida Delphine <idadelm@...> --- src/arch-alpha.c | 15 ++------------- src/arch-arm.c | 15 ++------------- src/arch-cris.c | 15 ++------------- src/arch-i386.c | 15 ++------------- src/arch-ia64.c | 15 ++------------- src/arch-mips.c | 16 ++-------------- src/arch-ppc.c | 15 ++------------- src/arch-ppc64.c | 15 ++------------- src/arch-s390.c | 15 ++------------- src/arch-s390x.c | 15 ++------------- src/arch-sh.c | 15 ++------------- src/arch-sparc.c | 16 +++------------- src/arch-sparc64.c | 15 ++------------- src/arch-x86_64.c | 15 ++------------- src/cache.c | 15 ++------------- src/canonicalize.c | 16 ++-------------- src/checksum.c | 15 ++------------- src/conflict.c | 15 ++------------- src/crc32.c | 15 ++------------- src/cxx.c | 15 ++------------- src/data.c | 15 ++------------- src/doit.c | 15 ++------------- src/dso.c | 15 ++------------- src/dwarf2.c | 15 ++------------- src/dwarf2.h | 15 ++------------- src/exec.c | 15 ++------------- src/execle_open.c | 15 ++------------- src/execstack.c | 15 ++------------- src/fptr.c | 15 ++------------- src/fptr.h | 15 ++------------- src/gather.c | 15 ++------------- src/get.c | 15 ++------------- src/hashtab.c | 17 ++--------------- src/hashtab.h | 16 +++------------- src/layout.c | 15 ++------------- src/layout.h | 15 ++------------- src/main.c | 15 ++------------- src/md5.c | 16 ++-------------- src/md5.h | 15 ++------------- src/mdebug.c | 15 ++------------- src/prelink.c | 15 ++------------- src/prelink.h | 15 ++------------- src/prelinktab.h | 15 ++------------- src/reloc-info.c | 15 ++------------- src/reloc-info.h | 15 ++------------- src/reloc.c | 15 ++------------- src/reloc.h | 15 ++------------- src/sha.c | 4 ++++ src/sha.h | 4 ++++ src/space.c | 15 ++------------- src/space.h | 15 ++------------- src/stabs.c | 15 ++------------- src/undo.c | 15 ++------------- src/undoall.c | 15 ++------------- src/verify.c | 15 ++------------- 55 files changed, 116 insertions(+), 694 deletions(-) diff --git a/src/arch-alpha.c b/src/arch-alpha.c index 7802a3e..bc5c192 100644 --- a/src/arch-alpha.c +++ b/src/arch-alpha.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-arm.c b/src/arch-arm.c index eec7c57..b5ea886 100644 --- a/src/arch-arm.c +++ b/src/arch-arm.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2004, 2009, 2011, 2013 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-cris.c b/src/arch-cris.c index 3272779..634bf9f 100644 --- a/src/arch-cris.c +++ b/src/arch-cris.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-i386.c b/src/arch-i386.c index a1e0fcc..5a0b2ca 100644 --- a/src/arch-i386.c +++ b/src/arch-i386.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2009, 2011 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-ia64.c b/src/arch-ia64.c index 6039115..56196de 100644 --- a/src/arch-ia64.c +++ b/src/arch-ia64.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-mips.c b/src/arch-mips.c index 02c608f..2875ec3 100644 --- a/src/arch-mips.c +++ b/src/arch-mips.c @@ -2,20 +2,8 @@ Written by Richard Sandiford <richard@...>, 2006 Updated by Maciej W. Rozycki <macro@...>, 2008. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - +* SPDX-License-Identifier: GPL-2.0-or-later +*/ /* GENERAL NOTES The psABI defines R_MIPS_REL32 as A - EA + S, where the value of EA diff --git a/src/arch-ppc.c b/src/arch-ppc.c index e22e5d5..e296d79 100644 --- a/src/arch-ppc.c +++ b/src/arch-ppc.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2009, 2011 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-ppc64.c b/src/arch-ppc64.c index a764b99..3f2c375 100644 --- a/src/arch-ppc64.c +++ b/src/arch-ppc64.c @@ -1,19 +1,8 @@ /* Copyright (C) 2002, 2003, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2002. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-s390.c b/src/arch-s390.c index e5fe130..1a65f5c 100644 --- a/src/arch-s390.c +++ b/src/arch-s390.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2009, 2010, 2013 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-s390x.c b/src/arch-s390x.c index e4d82f7..926cfa2 100644 --- a/src/arch-s390x.c +++ b/src/arch-s390x.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2009, 2013 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-sh.c b/src/arch-sh.c index 1b11312..a852266 100644 --- a/src/arch-sh.c +++ b/src/arch-sh.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-sparc.c b/src/arch-sparc.c index e016a79..41b297d 100644 --- a/src/arch-sparc.c +++ b/src/arch-sparc.c @@ -1,19 +1,9 @@ /* Copyright (C) 2001, 2002, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-sparc64.c b/src/arch-sparc64.c index aee4601..c6a1027 100644 --- a/src/arch-sparc64.c +++ b/src/arch-sparc64.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-x86_64.c b/src/arch-x86_64.c index 2f6c551..249661a 100644 --- a/src/arch-x86_64.c +++ b/src/arch-x86_64.c @@ -3,19 +3,8 @@ Copyright (C) 2011 Wind River Systems, Inc. x32 support by Mark Hatle <mark.hatle@...> - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/cache.c b/src/cache.c index 1cc3217..b476581 100644 --- a/src/cache.c +++ b/src/cache.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2006, 2013 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/canonicalize.c b/src/canonicalize.c index 79df44e..e94ec06 100644 --- a/src/canonicalize.c +++ b/src/canonicalize.c @@ -2,20 +2,8 @@ Copyright (C) 1996-2002, 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of the GNU C Library. - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library 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 - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <assert.h> #include <stdlib.h> diff --git a/src/checksum.c b/src/checksum.c index 20a23a0..5c80fc5 100644 --- a/src/checksum.c +++ b/src/checksum.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/conflict.c b/src/conflict.c index 5613ace..83713c5 100644 --- a/src/conflict.c +++ b/src/conflict.c @@ -3,19 +3,8 @@ Written by Jakub Jelinek <jakub@...>, 2001. Updated by Maciej W. Rozycki <macro@...>, 2008. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/crc32.c b/src/crc32.c index f36abb5..81e990b 100644 --- a/src/crc32.c +++ b/src/crc32.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <stdint.h> diff --git a/src/cxx.c b/src/cxx.c index 4391ebe..4b911a9 100644 --- a/src/cxx.c +++ b/src/cxx.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2007, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <alloca.h> diff --git a/src/data.c b/src/data.c index 751f96f..d648744 100644 --- a/src/data.c +++ b/src/data.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include "prelink.h" diff --git a/src/doit.c b/src/doit.c index 3784866..42e6819 100644 --- a/src/doit.c +++ b/src/doit.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2003, 2004, 2005, 2007 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <alloca.h> diff --git a/src/dso.c b/src/dso.c index 949abf9..9cce846 100644 --- a/src/dso.c +++ b/src/dso.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2010 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/dwarf2.c b/src/dwarf2.c index b9588b1..d230bb7 100644 --- a/src/dwarf2.c +++ b/src/dwarf2.c @@ -2,19 +2,8 @@ Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/dwarf2.h b/src/dwarf2.h index b0c80b6..888f2c7 100644 --- a/src/dwarf2.h +++ b/src/dwarf2.h @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2009, 2010, 2011, 2012 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #define DW_TAG_padding 0x00 #define DW_TAG_array_type 0x01 diff --git a/src/exec.c b/src/exec.c index ca7fd14..431690e 100644 --- a/src/exec.c +++ b/src/exec.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/execle_open.c b/src/execle_open.c index 2ee5cbc..0d4bef5 100644 --- a/src/execle_open.c +++ b/src/execle_open.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <errno.h> diff --git a/src/execstack.c b/src/execstack.c index 97fb453..fe044c5 100644 --- a/src/execstack.c +++ b/src/execstack.c @@ -1,19 +1,8 @@ /* Copyright (C) 2003, 2005, 2010 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2003. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <errno.h> diff --git a/src/fptr.c b/src/fptr.c index cfe3aed..65a2804 100644 --- a/src/fptr.c +++ b/src/fptr.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2007 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/fptr.h b/src/fptr.h index 36ef7c6..c4ce3f7 100644 --- a/src/fptr.h +++ b/src/fptr.h @@ -1,19 +1,8 @@ /* Copyright (C) 2001 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef FPTR_H #define FPTR_H diff --git a/src/gather.c b/src/gather.c index 277f1b5..0d1e7c4 100644 --- a/src/gather.c +++ b/src/gather.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/get.c b/src/get.c index 0659962..bb58b1e 100644 --- a/src/get.c +++ b/src/get.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/hashtab.c b/src/hashtab.c index fa27446..7dc389d 100644 --- a/src/hashtab.c +++ b/src/hashtab.c @@ -2,21 +2,8 @@ Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. Contributed by Vladimir Makarov (vmakarov@...). -This file is part of the libiberty library. -Libiberty is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -Libiberty 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 -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with libiberty; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ /* This package implements basic hash table functionality. It is possible to search for an entry, create an entry and destroy an entry. diff --git a/src/hashtab.h b/src/hashtab.h index 31e63e0..d3f297f 100644 --- a/src/hashtab.h +++ b/src/hashtab.h @@ -2,19 +2,8 @@ Copyright (C) 1999, 2000 Free Software Foundation, Inc. Contributed by Vladimir Makarov (vmakarov@...). -This program 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 2 of the License, or -(at your option) any later version. - -This program 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 this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ /* This package implements basic hash table functionality. It is possible to search for an entry, create an entry and destroy an entry. @@ -29,6 +18,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ expanded by creation of new hash table and transferring elements from the old table to the new table. */ + #ifndef __HASHTAB_H__ #define __HASHTAB_H__ diff --git a/src/layout.c b/src/layout.c index 859ab66..29be7a3 100644 --- a/src/layout.c +++ b/src/layout.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2006, 2011 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <alloca.h> diff --git a/src/layout.h b/src/layout.h index f481d22..1b10bc0 100644 --- a/src/layout.h +++ b/src/layout.h @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2004, 2006 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef LAYOUT_H #define LAYOUT_H diff --git a/src/main.c b/src/main.c index 6ba89d5..39e44ad 100644 --- a/src/main.c +++ b/src/main.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2010, 2011 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <errno.h> diff --git a/src/md5.c b/src/md5.c index 0d2fdef..19a8e0b 100644 --- a/src/md5.c +++ b/src/md5.c @@ -4,21 +4,9 @@ NOTE: The canonical source of this file is maintained with the GNU C Library. Bugs can be reported to bug-glibc@.... - This program 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 2, or (at your option) any - later version. - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - -/* Written by Ulrich Drepper <drepper@...>, 1995. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <sys/types.h> #include <stdlib.h> diff --git a/src/md5.h b/src/md5.h index 55f6195..eb0b85e 100644 --- a/src/md5.h +++ b/src/md5.h @@ -4,19 +4,8 @@ NOTE: The canonical source of this file is maintained with the GNU C Library. Bugs can be reported to bug-glibc@.... - This program 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 2, or (at your option) any - later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _MD5_H #define _MD5_H 1 diff --git a/src/mdebug.c b/src/mdebug.c index 4c22d2f..eb6d1b5 100644 --- a/src/mdebug.c +++ b/src/mdebug.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/prelink.c b/src/prelink.c index 64c4fea..bf774c9 100644 --- a/src/prelink.c +++ b/src/prelink.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/prelink.h b/src/prelink.h index 39c4390..4c4c243 100644 --- a/src/prelink.h +++ b/src/prelink.h @@ -4,19 +4,8 @@ Written by Jakub Jelinek <jakub@...>, 2001. Updated by Maciej W. Rozycki <macro@...>, 2008. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef PRELINK_H #define PRELINK_H diff --git a/src/prelinktab.h b/src/prelinktab.h index f41c79c..a404292 100644 --- a/src/prelinktab.h +++ b/src/prelinktab.h @@ -1,19 +1,8 @@ /* Copyright (C) 2001 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef PRELINKTAB_H #define PRELINKTAB_H diff --git a/src/reloc-info.c b/src/reloc-info.c index 4ce333c..d51cfc1 100644 --- a/src/reloc-info.c +++ b/src/reloc-info.c @@ -1,19 +1,8 @@ /* Copyright (C) 2008 CodeSourcery Written by Maciej W. Rozycki <macro@...>, 2008. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> diff --git a/src/reloc-info.h b/src/reloc-info.h index a8f8b7c..592a92c 100644 --- a/src/reloc-info.h +++ b/src/reloc-info.h @@ -1,19 +1,8 @@ /* Copyright (C) 2008 CodeSourcery Written by Maciej W. Rozycki <macro@...>, 2008. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef RELOC_INFO_H #define RELOC_INFO_H diff --git a/src/reloc.c b/src/reloc.c index deb0abe..9883dc7 100644 --- a/src/reloc.c +++ b/src/reloc.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2005 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/reloc.h b/src/reloc.h index a2ceff9..ee91f7e 100644 --- a/src/reloc.h +++ b/src/reloc.h @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef RELOC_H #define RELOC_H diff --git a/src/sha.c b/src/sha.c index cfbc956..f979bc4 100644 --- a/src/sha.c +++ b/src/sha.c @@ -1,3 +1,7 @@ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + /* sha.c - Functions to compute the SHA1 hash (message-digest) of files or blocks of memory. Complies to the NIST specification FIPS-180-1. diff --git a/src/sha.h b/src/sha.h index 13583e3..810072b 100644 --- a/src/sha.h +++ b/src/sha.h @@ -1,3 +1,7 @@ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + /* sha.h - Declaration of functions and datatypes for SHA1 sum computing library functions. diff --git a/src/space.c b/src/space.c index 4bd4760..8223daf 100644 --- a/src/space.c +++ b/src/space.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2006, 2007 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/space.h b/src/space.h index 5c9f725..59d087c 100644 --- a/src/space.h +++ b/src/space.h @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2004 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef SPACE_H #define SPACE_H diff --git a/src/stabs.c b/src/stabs.c index c0a5a6a..fd0ca28 100644 --- a/src/stabs.c +++ b/src/stabs.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2005, 2006 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/undo.c b/src/undo.c index 4c38dab..e6cfae3 100644 --- a/src/undo.c +++ b/src/undo.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2005, 2010 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/undoall.c b/src/undoall.c index 55d2a0b..44a0b4e 100644 --- a/src/undoall.c +++ b/src/undoall.c @@ -1,19 +1,8 @@ /* Copyright (C) 2002, 2005 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2002. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <alloca.h> diff --git a/src/verify.c b/src/verify.c index 7f530c0..991794a 100644 --- a/src/verify.c +++ b/src/verify.c @@ -1,19 +1,8 @@ /* Copyright (C) 2002, 2003, 2006, 2007, 2010 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2002. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> -- 2.17.1
|
|
Re: [prelink-cross v2] Fixed bug #13529
Meh Mbeh Ida Delphine <idadelm@...>
Awesome, thanks for the feedback.Â
On Thu, Oct 8, 2020 at 6:29 PM Tim Orling <ticotimo@...> wrote:
|
|
Re: [prelink-cross v2] Fixed bug #13529
Hi Ida! Thank you so much for the patch. Just a few things to help you along: (0) general guidelines https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines and https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded OpenEmbedded and Yocto Project are tightly coupled, so that is why these references are coming from openembedded. (1) the subject line should be descriptive of what the change is, so it would be better to say "[prelink-cross] Add SPDX license headers to all source files" This is because it will be permanent git history and we want to be able to rapidly scan the "shortlog" that you would see with "git log --oneline" and know immediately what was done in a given commit (2) In the body of the commit message (after the first line) you can put in more detail when it is appropriate, for instance you could mention the files that did not have a license and you skipped them, etc. This is a way for us to communicate the thought process we followed, or the steps we did to reproduce the problem, or any other communication that might be helpful (3) We have a convention to use [YOCTO#13529] to show that the patch fixes a bug from the Yocto Project Bugzilla. This is to make it possible for automated capturing of the "tags" that tell us which commits addressed which bugs. (4) One last thing, when sending follow-up patches (v2, v3, etc.), we ask to put what changed from v1 to v2 to v3 underneath the --- in the git log. You can make this easy by adding --annotate to the git send-email command and it will give you and opportunity to edit the log before you send the patch. Some of this is tribal knowledge and perhaps not captured in the wiki and we should improve that. Or put it into the Yocto Project documentation...but it should be captured somewhere :) --Tim On Thu, Oct 8, 2020 at 9:38 AM Meh Mbeh Ida Delphine <idadelm@...> wrote: Signed-off-by: Meh Mbeh Ida Delphine <idadelm@...> ^^^ anything underneath the --- will not show up in the commit log, so this is where we put things that are effemeral, such as "Changes since v2"   src/arch-alpha.c  | 15 ++-------------
|
|
Re: Perl populate sysroot fails (yocto 2.0.3)
Varangu-Booth, Valen
Perfect! Thanks for your help.
I had to add both do_populate_sysroot[depends] += "perl:do_populate_sysroot" AND do_populate_sysroot_setscene[depends] += "perl:do_populate_sysroot_setscene" and now things are working great!
|
|
[prelink-cross v2] Fixed bug #13529
Meh Mbeh Ida Delphine <idadelm@...>
Signed-off-by: Meh Mbeh Ida Delphine <idadelm@...>
--- src/arch-alpha.c | 15 ++------------- src/arch-arm.c | 15 ++------------- src/arch-cris.c | 15 ++------------- src/arch-i386.c | 15 ++------------- src/arch-ia64.c | 15 ++------------- src/arch-mips.c | 16 ++-------------- src/arch-ppc.c | 15 ++------------- src/arch-ppc64.c | 15 ++------------- src/arch-s390.c | 15 ++------------- src/arch-s390x.c | 15 ++------------- src/arch-sh.c | 15 ++------------- src/arch-sparc.c | 16 +++------------- src/arch-sparc64.c | 15 ++------------- src/arch-x86_64.c | 15 ++------------- src/cache.c | 15 ++------------- src/canonicalize.c | 16 ++-------------- src/checksum.c | 15 ++------------- src/conflict.c | 15 ++------------- src/crc32.c | 15 ++------------- src/cxx.c | 15 ++------------- src/data.c | 15 ++------------- src/doit.c | 15 ++------------- src/dso.c | 15 ++------------- src/dwarf2.c | 15 ++------------- src/dwarf2.h | 15 ++------------- src/exec.c | 15 ++------------- src/execle_open.c | 15 ++------------- src/execstack.c | 15 ++------------- src/fptr.c | 15 ++------------- src/fptr.h | 15 ++------------- src/gather.c | 15 ++------------- src/get.c | 15 ++------------- src/hashtab.c | 17 ++--------------- src/hashtab.h | 16 +++------------- src/layout.c | 15 ++------------- src/layout.h | 15 ++------------- src/main.c | 15 ++------------- src/md5.c | 16 ++-------------- src/md5.h | 15 ++------------- src/mdebug.c | 15 ++------------- src/prelink.c | 15 ++------------- src/prelink.h | 15 ++------------- src/prelinktab.h | 15 ++------------- src/reloc-info.c | 15 ++------------- src/reloc-info.h | 15 ++------------- src/reloc.c | 15 ++------------- src/reloc.h | 15 ++------------- src/sha.c | 4 ++++ src/sha.h | 4 ++++ src/space.c | 15 ++------------- src/space.h | 15 ++------------- src/stabs.c | 15 ++------------- src/undo.c | 15 ++------------- src/undoall.c | 15 ++------------- src/verify.c | 15 ++------------- 55 files changed, 116 insertions(+), 694 deletions(-) diff --git a/src/arch-alpha.c b/src/arch-alpha.c index 7802a3e..bc5c192 100644 --- a/src/arch-alpha.c +++ b/src/arch-alpha.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-arm.c b/src/arch-arm.c index eec7c57..b5ea886 100644 --- a/src/arch-arm.c +++ b/src/arch-arm.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2004, 2009, 2011, 2013 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-cris.c b/src/arch-cris.c index 3272779..634bf9f 100644 --- a/src/arch-cris.c +++ b/src/arch-cris.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-i386.c b/src/arch-i386.c index a1e0fcc..5a0b2ca 100644 --- a/src/arch-i386.c +++ b/src/arch-i386.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2009, 2011 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-ia64.c b/src/arch-ia64.c index 6039115..56196de 100644 --- a/src/arch-ia64.c +++ b/src/arch-ia64.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-mips.c b/src/arch-mips.c index 02c608f..2875ec3 100644 --- a/src/arch-mips.c +++ b/src/arch-mips.c @@ -2,20 +2,8 @@ Written by Richard Sandiford <richard@...>, 2006 Updated by Maciej W. Rozycki <macro@...>, 2008. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - +* SPDX-License-Identifier: GPL-2.0-or-later +*/ /* GENERAL NOTES The psABI defines R_MIPS_REL32 as A - EA + S, where the value of EA diff --git a/src/arch-ppc.c b/src/arch-ppc.c index e22e5d5..e296d79 100644 --- a/src/arch-ppc.c +++ b/src/arch-ppc.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2009, 2011 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-ppc64.c b/src/arch-ppc64.c index a764b99..3f2c375 100644 --- a/src/arch-ppc64.c +++ b/src/arch-ppc64.c @@ -1,19 +1,8 @@ /* Copyright (C) 2002, 2003, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2002. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-s390.c b/src/arch-s390.c index e5fe130..1a65f5c 100644 --- a/src/arch-s390.c +++ b/src/arch-s390.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2009, 2010, 2013 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-s390x.c b/src/arch-s390x.c index e4d82f7..926cfa2 100644 --- a/src/arch-s390x.c +++ b/src/arch-s390x.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2009, 2013 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-sh.c b/src/arch-sh.c index 1b11312..a852266 100644 --- a/src/arch-sh.c +++ b/src/arch-sh.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-sparc.c b/src/arch-sparc.c index e016a79..41b297d 100644 --- a/src/arch-sparc.c +++ b/src/arch-sparc.c @@ -1,19 +1,9 @@ /* Copyright (C) 2001, 2002, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-sparc64.c b/src/arch-sparc64.c index aee4601..c6a1027 100644 --- a/src/arch-sparc64.c +++ b/src/arch-sparc64.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-x86_64.c b/src/arch-x86_64.c index 2f6c551..249661a 100644 --- a/src/arch-x86_64.c +++ b/src/arch-x86_64.c @@ -3,19 +3,8 @@ Copyright (C) 2011 Wind River Systems, Inc. x32 support by Mark Hatle <mark.hatle@...> - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/cache.c b/src/cache.c index 1cc3217..b476581 100644 --- a/src/cache.c +++ b/src/cache.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2006, 2013 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/canonicalize.c b/src/canonicalize.c index 79df44e..e94ec06 100644 --- a/src/canonicalize.c +++ b/src/canonicalize.c @@ -2,20 +2,8 @@ Copyright (C) 1996-2002, 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of the GNU C Library. - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library 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 - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <assert.h> #include <stdlib.h> diff --git a/src/checksum.c b/src/checksum.c index 20a23a0..5c80fc5 100644 --- a/src/checksum.c +++ b/src/checksum.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/conflict.c b/src/conflict.c index 5613ace..83713c5 100644 --- a/src/conflict.c +++ b/src/conflict.c @@ -3,19 +3,8 @@ Written by Jakub Jelinek <jakub@...>, 2001. Updated by Maciej W. Rozycki <macro@...>, 2008. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/crc32.c b/src/crc32.c index f36abb5..81e990b 100644 --- a/src/crc32.c +++ b/src/crc32.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <stdint.h> diff --git a/src/cxx.c b/src/cxx.c index 4391ebe..4b911a9 100644 --- a/src/cxx.c +++ b/src/cxx.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2007, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <alloca.h> diff --git a/src/data.c b/src/data.c index 751f96f..d648744 100644 --- a/src/data.c +++ b/src/data.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include "prelink.h" diff --git a/src/doit.c b/src/doit.c index 3784866..42e6819 100644 --- a/src/doit.c +++ b/src/doit.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2003, 2004, 2005, 2007 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <alloca.h> diff --git a/src/dso.c b/src/dso.c index 949abf9..9cce846 100644 --- a/src/dso.c +++ b/src/dso.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2010 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/dwarf2.c b/src/dwarf2.c index b9588b1..d230bb7 100644 --- a/src/dwarf2.c +++ b/src/dwarf2.c @@ -2,19 +2,8 @@ Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/dwarf2.h b/src/dwarf2.h index b0c80b6..888f2c7 100644 --- a/src/dwarf2.h +++ b/src/dwarf2.h @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2009, 2010, 2011, 2012 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #define DW_TAG_padding 0x00 #define DW_TAG_array_type 0x01 diff --git a/src/exec.c b/src/exec.c index ca7fd14..431690e 100644 --- a/src/exec.c +++ b/src/exec.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/execle_open.c b/src/execle_open.c index 2ee5cbc..0d4bef5 100644 --- a/src/execle_open.c +++ b/src/execle_open.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <errno.h> diff --git a/src/execstack.c b/src/execstack.c index 97fb453..fe044c5 100644 --- a/src/execstack.c +++ b/src/execstack.c @@ -1,19 +1,8 @@ /* Copyright (C) 2003, 2005, 2010 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2003. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <errno.h> diff --git a/src/fptr.c b/src/fptr.c index cfe3aed..65a2804 100644 --- a/src/fptr.c +++ b/src/fptr.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2007 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/fptr.h b/src/fptr.h index 36ef7c6..c4ce3f7 100644 --- a/src/fptr.h +++ b/src/fptr.h @@ -1,19 +1,8 @@ /* Copyright (C) 2001 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef FPTR_H #define FPTR_H diff --git a/src/gather.c b/src/gather.c index 277f1b5..0d1e7c4 100644 --- a/src/gather.c +++ b/src/gather.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/get.c b/src/get.c index 0659962..bb58b1e 100644 --- a/src/get.c +++ b/src/get.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/hashtab.c b/src/hashtab.c index fa27446..7dc389d 100644 --- a/src/hashtab.c +++ b/src/hashtab.c @@ -2,21 +2,8 @@ Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. Contributed by Vladimir Makarov (vmakarov@...). -This file is part of the libiberty library. -Libiberty is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -Libiberty 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 -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with libiberty; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ /* This package implements basic hash table functionality. It is possible to search for an entry, create an entry and destroy an entry. diff --git a/src/hashtab.h b/src/hashtab.h index 31e63e0..d3f297f 100644 --- a/src/hashtab.h +++ b/src/hashtab.h @@ -2,19 +2,8 @@ Copyright (C) 1999, 2000 Free Software Foundation, Inc. Contributed by Vladimir Makarov (vmakarov@...). -This program 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 2 of the License, or -(at your option) any later version. - -This program 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 this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ /* This package implements basic hash table functionality. It is possible to search for an entry, create an entry and destroy an entry. @@ -29,6 +18,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ expanded by creation of new hash table and transferring elements from the old table to the new table. */ + #ifndef __HASHTAB_H__ #define __HASHTAB_H__ diff --git a/src/layout.c b/src/layout.c index 859ab66..29be7a3 100644 --- a/src/layout.c +++ b/src/layout.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2006, 2011 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <alloca.h> diff --git a/src/layout.h b/src/layout.h index f481d22..1b10bc0 100644 --- a/src/layout.h +++ b/src/layout.h @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2004, 2006 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef LAYOUT_H #define LAYOUT_H diff --git a/src/main.c b/src/main.c index 6ba89d5..39e44ad 100644 --- a/src/main.c +++ b/src/main.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2010, 2011 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <errno.h> diff --git a/src/md5.c b/src/md5.c index 0d2fdef..19a8e0b 100644 --- a/src/md5.c +++ b/src/md5.c @@ -4,21 +4,9 @@ NOTE: The canonical source of this file is maintained with the GNU C Library. Bugs can be reported to bug-glibc@.... - This program 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 2, or (at your option) any - later version. - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - -/* Written by Ulrich Drepper <drepper@...>, 1995. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <sys/types.h> #include <stdlib.h> diff --git a/src/md5.h b/src/md5.h index 55f6195..eb0b85e 100644 --- a/src/md5.h +++ b/src/md5.h @@ -4,19 +4,8 @@ NOTE: The canonical source of this file is maintained with the GNU C Library. Bugs can be reported to bug-glibc@.... - This program 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 2, or (at your option) any - later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _MD5_H #define _MD5_H 1 diff --git a/src/mdebug.c b/src/mdebug.c index 4c22d2f..eb6d1b5 100644 --- a/src/mdebug.c +++ b/src/mdebug.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/prelink.c b/src/prelink.c index 64c4fea..bf774c9 100644 --- a/src/prelink.c +++ b/src/prelink.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/prelink.h b/src/prelink.h index 39c4390..4c4c243 100644 --- a/src/prelink.h +++ b/src/prelink.h @@ -4,19 +4,8 @@ Written by Jakub Jelinek <jakub@...>, 2001. Updated by Maciej W. Rozycki <macro@...>, 2008. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef PRELINK_H #define PRELINK_H diff --git a/src/prelinktab.h b/src/prelinktab.h index f41c79c..a404292 100644 --- a/src/prelinktab.h +++ b/src/prelinktab.h @@ -1,19 +1,8 @@ /* Copyright (C) 2001 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef PRELINKTAB_H #define PRELINKTAB_H diff --git a/src/reloc-info.c b/src/reloc-info.c index 4ce333c..d51cfc1 100644 --- a/src/reloc-info.c +++ b/src/reloc-info.c @@ -1,19 +1,8 @@ /* Copyright (C) 2008 CodeSourcery Written by Maciej W. Rozycki <macro@...>, 2008. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> diff --git a/src/reloc-info.h b/src/reloc-info.h index a8f8b7c..592a92c 100644 --- a/src/reloc-info.h +++ b/src/reloc-info.h @@ -1,19 +1,8 @@ /* Copyright (C) 2008 CodeSourcery Written by Maciej W. Rozycki <macro@...>, 2008. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef RELOC_INFO_H #define RELOC_INFO_H diff --git a/src/reloc.c b/src/reloc.c index deb0abe..9883dc7 100644 --- a/src/reloc.c +++ b/src/reloc.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2005 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/reloc.h b/src/reloc.h index a2ceff9..ee91f7e 100644 --- a/src/reloc.h +++ b/src/reloc.h @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef RELOC_H #define RELOC_H diff --git a/src/sha.c b/src/sha.c index cfbc956..f979bc4 100644 --- a/src/sha.c +++ b/src/sha.c @@ -1,3 +1,7 @@ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + /* sha.c - Functions to compute the SHA1 hash (message-digest) of files or blocks of memory. Complies to the NIST specification FIPS-180-1. diff --git a/src/sha.h b/src/sha.h index 13583e3..810072b 100644 --- a/src/sha.h +++ b/src/sha.h @@ -1,3 +1,7 @@ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + /* sha.h - Declaration of functions and datatypes for SHA1 sum computing library functions. diff --git a/src/space.c b/src/space.c index 4bd4760..8223daf 100644 --- a/src/space.c +++ b/src/space.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2006, 2007 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/space.h b/src/space.h index 5c9f725..59d087c 100644 --- a/src/space.h +++ b/src/space.h @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2004 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef SPACE_H #define SPACE_H diff --git a/src/stabs.c b/src/stabs.c index c0a5a6a..fd0ca28 100644 --- a/src/stabs.c +++ b/src/stabs.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2005, 2006 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/undo.c b/src/undo.c index 4c38dab..e6cfae3 100644 --- a/src/undo.c +++ b/src/undo.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2005, 2010 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/undoall.c b/src/undoall.c index 55d2a0b..44a0b4e 100644 --- a/src/undoall.c +++ b/src/undoall.c @@ -1,19 +1,8 @@ /* Copyright (C) 2002, 2005 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2002. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <alloca.h> diff --git a/src/verify.c b/src/verify.c index 7f530c0..991794a 100644 --- a/src/verify.c +++ b/src/verify.c @@ -1,19 +1,8 @@ /* Copyright (C) 2002, 2003, 2006, 2007, 2010 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2002. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> -- 2.17.1
|
|
Re: Introdyction
#yocto
Alexandru Vaduva
Good luck Tanya ;) Enjoy the experience! Â From: yocto@... [mailto:yocto@...]
On Behalf Of tanyachawla0412@... Â Hi, I am Tanya. I am an Outreachy intern. Looking forward to contribute to the project and interact with everyone and learn about open source.Â
|
|
[prelink-cross v2] Reverted to previous commit and added the SPDX identifiers
Meh Mbeh Ida Delphine <idadelm@...>
Signed-off-by: Meh Mbeh Ida Delphine <idadelm@...>
--- src/arch-alpha.c | 15 ++------------- src/arch-arm.c | 15 ++------------- src/arch-cris.c | 15 ++------------- src/arch-i386.c | 15 ++------------- src/arch-ia64.c | 15 ++------------- src/arch-mips.c | 18 ++++-------------- src/arch-ppc.c | 15 ++------------- src/arch-ppc64.c | 15 ++------------- src/arch-s390.c | 15 ++------------- src/arch-s390x.c | 15 ++------------- src/arch-sh.c | 15 ++------------- src/arch-sparc.c | 16 +++------------- src/arch-sparc64.c | 15 ++------------- src/arch-x86_64.c | 15 ++------------- src/cache.c | 15 ++------------- src/canonicalize.c | 16 ++-------------- src/checksum.c | 15 ++------------- src/conflict.c | 15 ++------------- src/crc32.c | 15 ++------------- src/cxx.c | 15 ++------------- src/data.c | 15 ++------------- src/doit.c | 15 ++------------- src/dso.c | 15 ++------------- src/dwarf2.c | 15 ++------------- src/dwarf2.h | 15 ++------------- src/exec.c | 15 ++------------- src/execle_open.c | 15 ++------------- src/execstack.c | 15 ++------------- src/fptr.c | 15 ++------------- src/fptr.h | 15 ++------------- src/gather.c | 15 ++------------- src/get.c | 15 ++------------- src/hashtab.c | 21 +++++---------------- src/hashtab.h | 19 +++++-------------- src/layout.c | 15 ++------------- src/layout.h | 15 ++------------- src/main.c | 15 ++------------- src/md5.c | 16 ++-------------- src/md5.h | 15 ++------------- src/mdebug.c | 15 ++------------- src/prelink.c | 15 ++------------- src/prelink.h | 15 ++------------- src/prelinktab.h | 15 ++------------- src/reloc-info.c | 15 ++------------- src/reloc-info.h | 15 ++------------- src/reloc.c | 15 ++------------- src/reloc.h | 15 ++------------- src/sha.c | 4 ++++ src/sha.h | 4 ++++ src/space.c | 15 ++------------- src/space.h | 15 ++------------- src/stabs.c | 15 ++------------- src/undo.c | 15 ++------------- src/undoall.c | 15 ++------------- src/verify.c | 15 ++------------- 55 files changed, 123 insertions(+), 696 deletions(-) diff --git a/src/arch-alpha.c b/src/arch-alpha.c index 7802a3e..bc5c192 100644 --- a/src/arch-alpha.c +++ b/src/arch-alpha.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-arm.c b/src/arch-arm.c index eec7c57..b5ea886 100644 --- a/src/arch-arm.c +++ b/src/arch-arm.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2004, 2009, 2011, 2013 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-cris.c b/src/arch-cris.c index 3272779..634bf9f 100644 --- a/src/arch-cris.c +++ b/src/arch-cris.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-i386.c b/src/arch-i386.c index a1e0fcc..5a0b2ca 100644 --- a/src/arch-i386.c +++ b/src/arch-i386.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2009, 2011 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-ia64.c b/src/arch-ia64.c index 6039115..56196de 100644 --- a/src/arch-ia64.c +++ b/src/arch-ia64.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-mips.c b/src/arch-mips.c index 02c608f..9431759 100644 --- a/src/arch-mips.c +++ b/src/arch-mips.c @@ -2,20 +2,6 @@ Written by Richard Sandiford <richard@...>, 2006 Updated by Maciej W. Rozycki <macro@...>, 2008. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - /* GENERAL NOTES The psABI defines R_MIPS_REL32 as A - EA + S, where the value of EA @@ -78,6 +64,10 @@ for type E would either be a no-op (if the GOT entry already contains st_value) or would lose the address of the lazy binding stub. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <assert.h> #include <errno.h> diff --git a/src/arch-ppc.c b/src/arch-ppc.c index e22e5d5..e296d79 100644 --- a/src/arch-ppc.c +++ b/src/arch-ppc.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2009, 2011 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-ppc64.c b/src/arch-ppc64.c index a764b99..3f2c375 100644 --- a/src/arch-ppc64.c +++ b/src/arch-ppc64.c @@ -1,19 +1,8 @@ /* Copyright (C) 2002, 2003, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2002. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-s390.c b/src/arch-s390.c index e5fe130..1a65f5c 100644 --- a/src/arch-s390.c +++ b/src/arch-s390.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2009, 2010, 2013 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-s390x.c b/src/arch-s390x.c index e4d82f7..926cfa2 100644 --- a/src/arch-s390x.c +++ b/src/arch-s390x.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2009, 2013 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-sh.c b/src/arch-sh.c index 1b11312..a852266 100644 --- a/src/arch-sh.c +++ b/src/arch-sh.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-sparc.c b/src/arch-sparc.c index e016a79..41b297d 100644 --- a/src/arch-sparc.c +++ b/src/arch-sparc.c @@ -1,19 +1,9 @@ /* Copyright (C) 2001, 2002, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-sparc64.c b/src/arch-sparc64.c index aee4601..c6a1027 100644 --- a/src/arch-sparc64.c +++ b/src/arch-sparc64.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-x86_64.c b/src/arch-x86_64.c index 2f6c551..249661a 100644 --- a/src/arch-x86_64.c +++ b/src/arch-x86_64.c @@ -3,19 +3,8 @@ Copyright (C) 2011 Wind River Systems, Inc. x32 support by Mark Hatle <mark.hatle@...> - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/cache.c b/src/cache.c index 1cc3217..b476581 100644 --- a/src/cache.c +++ b/src/cache.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2006, 2013 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/canonicalize.c b/src/canonicalize.c index 79df44e..e94ec06 100644 --- a/src/canonicalize.c +++ b/src/canonicalize.c @@ -2,20 +2,8 @@ Copyright (C) 1996-2002, 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of the GNU C Library. - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library 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 - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <assert.h> #include <stdlib.h> diff --git a/src/checksum.c b/src/checksum.c index 20a23a0..5c80fc5 100644 --- a/src/checksum.c +++ b/src/checksum.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/conflict.c b/src/conflict.c index 5613ace..83713c5 100644 --- a/src/conflict.c +++ b/src/conflict.c @@ -3,19 +3,8 @@ Written by Jakub Jelinek <jakub@...>, 2001. Updated by Maciej W. Rozycki <macro@...>, 2008. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/crc32.c b/src/crc32.c index f36abb5..81e990b 100644 --- a/src/crc32.c +++ b/src/crc32.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <stdint.h> diff --git a/src/cxx.c b/src/cxx.c index 4391ebe..4b911a9 100644 --- a/src/cxx.c +++ b/src/cxx.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2007, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <alloca.h> diff --git a/src/data.c b/src/data.c index 751f96f..d648744 100644 --- a/src/data.c +++ b/src/data.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include "prelink.h" diff --git a/src/doit.c b/src/doit.c index 3784866..42e6819 100644 --- a/src/doit.c +++ b/src/doit.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2003, 2004, 2005, 2007 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <alloca.h> diff --git a/src/dso.c b/src/dso.c index 949abf9..9cce846 100644 --- a/src/dso.c +++ b/src/dso.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2010 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/dwarf2.c b/src/dwarf2.c index b9588b1..d230bb7 100644 --- a/src/dwarf2.c +++ b/src/dwarf2.c @@ -2,19 +2,8 @@ Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/dwarf2.h b/src/dwarf2.h index b0c80b6..888f2c7 100644 --- a/src/dwarf2.h +++ b/src/dwarf2.h @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2009, 2010, 2011, 2012 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #define DW_TAG_padding 0x00 #define DW_TAG_array_type 0x01 diff --git a/src/exec.c b/src/exec.c index ca7fd14..431690e 100644 --- a/src/exec.c +++ b/src/exec.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/execle_open.c b/src/execle_open.c index 2ee5cbc..0d4bef5 100644 --- a/src/execle_open.c +++ b/src/execle_open.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <errno.h> diff --git a/src/execstack.c b/src/execstack.c index 97fb453..fe044c5 100644 --- a/src/execstack.c +++ b/src/execstack.c @@ -1,19 +1,8 @@ /* Copyright (C) 2003, 2005, 2010 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2003. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <errno.h> diff --git a/src/fptr.c b/src/fptr.c index cfe3aed..65a2804 100644 --- a/src/fptr.c +++ b/src/fptr.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2007 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/fptr.h b/src/fptr.h index 36ef7c6..c4ce3f7 100644 --- a/src/fptr.h +++ b/src/fptr.h @@ -1,19 +1,8 @@ /* Copyright (C) 2001 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef FPTR_H #define FPTR_H diff --git a/src/gather.c b/src/gather.c index 277f1b5..0d1e7c4 100644 --- a/src/gather.c +++ b/src/gather.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/get.c b/src/get.c index 0659962..bb58b1e 100644 --- a/src/get.c +++ b/src/get.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/hashtab.c b/src/hashtab.c index fa27446..12e4f30 100644 --- a/src/hashtab.c +++ b/src/hashtab.c @@ -1,22 +1,7 @@ /* An expandable hash tables datatype. Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. Contributed by Vladimir Makarov (vmakarov@...). - -This file is part of the libiberty library. -Libiberty is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -Libiberty 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 -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with libiberty; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ +*/ /* This package implements basic hash table functionality. It is possible to search for an entry, create an entry and destroy an entry. @@ -31,6 +16,10 @@ Boston, MA 02111-1307, USA. */ expanded by creation of new hash table and transferring elements from the old table to the new table. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <sys/types.h> #include <stdlib.h> diff --git a/src/hashtab.h b/src/hashtab.h index 31e63e0..d412057 100644 --- a/src/hashtab.h +++ b/src/hashtab.h @@ -1,20 +1,7 @@ /* An expandable hash tables datatype. Copyright (C) 1999, 2000 Free Software Foundation, Inc. Contributed by Vladimir Makarov (vmakarov@...). - -This program 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 2 of the License, or -(at your option) any later version. - -This program 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 this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + */ /* This package implements basic hash table functionality. It is possible to search for an entry, create an entry and destroy an entry. @@ -29,6 +16,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ expanded by creation of new hash table and transferring elements from the old table to the new table. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #ifndef __HASHTAB_H__ #define __HASHTAB_H__ diff --git a/src/layout.c b/src/layout.c index 859ab66..29be7a3 100644 --- a/src/layout.c +++ b/src/layout.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2006, 2011 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <alloca.h> diff --git a/src/layout.h b/src/layout.h index f481d22..1b10bc0 100644 --- a/src/layout.h +++ b/src/layout.h @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2004, 2006 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef LAYOUT_H #define LAYOUT_H diff --git a/src/main.c b/src/main.c index 6ba89d5..39e44ad 100644 --- a/src/main.c +++ b/src/main.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2010, 2011 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <errno.h> diff --git a/src/md5.c b/src/md5.c index 0d2fdef..19a8e0b 100644 --- a/src/md5.c +++ b/src/md5.c @@ -4,21 +4,9 @@ NOTE: The canonical source of this file is maintained with the GNU C Library. Bugs can be reported to bug-glibc@.... - This program 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 2, or (at your option) any - later version. - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - -/* Written by Ulrich Drepper <drepper@...>, 1995. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <sys/types.h> #include <stdlib.h> diff --git a/src/md5.h b/src/md5.h index 55f6195..eb0b85e 100644 --- a/src/md5.h +++ b/src/md5.h @@ -4,19 +4,8 @@ NOTE: The canonical source of this file is maintained with the GNU C Library. Bugs can be reported to bug-glibc@.... - This program 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 2, or (at your option) any - later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _MD5_H #define _MD5_H 1 diff --git a/src/mdebug.c b/src/mdebug.c index 4c22d2f..eb6d1b5 100644 --- a/src/mdebug.c +++ b/src/mdebug.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/prelink.c b/src/prelink.c index 64c4fea..bf774c9 100644 --- a/src/prelink.c +++ b/src/prelink.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/prelink.h b/src/prelink.h index 39c4390..4c4c243 100644 --- a/src/prelink.h +++ b/src/prelink.h @@ -4,19 +4,8 @@ Written by Jakub Jelinek <jakub@...>, 2001. Updated by Maciej W. Rozycki <macro@...>, 2008. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef PRELINK_H #define PRELINK_H diff --git a/src/prelinktab.h b/src/prelinktab.h index f41c79c..a404292 100644 --- a/src/prelinktab.h +++ b/src/prelinktab.h @@ -1,19 +1,8 @@ /* Copyright (C) 2001 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef PRELINKTAB_H #define PRELINKTAB_H diff --git a/src/reloc-info.c b/src/reloc-info.c index 4ce333c..d51cfc1 100644 --- a/src/reloc-info.c +++ b/src/reloc-info.c @@ -1,19 +1,8 @@ /* Copyright (C) 2008 CodeSourcery Written by Maciej W. Rozycki <macro@...>, 2008. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> diff --git a/src/reloc-info.h b/src/reloc-info.h index a8f8b7c..592a92c 100644 --- a/src/reloc-info.h +++ b/src/reloc-info.h @@ -1,19 +1,8 @@ /* Copyright (C) 2008 CodeSourcery Written by Maciej W. Rozycki <macro@...>, 2008. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef RELOC_INFO_H #define RELOC_INFO_H diff --git a/src/reloc.c b/src/reloc.c index deb0abe..9883dc7 100644 --- a/src/reloc.c +++ b/src/reloc.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2005 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/reloc.h b/src/reloc.h index a2ceff9..ee91f7e 100644 --- a/src/reloc.h +++ b/src/reloc.h @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef RELOC_H #define RELOC_H diff --git a/src/sha.c b/src/sha.c index cfbc956..38e520c 100644 --- a/src/sha.c +++ b/src/sha.c @@ -8,6 +8,10 @@ NOTE: The canonical source of this file is maintained in GNU coreutils. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <sys/types.h> #include <stdlib.h> #include <string.h> diff --git a/src/sha.h b/src/sha.h index 13583e3..055b4a4 100644 --- a/src/sha.h +++ b/src/sha.h @@ -4,6 +4,10 @@ Copyright (C) 1999, Scott G. Miller */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #ifndef _SHA_H # define _SHA_H 1 diff --git a/src/space.c b/src/space.c index 4bd4760..8223daf 100644 --- a/src/space.c +++ b/src/space.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2006, 2007 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/space.h b/src/space.h index 5c9f725..59d087c 100644 --- a/src/space.h +++ b/src/space.h @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2004 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef SPACE_H #define SPACE_H diff --git a/src/stabs.c b/src/stabs.c index c0a5a6a..fd0ca28 100644 --- a/src/stabs.c +++ b/src/stabs.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2005, 2006 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/undo.c b/src/undo.c index 4c38dab..e6cfae3 100644 --- a/src/undo.c +++ b/src/undo.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2005, 2010 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/undoall.c b/src/undoall.c index 55d2a0b..44a0b4e 100644 --- a/src/undoall.c +++ b/src/undoall.c @@ -1,19 +1,8 @@ /* Copyright (C) 2002, 2005 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2002. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <alloca.h> diff --git a/src/verify.c b/src/verify.c index 7f530c0..991794a 100644 --- a/src/verify.c +++ b/src/verify.c @@ -1,19 +1,8 @@ /* Copyright (C) 2002, 2003, 2006, 2007, 2010 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2002. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> -- 2.17.1
|
|
[ANNOUNCEMENT] Yocto Project 3.1.3 (dunfell 23.0.3) Released
Vineela
Hello,
We are pleased to announce the Yocto Project 3.1.3 (dunfell-23.0.3) Release is now available for download. http://downloads.yoctoproject.org/releases/yocto/yocto-3.1.3/poky-dunfell-23.0.3.tar.bz2 http://mirrors.kernel.org/yocto/yocto/yocto-3.1.3/poky-dunfell-23.0.3.tar.bz2 A gpg signed version of these release notes is available at: http://downloads.yoctoproject.org/releases/yocto/yocto-3.1.3/RELEASENOTES Full Test Report: http://downloads.yoctoproject.org/releases/yocto/yocto-3.1.3/testreport.txt Thank you for everyone's contributions to this release. Sincerely Vineela Tummalapalli, Yocto Project Build and Release vineela.tummalapalli@... - -------------------------- yocto-3.1.3 Release Notes - -------------------------- - -------------------------- Repositories/Downloads - -------------------------- Repository Name: poky Repository Location: https://git.yoctoproject.org/git/poky Branch: dunfell Tag: yocto-3.1.3 Git Revision: 012ad10a89a889c21e67c27dc37d22520212548f Release Artefact: poky-dunfell-23.0.3 sha: 5ce1869a7d4074981287d3c105211c7f546810eb485af7b8ae6ed0e15bb41046 Download Locations: http://downloads.yoctoproject.org/releases/yocto/yocto-3.1.3/poky-dunfell-23.0.3.tar.bz2 http://mirrors.kernel.org/yocto/yocto/yocto-3.1.3/poky-dunfell-23.0.3.tar.bz2 Repository Name: openembedded-core Repository Location: https://git.openembedded.org/openembedded-core Branch: dunfell Tag: 2020-04.3-dunfell Git Revision: b39bda4cc62db12c0edfbe489d5a7f5988ede6a9 Release Artefact: oecore-dunfell-23.0.3 sha: 9f4cdb2e45149af41b557abbb8a36a6fe1125af8d6afe19f24c708a84167c10c Download Locations: http://downloads.yoctoproject.org/releases/yocto/yocto-3.1.3/oecore-dunfell-23.0.3.tar.bz2 http://mirrors.kernel.org/yocto/yocto/yocto-3.1.3/oecore-dunfell-23.0.3.tar.bz2 Repository Name: meta-mingw Repository Location: https://git.yoctoproject.org/git/meta-mingw Branch: dunfell Tag: yocto-3.1.3 Git Revision: 524de686205b5d6736661d4532f5f98fee8589b7 Release Artefact: meta-mingw-dunfell-23.0.3 sha: 7a0a544b1b9963c023795aa73807a6b179e494caa401ee30547bb1a0eda2eb16 Download Locations: http://downloads.yoctoproject.org/releases/yocto/yocto-3.1.3/meta-mingw-dunfell-23.0.3.tar.bz2 http://mirrors.kernel.org/yocto/yocto/yocto-3.1.3/meta-mingw-dunfell-23.0.3.tar.bz2 Repository Name: meta-gplv2 Repository Location: https://git.yoctoproject.org/git/meta-gplv2 Branch: dunfell Tag: yocto-3.1.3 Git Revision: 60b251c25ba87e946a0ca4cdc8d17b1cb09292ac Release Artefact: meta-gplv2-dunfell-23.0.3 sha: d810593328b6ca38d1b2da41607cb257b015934bf8bf6cb2e0bb0a54ebb391d6 Download Locations: http://downloads.yoctoproject.org/releases/yocto/yocto-3.1.3/meta-gplv2-dunfell-23.0.3.tar.bz2 http://mirrors.kernel.org/yocto/yocto/yocto-3.1.3/meta-gplv2-dunfell-23.0.3.tar.bz2 Repository Name: bitbake Repository Location: https://git.openembedded.org/bitbake Branch: dunfell Tag: 2020-04.3-dunfell Git Revision: 18e1957337fd9f06bc673d28dd4f8277321d07bc Release Artefact: bitbake-dunfell-23.0.3 sha: de3bc9541a4bbbaa494b69777cac7bc7767a230a8849f11a25073866e8fd680b Download Locations: http://downloads.yoctoproject.org/releases/yocto/yocto-3.1.3/bitbake-dunfell-23.0.3.tar.bz2 http://mirrors.kernel.org/yocto/yocto/yocto-3.1.3/bitbake-dunfell-23.0.3.tar.bz2 - ------------- Contributors - ------------- Adrian Bunk Adrian Freihofer akuster Alexander Kanavin Andrei Gherzan Anibal Limon Armin Kuster Bruce Ashfield Changqing Li Chen Qi Chris Laplante Christophe GUIBOUT Daniel Ammann Daniel Gomez Geoff Parker Guillaume Champagne hongxu Jain Sangeeta Jean-Francois Dagenais Joshua Watt Kevin Hao Khem Raj Konrad Weihmann Kurt Kiefer Lee Chee Yang Mark Hatle Martin Jansa Matthew Matt Madison Michael Gloff Michael Halstead Michael Tretter Mikko Rapeli Ming Liu Nicolas Dechesne Oleksandr Kravchuk Ovidiu Panait Peter A. Bigot Pierre-Jean Texier Rahul Kumar Rasmus Villemoes Richard Purdie Robert Yang Ross Burton Sakib Sajal Stephen Jolley Steve Sakoman Sumit Garg TeohJayShen Tyler Hicks Vasyl Vavrychuk Vijai Kumar K Viktor Rosendahl Vineela Tummalapalli Wang Mingyu Yann Dirson Yi Zhao zhengruoqin Zhixiong Chi - --------------- Known Issues - --------------- perl ptest failure: There was a perl ptest issue identified during testing. The issue has been traced to a test error, functionality is correct and the test issue will be addressed in the next release. - --------------- Security Fixes - --------------- libxml2: Fix CVE-2020-24977 cmake: whitelist CVE-2016-10642 curl: add vendors to CVE_PRODUCT to exclude false positives gnutls: CVE-2020-24659 libx11 : fix CVE-2020-14344 qemu: fix CVE-2020-14364 CVE-2020-14415 xserver-xorg: fix CVE-2020-14347 json-c: Fix CVE-2020-12762 perl: fix CVE-2020-12723 fribidi: extend CVE_PRODUCT to include fribidi gcc-9.3.inc: Mark CVE-2019-15847 as fixed glibc: Bring in CVE fixes and other bugfixes from 2.31 release branch grub: set CVE_PRODUCT to grub2 webkitgtk: fix CVE-2020-13753 libjpeg-turbo: fix CVE-2020-13790 qemu: fix CVE-2020-15863 ghostscript: fix CVE-2020-15900 glibc: Secruity fix for CVE-2020-6096 - --------------- Fixes - --------------- build-appliance-image: Update to dunfell head revision scripts/oe-build-perf-report: Use python3 from the environment build-appliance-image: Update to dunfell head revision Revert "kernel.bbclass: run do_symlink_kernsrc before do_patch" populate_sdk_ext: Do not assume local.conf will always exist sysvinit: Remove ${B} assignment libubootenv: upgrade 0.3 -> 0.3.1 initramfs-framework: support kernel cmdline with double quotes systemd-serialgetty: Replace sed quoting using ' with " to allow var expansion systemd-serialgetty: Fix sed expression quoting bitbake: tests/fetch: Move away from problematic freedesktop.org urls poky.conf: Bump version for 3.1.3 release yocto-bsp: update to v5.4.58 yocto-bsp: update to v5.4.56 yocto-bsps: update reference BSPs to 5.4.54 cve-check: avoid FileNotFoundError if no do_cve_check task has run cve-update-db-native: use context manager for cve_f cve-check/cve-update-db-native: use lockfile to fix usage under multiconfig cve-update-db-native: add progress handler cve-check.bbclass: always save cve report ell: update to 0.33 oeqa/concurrencytest: Improve builddir path manipulations selftest/signing: Ensure build path relocation is safe oe-publish-sdk: fix layers init via ssh image.bbclass: fix REPRODUCIBLE_TIMESTAMP_ROOTFS reference runqemu: Add a hook to allow it to renice autoconf: consolidate DEPENDS insane: only load real files as ELF gdk-pixbuf: add tests PACKAGECONFIG rpcbind: Use update-alternatives for rpcinfo uninative: Upgrade to 2.9 bitbake: fetch2: Drop cups.org from wget status checks bitbake: siggen: clean_basepath: remove recipe full path when virtual:xyz present Documenation: Prepared for the 3.1.3 release package: get_package_mapping: avoid dependency mapping if renamed package provides original name linux-libc-headers: kernel headers are installed in STAGING_KERNEL_BUILDDIR json-glib: Backport a build fix with clang selftest/prservice: Improve test failure message devtool: deploy-target: Fix size calculation for hard links insane: improve gnu-hash-style warning insane: fix gnu-hash-style check oeqa: sdk: Capture stderr output util-linux: Allow update alternatives for additional apps recipes-kernel: linux-firmware add qcom-venus-{5.2,5.4} packages wic: misc: Add /bin to the list of searchpaths sysstat: fix installed-vs-shipped QA Issue in systemd sanity.conf: update BB_MIN_VERSION to 1.46.0 cml1: Move find_cfgs() helper to cml1.bbclass kernel-yocto: checksum all modifications to available kernel fragments directories devtool: expand SRC_URI when guessing recipe update mode package.bbclass: explode the RPROVIDES so we don't think the versions are provides linux-firmware: update 20200721 -> 20200817 linux-firmware: upgrade 20200619 -> 20200721 kernel.bbclass: run do_symlink_kernsrc before do_patch linux-yocto/5.4: update to v5.4.61 linux-yocto/5.4: update to v5.4.60 linux-yocto/5.4: update to v5.4.59 libubootenv: inherit uboot-config libubootenv: uprev to v0.3 multilib.conf: add u-boot to NON_MULTILIB_RECIPES conf/machine: set UBOOT_MACHINE for qemumips and qemumips64 bluez5: fix builds that require ell support bind: update to 9.11.22 ESV perf: backport a fix for confusing non-fatal error gpgme: fix multilib header conflict weston: add missing packageconfigs image_types_wic: Add ASSUME_PROVIDED to WICVARS package.bbclass: Sort shlib2 output for hash equivalency package_tar.bbclass: Sync to the other package_* classes oeqa/manual/bsp-hw.json : remove X_server_can_start_up_with_runlevel_5_boot test oeqa/manual/bsp-hw.json : remove shutdown_system test runqemu: Show an error for conflicting graphics options oeqa: runtime_tests: Extra GPG debugging runqemu: Check gtk or sdl option is passed together with gl or gl-es options. alsa-ucm-conf: use ${datadir} in do_install() alsa-topology-conf: use ${datadir} in do_install() libffi: fix multilib header conflict xserver-xorg: upgrade 1.20.7 -> 1.20.8 ghostscript: update to 9.52 linux-yocto/5.4: perf cs-etm: Move definition of 'traceid_list' global variable from header file linux-yocto/5.4: update to v5.4.58 selftest/tinfoil: Increase wait event timeout librsvg: Upgrade 2.40.20 -> 2.40.21 linux-yocto/5.4: update to v5.4.57 linux-yocto/5.4: update to v5.4.56 linux-yocto-rt/5.4: update to rt32 go: Upgrade to 1.14.7 go: update 1.14.4 -> 1.14.6 uninative: Handle PREMIRRORS generically oeqa: write @OETestTag content into json test reports for each case testimage: add an overall timeout setting allarch: Add missing allarch ttf-bitstream-vera ltp: make copyFrom scp command non-fatal kernel-devicetree: Fix intermittent build failures caused by DTB builds linux-yocto/5.4: update to v5.4.54 linux-yocto/5.4: fix perf build with binutils 2.35 linux-yocto/5.4: update to v5.4.53 libexif: update to 0.6.22 ruby: upgrade 2.7.0 -> 2.7.1 glib-2.0: update 2.62.5 to 2.62.6 glib-2.0: update 2.62.4 to 2.62.5 qemumips: Use 34Kf CPU emulation Revert "gtk-icon-cache.bbclass: add runtime dependency" glib-networking: upgrade 2.62.3 to 2.62.4 gnutls: Fix krb5 code license to GPLv2.1+ to match the LICENSE file. gnutls: upgrade 3.6.13 -> 3.6.14 bind: upgrade 9.11.19 -> 9.11.21 boost: backport fix to make async_pipes work with asio cogl-1.0: correct X11 dependencies cve-update: handle baseMetricV2 as optional checklayer: check layer in BBLAYERS before test initscripts: Fix populate-volatile.sh bug when file/dir exists initscripts: Fix various shellcheck warnings in populate-volatile.sh buildhistory: use pid for temporary txt file name gtk-immodules-cache.bbclass: fix post install scriptlet error busybox: make hwclock compatible with glibc 2.31 startup-notification: add time_t type mismatch patch from upstream image.bbclass: improve wording when image size exceeds the specified limit classes/package: Use HOST_OS for runtime dependencies classes/cmake: Fix host detection oeqa/qemurunner: Add priority/nice information for running processes linux-yocto-rt/5.4: fix mmdrop stress test issues linux-yocto/5.4: update to v5.4.51 openssl: openssl-bin requires openssl-conf to run linux-firmware: add ibt-20 package rpm: fix nativesdk's default var location wic/filemap: Fall back to standard copy when no way to get the block map wic/filemap: Drop the unused get_unmapped_ranges() wic/filemap: Drop the unused block_is_unmapped() bitbake: server/process: Account for xmlrpc connections bitbake: server/process: Fix UI first connection tracking
|
|
[prelink-cross] Reverted to previous commit and ONLY added the SPDX identifiers
Meh Mbeh Ida Delphine <idadelm@...>
Signed-off-by: Meh Mbeh Ida Delphine <idadelm@...>
--- src/arch-alpha.c | 4 ++++ src/arch-arm.c | 4 ++++ src/arch-cris.c | 4 ++++ src/arch-i386.c | 4 ++++ src/arch-ia64.c | 4 ++++ src/arch-mips.c | 4 ++++ src/arch-ppc.c | 4 ++++ src/arch-ppc64.c | 4 ++++ src/arch-s390.c | 4 ++++ src/arch-s390x.c | 4 ++++ src/arch-sh.c | 4 ++++ src/arch-sparc.c | 4 ++++ src/arch-sparc64.c | 4 ++++ src/arch-x86_64.c | 4 ++++ src/cache.c | 4 ++++ src/canonicalize.c | 4 ++++ src/checksum.c | 4 ++++ src/conflict.c | 4 ++++ src/crc32.c | 4 ++++ src/cxx.c | 4 ++++ src/data.c | 4 ++++ src/doit.c | 4 ++++ src/dso.c | 4 ++++ src/dwarf2.c | 4 ++++ src/dwarf2.h | 4 ++++ src/exec.c | 4 ++++ src/execle_open.c | 4 ++++ src/execstack.c | 4 ++++ src/fptr.c | 4 ++++ src/fptr.h | 4 ++++ src/gather.c | 4 ++++ src/get.c | 4 ++++ src/hashtab.c | 4 ++++ src/hashtab.h | 4 ++++ src/layout.c | 4 ++++ src/layout.h | 4 ++++ src/main.c | 4 ++++ src/md5.c | 4 ++++ src/md5.h | 4 ++++ src/mdebug.c | 4 ++++ src/prelink.c | 4 ++++ src/prelink.h | 4 ++++ src/prelinktab.h | 4 ++++ src/reloc-info.c | 4 ++++ src/reloc-info.h | 4 ++++ src/reloc.c | 4 ++++ src/reloc.h | 4 ++++ src/sha.c | 4 ++++ src/sha.h | 4 ++++ src/space.c | 4 ++++ src/space.h | 4 ++++ src/stabs.c | 4 ++++ src/undo.c | 4 ++++ src/undoall.c | 4 ++++ src/verify.c | 4 ++++ 55 files changed, 220 insertions(+) diff --git a/src/arch-alpha.c b/src/arch-alpha.c index 7802a3e..0448e7b 100644 --- a/src/arch-alpha.c +++ b/src/arch-alpha.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <assert.h> #include <errno.h> diff --git a/src/arch-arm.c b/src/arch-arm.c index eec7c57..2f52aa9 100644 --- a/src/arch-arm.c +++ b/src/arch-arm.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <assert.h> #include <errno.h> diff --git a/src/arch-cris.c b/src/arch-cris.c index 3272779..f8a0efc 100644 --- a/src/arch-cris.c +++ b/src/arch-cris.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <assert.h> #include <errno.h> diff --git a/src/arch-i386.c b/src/arch-i386.c index a1e0fcc..400c6e5 100644 --- a/src/arch-i386.c +++ b/src/arch-i386.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <assert.h> #include <errno.h> diff --git a/src/arch-ia64.c b/src/arch-ia64.c index 6039115..d3c7729 100644 --- a/src/arch-ia64.c +++ b/src/arch-ia64.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <assert.h> #include <errno.h> diff --git a/src/arch-mips.c b/src/arch-mips.c index 02c608f..293b15d 100644 --- a/src/arch-mips.c +++ b/src/arch-mips.c @@ -78,6 +78,10 @@ for type E would either be a no-op (if the GOT entry already contains st_value) or would lose the address of the lazy binding stub. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <assert.h> #include <errno.h> diff --git a/src/arch-ppc.c b/src/arch-ppc.c index e22e5d5..a96fedb 100644 --- a/src/arch-ppc.c +++ b/src/arch-ppc.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <assert.h> #include <errno.h> diff --git a/src/arch-ppc64.c b/src/arch-ppc64.c index a764b99..33c1eed 100644 --- a/src/arch-ppc64.c +++ b/src/arch-ppc64.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <assert.h> #include <errno.h> diff --git a/src/arch-s390.c b/src/arch-s390.c index e5fe130..a829063 100644 --- a/src/arch-s390.c +++ b/src/arch-s390.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <assert.h> #include <errno.h> diff --git a/src/arch-s390x.c b/src/arch-s390x.c index e4d82f7..630eb37 100644 --- a/src/arch-s390x.c +++ b/src/arch-s390x.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <assert.h> #include <errno.h> diff --git a/src/arch-sh.c b/src/arch-sh.c index 1b11312..e181e27 100644 --- a/src/arch-sh.c +++ b/src/arch-sh.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <assert.h> #include <errno.h> diff --git a/src/arch-sparc.c b/src/arch-sparc.c index e016a79..0649f40 100644 --- a/src/arch-sparc.c +++ b/src/arch-sparc.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <assert.h> #include <errno.h> diff --git a/src/arch-sparc64.c b/src/arch-sparc64.c index aee4601..691b57c 100644 --- a/src/arch-sparc64.c +++ b/src/arch-sparc64.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <assert.h> #include <errno.h> diff --git a/src/arch-x86_64.c b/src/arch-x86_64.c index 2f6c551..12123f8 100644 --- a/src/arch-x86_64.c +++ b/src/arch-x86_64.c @@ -17,6 +17,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <assert.h> #include <errno.h> diff --git a/src/cache.c b/src/cache.c index 1cc3217..9fa9056 100644 --- a/src/cache.c +++ b/src/cache.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <assert.h> #include <errno.h> diff --git a/src/canonicalize.c b/src/canonicalize.c index 79df44e..dc0e2d9 100644 --- a/src/canonicalize.c +++ b/src/canonicalize.c @@ -17,6 +17,10 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <assert.h> #include <stdlib.h> #include <string.h> diff --git a/src/checksum.c b/src/checksum.c index 20a23a0..0783588 100644 --- a/src/checksum.c +++ b/src/checksum.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <assert.h> #include <endian.h> diff --git a/src/conflict.c b/src/conflict.c index 5613ace..67fe6c1 100644 --- a/src/conflict.c +++ b/src/conflict.c @@ -17,6 +17,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <assert.h> #include <errno.h> diff --git a/src/crc32.c b/src/crc32.c index f36abb5..ba441c7 100644 --- a/src/crc32.c +++ b/src/crc32.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <stdint.h> #include <sys/types.h> diff --git a/src/cxx.c b/src/cxx.c index 4391ebe..b4ca1d5 100644 --- a/src/cxx.c +++ b/src/cxx.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <alloca.h> #include <assert.h> diff --git a/src/data.c b/src/data.c index 751f96f..ad92794 100644 --- a/src/data.c +++ b/src/data.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include "prelink.h" diff --git a/src/doit.c b/src/doit.c index 3784866..ec2a8d9 100644 --- a/src/doit.c +++ b/src/doit.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <alloca.h> #include <errno.h> diff --git a/src/dso.c b/src/dso.c index 949abf9..c7594b6 100644 --- a/src/dso.c +++ b/src/dso.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <assert.h> #include <errno.h> diff --git a/src/dwarf2.c b/src/dwarf2.c index b9588b1..46a06a4 100644 --- a/src/dwarf2.c +++ b/src/dwarf2.c @@ -16,6 +16,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <assert.h> #include <byteswap.h> diff --git a/src/dwarf2.h b/src/dwarf2.h index b0c80b6..d0f722e 100644 --- a/src/dwarf2.h +++ b/src/dwarf2.h @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #define DW_TAG_padding 0x00 #define DW_TAG_array_type 0x01 #define DW_TAG_class_type 0x02 diff --git a/src/exec.c b/src/exec.c index ca7fd14..59832c1 100644 --- a/src/exec.c +++ b/src/exec.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <assert.h> #include <errno.h> diff --git a/src/execle_open.c b/src/execle_open.c index 2ee5cbc..dac66ed 100644 --- a/src/execle_open.c +++ b/src/execle_open.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <errno.h> #include <error.h> diff --git a/src/execstack.c b/src/execstack.c index 97fb453..b281860 100644 --- a/src/execstack.c +++ b/src/execstack.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <errno.h> #include <fcntl.h> diff --git a/src/fptr.c b/src/fptr.c index cfe3aed..52e3306 100644 --- a/src/fptr.c +++ b/src/fptr.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <assert.h> #include <errno.h> diff --git a/src/fptr.h b/src/fptr.h index 36ef7c6..037f614 100644 --- a/src/fptr.h +++ b/src/fptr.h @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #ifndef FPTR_H #define FPTR_H diff --git a/src/gather.c b/src/gather.c index 277f1b5..da7cdc1 100644 --- a/src/gather.c +++ b/src/gather.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <assert.h> #include <errno.h> diff --git a/src/get.c b/src/get.c index 0659962..4171bd6 100644 --- a/src/get.c +++ b/src/get.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <assert.h> #include <errno.h> diff --git a/src/hashtab.c b/src/hashtab.c index fa27446..d5c4786 100644 --- a/src/hashtab.c +++ b/src/hashtab.c @@ -31,6 +31,10 @@ Boston, MA 02111-1307, USA. */ expanded by creation of new hash table and transferring elements from the old table to the new table. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <sys/types.h> #include <stdlib.h> diff --git a/src/hashtab.h b/src/hashtab.h index 31e63e0..f9ccfb4 100644 --- a/src/hashtab.h +++ b/src/hashtab.h @@ -29,6 +29,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ expanded by creation of new hash table and transferring elements from the old table to the new table. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #ifndef __HASHTAB_H__ #define __HASHTAB_H__ diff --git a/src/layout.c b/src/layout.c index 859ab66..a96a5f4 100644 --- a/src/layout.c +++ b/src/layout.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <alloca.h> #include <errno.h> diff --git a/src/layout.h b/src/layout.h index f481d22..9e37947 100644 --- a/src/layout.h +++ b/src/layout.h @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #ifndef LAYOUT_H #define LAYOUT_H diff --git a/src/main.c b/src/main.c index 6ba89d5..680e04a 100644 --- a/src/main.c +++ b/src/main.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <errno.h> #include <fcntl.h> diff --git a/src/md5.c b/src/md5.c index 0d2fdef..8ca8ad3 100644 --- a/src/md5.c +++ b/src/md5.c @@ -20,6 +20,10 @@ /* Written by Ulrich Drepper <drepper@...>, 1995. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <sys/types.h> #include <stdlib.h> #include <string.h> diff --git a/src/md5.h b/src/md5.h index 55f6195..be8f9e3 100644 --- a/src/md5.h +++ b/src/md5.h @@ -18,6 +18,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #ifndef _MD5_H #define _MD5_H 1 diff --git a/src/mdebug.c b/src/mdebug.c index 4c22d2f..33b5c66 100644 --- a/src/mdebug.c +++ b/src/mdebug.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <assert.h> #include <byteswap.h> diff --git a/src/prelink.c b/src/prelink.c index 64c4fea..dcae3bb 100644 --- a/src/prelink.c +++ b/src/prelink.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <assert.h> #include <endian.h> diff --git a/src/prelink.h b/src/prelink.h index 39c4390..b7abcb5 100644 --- a/src/prelink.h +++ b/src/prelink.h @@ -18,6 +18,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #ifndef PRELINK_H #define PRELINK_H diff --git a/src/prelinktab.h b/src/prelinktab.h index f41c79c..41bf3ec 100644 --- a/src/prelinktab.h +++ b/src/prelinktab.h @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #ifndef PRELINKTAB_H #define PRELINKTAB_H diff --git a/src/reloc-info.c b/src/reloc-info.c index 4ce333c..47ec22f 100644 --- a/src/reloc-info.c +++ b/src/reloc-info.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include "prelink.h" diff --git a/src/reloc-info.h b/src/reloc-info.h index a8f8b7c..3144976 100644 --- a/src/reloc-info.h +++ b/src/reloc-info.h @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #ifndef RELOC_INFO_H #define RELOC_INFO_H diff --git a/src/reloc.c b/src/reloc.c index deb0abe..3ebc038 100644 --- a/src/reloc.c +++ b/src/reloc.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <assert.h> #include <errno.h> diff --git a/src/reloc.h b/src/reloc.h index a2ceff9..5eec023 100644 --- a/src/reloc.h +++ b/src/reloc.h @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #ifndef RELOC_H #define RELOC_H diff --git a/src/sha.c b/src/sha.c index cfbc956..38e520c 100644 --- a/src/sha.c +++ b/src/sha.c @@ -8,6 +8,10 @@ NOTE: The canonical source of this file is maintained in GNU coreutils. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <sys/types.h> #include <stdlib.h> #include <string.h> diff --git a/src/sha.h b/src/sha.h index 13583e3..055b4a4 100644 --- a/src/sha.h +++ b/src/sha.h @@ -4,6 +4,10 @@ Copyright (C) 1999, Scott G. Miller */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #ifndef _SHA_H # define _SHA_H 1 diff --git a/src/space.c b/src/space.c index 4bd4760..d732bd5 100644 --- a/src/space.c +++ b/src/space.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <assert.h> #include <errno.h> diff --git a/src/space.h b/src/space.h index 5c9f725..77f2ba3 100644 --- a/src/space.h +++ b/src/space.h @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #ifndef SPACE_H #define SPACE_H diff --git a/src/stabs.c b/src/stabs.c index c0a5a6a..28ee0bd 100644 --- a/src/stabs.c +++ b/src/stabs.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <assert.h> #include <byteswap.h> diff --git a/src/undo.c b/src/undo.c index 4c38dab..5df2e1c 100644 --- a/src/undo.c +++ b/src/undo.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <assert.h> #include <endian.h> diff --git a/src/undoall.c b/src/undoall.c index 55d2a0b..7896577 100644 --- a/src/undoall.c +++ b/src/undoall.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <alloca.h> #include <errno.h> diff --git a/src/verify.c b/src/verify.c index 7f530c0..92f12d3 100644 --- a/src/verify.c +++ b/src/verify.c @@ -15,6 +15,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ + #include <config.h> #include <assert.h> #include <endian.h> -- 2.17.1
|
|
[SUMO] NPM package recipe Javascript heap out of memory
Bel Hadj Salem Talel <bhstalel@...>
Hi All,
I created a recipe that builds an NPM package, it worked well on the Zeus branch , but in another environment using Sumo branch this error occurred : Log data follows | DEBUG: Executing shell function do_compile | npm WARN @ant-design/icons-react@2.0.1 requires a peer of @ant-design/icons@^2.0.0 but none is installed. You must install peer dependencies yourself. | npm WARN connected-react-router@6.6.1 requires a peer of react-redux@^6.0.0 || ^7.1.0 but none is installed. You must install peer dependencies yourself. | npm WARN draftjs-utils@0.10.2 requires a peer of draft-js@^0.11.x but none is installed. You must install peer dependencies yourself. | npm WARN jsdom@....1 requires a peer of canvas@^2.5.0 but none is installed. You must install peer dependencies yourself. | npm WARN react-google-maps@9.4.5 requires a peer of @types/googlemaps@^3.0.0 but none is installed. You must install peer dependencies yourself. | npm WARN react-google-maps@9.4.5 requires a peer of @types/markerclustererplus@^2.1.29 but none is installed. You must install peer dependencies yourself. | npm WARN react-instantsearch-native@5.7.0 requires a peer of react-native@>= 0.32.0 but none is installed. You must install peer dependencies yourself. | npm WARN slick-carousel@1.8.1 requires a peer of jquery@>=1.8.0 but none is installed. You must install peer dependencies yourself. | npm WARN ws@7.2.1 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself. | npm WARN ws@7.2.1 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself. | npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents): | npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) | npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules/chokidar/node_modules/fsevents): | npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) | | up to date in 12.739s | | > Sense@1.5.0 build /media/raach/abd909e5-d129-4759-ab4a-6a467a044bc5/imx-sumo/imx8/tmp/work/aarch64-poky-linux/sense-web/1.1.6-r0/git | > react-app-rewired build | | Creating an optimized production build... | Browserslist: caniuse-lite is outdated. Please run next command `npm update` | | <--- Last few GCs ---> | | [26063:0x3639a50]   63259 ms: Mark-sweep 1404.3 (1487.5) -> 1404.4 (1487.5) MB, 686.5 / 0.0 ms allocation failure GC in old space requested | [26063:0x3639a50]   63966 ms: Mark-sweep 1404.4 (1487.5) -> 1404.3 (1459.5) MB, 707.1 / 0.0 ms last resort GC in old space requested | [26063:0x3639a50]   64673 ms: Mark-sweep 1404.3 (1459.5) -> 1404.3 (1459.5) MB, 705.9 / 0.0 ms last resort GC in old space requested | | | <--- JS stacktrace ---> | | ==== JS stack trace ========================================= | | Security context: 0x1e195c298ed1 <JSObject> |    1: push(this=0x29586960fcc1 <JSArray[386408]>) |    2: /* anonymous */(aka /* anonymous */) [/media/raach/abd909e5-d129-4759-ab4a-6a467a044bc5/imx-sumo/imx8/tmp/work/aarch64-poky-linux/sense-web/1.1.6-r0/git/node_modules/webpack-sources/lib/applySourceMap.js:~58] [pc=0x1edb749f50fe](this=0x1e195c282241 <undefined>,chunk=0x245a6ac85169 <String[2]: e}>,middleMapping=0x7288a626e89 <Object map = ... | | FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory | 1: node::Abort() [node] | 2: 0xf3343c [node] | 3: v8::Utils::ReportOOMFailure(char const*, bool) [node] | 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node] | 5: v8::internal::Factory::NewUninitializedFixedArray(int) [node] | 6: 0xb34a3b [node] | 7: 0xb34c65 [node] | 8: v8::internal::JSObject::AddDataElement(v8::internal::Handle<v8::internal::JSObject>, unsigned int, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::internal::Object::ShouldThrow) [node] | 9: v8::internal::Object::AddDataProperty(v8::internal::LookupIterator*, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::internal::Object::ShouldThrow, v8::internal::Object::StoreFromKeyed) [node] | 10: v8::internal::Object::SetProperty(v8::internal::LookupIterator*, v8::internal::Handle<v8::internal::Object>, v8::internal::LanguageMode, v8::internal::Object::StoreFromKeyed) [node] | 11: v8::internal::Runtime::SetObjectProperty(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, v8::internal::LanguageMode) [node] | 12: v8::internal::Runtime_SetProperty(int, v8::internal::Object**, v8::internal::Isolate*) [node] | 13: 0x1edb73f840bd | npm ERR! code ELIFECYCLE | npm ERR! errno 1 | npm ERR! Sense@1.5.0 build: `react-app-rewired build` | npm ERR! Exit status 1 | npm ERR! | npm ERR! Failed at the Sense@1.5.0 build script. | npm ERR! This is probably not a problem with npm. There is likely additional logging output above. I compared the nodejs-native recipes versions , for sumo it's 8.9.4-r0 , and in Zeus it's 10.16.3-r0 Here is my recipe: BRANCH = "master"
PROTOCOL = "http"
SRC_URI += "git://gitlab.tools.sofia.local/sofia/sense/sense_frontend.git;protocol=${PROTOCOL};branch=${BRANCH}"
SRCREV = "${AUTOREV}"
# Set the working directory to S variable
S = "${WORKDIR}/git"
# Add nodejs-native in real time compilation dependencies
# Cuz we will use "npm" command in do_compile
DEPENDS += "nodejs-native"
NPM_CACHE = "${S}/npm_cache"
# Nothing to configure
do_configure(){
}
# Build the web application
do_compile(){
# Export the HOME directory to "S"
export HOME=${S}
# Set npm cache
npm set cache ${NPM_CACHE}
# Make sure cache is clear for each compilation
npm cache clear --force
# Compile and Install
npm install
npm run-script build
# Clear cache again after compilation
npm cache clear --force
}
# Define the /var/www/localhost/html directory
WWW_DIR = "${localstatedir}/www/localhost/"
WWW_USR = "www"
WWW_GRP = "www-data"
SENSE_WEB_DIR = "${D}${WWW_DIR}/html"
# Install the web application into /var/www/localhost/html
do_install(){
# Create the web directory
install -d ${SENSE_WEB_DIR}
# Install the web app build
cp -r ${S}/build/* ${SENSE_WEB_DIR}
# Give right permissions
chown -R ${WWW_USR}:${WWW_GRP} ${D}${WWW_DIR}/
}
# Add <www> user
inherit useradd
USERADD_PACKAGES = "${PN}"
USERADD_PARAM_${PN} = "\
--system --no-create-home \
--home ${WWW_DIR} \
--groups www-data \
--user-group ${WWW_USR}"
Is it a problem with old nodejs version ? Any ideas? Thanks, Talel
|
|
Re: [prelink-cross] Added SPDX license headers to all .c and .h source files
On Thu, 8 Oct 2020 at 13:12, Paul Barker <pbarker@...> wrote:
Also, I think Mark's email address needs updating in the README as I got a bounce sending this reply. Mark, could you confirm? -- Paul Barker Konsulko Group
|
|
Re: [prelink-cross] Added SPDX license headers to all .c and .h source files
On Thu, 8 Oct 2020 at 13:04, Meh Mbeh Ida Delphine <idadelm@...> wrote:
It looks like you've removed an important comment there along with the old license header. I think there are a few other instances of this as well. Could you re-check this?
-- Paul Barker Konsulko Group
|
|
[prelink-cross] Added SPDX license headers to all .c and .h source files
Meh Mbeh Ida Delphine <idadelm@...>
Signed-off-by: Meh Mbeh Ida Delphine <idadelm@...>
--- src/arch-alpha.c | 15 ++------- src/arch-arm.c | 15 ++------- src/arch-cris.c | 15 ++------- src/arch-i386.c | 15 ++------- src/arch-ia64.c | 15 ++------- src/arch-mips.c | 77 ++-------------------------------------------- src/arch-ppc.c | 15 ++------- src/arch-ppc64.c | 15 ++------- src/arch-s390.c | 15 ++------- src/arch-s390x.c | 15 ++------- src/arch-sh.c | 15 ++------- src/arch-sparc.c | 15 ++------- src/arch-sparc64.c | 15 ++------- src/arch-x86_64.c | 15 ++------- src/cache.c | 15 ++------- src/canonicalize.c | 16 ++-------- src/checksum.c | 15 ++------- src/conflict.c | 15 ++------- src/crc32.c | 15 ++------- src/cxx.c | 15 ++------- src/data.c | 15 ++------- src/doit.c | 15 ++------- src/dso.c | 15 ++------- src/dwarf2.c | 15 ++------- src/dwarf2.h | 15 ++------- src/exec.c | 15 ++------- src/execle_open.c | 15 ++------- src/execstack.c | 15 ++------- src/fptr.c | 15 ++------- src/fptr.h | 15 ++------- src/gather.c | 15 ++------- src/get.c | 15 ++------- src/hashtab.c | 30 ++---------------- src/hashtab.h | 28 ++--------------- src/layout.c | 15 ++------- src/layout.h | 15 ++------- src/main.c | 15 ++------- src/md5.c | 15 ++------- src/md5.h | 15 ++------- src/mdebug.c | 15 ++------- src/prelink.c | 15 ++------- src/prelink.h | 15 ++------- src/prelinktab.h | 15 ++------- src/reloc-info.c | 15 ++------- src/reloc-info.h | 15 ++------- src/reloc.c | 15 ++------- src/reloc.h | 15 ++------- src/sha.c | 2 ++ src/sha.h | 2 ++ src/space.c | 15 ++------- src/space.h | 15 ++------- src/stabs.c | 15 ++------- src/undo.c | 15 ++------- src/undoall.c | 15 ++------- src/verify.c | 15 ++------- 55 files changed, 110 insertions(+), 780 deletions(-) diff --git a/src/arch-alpha.c b/src/arch-alpha.c index 7802a3e..bc5c192 100644 --- a/src/arch-alpha.c +++ b/src/arch-alpha.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-arm.c b/src/arch-arm.c index eec7c57..b5ea886 100644 --- a/src/arch-arm.c +++ b/src/arch-arm.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2004, 2009, 2011, 2013 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-cris.c b/src/arch-cris.c index 3272779..634bf9f 100644 --- a/src/arch-cris.c +++ b/src/arch-cris.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-i386.c b/src/arch-i386.c index a1e0fcc..5a0b2ca 100644 --- a/src/arch-i386.c +++ b/src/arch-i386.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2009, 2011 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-ia64.c b/src/arch-ia64.c index 6039115..56196de 100644 --- a/src/arch-ia64.c +++ b/src/arch-ia64.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-mips.c b/src/arch-mips.c index 02c608f..d0e69d4 100644 --- a/src/arch-mips.c +++ b/src/arch-mips.c @@ -2,81 +2,8 @@ Written by Richard Sandiford <richard@...>, 2006 Updated by Maciej W. Rozycki <macro@...>, 2008. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - -/* GENERAL NOTES - - The psABI defines R_MIPS_REL32 as A - EA + S, where the value of EA - depends on the symbol index. If the index is less than DT_MIPS_GOTSYM, - EA is the symbol's st_value "plus displacement". If the index is greater - than or equal to DT_MIPS_GOTSYM, EA is the original value of the - associated GOT entry. - - However, glibc's dynamic linker implements a different definition. - If the index is less than DT_MIPS_GOTSYM, the dynamic linker adds the - symbol's st_value and the base address to the addend. If the index - is greater than or equal to DT_MIPS_GOTSYM, the dynamic linker adds - the final symbol value to the addend. - - MIPS GOTs are divided into three parts: - - - Reserved entries (of which GNU objects have 2) - - Local entries - - Global entries - - DT_MIPS_LOCAL_GOTNO gives the total number of reserved and local - entries. The local entries all hold virtual addresses and the - dynamic linker will add the base address to each one. - - Unlike most other architectures, the MIPS ABI does not use - relocations to initialize the global GOT entries. Instead, global - GOT entry X is mapped to dynamic symbol DT_MIPS_GOTSYM + X, and there - are a total of DT_MIPS_SYMTABNO - DT_MIPS_GOTSYM global GOT entries. - - The interpretation of a global GOT entry depends on the symbol entry - and the initial GOT contents. The psABI lists the following cases: - - st_shndx st_type st_value initial GOT value - -------- ------- -------- ----------------- - A: SHN_UNDEF STT_FUNC 0 st_value (== 0) / QS - B: SHN_UNDEF STT_FUNC stub address st_value / QS - C: SHN_UNDEF all others 0 st_value (== 0) / QS - D: SHN_COMMON any alignment 0 / QS - E: all others STT_FUNC value st_value / stub address - F: all others all others value st_value - - (wording slightly modified from the psABI table). Here, QS denotes - Quickstart values. - - The dynamic linker treats each case as follows: - - - [A, B when not binding lazily, C, D, E when not binding lazily, F] - Resolve the symbol and store its value in the GOT. - - - [B when binding lazily] Set the GOT entry to the st_value plus - the base address. - - - [E when binding lazily] If the GOT entry is different from the st_value, - add the base addreess to the GOT entry. Otherwise resolve the symbol - and store its value in the GOT (as for A, C, etc). - - As the table shows, we can install Quickstart values for types A-D. - Installing Quickstart values for type F should be a no-op, because the - GOT should already hold the desired value. Installing Quickstart values - for type E would either be a no-op (if the GOT entry already contains - st_value) or would lose the address of the lazy binding stub. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-ppc.c b/src/arch-ppc.c index e22e5d5..e296d79 100644 --- a/src/arch-ppc.c +++ b/src/arch-ppc.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2009, 2011 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-ppc64.c b/src/arch-ppc64.c index a764b99..3f2c375 100644 --- a/src/arch-ppc64.c +++ b/src/arch-ppc64.c @@ -1,19 +1,8 @@ /* Copyright (C) 2002, 2003, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2002. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-s390.c b/src/arch-s390.c index e5fe130..1a65f5c 100644 --- a/src/arch-s390.c +++ b/src/arch-s390.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2009, 2010, 2013 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-s390x.c b/src/arch-s390x.c index e4d82f7..926cfa2 100644 --- a/src/arch-s390x.c +++ b/src/arch-s390x.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2009, 2013 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-sh.c b/src/arch-sh.c index 1b11312..a852266 100644 --- a/src/arch-sh.c +++ b/src/arch-sh.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-sparc.c b/src/arch-sparc.c index e016a79..d841a28 100644 --- a/src/arch-sparc.c +++ b/src/arch-sparc.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-sparc64.c b/src/arch-sparc64.c index aee4601..c6a1027 100644 --- a/src/arch-sparc64.c +++ b/src/arch-sparc64.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2004, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/arch-x86_64.c b/src/arch-x86_64.c index 2f6c551..249661a 100644 --- a/src/arch-x86_64.c +++ b/src/arch-x86_64.c @@ -3,19 +3,8 @@ Copyright (C) 2011 Wind River Systems, Inc. x32 support by Mark Hatle <mark.hatle@...> - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/cache.c b/src/cache.c index 1cc3217..b476581 100644 --- a/src/cache.c +++ b/src/cache.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2006, 2013 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/canonicalize.c b/src/canonicalize.c index 79df44e..e94ec06 100644 --- a/src/canonicalize.c +++ b/src/canonicalize.c @@ -2,20 +2,8 @@ Copyright (C) 1996-2002, 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of the GNU C Library. - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library 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 - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <assert.h> #include <stdlib.h> diff --git a/src/checksum.c b/src/checksum.c index 20a23a0..5c80fc5 100644 --- a/src/checksum.c +++ b/src/checksum.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/conflict.c b/src/conflict.c index 5613ace..83713c5 100644 --- a/src/conflict.c +++ b/src/conflict.c @@ -3,19 +3,8 @@ Written by Jakub Jelinek <jakub@...>, 2001. Updated by Maciej W. Rozycki <macro@...>, 2008. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/crc32.c b/src/crc32.c index f36abb5..81e990b 100644 --- a/src/crc32.c +++ b/src/crc32.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <stdint.h> diff --git a/src/cxx.c b/src/cxx.c index 4391ebe..4b911a9 100644 --- a/src/cxx.c +++ b/src/cxx.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2007, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <alloca.h> diff --git a/src/data.c b/src/data.c index 751f96f..d648744 100644 --- a/src/data.c +++ b/src/data.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include "prelink.h" diff --git a/src/doit.c b/src/doit.c index 3784866..42e6819 100644 --- a/src/doit.c +++ b/src/doit.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2003, 2004, 2005, 2007 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <alloca.h> diff --git a/src/dso.c b/src/dso.c index 949abf9..9cce846 100644 --- a/src/dso.c +++ b/src/dso.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2010 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/dwarf2.c b/src/dwarf2.c index b9588b1..d230bb7 100644 --- a/src/dwarf2.c +++ b/src/dwarf2.c @@ -2,19 +2,8 @@ Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/dwarf2.h b/src/dwarf2.h index b0c80b6..888f2c7 100644 --- a/src/dwarf2.h +++ b/src/dwarf2.h @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2009, 2010, 2011, 2012 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #define DW_TAG_padding 0x00 #define DW_TAG_array_type 0x01 diff --git a/src/exec.c b/src/exec.c index ca7fd14..431690e 100644 --- a/src/exec.c +++ b/src/exec.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/execle_open.c b/src/execle_open.c index 2ee5cbc..0d4bef5 100644 --- a/src/execle_open.c +++ b/src/execle_open.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <errno.h> diff --git a/src/execstack.c b/src/execstack.c index 97fb453..fe044c5 100644 --- a/src/execstack.c +++ b/src/execstack.c @@ -1,19 +1,8 @@ /* Copyright (C) 2003, 2005, 2010 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2003. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <errno.h> diff --git a/src/fptr.c b/src/fptr.c index cfe3aed..65a2804 100644 --- a/src/fptr.c +++ b/src/fptr.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2007 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/fptr.h b/src/fptr.h index 36ef7c6..c4ce3f7 100644 --- a/src/fptr.h +++ b/src/fptr.h @@ -1,19 +1,8 @@ /* Copyright (C) 2001 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef FPTR_H #define FPTR_H diff --git a/src/gather.c b/src/gather.c index 277f1b5..0e6876b 100644 --- a/src/gather.c +++ b/src/gather.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*// #include <config.h> #include <assert.h> diff --git a/src/get.c b/src/get.c index 0659962..bb58b1e 100644 --- a/src/get.c +++ b/src/get.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/hashtab.c b/src/hashtab.c index fa27446..99a656d 100644 --- a/src/hashtab.c +++ b/src/hashtab.c @@ -2,34 +2,8 @@ Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. Contributed by Vladimir Makarov (vmakarov@...). -This file is part of the libiberty library. -Libiberty is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -Libiberty 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 -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with libiberty; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -/* This package implements basic hash table functionality. It is possible - to search for an entry, create an entry and destroy an entry. - - Elements in the table are generic pointers. - - The size of the table is not fixed; if the occupancy of the table - grows too high the hash table will be expanded. - - The abstract data implementation is based on generalized Algorithm D - from Knuth's book "The art of computer programming". Hash table is - expanded by creation of new hash table and transferring elements from - the old table to the new table. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <sys/types.h> diff --git a/src/hashtab.h b/src/hashtab.h index 31e63e0..dfbe410 100644 --- a/src/hashtab.h +++ b/src/hashtab.h @@ -2,32 +2,8 @@ Copyright (C) 1999, 2000 Free Software Foundation, Inc. Contributed by Vladimir Makarov (vmakarov@...). -This program 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 2 of the License, or -(at your option) any later version. - -This program 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 this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - -/* This package implements basic hash table functionality. It is possible - to search for an entry, create an entry and destroy an entry. - - Elements in the table are generic pointers. - - The size of the table is not fixed; if the occupancy of the table - grows too high the hash table will be expanded. - - The abstract data implementation is based on generalized Algorithm D - from Knuth's book "The art of computer programming". Hash table is - expanded by creation of new hash table and transferring elements from - the old table to the new table. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef __HASHTAB_H__ #define __HASHTAB_H__ diff --git a/src/layout.c b/src/layout.c index 859ab66..29be7a3 100644 --- a/src/layout.c +++ b/src/layout.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2006, 2011 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <alloca.h> diff --git a/src/layout.h b/src/layout.h index f481d22..1b10bc0 100644 --- a/src/layout.h +++ b/src/layout.h @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2004, 2006 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef LAYOUT_H #define LAYOUT_H diff --git a/src/main.c b/src/main.c index 6ba89d5..39e44ad 100644 --- a/src/main.c +++ b/src/main.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2010, 2011 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <errno.h> diff --git a/src/md5.c b/src/md5.c index 0d2fdef..f465bfd 100644 --- a/src/md5.c +++ b/src/md5.c @@ -4,19 +4,8 @@ NOTE: The canonical source of this file is maintained with the GNU C Library. Bugs can be reported to bug-glibc@.... - This program 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 2, or (at your option) any - later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ /* Written by Ulrich Drepper <drepper@...>, 1995. */ diff --git a/src/md5.h b/src/md5.h index 55f6195..eb0b85e 100644 --- a/src/md5.h +++ b/src/md5.h @@ -4,19 +4,8 @@ NOTE: The canonical source of this file is maintained with the GNU C Library. Bugs can be reported to bug-glibc@.... - This program 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 2, or (at your option) any - later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _MD5_H #define _MD5_H 1 diff --git a/src/mdebug.c b/src/mdebug.c index 4c22d2f..eb6d1b5 100644 --- a/src/mdebug.c +++ b/src/mdebug.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/prelink.c b/src/prelink.c index 64c4fea..bf774c9 100644 --- a/src/prelink.c +++ b/src/prelink.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/prelink.h b/src/prelink.h index 39c4390..4c4c243 100644 --- a/src/prelink.h +++ b/src/prelink.h @@ -4,19 +4,8 @@ Written by Jakub Jelinek <jakub@...>, 2001. Updated by Maciej W. Rozycki <macro@...>, 2008. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef PRELINK_H #define PRELINK_H diff --git a/src/prelinktab.h b/src/prelinktab.h index f41c79c..a404292 100644 --- a/src/prelinktab.h +++ b/src/prelinktab.h @@ -1,19 +1,8 @@ /* Copyright (C) 2001 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef PRELINKTAB_H #define PRELINKTAB_H diff --git a/src/reloc-info.c b/src/reloc-info.c index 4ce333c..d51cfc1 100644 --- a/src/reloc-info.c +++ b/src/reloc-info.c @@ -1,19 +1,8 @@ /* Copyright (C) 2008 CodeSourcery Written by Maciej W. Rozycki <macro@...>, 2008. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> diff --git a/src/reloc-info.h b/src/reloc-info.h index a8f8b7c..592a92c 100644 --- a/src/reloc-info.h +++ b/src/reloc-info.h @@ -1,19 +1,8 @@ /* Copyright (C) 2008 CodeSourcery Written by Maciej W. Rozycki <macro@...>, 2008. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef RELOC_INFO_H #define RELOC_INFO_H diff --git a/src/reloc.c b/src/reloc.c index deb0abe..9883dc7 100644 --- a/src/reloc.c +++ b/src/reloc.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2005 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/reloc.h b/src/reloc.h index a2ceff9..ee91f7e 100644 --- a/src/reloc.h +++ b/src/reloc.h @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef RELOC_H #define RELOC_H diff --git a/src/sha.c b/src/sha.c index cfbc956..fb31a9e 100644 --- a/src/sha.c +++ b/src/sha.c @@ -6,6 +6,8 @@ Credits: Robert Klep <robert@...> -- Expansion function fix NOTE: The canonical source of this file is maintained in GNU coreutils. + +* SPDX-License-Identifier: GPL-2.0-or-later */ #include <sys/types.h> diff --git a/src/sha.h b/src/sha.h index 13583e3..b101b1f 100644 --- a/src/sha.h +++ b/src/sha.h @@ -2,6 +2,8 @@ library functions. Copyright (C) 1999, Scott G. Miller + +* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _SHA_H diff --git a/src/space.c b/src/space.c index 4bd4760..8223daf 100644 --- a/src/space.c +++ b/src/space.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2004, 2006, 2007 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/space.h b/src/space.h index 5c9f725..59d087c 100644 --- a/src/space.h +++ b/src/space.h @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2004 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef SPACE_H #define SPACE_H diff --git a/src/stabs.c b/src/stabs.c index c0a5a6a..fd0ca28 100644 --- a/src/stabs.c +++ b/src/stabs.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2005, 2006 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/undo.c b/src/undo.c index 4c38dab..e6cfae3 100644 --- a/src/undo.c +++ b/src/undo.c @@ -1,19 +1,8 @@ /* Copyright (C) 2001, 2002, 2003, 2005, 2010 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2001. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> diff --git a/src/undoall.c b/src/undoall.c index 55d2a0b..44a0b4e 100644 --- a/src/undoall.c +++ b/src/undoall.c @@ -1,19 +1,8 @@ /* Copyright (C) 2002, 2005 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2002. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <alloca.h> diff --git a/src/verify.c b/src/verify.c index 7f530c0..991794a 100644 --- a/src/verify.c +++ b/src/verify.c @@ -1,19 +1,8 @@ /* Copyright (C) 2002, 2003, 2006, 2007, 2010 Red Hat, Inc. Written by Jakub Jelinek <jakub@...>, 2002. - This program 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 2, or (at your option) - any later version. - - This program 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 this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <config.h> #include <assert.h> -- 2.17.1
|
|
Re: Only index.html is cloned in private repo clone recipe
#yocto
Bel Hadj Salem Talel <bhstalel@...>
Thanks for the support, And now everything is fetched and then unpacked into ${S}/git correctly. Thanks, Talel
|
|