Linkers are strongly tied to a particular byte order, because they are tied to 
a particular platform. So, the linker should reject layouts that have another 
byte order. This patch implements that check.

-------------

Depends on: https://git.openjdk.org/jdk/pull/13079

Commit messages:
 - Check byte order of layouts passed to linker

Changes: https://git.openjdk.org/jdk/pull/13161/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13161&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8303524
  Stats: 81 lines in 9 files changed: 73 ins; 0 del; 8 mod
  Patch: https://git.openjdk.org/jdk/pull/13161.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13161/head:pull/13161

PR: https://git.openjdk.org/jdk/pull/13161

Reply via email to