diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2003-10-01 22:57:57 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2003-10-01 22:57:57 +0000 |
commit | b2218cc139d0b634c7db731964d78e9c0e43a1cc (patch) | |
tree | bbd97c70ecaadc17cbc3a74ea03bb24419c8944b /gcc/output.h | |
parent | 2ce240d34e2eefed9937ded61dcfb6b92e41b608 (diff) | |
download | gcc-b2218cc139d0b634c7db731964d78e9c0e43a1cc.zip gcc-b2218cc139d0b634c7db731964d78e9c0e43a1cc.tar.gz gcc-b2218cc139d0b634c7db731964d78e9c0e43a1cc.tar.bz2 |
output.h (compute_reloc_for_constant): Declare.
* output.h (compute_reloc_for_constant): Declare.
* varasm.c (compute_reloc_for_constant): Extract from...
(output_addressed_constants): ... here. Adjust all callers.
From-SVN: r72000
Diffstat (limited to 'gcc/output.h')
-rw-r--r-- | gcc/output.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/output.h b/gcc/output.h index c4fdc53..9fbc726 100644 --- a/gcc/output.h +++ b/gcc/output.h @@ -437,6 +437,10 @@ extern rtx this_is_asm_operands; extern bool decl_readonly_section (tree, int); extern bool decl_readonly_section_1 (tree, int, int); +/* This can be used to compute RELOC for the function above, when + given a constant expression. */ +extern int compute_reloc_for_constant (tree); + /* User label prefix in effect for this compilation. */ extern const char *user_label_prefix; |