Commit Graph

96 Commits

Author SHA1 Message Date
christos
4e795f0325 from ftp.gnu.org 2013-09-29 13:48:10 +00:00
christos
883529b685 from ftp.gnu.org 2013-09-29 13:38:08 +00:00
matt
92fd66d6e7 Teach readelf how to interpet netbsd notes.
Notes at offset 0x00000128 with length 0x00000018:
  Owner         Data size       Description
  NetBSD        0x00000004      IDENT 699002300 (6.99.23)

Notes at offset 0x00000154 with length 0x00000020:
  Owner         Data size       Description
  NetBSD        0x00000009      MARCH <earmv7hf>
2013-09-11 18:53:54 +00:00
matt
6d142d8571 Add cortex-a7 2013-08-19 22:23:12 +00:00
drochner
4902aed8dd remove some files which will be regenerated during build, avoids
writes into $BSDSRCDIR
2013-08-13 20:38:08 +00:00
matt
83b2ab469f Match arm*-*-netbsdelf*-* 2013-08-12 05:14:24 +00:00
matt
e193aeee34 match armv[467]*--netbsdelf* 2013-08-04 22:19:42 +00:00
matt
ff4ffb39ed Allow alias of m5407--netbsdelf for m68k--netbsdself 2013-07-19 16:01:33 +00:00
matt
5b9e27202e Fix broken matching for m5200 and m5407 as alias for coldfire cpus. 2013-07-19 15:58:48 +00:00
matt
a6b968105e Allow stripping of the m before m5... so that it can match coldfire cpus. 2013-07-19 15:57:18 +00:00
matt
88c7c7f72e Make these consistent. Make sure all handle earm and coldfire. 2013-07-19 15:55:57 +00:00
joerg
920908ed83 PR 47922: Properly resolve DT_NEEDED entries under sysroot and don't
accidently try the installed system.
2013-06-25 19:38:54 +00:00
matt
13994434d1 Move arm-*-netbsdelf-*eabi* to before arm-*-eabi* so it matches properly.
Add arm-*-netbsdelf-*eabihf* which has a VFP V2 by default.
Rename armnetbsdeabi*.h to armnbsdeabi*.h to be consistent with other nbsd
files.
2013-02-04 22:38:07 +00:00
matt
5b98504a16 Add a match for arm*--netbsdelf-eabi* and default that EABI with a VFP FPU
and ARCH_ARM_V5TEJ cpu.
2013-02-04 18:42:30 +00:00
drochner
d18545dea2 pull in upstream rev. 191413 to fix integer overflow in objalloc_alloc
(CVE-2012-3509)
2012-10-25 17:00:16 +00:00
matt
7d57bc60df Make this to produce working shared libraries again.
Resultant distribution was booted into single user using shared libraries.
2012-08-27 16:50:14 +00:00
matt
7c4c75c298 Add support for setting LIB_PATH for MKCOMPAT support. 2012-08-13 02:52:34 +00:00
matt
a4ae934e29 Remove code that should be have excised a long time ago. 2012-08-07 01:09:13 +00:00
matt
ad73c53594 Add arm{,eb}--netbsdelf-eabi support. 2012-08-05 04:03:03 +00:00
christos
edd104c76c PR/46704: Antti Kantee: Recognize tilera in config.guess 2012-07-19 19:34:26 +00:00
matt
b7c801cac8 Two fixes. Better PLT pruning (don't emit PLTs for local functions).
If emitting a reloc against a readonly section in a shared image,
cause TEXTREL to be set.
2012-07-17 21:37:21 +00:00
matt
ec769e4972 Warn about using a symbol as a displacement in PIC mode. 2012-07-17 20:29:44 +00:00
matt
6be8dcf23e Fix merge botch dealing with linker assignments. 2012-03-04 17:09:32 +00:00
matt
82cfc8036f Fix support for .protected symbols. 2012-03-02 16:37:16 +00:00
matt
3ffd030673 Fix problem leading to triggering a BFD assert: when allocating space in the
got, do not allocate slots for symbols without default visibility.
2012-02-10 01:47:37 +00:00
skrll
686829eb3c Revert last change to elf32-hppa.c and pull across the fix to my binutils
PR 13476.

tests/lib/libc/tls on hppa still passes with this change.
2011-12-12 07:40:56 +00:00
skrll
fd5c19ebdc Revert
http://sourceware.org/ml/binutils/2010-01/msg00594.html

which broken TLS relocations for DSOs - the relocation wasn't being
adjusted wrt the GP.

A proper fix is in the pipeline.
2011-12-02 09:40:18 +00:00
christos
324a1c22f5 Only set symbols not provided from the linker script as regular so
that we can find their version from verdef not vertree. This bug
showed up on the hp700 build of heimdal's libkrb5, where we got
the "end" symbol with a bad version from libhx509. The hp700 linker
script defines that end symbol.
2011-11-26 15:59:34 +00:00
skrll
28126bca61 Slight merge mistake. Now no difference to verndor branch. 2011-11-26 15:54:02 +00:00
uwe
cac1691902 elfcore_grok_netbsd_note: sync SuperH PT_GETREGS value with reality.
Recognize PT_GETFPREGS that we don't yet actually have, but for which
the number is now reserved.
2011-11-01 00:31:38 +00:00
uwe
10230b2353 get_netbsd_elfcore_note_type: sync SuperH PT_GETREGS value with
reality.  Recognize old PT___GETREGS40 (for struct __reg40 without
GBR).  Recognize PT_GETFPREGS that we don't yet actually have, but for
which the number is now reserved.
2011-10-31 19:12:48 +00:00
christos
1d3d0af5a7 gnu style. 2011-10-07 23:24:14 +00:00
christos
b2a67858d2 Fix broken logic that created R_SPARC_64 relocations when -Bsymbolic.
When -Bsymbolic, all resolved symbols need to be created with relative
relocations. The dynamic linker depends on that because it only
knows how to perform relative relocations in the first pass to
relocate itself.  This bug ended up creating R_SPARC_64 symbols for
12 relocation symbols in ld.elf_so, one of them dlopen(), which
ended up breaking things using dlopen(), most notably PAM.
2011-10-07 22:30:56 +00:00
christos
5cb8c25793 disable building the .info file 2011-10-07 20:22:59 +00:00
christos
bc3b670f7d The arm .arm.atpcs section does not have segment information, so skip it. 2011-10-01 19:25:24 +00:00
macallan
c608916b4f put -mfixloongson2f-btb back in the command line options list 2011-09-30 01:23:00 +00:00
apb
1bc22d31ed Disable rebuilding of elfedit.1 2011-09-25 19:40:36 +00:00
mrg
95deb5109b make this build again.
gimpy, please check the #if 0'd code that may or may not be useful? :)
2011-09-25 11:07:32 +00:00
mrg
47221e6236 add OPTION_FIX_LOONGSON2F_BTB and OPTION_NO_FIX_LOONGSON2F_BTB
options back to the enum.
2011-09-25 09:44:54 +00:00
christos
32998b1cb8 Merge new binutils. Only x86_64 works now; the rest will need to run mknative
again (at least).
2011-09-25 04:32:33 +00:00
christos
31799520c4 from ftp.gnu.org 2011-09-24 22:40:46 +00:00
christos
be12b8bcaf from ftp.gnu.org 2011-09-24 22:30:45 +00:00
christos
45548106ec from ftp.gnu.org 2011-09-24 22:20:22 +00:00
christos
be9ac0ea6d from ftp.gnu.org 2011-09-24 22:10:17 +00:00
bouyer
90a13a6073 Hide instructions added by -mfix-loongson2f-jump in the same way as
-mfix-loongson2f-btb, to avoid a gas warning "macro expanded into
multiple instructions" (which cause GDIUM kernel build failure
as it's built with -Wa,-mfix-loongson2f-jump -Wa,--fatal-warnings).
2011-08-29 18:30:52 +00:00
bouyer
0c15c4be25 Add a fix-loongson2f-btb option to gas, from OpenBSD.
This works around a bug in the branch prediction logic of the
CPU which can cause a hard hang. The existing fix-loongson2f-jump
works around the same bug, but by 'fixing' the jump target to be within the
same 256MB region as the kernel. This will (silently) cause a jump
to the wrong address if the jump is intentionally to some other
region (e.g. a call to pmon).
fix-loongson2f-btb instead works around the issue by adding an explicit flush
of the branch target buffer (via a write to a cop0 register) before every
jump register instruction.
2011-08-27 13:19:39 +00:00
matt
ec53afa919 Add a -mtrap-zero-jump option for mips that causes a trap instruction to
fire before a jump to a zero or "near" zero address.  This can't be used
with MIPS1 kernels since MIPS1 doesn't have a trap instruction (it will
be silently ignored).
2011-08-18 06:32:35 +00:00
matt
acb3cf946c Missing a diff for the loongson2 fixes 2011-08-03 17:54:52 +00:00
matt
c8f6ff28bb Pull in change to support -m[no-]fix-loongson2f-{nop,jump} 2011-08-02 16:11:16 +00:00
mrg
fc24f81836 apply a couple of (int) before r_type switch usage. 2011-07-07 07:47:11 +00:00