|
|
|
@ -1,5 +1,5 @@ |
|
|
|
/* Matsushita 10200 specific support for 32-bit ELF
|
|
|
|
Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. |
|
|
|
Copyright (C) 1996, 1997, 1998, 1999, 2001 Free Software Foundation, Inc. |
|
|
|
|
|
|
|
This file is part of BFD, the Binary File Descriptor library. |
|
|
|
|
|
|
|
@ -35,8 +35,7 @@ static boolean mn10200_elf_symbol_address_p |
|
|
|
does absolutely nothing. */ |
|
|
|
#define USE_RELA |
|
|
|
|
|
|
|
enum reloc_type |
|
|
|
{ |
|
|
|
enum reloc_type { |
|
|
|
R_MN10200_NONE = 0, |
|
|
|
R_MN10200_32, |
|
|
|
R_MN10200_16, |
|
|
|
@ -48,8 +47,7 @@ enum reloc_type |
|
|
|
R_MN10200_MAX |
|
|
|
}; |
|
|
|
|
|
|
|
static reloc_howto_type elf_mn10200_howto_table[] = |
|
|
|
{ |
|
|
|
static reloc_howto_type elf_mn10200_howto_table[] = { |
|
|
|
/* Dummy relocation. Does nothing. */ |
|
|
|
HOWTO (R_MN10200_NONE, |
|
|
|
0, |
|
|
|
@ -165,14 +163,12 @@ static reloc_howto_type elf_mn10200_howto_table[] = |
|
|
|
true), |
|
|
|
}; |
|
|
|
|
|
|
|
struct mn10200_reloc_map |
|
|
|
{ |
|
|
|
struct mn10200_reloc_map { |
|
|
|
bfd_reloc_code_real_type bfd_reloc_val; |
|
|
|
unsigned char elf_reloc_val; |
|
|
|
}; |
|
|
|
|
|
|
|
static const struct mn10200_reloc_map mn10200_reloc_map[] = |
|
|
|
{ |
|
|
|
static const struct mn10200_reloc_map mn10200_reloc_map[] = { |
|
|
|
{ BFD_RELOC_NONE , R_MN10200_NONE , }, |
|
|
|
{ BFD_RELOC_32 , R_MN10200_32 , }, |
|
|
|
{ BFD_RELOC_16 , R_MN10200_16 , }, |
|
|
|
|