https://sourceware.org/bugzilla/show_bug.cgi?id=25828
--- Comment #1 from Stephen Casner <casner at acm dot org> --- Created attachment 12462 --> https://sourceware.org/bugzilla/attachment.cgi?id=12462&action=edit Patch to fix undefined symbols and sign extension When bfd/pdp11.c was copied from bfd/aoutx.h, the #defines for external symbol types N_TEXT etc. were #undef'd and then #define'd with new values. But N_STAB was not changed even though the new value for N_EXT overlapped with it. This caused aout_link_write_symbols() to treat global symbols referenced in the source but defined in a linker script as undefined. Separately, in translate_symbol_table() the 16-bit symbol values were sign extended to unsigned long (e.g., 64 bits) when they really should be treated as unsigned so the value remains 16 bits. -- You are receiving this mail because: You are on the CC list for the bug.