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
fd0af9b5
Commit
fd0af9b5
authored
Aug 31, 2013
by
Joel Sing
Committed by
Ian Lance Taylor
Aug 31, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd/8l: add support for dragonfly/386
R=golang-dev, iant CC=golang-dev
https://golang.org/cl/13328045
parent
465ba6b7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
src/cmd/8l/asm.c
src/cmd/8l/asm.c
+1
-0
src/cmd/8l/obj.c
src/cmd/8l/obj.c
+4
-0
src/cmd/ld/doc.go
src/cmd/ld/doc.go
+1
-1
No files found.
src/cmd/8l/asm.c
View file @
fd0af9b5
...
...
@@ -847,6 +847,7 @@ asmb(void)
case
Hfreebsd
:
case
Hnetbsd
:
case
Hopenbsd
:
case
Hdragonfly
:
asmbelf
(
symo
);
break
;
case
Hwindows
:
...
...
src/cmd/8l/obj.c
View file @
fd0af9b5
...
...
@@ -53,6 +53,7 @@ Header headers[] = {
"msdoscom"
,
Hmsdoscom
,
"msdosexe"
,
Hmsdosexe
,
"darwin"
,
Hdarwin
,
"dragonfly"
,
Hdragonfly
,
"linux"
,
Hlinux
,
"freebsd"
,
Hfreebsd
,
"netbsd"
,
Hnetbsd
,
...
...
@@ -69,6 +70,7 @@ Header headers[] = {
* -Hmsdoscom -Tx -Rx is MS-DOS .COM
* -Hmsdosexe -Tx -Rx is fake MS-DOS .EXE
* -Hdarwin -Tx -Rx is Apple Mach-O
* -Hdragonfly -Tx -Rx is DragonFly ELF32
* -Hlinux -Tx -Rx is Linux ELF32
* -Hfreebsd -Tx -Rx is FreeBSD ELF32
* -Hnetbsd -Tx -Rx is NetBSD ELF32
...
...
@@ -153,6 +155,7 @@ main(int argc, char *argv[])
sysfatal
(
"cannot use -linkmode=external with -H %s"
,
headstr
(
HEADTYPE
));
break
;
case
Hdarwin
:
case
Hdragonfly
:
case
Hfreebsd
:
case
Hlinux
:
case
Hnetbsd
:
...
...
@@ -242,6 +245,7 @@ main(int argc, char *argv[])
case
Hfreebsd
:
case
Hnetbsd
:
case
Hopenbsd
:
case
Hdragonfly
:
/*
* ELF uses TLS offsets negative from %gs.
* Translate 0(GS) and 4(GS) into -8(GS) and -4(GS).
...
...
src/cmd/ld/doc.go
View file @
fd0af9b5
...
...
@@ -33,7 +33,7 @@ Options new in this version:
linker. This flag cannot be used when $GOOS is windows.
-H darwin (only in 6l/8l)
Write Apple Mach-O binaries (default when $GOOS is darwin)
-H dragonfly (only in 6l)
-H dragonfly (only in 6l
/8l
)
Write DragonFly ELF binaries (default when $GOOS is dragonfly)
-H linux
Write Linux ELF binaries (default when $GOOS is linux)
...
...
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