Skip to contentSkip to conversation

Added SPDX license headers to all .c and .h source files

prelink-cross Meh Mbeh Ida Delphine 3 participants 4 messages Oct 8, 2020 – Oct 9, 2020

lore
Share & tools
lore
#0 lore raw
---
 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(-)
src/arch-alpha.c +2 -13
index 7802a3e..bc5c192 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2009 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/arch-arm.c +2 -13
index eec7c57..b5ea886 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2004, 2009, 2011, 2013 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/arch-cris.c +2 -13
index 3272779..634bf9f 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2004, 2009 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/arch-i386.c +2 -13
index a1e0fcc..5a0b2ca 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2009, 2011 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/arch-ia64.c +2 -13
index 6039115..56196de 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2009 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/arch-mips.c +2 -75

83 lines not on this page · raw message

src/arch-ppc.c +2 -13
index e22e5d5..e296d79 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2009, 2011 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/arch-ppc64.c +2 -13
index a764b99..3f2c375 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2002, 2003, 2004, 2009 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/arch-s390.c +2 -13
index e5fe130..1a65f5c 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2009, 2010, 2013 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/arch-s390x.c +2 -13
index e4d82f7..926cfa2 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2009, 2013 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/arch-sh.c +2 -13
index 1b11312..a852266 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2009 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/arch-sparc.c +2 -13
index e016a79..d841a28 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2004, 2009 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/arch-sparc64.c +2 -13
index aee4601..c6a1027 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2004, 2009 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/arch-x86_64.c +2 -13
index 2f6c551..249661a 100644
@@ -3,19 +3,8 @@
    Copyright (C) 2011 Wind River Systems, Inc.
    x32 support by Mark Hatle <[email protected]>
 
-   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>
src/cache.c +2 -13
index 1cc3217..b476581 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2006, 2013 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/canonicalize.c +2 -14
index 79df44e..e94ec06 100644
@@ -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>
src/checksum.c +2 -13
index 20a23a0..5c80fc5 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/conflict.c +2 -13
index 5613ace..83713c5 100644
@@ -3,19 +3,8 @@
    Written by Jakub Jelinek <[email protected]>, 2001.
    Updated by Maciej W. Rozycki <[email protected]>, 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>
src/crc32.c +2 -13
index f36abb5..81e990b 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/cxx.c +2 -13
index 4391ebe..4b911a9 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2007, 2009 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/data.c +2 -13
index 751f96f..d648744 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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"
src/doit.c +2 -13
index 3784866..42e6819 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2003, 2004, 2005, 2007 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/dso.c +2 -13
index 949abf9..9cce846 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2010 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/dwarf2.c +2 -13
index b9588b1..d230bb7 100644
@@ -2,19 +2,8 @@
    Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/dwarf2.h +2 -13
index b0c80b6..888f2c7 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2009, 2010, 2011, 2012 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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
src/exec.c +2 -13
index ca7fd14..431690e 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/execle_open.c +2 -13
index 2ee5cbc..0d4bef5 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/execstack.c +2 -13
index 97fb453..fe044c5 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2003, 2005, 2010 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/fptr.c +2 -13
index cfe3aed..65a2804 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2007 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/fptr.h +2 -13
index 36ef7c6..c4ce3f7 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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
src/gather.c +2 -13
index 277f1b5..0e6876b 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/get.c +2 -13
index 0659962..bb58b1e 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2009 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/hashtab.c +2 -28
index fa27446..99a656d 100644
@@ -2,34 +2,8 @@
    Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
    Contributed by Vladimir Makarov ([email protected]).
 
-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>
src/hashtab.h +2 -26
index 31e63e0..dfbe410 100644
@@ -2,32 +2,8 @@
    Copyright (C) 1999, 2000 Free Software Foundation, Inc.
    Contributed by Vladimir Makarov ([email protected]).
 
-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__
src/layout.c +2 -13
index 859ab66..29be7a3 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2006, 2011 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/layout.h +2 -13
index f481d22..1b10bc0 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2004, 2006 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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
src/main.c +2 -13
index 6ba89d5..39e44ad 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2010, 2011 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/md5.c +2 -13
index 0d2fdef..f465bfd 100644
@@ -4,19 +4,8 @@
    NOTE: The canonical source of this file is maintained with the GNU C
    Library.  Bugs can be reported to [email protected].
 
-   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 <[email protected]>, 1995.  */
 
src/md5.h +2 -13
index 55f6195..eb0b85e 100644
@@ -4,19 +4,8 @@
    NOTE: The canonical source of this file is maintained with the GNU C
    Library.  Bugs can be reported to [email protected].
 
