From: thierry p. <po...@ds...> - 2000-12-11 08:26:20
|
Hello, I work now with the sdcc2.2.2 version cygwin32 and I have now a problem I didn't have before with 2.2.0 version. The compilation command is: sdcc --debug --stack-after-data --iram-size 256 meas18.c The warning message is: Segment DSEG extends past the end of internal ram. Check map file. The Dseg segment in map file is: Area Addr Size Decimal Bytes (Attributes) -------------------------------- ---- ---- ------- ----- ------------ DSEG 0030 015E = 350. bytes (REL,CON) Value Global -------- -------------------------------- 0030 Fmeas21$byn$0$0 0036 G$compteur_spi$0$0 0036 _compteur_spi 0039 Fmeas21$HV_PM$0$0 003A Fmeas21$hv$0$0 003C Fmeas21$emis$0$0 0040 Fmeas21$resultat$0$0 0044 Fmeas21$info_traceur$0$0 0045 Fmeas21$meas_Vl$0$0 0049 Fmeas21$meas_PM$0$0 004D Lcherche_hv$hdel$1$1 004D _cherche_hv_PARM_2 004E Lchoix_mode$choix_DEL$1$1 004E _choix_mode_PARM_2 004F Lres$ne$1$1 004F _res_PARM_2 0051 G$bp$0$0 0051 _bp 0052 Fvprintf$output_ptr$0$0 0055 Fvprintf$value$0$0 005A Fvprintf$radix$0$0 0065 _output_float_negative_1_1 0066 _output_float_integerPart_1_1 006A _output_float_decimalPart_1_1 006E _output_float_fpBuffer_1_1 00EE _output_float_fpBI_1_1 00EF _vsprintf_PARM_2 00F2 _vsprintf_PARM_3 00F3 _vsprintf_decimals_1_1 00F4 _vsprintf_length_1_1 00F5 _vprintf_PARM_2 00F6 ___fssub_PARM_2 00FA ___fssub_fl1_1_1 00FE ___fssub_fl2_1_1 0102 __modslong_PARM_2 0106 __modslong_sloc0_1_0 010A __modulong_PARM_2 010E __modulong_count_1_1 010F __divslong_PARM_2 0113 __divslong_sloc0_1_0 0117 ___fsmul_PARM_2 011B ___fsmul_fl1_1_1 011F ___fsmul_fl2_1_1 0123 ___fsmul_result_1_1 0127 ___fsmul_exp_1_1 0129 ___fsmul_sloc0_1_0 012A __divulong_PARM_2 012E __divulong_a_1_1 0132 __divulong_reste_1_1 0136 __divulong_count_1_1 0137 __divulong_c_1_1 0138 ___ulong2fs_fl_1_1 013C ___fs2ulong_fl1_1_1 0140 ___fs2ulong_exp_1_1 0142 ___fs2ulong_l_1_1 0146 __mulslong_PARM_2 014A __mulslong_sloc0_1_0 014E ___fsgt_PARM_2 0152 ___fsgt_fl1_1_1 0156 ___fsgt_fl2_1_1 015A __mululong_PARM_2 015E __mululong_a_1_1 0162 __mululong_t_1_1 0166 ___fslt_PARM_2 016A ___fslt_fl1_1_1 016E ___fslt_fl2_1_1 0172 ___fsadd_PARM_2 0176 ___fsadd_mant1_1_1 017A ___fsadd_mant2_1_1 017E ___fsadd_fl1_1_1 0182 ___fsadd_fl2_1_1 0186 ___fsadd_exp1_1_1 0188 ___fsadd_exp2_1_1 018A ___fsadd_sign_1_1 With previous version of sdcc data from adress 65 to 18A didn't appear in the Dsegment. Bseg segment is Area Addr Size Decimal Bytes (Attributes) -------------------------------- ---- ---- ------- ----- ------------ BSEG 0000 0010 = 16. bytes (REL,CON,BIT) Value Global -------- -------------------------------- 0B:0000 Fmeas21$flag_spi$0$0 0B:0001 Fmeas21$fichier$0$0 0B:0002 Fmeas21$first$0$0 0B:0003 Lres$p$1$1 0B:0003 _res_p_1_1 0B:0004 Lres$d$1$1 0B:0004 _res_d_1_1 0B:0005 Fvprintf$output_to_string$0$0 0B:0006 Fvprintf$lower_case$0$0 0B:0007 Fvprintf$lsd$0$0 0B:0008 _vsprintf_left_justify_1_1 0B:0009 _vsprintf_zero_padding_1_1 0B:000A _vsprintf_prefix_sign_1_1 0B:000B _vsprintf_prefix_space_1_1 0B:000C _vsprintf_signed_argument_1_1 0B:000D _vsprintf_char_argument_1_1 0B:000E _vsprintf_long_argument_1_1 0B:000F _vsprintf_float_argument_1_1 The code segment is also twice greater with version222 than with version220. Is there something I forget in the compiler line command or anything else ? Can you help me ? Thank you very much Thierry Poidras |