Commit Graph

373 Commits

Author SHA1 Message Date
joerg
7c8897217a TLS relocations for PIE and non-PIE main executable work the same, so
apply the same relaxation rules and the same static binding rules.
2017-07-25 19:44:25 +00:00
mrg
be7137046e initialise some stack variables to zero so that later checking ensures
they are considered "unfound" instead of some random value.

part 1 in fixing the CI20 kernel build.  this one actually will cause
the build to fail, but it's outputting broken objects right now anyway.
part 2 coming up in the CI20 configuration itself.
2017-07-25 06:43:03 +00:00
joerg
05cc9c0cb6 Create references as absolute pointers internally for .cfi*.
Do not warn for anonymous relocations in read-only .eh_frame,
they will be turned into relative entries afterwards.
2017-07-17 19:50:23 +00:00
joerg
a5c3ba3e65 Allocate enough memory. 2017-07-11 21:19:42 +00:00
chs
3c2bb6eab4 copy the CTF section too, if there is one. 2017-07-06 02:34:00 +00:00
christos
7ef1d3a265 Teach me about the NetBSD-CORE ELF AuxV note. 2017-03-29 15:28:42 +00:00
sevan
cc576e1d8e Update supporting files for components which rely on autoconf to allow systems
introducing since release of software to be recognised. This should hopefully
allow the builds to progress a littles further on systems such as the POWER8
which features a little endian 64-bit PowerPC CPU identified as ppc64le.
2017-02-01 09:26:39 +00:00
skrll
3e2d39191a Fix merge botch. arm eabi targets now match properly and we get the
right defaults.
2017-01-11 14:13:05 +00:00
buhrow
d33b37e9a7 Fix problem which prevents cross building on NetBSD systems which predate
NetBSD-6 or non-NetBSD systems.  See discussion on port-arm for details.
2016-12-30 22:40:23 +00:00
mrg
899aca2e24 mknative, binutils 2.27, and ia64. 2016-12-12 19:15:15 +00:00
mrg
42a13a4db0 mknative-binutils 2.27 and hppa. 2016-12-11 02:13:34 +00:00
mrg
16e7be53ca regen binutils mknative files for binutils 2.27 on mipsel, mipseb and aarch64. 2016-12-11 01:53:43 +00:00
mrg
30b9303d3c regen mknative-binutils for ppc64 and binutils 2.27 2016-12-10 22:57:41 +00:00
mrg
de41f27e8a rebuild mkantive for ppc and binutils 2.27. 2016-12-10 21:33:53 +00:00
christos
a582531a1a finish arm regeneration 2016-12-08 19:35:10 +00:00
christos
37fdc90f90 regen sun2, earm, earmeb 2016-12-05 22:59:17 +00:00
christos
e33f4e7ec2 Regen sh3 2016-12-04 18:43:07 +00:00
christos
b1a05e3501 switch alpha/sparc/sparc64 to new binutils 2016-12-03 16:01:18 +00:00
christos
5b0871f5ea regen mips64 2016-12-03 00:40:47 +00:00
christos
787b0418af regen m68k 2016-12-02 17:51:07 +00:00
christos
a6a34af0f6 regen for vax 2016-11-27 18:52:05 +00:00
christos
096c8b23c8 follow suit (add missing d) 2016-11-04 15:31:45 +00:00
joerg
374e459041 Tail calls can use the PLT without a nop after the branch. Since the
callee won't return to the next instruction anyway, it wouldn't work
anyway.
2016-11-04 00:19:32 +00:00
christos
f47de02583 More detailed error messages for text relocations on ppc code. Tested by joerg@ 2016-11-03 01:22:59 +00:00
christos
3d63ec494e need an = 2016-11-01 15:58:41 +00:00
christos
24c043b8d9 bump both (belatedly) 2016-11-01 14:02:15 +00:00
christos
ed77187f53 Add NODEBUGLIB, perhaps LIBISPRIVATE is better here? 2016-11-01 14:02:01 +00:00
christos
f5b8191dd4 regen x86 2016-10-26 20:39:27 +00:00
christos
944e10e55a restore the initfini array tests 2016-10-26 20:26:20 +00:00
christos
2f15a542cc merge conflicts, disable testsuite 2016-10-26 18:42:52 +00:00
christos
be8325a0f7 for next time 2016-10-26 18:00:56 +00:00
christos
c05b68c164 use the real top 2016-10-26 18:00:46 +00:00
christos
8cbf5cb7c4 Import binutils-2.27 minus the testsuites 2016-10-26 17:29:32 +00:00
mrg
a1169008f0 match aarch64* for the ldscripts generation. 2016-10-19 20:55:44 +00:00
mrg
31caae3a77 mknative-binutils for binutils 2.26 and arm64eb 2016-10-19 20:31:28 +00:00
mrg
b54003801f regen again after fixing the armeb-netbsdelf list.
evbarm-armeb builds again.
2016-10-19 19:10:33 +00:00
mrg
4a685cb277 fix the armeb target list. 2016-10-19 19:09:42 +00:00
mrg
8beef5983a regen to remove the accidental freebsd files 2016-10-19 19:02:38 +00:00
christos
bca50078b8 fix typo. 2016-10-18 12:52:32 +00:00
maya
aa71315a69 this rule shouldn't be specific to little endian 2016-10-15 12:30:55 +00:00
mrg
cce0131c9c go back to only installing ldscripts for ports that need them (multi-abi) 2016-10-14 23:27:00 +00:00
christos
d11c4303f8 Remove hacks and depend on the files being built to decide wha'ts being
installed.
2016-10-14 15:58:34 +00:00
martin
a61a76c709 Install the arm ldscripts for big endian variants too 2016-10-13 13:29:39 +00:00
mrg
4685143ff5 build and install the arm ldscripts. now i can build oabi again. 2016-10-11 07:23:52 +00:00
mrg
9535eb5451 fix the previous - the emul names don't tend to include "32".
tested on shark, though fixes to make compiling for oabi work
remain uncommited.

now an aarch64 build almost completes!
2016-10-11 07:05:29 +00:00
mrg
ba759bad89 revert previous - was fixed in the mknative. 2016-10-11 04:10:13 +00:00
mrg
de6fd971d9 regen with mostly fixed. 2016-10-11 03:57:15 +00:00
christos
8897404ec7 more HAVE stuff. 2016-10-11 03:09:37 +00:00
christos
be6cc8d4b9 regen and fix aarch64 2016-10-11 03:08:14 +00:00
christos
b885939ba2 fix emulation path 2016-10-11 02:49:38 +00:00