-   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
src/mdebug.c +2 -13
index 4c22d2f..eb6d1b5 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/prelink.c +2 -13
index 64c4fea..bf774c9 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/prelink.h +2 -13
index 39c4390..4c4c243 100644
@@ -4,19 +4,8 @@
    Written by Jakub Jelinek <[email protected]>, 2001.
    Updated by Maciej W. Rozycki <[email protected]>, 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
src/prelinktab.h +2 -13
index f41c79c..a404292 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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
src/reloc-info.c +2 -13
index 4ce333c..d51cfc1 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2008 CodeSourcery
    Written by Maciej W. Rozycki <[email protected]>, 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>
 
src/reloc-info.h +2 -13
index a8f8b7c..592a92c 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2008 CodeSourcery
    Written by Maciej W. Rozycki <[email protected]>, 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
src/reloc.c +2 -13
index deb0abe..9883dc7 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2005 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/reloc.h +2 -13
index a2ceff9..ee91f7e 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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
src/sha.c +2 -0
index cfbc956..fb31a9e 100644
@@ -6,6 +6,8 @@
    Credits:
       Robert Klep <[email protected]>  -- 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>
src/sha.h +2 -0
index 13583e3..b101b1f 100644
@@ -2,6 +2,8 @@
    library functions.
 
    Copyright (C) 1999, Scott G. Miller
+   
+* SPDX-License-Identifier: GPL-2.0-or-later
 */
 
 #ifndef _SHA_H
src/space.c +2 -13
index 4bd4760..8223daf 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2006, 2007 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/space.h +2 -13
index 5c9f725..59d087c 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2004 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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
src/stabs.c +2 -13
index c0a5a6a..fd0ca28 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2005, 2006 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/undo.c +2 -13
index 4c38dab..e6cfae3 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2005, 2010 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/undoall.c +2 -13
index 55d2a0b..44a0b4e 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2002, 2005 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/verify.c +2 -13
index 7f530c0..991794a 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2002, 2003, 2006, 2007, 2010 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
Signature · 1 line
2.17.1
#1 lore raw
Quoted 265 lines · Meh Mbeh Ida Delphine
---
 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(-)
src/arch-alpha.c +2 -13
index 7802a3e..bc5c192 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2009 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/arch-arm.c +2 -13
index eec7c57..b5ea886 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2004, 2009, 2011, 2013 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/arch-cris.c +2 -13
index 3272779..634bf9f 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2004, 2009 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/arch-i386.c +2 -13
index a1e0fcc..5a0b2ca 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2009, 2011 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/arch-ia64.c +2 -13
index 6039115..56196de 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2009 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/arch-mips.c +0 -67
index 02c608f..d0e69d4 100644
@@ -2,81 +2,8 @@
    Written by Richard Sandiford <[email protected]>, 2006
    Updated by Maciej W. Rozycki <[email protected]>, 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,

src/arch-mips.c line 6

Quoted 10 lines
src/arch-mips.c +2 -8
-     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
+*/

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?

Quoted 1,286 lines
src/arch-mips.c +0 -0
 #include <config.h>
 #include <assert.h>
src/arch-ppc.c +2 -13
index e22e5d5..e296d79 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2009, 2011 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/arch-ppc64.c +2 -13
index a764b99..3f2c375 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2002, 2003, 2004, 2009 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/arch-s390.c +2 -13
index e5fe130..1a65f5c 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2009, 2010, 2013 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/arch-s390x.c +2 -13
index e4d82f7..926cfa2 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2009, 2013 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/arch-sh.c +2 -13
index 1b11312..a852266 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2009 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/arch-sparc.c +2 -13
index e016a79..d841a28 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2004, 2009 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/arch-sparc64.c +2 -13
index aee4601..c6a1027 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2004, 2009 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/arch-x86_64.c +2 -13
index 2f6c551..249661a 100644
@@ -3,19 +3,8 @@
    Copyright (C) 2011 Wind River Systems, Inc.
    x32 support by Mark Hatle <[email protected]>
 
-   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>
src/cache.c +2 -13
index 1cc3217..b476581 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2006, 2013 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/canonicalize.c +2 -14
index 79df44e..e94ec06 100644
@@ -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>
src/checksum.c +2 -13
index 20a23a0..5c80fc5 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/conflict.c +2 -13
index 5613ace..83713c5 100644
@@ -3,19 +3,8 @@
    Written by Jakub Jelinek <[email protected]>, 2001.
    Updated by Maciej W. Rozycki <[email protected]>, 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>
