freebsd-dev/lib
John Baldwin a6db407f15 libpmcstat: Fix a few ARM-specific issues with function symbols.
- Refine the checks for ARM mapping symbols and apply them on arm64 as
  well as 32-bit arm.  In particular, mapping symbols can have
  additional characters and are not strictly limited to just "$a" but
  can append additional characters (e.g. "$a.1").  Add "$x" to the
  list of mapping symbol prefixes.

- Clear the LSB of function symbol addresses.  Thumb function
  addresses set the LSB to enable Thumb mode.  However, the actual
  function starts at the aligned address with LSB clear.  Not clearing
  the LSB can cause pmcannotate to pass misaligned addresses to
  objdump when extracting disassembly.

Reviewed by:	andrew
Obtained from:	CheriBSD
Sponsored by:	University of Cambridge, Google, Inc.
Differential Revision:	https://reviews.freebsd.org/D34416
2022-03-10 15:39:53 -08:00
..
atf Do not build libatf-c++ when WITHOUT_CXX 2021-10-29 10:08:24 -04:00
clang powerpc: Enable LLDB on all powerpc architectures 2022-01-26 15:03:27 +01:00
csu mips: Remove CSU 2021-12-31 00:14:52 -07:00
flua jail(3lua): add jail.attach()/jail.remove() methods 2021-09-30 16:31:04 -05:00
geom gpart: Avoid geom_gettree() call in "bootcode -b". 2022-03-08 14:01:04 -05:00
googletest googletest: Silence warnings about deprecated implicit copy constructors 2021-08-26 22:06:53 +02:00
lib9p
lib80211
libalias
libarchive libarchive: import changes from upstream 2022-02-10 00:35:42 +01:00
libauditd
libbe zfs: merge openzfs/zfs@17b2ae0b2 (master) into main 2022-01-22 23:05:15 +01:00
libbearssl
libbegemot
libblacklist
libblocksruntime
libbluetooth bluetooth: Remove one more h4 reference. 2021-09-29 22:02:25 -06:00
libbsddialog libbsddialog: Add _XOPEN_SOURCE_EXTENDED for widechar form 2022-03-05 02:24:37 +01:00
libbsdstat
libbsm
libbsnmp
libbz2
libc libc __sfvwrite(): roll back FILE buffer pointer on fflush error 2022-03-06 10:29:51 -05:00
libc_nonshared
libc++ Install unwind.h into /usr/include 2022-02-10 19:00:32 +01:00
libc++experimental Merge llvm-project release/13.x llvmorg-13.0.0-rc1-97-g23ba3732246a 2021-11-13 21:42:03 +01:00
libcalendar
libcam cam_get_device: resolve path links before parsing device name 2022-01-26 11:25:31 +02:00
libcapsicum
libcasper cap_net: fix verification of bind permission 2021-12-14 12:02:40 +01:00
libcbor Add libcbor to the build 2021-10-15 15:10:24 -04:00
libclang_rt riscv64: enable ASAN and UBSAN 2022-01-14 01:29:58 +01:00
libcom_err pkgbase: Create a FreeBSD-kerberos package 2021-09-07 10:23:14 +02:00
libcompat
libcompiler_rt Build compiler-rt against libunwind, not libcxxrt 2022-03-09 22:23:35 +01:00
libcrypt libcrypt: Drop inclusion of libutil.h 2021-12-07 00:24:19 +00:00
libcuse
libcxxrt Sort SRCS in libcxxrt's Makefile, and use += to list sources 2022-01-22 21:08:55 +01:00
libdevctl libdevctl: Add devctl_getpath 2022-03-01 08:06:41 -07:00
libdevdctl
libdevinfo
libdevstat
libdl
libdpv libdialog: Bump shared library version to 10. 2021-10-27 09:30:24 -07:00
libdwarf libdwarf: Add a weak uncompress() symbol 2021-12-13 18:47:15 -05:00
libedit ncurses: chase dependency changes in the source tree 2021-10-04 11:38:24 +02:00
libefivar libefivar: Apply uncrustify changes 2022-02-27 09:45:34 -07:00
libelf libelf: Link gelf_getchdr.3 to the build 2021-11-29 13:57:24 -05:00
libelftc
libevent1
libexecinfo
libexpat MFV f83ac37f1e: libbsdxml (expat) 2.4.3. 2022-01-17 16:34:41 -08:00
libfetch pkgbase: Create a FreeBSD-fetch package 2021-12-21 10:17:46 +01:00
libfido2 Add libfido2 to the build 2021-10-22 19:57:57 -04:00
libfigpar
libgcc_eh Install unwind.h into /usr/include 2022-02-10 19:00:32 +01:00
libgcc_s libgcc_s: Export 64-bit int to 128-bit float functions 2021-10-03 19:34:25 +01:00
libgeom GEOM: Introduce gctl_add_param() API. 2022-03-07 11:12:25 -05:00
libgpio
libgssapi
libiconv_modules
libifconfig
libipsec
libipt
libiscsiutil iscsi: per-session timeouts and rapid teardown of session on reconnect 2022-02-25 10:35:47 +01:00
libjail
libkiconv
libkvm libkvm: Remove mips support 2021-12-30 20:57:24 -07:00
libldns
liblua
liblutok
liblzma
libmagic file: Fix cross-compilation on Darwin/macOS 2022-01-07 07:52:34 -07:00
libmd Add accelerated arm64 sha512 to libmd 2021-12-13 15:33:22 +00:00
libmemstat sys/bitset.h: reduce visibility of BIT_* macros 2021-12-05 23:00:25 +01:00
libmilter
libmixer mixer(3): Revert: "Fix for header file pollution." 2022-01-04 12:35:23 +01:00
libmp
libmt
libnetbsd
libnetgraph Retire synchronous PPP kernel driver sppp(4). 2021-10-22 11:41:36 -07:00
libnetmap
libngatm
libnv skip test case nvlist_send_recv__send_many_fds__dgram 2022-01-02 12:26:07 -09:00
libomp Merge llvm-project release/13.x llvmorg-13.0.0-rc1-97-g23ba3732246a 2021-11-13 21:42:03 +01:00
libopenbsd
libopencsd
libopie
libpam pkgbase: Put more binaries/lib in runtime 2021-12-21 10:17:27 +01:00
libpathconv
libpcap
libpe
libpfctl libpfct: factor out pfctl_get_rules_info() 2022-03-08 13:57:45 +01:00
libpjdlog
libpmc libpmc: Allow specifying explicit EVENT_xxH events on armv7 and arm64 2022-02-15 16:10:34 +00:00
libpmcstat libpmcstat: Fix a few ARM-specific issues with function symbols. 2022-03-10 15:39:53 -08:00
libproc
libprocstat procstat_getfiles_sysctl: do not require non-null ki_fd 2021-12-03 00:52:49 +02:00
libradius libradius: fix WITHOUT_OPENSSL build 2021-10-28 17:05:53 -04:00
libregex pkgbase: Put more binaries/lib in runtime 2021-12-21 10:17:27 +01:00
librpcsec_gss
librpcsvc pkgbase: Put more binaries/lib in runtime 2021-12-21 10:17:27 +01:00
librss
librt Fix aio_readv(2), aio_writev(2) with SIGEV_THREAD. 2021-08-22 23:49:23 +12:00
librtld_db librtld_db: Handle shlibs with discontiguous mappings. 2021-12-03 11:07:30 -08:00
libsbuf
libsdp
libsecureboot Move ve_check_hash prototype to libsecureboot-priv.h 2021-12-18 16:34:58 -08:00
libsm
libsmb
libsmdb
libsmutil
libsqlite3
libssp
libssp_nonshared
libstats
libstdbuf
libstdthreads
libsysdecode fd: add close_range(..., CLOSE_RANGE_CLOEXEC) 2022-03-03 17:21:58 +00:00
libtacplus
libtelnet
libthr libthr: Disable stack unwinding on ARM. 2022-02-10 12:47:08 -08:00
libthread_db mips: Remove thread_db support 2021-12-31 00:14:53 -07:00
libucl
libufs Consolodate four copies of the STDSB define into a single place. 2021-11-14 22:10:16 -08:00
libugidfw
libulog
libunbound
libusb libusb(3): Ignore SIGPIPE when initializing the LibUSB v1.0 API. 2022-03-02 12:33:40 +01:00
libusbhid libusb: remove use of COMPAT_32BIT 2021-12-17 21:28:14 +00:00
libutil libutil: add kinfo_getswapvmobject(3) 2021-10-26 15:50:29 +03:00
libveriexec
libvgl
libvmmapi bhyve: add ROM emulation 2022-03-10 12:30:37 +01:00
libwrap pkgbase: Put more binaries/lib in runtime 2021-12-21 10:17:27 +01:00
libxo
liby
libypclnt pkgbase: Put more binaries/lib in runtime 2021-12-21 10:17:27 +01:00
libz Bootstrap libz when cross-building from non-FreeBSD 2021-12-06 19:16:28 +00:00
libzstd Disable clang 14 warning about bitwise operators in zstd 2022-02-08 21:46:08 +01:00
msun mips: Remove msun support 2021-12-31 00:14:52 -07:00
ncurses ncurses: to not create a libncursesw.a in the OBJDIR 2021-11-24 11:02:22 +01:00
ofed
tests
Makefile Remove quotes around Makefile .error/.warn/.info strings 2022-01-22 14:03:07 -05:00
Makefile.inc