Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'agent/tcf/services/dwarfreloc.h')
-rw-r--r--agent/tcf/services/dwarfreloc.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/agent/tcf/services/dwarfreloc.h b/agent/tcf/services/dwarfreloc.h
new file mode 100644
index 00000000..af8f3e2c
--- /dev/null
+++ b/agent/tcf/services/dwarfreloc.h
@@ -0,0 +1,35 @@
+/*******************************************************************************
+ * Copyright (c) 2010 Wind River Systems, Inc. and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * and Eclipse Distribution License v1.0 which accompany this distribution.
+ * The Eclipse Public License is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ * and the Eclipse Distribution License is available at
+ * http://www.eclipse.org/org/documents/edl-v10.php.
+ * You may elect to redistribute this code under either of these licenses.
+ *
+ * Contributors:
+ * Wind River Systems - initial API and implementation
+ *******************************************************************************/
+
+/*
+ * This module implements ELF relocation records handling for reading DWARF debug information.
+ *
+ * Functions in this module use exceptions to report errors, see exceptions.h
+ */
+
+#ifndef D_dwarfreloc
+#define D_dwarfreloc
+
+#include <config.h>
+
+#if ENABLE_ELF
+
+#include <services/tcf_elf.h>
+
+extern void drl_relocate(ELF_Section * s, U8_T offset, void * buf, size_t size, ELF_Section ** dst);
+
+#endif /* ENABLE_ELF */
+
+#endif /* D_dwarfreloc */

Back to the top