diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-12-10 09:43:14 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-12-10 09:43:14 +0000 |
commit | cc7c7762d9ba86eb59eaea7d53a946bd13f2affe (patch) | |
tree | 377e3a187ff9554de9073cdea90feb2dc49c60ec /gcc/final.c | |
parent | 005927ac5d0090e0405b3401fbeee84251f091ff (diff) | |
download | gcc-cc7c7762d9ba86eb59eaea7d53a946bd13f2affe.tar.gz |
2008-12-10 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r142640
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@142641 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/final.c')
-rw-r--r-- | gcc/final.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/final.c b/gcc/final.c index aceeb7cfb13..1735a73207d 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -3440,7 +3440,10 @@ output_addr_const (FILE *file, rtx x) case SYMBOL_REF: if (SYMBOL_REF_DECL (x)) - mark_decl_referenced (SYMBOL_REF_DECL (x)); + { + mark_decl_referenced (SYMBOL_REF_DECL (x)); + assemble_external (SYMBOL_REF_DECL (x)); + } #ifdef ASM_OUTPUT_SYMBOL_REF ASM_OUTPUT_SYMBOL_REF (file, x); #else |