aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-pe/pdb.exp
AgeCommit message (Collapse)AuthorFilesLines
9 daysld/PDB: handle empty LF_FIELDLIST typesMark Harmstone1-1/+1
Empty structs in C++ lead to empty LF_FIELDLIST types in the .debug$T section, but we were mistakenly rejecting these as invalid. Allow CodeView types of two bytes, and add a test for this.
2024-01-04Update year range in copyright notice of binutils filesAlan Modra1-1/+1
Adds two new external authors to etc/update-copyright.py to cover bfd/ax_tls.m4, and adds gprofng to dirs handled automatically, then updates copyright messages as follows: 1) Update cgen/utils.scm emitted copyrights. 2) Run "etc/update-copyright.py --this-year" with an extra external author I haven't committed, 'Kalray SA.', to cover gas testsuite files (which should have their copyright message removed). 3) Build with --enable-maintainer-mode --enable-cgen-maint=yes. 4) Check out */po/*.pot which we don't update frequently.
2023-01-25ld/testsuite: Add missing targets to PDB testsMark Harmstone1-1/+7
2023-01-25ld: Add pdb support to aarch64-w64-mingw32Mark Harmstone1-1/+2
This extends PDB support to the aarch64 PE targets. The changes to the test files are just to make it so they can be assembled as either x86, x86_64, or aarch64, mainly by changing the comment style. The only actual code change here is in adding the architecture constants to pdb.c.
2023-01-01Update year range in copyright notice of binutils filesAlan Modra1-1/+1
The newer update-copyright.py fixes file encoding too, removing cr/lf on binutils/bfdtest2.c and ld/testsuite/ld-cygwin/exe-export.exp, and embedded cr in binutils/testsuite/binutils-all/ar.exp string match.
2022-12-31ld/testsuite: Don't add index to sizes in pdb.expMark Harmstone1-3/+3
2022-12-31ld: Handle LF_VFTABLE types in PDBsMark Harmstone1-1/+1
2022-12-31ld: Handle extended-length data structures in PDB typesMark Harmstone1-1/+1
A few fixes to minor issues I've discovered in my PDB patches. * If sizes or offsets are greater than 0x8000, they get encoded as extended values in the same way as for enum values - e.g. a LF_ULONG .short followed by a .long. * I've managed to coax MSVC to produce another type, LF_VFTABLE, which is seen when dealing with COM. I don't think LLVM emits this. Note that we can't just implement everything in Microsoft's header files, as most of it is obsolete. * Fixes a stupid bug in the test program, where I was adding an index to a size. The index was hard-coded to 0, so this didn't cause any actual issues.
2022-12-23ld: Write linker symbols in PDBMark Harmstone1-0/+77
2022-12-23ld: Copy other symbols into PDB fileMark Harmstone1-0/+67
2022-12-23ld: Write globals stream in PDBMark Harmstone1-0/+164
2022-12-23ld: Parse LF_UDT_SRC_LINE records when creating PDB fileMark Harmstone1-0/+133
2022-12-23ld: Write types into IPI stream of PDBMark Harmstone1-0/+172
2022-12-23ld: Write types into TPI stream of PDBMark Harmstone1-0/+172
2022-12-23ld: Write DEBUG_S_LINES entries in PDB fileMark Harmstone1-1/+1
2022-12-23ld: Write DEBUG_S_FILECHKSMS entries in PDBsMark Harmstone1-0/+154
2022-12-23ld: Generate PDB string tableMark Harmstone1-0/+122
2022-11-23ld: Add section contributions substream to PDB filesMark Harmstone1-2/+27
2022-11-10ld: Add module information substream to PDB filesMark Harmstone1-40/+174
2022-10-31ld: Add publics stream to PDB filesMark Harmstone1-1/+106
2022-10-31ld: Add section header stream to PDB filesMark Harmstone1-0/+123
2022-10-20ld: Add minimal pdb generationMark Harmstone1-0/+267
2022-10-20ld: Add --pdb optionMark Harmstone1-0/+53
Second patch incorporates fixes for endian and UB issues in calc_hash, as per https://sourceware.org/pipermail/binutils/2022-October/123514.html.