]> git.ipfire.org Git - thirdparty/binutils-gdb.git/log
thirdparty/binutils-gdb.git
4 months agox86: Remove AVX10.2 256 bit rounding support
Haochen Jiang [Wed, 19 Mar 2025 08:52:35 +0000 (16:52 +0800)] 
x86: Remove AVX10.2 256 bit rounding support

Since we will support 512 bit on both P-core and E-core for AVX10, 256 bit
rounding is not that useful because we currently have rounding feature
directly on E-core now and no need to use 256-bit rounding as somehow
a workaround. This patch will remove all the support and backport to
Binutils 2.44.

gas/ChangeLog:

* NEWS: Mention support removal.
* config/tc-i386.c (build_evex_prefix): Remove U bit encode.
(check_VecOperands): Remove ymm check for rounding.
(s_insn): Revise .insn comment.
* testsuite/gas/i386/avx10_2-256-cvt-intel.d: Remove ymm
rounding related test.
* testsuite/gas/i386/avx10_2-256-cvt.d: Ditto.
* testsuite/gas/i386/avx10_2-256-cvt.s: Ditto.
* testsuite/gas/i386/avx10_2-256-miscs-intel.d: Ditto.
* testsuite/gas/i386/avx10_2-256-miscs.d: Ditto.
* testsuite/gas/i386/avx10_2-256-miscs.s: Ditto.
* testsuite/gas/i386/avx10_2-256-satcvt-intel.d: Ditto.
* testsuite/gas/i386/avx10_2-256-satcvt.d: Ditto.
* testsuite/gas/i386/avx10_2-256-satcvt.s: Ditto.
* testsuite/gas/i386/evex.d: Ditto.
* testsuite/gas/i386/evex.s: Ditto.
* testsuite/gas/i386/i386.exp: Ditto.
* testsuite/gas/i386/x86-64-avx10_2-256-cvt-intel.d: Ditto.
* testsuite/gas/i386/x86-64-avx10_2-256-cvt.d: Ditto.
* testsuite/gas/i386/x86-64-avx10_2-256-cvt.s: Ditto.
* testsuite/gas/i386/x86-64-avx10_2-256-miscs-intel.d: Ditto.
* testsuite/gas/i386/x86-64-avx10_2-256-miscs.d: Ditto.
* testsuite/gas/i386/x86-64-avx10_2-256-miscs.s: Ditto.
* testsuite/gas/i386/x86-64-avx10_2-256-satcvt-intel.d: Ditto.
* testsuite/gas/i386/x86-64-avx10_2-256-satcvt.d: Ditto.
* testsuite/gas/i386/x86-64-avx10_2-256-satcvt.s: Ditto.
* testsuite/gas/i386/x86-64-evex.d: Ditto.
* testsuite/gas/i386/x86-64.exp: Ditto.
* testsuite/gas/i386/avx10_2-rounding-intel.d: Removed.
* testsuite/gas/i386/avx10_2-rounding-inval.l: Removed.
* testsuite/gas/i386/avx10_2-rounding-inval.s: Removed.
* testsuite/gas/i386/avx10_2-rounding.d: Removed.
* testsuite/gas/i386/avx10_2-rounding.s: Removed.
* testsuite/gas/i386/x86-64-avx10_2-rounding-intel.d: Removed.
* testsuite/gas/i386/x86-64-avx10_2-rounding.d: Removed.
* testsuite/gas/i386/x86-64-avx10_2-rounding.s: Removed.

opcodes/ChangeLog:

* i386-dis.c (struct instr_info): Remove U bit.
(get_valid_dis386): Roll back to APX condition.
* i386-opc.tbl: Remove ymm rounding support.
* i386-tbl.h: Regenerated.

4 months agoAutomatic date update in version.in
GDB Administrator [Thu, 27 Mar 2025 00:00:48 +0000 (00:00 +0000)] 
Automatic date update in version.in

