Extend pdp11-aout symbol table format and code for .stab symbols.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 13a3ed180b5c219700252bad36ada1de1dfd15ad..e99de6dbed89b44fa0da36796c7b47610f2f273d 100644 (file)
@@ -1,3 +1,37 @@
+2020-06-04  Stephen Casner  <casner@acm.org>
+
+       Extend pdp11-aout symbol table format to accommodate .stab
+       symbols and implement correct handling of them.
+
+       * pdp11.c (pdp11_external_nlist): Repurposed e_unused to e_desc.
+       (N_STAB, is_stab): Needed new function is_stab to disambiguate
+       normal vs. .stab symbol table type values, replacing N_STAB mask.
+       (translate_from_native_sym_flags): Determine correct section for
+       different .stab types.
+       (translate_to_native_sym_flags): Leave .stab types intact.
+       (translate_symbol_table): Error if symbol indicates overlay;
+       store desc field from .stab symbols.
+       (write_syms): Output desc field with symbol.
+       (aout_link_check_ar_symbols): Skip .stab symbols.
+       (aout_link_add_symbols): Correctly distinguish .stab symbols.
+       (aout_link_write_other_symbol): Write 0 for desk and ovly fields.
+       (aout_link_write_symbols): Write 0 for desk and ovly fields;
+       correctly distinguish .stab symbols and select calculate their
+       section and value; and copy desc and ovly fields from input symbol
+       to output symbol.
+
+2020-06-04  Stephen Casner  <casner@acm.org>
+
+       * aoutx.h (translate_symbol_table): Comment had external and
+       internal swapped.
+       * pdp11.c (translate_symbol_table): Likewise.
+
+2020-06-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elfxx-x86.h (elf_x86_link_hash_table): Remove target_id.
+       (is_x86_elf): Check elf.hash_table_id instead of target_id.
+       * elfxx-x86.c (_bfd_x86_elf_link_hash_table_create): Updated.
+
 2020-06-04  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR ld/26080
This page took 0.023959 seconds and 4 git commands to generate.