src/crc32.c +2 -13
index f36abb5..81e990b 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/cxx.c +2 -13
index 4391ebe..4b911a9 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2007, 2009 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/data.c +2 -13
index 751f96f..d648744 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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"
src/doit.c +2 -13
index 3784866..42e6819 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2003, 2004, 2005, 2007 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/dso.c +2 -13
index 949abf9..9cce846 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2010 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/dwarf2.c +2 -13
index b9588b1..d230bb7 100644
@@ -2,19 +2,8 @@
    Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/dwarf2.h +2 -13
index b0c80b6..888f2c7 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2009, 2010, 2011, 2012 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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
src/exec.c +2 -13
index ca7fd14..431690e 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/execle_open.c +2 -13
index 2ee5cbc..0d4bef5 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/execstack.c +2 -13
index 97fb453..fe044c5 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2003, 2005, 2010 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/fptr.c +2 -13
index cfe3aed..65a2804 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2007 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/fptr.h +2 -13
index 36ef7c6..c4ce3f7 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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
src/gather.c +2 -13
index 277f1b5..0e6876b 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/get.c +2 -13
index 0659962..bb58b1e 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2009 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/hashtab.c +2 -28
index fa27446..99a656d 100644
@@ -2,34 +2,8 @@
    Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
    Contributed by Vladimir Makarov ([email protected]).
 
-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>
src/hashtab.h +2 -26
index 31e63e0..dfbe410 100644
@@ -2,32 +2,8 @@
    Copyright (C) 1999, 2000 Free Software Foundation, Inc.
    Contributed by Vladimir Makarov ([email protected]).
 
-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__
src/layout.c +2 -13
index 859ab66..29be7a3 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2006, 2011 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/layout.h +2 -13
index f481d22..1b10bc0 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2004, 2006 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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
src/main.c +2 -13
index 6ba89d5..39e44ad 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2010, 2011 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/md5.c +2 -13
index 0d2fdef..f465bfd 100644
@@ -4,19 +4,8 @@
    NOTE: The canonical source of this file is maintained with the GNU C
    Library.  Bugs can be reported to [email protected].
 
-   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 <[email protected]>, 1995.  */
 
src/md5.h +2 -13
index 55f6195..eb0b85e 100644
@@ -4,19 +4,8 @@
    NOTE: The canonical source of this file is maintained with the GNU C
    Library.  Bugs can be reported to [email protected].
 
-   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
src/mdebug.c +2 -13
index 4c22d2f..eb6d1b5 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/prelink.c +2 -13
index 64c4fea..bf774c9 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/prelink.h +2 -13
index 39c4390..4c4c243 100644
@@ -4,19 +4,8 @@
    Written by Jakub Jelinek <[email protected]>, 2001.
    Updated by Maciej W. Rozycki <[email protected]>, 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
src/prelinktab.h +2 -13
index f41c79c..a404292 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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
src/reloc-info.c +2 -13
index 4ce333c..d51cfc1 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2008 CodeSourcery
    Written by Maciej W. Rozycki <[email protected]>, 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>
 
src/reloc-info.h +2 -13
index a8f8b7c..592a92c 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2008 CodeSourcery
    Written by Maciej W. Rozycki <[email protected]>, 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
src/reloc.c +2 -13
index deb0abe..9883dc7 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2005 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/reloc.h +2 -13
index a2ceff9..ee91f7e 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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
src/sha.c +2 -0
index cfbc956..fb31a9e 100644
@@ -6,6 +6,8 @@
    Credits:
       Robert Klep <[email protected]>  -- 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>
src/sha.h +2 -0
index 13583e3..b101b1f 100644
@@ -2,6 +2,8 @@
    library functions.
 
    Copyright (C) 1999, Scott G. Miller
+
+* SPDX-License-Identifier: GPL-2.0-or-later
 */
 
 #ifndef _SHA_H
src/space.c +2 -13
index 4bd4760..8223daf 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2006, 2007 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/space.h +2 -13
index 5c9f725..59d087c 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2004 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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
src/stabs.c +2 -13
index c0a5a6a..fd0ca28 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2005, 2006 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/undo.c +2 -13
index 4c38dab..e6cfae3 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2005, 2010 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/undoall.c +2 -13
index 55d2a0b..44a0b4e 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2002, 2005 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/verify.c +2 -14
index 7f530c0..991794a 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2002, 2003, 2006, 2007, 2010 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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

Signature · 2 lines
Paul Barker
Konsulko Group
#2 lore raw
Quoted 273 lines · Paul Barker
Quoted 271 lines · Meh Mbeh Ida Delphine
---
 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(-)
