diff options
author | jkoshy <jkoshy@FreeBSD.org> | 2007-09-09 02:10:53 +0000 |
---|---|---|
committer | jkoshy <jkoshy@FreeBSD.org> | 2007-09-09 02:10:53 +0000 |
commit | 3a55a053eac788cab513ecaa531f626388226be0 (patch) | |
tree | 0ca90985b2872ac9a76ab71bcbcb17cfc803fe4c | |
parent | 3ada95826dd0e8b7ef4fe3c036bf96e49b10bc28 (diff) | |
download | FreeBSD-src-3a55a053eac788cab513ecaa531f626388226be0.zip FreeBSD-src-3a55a053eac788cab513ecaa531f626388226be0.tar.gz |
Do not generate unneeded initializers.
Approved by: re (bmah)
-rw-r--r-- | lib/libelf/libelf_convert.m4 | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/libelf/libelf_convert.m4 b/lib/libelf/libelf_convert.m4 index 5027ef9..5d0c21f 100644 --- a/lib/libelf/libelf_convert.m4 +++ b/lib/libelf/libelf_convert.m4 @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2006 Joseph Koshy + * Copyright (c) 2006,2007 Joseph Koshy * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -605,15 +605,14 @@ define(`CONV', `ifdef(`IGNORE_'$1$2, `.$3$2 = NULL', `ifdef(`BASE_'$1, - `ifdef(`IGNORE_'$1, - `.$3$2 = NULL', - `.$3$2 = libelf_cvt_$1_$3')', + `.$3$2 = libelf_cvt_$1_$3', `ifdef(`SIZEDEP_'$1, `.$3$2 = libelf_cvt_$1$2_$3', `.$3$2 = libelf_cvt$2_$1_$3')')')') define(`CONVERTER_NAME', - `#if __FreeBSD_version >= $3 + `ifdef(`IGNORE_'$1,`', + `#if __FreeBSD_version >= $3 [ELF_T_$1] = { CONV($1,32,tof), CONV($1,32,tom), CONV($1,64,tof), CONV($1,64,tom) }, |