Add SPDX license headers to all source files
PATCH v3 1/1 Add SPDX license headers to all source files
Fixed bug #13529
Added SPDX headers in all source files except src/makecrc.c since it is not copyrighted. Skipped Makefile.am as well.
Also cleared redundant license text.
--- src/arch-alpha.c | 15 ++------------- src/arch-arm.c | 15 ++------------- src/arch-cris.c | 15 ++------------- src/arch-i386.c | 15 ++------------- src/arch-ia64.c | 15 ++------------- src/arch-mips.c | 16 ++-------------- src/arch-ppc.c | 15 ++------------- src/arch-ppc64.c | 15 ++------------- src/arch-s390.c | 15 ++------------- src/arch-s390x.c | 15 ++------------- src/arch-sh.c | 15 ++------------- src/arch-sparc.c | 16 +++------------- src/arch-sparc64.c | 15 ++------------- src/arch-x86_64.c | 15 ++------------- src/cache.c | 15 ++------------- src/canonicalize.c | 16 ++-------------- src/checksum.c | 15 ++------------- src/conflict.c | 15 ++------------- src/crc32.c | 15 ++------------- src/cxx.c | 15 ++------------- src/data.c | 15 ++------------- src/doit.c | 15 ++------------- src/dso.c | 15 ++------------- src/dwarf2.c | 15 ++------------- src/dwarf2.h | 15 ++------------- src/exec.c | 15 ++------------- src/execle_open.c | 15 ++------------- src/execstack.c | 15 ++------------- src/fptr.c | 15 ++------------- src/fptr.h | 15 ++------------- src/gather.c | 15 ++------------- src/get.c | 15 ++------------- src/hashtab.c | 17 ++--------------- src/hashtab.h | 16 +++------------- src/layout.c | 15 ++------------- src/layout.h | 15 ++------------- src/main.c | 15 ++------------- src/md5.c | 16 ++-------------- src/md5.h | 15 ++------------- src/mdebug.c | 15 ++------------- src/prelink.c | 15 ++------------- src/prelink.h | 15 ++------------- src/prelinktab.h | 15 ++------------- src/reloc-info.c | 15 ++------------- src/reloc-info.h | 15 ++------------- src/reloc.c | 15 ++------------- src/reloc.h | 15 ++------------- src/sha.c | 4 ++++ src/sha.h | 4 ++++ src/space.c | 15 ++------------- src/space.h | 15 ++------------- src/stabs.c | 15 ++------------- src/undo.c | 15 ++------------- src/undoall.c | 15 ++------------- src/verify.c | 15 ++------------- 55 files changed, 116 insertions(+), 694 deletions(-)
src/arch-alpha.c +2 -13
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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 -14
@@ -2,20 +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. */ - +* SPDX-License-Identifier: GPL-2.0-or-later +*/ /* GENERAL NOTES The psABI defines R_MIPS_REL32 as A - EA + S, where the value of EA
src/arch-ppc.c +2 -13
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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 +3 -13
@@ -1,19 +1,9 @@/* 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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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 -15
@@ -2,21 +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. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ /* This package implements basic hash table functionality. It is possible to search for an entry, create an entry and destroy an entry.
src/hashtab.h +3 -13
@@ -2,19 +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. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ /* This package implements basic hash table functionality. It is possible to search for an entry, create an entry and destroy an entry.
@@ -29,6 +18,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */expanded by creation of new hash table and transferring elements from the old table to the new table. */ +#ifndef __HASHTAB_H__#define __HASHTAB_H__
src/layout.c +2 -13
@@ -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
@@ -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
@@ -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 -14
@@ -4,21 +4,9 @@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. */ - -/* Written by Ulrich Drepper <[email protected]>, 1995. */ +* SPDX-License-Identifier: GPL-2.0-or-later +*/ #include <sys/types.h> #include <stdlib.h>
src/md5.h +2 -13
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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 +4 -0
@@ -1,3 +1,7 @@ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ +/* sha.c - Functions to compute the SHA1 hash (message-digest) of files or blocks of memory. Complies to the NIST specification FIPS-180-1.
src/sha.h +4 -0
@@ -1,3 +1,7 @@ +/* +* SPDX-License-Identifier: GPL-2.0-or-later +*/ +/* sha.h - Declaration of functions and datatypes for SHA1 sum computing library functions.
src/space.c +2 -13
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
Thank you so much for the revision.
I was not clear enough in what I said earlier and we had not captured it in the wiki either. Richard and I have updated the wiki.
https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
What I was thinking, but did not clearly say is:
You should use "Add SPDX license headers to all source files" as the git shortlog (the first line of the text you type in when you do git commit -s). I believe you did this already.
Second, the [YOCTO #13529] tag goes into the git commit message itself, not the subject line of send-email. I did not explain that well.
So here is explicitly what is the best practice:
$ git commit -s (or at this point $ git commit --amend) In the editor enter:
Add SPDX license headers to all source files
Added SPDX headers in all source files except src/makecrc.c since it is not copyrighted.
Skipped Makefile.am as well.
Also cleared redundant license text.
Then send the patch:
$ git send-email [email protected] --subject-prefix="prelink-cross][PATCH v4" --cc [email protected] -M -1 --annotate
NOTE: the repository has two errors in the README (which you could optionally fix in v4).
(1) Mark Hatle is no longer at Wind River so the email needs to change
(2) The Yocto Project mailing list URL has changed to " [email protected]"
The -M part makes the email be formatted properly with regard to whitespace so it can be merged cleanly. The -1 part means "one commit". So if your contribution is 3 patches, it would be -3. The --annotate part of that command line will drop you into an editor. Since this is a revision of a prior patch, we want to add the changes underneath the --- This makes it easy to review, but does not put transient, ephemeral text into the permanent git history:
Add SPDX license headers to all source files
Added SPDX headers in all source files except src/makecrc.c since it is not copyrighted.
Skipped Makefile.am as well.
Also cleared redundant license text.
---
Changes in V4:
* Add [YOCTO #13529] tag to git commit log instead of subject line
Changes in V3:
* Address review comments
* Change subject line to reflect what the patch is trying to do
Changes in V2:
src/arch-alpha.c | 15 ++-------------
<snip>
Quoted 9 lines · Meh Mbeh Ida Delphine
Fixed bug #13529
Added SPDX headers in all source files exceptsrc/makecrc.csince it is not copyrighted.
Skipped Makefile.am as well.
Also cleared redundant license text.Signed-off-by Meh Mbeh Ida Delphine <[email protected]>---
Got it, thanks!
Quoted 89 lines · Tim Orling
Thank you so much for the revision.
I was not clear enough in what I said earlier and we had not captured it in the wiki either. Richard and I have updated the wiki.
https://www.openembedded.org/wiki/Commit_Patch_Message_GuidelinesWhat I was thinking, but did not clearly say is:
You should use "Add SPDX license headers to all source files" as the git shortlog (the first line of the text you type in when you do git commit -s). I believe you did this already.
Second, the [YOCTO #13529] tag goes into the git commit message itself, not the subject line of send-email. I did not explain that well.
So here is explicitly what is the best practice:
$ git commit -s (or at this point $ git commit --amend) In the editor enter:Add SPDX license headers to all source files
Added SPDX headers in all source files except
src/makecrc.csince it is not copyrighted.
Skipped Makefile.am as well.
Also cleared redundant license text.Fixes [YOCTO #13529]Signed-off-by Meh Mbeh Ida Delphine <[email protected]>Then send the patch:
$ git send-email [email protected] --subject-prefix="prelink-cross][PATCH v4" --cc [email protected] -M -1 --annotateNOTE: the repository has two errors in the README (which you could optionally fix in v4).
(1) Mark Hatle is no longer at Wind River so the email needs to change
(2) The Yocto Project mailing list URL has changed to " [email protected]"The -M part makes the email be formatted properly with regard to whitespace so it can be merged cleanly. The -1 part means "one commit". So if your contribution is 3 patches, it would be -3. The --annotate part of that command line will drop you into an editor. Since this is a revision of a prior patch, we want to add the changes underneath the --- This makes it easy to review, but does not put transient, ephemeral text into the permanent git history:
Add SPDX license headers to all source files
Added SPDX headers in all source files except
src/makecrc.csince it is not copyrighted.
Skipped Makefile.am as well.
Also cleared redundant license text.Fixes [YOCTO #13529]Signed-off-by Meh Mbeh Ida Delphine <[email protected]>---
Changes in V4:
* Add [YOCTO #13529] tag to git commit log instead of subject lineChanges in V3:
* Address review comments
* Change subject line to reflect what the patch is trying to doChanges in V2:
src/arch-alpha.c | 15 ++-------------<snip>
Quoted 9 lines · Meh Mbeh Ida Delphine
Fixed bug #13529
Added SPDX headers in all source files exceptsrc/makecrc.csince it is not copyrighted.
Skipped Makefile.am as well.
Also cleared redundant license text.Signed-off-by Meh Mbeh Ida Delphine <[email protected]>---