Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
cb14fcb8
Commit
cb14fcb8
authored
Jan 01, 2010
by
Andreas Tobler
Committed by
Anthony Green
Jan 01, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add openbsd support.
From-SVN: r155549
parent
1098bcf8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
3 deletions
+14
-3
libffi/ChangeLog
+7
-0
libffi/configure
+1
-1
libffi/configure.ac
+1
-1
libffi/testsuite/lib/libffi-dg.exp
+5
-1
No files found.
libffi/ChangeLog
View file @
cb14fcb8
2009-12-26 Andreas Tobler <a.tobler@schweiz.org>
* configure.ac: Add amd64-*-openbsd*.
* configure: Rebuilt.
* testsuite/lib/libffi-dg.exp (libffi_target_compile): Link
openbsd programs with -lpthread.
2009-12-26 Anthony Green <green@redhat.com>
* testsuite/libffi.call/cls_double_va.c,
...
...
libffi/configure
View file @
cb14fcb8
...
...
@@ -11328,7 +11328,7 @@ case "$host" in
TARGET
=
ARM
;
TARGETDIR
=
arm
;;
amd64-
*
-freebsd
*
)
amd64-
*
-freebsd
*
|
amd64-
*
-openbsd
*
)
TARGET
=
X86_64
;
TARGETDIR
=
x86
;;
...
...
libffi/configure.ac
View file @
cb14fcb8
...
...
@@ -51,7 +51,7 @@ case "$host" in
TARGET=ARM; TARGETDIR=arm
;;
amd64-*-freebsd*)
amd64-*-freebsd*
| amd64-*-openbsd*
)
TARGET=X86_64; TARGETDIR=x86
;;
...
...
libffi/testsuite/lib/libffi-dg.exp
View file @
cb14fcb8
# Copyright (C) 2003, 2005, 200
9
Free Software Foundation, Inc.
# Copyright (C) 2003, 2005, 200
8, 2009, 2010
Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
@@ -203,6 +203,10 @@ proc libffi_target_compile { source dest type options } {
lappend options "libs= -shared-libgcc"
}
if { [string match "*-*-openbsd*" $target_triplet] } {
lappend options "libs= -lpthread"
}
lappend options "libs= -lffi"
verbose "options: $options"
...
...
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