ld/x86-64: Properly Handle -z lam-u48/lam-u57
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 9 Jan 2021 14:11:06 +0000 (06:11 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 9 Jan 2021 14:13:11 +0000 (06:13 -0800)
commit0a94990bf64a82bdf73960fec1b47fef7c6a6ced
tree739ccefb6a395a463262da661010b90716fe9ccc
parentf41464416a1744ca0151d61de1a7e405664dd9b7
ld/x86-64: Properly Handle -z lam-u48/lam-u57

Properly merge GNU properties for LAM_U48 and LAM_U57.

bfd/

PR ld/27166
* elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Handle
-z lam-u48 and -z lam-u57.

ld/

PR ld/27166
* testsuite/ld-x86-64/lam-u48.rd: New file.
* testsuite/ld-x86-64/lam-u57.rd: Likewise.
* testsuite/ld-x86-64/x86-64.exp: Add PR ld/27166 tests.
bfd/ChangeLog
bfd/elfxx-x86.c
ld/ChangeLog
ld/testsuite/ld-x86-64/lam-u48.rd [new file with mode: 0644]
ld/testsuite/ld-x86-64/lam-u57.rd [new file with mode: 0644]
ld/testsuite/ld-x86-64/x86-64.exp