diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-06-14 17:06:08 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-06-14 17:06:08 +0000 |
commit | ac9ed09667f63fe7bad504e039e50a84cc860d9c (patch) | |
tree | 2b797cccc17fb3afededc1fdbf9c89086b7191ff /bfd/libecoff.h | |
parent | e884f418024990e23d60c276025e52050304518b (diff) | |
download | fsf-binutils-gdb-ac9ed09667f63fe7bad504e039e50a84cc860d9c.zip fsf-binutils-gdb-ac9ed09667f63fe7bad504e039e50a84cc860d9c.tar.gz fsf-binutils-gdb-ac9ed09667f63fe7bad504e039e50a84cc860d9c.tar.bz2 |
For PR 4865.
* libecoff.h (struct ecoff_link_hash_entry): Change type of
written from boolean to char. Add new field small.
* ecoff.c (ecoff_link_hash_newfunc): Initialize written to 0
rather than false. Initialize small to 0.
(ecoff_link_add_externals): If ECOFF type is scSUndefined, set
small. If small is set, and hash table type is common, force the
symbol into a section named SCOMMON and change the ECOFF type from
scCommon to scSCommon.
(ecoff_link_write_external): Set written to 1 rather than true.
* coff-mips.c (mips_relocate_section): Correct JMPADDR reloc
overflow check to consider section VMA of input file.
Diffstat (limited to 'bfd/libecoff.h')
-rw-r--r-- | bfd/libecoff.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/libecoff.h b/bfd/libecoff.h index 0d20c4b..d4d503d 100644 --- a/bfd/libecoff.h +++ b/bfd/libecoff.h @@ -206,6 +206,10 @@ struct ecoff_link_hash_entry bfd *abfd; /* ECOFF external symbol information. */ EXTR esym; + /* Nonzero if this symbol has been written out. */ + char written; + /* Nonzero if this symbol was referred to as small undefined. */ + char small; }; /* ECOFF linker hash table. */ |