aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-alpha.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2011-08-07 16:32:20 +0000
committerRichard Henderson <rth@redhat.com>2011-08-07 16:32:20 +0000
commitaf385746fb14957696f524cdc3263cf759f6c732 (patch)
treece65954c1f0b065bfb852b7f95a0eb1c53d07f36 /gas/config/tc-alpha.c
parent613546fbd0cd7d8424774d56e15bf7b4de780e7a (diff)
downloadfsf-binutils-gdb-af385746fb14957696f524cdc3263cf759f6c732.zip
fsf-binutils-gdb-af385746fb14957696f524cdc3263cf759f6c732.tar.gz
fsf-binutils-gdb-af385746fb14957696f524cdc3263cf759f6c732.tar.bz2
* dw2gencfi.c (all_fde_data): Export.
* dw2gencfi.h (all_fde_data): Declare. * config/tc-alpha.c (alpha_elf_md_end): Don't convert legacy unwind info to cfi unwind info if the user already has supplied some.
Diffstat (limited to 'gas/config/tc-alpha.c')
-rw-r--r--gas/config/tc-alpha.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gas/config/tc-alpha.c b/gas/config/tc-alpha.c
index 9523ada..db3f8b4 100644
--- a/gas/config/tc-alpha.c
+++ b/gas/config/tc-alpha.c
@@ -4042,6 +4042,14 @@ alpha_elf_md_end (void)
if (bfd_get_section_by_name (stdoutput, ".eh_frame") != NULL)
return;
+ /* ??? In theory we could look for functions for which we have
+ generated unwind info via CFI directives, and those we have not.
+ Those we have not could still get their unwind info from here.
+ For now, do nothing if we've seen any CFI directives. Note that
+ the above test will not trigger, as we've not emitted data yet. */
+ if (all_fde_data != NULL)
+ return;
+
/* Generate .eh_frame data for the unwind directives specified. */
for (p = all_frame_data; p ; p = p->next)
if (p->prologue_sym)