diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0cff8a3b43..febd1eabe1 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +Tue Feb 16 00:44:54 1993 John Gilmore (gnu@cygnus.com) + + * bfd-in.h, VERSION: Roll to version 2.1. + Mon Feb 15 20:43:51 1993 John Gilmore (gnu@cygnus.com) * oasys.c (oasys_write_object_contents): Lint. diff --git a/bfd/VERSION b/bfd/VERSION index a4d2aceeb8..879b416e60 100644 --- a/bfd/VERSION +++ b/bfd/VERSION @@ -1 +1 @@ -0.18 +2.1 diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h index 637af0d2fe..d5eeb564b1 100644 --- a/bfd/bfd-in.h +++ b/bfd/bfd-in.h @@ -45,7 +45,7 @@ here. */ #include "ansidecl.h" #include "obstack.h" -#define BFD_VERSION "2.0" +#define BFD_VERSION "2.1" /* forward declaration */ typedef struct _bfd bfd; @@ -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) @@ -193,6 +193,8 @@ typedef struct sec *sec_ptr; #define bfd_get_section_flags(bfd, ptr) ((ptr)->flags + 0) #define bfd_get_section_userdata(bfd, ptr) ((ptr)->userdata) +#define bfd_is_com_section(ptr) (((ptr)->flags & SEC_IS_COMMON) != 0) + #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (val)), ((ptr)->user_set_vma = true), true) #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),true) #define bfd_set_section_userdata(bfd, ptr, val) (((ptr)->userdata = (val)),true)