diff options
author | deraadt <deraadt@openbsd.org> | 2009-11-02 23:59:29 +0000 |
---|---|---|
committer | deraadt <deraadt@openbsd.org> | 2009-11-02 23:59:29 +0000 |
commit | 5b5071ea435f220ce045f80ecccc642817da4770 (patch) | |
tree | 7906d122cfbca1d15cc89a2b44b873b5ab1772ee /usr.sbin/crunchgen | |
parent | Don't write bogus values to reply_fifo_host_signalling_addr. This register (diff) | |
download | wireguard-openbsd-5b5071ea435f220ce045f80ecccc642817da4770.tar.xz wireguard-openbsd-5b5071ea435f220ce045f80ecccc642817da4770.zip |
that is not a small hack, it is big and gruesome and has very bad effects
Diffstat (limited to 'usr.sbin/crunchgen')
-rw-r--r-- | usr.sbin/crunchgen/elf_hide.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/usr.sbin/crunchgen/elf_hide.c b/usr.sbin/crunchgen/elf_hide.c index 3d084aa6c99..ac3a27430b0 100644 --- a/usr.sbin/crunchgen/elf_hide.c +++ b/usr.sbin/crunchgen/elf_hide.c @@ -1,4 +1,4 @@ -/* $OpenBSD: elf_hide.c,v 1.3 2008/11/24 17:23:26 drahn Exp $ */ +/* $OpenBSD: elf_hide.c,v 1.4 2009/11/02 23:59:29 deraadt Exp $ */ /* * Copyright (c) 1997 Dale Rahn. @@ -327,15 +327,14 @@ hide_sym(Elf_Ehdr * ehdr, Elf_Shdr * symsect, psymtab->st_info = info; } else { /* - * XXX This is a small ugly hack to be able to + * XXX This is a big ugly hack to be able to * XXX use chrunchide with MIPS. * XXX Because MIPS needs global symbols to stay * XXX global (has to do with GOT), we mess * XXX around with the symbol names instead. * XXX For most uses this will be no problem, - * XXX symbols are stripped anyway. - * XXX However, if many one character - * XXX symbols exist, names may clash. + * XXX symbols are stripped anyway. However + * XXX symbol names will randomly clash. */ char *p; u_int32_t n, z; |