Module Name: src
Committed By: chs
Date: Sun Sep 25 13:34:54 UTC 2011
Modified Files:
src/libexec/ld.elf_so/arch/hppa: hppa_reloc.c
Log Message:
gcc 4.5 generates an extra plabel in ld.elf_so,
so expand the array of preallocated ones.
To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/libexec/ld.elf_so/arch/hppa/hppa_reloc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/libexec/ld.elf_so/arch/hppa/hppa_reloc.c
diff -u src/libexec/ld.elf_so/arch/hppa/hppa_reloc.c:1.39 src/libexec/ld.elf_so/arch/hppa/hppa_reloc.c:1.40
--- src/libexec/ld.elf_so/arch/hppa/hppa_reloc.c:1.39 Fri Mar 25 18:07:05 2011
+++ src/libexec/ld.elf_so/arch/hppa/hppa_reloc.c Sun Sep 25 13:34:54 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: hppa_reloc.c,v 1.39 2011/03/25 18:07:05 joerg Exp $ */
+/* $NetBSD: hppa_reloc.c,v 1.40 2011/09/25 13:34:54 chs 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.39 2011/03/25 18:07:05 joerg Exp $");
+__RCSID("$NetBSD: hppa_reloc.c,v 1.40 2011/09/25 13:34:54 chs Exp $");
#endif /* not lint */
#include <stdlib.h>
@@ -114,7 +114,7 @@ static SLIST_HEAD(hppa_plabel_head, _hpp
* Because I'm hesitant to use NEW while relocating self,
* this is a small pool of preallocated PLABELs.
*/
-#define HPPA_PLABEL_PRE (18)
+#define HPPA_PLABEL_PRE (32)
static hppa_plabel hppa_plabel_pre[HPPA_PLABEL_PRE];
static int hppa_plabel_pre_next = 0;