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-Tag: gdb-4_18~20336 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=74e819499191a3ee910f57980e4f7005d2737ca7;p=platform%2Fupstream%2Fbinutils.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 d323f10..3f9947e 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)