| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
okay millert@, tb@
|
|
|
|
|
| |
I don't know much about compilers, but what I do have are a very particular
set of skills. Skills I have acquired over a very long career.
|
|
|
|
|
|
|
|
| |
As of usr.bin/xinstall/install.c revision 1.68, -S is a no-op and
install(1) will always create files safely, thus clean the option usage
from the tree.
Diff from Lauri Tirkkonen <lotheac at iki dot fi>, thanks.
|
|
|
|
|
|
|
|
|
| |
This allows linking code compiled by clang with the gcc compiler driver
and makes sure we always use the softfloat implementation in libc. The
libc softfloat implementation is preferred over the one in libgcc as it
implements rounding modes and floating point exceptions.
ok patrick@
|
|
|
|
| |
ok naddy@
|
|
|
|
|
|
|
| |
to the latter on non-clang architectures and make sure we build gcc
with itself because clang won't be able to build it
ok naddy@
|
|
|
|
| |
okay millert@
|
|
|
|
| |
okay millert@
|
|
|
|
|
|
|
|
|
|
| |
existence of a .depend file can lead to various problems.
The logic before rev 1.15 resulted in Makefile.dep always being
included as DEPENDSFILE was never set so this returns to the old
behaviour.
ok espie@
|
|
|
|
|
|
| |
value .depend, so that the conditional is really used.
okay guenther@
|
|
|
|
|
| |
programs will build even without a make depend first.
okay tb@ millert@
|
|
|
|
|
|
|
|
|
|
|
|
| |
For C++, gcc has to make use of comdat sections instead
of .gnu.linkonce sections for this because
switch tables and functions would now end up
in different .gnu.linkonce sections. This can cause ld
to sometimes incorrectly discard the switch tables, which causes
linker errors. With comdat sections, making the switch table
and function sections belong together is more reliable.
ok deraadt@
|
| |
|
|
|
|
|
|
|
| |
depend on the umask. Install headers and info files with group bin
like all the other headers and info files.
ok stefan
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and add prereq targets, so some header files are generated by BUILDUSER
during 'make prereq' instead of by root during 'make includes'.
Switch the order of 'make cleandir' and 'make includes' during 'make build'
so we don't generate many files twice.
Except for some machine@ symlinks from ${MACHINE}/stand, /usr/obj is now
clean from files generated by root during 'make build'. Those will be
cleaned up in a second step.
help, testing & ok deraadt, input from natano, further testing rpe
|
|
|
|
| |
initial diff and ok tb
|
|
|
|
|
|
| |
break which cannot be easily crossed.
ok kettenis@ jsg@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
correctly - logically complete that now by removing MLINKS from base;
authors need only to ensure there is an entry in NAME for any function/
util being added. MLINKS will still work, and remain for perl to ease
upgrades;
ok nicm (curses) bcook (ssl)
ok schwarze, who provided a lot of feedback and assistance
ok tb natano jung
|
|
|
|
| |
Help with testing and ok kettenis@
|
|
|
|
| |
ok pascal@
|
|
|
|
|
| |
This makes the -msecure-plt option work, which is necessary to generate
Secure-PLT ABI code.
|
|
|
|
|
|
|
| |
only used by the alpha backend and allow it to produce more precise
relocation information, but need a recent as(1) for this to work.
This will be necessary to enable secureplt by default.
|
|
|
|
|
|
|
|
|
| |
and defines for compatibility with the equivalent gcc header.
cpuid.h was introduced in gcc 4.3 and a compatible header has
been included with recent versions of clang.
Earlier version ok miod@. Tested in a ports bulk build by landry@.
|
|
|
|
|
|
|
| |
_moddi3.o gets protected and landisk bootblocks got broken.
Fundamentally this causes a link dependency on libc that we'll not
always be able to satisfy. Spotted by deraadt@.
OK matthew@, kettenis@, guenther@.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
members to 64bit types. Assign new syscall numbers for (almost
all) the syscalls that involve the affected types, including anything
with time_t, timeval, itimerval, timespec, rusage, dirent, stat,
or kevent arguments. Add a d_off member to struct dirent and replace
getdirentries() with getdents(), thus immensely simplifying and
accelerating telldir/seekdir. Build perl with -DBIG_TIME.
Bump the major on every single base library: the compat bits included
here are only good enough to make the transition; the T32 compat
option will be burned as soon as we've reached the new world are
are happy with the snapshots for all architectures.
DANGER: ABI incompatibility. Updating to this kernel requires extra
work or you won't be able to login: install a snapshot instead.
Much assistance in fixing userland issues from deraadt@ and tedu@
and build assistance from todd@ and otto@
|
|
|
|
|
|
| |
directory if it doesn't exist.
ok sthen@, espie@
|
|
|
|
| |
FreeBSD).
|
|
|
|
|
|
|
| |
This makes gcc -fprofile-arcs work again.
Regression reported by Azwaw OUSADOU on tech@, thanks for noticing and sorry
for the delay fixing this.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Main features:
- md constraints rewritten in RTL
- md predicaties rewritten in RTL
- md va_arg switched to gimple
- abort() calls replaced with gcc_assert() or gcc_unreachable() for better
diagnostics
- support for non-ELF systems completely removed
Missing:
- conversion of the pipeline information from define_function_unit to
define_automata not done yet (thus pipeline information currently removed)
Known regressions against 3.3.6 so far:
- no stack protector support yet
- __builtin_setjmp doesn't restore the frame pointer correctly upon return
from __builtin_longjmp
- at least one case of optimization error when delay slots are not disabled.
- libgcc is only built -fPIC, instead of static/fpic/fPIC.
|
|
|
|
| |
manpage comes from binutils.
|
| |
|
|
|
|
|
|
|
| |
performance hit on some architectures (almost 20% on hppa, more than 25% on
sparc64). And there are no real benefits associated with ASLR for a compiler.
ok deraadt@
|
|
|
|
| |
ok deraadt@
|
|
|
|
|
|
|
|
|
|
| |
different approach than the one taken in kurt@'s original diff, but deemed
better after discussion and diff exchange with kettenis@ and matthew@.
Lots of feedback by kettenis@ and matthew@, prodding and encouragement by
deraadt@.
ok kettenis@ matthew@
|
|
|
|
| |
ok miod@, jsg@
|
|
|
|
| |
for unwind-dw2.c fails to build otherwise.
|
|
|
|
|
|
|
| |
instead of global with gcc4 and this ends up breaking things in hard
to debug ways. So move the definition to csu instead of libgcc.
ok miod@
|
|
|
|
|
|
| |
so we can use the existing sh libkern functions.
ok miod@
|
|
|
|
| |
ok deraadt@
|
| |
|
|
|
|
|
| |
it possible to build a cross compiler, and we don't really care about
exception handling until we have a kernel to run C++ code on anyway.
|
|
|
|
|
|
|
|
|
|
|
|
| |
jasper@.
This omits the sizeof(pointer) tracking which is very difficult to
implement for gcc4 due to internal changes.
Thanks to landry@ for running through a ports bulk build and both
landry@ and jasper@ for fixing a few issues.
ok deraadt millert jasper
|
|
|
|
| |
ok deraadt@
|
| |
|
| |
|
|
|
|
| |
on this in-tree not diffs floating around for > 1 year. ok miod@
|
|
|
|
|
|
| |
doubled slashes in compiled in paths.
ok deraadt@, cross-compilation testing and ok drahn@
|
| |
|
| |
|