diff options
author | Denis Chertykov <denisc@overta.ru> | 2000-08-24 16:50:21 +0000 |
---|---|---|
committer | Denis Chertykov <denisc@overta.ru> | 2000-08-24 16:50:21 +0000 |
commit | f864a2f9dd6275ff9bc709f0f4d46fdd2c7bbd42 (patch) | |
tree | 07e6326f974e3222f73ac363c90602751e27470a | |
parent | e1e4bfc6b9f6571c8693871b1a7989f83e7233ff (diff) | |
download | binutils-redhat-f864a2f9dd6275ff9bc709f0f4d46fdd2c7bbd42.tar.gz |
* config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros.
Sets `.lcomm' alignment to zero.
-rw-r--r-- | gas/config/tc-avr.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gas/config/tc-avr.h b/gas/config/tc-avr.h index 5b2589d145..48c01aed76 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. */ |