No description
Find a file
Nick Alcock fa4fe27537
libctf: fix cv-qualified unnamed struct/union field lookup
GCC permits not only unnamed structs and unions, but cv-qualified ones.
Our earlier fix in 6c3a38777b supported
unnamed structs and unions, but only unqualified ones.

Resolving away cvr-quals of nameless fields (and, irrelevantly, typedefs)
is easy and fixes this problem.

Tests adjusted accordingly.

libctf/
	PR libctf/32746
	* ctf-types.c (ctf_member_next): Resolve away cv-quals.
	(ctf_member_info): Likewise.
	* testsuite/libctf-lookup/struct-iteration-ctf.c: Add a cv-qualified
	type or two: make sure to keep a non-qualified one.
	* testsuite/libctf-lookup/struct-iteration.c: Verify consistency
	of ctf_member_next and ctf_member_info.
	* testsuite/libctf-lookup/struct-iteration.lk: Adjust.

Tested-by: Stephen Brennan <stephen.s.brennan@oracle.com>
2025-02-28 14:16:42 +00:00
bfd Automatic date update in version.in 2025-02-28 00:00:12 +00:00
binutils readelf, objdump: fix ctf dict leak 2025-02-28 14:16:29 +00:00
config Re: nios2: Remove binutils support for Nios II target 2024-11-27 10:34:08 +10:30
contrib Revert "contrib: Add autoregen.py" 2024-09-04 13:38:57 +00:00
cpu Add markers for bihnutils 2.44 branch 2025-01-19 12:09:01 +00:00
elfcpp Add markers for bihnutils 2.44 branch 2025-01-19 12:09:01 +00:00
etc Update year range in copyright notice of binutils files 2025-01-01 18:29:57 +10:30
gas gas: sframe: partially process DWARF unwind info in CFI_escape 2025-02-26 13:50:49 -08:00
gdb [gdb/testsuite] Fix gdb.base/nostdlib.exp on aarch64 2025-02-28 14:13:02 +01:00
gdbserver gdb, gdbserver, gdbsupport: fix some namespace comment formatting 2025-02-27 21:35:38 -05:00
gdbsupport gdb, gdbserver, gdbsupport: fix some namespace comment formatting 2025-02-27 21:35:38 -05:00
gnulib autoupdate: replace obsolete macros AC_CONFIG_HEADER 2024-06-10 08:25:55 +09:30
gold Updated translations for bfd and gold 2025-02-27 12:16:26 +00:00
gprof gprof: fix odd inst len hist scale calculation 2025-02-10 08:58:02 +10:30
gprofng Change version to 2.44.50 and regenerate files 2025-01-19 12:40:46 +00:00
include PR 32603, more ld -w misbehaviour 2025-02-18 09:16:57 +10:30
ld x86-64: Pass -z separate-code to ld for -z mark-plt tests 2025-02-27 08:19:29 +08:00
libbacktrace autoupdate: regen after replacing obsolete macros 2024-06-10 08:25:56 +09:30
libctf libctf: fix cv-qualified unnamed struct/union field lookup 2025-02-28 14:16:42 +00:00
libdecnumber regen config 2023-08-12 10:27:57 +09:30
libiberty Copy gcc commit e76df3586417d645dd84e8a1ab165605a8924796 to sourceware 2025-01-16 15:51:52 +00:00
libsframe doc: sframe: Clarify FDE/FRE function/range start address fields 2025-02-04 15:13:24 +01:00
opcodes RISC-V: Fix abort when displaying data and partial instructions 2025-02-26 23:12:17 +08:00
readline [gdb/readline] Fix link error on MinGW due to missing 'alarm' 2025-01-04 12:19:55 +02:00
sim Fix a syntax error in sim/common/cgen-mem.h 2025-01-14 09:09:14 -07:00
texinfo
zlib autoupdate: regen after replacing obsolete macros 2024-06-10 08:25:56 +09:30
.cvsignore
.editorconfig
.gitattributes binutils-gdb/git: highlight whitespace errors in source files 2022-07-25 14:35:41 +01:00
.gitignore gitignore: Add .devcontainer to ignored 2024-12-13 09:35:10 -07:00
.pre-commit-config.yaml [pre-commit] Require pre-commit version 3.2.0 2025-02-04 22:07:22 +01:00
ar-lib
ChangeLog Add markers for bihnutils 2.44 branch 2025-01-19 12:09:01 +00:00
compile
config-ml.in MSP430: Add -fno-exceptions multilib 2023-08-12 10:24:26 +09:30
config.guess Sync config.guess and config.sub with latest versions from the config project. 2025-01-17 10:18:30 +00:00
config.rpath
config.sub Sync config.guess and config.sub with latest versions from the config project. 2025-01-17 10:18:30 +00:00
configure nios2: Remove binutils support for Nios II target. 2024-11-26 19:13:07 +00:00
configure.ac nios2: Remove binutils support for Nios II target. 2024-11-26 19:13:07 +00:00
COPYING
COPYING.LIB
COPYING.LIBGLOSS
COPYING.NEWLIB
COPYING3
COPYING3.LIB
depcomp
djunpack.bat
install-sh
libtool.m4 FDPIC: Handle arm*-*-uclinuxfdpiceabi in configure scripts 2023-08-12 10:25:06 +09:30
ltgcc.m4
ltmain.sh ltmain.sh: allow more flags at link-time 2024-09-25 19:06:10 +01:00
ltoptions.m4
ltsugar.m4
ltversion.m4
lt~obsolete.m4
MAINTAINERS Fix compiling bfd/vms-lib.c for a 32-bit host. 2024-03-18 10:26:16 +00:00
Makefile.def Revert "Pass GUILE down to subdirectories" 2024-03-22 11:07:28 -06:00
Makefile.in Revert "Pass GUILE down to subdirectories" 2024-03-22 11:07:28 -06:00
Makefile.tpl Revert "Pass GUILE down to subdirectories" 2024-03-22 11:07:28 -06:00
makefile.vms
missing
mkdep
mkinstalldirs
move-if-change
multilib.am
README
README-maintainer-mode Note that at least dejagnu version 1.5.3 is required in order to be ale to run the testsuites. 2022-10-04 10:54:19 +01:00
SECURITY.txt Add a SECURITY.txt file describing the GNU Binutils' project's stance on security related bugs. 2023-04-20 16:52:11 +01:00
setup.com
src-release.sh Rename 'binutils' to 'binutils_with_gold'. Rename 'bin_no_gold' to 'binutils'. Add 'gold' 2025-02-04 11:50:02 +00:00
symlink-tree
test-driver
ylwrap

		   README for GNU development tools