src/arch-alpha.c +2 -13
index 7802a3e..bc5c192 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2009 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/arch-arm.c +2 -13
index eec7c57..b5ea886 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2004, 2009, 2011, 2013 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/arch-cris.c +2 -13
index 3272779..634bf9f 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2004, 2009 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/arch-i386.c +2 -13
index a1e0fcc..5a0b2ca 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2009, 2011 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/arch-ia64.c +2 -13
index 6039115..56196de 100644
@@ -1,19 +1,8 @@
 /* Copyright (C) 2001, 2002, 2003, 2004, 2009 Red Hat, Inc.
    Written by Jakub Jelinek <[email protected]>, 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>
src/arch-mips.c +0 -73
index 02c608f..d0e69d4 100644
@@ -2,81 +2,8 @@
    Written by Richard Sandiford <[email protected]>, 2006
    Updated by Maciej W. Rozycki <[email protected]>, 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
Quoted 9 lines

src/arch-mips.c line 6

Quoted 4 lines
src/arch-mips.c +2 -2
-   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
+*/

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?

Also, I think Mark's email address needs updating in the README as I got a bounce sending this reply. Mark, could you confirm?

Signature · 2 lines
Paul Barker
Konsulko Group
#3 lore raw
In reply to Paul Barker
Quoted 272 lines · Paul Barker
Quoted 271 lines · Meh Mbeh Ida Delphine
---
  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(-)
src/arch-alpha.c +2 -13
index 7802a3e..bc5c192 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2002, 2003, 2004, 2009 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/arch-arm.c +2 -13
index eec7c57..b5ea886 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2002, 2004, 2009, 2011, 2013 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/arch-cris.c +2 -13
index 3272779..634bf9f 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2002, 2004, 2009 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/arch-i386.c +2 -13
index a1e0fcc..5a0b2ca 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2002, 2003, 2004, 2009, 2011 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/arch-ia64.c +2 -13
index 6039115..56196de 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2002, 2003, 2004, 2009 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/arch-mips.c +0 -73
index 02c608f..d0e69d4 100644
@@ -2,81 +2,8 @@
     Written by Richard Sandiford <[email protected]>, 2006
     Updated by Maciej W. Rozycki <[email protected]>, 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
Quoted 8 lines

src/arch-mips.c line 6

Quoted 4 lines
src/arch-mips.c +2 -2
-   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
+*/

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?

Hi Ida,

To make it really clear, here's an SPDX example showing that we just need the SPDX identifier added:

http://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/commit/?id=63d097cc46142157931682fed076b5407757a0bd

Thanks,
../Randy

Quoted 1,293 lines
Quoted 1,287 lines
src/arch-mips.c +0 -0
  #include <config.h>
  #include <assert.h>
src/arch-ppc.c +2 -13
index e22e5d5..e296d79 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2009, 2011 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/arch-ppc64.c +2 -13
index a764b99..3f2c375 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2002, 2003, 2004, 2009 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/arch-s390.c +2 -13
index e5fe130..1a65f5c 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2002, 2003, 2004, 2009, 2010, 2013 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/arch-s390x.c +2 -13
index e4d82f7..926cfa2 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2002, 2003, 2004, 2009, 2013 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/arch-sh.c +2 -13
index 1b11312..a852266 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2002, 2003, 2004, 2009 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/arch-sparc.c +2 -13
index e016a79..d841a28 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2002, 2004, 2009 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/arch-sparc64.c +2 -13
index aee4601..c6a1027 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2002, 2004, 2009 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/arch-x86_64.c +2 -13
index 2f6c551..249661a 100644
@@ -3,19 +3,8 @@
     Copyright (C) 2011 Wind River Systems, Inc.
     x32 support by Mark Hatle <[email protected]>
 
-   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>
src/cache.c +2 -13
index 1cc3217..b476581 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2002, 2003, 2004, 2006, 2013 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/canonicalize.c +2 -14
index 79df44e..e94ec06 100644
@@ -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>
src/checksum.c +2 -13
index 20a23a0..5c80fc5 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2002, 2003 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/conflict.c +2 -13
index 5613ace..83713c5 100644
@@ -3,19 +3,8 @@
     Written by Jakub Jelinek <[email protected]>, 2001.
     Updated by Maciej W. Rozycki <[email protected]>, 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>
