Commit Graph

112832 Commits

Author SHA1 Message Date
GDB Administrator
0b77148f8f Automatic date update in version.in 2023-03-20 00:01:33 +00:00
GDB Administrator
b31eb88fff Automatic date update in version.in 2023-03-19 00:01:20 +00:00
GDB Administrator
b0c1a2ec6f Automatic date update in version.in 2023-03-18 00:01:28 +00:00
GDB Administrator
17f33cd090 Automatic date update in version.in 2023-03-17 00:01:12 +00:00
GDB Administrator
75fdc002b9 Automatic date update in version.in 2023-03-16 00:01:55 +00:00
GDB Administrator
7f513c52d2 Automatic date update in version.in 2023-03-15 00:01:34 +00:00
GDB Administrator
fc3fbfb2ee Automatic date update in version.in 2023-03-14 00:01:57 +00:00
GDB Administrator
90e00511cf Automatic date update in version.in 2023-03-13 00:01:26 +00:00
GDB Administrator
29340ee530 Automatic date update in version.in 2023-03-12 00:01:24 +00:00
GDB Administrator
c145f2797e Automatic date update in version.in 2023-03-11 00:01:19 +00:00
GDB Administrator
e93ec771cb Automatic date update in version.in 2023-03-10 00:01:43 +00:00
GDB Administrator
b5732e7c17 Automatic date update in version.in 2023-03-09 00:01:20 +00:00
GDB Administrator
acac834f75 Automatic date update in version.in 2023-03-08 00:01:29 +00:00
GDB Administrator
b45236f0bb Automatic date update in version.in 2023-03-07 00:01:50 +00:00
Alan Modra
18bb604f1e PR30198, Assertion and segfault when linking x86_64 elf and coff
PR 30198
	* coff-x86_64.c (coff_amd64_reloc): Set *error_message when
	returning bfd_reloc_dangerous.  Also check that __ImageBase is
	defined before accessing h->u.def.

(cherry picked from commit 889d15d574)
2023-03-06 14:45:45 +10:30
GDB Administrator
a253eb5c31 Automatic date update in version.in 2023-03-06 00:01:10 +00:00
GDB Administrator
5bfb2ddb6a Automatic date update in version.in 2023-03-05 00:01:11 +00:00
GDB Administrator
cbb836549c Automatic date update in version.in 2023-03-04 00:01:16 +00:00
GDB Administrator
cd41c3c106 Automatic date update in version.in 2023-03-03 00:01:07 +00:00
Alan Modra
34a2b4a0e2 PR30155, ld segfault in _bfd_nearby_section
The segfault was a symptom of messing with the absolute section next
field, confusing bfd_section_removed_from_list in linker.c:fix_syms.
That's not all that was going wrong.  The INSERT list of output
sections was being inserted into itself, ie. lost from the main
list of linker statements.

	PR 30155
	* ldlang.c (process_insert_statements): Handle pathological
	case of the insert script being inserted before the first
	output section statement in the default script.
	(output_prev_sec_find): Don't test section owner here.
	(insert_os_after): Change parameter to a list union pointer.
	(lang_insert_orphan): Test section owner here and adjust
	insert_os_after call.

(cherry picked from commit 18e7a6587e)
2023-03-02 11:34:57 +10:30
Alan Modra
3d0046f39a PR30046, power cmpi leads to unknown architecture
PowerPC ELF always uses bfd_arch_powerpc, so we shouldn't allow the
gas -mpwr, -mpwr2 or -mpwrx options to choose bfd_arch_rs6000.
Given the possible values of ppc_cpu, I think the as_fatal at the end
of ppc_arch will never be reached, so it can be deleted and the code
simplified a little.

	PR 30046
	* config/tc-ppc.c (ppc_arch): Return bfd_arch_powerpc for ELF.
	Delete dead code.

(cherry picked from commit 4d826e132c)
2023-03-02 11:34:57 +10:30
Alan Modra
5c87fb1d59 ppc32 and "LOAD segment with RWX permissions"
When using a bss-plt we'll always trigger the RWX warning, which
disturbs gcc test results.  On the other hand, there may be reason to
want the warning when gcc is configured with --enable-secureplt.
So turning off the warning entirely for powerpc might not be the best
solution.  Instead, we'll turn off the warning whenever a bss-plt is
generated, unless the user explicitly asked for the warning.

