Date: Tue, 10 Aug 2010 09:24:19 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.sbin/crunch/crunchide exec_elf32.c Message-ID: <201008100924.o7A9ObY4020705@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
adrian 2010-08-10 09:24:19 UTC FreeBSD src repository Modified files: usr.sbin/crunch/crunchide exec_elf32.c Log: SVN rev 211137 on 2010-08-10 09:24:19Z by adrian Port over changes to the crunch symbol hiding method from NetBSD. The older symbol hiding method breaks for MIPS. This implements symbol hiding through renaming to a symbol name which is highly unlikely to clash. The NetBSD code didn't use byte-swapping macros for endian-awareness; so it didn't work when cross-compiling a MIPS world on i386/amd64. This patch includes those (as best as I could figure what they should be) and has been tested to generate valid MIPS crunch binaries both cross- and native- compiled. Revision Changes Path 1.18 +89 -135 src/usr.sbin/crunch/crunchide/exec_elf32.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008100924.o7A9ObY4020705>