Commit 534d990b by Ian Lance Taylor

libgo: add runtime/pprof/internal/profile.gox to noinst_DATA

    
    Also add noinst_DATA to CHECK_DEPS; it's not needed in practice since
    `make` will build noinst_DATA, but it's logically required and will
    make a difference if any of the noinst_DATA sources change between
    `make` and `make check`.
    
    Tony Reix figured out why omitting packages from noinst_DATA didn't
    seem to matter: because if gccgo can't find foo.gox, it will fall back
    to reading the export data in foo.o, and foo.o will exist because
    these packages go into libgo.a.
    
    Reviewed-on: https://go-review.googlesource.com/101077

From-SVN: r258606
parent 83484be8
e4464efc767b8dee4f4c18ffaf6c891f7b9deee7 e9c0e4d8fd3d951a367bb6a50e5cb546e01b81a8
The first line of this file holds the git revision number of the last The first line of this file holds the git revision number of the last
merge done from the gofrontend repository. merge done from the gofrontend repository.
...@@ -399,7 +399,8 @@ noinst_DATA = \ ...@@ -399,7 +399,8 @@ noinst_DATA = \
internal/testenv.gox \ internal/testenv.gox \
internal/trace.gox \ internal/trace.gox \
net/internal/socktest.gox \ net/internal/socktest.gox \
os/signal/internal/pty.gox os/signal/internal/pty.gox \
runtime/pprof/internal/profile.gox
if LIBGO_IS_RTEMS if LIBGO_IS_RTEMS
rtems_task_variable_add_file = runtime/rtems-task-variable-add.c rtems_task_variable_add_file = runtime/rtems-task-variable-add.c
...@@ -1094,6 +1095,7 @@ CHECK_DEPS = \ ...@@ -1094,6 +1095,7 @@ CHECK_DEPS = \
$(toolexeclibgotext_DATA) \ $(toolexeclibgotext_DATA) \
$(toolexeclibgotexttemplate_DATA) \ $(toolexeclibgotexttemplate_DATA) \
$(toolexeclibgounicode_DATA) \ $(toolexeclibgounicode_DATA) \
$(noinst_DATA) \
$(noinst_LIBRARIES) $(noinst_LIBRARIES)
if GOC_IS_LLGO if GOC_IS_LLGO
......
...@@ -758,7 +758,8 @@ toolexeclibgounicode_DATA = \ ...@@ -758,7 +758,8 @@ toolexeclibgounicode_DATA = \
noinst_DATA = golang_org/x/net/internal/nettest.gox \ noinst_DATA = golang_org/x/net/internal/nettest.gox \
golang_org/x/net/nettest.gox internal/testenv.gox \ golang_org/x/net/nettest.gox internal/testenv.gox \
internal/trace.gox net/internal/socktest.gox \ internal/trace.gox net/internal/socktest.gox \
os/signal/internal/pty.gox zstdpkglist.go zdefaultcc.go os/signal/internal/pty.gox runtime/pprof/internal/profile.gox \
zstdpkglist.go zdefaultcc.go
@LIBGO_IS_RTEMS_FALSE@rtems_task_variable_add_file = @LIBGO_IS_RTEMS_FALSE@rtems_task_variable_add_file =
@LIBGO_IS_RTEMS_TRUE@rtems_task_variable_add_file = runtime/rtems-task-variable-add.c @LIBGO_IS_RTEMS_TRUE@rtems_task_variable_add_file = runtime/rtems-task-variable-add.c
@LIBGO_IS_AIX_FALSE@@LIBGO_IS_DARWIN_FALSE@@LIBGO_IS_FREEBSD_FALSE@@LIBGO_IS_IRIX_FALSE@@LIBGO_IS_LINUX_FALSE@@LIBGO_IS_NETBSD_FALSE@@LIBGO_IS_SOLARIS_FALSE@runtime_getncpu_file = runtime/getncpu-none.c @LIBGO_IS_AIX_FALSE@@LIBGO_IS_DARWIN_FALSE@@LIBGO_IS_FREEBSD_FALSE@@LIBGO_IS_IRIX_FALSE@@LIBGO_IS_LINUX_FALSE@@LIBGO_IS_NETBSD_FALSE@@LIBGO_IS_SOLARIS_FALSE@runtime_getncpu_file = runtime/getncpu-none.c
...@@ -1170,7 +1171,8 @@ CHECK_DEPS = $(toolexeclibgo_DATA) $(toolexeclibgoarchive_DATA) \ ...@@ -1170,7 +1171,8 @@ CHECK_DEPS = $(toolexeclibgo_DATA) $(toolexeclibgoarchive_DATA) \
$(toolexeclibgoruntime_DATA) $(toolexeclibgosync_DATA) \ $(toolexeclibgoruntime_DATA) $(toolexeclibgosync_DATA) \
$(toolexeclibgotesting_DATA) $(toolexeclibgotext_DATA) \ $(toolexeclibgotesting_DATA) $(toolexeclibgotext_DATA) \
$(toolexeclibgotexttemplate_DATA) $(toolexeclibgounicode_DATA) \ $(toolexeclibgotexttemplate_DATA) $(toolexeclibgounicode_DATA) \
$(noinst_LIBRARIES) $(am__append_3) $(am__append_4) $(noinst_DATA) $(noinst_LIBRARIES) $(am__append_3) \
$(am__append_4)
# Pass -ffp-contract=off, or 386-specific options, when building the # Pass -ffp-contract=off, or 386-specific options, when building the
# math package. MATH_FLAG is defined in configure.ac. # math package. MATH_FLAG is defined in configure.ac.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment