special meaning for normal symbols, but not for dynamic symbols.
+Mon Jan 24 12:38:54 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
+
+ * aoutx.h (translate_symbol_table): The string index 0 has a
+ special meaning for normal symbols, but not for dynamic symbols.
+
Sat Jan 22 12:26:01 1994 Stu Grossman (grossman at cygnus.com)
* sparclynx.c: Setup appropriate macros to enable core file
x = GET_WORD (abfd, ext->e_strx);
in->symbol.the_bfd = abfd;
- if (x < strsize)
+
+ /* For the normal symbols, the zero index points at the number
+ of bytes in the string table but is to be interpreted as the
+ null string. For the dynamic symbols, the number of bytes in
+ the string table is stored in the __DYNAMIC structure and the
+ zero index points at an actual string. */
+ if (x == 0 && ! dynamic)
+ in->symbol.name = "";
+ else if (x < strsize)
in->symbol.name = str + x;
else
return false;