Delete NEWHOWTO and tidy some uses of reloc_howto_struct
[deliverable/binutils-gdb.git] / bfd / bfd-in2.h
index 58afff24c9f61b8af1d36a86f31a78f3c7be1cb0..617f2c9e04d4cd046c0440cfc12384d48a045dcd 100644 (file)
@@ -2660,29 +2660,10 @@ struct reloc_howto_struct
 
 #define HOWTO(C, R, S, B, P, BI, O, SF, NAME, INPLACE, MASKSRC, MASKDST, PC) \
   { (unsigned) C, R, S, B, P, BI, O, SF, NAME, INPLACE, MASKSRC, MASKDST, PC }
-#define NEWHOWTO(FUNCTION, NAME, SIZE, REL, IN) \
-  HOWTO (0, 0, SIZE, 0, REL, 0, complain_overflow_dont, FUNCTION, \
-         NAME, FALSE, 0, 0, IN)
-
 #define EMPTY_HOWTO(C) \
   HOWTO ((C), 0, 0, 0, FALSE, 0, complain_overflow_dont, NULL, \
          NULL, FALSE, 0, 0, FALSE)
 
-#define HOWTO_PREPARE(relocation, symbol)              \
-  {                                                    \
-    if (symbol != NULL)                                \
-      {                                                \
-        if (bfd_is_com_section (symbol->section))      \
-          {                                            \
-            relocation = 0;                            \
-          }                                            \
-        else                                           \
-          {                                            \
-            relocation = symbol->value;                \
-          }                                            \
-      }                                                \
-  }
-
 unsigned int bfd_get_reloc_size (reloc_howto_type *);
 
 typedef struct relent_chain
This page took 0.043082 seconds and 4 git commands to generate.