4 months agoAutomatic date update in version.in
GDB Administrator [Wed, 26 Mar 2025 00:01:07 +0000 (00:01 +0000)] 
Automatic date update in version.in

4 months agoAutomatic date update in version.in
GDB Administrator [Tue, 25 Mar 2025 00:00:54 +0000 (00:00 +0000)] 
Automatic date update in version.in

4 months agoAutomatic date update in version.in
GDB Administrator [Mon, 24 Mar 2025 00:01:56 +0000 (00:01 +0000)] 
Automatic date update in version.in

4 months agoAutomatic date update in version.in
GDB Administrator [Sun, 23 Mar 2025 00:01:22 +0000 (00:01 +0000)] 
Automatic date update in version.in

4 months agoAutomatic date update in version.in
GDB Administrator [Sat, 22 Mar 2025 00:01:59 +0000 (00:01 +0000)] 
Automatic date update in version.in

4 months agoAutomatic date update in version.in
GDB Administrator [Fri, 21 Mar 2025 00:02:15 +0000 (00:02 +0000)] 
Automatic date update in version.in

4 months agoAutomatic date update in version.in
GDB Administrator [Thu, 20 Mar 2025 00:02:03 +0000 (00:02 +0000)] 
Automatic date update in version.in

4 months agoAutomatic date update in version.in
GDB Administrator [Wed, 19 Mar 2025 00:02:26 +0000 (00:02 +0000)] 
Automatic date update in version.in

4 months agoAutomatic date update in version.in
GDB Administrator [Tue, 18 Mar 2025 00:02:12 +0000 (00:02 +0000)] 
Automatic date update in version.in

4 months agoelf: Clear the SEC_ALLOC bit for NOLOAD note sections
H.J. Lu [Thu, 13 Mar 2025 18:52:00 +0000 (11:52 -0700)] 
elf: Clear the SEC_ALLOC bit for NOLOAD note sections

When generating an ELF output file, if a note section is marked as
NOLOAD, clear the SEC_ALLOC bit so that it won't be treated as an
SHF_ALLOC section, like a .bss style section.

PR ld/32787
* ld.texi: Update NOLOAD for ELF output files.
* ldlang.c (lang_add_section): Clear the SEC_ALLOC bit for NOLOAD
note sections for ELF output files.
* testsuite/ld-elf/pr32787.d: New file.
* testsuite/ld-elf/pr32787.t: Likewise.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
(cherry picked from commit d87be451ebbf831d44ac168ca9ea2b79ab5a79b3)

4 months agoAutomatic date update in version.in
GDB Administrator [Mon, 17 Mar 2025 00:02:09 +0000 (00:02 +0000)] 
Automatic date update in version.in

4 months agoAutomatic date update in version.in
GDB Administrator [Sun, 16 Mar 2025 00:01:29 +0000 (00:01 +0000)] 
Automatic date update in version.in

4 months agoAutomatic date update in version.in
GDB Administrator [Sat, 15 Mar 2025 00:02:00 +0000 (00:02 +0000)] 
Automatic date update in version.in

4 months agoAutomatic date update in version.in
GDB Administrator [Fri, 14 Mar 2025 00:01:43 +0000 (00:01 +0000)] 
Automatic date update in version.in

4 months agoAutomatic date update in version.in
GDB Administrator [Thu, 13 Mar 2025 00:00:59 +0000 (00:00 +0000)] 
Automatic date update in version.in

4 months agoAutomatic date update in version.in
GDB Administrator [Wed, 12 Mar 2025 00:01:54 +0000 (00:01 +0000)] 
Automatic date update in version.in

4 months agoAutomatic date update in version.in
GDB Administrator [Tue, 11 Mar 2025 00:02:22 +0000 (00:02 +0000)] 
Automatic date update in version.in

4 months agoAutomatic date update in version.in
GDB Administrator [Mon, 10 Mar 2025 00:00:55 +0000 (00:00 +0000)] 
Automatic date update in version.in

