diff options
author | John Gilmore <gnu@cygnus> | 1993-02-16 08:49:29 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1993-02-16 08:49:29 +0000 |
commit | ec30dfba1725e58d81c92c3af6712e88653edc9b (patch) | |
tree | 7ec7d1b940508010561cde1d7e8eda1f3fac4db3 | |
parent | ef956fecd218ca505901150b036e51b74a699978 (diff) | |
download | gdb-ec30dfba1725e58d81c92c3af6712e88653edc9b.zip gdb-ec30dfba1725e58d81c92c3af6712e88653edc9b.tar.gz gdb-ec30dfba1725e58d81c92c3af6712e88653edc9b.tar.bz2 |
Roll to version 2.1.
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/VERSION | 2 | ||||
-rw-r--r-- | bfd/bfd-in.h | 6 |
3 files changed, 9 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0cff8a3..febd1ea 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 a4d2ace..879b416 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 637af0d..d5eeb56 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) |