From 69b8cb2bd5df76fb44b43cbdb9af9801d59a0179 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 25 Jun 2004 16:11:09 +0000 Subject: [PATCH] Add support for M32R GOT relocs --- include/elf/ChangeLog | 5 +++++ include/elf/m32r.h | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 1783b5b69..987353280 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,8 @@ +2004-06-25 Kazuhiro Inaoka + + * m32r.h: Add defintions of R_M32R_GOTOFF_HI_ULO, + R_M32R_GOTOFF_HI_SLO and R_M32R_GOTOFF_LO. + 2004-06-19 Alan Modra * common.h (ELF64_R_INFO): Warning fix. diff --git a/include/elf/m32r.h b/include/elf/m32r.h index 709d79234..6441efe27 100644 --- a/include/elf/m32r.h +++ b/include/elf/m32r.h @@ -1,5 +1,5 @@ /* M32R ELF support for BFD. - Copyright 1996, 1997, 1998, 1999, 2000, 2003 Free Software Foundation, Inc. + Copyright 1996, 1997, 1998, 1999, 2000, 2003, 2004 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -67,6 +67,9 @@ START_RELOC_NUMBERS (elf_m32r_reloc_type) RELOC_NUMBER (R_M32R_GOTPC_HI_ULO, 59) RELOC_NUMBER (R_M32R_GOTPC_HI_SLO, 60) RELOC_NUMBER (R_M32R_GOTPC_LO, 61) + RELOC_NUMBER (R_M32R_GOTOFF_HI_ULO, 62) + RELOC_NUMBER (R_M32R_GOTOFF_HI_SLO, 63) + RELOC_NUMBER (R_M32R_GOTOFF_LO, 64) END_RELOC_NUMBERS (R_M32R_max) /* Processor specific section indices. These sections do not actually