]> git.ipfire.org Git - thirdparty/glibc.git/commit
cheri: malloc: bump OBSTACK_INTERFACE_VERSION
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Thu, 1 Dec 2022 16:58:55 +0000 (16:58 +0000)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Thu, 8 Dec 2022 17:27:31 +0000 (17:27 +0000)
commit1861652b2ee82eda7d466ae582d195b3b0dae116
tree2911de487ac9d43bd506e8c939e4d31fcf312dcf
parentae90dd111bc393178a39cc6166170aa7c3656296
cheri: malloc: bump OBSTACK_INTERFACE_VERSION

The obstack version should have been bumped after

  commit 2fd4de4b15a66f821057af90714145d2c034a609
  [BZ #321]

which changed a ptrdiff_t struct member into a union of ptrdiff_t and a
pointer and thus changed the ABI on targets where ptrdiff_t and pointer
have different size or alignment. This affects CHERI targets.

Old versions of obstack are used in the wild and conflict with the one
provided by glibc so at least on CHERI targets it has to be bumped.
On other targets we don't bump the version as it changes compile time
behaviour (the ABI remains backward compatible either way).
include/gnu-versions.h
malloc/obstack.c