From 74e819499191a3ee910f57980e4f7005d2737ca7 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 19 Jan 1993 17:32:43 +0000 Subject: [PATCH] Tue Jan 19 12:25:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * bfd.h: Update for bfd_asymbol_value bug fix. --- include/bfd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2