4 months agoAutomatic date update in version.in
GDB Administrator [Sun, 9 Mar 2025 00:01:25 +0000 (00:01 +0000)] 
Automatic date update in version.in

5 months agoAutomatic date update in version.in
GDB Administrator [Sat, 8 Mar 2025 00:01:07 +0000 (00:01 +0000)] 
Automatic date update in version.in

5 months agoAutomatic date update in version.in
GDB Administrator [Fri, 7 Mar 2025 00:01:02 +0000 (00:01 +0000)] 
Automatic date update in version.in

5 months agoAutomatic date update in version.in
GDB Administrator [Thu, 6 Mar 2025 00:01:18 +0000 (00:01 +0000)] 
Automatic date update in version.in

5 months agold: Pass -Wl,-z,lazy to compiler for i386 lazy binding tests
H.J. Lu [Wed, 5 Mar 2025 04:44:11 +0000 (12:44 +0800)] 
ld: Pass -Wl,-z,lazy to compiler for i386 lazy binding tests

Pass -Wl,-z,lazy to compiler for i386 tests which require lazy binding
to support compilers which default to non-lazy binding.

PR ld/32762
* testsuite/ld-i386/i386.exp: Pass -Wl,-z,lazy for
"Build ifunc-1a with PIE -z ibtplt" test.
* testsuite/ld-i386/no-plt.exp: Pass -Wl,-z,lazy for
"Build libno-plt-1b.so", "No PLT (dynamic 1a)",
"No PLT (dynamic 1b)", "No PLT (dynamic 1c)",
"No PLT (PIE 1e)", "No PLT (PIE 1f)", "No PLT (PIE 1g)" tests.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
(cherry picked from commit 78d7038b1579733dafd3e0541444f7626cf24a87)

5 months agoAutomatic date update in version.in
GDB Administrator [Wed, 5 Mar 2025 00:02:33 +0000 (00:02 +0000)] 
Automatic date update in version.in

5 months agoAutomatic date update in version.in
GDB Administrator [Tue, 4 Mar 2025 00:02:37 +0000 (00:02 +0000)] 
Automatic date update in version.in

5 months agoAutomatic date update in version.in
GDB Administrator [Mon, 3 Mar 2025 00:01:32 +0000 (00:01 +0000)] 
Automatic date update in version.in

5 months agoAutomatic date update in version.in
GDB Administrator [Sun, 2 Mar 2025 00:01:11 +0000 (00:01 +0000)] 
Automatic date update in version.in

5 months agoAutomatic date update in version.in
GDB Administrator [Sat, 1 Mar 2025 00:01:57 +0000 (00:01 +0000)] 
Automatic date update in version.in

5 months agoAutomatic date update in version.in
GDB Administrator [Fri, 28 Feb 2025 00:00:46 +0000 (00:00 +0000)] 
Automatic date update in version.in

5 months agoUpdated translations for bfd and gold
Nick Clifton [Thu, 27 Feb 2025 12:16:02 +0000 (12:16 +0000)] 
Updated translations for bfd and gold

5 months agoAutomatic date update in version.in
GDB Administrator [Thu, 27 Feb 2025 00:02:10 +0000 (00:02 +0000)] 
Automatic date update in version.in

5 months agoAutomatic date update in version.in
GDB Administrator [Wed, 26 Feb 2025 00:01:10 +0000 (00:01 +0000)] 
Automatic date update in version.in

5 months agoAutomatic date update in version.in
GDB Administrator [Tue, 25 Feb 2025 00:02:03 +0000 (00:02 +0000)] 
Automatic date update in version.in

5 months agoAutomatic date update in version.in
GDB Administrator [Mon, 24 Feb 2025 00:01:30 +0000 (00:01 +0000)] 
Automatic date update in version.in

5 months agoPR 32731 ub sanitizer accessing filenames_reversed
Alan Modra [Sun, 23 Feb 2025 10:34:29 +0000 (21:04 +1030)] 
PR 32731 ub sanitizer accessing filenames_reversed

