summaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2010-03-26 06:43:38 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2010-03-26 06:43:38 +0000
commit3a3a9294b46c9123a47aff180e23baaf3aff81d2 (patch)
tree2520ac26865bc1af84763e99c2d1e79b0100e56d /gcc/toplev.c
parent358d075385f327d85935e798a91deff571091ab7 (diff)
downloadgcc-3a3a9294b46c9123a47aff180e23baaf3aff81d2.tar.gz
2010-03-26 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 157741 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@157742 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 491bf37a68e..07fa798829c 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -1096,6 +1096,10 @@ compile_file (void)
/* Write out any pending weak symbol declarations. */
weak_finish ();
+ /* This must be at the end before unwind and debug info.
+ Some target ports emit PIC setup thunks here. */
+ targetm.asm_out.code_end ();
+
/* Do dbx symbols. */
timevar_push (TV_SYMOUT);