| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add/improve mips64r2, Octeon, n32 and n64 support in the toolchain.
o) Add TARGET_ABI to the MIPS toolchain build process. This sets the default
ABI to one of o32, n32 or n64. If it is not set, o32 is assumed as that is
the current default.
o) Set the default GCC cpu type to any specified TARGET_CPUTYPE. This is
necessary to have a working "cc" if e.g. mips64 is specified, as binutils
will refuse to link objects using different ISAs in some cases.
o) Add support for n32 and n64 ABIs to binutils and GCC.
o) Add additional required libgcc2 stubs for n32 and n64.
o) Add support for the "mips64r2" architecture to GCC. Add the "octeon"
o) When static linking, wrap default libraries in --start-group and
--end-group. This is required for static linking to work on n64 with the
interdependencies between libraries there. This is what other OSes that
support n64 seem to do, as well.
o) Fix our GCC spec to define __mips64 for 64-bit targets, not __mips64__, the
former being what libgcc, etc., check and the latter seemingly being a
misspelling of a hand merge from a Linux spec.
o) When no TARGET_CPUTYPE is specified at build time, make GCC take the default
ISA from the ABI. Our old defaults were too liberal and assumed that 64-bit
ABIs should default to the MIPS64 ISA and that 32-bit ABIs should default to
the MIPS32 ISA, when we are supporting or will support some systems based on
earlier 32-bit and 64-bit ISAs, most notably MIPS-III.
o) Merge a new opcode file (and support code) from a later version of binutils
and add flags and code necessary to support Octeon-specific instructions.
This should also make merging opcodes for other modern architectures easier.
No objections from: imp, jmallet, jchandra
MFC after: 18 months
Notes:
svn path=/stable/8/; revision=228337
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit merges the MIPS platform changes that was now stable in
-CURRENT into 8-STABLE. The MIPS changesets are too many (~400) to list
here. But the changesets merged in this commit that affect other platforms
are summarized below:
r204635 : (changes to sys/dev/hwpmc, lib/libpmc, sys/sys/pmc.h)
Add support for hwpmc(4) on the MIPS 24K, 32 bit, embedded processor.
r205845: (changes to sys/modules/Makefile)
Fix for building modules on mips and arm.
r204031: (changes to sys/kern/link_elf_obj.c)
printf fix, as part of kernel module support for MIPS.
r206404: (changes to sys/arm/include/bus.h)
Add BUS_SPACE_UNRESTRICTED and define it to be ~0, just like all the
other platforms - for arm and mips.
r206819: (changes to sys/vm/)
Add VMFS_TLB_ALIGNED_SPACE option and kmem_alloc_nofault_space(), which
is used to allocate kernel stack address on MIPS.
r208165, r211087: (sys/kern/subr_smp.c, sys/kern/sched_ule.c)
Enable ULE scheduler for MIPS, Fix for an issue in SMP when 32 cpus are
enabled.
r208659: (sys/{ia64/ia64,mips/mips,sun4v/sun4v}/pmap.c)
Simplify the inner loop of get_pv_entry()
r208794: (changes to sys/vm/)
Make vm_contig_grow_cache() extern, and use it when vm_phys_alloc_contig()
fails to allocate MIPS page table pages.
r210327: (changes to sys/vm/)
Support for MIPS page table page allocation. Add a new function 'vm_page_t
vm_page_alloc_freelist(int flind, int order, int req)' to vm/vm_page.c to
allocate a page from a specified freelist, and other related changes.
Reviewed by: alc(vm changes only)
Approved by: kib(re), alc(vm), imp(mips), jmallett(mips), gnn(mips pmc)
Notes:
svn path=/stable/8/; revision=215938
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GCC defines built-ins for atomic instructions found on i486 and higher.
Because FreeBSD no longer supports the 80386 cpu all code targeting
FreeBSD/i386 necessarily runs on i486 or higher so the compiler
built-ins can be used by default inside libstdc++ and in C++ headers.
This allows newly compiled C++ code to inline some atomic operations.
Old binaries continue to use libstdc++ functions.
PR: 148926
Tested by: Yuri Karaban <tech askold net>
Approved by: kib (mentor)
Notes:
svn path=/stable/8/; revision=212962
|
| |
|
|
|
|
|
|
| |
Add -fno-asynchronous-unwind-tables to disable unwind table generation
for crtbegin/crtend. While there, disable omitting the frame pointer.
Notes:
svn path=/stable/8/; revision=209641
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Log:
Compile libgcov without stack protection. It can be linked into
both static and dynamic binaries compiled with or without stack
protection and should not depend on libssp_nonshared.a symbols.
Discussed with: kib
PR: bin/139052
Notes:
svn path=/stable/8/; revision=200748
|
| |
|
|
|
|
|
|
|
|
|
| |
preparation for 8.0-RELEASE. Add the previous version of those
libraries to ObsoleteFiles.inc and bump __FreeBSD_Version.
Reviewed by: kib
Approved by: re (rwatson)
Notes:
svn path=/head/; revision=195767
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
compiled with stack protector.
Use libssp_nonshared library to pull __stack_chk_fail_local symbol into
each library that needs it instead of pulling it from libc. GCC
generates local calls to this function which result in absolute
relocations put into position-independent code segment, making dynamic
loader do extra work every time given shared library is being relocated
and making affected text pages non-shareable.
Reviewed by: kib
Approved by: re (kib)
Notes:
svn path=/head/; revision=195697
|
| |
|
|
|
|
|
| |
Approved by: re (impliciti, by approving previos check-in)
Notes:
svn path=/head/; revision=195152
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use libssp_nonshared library to pull __stack_chk_fail_local symbol into
each library that needs it instead of pulling it from libc. GCC generates
local calls to this function which result in absolute relocations put into
position-independent code segment, making dynamic loader do extra work everys
time given shared library is being relocated and making affected text pages
non-shareable.
Reviewed by: kib
Approved by: re (kensmith)
Notes:
svn path=/head/; revision=195151
|
| |
|
|
|
|
|
|
|
| |
are doing. This is required for libgcov.a to be usable on amd64.
Reported by: stas
Notes:
svn path=/head/; revision=194564
|
| |
|
|
|
|
|
| |
Noticed by: tegge
Notes:
svn path=/head/; revision=188995
|
| |
|
|
|
|
|
| |
Submitted by: Jeremie Le Hen
Notes:
svn path=/head/; revision=188895
|
| |
|
|
| |
Notes:
svn path=/head/; revision=188583
|
| |
|
|
| |
Notes:
svn path=/head/; revision=186641
|
| |
|
|
| |
Notes:
svn path=/head/; revision=183440
|
| |
|
|
|
|
|
|
|
|
|
| |
getosreldate() in assembler source files. We still get the
definition of __FreeBSD_version this way, because it's
outside the standard multiple-inclusion protection trick.
All this is specific to ia64.
Notes:
svn path=/head/; revision=183384
|
| |
|
|
| |
Notes:
svn path=/head/; revision=183167
|
| |
|
|
| |
Notes:
svn path=/head/; revision=183166
|
| |
|
|
|
|
|
| |
architectures alphabetically.
Notes:
svn path=/head/; revision=183165
|
| |
|
|
| |
Notes:
svn path=/head/; revision=182627
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- It is opt-out for now so as to give it maximum testing, but it may be
turned opt-in for stable branches depending on the consensus. You
can turn it off with WITHOUT_SSP.
- WITHOUT_SSP was previously used to disable the build of GNU libssp.
It is harmless to steal the knob as SSP symbols have been provided
by libc for a long time, GNU libssp should not have been much used.
- SSP is disabled in a few corners such as system bootstrap programs
(sys/boot), process bootstrap code (rtld, csu) and SSP symbols themselves.
- It should be safe to use -fstack-protector-all to build world, however
libc will be automatically downgraded to -fstack-protector because it
breaks rtld otherwise.
- This option is unavailable on ia64.
Enable GCC stack protection (aka Propolice) for kernel:
- It is opt-out for now so as to give it maximum testing.
- Do not compile your kernel with -fstack-protector-all, it won't work.
Submitted by: Jeremie Le Hen <jeremie@le-hen.org>
Notes:
svn path=/head/; revision=180012
|
| |
|
|
|
|
|
|
|
|
|
| |
import changes.
PR: 124647
Submitted by: Vlad GALU
MFC after: 2 days
Notes:
svn path=/head/; revision=179834
|
| |
|
|
|
|
|
| |
Approved by: cognet (mentor)
Notes:
svn path=/head/; revision=178750
|
| |
|
|
|
|
|
|
|
|
|
|
| |
variations (e500 currently), this provides a gcc-level FPU emulation and is an
alternative approach to the recently introduced kernel-level emulation
(FPU_EMU).
Approved by: cognet (mentor)
MFp4: e500
Notes:
svn path=/head/; revision=176530
|
| |
|
|
| |
Notes:
svn path=/head/; revision=175623
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
libraries had not had their versions bumped relative to 6.3-REL but
had indeed been changed. We need to bump their version so they can be
properly added to the compat6x port:
libasn1.so.8 libgssapi.so.8 libhdb.so.8 libkadm5clnt.so.8
libkadm5srv.so.8 libkafs5.so.8 libkrb5.so.8 libobjc.so.2
MFC After: 1 day
Notes:
svn path=/head/; revision=173767
|
| |
|
|
|
|
|
| |
more than one .c file in SRCS.
Notes:
svn path=/head/; revision=172609
|
| |
|
|
| |
Notes:
svn path=/head/; revision=172594
|
| |
|
|
|
|
|
|
|
|
|
|
| |
we did not install. Install objc-decls.h to fix.
PR: 116943
Reported by: beech
Submitted by: vanilla on -current, kan
MFC after: 1 week
Notes:
svn path=/head/; revision=172553
|
| |
|
|
|
|
|
|
|
| |
(Noticed in ghostscript-gpl core dump)
Approved by: re@ (bmah)
Notes:
svn path=/head/; revision=171951
|
| |
|
|
|
|
|
|
| |
PR: gnu/115250
Approved by: re (blanket)
Notes:
svn path=/head/; revision=171864
|
| |
|
|
|
|
|
|
|
| |
and gcc_bcmp to be added to static libgcc.a.
Approved by: re (kensmith)
Notes:
svn path=/head/; revision=171846
|
| |
|
|
|
|
|
|
|
| |
Reported by: jhb
Discussed with: deischen, des, doubg, harti
Approved by: re (kensmith)
Notes:
svn path=/head/; revision=170925
|
| |
|
|
|
|
|
| |
Submitted by: Pieter de Goeje (pieter at degoejes dot nl)
Notes:
svn path=/head/; revision=170156
|
| |
|
|
| |
Notes:
svn path=/head/; revision=169862
|
| |
|
|
|
|
|
| |
atomicity.h file for arm and powerpc.
Notes:
svn path=/head/; revision=169767
|
| |
|
|
| |
Notes:
svn path=/head/; revision=169736
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also:
Switch FreeBSD to use libgcc_s.so.1.
Use dl_iterate_phdr to locate shared objects' exception frame
info instead of depending on older register_frame_info machinery.
This allows us to avoid depending on libgcc_s.so.1 in binaries
that do not use exception handling directly. As an additional
benefit it breaks circular libc <=> libgcc_s.so.1 dependency too.
Build newly added libgomp.so.1 library, the runtime support
bits for OpenMP.
Build LGPLed libssp library. Our libc provides our own
BSD-licensed SSP callbacks implementation, so this library
is only built to benefit applications that have hadcoded
knowledge of libssp.so and libssp_nonshared.a. When linked
in from command line, these libraries override libc
implementation.
Notes:
svn path=/head/; revision=169718
|
| |
|
|
| |
Notes:
svn path=/head/; revision=165677
|
| |
|
|
| |
Notes:
svn path=/head/; revision=165676
|
| |
|
|
|
|
|
|
|
| |
unbreak the build.
We'll switch back to the libgcc functions and get rid of the libsoftfloat
later.
Notes:
svn path=/head/; revision=163279
|
| |
|
|
| |
Notes:
svn path=/head/; revision=163043
|
| |
|
|
| |
Notes:
svn path=/head/; revision=162851
|
| |
|
|
| |
Notes:
svn path=/head/; revision=162553
|
| |
|
|
|
|
|
|
|
|
| |
a long time ago, but libsupc++ was left out somehow,
PR: gnu/99702
Submitted by: George Mitchell
Notes:
svn path=/head/; revision=161457
|
| |
|
|
| |
Notes:
svn path=/head/; revision=159355
|
| |
|
|
| |
Notes:
svn path=/head/; revision=157190
|
| |
|
|
| |
Notes:
svn path=/head/; revision=156854
|
| |
|
|
|
|
|
|
|
|
|
| |
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html
The src.conf(5) manpage is to follow in a few days.
Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
Notes:
svn path=/head/; revision=156813
|
| |
|
|
| |
Notes:
svn path=/head/; revision=156775
|