tic4x-coff and mcore-pe tickle this bug by a peculiarity of their
default ld scripts.

PR 32731
* ldlang.c (lang_add_wild): Init filenames_reversed when no
filespec.

(cherry picked from commit a021382482a6c891d74d302a598688f447ae97e0)

5 months agoAutomatic date update in version.in
GDB Administrator [Sun, 23 Feb 2025 00:02:51 +0000 (00:02 +0000)] 
Automatic date update in version.in

5 months agoAutomatic date update in version.in
GDB Administrator [Sat, 22 Feb 2025 00:01:38 +0000 (00:01 +0000)] 
Automatic date update in version.in

5 months agoAutomatic date update in version.in
GDB Administrator [Fri, 21 Feb 2025 00:01:56 +0000 (00:01 +0000)] 
Automatic date update in version.in

5 months agoAutomatic date update in version.in
GDB Administrator [Thu, 20 Feb 2025 00:01:56 +0000 (00:01 +0000)] 
Automatic date update in version.in

5 months agoAutomatic date update in version.in
GDB Administrator [Wed, 19 Feb 2025 00:01:48 +0000 (00:01 +0000)] 
Automatic date update in version.in

5 months agoAutomatic date update in version.in
GDB Administrator [Tue, 18 Feb 2025 00:01:53 +0000 (00:01 +0000)] 
Automatic date update in version.in

5 months agoAutomatic date update in version.in
GDB Administrator [Mon, 17 Feb 2025 00:00:47 +0000 (00:00 +0000)] 
Automatic date update in version.in

5 months agoscore-elf gas SEGV
Alan Modra [Sat, 15 Feb 2025 21:59:27 +0000 (08:29 +1030)] 
score-elf gas SEGV

Commit 3fb6f5457e5b typoed an array subscript.

* config/tc-score7.c (s7_gen_reloc): Correct array subscript.
* testsuite/gas/score/pr32700.d,
* testsuite/gas/score/pr32700.s: New test.
* testsuite/gas/score/relax.exp: Run it.

(cherry picked from commit ac8a1a52cf757b64373dfca8efc0e3041648a9f5)

5 months agoAutomatic date update in version.in
GDB Administrator [Sun, 16 Feb 2025 00:01:29 +0000 (00:01 +0000)] 
Automatic date update in version.in

5 months agoAutomatic date update in version.in
GDB Administrator [Sat, 15 Feb 2025 00:01:06 +0000 (00:01 +0000)] 
Automatic date update in version.in

5 months agogas: fix rs_fill_nop listing
Jan Beulich [Fri, 14 Feb 2025 08:33:18 +0000 (09:33 +0100)] 
gas: fix rs_fill_nop listing

In commit a0094f1a70e1 ("gas: make .nops output visible in listing") I
was wrongly assuming fr_fix would be zero for rs_fill_nop, when that's
only a side effect of listing_newline() inserting dummy frags, but only
when file/line did actually change from the previous invocation. This is
in particular not going to be true when the .nops directive isn't the
first statement on a line.

5 months agoAutomatic date update in version.in
GDB Administrator [Fri, 14 Feb 2025 00:01:55 +0000 (00:01 +0000)] 
Automatic date update in version.in

5 months agoAutomatic date update in version.in
GDB Administrator [Thu, 13 Feb 2025 00:01:43 +0000 (00:01 +0000)] 
Automatic date update in version.in

5 months agoAutomatic date update in version.in
GDB Administrator [Wed, 12 Feb 2025 00:01:19 +0000 (00:01 +0000)] 
Automatic date update in version.in

5 months agoAutomatic date update in version.in
GDB Administrator [Tue, 11 Feb 2025 00:01:41 +0000 (00:01 +0000)] 
Automatic date update in version.in

5 months agoAutomatic date update in version.in
GDB Administrator [Mon, 10 Feb 2025 00:01:20 +0000 (00:01 +0000)] 
Automatic date update in version.in

