about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-09-11 12:53:21 +0000
committerbors <bors@rust-lang.org>2017-09-11 12:53:21 +0000
commit19d30fcdb28c2a4f57774b827b1a17ee156b5c56 (patch)
treedc0a72f9dbfd1cc8b305d32e200604fda9523f7b /src/liballoc
parent5d744e94c2d79573c40de0bfa23345a3a136efb6 (diff)
parentc606e97cc6fb06130b1c8e79292fc1f3c8965a0c (diff)
downloadrust-19d30fcdb28c2a4f57774b827b1a17ee156b5c56.tar.gz
rust-19d30fcdb28c2a4f57774b827b1a17ee156b5c56.zip
Auto merge of #44440 - cuviper:min_global_align, r=japaric
Add `TargetOptions::min_global_align`, with s390x at 16-bit

The SystemZ `LALR` instruction provides PC-relative addressing for globals,
but only to *even* addresses, so other compilers make sure that such
globals are always 2-byte aligned.  In Clang, this is modeled with
`TargetInfo::MinGlobalAlign`, and `TargetOptions::min_global_align` now
serves the same purpose for rustc.

In Clang, the only targets that set this are SystemZ, Lanai, and NVPTX, and
the latter two don't have targets in rust master.

Fixes #44411.
r? @eddyb
Diffstat (limited to 'src/liballoc')
0 files changed, 0 insertions, 0 deletions