commit:     7b411d4b9fc34eea8574162203faf93f4277e391
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 29 14:18:17 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 29 14:18:28 2025 +0000
URL:        
https://gitweb.gentoo.org/proj/toolchain/binutils-patches.git/commit/?id=7b411d4b

9999: drop -g hunks

Merged. This also drops the CFLAGS stuff for gprof but not going
to worry about that for now.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...-Adjust-testsuites-for-flto-and-without-g.patch | 45 ----------------------
 1 file changed, 45 deletions(-)

diff --git a/9999/0005-Adjust-testsuites-for-flto-and-without-g.patch 
b/9999/0005-Adjust-testsuites-for-flto-and-without-g.patch
index 607e838..20a8c62 100644
--- a/9999/0005-Adjust-testsuites-for-flto-and-without-g.patch
+++ b/9999/0005-Adjust-testsuites-for-flto-and-without-g.patch
@@ -113,51 +113,6 @@ index a706efbba18..42a29927a5d 100644
        untested $test
        return
      }
-diff --git a/gprof/testsuite/Makefile.am b/gprof/testsuite/Makefile.am
-index c4d6c41fcf4..0c80b12e6e4 100644
---- a/gprof/testsuite/Makefile.am
-+++ b/gprof/testsuite/Makefile.am
-@@ -6,12 +6,12 @@ GPROF = ../gprof$(EXEEXT)
- 
- # NB: -O2 -fno-omit-frame-pointer is needed for expected call graph.  See
- # https://sourceware.org/bugzilla/show_bug.cgi?id=32768
--GPROF_FLAGS = -O2 -fno-omit-frame-pointer -pg
-+# -g is needed for line number info checked by tst-gmon-gprof-l.sh.  See
-+# https://sourceware.org/bugzilla/show_bug.cgi?id=32779
-+GPROF_FLAGS = -O2 -fno-omit-frame-pointer -pg -g
- 
--COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
--      $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(GPROF_FLAGS)
--LINK = $(CC) $(AM_CFLAGS) $(CFLAGS) $(OPT_NO_PLUGINS) $(GPROF_FLAGS) \
--      $(AM_LDFLAGS) $(LDFLAGS) -o $@
-+COMPILE = $(CC) $(AM_CFLAGS) $(GPROF_FLAGS)
-+LINK = $(CC) $(AM_CFLAGS) $(GPROF_FLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
- 
- # We will add to these later, for each individual test.  Note
- # that we add each test under check_SCRIPTS;
-diff --git a/gprof/testsuite/Makefile.in b/gprof/testsuite/Makefile.in
-index 008f6be879e..2ac5f241012 100644
---- a/gprof/testsuite/Makefile.in
-+++ b/gprof/testsuite/Makefile.in
-@@ -496,13 +496,11 @@ GPROF = ../gprof$(EXEEXT)
- 
- # NB: -O2 -fno-omit-frame-pointer is needed for expected call graph.  See
- # https://sourceware.org/bugzilla/show_bug.cgi?id=32768
--GPROF_FLAGS = -O2 -fno-omit-frame-pointer -pg
--COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
--      $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(GPROF_FLAGS)
--
--LINK = $(CC) $(AM_CFLAGS) $(CFLAGS) $(OPT_NO_PLUGINS) $(GPROF_FLAGS) \
--      $(AM_LDFLAGS) $(LDFLAGS) -o $@
--
-+# -g is needed for line number info checked by tst-gmon-gprof-l.sh.  See
-+# https://sourceware.org/bugzilla/show_bug.cgi?id=32779
-+GPROF_FLAGS = -O2 -fno-omit-frame-pointer -pg -g
-+COMPILE = $(CC) $(AM_CFLAGS) $(GPROF_FLAGS)
-+LINK = $(CC) $(AM_CFLAGS) $(GPROF_FLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
- 
- # We will add to these later, for each individual test.  Note
- # that we add each test under check_SCRIPTS;
 diff --git a/ld/testsuite/ld-ctf/ctf.exp b/ld/testsuite/ld-ctf/ctf.exp
 index c314f2995af..08b47d2db18 100644
 --- a/ld/testsuite/ld-ctf/ctf.exp

Reply via email to