5 months agoAutomatic date update in version.in
GDB Administrator [Sun, 9 Feb 2025 00:01:40 +0000 (00:01 +0000)] 
Automatic date update in version.in

5 months agoAutomatic date update in version.in
GDB Administrator [Sat, 8 Feb 2025 00:00:50 +0000 (00:00 +0000)] 
Automatic date update in version.in

5 months agoAutomatic date update in version.in
GDB Administrator [Fri, 7 Feb 2025 00:01:38 +0000 (00:01 +0000)] 
Automatic date update in version.in

5 months agoAutomatic date update in version.in
GDB Administrator [Thu, 6 Feb 2025 00:01:55 +0000 (00:01 +0000)] 
Automatic date update in version.in

6 months agoAutomatic date update in version.in
GDB Administrator [Wed, 5 Feb 2025 00:01:53 +0000 (00:01 +0000)] 
Automatic date update in version.in

6 months agoAutomatic date update in version.in
GDB Administrator [Tue, 4 Feb 2025 00:02:20 +0000 (00:02 +0000)] 
Automatic date update in version.in

6 months agoAutomatic date update in version.in
GDB Administrator [Mon, 3 Feb 2025 00:01:33 +0000 (00:01 +0000)] 
Automatic date update in version.in

6 months agoOpen the 2.44 branch for further development
Nick Clifton [Sun, 2 Feb 2025 13:46:57 +0000 (13:46 +0000)] 
Open the 2.44 branch for further development

6 months agoThis is the 2.44 release binutils-2_44
Nick Clifton [Sun, 2 Feb 2025 11:50:17 +0000 (11:50 +0000)] 
This is the 2.44 release

6 months agoImport AArch64 commits:
Nick Clifton [Sun, 2 Feb 2025 11:30:27 +0000 (11:30 +0000)] 
Import AArch64 commits:

  0fad7627cf8 aarch64: Fix overly lax +frintts dependency
  99b90c46110 aarch64: Fix fp8 feature dependencies
  71e59ebefc2 aarch64: Support +sme+nosve permissively

6 months agoPR 32580: Partial fix for problems with the ksh shell and the elf linker script
Nick Clifton [Sun, 2 Feb 2025 11:29:51 +0000 (11:29 +0000)] 
PR 32580: Partial fix for problems with the ksh shell and the elf linker script

6 months agoAutomatic date update in version.in
GDB Administrator [Sun, 2 Feb 2025 00:02:18 +0000 (00:02 +0000)] 
Automatic date update in version.in

6 months agoAutomatic date update in version.in
GDB Administrator [Sat, 1 Feb 2025 00:01:17 +0000 (00:01 +0000)] 
Automatic date update in version.in

6 months agoLoongArch: Do not relax against __[start|stop]_SECNAME symbol
Lulu Cai [Fri, 31 Jan 2025 10:37:00 +0000 (10:37 +0000)] 
LoongArch: Do not relax against __[start|stop]_SECNAME symbol

6 months agoAutomatic date update in version.in
GDB Administrator [Fri, 31 Jan 2025 00:01:57 +0000 (00:01 +0000)] 
Automatic date update in version.in

6 months agoRemove a couple of entries in the binutils MAINTAINERS file
Nick Clifton [Thu, 30 Jan 2025 16:01:30 +0000 (16:01 +0000)] 
Remove a couple of entries in the binutils MAINTAINERS file

6 months agoAutomatic date update in version.in
GDB Administrator [Thu, 30 Jan 2025 00:02:52 +0000 (00:02 +0000)] 
Automatic date update in version.in

6 months agoAutomatic date update in version.in
GDB Administrator [Wed, 29 Jan 2025 00:03:25 +0000 (00:03 +0000)] 
Automatic date update in version.in

6 months agoUpdated translations for various sub-directories
Nick Clifton [Tue, 28 Jan 2025 16:27:24 +0000 (16:27 +0000)] 
Updated translations for various sub-directories

