mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 06:17:47 +08:00
Fix definition of R_MCORE_NONE reloc
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
1999-06-16 Nick Clifton <nickc@cygnus.com>
|
||||||
|
|
||||||
|
* elf32-mcore.c (R_MCORE_RAW): Fix definition.
|
||||||
|
|
||||||
1999-06-15 Richard Henderson <rth@cygnus.com>
|
1999-06-15 Richard Henderson <rth@cygnus.com>
|
||||||
|
|
||||||
* section.c (SEC_SHORT): Define.
|
* section.c (SEC_SHORT): Define.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Motorolla MCore specific support for 32-bit ELF
|
/* Motorola MCore specific support for 32-bit ELF
|
||||||
Copyright 1994, 1995, 1999 Free Software Foundation, Inc.
|
Copyright 1994, 1995, 1999 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.
|
||||||
@ -57,16 +57,16 @@ static reloc_howto_type mcore_elf_howto_raw[] =
|
|||||||
HOWTO (R_MCORE_NONE, /* type */
|
HOWTO (R_MCORE_NONE, /* type */
|
||||||
0, /* rightshift */
|
0, /* rightshift */
|
||||||
2, /* size (0 = byte, 1 = short, 2 = long) */
|
2, /* size (0 = byte, 1 = short, 2 = long) */
|
||||||
1, /* bitsize */
|
32, /* bitsize */
|
||||||
true, /* pc_relative */
|
false, /* pc_relative */
|
||||||
0, /* bitpos */
|
0, /* bitpos */
|
||||||
complain_overflow_bitfield, /* complain_on_overflow */
|
complain_overflow_bitfield, /* complain_on_overflow */
|
||||||
mcore_elf_unsupported_reloc, /* special_function */
|
NULL, /* special_function */
|
||||||
"R_MCORE_NONE", /* name */
|
"R_MCORE_NONE", /* name */
|
||||||
false, /* partial_inplace */
|
false, /* partial_inplace */
|
||||||
0, /* src_mask */
|
0, /* src_mask */
|
||||||
0, /* dst_mask */
|
0, /* dst_mask */
|
||||||
true), /* pcrel_offset */
|
false), /* pcrel_offset */
|
||||||
|
|
||||||
/* A standard 32 bit relocation. */
|
/* A standard 32 bit relocation. */
|
||||||
HOWTO (R_MCORE_ADDR32, /* type */
|
HOWTO (R_MCORE_ADDR32, /* type */
|
||||||
@ -209,7 +209,7 @@ static reloc_howto_type mcore_elf_howto_raw[] =
|
|||||||
true, /* partial_inplace */
|
true, /* partial_inplace */
|
||||||
0xffffffff, /* src_mask */
|
0xffffffff, /* src_mask */
|
||||||
0xffffffff, /* dst_mask */
|
0xffffffff, /* dst_mask */
|
||||||
true) /* pcrel_offset */
|
false) /* pcrel_offset */
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifndef NUM_ELEM
|
#ifndef NUM_ELEM
|
||||||
|
Reference in New Issue
Block a user