Subject: How about Not prepending underscores to variable names?
To: None <>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: port-pmax
Date: 09/15/1994 19:34:38
I've looked at rebuilding the entire world with a compiler that
puts an "_" in front of each externally-visible C name.
To make this work, lots of assembly files will have to have "_"
added to them (e.g., all the syscalls, ntohl and friends, and so on.)

The existing pmax code (such as locore.s) appears to be written to
follow the MIPS toolset convention, which is for the C compiler to not
prepend an underscore.  From looking at GCC configuration files,
4.4SBD seems to follow the same convention as the mips toolset. 

At least that's what "mipsbd" targets for GCC do.  Is that really
right for 4.4bsd?? (If so, how does netstat find kernel symbols??)

It looks like it'd be less work to just conditionalize the few
programs that really need to know about the external format of names
-- ps and netstat are all I've run across so far -- and to follow the
naming convention used by gcc for "mipsbsd" targets.  My
rationalization is "if it's good enough for CSRG it's good enough for

Are there any strong opinions the other way??