|
@@ -1001,63 +1001,6 @@ implementation
|
|
|
'.obcj_nlcatlist',
|
|
|
'.objc_protolist'
|
|
|
);
|
|
|
- secnames_pic : array[TAsmSectiontype] of string[length('__DATA, __datacoal_nt,coalesced')] = ('','',
|
|
|
- '.text',
|
|
|
- '.data.rel',
|
|
|
- '.data.rel',
|
|
|
- '.data.rel',
|
|
|
- '.bss',
|
|
|
- '.threadvar',
|
|
|
- '.pdata',
|
|
|
- '', { stubs }
|
|
|
- '__DATA,__nl_symbol_ptr',
|
|
|
- '__DATA,__la_symbol_ptr',
|
|
|
- '__DATA,__mod_init_func',
|
|
|
- '__DATA,__mod_term_func',
|
|
|
- '.stab',
|
|
|
- '.stabstr',
|
|
|
- '.idata$2','.idata$4','.idata$5','.idata$6','.idata$7','.edata',
|
|
|
- '.eh_frame',
|
|
|
- '.debug_frame','.debug_info','.debug_line','.debug_abbrev',
|
|
|
- '.fpc',
|
|
|
- '.toc',
|
|
|
- '.init',
|
|
|
- '.fini',
|
|
|
- '.objc_class',
|
|
|
- '.objc_meta_class',
|
|
|
- '.objc_cat_cls_meth',
|
|
|
- '.objc_cat_inst_meth',
|
|
|
- '.objc_protocol',
|
|
|
- '.objc_string_object',
|
|
|
- '.objc_cls_meth',
|
|
|
- '.objc_inst_meth',
|
|
|
- '.objc_cls_refs',
|
|
|
- '.objc_message_refs',
|
|
|
- '.objc_symbols',
|
|
|
- '.objc_category',
|
|
|
- '.objc_class_vars',
|
|
|
- '.objc_instance_vars',
|
|
|
- '.objc_module_info',
|
|
|
- '.objc_class_names',
|
|
|
- '.objc_meth_var_types',
|
|
|
- '.objc_meth_var_names',
|
|
|
- '.objc_selector_strs',
|
|
|
- '.objc_protocol_ext',
|
|
|
- '.objc_class_ext',
|
|
|
- '.objc_property',
|
|
|
- '.objc_image_info',
|
|
|
- '.objc_cstring_object',
|
|
|
- '.objc_sel_fixup',
|
|
|
- '__DATA,__objc_data',
|
|
|
- '__DATA,__objc_const',
|
|
|
- '.objc_superrefs',
|
|
|
- '__DATA, __datacoal_nt,coalesced',
|
|
|
- '.objc_classlist',
|
|
|
- '.objc_nlclasslist',
|
|
|
- '.objc_catlist',
|
|
|
- '.obcj_nlcatlist',
|
|
|
- '.objc_protolist'
|
|
|
- );
|
|
|
var
|
|
|
sep : string[3];
|
|
|
secname : string;
|
|
@@ -1067,11 +1010,7 @@ implementation
|
|
|
result:=aname
|
|
|
else
|
|
|
begin
|
|
|
- if (cs_create_pic in current_settings.moduleswitches) and
|
|
|
- not(target_info.system in systems_darwin) then
|
|
|
- secname:=secnames_pic[atype]
|
|
|
- else
|
|
|
- secname:=secnames[atype];
|
|
|
+ secname:=secnames[atype];
|
|
|
if (atype=sec_fpc) and (Copy(aname,1,3)='res') then
|
|
|
begin
|
|
|
result:=secname+'.'+aname;
|