[RuntimeDyld] Implement more relocations for 32-bit PowerPC (#229933)
RuntimeDyldELF handled only R_PPC_ADDR16_{LO,HI,HA} on 32-bit PowerPC
and aborted on anything else. Any object with a call (R_PPC_REL24) or an
.eh_frame section (R_PPC_REL32) hit that, so MCJIT could not run even
trivial modules.
Add R_PPC_ADDR32, R_PPC_REL32, R_PPC_REL16_{LO,HA}, R_PPC_REL24 and
R_PPC_PLTREL24. The addend of R_PPC_PLTREL24 selects the GOT pointer of
a PLT call stub and is not an offset from the symbol, so it is ignored.
Calls to external symbols or out-of-range targets go through a stub that
loads the address into r12 and branches through CTR, as on 64-bit
PowerPC.
Also give getGOTEntrySize() an answer for 32-bit PowerPC. It is reached
when the memory manager reserves allocation space, as remote MCJIT does.
This lets Mesa's llvmpipe run on 32-bit PowerPC.
Assisted-by: Claude Code
rtld: release rtld_bind_lock around calls to .preinit_array initializers
We unlock the bind lock around .init calls anyway. Also, the main
object cannot be unloaded.
Reported and reviewed by: dim
PR: 298943
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D60588
[GlobalISel] Preserve demanded lanes in G_CTLS KnownBits queries (#230096)
Pass DemandedElts to the recursive sign-bit query so selected vector
lanes retain their count range.
Assisted by: GPT 6.1 Sol
[memprof] Remove MemProf format Version 2 (#229262)
It's been a couple of years since we introduced Version 3. Since our
active development has moved on to Version 4 these days, this patch
removes the old version.
[llubi] Add support for `bitinsert` and `bitextract`
Add interpreter support for the `bitinsert` and `bitextract` instructions.
The bits are read and written at any bit offset, through the existing
`Context::fromBytes`/`Context::toBytes` overloads. They keep poison bits and
pointer provenance tags per bit.
An out-of-range or `poison` offset returns `poison`.
System: Routes: Configuration - concurrency fix and small cleanups for https://github.com/opnsense/core/issues/10569
If we want to allow a single network being routed through multiple next hops, we should alter our cleanup to use the actual gateway instead of always dropping the destination network.
This change only uniforms how we collect that information from the ui and implements proper locking, the logic itself (drop network when altered or removed) isn't changed yet.
[llubi] Make sure the allocated address can be represented (#230656)
`deriveFromMemoryObject` assumes that the address always fits in the
address space. Check this in `Context::allocate` to avoid crashes.
The test is generated by DeepSeek-V4.1-Flash.
finance/py-openbb-jodi: New port: OpenBB: JODI (Joint Organisations Data Initiative) data extension
PR: 299043
Approved by: Baptiste Daroussin <bapt at FreeBSD.org> (on behalf of portmgr@)
finance/py-openbb-cli: New port: OpenBB: Command Line Interface for the OpenBB Platform
PR: 299041
Approved by: Baptiste Daroussin <bapt at FreeBSD.org> (on behalf of portmgr@)
finance/py-openbb-devtools: New port: OpenBB: Development tools for OpenBB packages
PR: 299042
Approved by: Baptiste Daroussin <bapt at FreeBSD.org> (on behalf of portmgr@)
direnv: Update to 2.38.2
Changes:
2.38.2
======
* fix(zsh): load the .envrc in a new shell and on cd from shell functions again
* fix(fish): stop completions from breaking after the first prompt
* fix(pixi): require_allowed for the manifest file as well
rlwrap: Update to 0.48
Changes:
0.48
----
- rlwrap would mess up history when compiled with readline-8.3
- allow full user control of word-breakers with
--break-chars='precisely:...'
- simplify handling of --prompt-colour, enable general (ANSI)
color codes for e.g. 256-color terminals
- --filter 'filter_commandline $with <shell_matachars' would
not find filters in $RLWRAP_FILTERDIR
- rlwrap in vi mode would not always honour show-mode-in-prompt
- make 'pipeline' filter find filters in $RLWRAP_FILTERDIR; add
-i option to 'logger' and 'logger.py'
- add example filter null2.py (to show how to make argparse print
filter help with 'rlwrap -z filter')