summaryrefslogtreecommitdiff
path: root/libexec/ld.so/m88k
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-03-20 02:29:52 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-03-20 02:29:52 +0000
commitd0e12fa98d7fe2416924163c37eb3591589f5dbc (patch)
tree267d32055866a0b456c2b96ed2874a7929e6888f /libexec/ld.so/m88k
parent85de4618d0fa9780c917d874510af87f46cc2dd7 (diff)
Export environ and __progname, making the latter a copy of just the filename
portion like crt0 does. This is prep for eliminating _dl_fixup_user_env() Mark almost everything in resolve.h as hidden, to improve code generation. ok kettenis@ mpi@ "good time" deraadt@
Diffstat (limited to 'libexec/ld.so/m88k')
-rw-r--r--libexec/ld.so/m88k/rtld_machine.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libexec/ld.so/m88k/rtld_machine.c b/libexec/ld.so/m88k/rtld_machine.c
index 6e21fe1e810..ed65c88cbc7 100644
--- a/libexec/ld.so/m88k/rtld_machine.c
+++ b/libexec/ld.so/m88k/rtld_machine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtld_machine.c,v 1.13 2015/11/02 07:02:53 guenther Exp $ */
+/* $OpenBSD: rtld_machine.c,v 1.14 2016/03/20 02:29:51 guenther Exp $ */
/*
* Copyright (c) 2013 Miodrag Vallat.
@@ -209,7 +209,7 @@ _dl_md_reloc(elf_object_t *object, int rel, int relasz)
if ((newval >> 28) != 0 && (newval >> 28) != 0x0f) {
_dl_printf("%s: %s: out of range DISP26"
" relocation to '%s' at %x\n",
- _dl_progname, object->load_name, symn,
+ __progname, object->load_name, symn,
r_addr);
_dl_exit(1);
}
@@ -228,8 +228,7 @@ _dl_md_reloc(elf_object_t *object, int rel, int relasz)
default:
_dl_printf("%s:"
" %s: unsupported relocation '%s' %d at %x\n",
- _dl_progname, object->load_name, symn, type,
- r_addr);
+ __progname, object->load_name, symn, type, r_addr);
_dl_exit(1);
}
}