]> git.ipfire.org Git - thirdparty/gcc.git/commit
aarch64: Only calculate chain_offset if there is a chain
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 12 Sep 2023 15:19:46 +0000 (16:19 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Tue, 12 Sep 2023 15:19:46 +0000 (16:19 +0100)
commit7356df0319aefe4c68ef57ec4c6bd18c72188a34
tree8a8ae80299f3e68fd217e635b3f7e0371b42b318
parente8a7ec87fcdbaa5f7c7bd499aebe5cefacbf8687
aarch64: Only calculate chain_offset if there is a chain

After previous patches, it is no longer necessary to calculate
a chain_offset in cases where there is no chain record.

gcc/
* config/aarch64/aarch64.c (aarch64_expand_prologue): Move the
calculation of chain_offset into the emit_frame_chain block.
gcc/config/aarch64/aarch64.c