[PATCH v2] ld/pdb: Handle bigobj input files in handle_debugs_section
Jan Beulich
jbeulich@suse.com
Mon Nov 9 07:42:04 GMT 2026
On 06.11.2026 21:33, Oleg Tolmatcev wrote:
> handle_debugs_section stepped through the raw COFF symbol table using
> sizeof (struct external_syment), but symbol table entries in
> pe-bigobj files are 20 bytes rather than 18. Use bfd_coff_symesz
> instead.
>
> Run the C13 line info test a second time with objects assembled with
> -mbig-obj on x86.
>
> ld/
> * pdb.c (handle_debugs_section): Use bfd_coff_symesz to step
> through the raw symbol table.
> * testsuite/ld-pe/pdb.exp (test4): Take assembler flags. Run it
> with -mbig-obj on x86.
>
> Signed-off-by: Oleg Tolmatcev <oleg.tolmatcev@gmail.com>
Okay.
Jan
More information about the Binutils
mailing list