public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v3 0/6] LoongArch linker relaxation support.
@ 2022-12-16  7:23 mengqinggang
  2022-12-16  7:23 ` [PATCH v3 1/6] LoongArch: include: Add support for linker relaxation mengqinggang
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: mengqinggang @ 2022-12-16  7:23 UTC (permalink / raw)
  To: binutils
  Cc: xuchenghua, liuzhensong, chenglulu, xry111, i.swmail, maskray,
	hp, mengqinggang

This is the v3 version of patches to support loongarch linker relax.
The new relocs document at here:
  https://github.com/loongson/LoongArch-Documentation/pull/77

The patch set changelog:

v2 -> v3:
1. Fix ChangeLog entries, delete extra TABs.

mengqinggang (6):
  LoongArch: include: Add support for linker relaxation.
  LoongArch: bfd: Add support for linker relaxation.
  LoongArch: opcodes: Add support for linker relaxation.
  LoongArch: binutils: Add support for linker relaxation.
  LoongArch: gas: Add support for linker relaxation.
  LoongArch: ld: Add support for linker relaxation.

 bfd/bfd-in2.h                                 |   8 +
 bfd/elfnn-loongarch.c                         | 582 +++++++++++++--
 bfd/elfxx-loongarch.c                         | 676 +++++++++++++-----
 bfd/elfxx-loongarch.h                         |  10 +-
 bfd/libbfd.h                                  |   8 +
 bfd/reloc.c                                   |  22 +
 binutils/readelf.c                            |  84 ++-
 binutils/testsuite/binutils-all/readelf.exp   |  13 +-
 gas/config/tc-loongarch.c                     | 412 +++++++++--
 gas/config/tc-loongarch.h                     |  45 +-
 gas/testsuite/gas/all/align.d                 |   5 +-
 gas/testsuite/gas/all/gas.exp                 |  10 +-
 gas/testsuite/gas/all/relax.d                 |   4 +
 gas/testsuite/gas/elf/dwarf-5-irp.d           |   3 +-
 gas/testsuite/gas/elf/dwarf-5-loc0.d          |   3 +-
 gas/testsuite/gas/elf/dwarf2-11.d             |   3 +-
 gas/testsuite/gas/elf/dwarf2-15.d             |   3 +-
 gas/testsuite/gas/elf/dwarf2-16.d             |   3 +-
 gas/testsuite/gas/elf/dwarf2-17.d             |   3 +-
 gas/testsuite/gas/elf/dwarf2-18.d             |   3 +-
 gas/testsuite/gas/elf/dwarf2-19.d             |   3 +-
 gas/testsuite/gas/elf/dwarf2-5.d              |   3 +-
 gas/testsuite/gas/elf/ehopt0.d                |   3 +
 gas/testsuite/gas/elf/elf.exp                 |   3 +
 gas/testsuite/gas/elf/section11.d             |   4 +-
 gas/testsuite/gas/lns/lns.exp                 |   1 +
 gas/testsuite/gas/loongarch/jmp_op.d          |  65 +-
 gas/testsuite/gas/loongarch/li.d              |   9 +-
 gas/testsuite/gas/loongarch/macro_op.d        |  69 +-
 .../gas/loongarch/macro_op_large_abs.d        | 103 +--
 .../gas/loongarch/macro_op_large_pc.d         | 103 +--
 gas/testsuite/gas/loongarch/relax_align.d     |  25 +
 gas/testsuite/gas/loongarch/relax_align.s     |   5 +
 gas/testsuite/gas/loongarch/uleb128.d         |  35 +
 gas/testsuite/gas/loongarch/uleb128.s         |  20 +
 include/elf/loongarch.h                       |  20 +
 include/opcode/loongarch.h                    |   3 +
 ld/emultempl/loongarchelf.em                  |   3 +
 ld/testsuite/ld-elf/compressed1d.d            |   3 +
 ld/testsuite/ld-elf/pr26936.d                 |   4 +-
 ld/testsuite/ld-loongarch-elf/disas-jirl.d    |   4 +-
 ld/testsuite/ld-loongarch-elf/jmp_op.d        |  65 +-
 ld/testsuite/ld-loongarch-elf/macro_op.d      | 138 ++--
 ld/testsuite/ld-loongarch-elf/relax-align.dd  |   7 +
 ld/testsuite/ld-loongarch-elf/relax-align.s   |   9 +
 ld/testsuite/ld-loongarch-elf/relax.exp       |  73 ++
 ld/testsuite/ld-loongarch-elf/relax.s         |  16 +
 ld/testsuite/ld-loongarch-elf/uleb128.dd      |  10 +
 ld/testsuite/ld-loongarch-elf/uleb128.s       |  21 +
 opcodes/loongarch-opc.c                       |   5 +-
 50 files changed, 2192 insertions(+), 540 deletions(-)
 create mode 100644 gas/testsuite/gas/loongarch/relax_align.d
 create mode 100644 gas/testsuite/gas/loongarch/relax_align.s
 create mode 100644 gas/testsuite/gas/loongarch/uleb128.d
 create mode 100644 gas/testsuite/gas/loongarch/uleb128.s
 create mode 100644 ld/testsuite/ld-loongarch-elf/relax-align.dd
 create mode 100644 ld/testsuite/ld-loongarch-elf/relax-align.s
 create mode 100644 ld/testsuite/ld-loongarch-elf/relax.exp
 create mode 100644 ld/testsuite/ld-loongarch-elf/relax.s
 create mode 100644 ld/testsuite/ld-loongarch-elf/uleb128.dd
 create mode 100644 ld/testsuite/ld-loongarch-elf/uleb128.s

-- 
2.36.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-12-24 18:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-16  7:23 [PATCH v3 0/6] LoongArch linker relaxation support mengqinggang
2022-12-16  7:23 ` [PATCH v3 1/6] LoongArch: include: Add support for linker relaxation mengqinggang
2022-12-16  7:23 ` [PATCH v3 2/6] LoongArch: bfd: " mengqinggang
2022-12-16  7:23 ` [PATCH v3 3/6] LoongArch: opcodes: " mengqinggang
2022-12-16  7:23 ` [PATCH v3 4/6] LoongArch: binutils: " mengqinggang
2022-12-16  7:23 ` [PATCH v3 5/6] LoongArch: gas: " mengqinggang
2022-12-16  7:23 ` [PATCH v3 6/6] LoongArch: ld: " mengqinggang
2022-12-24 18:10 ` [PATCH v3 0/6] LoongArch linker relaxation support Fangrui Song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).