mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
39eeab2534
Recognize power9 and a few other insns from older machines. Fixes linker complaints like "toc optimization is not supported for 0xf4090002 instruction". 0xf4090002 is stxsd v0,0(r9) bfd/ * elf64-ppc.c (ok_lo_toc_insn): Add r_type param. Recognize lq,lfq,lxv,lxsd,lxssp,lfdp,stq,stfq,stxv,stxsd,stxssp,stfdp. Don't match lmd and stmd. ld/ * testsuite/ld-powerpc/tocopt7.s, * testsuite/ld-powerpc/tocopt7.out, * testsuite/ld-powerpc/tocopt7.d: New test. * testsuite/ld-powerpc/tocopt8.s, * testsuite/ld-powerpc/tocopt8.d: New test. * testsuite/ld-powerpc/powerpc.exp: Run them.
27 lines
320 B
Plaintext
27 lines
320 B
Plaintext
.*
|
|
\(\.text\+0x18\): .*
|
|
.*
|
|
\(\.text\+0x34\): .*
|
|
.*
|
|
\(\.text\+0x5c\): .*
|
|
.*
|
|
\(\.text\+0xa4\): .*
|
|
.*
|
|
\(\.text\+0xec\): .*
|
|
.*
|
|
\(\.text\+0x114\): .*
|
|
.*
|
|
\(\.text\+0x13c\): .*
|
|
.*
|
|
\(\.text\+0x1b8\): .*
|
|
.*
|
|
\(\.text\+0x1d4\): .*
|
|
.*
|
|
\(\.text\+0x1f0\): .*
|
|
.*
|
|
\(\.text\+0x20c\): .*
|
|
.*
|
|
\(\.text\+0x228\): .*
|
|
.*
|
|
\(\.text\+0x244\): .*
|