src/crc32.c +2 -13
index f36abb5..81e990b 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/cxx.c +2 -13
index 4391ebe..4b911a9 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2002, 2003, 2007, 2009 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/data.c +2 -13
index 751f96f..d648744 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2002 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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"
src/doit.c +2 -13
index 3784866..42e6819 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2003, 2004, 2005, 2007 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/dso.c +2 -13
index 949abf9..9cce846 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2010 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/dwarf2.c +2 -13
index b9588b1..d230bb7 100644
@@ -2,19 +2,8 @@
     Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/dwarf2.h +2 -13
index b0c80b6..888f2c7 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2002, 2009, 2010, 2011, 2012 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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
src/exec.c +2 -13
index ca7fd14..431690e 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/execle_open.c +2 -13
index 2ee5cbc..0d4bef5 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/execstack.c +2 -13
index 97fb453..fe044c5 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2003, 2005, 2010 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/fptr.c +2 -13
index cfe3aed..65a2804 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2002, 2003, 2007 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/fptr.h +2 -13
index 36ef7c6..c4ce3f7 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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
src/gather.c +2 -13
index 277f1b5..0e6876b 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/get.c +2 -13
index 0659962..bb58b1e 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2009 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/hashtab.c +2 -28
index fa27446..99a656d 100644
@@ -2,34 +2,8 @@
     Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
     Contributed by Vladimir Makarov ([email protected]).
 
-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>
src/hashtab.h +2 -26
index 31e63e0..dfbe410 100644
@@ -2,32 +2,8 @@
     Copyright (C) 1999, 2000 Free Software Foundation, Inc.
     Contributed by Vladimir Makarov ([email protected]).
 
-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__
src/layout.c +2 -13
index 859ab66..29be7a3 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2002, 2003, 2004, 2006, 2011 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/layout.h +2 -13
index f481d22..1b10bc0 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2004, 2006 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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
src/main.c +2 -13
index 6ba89d5..39e44ad 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2010, 2011 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/md5.c +2 -13
index 0d2fdef..f465bfd 100644
@@ -4,19 +4,8 @@
     NOTE: The canonical source of this file is maintained with the GNU C
     Library.  Bugs can be reported to [email protected].
 
-   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 <[email protected]>, 1995.  */
 
src/md5.h +2 -13
index 55f6195..eb0b85e 100644
@@ -4,19 +4,8 @@
     NOTE: The canonical source of this file is maintained with the GNU C
     Library.  Bugs can be reported to [email protected].
 
-   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
src/mdebug.c +2 -13
index 4c22d2f..eb6d1b5 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/prelink.c +2 -13
index 64c4fea..bf774c9 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/prelink.h +2 -13
index 39c4390..4c4c243 100644
@@ -4,19 +4,8 @@
     Written by Jakub Jelinek <[email protected]>, 2001.
     Updated by Maciej W. Rozycki <[email protected]>, 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
src/prelinktab.h +2 -13
index f41c79c..a404292 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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
src/reloc-info.c +2 -13
index 4ce333c..d51cfc1 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2008 CodeSourcery
     Written by Maciej W. Rozycki <[email protected]>, 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>
 
src/reloc-info.h +2 -13
index a8f8b7c..592a92c 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2008 CodeSourcery
     Written by Maciej W. Rozycki <[email protected]>, 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
src/reloc.c +2 -13
index deb0abe..9883dc7 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2002, 2003, 2005 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/reloc.h +2 -13
index a2ceff9..ee91f7e 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2002 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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
src/sha.c +2 -0
index cfbc956..fb31a9e 100644
@@ -6,6 +6,8 @@
     Credits:
        Robert Klep <[email protected]>  -- 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>
src/sha.h +2 -0
index 13583e3..b101b1f 100644
@@ -2,6 +2,8 @@
     library functions.
 
     Copyright (C) 1999, Scott G. Miller
+
+* SPDX-License-Identifier: GPL-2.0-or-later
  */
 
  #ifndef _SHA_H
src/space.c +2 -13
index 4bd4760..8223daf 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2002, 2003, 2004, 2006, 2007 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/space.h +2 -13
index 5c9f725..59d087c 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2004 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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
src/stabs.c +2 -13
index c0a5a6a..fd0ca28 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2005, 2006 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/undo.c +2 -13
index 4c38dab..e6cfae3 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2001, 2002, 2003, 2005, 2010 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/undoall.c +2 -13
index 55d2a0b..44a0b4e 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2002, 2005 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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>
src/verify.c +2 -14
index 7f530c0..991794a 100644
@@ -1,19 +1,8 @@
  /* Copyright (C) 2002, 2003, 2006, 2007, 2010 Red Hat, Inc.
     Written by Jakub Jelinek <[email protected]>, 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

Signature · 2 lines
# Randy MacLeod
# Wind River Linux