diff options
author | 2001-05-31 23:49:08 +0000 | |
---|---|---|
committer | 2001-05-31 23:49:08 +0000 | |
commit | 0aa8fc8dcdd26692a9c0e5bba1e793888ca88a46 (patch) | |
tree | e03544a23b48ef5ce6114d0a02fa1f64526aef71 | |
parent | Structure for NIC IPsec processing status reports. (diff) | |
download | wireguard-openbsd-0aa8fc8dcdd26692a9c0e5bba1e793888ca88a46.tar.xz wireguard-openbsd-0aa8fc8dcdd26692a9c0e5bba1e793888ca88a46.zip |
Apparently GLOB_DAT needs r_addend.
"Hello, world!\n" now works with libc.so
-rw-r--r-- | libexec/ld.so/alpha/rtld_machine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/alpha/rtld_machine.c b/libexec/ld.so/alpha/rtld_machine.c index 0c9e42b10f1..e3271f1b603 100644 --- a/libexec/ld.so/alpha/rtld_machine.c +++ b/libexec/ld.so/alpha/rtld_machine.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtld_machine.c,v 1.4 2001/05/31 22:10:49 art Exp $ */ +/* $OpenBSD: rtld_machine.c,v 1.5 2001/05/31 23:49:08 art Exp $ */ /* * Copyright (c) 1999 Dale Rahn @@ -130,7 +130,7 @@ _dl_md_reloc(elf_object_t *object, int rel, int relasz) ooff = _dl_find_symbol(symn, _dl_objects, &this, 0, 1); if (this == NULL) goto resolve_failed; - *r_addr = ooff + this->st_value; + *r_addr = ooff + this->st_value + relas->r_addend; break; case R_TYPE(NONE): break; |