From 0e662ddf84df75b9ed972cec5f9425a4c9c209c5 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sun, 7 Aug 2022 23:07:22 -0500 Subject: [PATCH] Update: Stand alone Featureless Make custom config.h header. Fix some mistakes. Add several more disable macros to further shrink the size of the resulting binary. --- build/stand_alone/fake.config.h | 173 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 170 insertions(+), 3 deletions(-) diff --git a/build/stand_alone/fake.config.h b/build/stand_alone/fake.config.h index 6bb00e4..b8a0565 100644 --- a/build/stand_alone/fake.config.h +++ b/build/stand_alone/fake.config.h @@ -1,4 +1,5 @@ // A config.h file for defining all code being disabled for compiling the stand alone Featureless Make. +// To assist in building this file use: nm --defined-only -f p programs/shared/fake | grep -oP '^(f|fl|fll)_[^\s]+ #define _di_f_account_by_id_ #define _di_f_account_by_name_ @@ -6,6 +7,11 @@ #define _di_f_account_name_by_id_ #define _di_f_accounts_t_ +#define _di_f_array_lengths_adjust_ +#define _di_f_array_lengths_append_ +#define _di_f_array_lengths_append_all_ +#define _di_f_array_lengths_decimate_by_ +#define _di_f_array_lengths_decrease_by_ #define _di_f_array_lengthss_t_ #define _di_f_array_lengthss_adjust_ #define _di_f_array_lengthss_append_ @@ -183,6 +189,18 @@ #define _di_f_fss_items_decimate_by_ #define _di_f_fss_items_decrease_by_ #define _di_f_fss_items_increase_by_ +#define _di_f_fss_named_adjust_ +#define _di_f_fss_named_decimate_by_ +#define _di_f_fss_named_decrease_by_ +#define _di_f_fss_named_increase_by_ +#define _di_f_fss_nameds_adjust_ +#define _di_f_fss_nameds_decimate_by_ +#define _di_f_fss_nameds_decrease_by_ +#define _di_f_fss_nameds_increase_by_ +#define _di_f_fss_namedss_adjust_ +#define _di_f_fss_namedss_decimate_by_ +#define _di_f_fss_namedss_decrease_by_ +#define _di_f_fss_namedss_increase_by_ #define _di_f_fss_nest_adjust_ #define _di_f_fss_nest_decimate_by_ #define _di_f_fss_nest_decrease_by_ @@ -201,7 +219,7 @@ #define _di_f_fss_set_increase_ #define _di_f_fss_set_increase_by_ #define _di_f_fss_set_quote_adjust_ -#define _di_f_fss_set_quote_adjust_ +#define _di_f_fss_set_quote_decimate_by_ #define _di_f_fss_set_quote_decrease_by_ #define _di_f_fss_set_quote_increase_ #define _di_f_fss_set_quote_increase_by_ @@ -421,6 +439,14 @@ #define _di_f_print_dynamic_partial_safely_ #define _di_f_print_except_ #define _di_f_print_except_dynamic_ +#define _di_f_print_except_dynamic_partial_ +#define _di_f_print_except_dynamic_partial_raw_ +#define _di_f_print_except_dynamic_partial_raw_safely_ +#define _di_f_print_except_dynamic_partial_safely_ +#define _di_f_print_except_in_dynamic_partial_ +#define _di_f_print_except_in_dynamic_partial_raw_ +#define _di_f_print_except_in_dynamic_partial_raw_safely_ +#define _di_f_print_except_in_dynamic_partial_safely_ #define _di_f_print_dynamic_except_partial_ #define _di_f_print_dynamic_except_partial_raw_ #define _di_f_print_dynamic_except_partial_raw_safely_ @@ -463,6 +489,10 @@ #define _di_f_print_dynamic_except_partial_raw_ #define _di_f_print_dynamic_except_partial_raw_safely_ #define _di_f_print_dynamic_except_partial_safely_ +#define _di_f_print_to_except_in_dynamic_partial_ +#define _di_f_print_to_except_in_dynamic_partial_raw_ +#define _di_f_print_to_except_in_dynamic_partial_raw_safely_ +#define _di_f_print_to_except_in_dynamic_partial_safely_ #define _di_f_print_to_except_in_dynamic_raw_ #define _di_f_print_to_except_in_dynamic_raw_safely_ #define _di_f_print_to_except_in_dynamic_safely_ @@ -474,7 +504,7 @@ #define _di_f_print_to_except_safely_ #define _di_f_print_to_raw_ #define _di_f_print_to_raw_safely_ -#define _di_f_print_raw_to_terminated_ +#define _di_f_print_to_raw_terminated_ #define _di_f_print_to_safely_ #define _di_f_print_to_safely_terminated_ #define _di_f_print_to_terminated_ @@ -526,9 +556,146 @@ #define _di_f_statusss_increase_by_ #define _di_f_statusss_resize_ +#define _di_f_string_append_assure_ +#define _di_f_string_append_assure_nulless_ +#define _di_f_string_append_nulless_ +#define _di_f_string_dynamic_adjust_ +#define _di_f_string_dynamic_append_assure_nulless_ +#define _di_f_string_dynamic_decimate_by_ +#define _di_f_string_dynamic_decrease_by_ +#define _di_f_string_dynamic_increase_ +#define _di_f_string_dynamic_mash_nulless_ +#define _di_f_string_dynamic_mish_ +#define _di_f_string_dynamic_mish_nulless_ +#define _di_f_string_dynamic_partial_append_assure_ +#define _di_f_string_dynamic_partial_append_assure_nulless_ +#define _di_f_string_dynamic_partial_mash_ +#define _di_f_string_dynamic_partial_mash_nulless_ +#define _di_f_string_dynamic_partial_mish_ +#define _di_f_string_dynamic_partial_mish_nulless_ +#define _di_f_string_dynamic_partial_prepend_ +#define _di_f_string_dynamic_partial_prepend_assure_ +#define _di_f_string_dynamic_partial_prepend_assure_nulless_ +#define _di_f_string_dynamic_partial_prepend_nulless_ +#define _di_f_string_dynamic_prepend_assure_ +#define _di_f_string_dynamic_prepend_assure_nulless_ +#define _di_f_string_dynamic_prepend_nulless_ +#define _di_f_string_dynamics_adjust_ +#define _di_f_string_dynamics_append_ +#define _di_f_string_dynamics_append_all_ +#define _di_f_string_dynamics_decimate_by_ +#define _di_f_string_dynamics_decrease_by_ +#define _di_f_string_dynamic_seek_line_ +#define _di_f_string_dynamic_seek_line_to_ +#define _di_f_string_dynamic_seek_to_ +#define _di_f_string_dynamicss_adjust_ +#define _di_f_string_dynamicss_append_ +#define _di_f_string_dynamicss_append_all_ +#define _di_f_string_dynamicss_decimate_by_ +#define _di_f_string_dynamicss_decrease_by_ +#define _di_f_string_dynamicss_increase_ +#define _di_f_string_dynamicss_increase_by_ +#define _di_f_string_dynamicss_resize_ +#define _di_f_string_map_multis_adjust_ +#define _di_f_string_map_multis_append_ +#define _di_f_string_map_multis_append_all_ +#define _di_f_string_map_multis_decimate_by_ +#define _di_f_string_map_multis_decrease_by_ +#define _di_f_string_map_multis_increase_by_ +#define _di_f_string_map_multiss_adjust_ +#define _di_f_string_map_multiss_append_ +#define _di_f_string_map_multiss_append_all_ +#define _di_f_string_map_multiss_decimate_by_ +#define _di_f_string_map_multiss_decrease_by_ +#define _di_f_string_map_multiss_increase_ +#define _di_f_string_map_multiss_increase_by_ +#define _di_f_string_map_multiss_resize_ +#define _di_f_string_maps_adjust_ +#define _di_f_string_maps_append_all_ +#define _di_f_string_maps_decimate_by_ +#define _di_f_string_maps_decrease_by_ +#define _di_f_string_mapss_adjust_ +#define _di_f_string_mapss_append_ +#define _di_f_string_mapss_append_all_ +#define _di_f_string_mapss_decimate_by_ +#define _di_f_string_mapss_decrease_by_ +#define _di_f_string_mapss_increase_ +#define _di_f_string_mapss_increase_by_ +#define _di_f_string_mapss_resize_ +#define _di_f_string_mash_ +#define _di_f_string_mash_nulless_ +#define _di_f_string_mish_ +#define _di_f_string_mish_nulless_ +#define _di_f_string_prepend_ +#define _di_f_string_prepend_assure_ +#define _di_f_string_prepend_assure_nulless_ +#define _di_f_string_prepend_nulless_ +#define _di_f_string_quantitys_adjust_ +#define _di_f_string_quantitys_append_ +#define _di_f_string_quantitys_append_all_ +#define _di_f_string_quantitys_decimate_by_ +#define _di_f_string_quantitys_decrease_by_ +#define _di_f_string_quantitys_increase_ +#define _di_f_string_quantitys_increase_by_ +#define _di_f_string_quantitys_resize_ +#define _di_f_string_quantityss_adjust_ +#define _di_f_string_quantityss_append_ +#define _di_f_string_quantityss_append_all_ +#define _di_f_string_quantityss_decimate_by_ +#define _di_f_string_quantityss_decrease_by_ +#define _di_f_string_quantityss_increase_ +#define _di_f_string_quantityss_increase_by_ +#define _di_f_string_quantityss_resize_ +#define _di_f_string_ranges_adjust_ +#define _di_f_string_ranges_append_ +#define _di_f_string_ranges_append_all_ +#define _di_f_string_ranges_decimate_by_ +#define _di_f_string_ranges_decrease_by_ +#define _di_f_string_ranges_increase_by_ +#define _di_f_string_rangess_adjust_ +#define _di_f_string_rangess_append_ +#define _di_f_string_rangess_append_all_ +#define _di_f_string_rangess_decimate_by_ +#define _di_f_string_rangess_decrease_by_ +#define _di_f_string_rangess_increase_by_ +#define _di_f_string_seek_line_ +#define _di_f_string_seek_line_to_ +#define _di_f_string_seek_to_ +#define _di_f_string_triples_adjust_ +#define _di_f_string_triples_append_ +#define _di_f_string_triples_append_all_ +#define _di_f_string_triples_decimate_by_ +#define _di_f_string_triples_decrease_by_ +#define _di_f_string_triples_increase_ +#define _di_f_string_triples_increase_by_ +#define _di_f_string_triples_resize_ +#define _di_f_string_tripless_adjust_ +#define _di_f_string_tripless_append_ +#define _di_f_string_tripless_append_all_ +#define _di_f_string_tripless_decimate_by_ +#define _di_f_string_tripless_decrease_by_ +#define _di_f_string_tripless_increase_ +#define _di_f_string_tripless_increase_by_ +#define _di_f_string_tripless_resize_ + #define _di_f_time_t_ #define _di_f_time_spec_t_ +#define _di_f_uint8s_t_ +#define _di_f_uint8s_adjust_ +#define _di_f_uint8s_append_ +#define _di_f_uint8s_append_all_ +#define _di_f_uint8s_decimate_by_ +#define _di_f_uint8s_decrease_by_ +#define _di_f_uint8s_increase_by_ +#define _di_f_uint8ss_t_ +#define _di_f_uint8ss_adjust_ +#define _di_f_uint8ss_append_ +#define _di_f_uint8ss_append_all_ +#define _di_f_uint8ss_decimate_by_ +#define _di_f_uint8ss_decrease_by_ +#define _di_f_uint8ss_increase_by_ + #define _di_f_uint16s_t_ #define _di_f_uint16s_adjust_ #define _di_f_uint16s_append_ @@ -1013,7 +1180,7 @@ #define _di_fll_print_trim_except_dynamic_partial_ #define _di_fll_print_trim_except_dynamic_partial_raw_ #define _di_fll_print_trim_except_dynamic_partial_raw_safely_ -#define _di_fll_print_trim_except_dynamic_partial_safely_fake_build_copy +#define _di_fll_print_trim_except_dynamic_partial_safely_ #define _di_fll_program_data_destroy_ #define _di_fll_program_parameter_additional_append_ -- 1.8.3.1