diff options
author | adrian <adrian@FreeBSD.org> | 2010-08-10 09:24:19 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2010-08-10 09:24:19 +0000 |
commit | 4aa18f4682e7e866c944570267644938a1af0ccf (patch) | |
tree | 036bca1bdc855ea1d45ffed4a9fd67c7fbb5f9c7 /etc | |
parent | f6c54fb22e3aa96cef4b8e91733c2911089cffb9 (diff) | |
download | FreeBSD-src-4aa18f4682e7e866c944570267644938a1af0ccf.zip FreeBSD-src-4aa18f4682e7e866c944570267644938a1af0ccf.tar.gz |
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.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions