Wrap a few long lines.

This commit is contained in:
skrll 2010-01-14 11:58:31 +00:00
parent c2796a5929
commit f88b3d9061
3 changed files with 13 additions and 10 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: alpha_reloc.c,v 1.35 2010/01/14 11:57:06 skrll Exp $ */
/* $NetBSD: alpha_reloc.c,v 1.36 2010/01/14 11:58:31 skrll Exp $ */
/*
* Copyright (c) 2001 Wasabi Systems, Inc.
@ -62,7 +62,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: alpha_reloc.c,v 1.35 2010/01/14 11:57:06 skrll Exp $");
__RCSID("$NetBSD: alpha_reloc.c,v 1.36 2010/01/14 11:58:31 skrll Exp $");
#endif /* not lint */
#include <sys/types.h>
@ -300,7 +300,8 @@ _rtld_relocate_plt_lazy(const Obj_Entry *obj)
}
static inline int
_rtld_relocate_plt_object(const Obj_Entry *obj, const Elf_Rela *rela, Elf_Addr *tp)
_rtld_relocate_plt_object(const Obj_Entry *obj, const Elf_Rela *rela,
Elf_Addr *tp)
{
Elf_Addr *where = (Elf_Addr *)(obj->relocbase + rela->r_offset);
Elf_Addr new_value;

View File

@ -1,8 +1,8 @@
/* $NetBSD: mdreloc.c,v 1.30 2010/01/13 22:34:07 skrll Exp $ */
/* $NetBSD: mdreloc.c,v 1.31 2010/01/14 11:58:32 skrll Exp $ */
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: mdreloc.c,v 1.30 2010/01/13 22:34:07 skrll Exp $");
__RCSID("$NetBSD: mdreloc.c,v 1.31 2010/01/14 11:58:32 skrll Exp $");
#endif /* not lint */
#include <sys/types.h>
@ -188,7 +188,8 @@ _rtld_relocate_plt_object(const Obj_Entry *obj, const Elf_Rel *rel,
caddr_t
_rtld_bind(const Obj_Entry *obj, Elf_Word reloff)
{
const Elf_Rel *rel = (const Elf_Rel *)((const uint8_t *)obj->pltrel + reloff);
const Elf_Rel *rel = (const Elf_Rel *)((const uint8_t *)obj->pltrel
+ reloff);
Elf_Addr new_value;
int err;

View File

@ -1,13 +1,13 @@
/* $NetBSD: mdreloc.c,v 1.25 2010/01/13 20:17:22 christos Exp $ */
/* $NetBSD: mdreloc.c,v 1.26 2010/01/14 11:58:32 skrll Exp $ */
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: mdreloc.c,v 1.25 2010/01/13 20:17:22 christos Exp $");
__RCSID("$NetBSD: mdreloc.c,v 1.26 2010/01/14 11:58:32 skrll Exp $");
#endif /* not lint */
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: mdreloc.c,v 1.25 2010/01/13 20:17:22 christos Exp $");
__RCSID("$NetBSD: mdreloc.c,v 1.26 2010/01/14 11:58:32 skrll Exp $");
#endif /* not lint */
#include <sys/types.h>
@ -165,7 +165,8 @@ _rtld_relocate_plt_lazy(const Obj_Entry *obj)
}
static inline int
_rtld_relocate_plt_object(const Obj_Entry *obj, const Elf_Rela *rela, Elf_Addr *tp)
_rtld_relocate_plt_object(const Obj_Entry *obj, const Elf_Rela *rela,
Elf_Addr *tp)
{
Elf_Addr *where = (Elf_Addr *)(obj->relocbase + rela->r_offset);
Elf_Addr new_value;