aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-09-26 16:56:28 +0000
committerIan Lance Taylor <ian@airs.com>1995-09-26 16:56:28 +0000
commitfcf490c05f5bfe2a302c3309f51a863606a2a972 (patch)
treecc0f37fc2b13f2bebac8fec6850fa8236b2157a4 /bfd/bfd-in2.h
parent7a7fbffb25e87d2399478a82f6f41343ea78450a (diff)
downloadgdb-fcf490c05f5bfe2a302c3309f51a863606a2a972.zip
gdb-fcf490c05f5bfe2a302c3309f51a863606a2a972.tar.gz
gdb-fcf490c05f5bfe2a302c3309f51a863606a2a972.tar.bz2
* aoutx.h (translate_from_native_sym_flags): Don't try to stuff
pointers into value field for warning and indirect symbols; just leave the value field alone. * linker.c (generic_link_add_symbol_list): Use next symbol for warning and indirect symbols, rather than looking in symbol value. * ecoff.c (ecoff_set_symbol_info): Remove indirect_ptr_ptr parameter. Change all callers. Remove support for indirect symbols; it didn't work anyhow. (_bfd_ecoff_slurp_symbol_table): Remove indirect_ptr variable. * syms.c: Change comments about BSF_WARNING and BSF_INDIRECT. * bfd-in2.h: Rebuild.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 7d24c9c..4cf87df 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -1682,15 +1682,14 @@ typedef struct symbol_cache_entry
/* Signal that the symbol is the label of constructor section. */
#define BSF_CONSTRUCTOR 0x800
- /* Signal that the symbol is a warning symbol. If the symbol
- is a warning symbol, then the value field (I know this is
- tacky) will point to the asymbol which when referenced will
- cause the warning. */
+ /* Signal that the symbol is a warning symbol. The name is a
+ warning. The name of the next symbol is the one to warn about;
+ if a reference is made to a symbol with the same name as the next
+ symbol, a warning is issued by the linker. */
#define BSF_WARNING 0x1000
- /* Signal that the symbol is indirect. The value of the symbol
- is a pointer to an undefined asymbol which contains the
- name to use instead. */
+ /* Signal that the symbol is indirect. This symbol is an indirect
+ pointer to the symbol with the same name as the next symbol. */
#define BSF_INDIRECT 0x2000
/* BSF_FILE marks symbols that contain a file name. This is used