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/hppa Wrap a couple of lines to <80 co...



details:   https://anonhg.NetBSD.org/src/rev/c7ee9d2c90b5
branches:  trunk
changeset: 566622:c7ee9d2c90b5
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri May 14 11:59:14 2004 +0000

description:
Wrap a couple of lines to <80 columns

diffstat:

 libexec/ld.elf_so/arch/hppa/hppa_reloc.c |  12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diffs (40 lines):

diff -r 815dbf8c276c -r c7ee9d2c90b5 libexec/ld.elf_so/arch/hppa/hppa_reloc.c
--- a/libexec/ld.elf_so/arch/hppa/hppa_reloc.c  Fri May 14 11:11:02 2004 +0000
+++ b/libexec/ld.elf_so/arch/hppa/hppa_reloc.c  Fri May 14 11:59:14 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hppa_reloc.c,v 1.18 2004/05/14 11:11:02 skrll Exp $    */
+/*     $NetBSD: hppa_reloc.c,v 1.19 2004/05/14 11:59:14 skrll Exp $    */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -401,8 +401,8 @@
                                if (def == NULL)
                                        return -1;
 
-                               tmp = _rtld_function_descriptor_alloc(defobj, def,
-                                   rela->r_addend);
+                               tmp = _rtld_function_descriptor_alloc(defobj,
+                                   def, rela->r_addend);
                                if (tmp == (Elf_Addr)-1)
                                        return -1;
 
@@ -429,7 +429,8 @@
                                 * a PLABEL pointer from a plain function
                                 * pointer.
                                 */
-                               tmp = (Elf_Addr)(obj->relocbase + rela->r_addend);
+                               tmp = (Elf_Addr)
+                                   (obj->relocbase + rela->r_addend);
 
                                if (*where != tmp)
                                        *where = tmp;
@@ -503,7 +504,8 @@
                         * _rtld_bind_start.
                         */
                        func_pc = ((Elf_Addr)HPPA_OBJ_GOT(obj)) - 16;
-                       func_sl = (Elf_Addr)((caddr_t)rela - (caddr_t)obj->pltrela);
+                       func_sl = (Elf_Addr)
+                           ((caddr_t)rela - (caddr_t)obj->pltrela);
                }
 
                /*



Home | Main Index | Thread Index | Old Index