+ section smartlink bss for embedded targets

git-svn-id: trunk@13341 -
This commit is contained in:
florian 2009-06-27 15:21:01 +00:00
parent 10c67a4ad5
commit 86aad85b78
2 changed files with 6 additions and 5 deletions

View File

@ -388,7 +388,8 @@ implementation
create_smartlink_sections and
(aname<>'') and
(atype<>sec_toc) and
(atype<>sec_bss) then
{ on embedded systems every byte counts, so smartlink bss too }
((atype<>sec_bss) or (target_info.system in system_embedded)) then
begin
case aorder of
secorder_begin :

View File

@ -33,8 +33,8 @@ unit i_embed;
system : system_arm_embedded;
name : 'Embedded';
shortname : 'embedded';
flags : [tf_needs_symbol_size,tf_files_case_sensitive,tf_use_function_relative_addresses
,tf_smartlink_sections];
flags : [tf_needs_symbol_size,tf_files_case_sensitive,
tf_use_function_relative_addresses,tf_smartlink_sections];
cpu : cpu_arm;
unit_env : '';
extradefines : '';