diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-11-02 23:59:30 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-11-02 23:59:30 +0000 |
commit | 2d9df90bb88e78f72cc5932777d19237b73c6605 (patch) | |
tree | 6ad8b826a322ef203f141b4d185851a7c94c296e /usr.sbin/crunchgen | |
parent | 4ae6c86d1863db8024e30ed109a39eba3814b9b2 (diff) |
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; |