]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* libhppa.h (HPPA_R_ARG_RELOC): Delete.
authorJeff Law <law@redhat.com>
Fri, 2 Jul 1999 11:26:12 +0000 (11:26 +0000)
committerJeff Law <law@redhat.com>
Fri, 2 Jul 1999 11:26:12 +0000 (11:26 +0000)
        (HPPA_R_CONSTANT, HPPA_R_ADDEND): Likewise.

bfd/ChangeLog
bfd/libhppa.h

index e13d01efc5122ad8d2e0f64b3d326eeb88e47ed9..c2e400082f69ead0366b1c66f44d2e7f349a74bf 100644 (file)
@@ -1,3 +1,8 @@
+Fri Jul  2 12:21:10 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * libhppa.h (HPPA_R_ARG_RELOC): Delete.
+       (HPPA_R_CONSTANT, HPPA_R_ADDEND): Likewise.
+
 1999-07-01  Mark Mitchell  <mark@codesourcery.com>
 
        * elf-bfd.h (bfd_elf_section_data): Add rel_count and rel_count2
index 05256a201dba16d00e09dab8e49bbfb6231a41e7..7fc52e46b79024e240abb0b2a2f13a780da1a828 100644 (file)
@@ -177,21 +177,6 @@ enum hppa_reloc_expr_type_alt
   };
 
 
-/* Relocations for function calls must be accompanied by parameter
-   relocation bits.  These bits describe exactly where the caller has
-   placed the function's arguments and where it expects to find a return
-   value.
-
-   Both ELF and SOM encode this information within the addend field
-   of the call relocation.  (Note this could break very badly if one
-   was to make a call like bl foo + 0x12345678).
-
-   The high order 10 bits contain parameter relocation information,
-   the low order 22 bits contain the constant offset.  */
-   
-#define HPPA_R_ARG_RELOC(a)    (((a) >> 22) & 0x3FF)
-#define HPPA_R_CONSTANT(a)     ((((int)(a)) << 10) >> 10)
-#define HPPA_R_ADDEND(r,c)     (((r) << 22) + ((c) & 0x3FFFFF))
 #define HPPA_WIDE             (0) /* PSW W-bit, need to check! FIXME */
 
 /* These macros get bit fields using HP's numbering (MSB = 0),