[COMMITTED, BPF, 0/2] Couple of fixes for the BPF linker

Jose E. Marchesi jose.marchesi@oracle.com
Wed Aug 7 12:06:00 GMT 2019


Hi people!
I just pushed the couple of commits below.

Note that the tweaks in undefined.exp and srec.exp (ld testsuite)
should be only impacting bpf-*-* targets.  To be sure, I did some
regression testing.

Salud!

Jose E. Marchesi (2):
  bfd: use the ELF linker to perform relocations in BPF targets
  ld: use a specific linker script in BPF targets

 bfd/ChangeLog                           |   6 +
 bfd/elf64-bpf.c                         | 282 ++++++++-----
 ld/ChangeLog                            |  13 +
 ld/emulparams/elf64bpf.sh               |   3 +-
 ld/scripttempl/elf64bpf.sc              | 702 ++++++++++++++++++++++++++++++++
 ld/testsuite/ld-bpf/call-1.d            |   1 -
 ld/testsuite/ld-bpf/jump-1.d            |   1 -
 ld/testsuite/ld-srec/srec.exp           |   4 +
 ld/testsuite/ld-undefined/undefined.exp |  14 +-
 9 files changed, 925 insertions(+), 101 deletions(-)
 create mode 100644 ld/scripttempl/elf64bpf.sc

-- 
2.11.0



More information about the Binutils mailing list