6 months agoAutomatic date update in version.in
GDB Administrator [Tue, 28 Jan 2025 00:03:10 +0000 (00:03 +0000)] 
Automatic date update in version.in

6 months agoloongson buffer overflow
Alan Modra [Sun, 26 Jan 2025 02:42:45 +0000 (13:12 +1030)] 
loongson buffer overflow

bfd_elfNN_loongarch_set_data_segment_info can be called from the target
after_allocation function with a non-ELF hash table.  This is seen in
the ld-elf pr21884 testcase.  Fix the problem by first checking the
hash table type before writing to a loongarch_elf_hash_table field.

(cherry picked from commit 59ba00f21f7d48780e92a9fb66ed4abbedc3bd28)

6 months agoPR32599, objcopy -I ihex: invalid operation
Alan Modra [Sun, 26 Jan 2025 04:24:15 +0000 (14:54 +1030)] 
PR32599, objcopy -I ihex: invalid operation

Restores ihex get_symtab_upper_bound to what it was prior to commit
394a3f4f8d.  This will enable objcopy of other no-sym formats too.

PR 32599
* libbfd-in.h (_bfd_nosymbols_get_symtab_upper_bound): Define
as _bfd_long_bfd_0.
* libbfd.h: Regenerate.

(cherry picked from commit fd45211245d0f1027a0c3ab606e3253eda779e68)

6 months agoAutomatic date update in version.in
GDB Administrator [Mon, 27 Jan 2025 00:03:02 +0000 (00:03 +0000)] 
Automatic date update in version.in

6 months agoAutomatic date update in version.in
GDB Administrator [Sun, 26 Jan 2025 00:00:48 +0000 (00:00 +0000)] 
Automatic date update in version.in

6 months agoAutomatic date update in version.in
GDB Administrator [Sat, 25 Jan 2025 00:03:12 +0000 (00:03 +0000)] 
Automatic date update in version.in

6 months agoaarch64: Fix PLT fixups when BTI is used [PR32572]
Richard Earnshaw [Thu, 23 Jan 2025 10:53:54 +0000 (10:53 +0000)] 
aarch64: Fix PLT fixups when BTI is used [PR32572]

PR ld/32572

There are two problems addressed in this PR.  Firstly, the choice of
whether or not a PLT stub needs a BTI on entry was too strict,
resulting in non-pie executables not having a BTI on their stub.  But
secondly, the logic to handle each stub types did not agree across the
various places where this information is used.

The first issue is fixed by using bfd_link_executable rather than
bfd_link_pde.  The second is addressed by recording a delta for PLT
stub alongside the stub itself.  This is then used without needing
additional logic later on since it has been pre-calculated.

A more comprehensive fix would involve creating a data structure to
describe each fixup, including a call-back function to apply any
relocations.  But that's a fairly large change and not appropriate for
backporting.

6 months agoAutomatic date update in version.in
GDB Administrator [Fri, 24 Jan 2025 00:01:32 +0000 (00:01 +0000)] 
Automatic date update in version.in

6 months agold: fix alignment issue for ARM thumb long branch stub using PureCode section
Torbjörn SVENSSON [Tue, 17 Dec 2024 17:56:10 +0000 (18:56 +0100)] 
ld: fix alignment issue for ARM thumb long branch stub using PureCode section

When pure-code option is activated. The linker creates for M-profile architecures
a 2-bytes branch instruction. This causes the section alignment to be set to 2-byte
alignment instead of 4-byte alignment. This is a problem for long branch stub
without pure-code section as it contains a 32-bit address as data, which is expected
to be 4-byte aligned. Hence creating a long branch stub for PureCode section followed
by a long branch stub will result in a misalignment for the 32-bit address.

An easy fix is to add a nop instruction after the branch to keep the section alignment
to 4 bytes.

Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Co-authored-by: Guillaume VACHERIAS <guillaume.vacherias@st.com>
(cherry picked from commit 014a7c0fa36ecc41918e5793052dd3ae8372efe5)

