Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
95907c47
Commit
95907c47
authored
Dec 16, 2011
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runtime: fix build
TBR=r CC=golang-dev
https://golang.org/cl/5493061
parent
851f3013
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
5 deletions
+11
-5
src/Make.pkg
src/Make.pkg
+1
-1
src/pkg/runtime/Makefile
src/pkg/runtime/Makefile
+8
-4
src/pkg/runtime/traceback_x86.c
src/pkg/runtime/traceback_x86.c
+2
-0
No files found.
src/Make.pkg
View file @
95907c47
...
...
@@ -245,5 +245,5 @@ endif
%.$O: _obj/%.c $(HFILES)
$(CC) $(CFLAGS) -I . -o "$@" _obj/$*.c
%.$O: %.s
%.$O: %.s
$(HFILES)
$(AS) $*.s
src/pkg/runtime/Makefile
View file @
95907c47
...
...
@@ -51,6 +51,11 @@ OFILES_windows=\
OFILES_386
=
\
vlop_386.
$O
\
vlrt_386.
$O
\
traceback_x86.
$O
\
# amd64-specific object files
OFILES_amd64
=
\
traceback_x86.
$O
\
# arm-specific object files
OFILES_arm
=
\
...
...
@@ -58,6 +63,7 @@ OFILES_arm=\
softfloat_arm.
$O
\
vlop_arm.
$O
\
vlrt_arm.
$O
\
traceback_x86.
$O
\
OFILES
=
\
alg.
$O
\
...
...
@@ -97,7 +103,6 @@ OFILES=\
sys_
$(GOOS)
_
$(GOARCH)
.
$O
\
thread_
$(GOOS)
.
$O
\
time.
$O
\
traceback_
$(GOARCH)
.
$O
\
$
(
OFILES_
$(GOARCH)
)
\
$
(
OFILES_
$(GOOS)
)
\
...
...
@@ -113,6 +118,7 @@ HFILES=\
hashmap.h
\
malloc.h
\
stack.h
\
asm_
$(GOARCH)
.h
\
$(AUTOHFILES)
\
GOFILES
+=
$
(
GOFILES_
$(GOOS)
)
...
...
@@ -157,10 +163,8 @@ version_$(GOOS).go:
./goc2c
"
`
pwd
`
/
$<
"
>
$@
.tmp
mv
-f
$@
.tmp
$@
%.$O
:
asm_$(GOARCH).h
# for discovering offsets inside structs when debugging
runtime.acid.$(GOARCH)
:
runtime.h proc.c
runtime.acid.$(GOARCH)
:
runtime.h proc.c
$(AUTOHFILES)
$(CC)
$(CFLAGS)
-a
proc.c
>
$@
# 386 traceback is really amd64 traceback
...
...
src/pkg/runtime/traceback_
amd64
.c
→
src/pkg/runtime/traceback_
x86
.c
View file @
95907c47
...
...
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build amd64 386
#include "runtime.h"
#include "arch_GOARCH.h"
#include "malloc.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment