gcc 4.5 generates an extra plabel in ld.elf_so,
so expand the array of preallocated ones.
This commit is contained in:
parent
623ee27088
commit
b398f9d2e5
@ -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, _hppa_plabel) hppa_plabel_list
|
||||
* 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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user