ld/x86-64: Also set LAM_U57 when setting LAM_U48
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 9 Jan 2021 05:51:38 +0000 (21:51 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 9 Jan 2021 05:51:48 +0000 (21:51 -0800)
commitba9e922fa0dfbd7957ef939da3a6b0dbbbaa03cd
tree8f377efe40ea43acd2e96180dd276ab7724f8e1b
parentb1b29aa51a6a67d5e35391ad31a80765839d6eb4
ld/x86-64: Also set LAM_U57 when setting LAM_U48

Since LAM_U48 implies LAM_U57, also set LAM_U57 when setting LAM_U48.

bfd/

* elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Also set
LAM_U57 when setting LAM_U48.

ld/

* ld-x86-64/property-x86-lam-u48-4.d: Updated.
* ld-x86-64/property-x86-lam-u48-5.d: Likewise.
bfd/ChangeLog
bfd/elfxx-x86.c
ld/ChangeLog
ld/testsuite/ld-x86-64/property-x86-lam-u48-4.d
ld/testsuite/ld-x86-64/property-x86-lam-u48-5.d