blob: 6ef00322dc87d8cde33489a5c614e145fcf13b3b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/*******************************************************************************
* Copyright (c) 2011 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
*******************************************************************************/
#define elf_relocate elf_relocate_i386
#include <machine/i386/tcf/dwarfreloc-mdep.h>
#undef elf_relocate
#define elf_relocate elf_relocate_x86_64
#include <machine/x86_64/tcf/dwarfreloc-mdep.h>
#undef elf_relocate
static ElfRelocateFunc elf_relocate_funcs[] = {
{ EM_386, elf_relocate_i386 },
{ EM_X86_64, elf_relocate_x86_64 },
{ EM_NONE, NULL }
};
|