bfd/
	* elf32-ppc.c (ppc_elf_select_plt_layout): Set
	no_warn_rwx_segments on generating a bss plt, unless explicity
	enabled by the user.  Also show the bss-plt warning when
	--warn-rwx-segments is given without --bss-plt.
include/
	* bfdlink.h (struct bfd_link_info): Add user_warn_rwx_segments.
ld/
	* lexsup.c (parse_args): Set user_warn_rwx_segments.
	* testsuite/ld-elf/elf.exp: Pass --secure-plt for powerpc to
	the rwx tests.

(cherry picked from commit 8478900290)
2023-03-02 11:34:57 +10:30
GDB Administrator
67b2106a0f Automatic date update in version.in 2023-03-02 00:01:16 +00:00
GDB Administrator
201fe4489c Automatic date update in version.in 2023-03-01 00:01:36 +00:00
GDB Administrator
11bafd29a9 Automatic date update in version.in 2023-02-28 00:01:18 +00:00
Nick Clifton
11f5c1ebf1 Updated Serbian translations for gold, gprof and opcodes sub-directories 2023-02-27 12:49:24 +00:00
GDB Administrator
2f471f3783 Automatic date update in version.in 2023-02-27 00:00:49 +00:00
GDB Administrator
c2bae25afb Automatic date update in version.in 2023-02-26 00:00:52 +00:00
GDB Administrator
49bd26445a Automatic date update in version.in 2023-02-25 00:00:47 +00:00
GDB Administrator
1caea23282 Automatic date update in version.in 2023-02-24 00:01:17 +00:00
GDB Administrator
9f7892cf1f Automatic date update in version.in 2023-02-23 00:01:13 +00:00
GDB Administrator
90b49bbe9a Automatic date update in version.in 2023-02-22 00:01:49 +00:00
GDB Administrator
e310116ffd Automatic date update in version.in 2023-02-21 00:00:57 +00:00
Nick Clifton
38e455b1d9 Updated translations for the bfd and gprof directories. 2023-02-20 12:32:30 +00:00
GDB Administrator
522eced009 Automatic date update in version.in 2023-02-20 00:00:52 +00:00
GDB Administrator
1c55c773b8 Automatic date update in version.in 2023-02-19 00:01:03 +00:00
GDB Administrator
f0495e03c6 Automatic date update in version.in 2023-02-18 00:00:42 +00:00
GDB Administrator
dc309ee71f Automatic date update in version.in 2023-02-17 00:00:59 +00:00
GDB Administrator
2dae374ded Automatic date update in version.in 2023-02-16 00:01:24 +00:00
GDB Administrator
a55010662a Automatic date update in version.in 2023-02-15 00:01:03 +00:00
Jan Beulich
b2bc62b7b4 gas: correct symbol name comparison in .startof./.sizeof. handling
In 162c6aef1f ("gas: fold symbol table entries generated for
.startof.() / .sizeof.()") I screwed up quite badly, inverting the case
sensitive and case insensitive comparison functions.
2023-02-14 08:38:36 +01:00
GDB Administrator
d4b31bc4db Automatic date update in version.in 2023-02-14 00:01:05 +00:00
GDB Administrator
5adb676992 Automatic date update in version.in 2023-02-13 00:00:45 +00:00
GDB Administrator
6200285c83 Automatic date update in version.in 2023-02-12 00:00:47 +00:00
GDB Administrator
90fa46db61 Automatic date update in version.in 2023-02-11 00:00:46 +00:00
GDB Administrator
0004a53d47 Automatic date update in version.in 2023-02-10 00:00:54 +00:00
Clément Chigot
17294931e3 configure: remove dependencies on gmp and mpfr when gdb is disabled
Since 9911806278, the configure checks
about GMP and MPFR for gdb builds have been moved to the toplevel
configure.
However, it doesn't take into account the --disable-gdb option. Meaning
that a build without gdb will require these libraries even if not
needed.

ChangeLog:

	* configure.ac: Skip GMP and MPFR when --disable-gdb is
	provided.
	* configure: Regenerate.

(cherry picked from commit 5fb0e30857)
2023-02-09 11:03:03 +01:00
GDB Administrator
717aae8984 Automatic date update in version.in 2023-02-09 00:01:08 +00:00
GDB Administrator
cd1edf4e73 Automatic date update in version.in 2023-02-08 00:01:10 +00:00
GDB Administrator
5d13759a68 Automatic date update in version.in 2023-02-07 00:00:58 +00:00