فهرست منبع

+ 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';