glibc:arm/morello/v1

Last commit made on 2022-08-05
Get this branch:
git clone -b arm/morello/v1 https://git.launchpad.net/glibc

Branch merges

Branch information

Name:
arm/morello/v1
Repository:
lp:glibc

Recent commits

2f3bf4c... by Carlos Eduardo Seo <email address hidden>

TODO(drop): aarch64: morello: CPU feature detection for Morello

Initial detection of Arm Morello architecture from the HWCAP2 bit and CPU
identification from MIDR_EL0.

TODO: not needed?
- lp64 does not have to detect
- purecap can assume morello

ccce788... by Szabolcs Nagy <email address hidden>

TODO(gprof): aarch64: morello: add gprof profiling support to asm

Assembly prologue code with mcount call for gprof instrumentation.

TODO: untested, likely needs further runtime updates too.

5ef98a9... by Szabolcs Nagy <email address hidden>

TODO(sprof): cheri: disable profiling shared libraries

This is needed now to avoid referencing abort in ld.so.

TODO: Fixing shared library profiling for capabilities requires
type fixes so capabilities are not stored into shared memory
(maybe purecap layout can match the lp64 one and then no file format
and external tooling change is required.)
TODO: Proper fix also depends on _dl_runtime_profile plt entry

a8989ae... by Szabolcs Nagy <email address hidden>

TODO(audit): aarch64: morello: add _dl_runtime_profile entry

Required for LD_AUDIT PLT hooks and shared library profiling.

incomplete, untested.

TODO: needs La_aarch64* layout definition for morello
TODO: needs to save c9 for vararg abi

7f9c78b... by Carlos Eduardo Seo <email address hidden>

TODO(pldd): cheri: elf: fix pldd to compile for purecap abi

Adjust types in the E(*) structs to support capabilities.

TODO: purecap pldd should refuse to deal with lp64 and ELF32 processes.
the code for the 32bit case should be disabled.
TODO: a correct fix requires support for all abis that can run on the
same system (purecap, lp64 and ELF32 too).

7dac605... by Carlos Eduardo Seo <email address hidden>

cheri: Update libc.abilist for getauxptr

Updates libc.abilist files for getauxptr to version 2.37.

6cca02f... by Carlos Eduardo Seo <email address hidden>

cheri: elf: Fix tst-auxv for Morello

2b9e393... by Carlos Eduardo Seo <email address hidden>

TODO(api): cheri: misc: Implement new function getauxptr for CHERI capabilities

New function to return values from the auxiliary vector as
capabilities. This is the same as implemented by other C libraries.

TODO: agree about exact semantics across libcs

d74b162... by Szabolcs Nagy <email address hidden>

TODO(uapi): aarch64: morello: add HWCAP2_MORELLO

TODO: the value will change

f4fe4af... by Carlos Eduardo Seo <email address hidden>

support: Fix TEST_COMPARE for uintptr_t.

TEST_COMPARE should allow comparison between two capability values.