mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-12 10:28:59 +08:00
Add LM32 port.
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
2008-12-23 Jon Beniston <jon@beniston.com>
|
||||
|
||||
* MAINTAINERS: Added Jon Beniston as maintainer for LM32 port.
|
||||
* readelf.c: Add support for LM32 machine number.
|
||||
|
||||
2008-12-23 Kai Tietz <kai.tietz@onevision.com>
|
||||
|
||||
* rcparse.y (rcdata_data): Allow empty comma elements.
|
||||
|
@ -85,6 +85,7 @@ responsibility among the other maintainers.
|
||||
ix86 PE Christopher Faylor <me+binutils@cgf.cx>
|
||||
ix86 COFF DJ Delorie <dj@redhat.com>
|
||||
ix86 INTEL MODE Jan Beulich <jbeulich@novell.com>
|
||||
LM32 Jon Beniston <jon@beniston.com>
|
||||
M68HC11 M68HC12 Stephane Carrez <stcarrez@nerim.fr>
|
||||
M88k Mark Kettenis <kettenis@gnu.org>
|
||||
MAXQ Inderpreet Singh <inderpreetb@noida.hcltech.com>
|
||||
|
@ -130,6 +130,7 @@
|
||||
#include "elf/i960.h"
|
||||
#include "elf/ia64.h"
|
||||
#include "elf/ip2k.h"
|
||||
#include "elf/lm32.h"
|
||||
#include "elf/iq2000.h"
|
||||
#include "elf/m32c.h"
|
||||
#include "elf/m32r.h"
|
||||
@ -598,6 +599,7 @@ guess_is_rela (unsigned int e_machine)
|
||||
case EM_IP2K:
|
||||
case EM_IP2K_OLD:
|
||||
case EM_IQ2000:
|
||||
case EM_LATTICEMICO32:
|
||||
case EM_M32C_OLD:
|
||||
case EM_M32C:
|
||||
case EM_M32R:
|
||||
@ -1186,6 +1188,10 @@ dump_relocations (FILE *file,
|
||||
rtype = elf_xtensa_reloc_type (type);
|
||||
break;
|
||||
|
||||
case EM_LATTICEMICO32:
|
||||
rtype = elf_lm32_reloc_type (type);
|
||||
break;
|
||||
|
||||
case EM_M32C_OLD:
|
||||
case EM_M32C:
|
||||
rtype = elf_m32c_reloc_type (type);
|
||||
@ -1833,6 +1839,7 @@ get_machine_name (unsigned e_machine)
|
||||
case EM_IQ2000: return "Vitesse IQ2000";
|
||||
case EM_XTENSA_OLD:
|
||||
case EM_XTENSA: return "Tensilica Xtensa Processor";
|
||||
case EM_LATTICEMICO32: return "Lattice Mico32";
|
||||
case EM_M32C_OLD:
|
||||
case EM_M32C: return "Renesas M32c";
|
||||
case EM_MT: return "Morpho Techologies MT processor";
|
||||
@ -8082,6 +8089,8 @@ is_32bit_abs_reloc (unsigned int reloc_type)
|
||||
return reloc_type == 2; /* R_IP2K_32. */
|
||||
case EM_IQ2000:
|
||||
return reloc_type == 2; /* R_IQ2000_32. */
|
||||
case EM_LATTICEMICO32:
|
||||
return reloc_type == 3; /* R_LM32_32. */
|
||||
case EM_M32C_OLD:
|
||||
case EM_M32C:
|
||||
return reloc_type == 3; /* R_M32C_32. */
|
||||
|
Reference in New Issue
Block a user