aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1992-10-08 16:03:58 +0000
committerSteve Chamberlain <sac@cygnus>1992-10-08 16:03:58 +0000
commitab414d8767e0e420b893c83955050ba0fdc5df26 (patch)
treeb1fb9cfded2e25546b5f0e3f3fc2922e9f93808f
parent294eaca479e9ced9a87b958c37feb2c570aa1595 (diff)
downloadgdb-ab414d8767e0e420b893c83955050ba0fdc5df26.zip
gdb-ab414d8767e0e420b893c83955050ba0fdc5df26.tar.gz
gdb-ab414d8767e0e420b893c83955050ba0fdc5df26.tar.bz2
Now a bfd knows whether underscores are normally prepended
to symbols in its file format.
-rw-r--r--include/ChangeLog6
-rw-r--r--include/bfd.h3
2 files changed, 8 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index e02f481..3b74f34 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,5 +1,11 @@
+Thu Oct 8 09:03:02 1992 Steve Chamberlain (sac@thepub.cygnus.com)
+
+ * bfd.h (bfd_get_symbol_leading_char): new macro for getting in xvec
+
Thu Sep 3 09:10:50 1992 Stu Grossman (grossman at cygnus.com)
+ * bfd.h (struct reloc_howto_struct): size needs to be signed if
+ it's going to hold negative values.
Sun Aug 30 17:50:27 1992 Per Bothner (bothner@rtl.cygnus.com)
diff --git a/include/bfd.h b/include/bfd.h
index e8f75b1..780c0bc 100644
--- a/include/bfd.h
+++ b/include/bfd.h
@@ -327,7 +327,7 @@ extern CONST short _bfd_host_big_endian;
#define bfd_get_architecture(abfd) ((abfd)->obj_arch)
#define bfd_get_machine(abfd) ((abfd)->obj_machine)
-
+#define bfd_get_symbol_leading_char(abfd) ((abfd)->xvec->symbol_leading_char)
#define BYTE_SIZE 1
#define SHORT_SIZE 2
@@ -1274,6 +1274,7 @@ typedef struct bfd_target
boolean header_byteorder_big_p;
flagword object_flags;
flagword section_flags;
+ char symbol_leading_char;
char ar_pad_char;
unsigned short ar_max_namelen;
unsigned int align_power_min;