diff options
author | Martin Storsjö <martin@martin.st> | 2021-09-27 11:20:24 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2022-08-24 23:18:47 +0300 |
commit | b53b12c8e86bb30003f7dd644638db770127e689 (patch) | |
tree | 0ab3fb375c322f1e9d14ba1f7f80f0023d1b29b0 /ld/pep-dll.h | |
parent | a37854f9162fac592b669eda53f465fc190c9341 (diff) | |
download | gdb-b53b12c8e86bb30003f7dd644638db770127e689.zip gdb-b53b12c8e86bb30003f7dd644638db770127e689.tar.gz gdb-b53b12c8e86bb30003f7dd644638db770127e689.tar.bz2 |
ld: pe: Make archive member file extension comparisons case insensitive when cross compiling too
On Windows, filename_cmp is case insensitive, but when cross compiling
with libraries that may contain members with uppercase file names, we
should keep those comparisons case insensitive when running the build
tools on other OSes too.
Also make the check for .def consistent with the other ones, fixing
out of bounds reads if file names are shorter than 4 characters.
Diffstat (limited to 'ld/pep-dll.h')
0 files changed, 0 insertions, 0 deletions