6 months agold: fix bashism in scripttempl/elf.sc
Sam James [Thu, 23 Jan 2025 00:03:07 +0000 (00:03 +0000)] 
ld: fix bashism in scripttempl/elf.sc

ld/
PR ld/32580

* scripttempl/elf.sc: Fix '==' bashism.

(cherry picked from commit 6999916e6c7fe6ba3a7661d852757f59223416a3)

6 months agoAutomatic date update in version.in
GDB Administrator [Thu, 23 Jan 2025 00:04:00 +0000 (00:04 +0000)] 
Automatic date update in version.in

6 months agobfd/doc: use abs_srcdir when creating symlinks
Andrew Burgess [Tue, 21 Jan 2025 13:06:18 +0000 (13:06 +0000)] 
bfd/doc: use abs_srcdir when creating symlinks

After commit:

  commit bd32be01c997f686ab0b53f0640eaa0aeb61fbd3
  Date:   Fri Dec 3 00:23:20 2021 -0500

      bfd: merge doc subdir up a level

And the follow-up commit:

  commit 98b1464bdf6306a8ab4614b5e9f76cdb2dd00b33
  Date:   Wed Oct 2 22:58:08 2024 +0300

      bfd: fix unnecessary bfd.info regen

There is still a problem building the bfd docs from a release tar
file.

As the release tar file contains the pre-generated .texi files we
expect the bfd/doc build stage to symlink to the pre-existing .texi
files in the source tree.

However, this is still not working as expected if $(srcdir) is
relative.  The problem is this line in REGEN_TEXI:

    test -e $$texi || test ! -f $(srcdir)/$$texi || $(LN_S) $(srcdir)/$$texi $$texi; \

This is executed from the build/bfd/ directory, so if $(srcdir) is
relative, then this will get you from the bfd/ directory in the build
tree to the corresponding bfd/ directory in the src tree.  However,
the symlink is created in the bfd/doc/ build directory.  The relative
path will then fail to take you to the bfd/ directory in the src
tree.

Fix this by using $(abs_srcdir) when creating the symlink.

Approved-By: Nick Clifton <nickc@redhat.com>
6 months agox86/Solaris: correct support for Sun form of CMOV<size>.S
Jan Beulich [Wed, 22 Jan 2025 08:51:23 +0000 (09:51 +0100)] 
x86/Solaris: correct support for Sun form of CMOV<size>.S

PR gas/32579

The deprecated .s (swapped operand encoding) functionality got in the
way of properly recognizing this specific form. Move the Solaris-
specific code ahead of that.

6 months agox86: Add missing @tab to separate columns in c-i386.texi
timhu2011 [Wed, 22 Jan 2025 07:32:31 +0000 (08:32 +0100)] 
x86: Add missing @tab to separate columns in c-i386.texi

I have missed @tab for .gmiccs and .padlockphe2, so fix this doc error.

gas/ChangeLog:

* doc/c-i386.texi: Add the missing @tab for .gmiccs and
  .padlockphe2

6 months agoAutomatic date update in version.in
GDB Administrator [Wed, 22 Jan 2025 00:03:33 +0000 (00:03 +0000)] 
Automatic date update in version.in

6 months agoSupport broken gcc test for gas string merge support
Alan Modra [Sat, 18 Jan 2025 12:09:05 +0000 (22:39 +1030)] 
Support broken gcc test for gas string merge support

On casual reading of older gcc configure scripts it might be supposed
that the test for gas string merge support tries with %progbits after
a fail on ARM with @progbits.  It doesn't succeed due to a bug.  So to
support building of older gcc's for ARM without users having to edit
gcc sources, add a hack to gas.  The hack can disappear in a few years
when building older gcc's likely requires other work too.

I've changed the docs to reflect what we actually allow for .section
syntax prior to this patch.  (No way should this hack be documented as
allowed!)

