aboutsummaryrefslogtreecommitdiff
path: root/gas/read.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2003-12-13 08:23:05 +0000
committerAlan Modra <amodra@gmail.com>2003-12-13 08:23:05 +0000
commite13bab5a71e5c7274ffbe699673c38744940fe01 (patch)
tree927d3197723e492670657b9c6b496dc7027dc43a /gas/read.h
parent503ff15d3831702b6020a5e0f37540cbd41c77d2 (diff)
downloadgdb-e13bab5a71e5c7274ffbe699673c38744940fe01.zip
gdb-e13bab5a71e5c7274ffbe699673c38744940fe01.tar.gz
gdb-e13bab5a71e5c7274ffbe699673c38744940fe01.tar.bz2
* 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 9c09599..614d570 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);