Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
f8b7eda5
Commit
f8b7eda5
authored
Dec 16, 2010
by
Alex Brainman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
8l: remove unneeded windows check
R=golang-dev, rsc CC=golang-dev
https://golang.org/cl/3691042
parent
c8345197
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
data.c
src/cmd/ld/data.c
+1
-2
No files found.
src/cmd/ld/data.c
View file @
f8b7eda5
...
...
@@ -166,8 +166,7 @@ relocsym(Sym *s)
continue
;
if
(
r
->
sym
!=
S
&&
r
->
sym
->
type
==
SDYNIMPORT
)
if
(
thechar
!=
'8'
||
HEADTYPE
!=
10
)
// Windows PE supports relocation references to dynamic import symbols
diag
(
"unhandled relocation for %s (type %d rtype %d)"
,
r
->
sym
->
name
,
r
->
sym
->
type
,
r
->
type
);
diag
(
"unhandled relocation for %s (type %d rtype %d)"
,
r
->
sym
->
name
,
r
->
sym
->
type
,
r
->
type
);
if
(
r
->
sym
!=
S
&&
!
r
->
sym
->
reachable
)
diag
(
"unreachable sym in relocation: %s %s"
,
s
->
name
,
r
->
sym
->
name
);
...
...
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