From 70a516efd45348a563c3af6bfb061b4bcc3d385d Mon Sep 17 00:00:00 2001 From: Denis Chertykov Date: Thu, 24 Aug 2000 16:50:21 +0000 Subject: [PATCH] * config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros. Sets `.lcomm' alignment to zero. --- gas/config/tc-avr.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gas/config/tc-avr.h b/gas/config/tc-avr.h index 5b2589d..48c01ae 100644 --- a/gas/config/tc-avr.h +++ b/gas/config/tc-avr.h @@ -118,3 +118,12 @@ extern long md_pcrel_from_section PARAMS ((struct fix *, segT)); #define LEX_DOLLAR 0 /* AVR port uses `$' as a logical line separator */ + +#define TC_IMPLICIT_LCOMM_ALIGNMENT(SIZE, P2VAR) (P2VAR) = 0 +/* An `.lcomm' directive with no explicit alignment parameter will + use this macro to set P2VAR to the alignment that a request for + SIZE bytes will have. The alignment is expressed as a power of + two. If no alignment should take place, the macro definition + should do nothing. Some targets define a `.bss' directive that is + also affected by this macro. The default definition will set + P2VAR to the truncated power of two of sizes up to eight bytes. */ -- 2.7.4