From: Richard Biener <richard.guenther@gmail.com>
To: Alexander Monakov <amonakov@ispras.ru>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH 2/2] gcc_qsort: build system changes
Date: Fri, 11 May 2018 09:32:00 -0000 [thread overview]
Message-ID: <CAFiYyc1x9Hm2C9RoEFjfDvkiagxzUeCxLEegF3S0K-x3=KoX8A@mail.gmail.com> (raw)
In-Reply-To: <20180510155641.2950-3-amonakov@ispras.ru>
On Thu, May 10, 2018 at 5:56 PM, Alexander Monakov <amonakov@ispras.ru> wrote:
> * Makefile.in (OBJS-libcommon): Add sort.o.
> (build/sort.o): New target. Use it...
> (BUILD_RTL): ... here, and...
> (build/gencfn-macros): ... here, and...
> (build/genmatch): ... here.
OK if the rest is approved.
Richard.
> ---
> gcc/Makefile.in | 9 +++++----
> 1 file changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/gcc/Makefile.in b/gcc/Makefile.in
> index 20bee0494b1..8ec0511704d 100644
> --- a/gcc/Makefile.in
> +++ b/gcc/Makefile.in
> @@ -1076,7 +1076,7 @@ BUILD_LIBS = $(BUILD_LIBIBERTY)
>
> BUILD_RTL = build/rtl.o build/read-rtl.o build/ggc-none.o \
> build/vec.o build/min-insn-modes.o build/gensupport.o \
> - build/print-rtl.o build/hash-table.o
> + build/print-rtl.o build/hash-table.o build/sort.o
> BUILD_MD = build/read-md.o
> BUILD_ERRORS = build/errors.o
>
> @@ -1611,7 +1611,7 @@ OBJS-libcommon = diagnostic.o diagnostic-color.o diagnostic-show-locus.o \
> pretty-print.o intl.o \
> sbitmap.o \
> vec.o input.o version.o hash-table.o ggc-none.o memory-block.o \
> - selftest.o selftest-diagnostic.o
> + selftest.o selftest-diagnostic.o sort.o
>
> # Objects in libcommon-target.a, used by drivers and by the core
> # compiler and containing target-dependent code.
> @@ -2681,6 +2681,7 @@ build/vec.o : vec.c $(BCONFIG_H) $(SYSTEM_H) $(CORETYPES_H) $(VEC_H) \
> $(GGC_H) toplev.h $(DIAGNOSTIC_CORE_H)
> build/hash-table.o : hash-table.c $(BCONFIG_H) $(SYSTEM_H) \
> $(CORETYPES_H) $(HASH_TABLE_H) $(GGC_H) toplev.h $(DIAGNOSTIC_CORE_H)
> +build/sort.o : sort.cc $(BCONFIG_H) $(SYSTEM_H)
> build/inchash.o : inchash.c $(BCONFIG_H) $(SYSTEM_H) $(CORETYPES_H) \
> $(HASHTAB_H) inchash.h
> build/gencondmd.o : build/gencondmd.c $(BCONFIG_H) $(SYSTEM_H) \
> @@ -2817,7 +2818,7 @@ build/genautomata$(build_exeext) : BUILD_LIBS += -lm
>
> build/genrecog$(build_exeext) : build/hash-table.o build/inchash.o
> build/gencfn-macros$(build_exeext) : build/hash-table.o build/vec.o \
> - build/ggc-none.o
> + build/ggc-none.o build/sort.o
>
> # For stage1 and when cross-compiling use the build libcpp which is
> # built with NLS disabled. For stage2+ use the host library and
> @@ -2831,7 +2832,7 @@ build/genmatch$(build_exeext): BUILD_LIBS += $(LIBINTL) $(LIBICONV)
> endif
>
> build/genmatch$(build_exeext) : $(BUILD_CPPLIB) \
> - $(BUILD_ERRORS) build/vec.o build/hash-table.o
> + $(BUILD_ERRORS) build/vec.o build/hash-table.o build/sort.o
>
> # These programs are not linked with the MD reader.
> build/gengtype$(build_exeext) : build/gengtype-lex.o build/gengtype-parse.o \
> --
> 2.13.3
>
next prev parent reply other threads:[~2018-05-11 9:06 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-10 15:57 [PATCH 0/2] Introduce gcc_qsort Alexander Monakov
2018-05-10 15:57 ` [PATCH 2/2] gcc_qsort: build system changes Alexander Monakov
2018-05-11 9:32 ` Richard Biener [this message]
2018-05-10 17:01 ` [PATCH 1/2] gcc_qsort: source code changes Alexander Monakov
2018-05-10 17:01 ` David Malcolm
2018-05-10 17:44 ` Richard Biener
2018-05-10 18:08 ` Alexander Monakov
2018-05-10 18:57 ` DJ Delorie
2018-05-11 12:03 ` Richard Biener
2018-05-11 13:12 ` Alexander Monakov
2018-05-13 23:56 ` H.J. Lu
2018-05-14 8:44 ` Alexander Monakov
2018-05-14 9:08 ` Richard Biener
2018-05-10 17:35 ` [PATCH 0/2] Introduce gcc_qsort Jakub Jelinek
2018-05-10 17:48 ` Alexander Monakov
2018-05-10 17:43 ` Richard Biener
2018-05-10 17:57 ` Alexander Monakov
2018-05-11 10:35 ` Segher Boessenkool
2018-05-11 10:44 ` Alexander Monakov
2018-05-11 12:00 ` Segher Boessenkool
2018-05-11 12:16 ` Alexander Monakov
2018-05-11 12:52 ` Segher Boessenkool
2018-05-11 16:54 ` Eric Botcazou
2018-05-11 11:17 ` Jakub Jelinek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAFiYyc1x9Hm2C9RoEFjfDvkiagxzUeCxLEegF3S0K-x3=KoX8A@mail.gmail.com' \
--to=richard.guenther@gmail.com \
--cc=amonakov@ispras.ru \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).