aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-i386.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2004-10-18 12:32:13 +0000
committerAlan Modra <amodra@gmail.com>2004-10-18 12:32:13 +0000
commitbb41ade59e14e2710a5017c8946034fa88980313 (patch)
tree14d743e91c6bc20f56be424d58976cc02a2a097e /gas/config/tc-i386.h
parent00d962d155e1cff6ce144f60f81a416e0f9b872e (diff)
downloadgdb-bb41ade59e14e2710a5017c8946034fa88980313.zip
gdb-bb41ade59e14e2710a5017c8946034fa88980313.tar.gz
gdb-bb41ade59e14e2710a5017c8946034fa88980313.tar.bz2
* config/tc-i386.c (O_secrel): Delete.
(tc_pe_dwarf2_emit_offset): New function. * config/tc-i386.h (O_secrel): Define as O_md1. (TC_DWARF2_EMIT_OFFSET): Define.
Diffstat (limited to 'gas/config/tc-i386.h')
-rw-r--r--gas/config/tc-i386.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h
index 721292a..d5d0ca8 100644
--- a/gas/config/tc-i386.h
+++ b/gas/config/tc-i386.h
@@ -505,4 +505,13 @@ extern void tc_x86_frame_initial_instructions PARAMS ((void));
#define md_elf_section_type(str,len) i386_elf_section_type (str, len)
extern int i386_elf_section_type PARAMS ((const char *, size_t len));
+#ifdef TE_PE
+
+#define O_secrel O_md1
+
+#define TC_DWARF2_EMIT_OFFSET tc_pe_dwarf2_emit_offset
+void tc_pe_dwarf2_emit_offset (symbolS *, unsigned int);
+
+#endif /* TE_PE */
+
#endif /* TC_I386 */