* mipsel-android: Don't export local symbols from executable.

git-svn-id: trunk@26690 -
This commit is contained in:
yury 2014-02-06 19:11:08 +00:00
parent bb1a2d21ab
commit bb269e53ac
2 changed files with 2 additions and 2 deletions

View File

@ -164,7 +164,7 @@ unit i_android;
name : 'Android for MIPSEL';
shortname : 'Android';
flags : [tf_needs_symbol_size,tf_needs_symbol_type,tf_files_case_sensitive,
tf_requires_proper_alignment,tf_pic_default,
tf_requires_proper_alignment,tf_pic_default,tf_safecall_exceptions,
tf_smartlink_sections,tf_smartlink_library,tf_has_winlike_resources];
cpu : cpu_mipsel;
unit_env : 'ANDROIDUNITS';

View File

@ -198,7 +198,7 @@ begin
{ several RTL symbols of FPC-compiled shared libraries }
{ will be bound to those of a single shared library or }
{ to the main program }
if (isdll) then
if isdll or (cs_create_pic in current_settings.moduleswitches) then
begin
add('VERSION');
add('{');