Преглед на файлове

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