summaryrefslogtreecommitdiff
path: root/gas/read.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/read.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/read.h')
-rw-r--r--gas/read.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/read.h b/gas/read.h
index 9c0959901c..614d570002 100644
--- a/gas/read.h
+++ b/gas/read.h
@@ -139,6 +139,9 @@ extern void generate_lineno_debug (void);
extern void s_abort (int) ATTRIBUTE_NORETURN;
extern void s_align_bytes (int arg);
extern void s_align_ptwo (int);
+extern void bss_alloc (symbolS *, addressT, int);
+extern offsetT parse_align (int);
+extern symbolS *s_comm_internal (int, symbolS *(*) (int, symbolS *, addressT));
extern void s_app_file_string (char *);
extern void s_app_file (int);
extern void s_app_line (int);