From f7d5dd13bf9feebdf8de83e5e2be6c07b9b98cc1 Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Sun, 12 Feb 2006 15:01:07 +0000 Subject: [PATCH] * no sec_bss markers anymore (.comm/.lcomm automatically change the section type) * sec_eh_frame = sec_debug_frame git-svn-id: trunk@2534 - --- compiler/powerpc/agppcgas.pas | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/compiler/powerpc/agppcgas.pas b/compiler/powerpc/agppcgas.pas index 7d3eefd1f5..417187fde0 100644 --- a/compiler/powerpc/agppcgas.pas +++ b/compiler/powerpc/agppcgas.pas @@ -107,8 +107,11 @@ unit agppcgas; if (target_info.system = system_powerpc_darwin) then case atype of sec_bss: - atype := sec_code; - sec_debug_frame: + { all bss (lcomm) symbols are automatically put in the right } + { place by using the lcomm assembler directive } + atype := sec_none; + sec_debug_frame, + sec_eh_frame: begin result := '.section __DWARFA,__debug_frame,coalesced,no_toc+strip_static_syms'#10'EH_frame'+tostr(debugframecount)+':'; inc(debugframecount);