]>
Commit | Line | Data |
---|---|---|
2e4b9b8c | 1 | /* Dwarf2 assembler output helper routines. |
aeee4812 | 2 | Copyright (C) 2001-2023 Free Software Foundation, Inc. |
2e4b9b8c | 3 | |
1322177d | 4 | This file is part of GCC. |
2e4b9b8c | 5 | |
1322177d LB |
6 | GCC is free software; you can redistribute it and/or modify it under |
7 | the terms of the GNU General Public License as published by the Free | |
9dcd6f09 | 8 | Software Foundation; either version 3, or (at your option) any later |
1322177d | 9 | version. |
2e4b9b8c | 10 | |
1322177d LB |
11 | GCC is distributed in the hope that it will be useful, but WITHOUT ANY |
12 | WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
13 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
14 | for more details. | |
2e4b9b8c RH |
15 | |
16 | You should have received a copy of the GNU General Public License | |
9dcd6f09 NC |
17 | along with GCC; see the file COPYING3. If not see |
18 | <http://www.gnu.org/licenses/>. */ | |
2e4b9b8c | 19 | |
f1717f8d KC |
20 | #ifndef GCC_DWARF2ASM_H |
21 | #define GCC_DWARF2ASM_H | |
2e4b9b8c | 22 | |
f55ade6e | 23 | extern void dw2_assemble_integer (int, rtx); |
301d03af | 24 | |
d4ea4622 RH |
25 | extern void dw2_asm_output_data_raw (int, unsigned HOST_WIDE_INT); |
26 | ||
f55ade6e AJ |
27 | extern void dw2_asm_output_data (int, unsigned HOST_WIDE_INT, |
28 | const char *, ...) | |
d41c4351 | 29 | ATTRIBUTE_NULL_PRINTF_3; |
2e4b9b8c | 30 | |
f55ade6e AJ |
31 | extern void dw2_asm_output_delta (int, const char *, const char *, |
32 | const char *, ...) | |
d41c4351 | 33 | ATTRIBUTE_NULL_PRINTF_4; |
2e4b9b8c | 34 | |
67ad2ae7 DR |
35 | extern void dw2_asm_output_vms_delta (int, const char *, const char *, |
36 | const char *, ...) | |
37 | ATTRIBUTE_NULL_PRINTF_4; | |
38 | ||
b8698a0f | 39 | extern void dw2_asm_output_offset (int, const char *, section *, |
192d0f89 GK |
40 | const char *, ...) |
41 | ATTRIBUTE_NULL_PRINTF_4; | |
2e4b9b8c | 42 | |
7180b1a6 RB |
43 | extern void dw2_asm_output_offset (int, const char *, HOST_WIDE_INT, |
44 | section *, const char *, ...) | |
45 | ATTRIBUTE_NULL_PRINTF_5; | |
46 | ||
f55ade6e | 47 | extern void dw2_asm_output_addr (int, const char *, const char *, ...) |
d41c4351 | 48 | ATTRIBUTE_NULL_PRINTF_3; |
8e7fa2c8 | 49 | |
f55ade6e | 50 | extern void dw2_asm_output_addr_rtx (int, rtx, const char *, ...) |
d41c4351 | 51 | ATTRIBUTE_NULL_PRINTF_3; |
2e4b9b8c | 52 | |
b03e9863 | 53 | extern void dw2_asm_output_encoded_addr_rtx (int, rtx, bool, |
f55ade6e | 54 | const char *, ...) |
b03e9863 | 55 | ATTRIBUTE_NULL_PRINTF_4; |
2a1ee410 | 56 | |
f55ade6e AJ |
57 | extern void dw2_asm_output_nstring (const char *, size_t, |
58 | const char *, ...) | |
d41c4351 | 59 | ATTRIBUTE_NULL_PRINTF_3; |
2e4b9b8c | 60 | |
d4ea4622 RH |
61 | extern void dw2_asm_output_data_uleb128_raw (unsigned HOST_WIDE_INT); |
62 | ||
f55ade6e AJ |
63 | extern void dw2_asm_output_data_uleb128 (unsigned HOST_WIDE_INT, |
64 | const char *, ...) | |
d41c4351 | 65 | ATTRIBUTE_NULL_PRINTF_2; |
2e4b9b8c | 66 | |
d4ea4622 RH |
67 | extern void dw2_asm_output_data_sleb128_raw (HOST_WIDE_INT); |
68 | ||
f55ade6e AJ |
69 | extern void dw2_asm_output_data_sleb128 (HOST_WIDE_INT, |
70 | const char *, ...) | |
d41c4351 | 71 | ATTRIBUTE_NULL_PRINTF_2; |
2e4b9b8c | 72 | |
bd2b9f1e AO |
73 | extern void dw2_asm_output_symname_uleb128 (const char *, |
74 | const char *, ...) | |
75 | ATTRIBUTE_NULL_PRINTF_2; | |
76 | ||
f55ade6e AJ |
77 | extern void dw2_asm_output_delta_uleb128 (const char *, const char *, |
78 | const char *, ...) | |
d41c4351 | 79 | ATTRIBUTE_NULL_PRINTF_3; |
2e4b9b8c | 80 | |
f55ade6e AJ |
81 | extern int size_of_uleb128 (unsigned HOST_WIDE_INT); |
82 | extern int size_of_sleb128 (HOST_WIDE_INT); | |
83 | extern int size_of_encoded_value (int); | |
84 | extern const char *eh_data_format_name (int); | |
2a1ee410 | 85 | |
d4ea4622 | 86 | extern rtx dw2_force_const_mem (rtx, bool); |
f55ade6e | 87 | extern void dw2_output_indirect_constants (void); |
c8f4fe99 BE |
88 | |
89 | /* These are currently unused. */ | |
90 | ||
91 | #if 0 | |
92 | extern void dw2_asm_output_pcrel (int, const char *, const char *, ...) | |
93 | ATTRIBUTE_NULL_PRINTF_3; | |
94 | ||
95 | extern void dw2_asm_output_delta_sleb128 (const char *, const char *, | |
96 | const char *, ...) | |
97 | ATTRIBUTE_NULL_PRINTF_3; | |
98 | #endif | |
f1717f8d KC |
99 | |
100 | #endif /* GCC_DWARF2ASM_H */ |