[libc][test][NFC] Fix compiler warnings in libc tests (#212100)
Resolved compiler warnings in several libc unit and integration tests:
- Fixed -Wmissing-designated-field-initializers in localtime_r_test.cpp
by using zero-initialisation instead of partial designated initialisers.
- Fixed -Wimplicit-int-conversion in sigaltstack_test.cpp by explicitly
casting the loop index to uint8_t.
- Fixed -Wunused-parameter in pthread_barrier_test.cpp by omitting
unused parameter names in function definitions.
Assisted-by: Automated tooling, human reviewed.
[ELF] Fix dynamic relocations in .eh_frame (#210967)
scanEhSection translates input offsets to merged .eh_frame offsets
before creating dynamic relocations. DynamicReloc::getOffset translated
them a second time through EhInputSection.
Use the synthetic parent for already merged offsets, and use the
finalized relocation offset when verifying applied addends.
---------
Co-authored-by: Fangrui Song <i at maskray.me>
Update to nabud-1.4.3.
Upstream changes: New --with-pak=no and --with-ssl=no which, when combined,
will elide any crypto library references from nabud.
math/cminpack: Update to 1.3.14
ChangeLog: https://github.com/devernay/cminpack/releases/tag/v1.3.14
* Replace examples/crosscheck.sh with examples/crosscheck.py (no /bin/sh
dependency); add examples/compare.py and examples/driver_check.py. Wire an
informational cross-check into CMake/CTest via the CMINPACK_CROSSCHECK option.
Python 3 is optional in both build systems: when absent only the cross-check
is skipped, with a disclaimer.
* Fix a compile error in examples/tenorm_.c (pass dpmpar_ its index by pointer,
the FORTRAN/f2c calling convention).
* Document the numerical differences from FORTRAN MINPACK and the test setup in
the README and HTML docs; correct the enorm.c comments (the divergence is
FMA, not the rdwarf/rgiant scaling constants).