summaryrefslogtreecommitdiff
path: root/bfd/syms.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-09-11 14:41:11 +0000
committerIan Lance Taylor <ian@airs.com>1999-09-11 14:41:11 +0000
commit6fbe095d4e6c4d67454010d37d7112908f48e99e (patch)
treeabe55d6e6238139d5092d5ced1f8f531036a817e /bfd/syms.c
parentefb1b66950cc83ca15b8ecc1fb80c53555f93f8c (diff)
downloadgdb-6fbe095d4e6c4d67454010d37d7112908f48e99e.tar.gz
1999-09-11 Donn Terry <donn@interix.com>
* syms.c (BSF_DEBUGGING_RELOC): Define. * coffgen.c (fixup_symbol_value): Relocate a symbol which has BSF_DEBUGGING_RELOC set. * bfd-in2.h: Rebuild.
Diffstat (limited to 'bfd/syms.c')
-rw-r--r--bfd/syms.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/bfd/syms.c b/bfd/syms.c
index 86dc66cbffc..676f067c2a3 100644
--- a/bfd/syms.c
+++ b/bfd/syms.c
@@ -227,7 +227,7 @@ CODE_FRAGMENT
. <<BSF_GLOBAL>> *}
.
. {* The symbol is a debugging record. The value has an arbitary
-. meaning. *}
+. meaning, unless BSF_DEBUGGING_RELOC is also set. *}
.#define BSF_DEBUGGING 0x08
.
. {* The symbol denotes a function entry point. Used in ELF,
@@ -285,6 +285,11 @@ CODE_FRAGMENT
. others someday. *}
.#define BSF_OBJECT 0x10000
.
+. {* This symbol is a debugging symbol. The value is the offset
+. into the section of the data. BSF_DEBUGGING should be set
+. as well. *}
+.#define BSF_DEBUGGING_RELOC 0x20000
+.
. flagword flags;
.
. {* A pointer to the section to which this symbol is