소스 검색

+ new tf_dwarf_relative_addresses target flag for platforms where all
addresses which are specified as relative offsets in the dwarf
spec must actually be emitted as relative offsets by the compiler
(only set for Darwin currently, not yet used)

git-svn-id: trunk@6298 -

Jonas Maebe 18 년 전
부모
커밋
1b25984563
2개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 1
      compiler/systems.pas
  2. 2 2
      compiler/systems/i_bsd.pas

+ 2 - 1
compiler/systems.pas

@@ -290,7 +290,8 @@ interface
             tf_p_ext_support,
             tf_has_dllscanner,
             tf_use_function_relative_addresses,
-            tf_winlikewidestring
+            tf_winlikewidestring,
+            tf_dwarf_relative_addresses
        );
 
        psysteminfo = ^tsysteminfo;

+ 2 - 2
compiler/systems/i_bsd.pas

@@ -397,7 +397,7 @@ unit i_bsd;
             system       : system_powerpc_darwin;
             name         : 'Darwin for PowerPC';
             shortname    : 'Darwin';
-            flags        : [tf_p_ext_support,tf_files_case_sensitive,tf_smartlink_sections];
+            flags        : [tf_p_ext_support,tf_files_case_sensitive,tf_smartlink_sections,tf_dwarf_relative_addresses];
             cpu          : cpu_powerpc;
             unit_env     : 'BSDUNITS';
             extradefines : 'UNIX;BSD;HASUNIX';
@@ -458,7 +458,7 @@ unit i_bsd;
             system       : system_i386_darwin;
             name         : 'Darwin for i386';
             shortname    : 'Darwin';
-            flags        : [tf_p_ext_support,tf_files_case_sensitive,tf_smartlink_sections];
+            flags        : [tf_p_ext_support,tf_files_case_sensitive,tf_smartlink_sections,tf_dwarf_relative_addresses];
             cpu          : cpu_i386;
             unit_env     : 'BSDUNITS';
             extradefines : 'UNIX;BSD;HASUNIX';