This directory contains various GNU compilers, assemblers, linkers, 
debuggers, etc., plus their support routines, definitions, and documentation.

If you are receiving this as part of a GDB release, see the file gdb/README.
If with a binutils release, see binutils/README;  if with a libg++ release,
see libg++/README, etc.  That'll give you info about this
package -- supported targets, how to use it, how to report bugs, etc.

It is now possible to automatically configure and build a variety of
tools with one command.  To build all of the tools contained herein,
run the ``configure'' script here, e.g.:

	./configure 
	make

To install them (by default in /usr/local/bin, /usr/local/lib, etc),
then do:
	make install

(If the configure script can't determine your type of computer, give it
the name as an argument, for instance ``./configure sun4''.  You can
use the script ``config.sub'' to test whether a name is recognized; if
it is, config.sub translates it to a triplet specifying CPU, vendor,
and OS.)

If you have more than one compiler on your system, it is often best to
explicitly set CC in the environment before running configure, and to
also set CC when running make.  For example (assuming sh/bash/ksh):

	CC=gcc ./configure
	make

A similar example using csh:

	setenv CC gcc
	./configure
	make

Much of the code and documentation enclosed is copyright by
the Free Software Foundation, Inc.  See the file COPYING or
COPYING.LIB in the various directories, for a description of the
GNU General Public License terms under which you can copy the files.

REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info
on where and how to report problems.