ELF: Use index 0 for unversioned undefined symbols (#168189)
The GNU documentation is ambiguous about the version index for
unversioned undefined symbols. The current specification at
https://sourceware.org/gnu-gabi/program-loading-and-dynamic-linking.txt
defines VER_NDX_LOCAL (0) as "The symbol is private, and is not
available outside this object."
However, this naming is misleading for undefined symbols. As suggested
in
discussions, VER_NDX_LOCAL should conceptually be VER_NDX_NONE and apply
to unversioned undefined symbols as well.
GNU ld has used index 0 for unversioned undefined symbols both before
version 2.35 (see https://sourceware.org/PR26002) and in the upcoming
2.46 release (see https://sourceware.org/PR33577). This change aligns
with GNU ld's behavior by switching from index 1 to index 0.
While here, add a test to dso-undef-extract-lazy.s that undefined
symbols of index 0 in DSO are treated as unversioned symbols.
[VPlan] Create resume phis in scalar preheader early. (NFC) (#166099)
Create phi recipes for scalar resume value up front in addInitialSkeleton during initial construction. This will allow moving the remaining code dealing with resume values to VPlan transforms/construction.
PR: https://github.com/llvm/llvm-project/pull/166099
[AArch64] Mark FMOVvXfY_ns as rematerializable, cheap
Otherwise, the register allocator may spill and reload constants that
can be rematerialized with a single instruction.
hunspell: Fix a ctype(3) abuse
There are probably other ctype(3) abuses but "-Wall" does not seem to
work when <cctype> is included because the macros get undef-ed and
that one was exercised the hard way via `hunspell -t`.
PKGREVISION++
tests/lib/libpthread: Don't abuse xfail.
Use a signal handler to check for SIGABRT, rather than
atf_tc_expect_signal.
xfail is for when there is a bug that we haven't fixed yet and the
test manifests a symptom of that bug -- a list of xfails is a list of
open bugs to be fixed. In this case, we are verifying that
pthread_create _correctly_ raises SIGABRT (or fails with nonzero
return code -- both are acceptable outcomes, really), and there is no
bug here at the moment.
Prompted by (but unrelated to):
PR lib/59784: dlopening and dlclosing libpthread is broken
tests/lib/libpthread: Test unloading libpthread after lazy binding.
If you dlopen libpthread and dlclose it again, the thread stubs like
pthread_mutex_lock need to continue working -- a library might have
calls to it in order to support thread-safety for threaded
applications, but that library needs to continue working even in
non-threaded applications after lazy binding of the libpthread symbol
instead of the libc stub.
PR lib/59784: dlopening and dlclosing libpthread is broken
security/stunnel: Improve port
* Remove GNU_CONFIGURE_MANPREFIX (redundant)
* Remove if statement for libressl, already covered by BROKEN_SSL definition
* Rework multiple REINPLACE_CMD commands, remove no longer valid ones and remove requirement of -E switch. These should also be a bit easier to follow
* Use modern framework helpers for options
* Remove redundant LDFLAGS
* Rework Makefile layout to more closely follow Porters Handbook and reduces Makefile size overall
* Don't install stunnel.logrotate and stunnel.rh.init (cleans up pkg-plist)
* Remove bash-completion from pkg-plist, not installed unless specified during configure stage
PR: 290360
Approved by: maintainer timeout, blanket
py-exceptiongroup: updated to 1.3.1
1.3.1
- Fixed ``AttributeError: 'TracebackException' object has no attribute 'exceptions'``
when formatting unpickled TBEs from another Python process which did not apply the
``exceptiongroup`` patches