From aba8c12f679c2324fa42e718beab8e9d57409102 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sun, 14 Mar 1999 16:03:33 +0000 Subject: We have tested the patches on three platforms: NetBSD/macppc LinuxPPC FreeBSD 2.2.6-RELEASE All of them seem happy with the regression test. Note that, however, compiling with optimization enabled on NetBSD/macppc causes an initdb failure (other two platforms are ok). After checking the asm code, we are suspecting that might be a compiler(egcs) bug. Tatsuo Ishii --- src/backend/port/dynloader/bsd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/backend/port/dynloader/bsd.c') diff --git a/src/backend/port/dynloader/bsd.c b/src/backend/port/dynloader/bsd.c index 48d0d3cc413..c54b2e00237 100644 --- a/src/backend/port/dynloader/bsd.c +++ b/src/backend/port/dynloader/bsd.c @@ -79,6 +79,8 @@ BSD44_derived_dlsym(void *handle, const char *name) #if defined(__mips__) || (defined(__NetBSD__) && defined(vax)) sprintf(error_message, "dlsym (%s) failed", name); return NULL; +#elif defined(__ELF__) + return dlsym(handle, name); #else void *vp; char buf[BUFSIZ]; -- cgit v1.2.3