linux-sg2042/drivers/scsi/aic7xxx/aicasm
Denys Vlasenko fa25b99a50 [SCSI] aic7xxx: introduce "dont_generate_debug_code" keyword in aicasm parser
aic7xxx still contains ~30kb of dead code if pretty printing of registers
is requested. These patches deal with it.

Size differences:

   text    data     bss     dec     hex filename
DEBUG_ENABLE+PRETTY_PRINT:
 234697    2362    1188  238247   3a2a7 linux-2.6.26-rc8-/drivers/scsi/aic7xxx/built-in.o
 205092    2362    1188  208642   32f02 linux-2.6.26-rc8/drivers/scsi/aic7xxx/built-in.o
NO_DEBUG_ENABLE+PRETTY_PRINT:
 227272    2362    1172  230806   38596 linux-2.6.26-rc8-/drivers/scsi/aic7xxx/built-in.o
 197671    2362    1172  201205   311f5 linux-2.6.26-rc8/drivers/scsi/aic7xxx/built-in.o
DEBUG_ENABLE+NO_PRETTY_PRINT:
 192457    2362    1188  196007   2fda7 linux-2.6.26-rc8-/drivers/scsi/aic7xxx/built-in.o
 192457    2362    1188  196007   2fda7 linux-2.6.26-rc8/drivers/scsi/aic7xxx/built-in.o
NO_DEBUG_ENABLE+NO_PRETTY_PRINT:
 185040    2362    1172  188574   2e09e linux-2.6.26-rc8-/drivers/scsi/aic7xxx/built-in.o
 185040    2362    1172  188574   2e09e linux-2.6.26-rc8/drivers/scsi/aic7xxx/built-in.o

This patch:

Introduce "dont_generate_debug_code" keyword in aicasm parser.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2008-10-23 11:42:12 -05:00
..
Makefile
aicasm.c [SCSI] aic7xxx: teach aicasm to not emit unused debug code/data 2008-04-27 12:20:00 -05:00
aicasm.h
aicasm_gram.y [SCSI] aic7xxx: introduce "dont_generate_debug_code" keyword in aicasm parser 2008-10-23 11:42:12 -05:00
aicasm_insformat.h
aicasm_macro_gram.y
aicasm_macro_scan.l [SCSI] aic7xxx: Fix firmware build 2007-10-21 11:11:39 -05:00
aicasm_scan.l [SCSI] aic7xxx: introduce "dont_generate_debug_code" keyword in aicasm parser 2008-10-23 11:42:12 -05:00
aicasm_symbol.c [SCSI] aic7xxx: introduce "dont_generate_debug_code" keyword in aicasm parser 2008-10-23 11:42:12 -05:00
aicasm_symbol.h [SCSI] aic7xxx: introduce "dont_generate_debug_code" keyword in aicasm parser 2008-10-23 11:42:12 -05:00