]> Zhao Yanbai Git Server - minix.git/log
minix.git
10 years agocommands/getopts: removed 17/2717/1
Lionel Sambuc [Sun, 3 Aug 2014 10:38:50 +0000 (12:38 +0200)]
commands/getopts: removed

Change-Id: Idc9ec425749a76e2664906f2483be6071273507f

10 years agonetbsd ping & traceroute 13/2713/6
Ben Gras [Mon, 3 Jun 2013 10:54:08 +0000 (10:54 +0000)]
netbsd ping & traceroute

. remove minix ping
. add support for socket(AF_INET, SOCK_RAW, {IPPROTO_ICMP,IPPROTO_UDP})
. gives test48 a better chance of detecting network connectivity

Change-Id: Ia678546d27ac378642f1160a141e1fc33458cce2

10 years agoreleasetools/Makefile: updates 16/2716/1
Lionel Sambuc [Wed, 20 Aug 2014 14:21:09 +0000 (16:21 +0200)]
releasetools/Makefile: updates

10 years agominix/driver/storage/ramdisk: Makefile rework 14/2714/2
Lionel Sambuc [Sun, 3 Aug 2014 19:38:36 +0000 (21:38 +0200)]
minix/driver/storage/ramdisk: Makefile rework

This is an attempt at simplifying the Makefile, by specifying the home
directory of every utility, instead of trying to guess depending on some
variable.

While this is a bit more verbose, this simplifies the logic. This also makes
it simpler to add / remove programs from the ramdisk.

Change-Id: Id789a6cc6e5a9be11decec0f30c5327f19819aa1

10 years agoDDEKit interrupt fix 15/2715/1
Wojciech Zajac [Tue, 19 Aug 2014 16:23:26 +0000 (18:23 +0200)]
DDEKit interrupt fix

    - With this patch, DDEKit no longer uses IRQ number as interrupt ID
      and more IRQ numbers can be used with it

    - DDEKit IRQ code, will now check return values and panic on error

Change-Id: I9ef5ab1ee2262242204bdd8c0a60459a19ddcc1b

10 years agoUpdate usr/Makefile 12/2712/1
Lionel Sambuc [Thu, 14 Aug 2014 17:02:49 +0000 (19:02 +0200)]
Update usr/Makefile

 - This improves the user messages.

 - This update the pkgsrc checkout rules to point to the new repository,
   as well as the new work process we are introducing.

 - This introduces rules for the MINIX sources, as we don't have the
   space anymore to distribute them by default on the official ISO.

Change-Id: Id1867286bd15efc46bad1d906c1ca1b3a883b064

10 years ago/usr/tests/minix-posix/check-install 09/2709/3
Lionel Sambuc [Wed, 13 Aug 2014 11:21:19 +0000 (13:21 +0200)]
/usr/tests/minix-posix/check-install

This script runs a subset of all the available test. This is aimed at
first time users which might be surprised by the warnings and time the
full test suite takes.

This runs all the tests which in case of success only print "ok" and
don't take too much time to run, independently of the network
connectivity.

Change-Id: Id54b7656a98f9ec81880f91cb63ca888a175f20f

10 years agoIntroduce pkgin_sets 06/2706/2
Lionel Sambuc [Wed, 6 Aug 2014 15:29:21 +0000 (17:29 +0200)]
Introduce pkgin_sets

This tool allow you to install one or more predefined package sets.

Change-Id: Id21c9e9fbd43f44f2d3b040961411428e1ae0af9

10 years agoTOOL_TIC: Set to "/usr/bin/tic", instead of "tic" 07/2707/2
Lionel Sambuc [Fri, 8 Aug 2014 16:14:06 +0000 (18:14 +0200)]
TOOL_TIC: Set to "/usr/bin/tic", instead of "tic"

There is a tic command which comes with a package. When this package is
installed, this prevent "make build" from completing, as the packaged
tic as incompatible arguments.

Change-Id: Ic75057013b92158d715c5533f01d79f65317a400

10 years agoServices move to /service fixes 05/2705/1
Lionel Sambuc [Fri, 8 Aug 2014 15:50:03 +0000 (17:50 +0200)]
Services move to /service fixes

 - Fix init rights not adjusted at boot time

 - Fix usbd not loaded on BBB / BBW

