Tue Jan 19 12:25:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
authorIan Lance Taylor <ian@airs.com>
Tue, 19 Jan 1993 17:32:43 +0000 (17:32 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 19 Jan 1993 17:32:43 +0000 (17:32 +0000)
* bfd.h: Update for bfd_asymbol_value bug fix.

include/bfd.h

index d323f1020244f52e00c926c4eb79a213a27a779b..3f9947e2709da26ef290f454d8e62ffe496051f4 100644 (file)
@@ -144,7 +144,7 @@ typedef int symtype;                /* Who knows, yet? */
 #define bfd_get_output_section(x) ((x)->section->output_section)
 #define bfd_set_section(x,y) ((x)->section) = (y)
 #define bfd_asymbol_base(x) ((x)->section->vma)
-#define bfd_asymbol_value(x) (bfd_asymbol_base(x) + x->value)
+#define bfd_asymbol_value(x) (bfd_asymbol_base(x) + (x)->value)
 #define bfd_asymbol_name(x) ((x)->name)
 /*Perhaps future: #define bfd_asymbol_bfd(x) ((x)->section->owner)*/
 #define bfd_asymbol_bfd(x) ((x)->the_bfd)