]> git.ipfire.org Git - thirdparty/gcc.git/commit
libgcc, aarch64: Allow for BE platforms in heap trampolines.
authorIain Sandoe <iain@sandoe.co.uk>
Sun, 18 Feb 2024 06:52:47 +0000 (06:52 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Wed, 21 Feb 2024 07:53:22 +0000 (07:53 +0000)
commitc0a80af4a1d70562dd6671047fe6dd92dcc3f544
treebcbaeeb85fb36ea51fae626af827ad99d22fed2d
parent0a6a5f8656ccf9a60ac516c68cd4eb40ff4630c4
libgcc, aarch64: Allow for BE platforms in heap trampolines.

This arranges that the byte order of the instruction sequences is
independent of the byte order of memory.

libgcc/ChangeLog:

* config/aarch64/heap-trampoline.c
(aarch64_trampoline_insns): Arrange to encode instructions as a
byte array so that the order is independent of memory byte order.
(struct aarch64_trampoline): Likewise.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
libgcc/config/aarch64/heap-trampoline.c