Macroize any compiler-specific code; macros defined in "compiler.h"
authorH. Peter Anvin <hpa@zytor.com>
Fri, 13 Apr 2007 19:58:42 +0000 (19:58 +0000)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 13 Apr 2007 19:58:42 +0000 (19:58 +0000)
commitc1494ac5abcdbdb1a6b4c56eb845b0d7694a853b
tree640c70ac3d99faeef56be65b4588e97658e934de
parenta6dfa78b7805673b2b4955a9f34e21825730f79d
Macroize any compiler-specific code; macros defined in "compiler.h"

Move anything compiler-specific to "compiler.h".

There was an unguarded use of __attribute__(()) in outmacho.c; also
require gcc 4+ for __builtin_ctlz().  Speed up the open-coded version, too.
compiler.h [new file with mode: 0644]
output/outmacho.c