~ubuntu-support-team/binutils/+git/binutils-gdb:users/hjl/try-pr30002

Last commit made on 2023-01-16
Get this branch:
git clone -b users/hjl/try-pr30002 https://git.launchpad.net/~ubuntu-support-team/binutils/+git/binutils-gdb

Branch merges

Branch information

Name:
users/hjl/try-pr30002
Repository:
lp:~ubuntu-support-team/binutils/+git/binutils-gdb

Recent commits

4be74a8... by "H.J. Lu" <email address hidden>

ld: Use run_cc_link_tests for PR ld/26391 tests

Use run_cc_link_tests for PR ld/26391 tests to compile PR ld/26391 tests
in C.

 PR ld/30002
 * testsuite/ld-elf/elf.exp: Use run_cc_link_tests for PR ld/26391
 tests.

24669c5... by Enze Li <email address hidden>

libctf: update regexp to allow makeinfo to build document

While trying to build gdb on latest openSUSE Tumbleweed, I noticed the
following warning,

 checking for makeinfo... makeinfo --split-size=5000000
 configure: WARNING:
 *** Makeinfo is too old. Info documentation will not be built.

then I checked the version of makeinfo, it said,
======
$ makeinfo --version
texi2any (GNU texinfo) 7.0.1

Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
======

After digging a little bit, it became quite obvious that a dot is
missing in regexp that makes it impossible to match versions higher than
7.0, and here's the solution:

- | egrep 'texinfo[^0-9]*(6\.[3-9]|[7-9][0-9])' >/dev/null 2>&1; then
+ | egrep 'texinfo[^0-9]*(6\.[3-9]|[7-9]\.[0-9])' >/dev/null 2>&1; then

However, Eli pointed out that the solution above has another problem: it
will stop working when Texinfo 10.1 will be released. Meanwhile, he
suggested to solve this problem permanently. That is, we don't care
about the minor version for Texinfo > 6.9, we only care about the major
version.

In this way, the problem will be resolved permanently, thanks to Eli.

libctf/ChangeLog:

 * configure: Regenerated.
 * configure.ac: Update regexp to match versions higher than 7.0.

5293666... by Alan Modra

Correct ld-pe/aarch64.d test output

"foo" is at 0x2010. This corrects the expected output for .long and
.word referencing foo, showing a problem with relocation handling.

 * testsuite/ld-pe/aarch64.d: Correct expected output.

6eb099a... by Alan Modra

Tidy gas/expr.c static state

 * expr.c (seen, nr_seen): Make file scope.
 (expr_begin): Clear seen, nr_seen, and expr_symbol_lines.
 (expr_end): New function.
 * expr.h (expr_end): Declare.
 * output-file.c (output_file_close): Call expr_end.
 * config/tc-hppa.c (expr_end): Rename to expr_parse_end.
 * config/tc-mips.c: Likewise.
 * config/tc-riscv.c: Likewise.
 * config/tc-sparc.c: Likewise.

6e4b74e... by Alan Modra

Leftover hack from i960-coff

 * reloc.c (bfd_perform_relocation, bfd_install_relocation): Remove
 i960-coff target hack.

4a3ab08... by Alan Modra

COFF CALC_ADDEND comment

Old COFF (and AOUT) targets have unusual relocation addends.

 * coffcode.h (<Reading relocations>): Describe COFF addends.

5999477... by Alan Modra

PR29991, MicroMIPS flag erased after align directives

 PR 29991
 * config/tc-mips.c (s_align): Call file_mips_check_options and
 mips_mark_labels.
 * testsuite/gas/mips/align-after-label.s,
 * testsuite/gas/mips/mips-align-after-label.d,
 * testsuite/gas/mips/micromips-align-after-label.d: New test.
 * testsuite/gas/mips/mips.exp: Run it.

f75c8fc... by Nick Clifton <email address hidden>

Update release making howto

69373ba... by Nick Clifton <email address hidden>

Updated translations for the gas and binutils sub-directories

da8c966... by Mike Frysinger

sim: assume sys/stat.h always exists (via gnulib)

We have many uses of sys/stat.h that are unprotected by HAVE_SYS_STAT_H,
so this is more formalizing the reality that we require this header.
Since we switched to gnulib, it guarantees that a sys/stat.h exists
for us to include, so we're doubly OK.