mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-29 16:38:05 +08:00
2001-02-06 Kazu Hirata <kazu@hxi.com>
* elf-m10200.c: Fix formatting.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2001-02-06 Kazu Hirata <kazu@hxi.com>
|
||||||
|
|
||||||
|
* elf-m10200.c: Fix formatting.
|
||||||
|
|
||||||
2001-02-04 Nick Clifton <nickc@redhat.com>
|
2001-02-04 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* elf32-v850.c (v850_elf_reloc): Do not convert reloc addend to PC
|
* elf32-v850.c (v850_elf_reloc): Do not convert reloc addend to PC
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Matsushita 10200 specific support for 32-bit ELF
|
/* 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.
|
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. */
|
does absolutely nothing. */
|
||||||
#define USE_RELA
|
#define USE_RELA
|
||||||
|
|
||||||
enum reloc_type
|
enum reloc_type {
|
||||||
{
|
|
||||||
R_MN10200_NONE = 0,
|
R_MN10200_NONE = 0,
|
||||||
R_MN10200_32,
|
R_MN10200_32,
|
||||||
R_MN10200_16,
|
R_MN10200_16,
|
||||||
@ -48,8 +47,7 @@ enum reloc_type
|
|||||||
R_MN10200_MAX
|
R_MN10200_MAX
|
||||||
};
|
};
|
||||||
|
|
||||||
static reloc_howto_type elf_mn10200_howto_table[] =
|
static reloc_howto_type elf_mn10200_howto_table[] = {
|
||||||
{
|
|
||||||
/* Dummy relocation. Does nothing. */
|
/* Dummy relocation. Does nothing. */
|
||||||
HOWTO (R_MN10200_NONE,
|
HOWTO (R_MN10200_NONE,
|
||||||
0,
|
0,
|
||||||
@ -165,14 +163,12 @@ static reloc_howto_type elf_mn10200_howto_table[] =
|
|||||||
true),
|
true),
|
||||||
};
|
};
|
||||||
|
|
||||||
struct mn10200_reloc_map
|
struct mn10200_reloc_map {
|
||||||
{
|
|
||||||
bfd_reloc_code_real_type bfd_reloc_val;
|
bfd_reloc_code_real_type bfd_reloc_val;
|
||||||
unsigned char elf_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_NONE , R_MN10200_NONE , },
|
||||||
{ BFD_RELOC_32 , R_MN10200_32 , },
|
{ BFD_RELOC_32 , R_MN10200_32 , },
|
||||||
{ BFD_RELOC_16 , R_MN10200_16 , },
|
{ BFD_RELOC_16 , R_MN10200_16 , },
|
||||||
|
Reference in New Issue
Block a user