Imported Upstream version 1.1
[platform/upstream/libunwind.git] / src / ia64 / dyn_info_list.S
1 #ifndef UNW_REMOTE_ONLY
2
3 /*
4  * Create a special unwind-table entry which makes it easy for an
5  * unwinder to locate the dynamic registration list.  The special
6  * entry covers address range [0-0) and is therefore guaranteed to be
7  * the first in the unwind-table.
8  */
9         .global _U_dyn_info_list
10         .hidden _U_dyn_info_list
11
12         .section .IA_64.unwind_info,"a","progbits"
13 .info:  data8 (1<<48) | 1       /* v1, length==1 (8-byte word) */
14         data8 0         /* 8 empty .prologue directives (nops) */
15         data8 0         /* personality routine (ignored) */
16         string "dyn-list"       /* lsda */
17         data8 @gprel(_U_dyn_info_list)
18
19         .section .IA_64.unwind, "a", "progbits"
20         data8 0, 0, @segrel(.info)
21
22 #endif
23 #ifdef __linux__
24         /* We do not need executable stack.  */
25         .section        .note.GNU-stack,"",@progbits
26 #endif