aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Chertykov <denisc@overta.ru>2000-08-24 16:50:21 +0000
committerDenis Chertykov <denisc@overta.ru>2000-08-24 16:50:21 +0000
commit70a516efd45348a563c3af6bfb061b4bcc3d385d (patch)
treee4601b633d86cff4a83497ec30a6399e5571ee0f
parente1b09194cb4a30d662749d98b0e80ee9222ab090 (diff)
downloadfsf-binutils-gdb-70a516efd45348a563c3af6bfb061b4bcc3d385d.zip
fsf-binutils-gdb-70a516efd45348a563c3af6bfb061b4bcc3d385d.tar.gz
fsf-binutils-gdb-70a516efd45348a563c3af6bfb061b4bcc3d385d.tar.bz2
* config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros.
Sets `.lcomm' alignment to zero.
-rw-r--r--gas/config/tc-avr.h9
1 files changed, 9 insertions, 0 deletions
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. */