HomeFreeBSD

Port over changes to the crunch symbol hiding method from NetBSD.

Description

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.

Details

Provenance
adrianAuthored on Aug 10 2010, 9:24 AM
Parents
rG8197f57e6abe: Don't delay updating the longcal timer - instead, update the longcal
Branches
Unknown
Tags
Unknown