Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/ld.elf_so/arch Remove trailing \n in calls to _rtld_...



details:   https://anonhg.NetBSD.org/src/rev/2a9e25e90cb1
branches:  trunk
changeset: 747038:2a9e25e90cb1
user:      jmmv <jmmv%NetBSD.org@localhost>
date:      Sat Aug 29 13:46:54 2009 +0000

description:
Remove trailing \n in calls to _rtld_error: a newline is automatically
added by a call to the function.

diffstat:

 libexec/ld.elf_so/arch/alpha/alpha_reloc.c |  6 +++---
 libexec/ld.elf_so/arch/arm/mdreloc.c       |  6 +++---
 libexec/ld.elf_so/arch/hppa/hppa_reloc.c   |  6 +++---
 libexec/ld.elf_so/arch/i386/mdreloc.c      |  6 +++---
 libexec/ld.elf_so/arch/m68k/mdreloc.c      |  8 ++++----
 libexec/ld.elf_so/arch/mips/mips_reloc.c   |  6 +++---
 libexec/ld.elf_so/arch/powerpc/ppc_reloc.c |  6 +++---
 libexec/ld.elf_so/arch/sh3/mdreloc.c       |  8 ++++----
 libexec/ld.elf_so/arch/vax/mdreloc.c       |  8 ++++----
 libexec/ld.elf_so/arch/x86_64/mdreloc.c    |  6 +++---
 10 files changed, 33 insertions(+), 33 deletions(-)

diffs (268 lines):

diff -r 6c63694f9945 -r 2a9e25e90cb1 libexec/ld.elf_so/arch/alpha/alpha_reloc.c
--- a/libexec/ld.elf_so/arch/alpha/alpha_reloc.c        Sat Aug 29 06:05:39 2009 +0000
+++ b/libexec/ld.elf_so/arch/alpha/alpha_reloc.c        Sat Aug 29 13:46:54 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: alpha_reloc.c,v 1.32 2009/05/24 18:29:03 he Exp $      */
+/*     $NetBSD: alpha_reloc.c,v 1.33 2009/08/29 13:46:54 jmmv Exp $    */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -62,7 +62,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: alpha_reloc.c,v 1.32 2009/05/24 18:29:03 he Exp $");
+__RCSID("$NetBSD: alpha_reloc.c,v 1.33 2009/08/29 13:46:54 jmmv Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -270,7 +270,7 @@
                            (void *)load_ptr(where),
                            obj->strtab + obj->symtab[symnum].st_name));
                        _rtld_error("%s: Unsupported relocation type %ld "
-                           "in non-PLT relocations\n",
+                           "in non-PLT relocations",
                            obj->path, (u_long) ELF_R_TYPE(rela->r_info));
                        return -1;
                }
diff -r 6c63694f9945 -r 2a9e25e90cb1 libexec/ld.elf_so/arch/arm/mdreloc.c
--- a/libexec/ld.elf_so/arch/arm/mdreloc.c      Sat Aug 29 06:05:39 2009 +0000
+++ b/libexec/ld.elf_so/arch/arm/mdreloc.c      Sat Aug 29 13:46:54 2009 +0000
@@ -1,8 +1,8 @@
-/*     $NetBSD: mdreloc.c,v 1.29 2009/03/16 02:46:47 lukem Exp $       */
+/*     $NetBSD: mdreloc.c,v 1.30 2009/08/29 13:46:54 jmmv Exp $        */
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: mdreloc.c,v 1.29 2009/03/16 02:46:47 lukem Exp $");
+__RCSID("$NetBSD: mdreloc.c,v 1.30 2009/08/29 13:46:54 jmmv Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -188,7 +188,7 @@
                            (void *)rel->r_offset, (void *)load_ptr(where),
                            obj->strtab + obj->symtab[symnum].st_name));
                        _rtld_error("%s: Unsupported relocation type %ld "
-                           "in non-PLT relocations\n",
+                           "in non-PLT relocations",
                            obj->path, (u_long) ELF_R_TYPE(rel->r_info));
                        return -1;
                }
diff -r 6c63694f9945 -r 2a9e25e90cb1 libexec/ld.elf_so/arch/hppa/hppa_reloc.c
--- a/libexec/ld.elf_so/arch/hppa/hppa_reloc.c  Sat Aug 29 06:05:39 2009 +0000
+++ b/libexec/ld.elf_so/arch/hppa/hppa_reloc.c  Sat Aug 29 13:46:54 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hppa_reloc.c,v 1.28 2009/05/23 17:50:34 mjf Exp $      */
+/*     $NetBSD: hppa_reloc.c,v 1.29 2009/08/29 13:46:54 jmmv Exp $     */
 
 /*-
  * Copyright (c) 2002, 2004 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: hppa_reloc.c,v 1.28 2009/05/23 17:50:34 mjf Exp $");
+__RCSID("$NetBSD: hppa_reloc.c,v 1.29 2009/08/29 13:46:54 jmmv Exp $");
 #endif /* not lint */
 
 #include <stdlib.h>
@@ -483,7 +483,7 @@
                            (void *)load_ptr(where),
                            obj->strtab + obj->symtab[symnum].st_name));
                        _rtld_error("%s: Unsupported relocation type %ld "
-                           "in non-PLT relocations\n",
+                           "in non-PLT relocations",
                            obj->path, (u_long) ELF_R_TYPE(rela->r_info));
                        return -1;
                }
diff -r 6c63694f9945 -r 2a9e25e90cb1 libexec/ld.elf_so/arch/i386/mdreloc.c
--- a/libexec/ld.elf_so/arch/i386/mdreloc.c     Sat Aug 29 06:05:39 2009 +0000
+++ b/libexec/ld.elf_so/arch/i386/mdreloc.c     Sat Aug 29 13:46:54 2009 +0000
@@ -1,8 +1,8 @@
-/*     $NetBSD: mdreloc.c,v 1.27 2009/03/16 02:44:47 lukem Exp $       */
+/*     $NetBSD: mdreloc.c,v 1.28 2009/08/29 13:46:54 jmmv Exp $        */
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: mdreloc.c,v 1.27 2009/03/16 02:44:47 lukem Exp $");
+__RCSID("$NetBSD: mdreloc.c,v 1.28 2009/08/29 13:46:54 jmmv Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -127,7 +127,7 @@
                            (void *)rel->r_offset, (void *)*where,
                            obj->strtab + obj->symtab[symnum].st_name));
                        _rtld_error("%s: Unsupported relocation type %ld "
-                           "in non-PLT relocations\n",
+                           "in non-PLT relocations",
                            obj->path, (u_long) ELF_R_TYPE(rel->r_info));
                        return -1;
                }
diff -r 6c63694f9945 -r 2a9e25e90cb1 libexec/ld.elf_so/arch/m68k/mdreloc.c
--- a/libexec/ld.elf_so/arch/m68k/mdreloc.c     Sat Aug 29 06:05:39 2009 +0000
+++ b/libexec/ld.elf_so/arch/m68k/mdreloc.c     Sat Aug 29 13:46:54 2009 +0000
@@ -1,13 +1,13 @@
-/*     $NetBSD: mdreloc.c,v 1.23 2009/03/16 02:46:47 lukem Exp $       */
+/*     $NetBSD: mdreloc.c,v 1.24 2009/08/29 13:46:55 jmmv Exp $        */
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: mdreloc.c,v 1.23 2009/03/16 02:46:47 lukem Exp $");
+__RCSID("$NetBSD: mdreloc.c,v 1.24 2009/08/29 13:46:55 jmmv Exp $");
 #endif /* not lint */
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: mdreloc.c,v 1.23 2009/03/16 02:46:47 lukem Exp $");
+__RCSID("$NetBSD: mdreloc.c,v 1.24 2009/08/29 13:46:55 jmmv Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -135,7 +135,7 @@
                            (void *)*where,
                            obj->strtab + obj->symtab[symnum].st_name));
                        _rtld_error("%s: Unsupported relocation type %ld "
-                           "in non-PLT relocations\n",
+                           "in non-PLT relocations",
                            obj->path, (u_long) ELF_R_TYPE(rela->r_info));
                        return -1;
                }
diff -r 6c63694f9945 -r 2a9e25e90cb1 libexec/ld.elf_so/arch/mips/mips_reloc.c
--- a/libexec/ld.elf_so/arch/mips/mips_reloc.c  Sat Aug 29 06:05:39 2009 +0000
+++ b/libexec/ld.elf_so/arch/mips/mips_reloc.c  Sat Aug 29 13:46:54 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mips_reloc.c,v 1.54 2009/05/20 22:31:46 christos Exp $ */
+/*     $NetBSD: mips_reloc.c,v 1.55 2009/08/29 13:46:55 jmmv Exp $     */
 
 /*
  * Copyright 1997 Michael L. Hitch <mhitch%montana.edu@localhost>
@@ -30,7 +30,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: mips_reloc.c,v 1.54 2009/05/20 22:31:46 christos Exp $");
+__RCSID("$NetBSD: mips_reloc.c,v 1.55 2009/08/29 13:46:55 jmmv Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -312,7 +312,7 @@
                            (void *)rel->r_offset, (void *)load_ptr(where),
                            obj->strtab + obj->symtab[symnum].st_name));
                        _rtld_error("%s: Unsupported relocation type %ld "
-                           "in non-PLT relocations\n",
+                           "in non-PLT relocations",
                            obj->path, (u_long) ELF_R_TYPE(rel->r_info));
                        return -1;
                }
diff -r 6c63694f9945 -r 2a9e25e90cb1 libexec/ld.elf_so/arch/powerpc/ppc_reloc.c
--- a/libexec/ld.elf_so/arch/powerpc/ppc_reloc.c        Sat Aug 29 06:05:39 2009 +0000
+++ b/libexec/ld.elf_so/arch/powerpc/ppc_reloc.c        Sat Aug 29 13:46:54 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ppc_reloc.c,v 1.42 2009/05/24 20:35:41 he Exp $        */
+/*     $NetBSD: ppc_reloc.c,v 1.43 2009/08/29 13:46:55 jmmv Exp $      */
 
 /*-
  * Copyright (C) 1998  Tsubai Masanari
@@ -30,7 +30,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: ppc_reloc.c,v 1.42 2009/05/24 20:35:41 he Exp $");
+__RCSID("$NetBSD: ppc_reloc.c,v 1.43 2009/08/29 13:46:55 jmmv Exp $");
 #endif /* not lint */
 
 #include <stdarg.h>