PR 32491
* config/obj-elf.c (obj_elf_section): Allow missing entsize
for ARM gcc configure bug.
* doc/as.texi: Correct syntax of ELF .section directive.
* testsuite/gas/elf/string.s,
* testsuite/gas/elf/string.d: Test it.

(cherry picked from commit 6427e777b99ec6505509a68de6d460ff772bee6a)

6 months agorun_dump_test warning/error regexp
Alan Modra [Sat, 18 Jan 2025 11:51:03 +0000 (22:21 +1030)] 
run_dump_test warning/error regexp

This allows you to specify a run_dump_test warning that may or may not
be present using
warning: (warning_text_goes_here)?
ie. the regexp matches an empty string.

(cherry picked from commit 592819f7188509713f3db6dbe6bc7d0b7e3af89e)

6 months agoMore updated translations
Nick Clifton [Tue, 21 Jan 2025 10:47:07 +0000 (10:47 +0000)] 
More updated translations

6 months agoAutomatic date update in version.in
GDB Administrator [Tue, 21 Jan 2025 00:02:47 +0000 (00:02 +0000)] 
Automatic date update in version.in

6 months agoLD: Remove duplicate 2.44 NEWS marker
Maciej W. Rozycki [Mon, 20 Jan 2025 17:29:18 +0000 (17:29 +0000)] 
LD: Remove duplicate 2.44 NEWS marker

Delete an extra 2.44 NEWS marker that has crept in by chance.

(cherry picked from commit 17973a4feeec604307e915f1df9e5593bfd09717)

6 months agoUpdate translations for various sub-directories
Nick Clifton [Mon, 20 Jan 2025 16:23:20 +0000 (16:23 +0000)] 
Update translations for various sub-directories

6 months agogas: elf: Relax rules for SHF_STRING sections
Richard Earnshaw [Fri, 17 Jan 2025 15:03:47 +0000 (15:03 +0000)] 
gas: elf: Relax rules for SHF_STRING sections

Commit af3394d97a8c5187085c0eec5fb03e8da88db5fb allowed sections
declared with "S" (SHF_STRING) to specify the entity size, but then
would warn if the entity size was omitted, as with the old syntax.

Unfortunately, since specifying the entity size is incompatible with
binutils 2.43 or earlier, this makes it impossible to specify a
strings section in source code without generating an assembly warning
(the new syntax isn't supported in older assemblers and the old syntax
generates warnings).

Nevertheless, the old code was wrong in that it did not set the entity
size at all, in contravention of the ELF specification (though to date
there are no known cases where this mattered outside of mergeable
sections).

Fix this by permitting the original syntax without a warning again,
but by defaulting the entity size to 1.  This is compatible with the
most common case of strings being byte-based.

Added some tests for the various flavours of declaration that we
support.

6 months agogas/NEWS,ld/NEWS: Announce LoongArch changes in 2.44
Lulu Cai [Mon, 20 Jan 2025 15:05:13 +0000 (15:05 +0000)] 
gas/NEWS,ld/NEWS: Announce LoongArch changes in 2.44

6 months agoAutomatic date update in version.in
GDB Administrator [Mon, 20 Jan 2025 00:00:54 +0000 (00:00 +0000)] 
Automatic date update in version.in

6 months agoUpdate version to 2.43.90 and regenerate files
Nick Clifton [Sun, 19 Jan 2025 12:29:56 +0000 (12:29 +0000)] 
Update version to 2.43.90 and regenerate files

6 months agoAdd name of 2.44 branch
Nick Clifton [Sun, 19 Jan 2025 12:09:35 +0000 (12:09 +0000)] 
Add name of 2.44 branch

6 months agoAdd markers for bihnutils 2.44 branch
Nick Clifton [Sun, 19 Jan 2025 12:09:01 +0000 (12:09 +0000)] 
Add markers for bihnutils 2.44 branch

6 months agoAutomatic date update in version.in
GDB Administrator [Sun, 19 Jan 2025 00:00:43 +0000 (00:00 +0000)] 
Automatic date update in version.in