/* Freescale S12Z-specific support for 32-bit ELF
- Copyright (C) 1999-2021 Free Software Foundation, Inc.
+ Copyright (C) 1999-2022 Free Software Foundation, Inc.
(Heavily copied from the D10V port by Martin Hunt (hunt@cygnus.com))
This file is part of BFD, the Binary File Descriptor library.
/* This reloc does nothing. */
HOWTO (R_S12Z_NONE, /* type */
0, /* rightshift */
- 3, /* size (0 = byte, 1 = short, 2 = long) */
+ 0, /* size */
0, /* bitsize */
false, /* pc_relative */
0, /* bitpos */
/* A 24 bit absolute relocation emitted by the OPR mode operands */
HOWTO (R_S12Z_OPR, /* type */
0, /* rightshift */
- 5, /* size (0 = byte, 1 = short, 2 = long) */
+ 3, /* size */
24, /* bitsize */
false, /* pc_relative */
0, /* bitpos */
/* The purpose of this reloc is not known */
HOWTO (R_S12Z_UKNWN_2, /* type */
0, /* rightshift */
- 3, /* size (0 = byte, 1 = short, 2 = long) */
+ 0, /* size */
0, /* bitsize */
false, /* pc_relative */
0, /* bitpos */
/* A 15 bit PC-rel relocation */
HOWTO (R_S12Z_PCREL_7_15, /* type */
0, /* rightshift */
- 1, /* size (0 = byte, 1 = short, 2 = long) */
+ 2, /* size */
15, /* bitsize */
true, /* pc_relative */
0, /* bitpos */
/* A 24 bit absolute relocation emitted by EXT24 mode operands */
HOWTO (R_S12Z_EXT24, /* type */
0, /* rightshift */
- 5, /* size (0 = byte, 1 = short, 2 = long) */
+ 3, /* size */
24, /* bitsize */
false, /* pc_relative */
0, /* bitpos */
/* An 18 bit absolute relocation */
HOWTO (R_S12Z_EXT18, /* type */
0, /* rightshift */
- 5, /* size (0 = byte, 1 = short, 2 = long) */
+ 3, /* size */
18, /* bitsize */
false, /* pc_relative */
0, /* bitpos */
HOWTO (R_S12Z_CW32, /* type */
0, /* rightshift */
- 2, /* size (0 = byte, 1 = short, 2 = long) */
+ 4, /* size */
32, /* bitsize */
false, /* pc_relative */
0, /* bitpos */
/* A 32 bit absolute relocation */
HOWTO (R_S12Z_EXT32, /* type */
0, /* rightshift */
- 2, /* size (0 = byte, 1 = short, 2 = long) */
+ 4, /* size */
32, /* bitsize */
false, /* pc_relative */
0, /* bitpos */