diff options
author | Ian Lance Taylor <ian@airs.com> | 1993-01-19 17:32:43 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1993-01-19 17:32:43 +0000 |
commit | 74e819499191a3ee910f57980e4f7005d2737ca7 (patch) | |
tree | 51aa28eff8643934a1777524882a5f574eb679d4 /include | |
parent | 8b8a071eb211dc39b8ad62317eab4ae98f075904 (diff) | |
download | gdb-74e819499191a3ee910f57980e4f7005d2737ca7.zip gdb-74e819499191a3ee910f57980e4f7005d2737ca7.tar.gz gdb-74e819499191a3ee910f57980e4f7005d2737ca7.tar.bz2 |
Tue Jan 19 12:25:12 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* bfd.h: Update for bfd_asymbol_value bug fix.
Diffstat (limited to 'include')
-rw-r--r-- | include/bfd.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) |