* aoutx.h (translate_from_native_sym_flags): Give warning symbols
an (unused) nonzero section value, needed for check below.
This commit is contained in:
parent
5cc730861d
commit
0c205af2c5
@ -1,3 +1,8 @@
|
||||
Tue Jan 18 03:54:59 1994 David J. Mackenzie (djm@thepub.cygnus.com)
|
||||
|
||||
* aoutx.h (translate_from_native_sym_flags): Give warning symbols
|
||||
an (unused) nonzero section value, needed for check below.
|
||||
|
||||
Mon Jan 17 15:12:07 1994 David J. Mackenzie (djm@thepub.cygnus.com)
|
||||
|
||||
* aoutx.h (translate_from_native_sym_flags,
|
||||
|
@ -1168,6 +1168,11 @@ DEFUN (translate_from_native_sym_flags, (sym_pointer, cache_ptr, abfd),
|
||||
abort ();
|
||||
cache_ptr->symbol.value = (bfd_vma) ((cache_ptr + 1));
|
||||
|
||||
/* We don't use a warning symbol's section, but we need
|
||||
it to be nonzero for the sanity check below, so
|
||||
pick one arbitrarily. */
|
||||
cache_ptr->symbol.section = &bfd_abs_section;
|
||||
|
||||
/* We furgle with the next symbol in place.
|
||||
We don't want it to be undefined, we'll trample the type */
|
||||
(sym_pointer + 1)->e_type[0] = 0xff;
|
||||
|
Loading…
Reference in New Issue
Block a user