summaryrefslogtreecommitdiff
path: root/gas/config/tc-alpha.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2003-12-13 08:23:05 +0000
committerAlan Modra <amodra@bigpond.net.au>2003-12-13 08:23:05 +0000
commit81214d02c44a7c7450efe153439e1d9e2b8a6713 (patch)
treed93d6b5207b6cb250084aa8adfa7b8e9a7136b51 /gas/config/tc-alpha.h
parent4ed84f964287529a1057951cc8c05fa97c5b278c (diff)
downloadbinutils-redhat-81214d02c44a7c7450efe153439e1d9e2b8a6713.tar.gz
* read.c: Remove unneeded prototypes.
(s_comm): Split out code to.. (s_comm_internal): ..here. Tidy error returns. Rearrange so that "name" from input line may be used in more places. Merge code testing for valid size from elf_common. Merge code from s_lcomm_internal. Call comm_parse_extra. (bss_alloc): New function, split out of s_lcomm_internal and elf_common. (parse_align): Likewise. (s_lcomm_internal): Rewrite. (s_lcomm, s_lcomm_bytes): Use s_comm_internal. * read.h (bss_alloc, parse_align, s_comm_internal): Declare. * config/obj-elf.c (elf_common): Split out code to.. (elf_common_parse): ..here. Remove code common to s_comm_internal, parse_align and bss_alloc. Rearrange and Tidy. * config/tc-alpha.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Define.
Diffstat (limited to 'gas/config/tc-alpha.h')
-rw-r--r--gas/config/tc-alpha.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/gas/config/tc-alpha.h b/gas/config/tc-alpha.h
index 52876866c8..939a14f296 100644
--- a/gas/config/tc-alpha.h
+++ b/gas/config/tc-alpha.h
@@ -80,6 +80,21 @@ extern valueT alpha_gp_value;
: BFD_RELOC_ALPHA_LINKAGE);
#endif
+#ifndef VMS
+#define TC_IMPLICIT_LCOMM_ALIGNMENT(size, align) \
+ do \
+ { \
+ align = 0; \
+ if (size > 1) \
+ { \
+ addressT temp = 1; \
+ while ((size & temp) == 0) \
+ ++align, temp <<= 1; \
+ } \
+ } \
+ while (0)
+#endif
+
#define md_number_to_chars number_to_chars_littleendian
extern int tc_get_register PARAMS ((int frame));