From: Ian Lance Taylor Date: Tue, 19 Jan 1993 17:32:43 +0000 (+0000) Subject: Tue Jan 19 12:25:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=74e819499191a3ee910f57980e4f7005d2737ca7;p=binutils-gdb.git Tue Jan 19 12:25:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * bfd.h: Update for bfd_asymbol_value bug fix. --- diff --git a/include/bfd.h b/include/bfd.h index d323f102024..3f9947e2709 100644 --- a/include/bfd.h +++ b/include/bfd.h @@ -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)