@@ -197,7 +197,7 @@
                            (void *)*where,
                            obj->strtab + obj->symtab[symnum].st_name));
                        _rtld_error("%s: Unsupported relocation type %ld "
-                           "in non-PLT relocations\n",
+                           "in non-PLT relocations",
                            obj->path, (u_long) ELF_R_TYPE(rela->r_info));
                        return -1;
                }
diff -r 6c63694f9945 -r 2a9e25e90cb1 libexec/ld.elf_so/arch/sh3/mdreloc.c
--- a/libexec/ld.elf_so/arch/sh3/mdreloc.c      Sat Aug 29 06:05:39 2009 +0000
+++ b/libexec/ld.elf_so/arch/sh3/mdreloc.c      Sat Aug 29 13:46:54 2009 +0000
@@ -1,13 +1,13 @@
-/*     $NetBSD: mdreloc.c,v 1.25 2009/03/16 02:46:47 lukem Exp $       */
+/*     $NetBSD: mdreloc.c,v 1.26 2009/08/29 13:46:55 jmmv Exp $        */
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: mdreloc.c,v 1.25 2009/03/16 02:46:47 lukem Exp $");
+__RCSID("$NetBSD: mdreloc.c,v 1.26 2009/08/29 13:46:55 jmmv Exp $");
 #endif /* not lint */
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: mdreloc.c,v 1.25 2009/03/16 02:46:47 lukem Exp $");
+__RCSID("$NetBSD: mdreloc.c,v 1.26 2009/08/29 13:46:55 jmmv Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -163,7 +163,7 @@
                            (void *)*where,
                            obj->strtab + obj->symtab[symnum].st_name));
                        _rtld_error("%s: Unsupported relocation type %ld "
-                           "in non-PLT relocations\n",
+                           "in non-PLT relocations",
                            obj->path, (u_long) ELF_R_TYPE(rela->r_info));
                        return -1;
                }
diff -r 6c63694f9945 -r 2a9e25e90cb1 libexec/ld.elf_so/arch/vax/mdreloc.c
--- a/libexec/ld.elf_so/arch/vax/mdreloc.c      Sat Aug 29 06:05:39 2009 +0000
+++ b/libexec/ld.elf_so/arch/vax/mdreloc.c      Sat Aug 29 13:46:54 2009 +0000
@@ -1,13 +1,13 @@
-/*     $NetBSD: mdreloc.c,v 1.24 2009/03/16 02:46:48 lukem Exp $       */
+/*     $NetBSD: mdreloc.c,v 1.25 2009/08/29 13:46:55 jmmv Exp $        */
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: mdreloc.c,v 1.24 2009/03/16 02:46:48 lukem Exp $");
+__RCSID("$NetBSD: mdreloc.c,v 1.25 2009/08/29 13:46:55 jmmv Exp $");
 #endif /* not lint */
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: mdreloc.c,v 1.24 2009/03/16 02:46:48 lukem Exp $");
+__RCSID("$NetBSD: mdreloc.c,v 1.25 2009/08/29 13:46:55 jmmv Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -120,7 +120,7 @@
                            (void *)*where,
                            obj->strtab + obj->symtab[symnum].st_name));
                        _rtld_error("%s: Unsupported relocation type %ld "
-                           "in non-PLT relocations\n",
+                           "in non-PLT relocations",
                            obj->path, (u_long) ELF_R_TYPE(rela->r_info));
                        return -1;
                }
diff -r 6c63694f9945 -r 2a9e25e90cb1 libexec/ld.elf_so/arch/x86_64/mdreloc.c
--- a/libexec/ld.elf_so/arch/x86_64/mdreloc.c   Sat Aug 29 06:05:39 2009 +0000
+++ b/libexec/ld.elf_so/arch/x86_64/mdreloc.c   Sat Aug 29 13:46:54 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mdreloc.c,v 1.34 2009/03/16 02:44:47 lukem Exp $       */
+/*     $NetBSD: mdreloc.c,v 1.35 2009/08/29 13:46:55 jmmv Exp $        */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -68,7 +68,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: mdreloc.c,v 1.34 2009/03/16 02:44:47 lukem Exp $");
+__RCSID("$NetBSD: mdreloc.c,v 1.35 2009/08/29 13:46:55 jmmv Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -223,7 +223,7 @@
                            (void *)*where64,
                            obj->strtab + obj->symtab[symnum].st_name));
                        _rtld_error("%s: Unsupported relocation type %ld "
-                           "in non-PLT relocations\n",
+                           "in non-PLT relocations",
                            obj->path, (u_long) ELF_R_TYPE(rela->r_info));
                        return -1;
                }



Home | Main Index | Thread Index | Old Index