Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'agent/tcf/services/dwarfreloc-ext.h')
-rw-r--r--agent/tcf/services/dwarfreloc-ext.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/agent/tcf/services/dwarfreloc-ext.h b/agent/tcf/services/dwarfreloc-ext.h
index f13a46d4..36f74bb3 100644
--- a/agent/tcf/services/dwarfreloc-ext.h
+++ b/agent/tcf/services/dwarfreloc-ext.h
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2011, 2014-2015 Wind River Systems, Inc. and others.
+ * Copyright (c) 2011, 2014-2017 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.
@@ -38,6 +38,10 @@
#include <machine/ppc64/tcf/dwarfreloc-mdep.h>
#undef elf_relocate
+#define elf_relocate elf_relocate_microblaze
+#include <machine/microblaze/tcf/dwarfreloc-mdep.h>
+#undef elf_relocate
+
static ElfRelocateFunc elf_relocate_funcs[] = {
{ EM_386, elf_relocate_i386 },
{ EM_X86_64, elf_relocate_x86_64 },
@@ -45,5 +49,6 @@ static ElfRelocateFunc elf_relocate_funcs[] = {
{ EM_AARCH64, elf_relocate_a64 },
{ EM_PPC, elf_relocate_powerpc },
{ EM_PPC64, elf_relocate_ppc64 },
+ { EM_MICROBLAZE, elf_relocate_microblaze },
{ EM_NONE, NULL }
};

Back to the top