| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
ok mikeb@
|
| |
|
|
| |
requested by and OK jmc@
|
| |
|
|
|
|
| |
be able to use the virtualization instructions.
ok'ed a long time ago, I forgot who, but deraadt@ ok'ed it again anyway.
|
| |
|
|
|
| |
so we need to use memmove() to handle the overlap. Sourceware PR 11456
OK deraadt@
|
| |
|
|
|
|
|
| |
Alan Modra (and Alan's employer) graciously permitted use of his patch
under GPLv2.
ok kettenis@
|
| |
|
|
|
|
|
| |
@file allows reading command line arguments from a file. Gcc now uses this to
pass very long arguments lists to ld.
ok guenther@ miod@
|
| |
|
|
| |
for CFI. This changes the unwind information generated on amd64.
|
| |
|
|
|
|
|
| |
xrstor, and xsaveopt.
based on kettenis's original that did xgetbv and xsetbv
ok kettenis@
|
| |
|
|
|
|
|
| |
- provide 88110 syntactic sugar for the control register names
- correctly handle -m options
- and a minor fix to allow the register prefix to correctly be recognized in
front of the condition codes (only needed for SVR4)
|
| |
|
|
| |
NetBSD.
|
| |
|
|
|
|
| |
Fix found upstream.
ok miod@, martynas@
|
| |
|
|
|
|
| |
Backported from binutils 2.17.
ok miod@
|
| |
|
|
|
|
| |
Backported from binutils 2.17.
ok miod@
|
| |
|
|
| |
ok miod@
|
| |
|
|
|
|
|
|
| |
32-bit boundaries, function return values being in %a0 instead of %d0 if they
are declared as pointers, and in fp registers if they are floating point types).
Compiler configuration bits (including a few m68k PIC code generation fixes)
borrowed from NetBSD.
|
| |
|
|
|
|
| |
relocations to local symbols to be rewritten as relocations to the beginning
of the section they are in, plus an addend, as addend can't work for these
relocations, the way the got is set up. Inspired by tc-ppc.
|
| |
|
|
|
|
|
|
| |
- For DefaultSize instructions, don't guess a 'q' suffix if the instruction
doesn't support it.
- Corrections for x86_64 assembly.
ok miod@
|
| |
|
|
|
| |
#plt symbol modifiers, and produce the appropriate relocation types.
This allows as(1) to correctly assemble PIC code.
|
| |
|
|
|
| |
Backported from a commit made after binutils 2.17 but before the GPLv3 switch.
ok miod@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Assembler supports a register prefix of `#' when configured for SVR4, and `%'
when configured for OpenBSD. Pseudo-ops do not need a leading dot, except
when configured for OpenBSD, allowing the `set' instruction to be recognized
correctly.
Based upon various unfinished or unreliable works, including smurph@'s early
work in 2003, my own attempts in 2004 and 2005, and Michael Kato's binutils
2.15 diff from 2005. Support for register prefixes, as well as fixing an
evil off-by-one in resolving 16-bit pc-relative relocations in ld (which would
only affect kernel .S files branching to global symbols), came as part of the
2012 work.
Not enabled yet (needs Makefile.bsd-wrapper, bfd/config.bfd and
gdb/configure.tgt updates to completely enable) so as not to disturb the
existing a.out toolchain builds; will hopefully be enabled very soon.
|
| |
|
|
|
|
|
| |
that controls the behaviour of Intel's Supervisor Mode Access Prevention
(SMAP) feature.
'looks correct' miod@ ok deraadt@
|
| |
|
|
| |
ok jsg@
|
| |
|
|
|
|
|
|
|
| |
that are needed to omplement accelerated AES (and AES-GCM mode) on newer
Intel cores.
Diff from Mike Belopuhov.
no objections/ok miod@
|
| |
|
|
| |
ok jsg@, miod@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-08-10 Mark Mitchell <mark@codesourcery.com>
* expr.c (operand): Handle the "~", "-", and "!" operators applied
to bignums.
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/expr.c.diff?cvsroot=src&only\
_with_tag=MAIN&r2=1.52&r1=1.51&f=u
Fixes the problem mentioned here:
http://llvm.org/bugs/show_bug.cgi?id=6528
ok jsg@, miod@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
is intended to be used when compiling kernel code which will run on a
Loongson 2E or 2F processor, and inserts an explicit BTB clear operation
before every jump through a register (jr or jalr instructions), unless
that register is k0 or k1, or we are in .set noat.
This is a reliable, although aggressive, workaround for the misbehaviour
of the branch prediction engine of many Loongson 2F processors with regard
to the Branch Translation Buffer, for which an official errata has yet
to be published, and for which the Loongson suggested workaround apparently
only works due to pipeline side effects, but requires all the executable
kernel code to be located in CKSEG0/CKSEG1.
These changes are inspired by a backport of the Loongson binutils 2.19 patch
to binutils 2.18; the idea of doing an aggressive BTB clear is mine.
This causes no functional change to code compiled without the
-mfix-loongson2f-btb option.
``looks reasonable'' kettenis@
|
| |
|
|
| |
ok miod@
|
| |
|
|
| |
from dasn. ok deraadt
|
| | |
|
| |
|
|
| |
systems only; more work is necessary in ld land.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
ok pvalchev
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- extra $(SHELL) and sugar for make (so that files not mode +x still work)
- safer temp file handling
- our W^X binary layout changes in ld
- OpenBSD policy for library file selection in ld
- arm and m88k changes which were not merged in time for official 2.15
- bfd core file handling
- a couple typos
New for 2.15:
- ld(1) and as(1) manpages now generated at build time
- binutils/stabs.c reverted to use our in-tree libiberty for now
- we still use our VIA C3 crypto code over stock binutils, as it recognizes
more instructions
- new emulations for OpenBSD on mips64 machines, to help OpenBSD/sgi
- relaxed %f# handling in gas on OpenBSD/sparc64 (same as was in 2.14)
Tested on all platforms by various people; special thanks to sturm@ and
otto@.
|
| | |
|
| |
|
|
| |
ok miod@ and espie@
|
| |
|
|
| |
remove testsuites (not useable) remove mmalloc (not part of new binutils).
|
| | |
|
| |
|
|
| |
ok deraadt@
|
| | |
|
| |
|
|
|
| |
and xcrypt-{ecb,cbc,cfb,ofb} instructions. This chagne is placed into
the public domain, so someone get it back to FSF
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Configuration settings mostly borrowed from the former gcc 2.8 configuration.
A few typos and fixes backported from gcc 3.3, and a hell lot of fixes from
my fingertips.
This is enough to yield a compiler which will produce correct code at -O0.
Optimization is slightly broken for some constructs, and more fixes are in
the pipeline.
ok deraadt@
|
| |
|
|
|
|
| |
RODATA_* align macros to preserve current behavior on other
archs and allow for 1G sep between beginning of exe and beginning of data
DARPA funded work.
|
| |
|
|
|
| |
abbreviation for --keep-locals. from binutils-current.
millert@ ok.
|
| |
|
|
|
| |
sense this way and works around an apparent gcc optimizer bug on
macppc related to inline functions. OK drahn@
|
| | |
|
| |
|
|
|
|
| |
XXX - we might want to improve the version selection logic when feeding
those diffs back to FSF, but we can't do that until we bump our version
to OpenBSD 3.2 because then the tree wouldn't build.
|