glibc/scripts
Florian Weimer d33705c0b0 scripts/glibcelf.py: Properly report <elf.h> parsing failures
Without this change, parse failures result in an exception:

Traceback (most recent call last):
  File "tst-glibcelf.py", line 23, in <module>
    import glibcelf
  File "/path/to/git/scripts/glibcelf.py", line 226, in <module>
    _elf_h = _parse_elf_h()
  File "/path/to/git/scripts/glibcelf.py", line 221, in _parse_elf_h
    result = glibcpp.macro_eval(glibcpp.macro_definitions(tokens), reporter)
  File "/path/to/git/scripts/glibcpp.py", line 379, in macro_eval
    reporter.error(md.line, 'macro {} redefined'.format(md.name))
  File "/path/to/git/scripts/glibcelf.py", line 214, in error
    errors += 1
UnboundLocalError: local variable 'errors' referenced before assignment
2022-11-03 12:24:17 +01:00
..
abi-versions.awk
abilist.awk Add GLIBC_ABI_DT_RELR for DT_RELR support 2022-04-26 10:16:11 -07:00
backport-support.sh
build-many-glibcs.py Use Linux 6.0 in build-many-glibcs.py 2022-10-04 13:57:19 +00:00
check-c++-types.sh grep: egrep -> grep -E, fgrep -> grep -F 2022-06-05 12:09:02 -07:00
check-execstack.awk
check-initfini.awk
check-installed-headers.sh
check-local-headers.sh
check-localplt.awk
check-obsolete-constructs.py scripts: Extract glibcpp.py from check-obsolete-constructs.py 2022-09-22 12:10:41 +02:00
check-textrel.awk
check-wrapper-headers.py
check-wx-segment.py
config-uname.sh
config.guess Update scripts/config.* files from upstream GNU config version 2022-07-19 09:32:19 -03:00
config.sub Update scripts/config.* files from upstream GNU config version 2022-07-19 09:32:19 -03:00
cpp
cross-test-ssh.sh
documented.sh grep: egrep -> grep -E, fgrep -> grep -F 2022-06-05 12:09:02 -07:00
dso-ordering-test.py scripts/dso-ordering-test.py: Generate program run-time dependencies 2022-09-06 07:38:16 +02:00
evaluate-test.sh
firstversions.awk
gen-as-const.py
gen-libc-abis
gen-libc-modules.awk
gen-posix-conf-vars.awk
gen-rrtypes.py
gen-sorted.awk
gen-tunables.awk scripts: Use bool in tunables initializer 2022-10-28 11:14:54 +01:00
glibc_shared_code.py
glibcelf.py scripts/glibcelf.py: Properly report <elf.h> parsing failures 2022-11-03 12:24:17 +01:00
glibcextract.py glibcextract.py: Add compile_c_snippet 2022-08-12 09:15:03 -03:00
glibcpp.py scripts: Enhance glibcpp to do basic macro processing 2022-09-22 12:10:41 +02:00
glibcsymbols.py
haveversions.awk
install-sh
lib-names.awk
list-fixed-bugs.py
list-sources.sh
localplt.awk scripts/localplt.awk: Handle DT_JMPREL with empty PLT (for C-SKY) 2022-10-27 11:36:44 +02:00
merge-test-results.sh
mkinstalldirs
move-if-change
move-symbol-to-libc.py
pylint
pylintrc
rellns-sh
soversions.awk
sysd-rules.awk
test_printers_common.py
test_printers_exceptions.py
test-installation.pl
tst-elf-edit.py csu: Implement and use _dl_early_allocate during static startup 2022-05-16 18:42:03 +02:00
tst-ld-trace.py elf: Fix DFS sorting algorithm for LD_TRACE_LOADED_OBJECTS with missing libraries (BZ #28868) 2022-04-27 08:36:09 -03:00
update-abilist.sh
update-copyrights
vcstocl_quirks.py
versionlist.awk
versions.awk Add GLIBC_ABI_DT_RELR for DT_RELR support 2022-04-26 10:16:11 -07:00