]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/coff-pe-read.h
gnulib: import select
[thirdparty/binutils-gdb.git] / gdb / coff-pe-read.h
index 5dbe8781ec3b7d9e1b780f47662e31b4727e627a..cd33547e92ae49824ed23ae5f67d8c6c94ea89c2 100644 (file)
@@ -1,6 +1,6 @@
 /* Interface to coff-pe-read.c (portable-executable-specific symbol reader).
 
-   Copyright (C) 2003, 2007-2012 Free Software Foundation, Inc.
+   Copyright (C) 2003-2021 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
 #if !defined (COFF_PE_READ_H)
 #define COFF_PE_READ_H
 
+class minimal_symbol_reader;
 struct objfile;
+struct bfd;
 
 /* Read the export table and convert it to minimal symbol table
    entries */
-extern void read_pe_exported_syms (struct objfile *objfile);
+extern void read_pe_exported_syms (minimal_symbol_reader &reader,
+                                  struct objfile *objfile);
+
+/* Extract from ABFD the offset of the .text section.
+   Returns default value 0x1000 if information is not found.  */
+extern CORE_ADDR pe_text_section_offset (struct bfd *abfd);
 
 #endif /* !defined (COFF_PE_READ_H) */