Skip to content

Commit

Permalink
Merge support for Support OpenBSD
Browse files Browse the repository at this point in the history
This comes from the GitHub pull request #7

no-tn-check

Change-Id: I4023c5714091dcfa45e5e58887e4fc87a409661b
  • Loading branch information
fedor-rybin committed Nov 2, 2021
2 parents 7de2e39 + f9e676e commit 3f6100d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion db/compilers.xml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
<executable prefix="1">(.*-wrs-.*|.*-sysgo.*|.*-elf-.*|.*-eabi-.*|.*-eabispe-.*|avr-.*|.*-elinos-linux.*|.*-generic-linux-gnu-|.*mingw32.*|.*-xcoff-.*|arm-linux-androideabi-|arm-linux-gnueabi-|arm-linux-gnueabihf-|e500v2-gnu-linux-|powerpc-.*-linux.*-|.*-darwin.*-|aarch64-linux-gnu-|.*-qnx.*|.*-rtems.*)?ld</executable>
<version>
<external>${PREFIX}ld -v</external>
<grep regexp="^GNU ld.* (\S+)" group="1"></grep>
<grep regexp="^(GNU ld.*|LLD) (\S+)" group="2"></grep>
</version>
<languages>Bin_Img</languages>
<target>
Expand Down
9 changes: 7 additions & 2 deletions db/linker.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1092,12 +1092,13 @@
</config>
</configuration>

<!-- linux, freebsd, Irix, QNX -->
<!-- linux, freebsd, Irix, OpenBSD, QNX -->
<configuration>
<targets>
<target name="^.*linux.*$" />
<target name="^.*freebsd.*$" />
<target name="^.*irix.*$" />
<target name="^.*openbsd.*$" />
<target name="^.*qnx[0-9]*$" />
</targets>
<config>
Expand Down Expand Up @@ -1130,12 +1131,13 @@
</config>
</configuration>

<!-- linux, freebsd, QNX -->
<!-- linux, freebsd, OpenBSD, QNX -->
<configuration>
<targets>
<target name="^.*linux.*$" />
<target name="^.*qnx[0-9]*$" />
<target name="^.*freebsd.*$" />
<target name="^.*openbsd.*$" />
</targets>
<config>
for Run_Path_Option use ("-Wl,-z,origin,-rpath,");
Expand Down Expand Up @@ -1613,6 +1615,7 @@
<target name="^.*mingw.*$" />
<target name="^.*linux.*$" />
<target name="^.*freebsd.*$" />
<target name="^.*openbsd.*$" />
<target name="^.*-qnx[0-9]*"/>
</targets>
<config>
Expand Down Expand Up @@ -1661,6 +1664,7 @@
<target name="^.*mingw.*$" />
<target name="^.*linux.*$" />
<target name="^.*freebsd.*$" />
<target name="^.*openbsd.*$" />
</targets>
<config>
package Linker is
Expand Down Expand Up @@ -1697,6 +1701,7 @@
<target name="^.*mingw.*$" />
<target name="^.*linux.*$" />
<target name="^.*freebsd.*$" />
<target name="^.*openbsd.*$" />
</targets>
<config>
package Linker is
Expand Down

0 comments on commit 3f6100d

Please sign in to comment.