Change-Id: Ic690547876d486165e74c749a4fe43891d0e1e8d

10 years agoreleasetools/*image.sh 04/2704/1
Lionel Sambuc [Fri, 8 Aug 2014 12:05:25 +0000 (14:05 +0200)]
releasetools/*image.sh

 - Removed an "export CPPFLAGS=${FLAG}" which prevented proper settings
   from the environment to be passed to the build step.

 - Re-arranged variable settings at the top, so that we don't need
   to evaluate the argument to vfat mkfs command anymore in
   arm_sdimage.sh

 - "Merged" both script for easier comparison in the future.

Change-Id: Id59f902e4eaeb7f268d5051789462f14421a114a

10 years agoOSX and FreeBSD don't have mkfs.vfat. 03/2703/1
Philip Homburg [Tue, 5 Aug 2014 13:35:37 +0000 (15:35 +0200)]
OSX and FreeBSD don't have mkfs.vfat.

Use newfs_msdos instead.

Change-Id: I51c4086192332f0967a434d88add14db2791395e

10 years agoUpdate download urls in fetch.sh 02/2702/1
Lionel Sambuc [Thu, 7 Aug 2014 12:27:32 +0000 (14:27 +0200)]
Update download urls in fetch.sh

Change-Id: Ib3d6c2771e8bc6d03efa85af52f2ed6288ebc7dd

10 years agoRemoving /home/bin 01/2701/1
Lionel Sambuc [Thu, 7 Aug 2014 11:37:43 +0000 (13:37 +0200)]
Removing /home/bin

The bin user doesn't need an actual home folder to run the tests. As
such this account should not be used in 'su - bin'. To be noted that
'su bin' still works as expected, and allow to run the minix test set
as usual.

Change-Id: I21fd178bf3b7b28849f05ef24930b553094cc851

10 years agoRemoving the ast account 00/2700/1
Lionel Sambuc [Thu, 7 Aug 2014 11:15:50 +0000 (13:15 +0200)]
Removing the ast account

We used to have an account "ast" as a token to Andrew S. Tannebaum,
the creator of MINIX. The account was disable by default, with no
possible way to login.

It seems it generates more confusion than it is worth, so this removes it.

The default skeleton user profile is still stored into /etc/ast instead
of the usual /etc/skel.

Change-Id: I71818c0bb9580cdecfa9621f8693586fc48d17cb

10 years agosetup.sh: Improved user messages. 99/2699/1
Lionel Sambuc [Thu, 7 Aug 2014 11:08:12 +0000 (13:08 +0200)]
setup.sh: Improved user messages.

Change-Id: I5b260b5893ec5ec5a905c48ea8f04aeb2f764bd9

10 years agoClearing history in docs/UPDATING
Lionel Sambuc [Fri, 1 Aug 2014 12:58:40 +0000 (14:58 +0200)]
Clearing history in docs/UPDATING

As the ABI breaks everything, there is no point to keep the full source
upgrade documentation tweaks preceding the merge.

Change-Id: I1d5dcc7a7586e6aabd6b671dc2693f4fc9c5391c

10 years agoImprove default HOST_CC / CC settings
Lionel Sambuc [Thu, 31 Jul 2014 16:36:24 +0000 (18:36 +0200)]
Improve default HOST_CC / CC settings

Instead of blindly defaulting to cc, try to find the actual compiler
installed on the system, and as a last resort

Change-Id: I114780b8e4bb54fab72dbd80466266126d6574a5

10 years agoCC=.. mkdep fix
Ben Gras [Thu, 31 Jul 2014 13:53:30 +0000 (13:53 +0000)]
CC=.. mkdep fix

Change-Id: If9dd0d0ca3c272c31896dfc423b7320edc89861e

10 years agoservers/rs: Add sanity check on executable size
Lionel Sambuc [Wed, 30 Jul 2014 14:10:03 +0000 (16:10 +0200)]
servers/rs: Add sanity check on executable size

RS used to do a stat, and check that the stat was successful, but it
didn't check that the executable was not actually empty.

This patch adds a check to detect file which are smaller than the minimum
ELF size possible.

Change-Id: I22b004084f17e7d395e2c1377add7bc8b51c3d5e

10 years agoUpdate the default package URL
Lionel Sambuc [Tue, 29 Jul 2014 19:17:48 +0000 (21:17 +0200)]
Update the default package URL

Change-Id: I1f82f195b5bbc511b54b0598cf55a2231ed20c42

10 years agoRemove old scripts to check against NBSD
Lionel Sambuc [Tue, 29 Jul 2014 19:07:39 +0000 (21:07 +0200)]
Remove old scripts to check against NBSD

As we have switched to a local git repository containing the NetBSD
reference, at specific points in time, the following scripts are not
anymore useful.

Change-Id: Iec0606a640a73e6ce80ecc5d9ac438daab9f2a1f

10 years agoMove all services to /service
Lionel Sambuc [Tue, 29 Jul 2014 18:29:57 +0000 (20:29 +0200)]
Move all services to /service

This concerns all services, a.k.a drivers, filesystem drivers, network
(inet, lwip, uds) servers, and the system servers.

Change-Id: I626fd15c795e15af42df2d10d47fb4a703665d63

10 years agoRemove /multiboot
Lionel Sambuc [Tue, 29 Jul 2014 15:07:15 +0000 (17:07 +0200)]
Remove /multiboot

This is just a duplicate of /boot/.temp, and it is not used anymore.

Change-Id: I8a4d6e68829de3ff3628ff0fe15f6d1d0a6b128f

10 years agoNew sources layout
Lionel Sambuc [Mon, 28 Jul 2014 19:19:37 +0000 (21:19 +0200)]
New sources layout

Change-Id: Ic716f336b7071063997cf5b4dae6d50e0b4631e9

10 years agoRevert "bin/mv: Temporary fix"
Lionel Sambuc [Mon, 28 Jul 2014 11:53:23 +0000 (13:53 +0200)]
Revert "bin/mv: Temporary fix"

This is no longer required as /bin/cp has been imported.

This reverts commit e3257d3ff741480d640cefe2507a77e65322f40d.

10 years agoImport NetBSD cp command.
Zachary Storer [Sun, 27 Jul 2014 12:19:54 +0000 (06:19 -0600)]
Import NetBSD cp command.

Change-Id: I61943a2ef6d5945b9e10e520e5ebf85e99ac668a

10 years agoRemove the minix 'cpdir' command alias.
Zachary Storer [Sat, 26 Jul 2014 20:52:16 +0000 (14:52 -0600)]
Remove the minix 'cpdir' command alias.

Change-Id: If51dcc8cb2f46e375638f1e2e4e8baddb790ab2c

10 years agoRemove the minix 'clone' command alias.
Zachary Storer [Tue, 22 Jul 2014 18:16:17 +0000 (12:16 -0600)]
Remove the minix 'clone' command alias.

10 years agoimporting shar from NetBSD
Sky Liu [Sun, 27 Jul 2014 22:22:49 +0000 (07:22 +0900)]
importing shar from NetBSD

10 years agorelease script fixes
Ben Gras [Mon, 28 Jul 2014 11:32:51 +0000 (13:32 +0200)]
release script fixes

. we need libc++ in the base system
. big packages & sources don't fit on the cd any more
. the fetch scripts have to be triggered for some tools

Change-Id: Ife53c64fda0ed65b96fa8d6a0b0fee2c6a14d6d7

10 years agoSorted ipc.h for easier navigation
Lionel Sambuc [Mon, 28 Jul 2014 10:10:14 +0000 (12:10 +0200)]
Sorted ipc.h for easier navigation

Also removed unused macros "M1", "M3", and "M4"

Change-Id: Ib0a454589394ca97936c9d3f95a4fd4e7691a720

10 years agoMessage type for COMMON_REQ_GCOV_DATA.
Lionel Sambuc [Mon, 28 Jul 2014 08:44:15 +0000 (10:44 +0200)]
Message type for COMMON_REQ_GCOV_DATA.

Change-Id: I97d31059990e33411a685d5d8191c728a02e7d0f

10 years agoremove "generic" messages m5, m8, m11
Lionel Sambuc [Mon, 28 Jul 2014 07:35:53 +0000 (09:35 +0200)]
remove "generic" messages m5, m8, m11

10 years agoUse one message type for all BDEV request.
Lionel Sambuc [Mon, 28 Jul 2014 05:13:42 +0000 (07:13 +0200)]
Use one message type for all BDEV request.

There are missing field assignements, and/or messsages being re-used
without re-initializations, which allows for fields to be implicitly
forwarded.

This prevents me from creating per request message types, as I can't
spend currently any more time debugging this issue.

10 years agofix for crosscompile with llvm and build libstdc++
Lionel Sambuc [Fri, 25 Jul 2014 10:35:38 +0000 (12:35 +0200)]
fix for crosscompile with llvm and build libstdc++

Change-Id: I1da0b77214a2e128a2649d518e4cf8d23cf13bc0

10 years agoMessage type for BDEV_REPLY.
Lionel Sambuc [Fri, 25 Jul 2014 18:39:06 +0000 (20:39 +0200)]
Message type for BDEV_REPLY.

Change-Id: I48ca5a4f77cc9e924e8aee2fe6c32e0da9b42560

10 years agoMessage type for SYS_PROFBUF.
Lionel Sambuc [Fri, 25 Jul 2014 17:53:10 +0000 (19:53 +0200)]
Message type for SYS_PROFBUF.

Change-Id: I10c1e878b0e3ff9bfc52709cc87dace632fa3e4f

10 years agoMessage type for SYS_CPROF and PM_CPROF.
Lionel Sambuc [Fri, 25 Jul 2014 17:34:11 +0000 (19:34 +0200)]
Message type for SYS_CPROF and PM_CPROF.

Change-Id: I2dc3d9d95c2a2b4c5fdbceae359b0be2bbdf9fb5

10 years agoMessage type for SYS_SPROF and PM_SPROF.
Lionel Sambuc [Fri, 25 Jul 2014 16:13:49 +0000 (18:13 +0200)]
Message type for SYS_SPROF and PM_SPROF.

Change-Id: I598f88af47737be0172236fa9ad24058b50d3942

10 years agoMessage type for SYS_DIAGCTL.
Lionel Sambuc [Fri, 25 Jul 2014 14:35:26 +0000 (16:35 +0200)]
Message type for SYS_DIAGCTL.

Change-Id: Icdaa84847f8c75f5af6612dda3326f800166e0d7

10 years agoMessage type for SIGS_SIGNAL_RECEIVED.
Lionel Sambuc [Fri, 25 Jul 2014 14:08:01 +0000 (16:08 +0200)]
Message type for SIGS_SIGNAL_RECEIVED.

Change-Id: I5c13ff06e0203a98d4087829308d03020f302542

10 years agoMessage type for SYS_READBIOS.
Lionel Sambuc [Fri, 25 Jul 2014 13:54:54 +0000 (15:54 +0200)]
Message type for SYS_READBIOS.

Change-Id: Id19f658f5eb5f350e3e19f9ce3f8ae80aea23c51

10 years agoDropping unused INT86_REG86 macro
Lionel Sambuc [Fri, 25 Jul 2014 13:35:05 +0000 (15:35 +0200)]
Dropping unused INT86_REG86 macro

Change-Id: Ic7949339f192487fb9c6d2f6f62b91cc4858f9ad

10 years agocustom message req & reply types for ds
Ben Gras [Sat, 26 Jul 2014 11:54:02 +0000 (13:54 +0200)]
custom message req & reply types for ds

10 years agocustom types for RS_INIT, RS_UPDATE, and others
Ben Gras [Sat, 26 Jul 2014 11:54:01 +0000 (13:54 +0200)]
custom types for RS_INIT, RS_UPDATE, and others

10 years agocustom message types for safecopy calls
Ben Gras [Sat, 26 Jul 2014 11:54:00 +0000 (13:54 +0200)]
custom message types for safecopy calls

10 years agocustom message type for VM_UNMAP_PHYS
Ben Gras [Sat, 26 Jul 2014 11:53:59 +0000 (13:53 +0200)]
custom message type for VM_UNMAP_PHYS

10 years agocustom message type for vm_map_phys
Ben Gras [Sat, 26 Jul 2014 11:53:58 +0000 (13:53 +0200)]
custom message type for vm_map_phys

10 years agocustom message type for VM_BRK
Ben Gras [Sat, 26 Jul 2014 11:53:57 +0000 (13:53 +0200)]
custom message type for VM_BRK

10 years agouse custom mmap struct type directly
Ben Gras [Sat, 26 Jul 2014 11:53:56 +0000 (13:53 +0200)]
use custom mmap struct type directly

10 years agocustom message type for SYS_DEVIO
Ben Gras [Sat, 26 Jul 2014 11:53:55 +0000 (13:53 +0200)]
custom message type for SYS_DEVIO

10 years agocustom message type for SEMOP
Ben Gras [Sat, 26 Jul 2014 11:53:54 +0000 (13:53 +0200)]
custom message type for SEMOP

10 years agocustom message type for SHMCTL, SEMCTL, SEMGET
Ben Gras [Sat, 26 Jul 2014 11:53:53 +0000 (13:53 +0200)]
custom message type for SHMCTL, SEMCTL, SEMGET

10 years agocustom messages for SHMAT, SHMDT
Ben Gras [Sat, 26 Jul 2014 11:53:52 +0000 (13:53 +0200)]
custom messages for SHMAT, SHMDT

10 years agocustom message for SHMGET
Ben Gras [Sat, 26 Jul 2014 11:53:51 +0000 (13:53 +0200)]
custom message for SHMGET

10 years agocustom message for vm_query_exit
Ben Gras [Sat, 26 Jul 2014 11:53:50 +0000 (13:53 +0200)]
custom message for vm_query_exit

10 years agocustom message for vm_update
Ben Gras [Sat, 26 Jul 2014 11:53:49 +0000 (13:53 +0200)]
custom message for vm_update

10 years agocustom message type for VM_INFO
Ben Gras [Sat, 26 Jul 2014 11:53:48 +0000 (13:53 +0200)]
custom message type for VM_INFO

10 years agocustom message type for VM_QUERY_EXIT
Ben Gras [Sat, 26 Jul 2014 11:53:47 +0000 (13:53 +0200)]
custom message type for VM_QUERY_EXIT

10 years agocustom message type for VM_GETREF
Ben Gras [Sat, 26 Jul 2014 11:53:46 +0000 (13:53 +0200)]
custom message type for VM_GETREF

10 years agocustom message type for VM_GETPHYS
Ben Gras [Sat, 26 Jul 2014 11:53:45 +0000 (13:53 +0200)]
custom message type for VM_GETPHYS

10 years agocustom message type for VM_SHM_UNMAP
Ben Gras [Sat, 26 Jul 2014 11:53:44 +0000 (13:53 +0200)]
custom message type for VM_SHM_UNMAP

10 years agocustom message type for VM_REMAP, VM_REMAP_RO
Ben Gras [Sat, 26 Jul 2014 11:53:43 +0000 (13:53 +0200)]
custom message type for VM_REMAP, VM_REMAP_RO

10 years agoempty Makefile
Ben Gras [Tue, 22 Jul 2014 16:07:35 +0000 (18:07 +0200)]
empty Makefile

. needed to avoid a build problem on native minix under some
  circumstances

10 years agoImport NetBSD which and whereis commands.
stux [Fri, 11 Jul 2014 15:59:23 +0000 (10:59 -0500)]
Import NetBSD which and whereis commands.

Change-Id: Ide31b4cc52c64cbd424437f649674a460fb0a754

10 years ago<sys/socket.h>: turn off MSG_NOSIGNAL
Ben Gras [Mon, 21 Jul 2014 16:34:01 +0000 (18:34 +0200)]
<sys/socket.h>: turn off MSG_NOSIGNAL

. this unimplemented flag causes runtime problems (ENOSYS on
  send()) for e.g. libfetch when used
. restores functionality of pkg_add (remote), fetch

10 years agobin/mv: Temporary fix
Lionel Sambuc [Wed, 16 Jul 2014 15:45:58 +0000 (17:45 +0200)]
bin/mv: Temporary fix

The current MInix cp commands doesn't support the option mv expects
to be able to give to it. This patch can be reverted as soon as cp
has been imported.

Change-Id: If4d805726b7bfe4cd9aa2d9603c388b1df467050

10 years agoi386 rs232: do full write in out_int
Ben Gras [Thu, 10 Jul 2014 19:07:43 +0000 (21:07 +0200)]
i386 rs232: do full write in out_int

. in kvm, this does the full output without truncating
  and gets rid of the messy 'enough!' case

10 years agollvm: Use mfs images for clientctl buildisk.
Cristiano Giuffrida [Wed, 16 Jul 2014 12:41:11 +0000 (14:41 +0200)]
llvm: Use mfs images for clientctl buildisk.

10 years agokernel: Add bitcode support.
Cristiano Giuffrida [Wed, 16 Jul 2014 12:14:05 +0000 (14:14 +0200)]
kernel: Add bitcode support.

10 years agollvm: Add SERIALOUT option to clientctl script.
Cristiano Giuffrida [Tue, 15 Jul 2014 10:01:30 +0000 (12:01 +0200)]
llvm: Add SERIALOUT option to clientctl script.

10 years agobuild.llvm: including configure.llvm.inc must be optional
Koustubha Bhat [Fri, 11 Jul 2014 10:22:11 +0000 (12:22 +0200)]
build.llvm: including configure.llvm.inc must be optional

10 years agollvm: Use a separate common.overrides file for MINIX.
Cristiano Giuffrida [Sun, 6 Jul 2014 08:50:39 +0000 (10:50 +0200)]
llvm: Use a separate common.overrides file for MINIX.

10 years agollvm: Fix rc script.
Cristiano Giuffrida [Sat, 28 Jun 2014 21:57:47 +0000 (23:57 +0200)]
llvm: Fix rc script.

10 years agollvm: Add clientctl actions for external disk support.
Cristiano Giuffrida [Sat, 28 Jun 2014 16:31:13 +0000 (18:31 +0200)]
llvm: Add clientctl actions for external disk support.

10 years agoreleasetools: Add rc.local support when building x86 images.
Cristiano Giuffrida [Sat, 28 Jun 2014 16:23:56 +0000 (18:23 +0200)]
releasetools: Add rc.local support when building x86 images.

10 years agollvm: Preserve default OPTFLAGS when adding instrumentation.
Cristiano Giuffrida [Sun, 22 Jun 2014 09:09:51 +0000 (11:09 +0200)]
llvm: Preserve default OPTFLAGS when adding instrumentation.

10 years agollvm: Use default LLVMPREFIX when building passes.
Cristiano Giuffrida [Sun, 22 Jun 2014 08:31:30 +0000 (10:31 +0200)]
llvm: Use default LLVMPREFIX when building passes.

10 years agoLLVM clientctl: activate the KVM module only if available
Erik van der Kouwe [Sun, 22 Jun 2014 07:10:46 +0000 (00:10 -0700)]
LLVM clientctl: activate the KVM module only if available

10 years agoFix LLVM clientctl: if the kvm command is not available, just use QEMU directly
Erik van der Kouwe [Sun, 22 Jun 2014 07:07:27 +0000 (00:07 -0700)]
Fix LLVM clientctl: if the kvm command is not available, just use QEMU directly

10 years agoconfigure.llvm: add INTERACTIVE environment variable which can be set to no to preven...
Erik van der Kouwe [Sat, 21 Jun 2014 14:08:42 +0000 (07:08 -0700)]
configure.llvm: add INTERACTIVE environment variable which can be set to no to prevent questions from being asked

10 years agollvm: Fix llvm-apps bridging.
Cristiano Giuffrida [Wed, 18 Jun 2014 19:34:11 +0000 (21:34 +0200)]
llvm: Fix llvm-apps bridging.

10 years agollvm: serverctl is now clientctl.
Cristiano Giuffrida [Wed, 18 Jun 2014 18:56:47 +0000 (20:56 +0200)]
llvm: serverctl is now clientctl.

10 years agollvm: Always build memory last.
Cristiano Giuffrida [Wed, 18 Jun 2014 11:58:02 +0000 (13:58 +0200)]
llvm: Always build memory last.

10 years agollvm: Add the serverctl script.
Cristiano Giuffrida [Wed, 18 Jun 2014 11:57:16 +0000 (13:57 +0200)]
llvm: Add the serverctl script.

10 years agollvm: Use common.overrides* files the llvm-apps way.
Cristiano Giuffrida [Wed, 18 Jun 2014 10:46:27 +0000 (12:46 +0200)]
llvm: Use common.overrides* files the llvm-apps way.

10 years agosef: Add fault injection (and EDFI) support.
Cristiano Giuffrida [Thu, 12 Jun 2014 15:08:31 +0000 (17:08 +0200)]
sef: Add fault injection (and EDFI) support.

10 years agollvm: Split BITCODE_LD_FLAGS
Cristiano Giuffrida [Tue, 17 Jun 2014 11:47:07 +0000 (13:47 +0200)]
llvm: Split BITCODE_LD_FLAGS

Split across the two linking steps for instrumentation purposes.

10 years agollvm: Readd mistakenly deleted minix.inc.
Cristiano Giuffrida [Tue, 17 Jun 2014 11:45:56 +0000 (13:45 +0200)]
llvm: Readd mistakenly deleted minix.inc.

10 years agollvm: A few bitcode-related fixes.
Cristiano Giuffrida [Sat, 14 Jun 2014 23:33:17 +0000 (01:33 +0200)]
llvm: A few bitcode-related fixes.

10 years agollvm: Remove no longer needed SLOPPY_FLIST option.
Cristiano Giuffrida [Fri, 13 Jun 2014 18:25:33 +0000 (20:25 +0200)]
llvm: Remove no longer needed SLOPPY_FLIST option.

10 years agollvm: Avoid versioning configuration files directly.
Cristiano Giuffrida [Fri, 13 Jun 2014 18:21:22 +0000 (20:21 +0200)]
llvm: Avoid versioning configuration files directly.

10 years agoCREATE_IMAGE_ONLY option added to releasetools/x86_hdimage.sh
Koustubha Bhat [Tue, 10 Jun 2014 15:05:29 +0000 (17:05 +0200)]
CREATE_IMAGE_ONLY option added to releasetools/x86_hdimage.sh

10 years agoLLVM Hello pass: inserts printf statement in main() method.
Koustubha Bhat [Fri, 6 Jun 2014 14:20:39 +0000 (16:20 +0200)]
LLVM Hello pass: inserts printf statement in main() method.

10 years agoBridging Minix & llvm-apps repos for instrumentating Minix
Koustubha Bhat [Tue, 6 May 2014 08:43:42 +0000 (10:43 +0200)]
Bridging Minix & llvm-apps repos for instrumentating Minix

Allows instrumentation of Minix components using LLVM passes from
"llvm-apps" repository

In addition, the change does the following:
 1. Move releasetools/generate_gold_plugin.sh to minix/llvm
 2. Move external/bsd/llvm/passes to minix/llvm/passes
 3. libLTO.so, LLVMgold.so and WeakAliasModuleOverride.so files
    now get installed in minix/llvm/bin

10 years agoEmpty libgcc_s.
Ben Gras [Thu, 17 Jul 2014 12:32:35 +0000 (12:32 +0000)]
Empty libgcc_s.

This library is built just so that something is present in
/usr/lib/libgcc_s.so.1.  This is needed for dynamically programs built
with gcc, which might reference that library at runtime (i.e. all pkgsrc
packages). The necessary symbols are in libc however, so when built on a
clang-only system, so an empty library is a working stopgap.

10 years agoRemove obsolete commands/cpp
Lionel Sambuc [Tue, 28 Jan 2014 10:33:14 +0000 (11:33 +0100)]
Remove obsolete commands/cpp

Change-Id: Ib5335286bb6f1895f9c6006aeee8828bc9f58a45

10 years agoReplace cc, c++ & cpp with symlinks
Lionel Sambuc [Tue, 28 Jan 2014 09:48:19 +0000 (10:48 +0100)]
Replace cc, c++ & cpp with symlinks

In case of installation of both clang and GCC, we want to be able to
switch which one is the default by adapting the cc, c++ & cpp symlinks.

The default behaviour implemented here is to prefer clang over gcc if
they are both installed.

Change-Id: Ic14720cd876d2bf934d345a955cb5789378209e6

10 years agodefault CC to clang
Lionel Sambuc [Thu, 23 Jan 2014 13:10:10 +0000 (14:10 +0100)]
default CC to clang

Change-Id: I5a4e6bfebd0b283f8f025fa91d27b1ac832f7b81