Subject: Re: crunchgen changes to use symbol renaming instead of symbol hiding
To: Simon Burge <>
From: James Chacon <>
List: tech-toolchain
Date: 01/22/2003 00:11:51
Looks good to me. We've needed this for a while since the crunchgen changes
were done to use objcopy.


>I'd like to commit the following patches that change crunchgen
>to use symbol renaming instead of symbol hiding.  Symbol hiding
>doesn't work on MIPS due to problems with changing the visibily
>of certain types of relocations and it doesn't appear that it'll
>be fixed anytime soon.
>Currently objcopy doesn't support reading lists of symbols
>to rename from a file (they way the list of symbols to hide
>is currently done) - to do this, I've included a patch from
>Chris Demetriou that he posted to the binutils mailling list in
>I could have made this change for MIPS only, but didn't think
>it was worth the effort/time/etc to differentiate.  This has
>been tested on MIPS, i386, powerpc, sparc and sparc64.
>Simon Burge                                   <>
>NetBSD Development, Support and Service: