summaryrefslogtreecommitdiff
path: root/gas/read.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2003-01-11 06:24:12 +0000
committerAlan Modra <amodra@bigpond.net.au>2003-01-11 06:24:12 +0000
commitf578ac49a0f0fe4aa8ba02abfad3fe33c11b7434 (patch)
treeef5904ee38d19115d7aa21d6c49f70ba4448c45d /gas/read.h
parentcc926c2ca1661ff732082bb9251a50f194cdb754 (diff)
downloadbinutils-redhat-f578ac49a0f0fe4aa8ba02abfad3fe33c11b7434.tar.gz
* read.c (get_absolute_expr): New, split out from..
(get_absolute_expression): ..here. * read.h (get_absolute_expr): Declare. * config/obj-elf.c (elf_common): Use offsetT for "temp" and "size". Trim size to arch bits_per_address, and test for negative input via get_absolute_expr.
Diffstat (limited to 'gas/read.h')
-rw-r--r--gas/read.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/read.h b/gas/read.h
index f57126db48..1e8ca7ab9c 100644
--- a/gas/read.h
+++ b/gas/read.h
@@ -1,6 +1,6 @@
/* read.h - of read.c
Copyright 1986, 1990, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
- 2000
+ 2000, 2001, 2002, 2003
Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -105,6 +105,7 @@ extern void aout_process_stab PARAMS ((int, const char *, int, int, int));
extern char *demand_copy_C_string PARAMS ((int *len_pointer));
extern char get_absolute_expression_and_terminator
PARAMS ((long *val_pointer));
+extern offsetT get_absolute_expr PARAMS ((expressionS *));
extern offsetT get_absolute_expression PARAMS ((void));
extern unsigned int next_char_of_string PARAMS ((void));
extern void s_mri_sect PARAMS ((char *));