From 92b151ebdaa942b15dd0bef176d8583848a66dad Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 16 Oct 2002 21:05:47 +0000 Subject: Kill a warning. Patch from Joel Coltoff --- ldso/libdl/dlib.c | 4 ++++ ldso/libdl/libdl.c | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'ldso') diff --git a/ldso/libdl/dlib.c b/ldso/libdl/dlib.c index 563183662..fbb19223a 100644 --- a/ldso/libdl/dlib.c +++ b/ldso/libdl/dlib.c @@ -47,6 +47,10 @@ extern int _dl_parse_relocation_information(struct elf_resolve *, unsigned long, __attribute__ ((__weak__, __alias__ ("foobar"))); extern void _dl_parse_lazy_relocation_information(struct elf_resolve *, unsigned long, unsigned long, int) __attribute__ ((__weak__, __alias__ ("foobar"))); +#ifdef __mips__ +extern void _dl_perform_mips_global_got_relocations(struct elf_resolve *tpnt) + __attribute__ ((__weak__, __alias__ ("foobar"))); +#endif #ifdef USE_CACHE int _dl_map_cache(void) __attribute__ ((__weak__, __alias__ ("foobar"))); int _dl_unmap_cache(void) __attribute__ ((__weak__, __alias__ ("foobar"))); diff --git a/ldso/libdl/libdl.c b/ldso/libdl/libdl.c index 563183662..fbb19223a 100644 --- a/ldso/libdl/libdl.c +++ b/ldso/libdl/libdl.c @@ -47,6 +47,10 @@ extern int _dl_parse_relocation_information(struct elf_resolve *, unsigned long, __attribute__ ((__weak__, __alias__ ("foobar"))); extern void _dl_parse_lazy_relocation_information(struct elf_resolve *, unsigned long, unsigned long, int) __attribute__ ((__weak__, __alias__ ("foobar"))); +#ifdef __mips__ +extern void _dl_perform_mips_global_got_relocations(struct elf_resolve *tpnt) + __attribute__ ((__weak__, __alias__ ("foobar"))); +#endif #ifdef USE_CACHE int _dl_map_cache(void) __attribute__ ((__weak__, __alias__ ("foobar"))); int _dl_unmap_cache(void) __attribute__ ((__weak__, __alias__ ("foobar"))); -- cgit v1.2.3