* elf64-ppc.c (RA_REGISTER_MASK, RA_REGISTER_SHIFT): Delete.
authorAlan Modra <amodra@gmail.com>
Thu, 9 May 2002 11:40:16 +0000 (11:40 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 9 May 2002 11:40:16 +0000 (11:40 +0000)
(ppc64_elf_howto_raw <R_PPC64_RELATIVE>): Not pc_relative or
pcrel_offset.

bfd/ChangeLog
bfd/elf64-ppc.c

index 18f6d0537ee32e8302797fa2ff77bba89b21e39d..d486aa0375edb7655df9de1a4d71b570664e4043 100644 (file)
@@ -1,5 +1,9 @@
 2002-05-09  Alan Modra  <amodra@bigpond.net.au>
 
+       * elf64-ppc.c (RA_REGISTER_MASK, RA_REGISTER_SHIFT): Delete.
+       (ppc64_elf_howto_raw <R_PPC64_RELATIVE>): Not pc_relative or
+       pcrel_offset.
+
        * elf32-i386.c (elf_howto_table): Comments.
        (elf_i386_relocate_section): Handle more relocs for relocatable
        linking and against SEC_MERGE sections.
        (elf32_hppa_size_stubs): Adjust for split out functions.  Look for
        stubs on undefined syms too.
        (elf32_hppa_set_gp): Use bfd_link_hash* instead of elf_link_hash*.
-       Only access htab elf fields when we have and elf hash table.
+       Only access htab elf fields when we have an elf hash table.
        * elf32-hppa.h (elf32_hppa_setup_section_lists): Declare.
        (elf32_hppa_next_input_section): Declare.
 
index 428e31c8726c28e08f7540c8a90f4691a1d60089..5ae3aefd7670c02e2ccebc90cf6983f3144e8d46 100644 (file)
@@ -63,12 +63,6 @@ static boolean ppc64_elf_section_from_shdr
   PARAMS ((bfd *, Elf64_Internal_Shdr *, char *));
 
 
-/* Mask to set RA in memory instructions.  */
-#define RA_REGISTER_MASK 0x001f0000
-
-/* Value to shift register by to insert RA.  */
-#define RA_REGISTER_SHIFT 16
-
 /* The name of the dynamic interpreter.  This is put in the .interp
    section.  */
 #define ELF_DYNAMIC_INTERPRETER "/usr/lib/ld.so.1"
@@ -482,7 +476,7 @@ static reloc_howto_type ppc64_elf_howto_raw[] = {
         0,                     /* rightshift */
         4,                     /* size (0=byte, 1=short, 2=long, 4=64 bits) */
         64,                    /* bitsize */
-        true,                  /* pc_relative */
+        false,                 /* pc_relative */
         0,                     /* bitpos */
         complain_overflow_dont, /* complain_on_overflow */
         bfd_elf_generic_reloc, /* special_function */
@@ -490,7 +484,7 @@ static reloc_howto_type ppc64_elf_howto_raw[] = {
         false,                 /* partial_inplace */
         0,                     /* src_mask */
         0xffffffffffffffff,    /* dst_mask */
-        true),                 /* pcrel_offset */
+        false),                /* pcrel_offset */
 
   /* Like R_PPC64_ADDR32, but may be unaligned.  */
   HOWTO (R_PPC64_UADDR32,      /* type */
This page took 0.032681 seconds and 4 git commands to generate.