Juli Mallett
5619a3e4bf
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.
Reviewed by: imp
2010-06-02 11:06:03 +00:00
Warner Losh
8a07366ec2
Add armeb-*-freebsd* to the list of known architectures. This is like
...
arm-*-freebsd*, except it defaults to big endian builds instead of
little endian builds.
2010-04-14 19:03:27 +00:00
Warner Losh
d9964624bd
Push mips support into the tree.
2008-12-11 08:22:20 +00:00
David E. O'Brien
bd7d47734a
Bring these back to HEAD.
...
(I thought ncvs@ had rm'ed these MIPS files a long time ago... SVN had
better work out - else 7 more files off the vendor branch.)
2008-05-29 02:43:05 +00:00
David E. O'Brien
de582f44b4
This commit was generated by cvs2svn to compensate for changes in r179404,
...
which included commits to RCS files with non-trunk default branches.
2008-05-29 02:29:59 +00:00
David E. O'Brien
b7e4108c6b
Import of Binutils from the FSF 2.15 branch (just post-.0 release).
...
These bits are taken from the FSF anoncvs repo on 23-May-2004 04:41:00 UTC.
2008-05-29 02:29:59 +00:00
Marius Strobl
2ce641c5c4
* elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): When linking a
...
non-shared object, do not reserve space in .plt and .rela.plt
for regular symbols neither defined nor referenced in shared objects.
This is a backport of rev. 1.101 (sourceware.org repository) to
Binutils 2.15 which fixes the creation of bogus relocations in the
PLT of Firefox and Thunderbird binaries and which in turn caused
them to segfault in rtld(1). This is committed to the vendor branch
as it doesn't represent a local change but the original vendor fix
is from after elf_link_hash_flags was replaced with bitfields.
PR: sparc64/89486
Approved by: maintainer timeout
Obtained from: NetBSD
MFC after: 1 week
2006-06-08 13:10:51 +00:00
Marius Strobl
ef75316994
This commit was generated by cvs2svn to compensate for changes in r159399,
...
which included commits to RCS files with non-trunk default branches.
2006-06-08 13:10:51 +00:00
David E. O'Brien
e74f71ff7f
Import of Binutils from the FSF 2.15 branch (just post-.0 release).
...
These bits are taken from the FSF anoncvs repo on 23-May-2004 04:41:00 UTC.
2004-07-06 19:16:23 +00:00
David E. O'Brien
3cc52aa5e0
This commit was generated by cvs2svn to compensate for changes in r131722,
...
which included commits to RCS files with non-trunk default branches.
2004-07-06 19:16:23 +00:00
David E. O'Brien
6c81463f56
Update HEAD with the stock binutils_2_15_20040523 file.
2004-06-16 06:55:49 +00:00
David E. O'Brien
b543ed2b74
Merge rev 1.2 (configuration changes to support FreeBSD) into Binutils 2.15.
2004-06-16 06:13:06 +00:00
David E. O'Brien
3358ced985
Merge our ELF branding into Binutils 2.15.
2004-06-16 06:02:14 +00:00
David E. O'Brien
da03bc7002
Import of Binutils from the FSF 2.15 branch (just post-.0 release).
...
These bits are taken from the FSF anoncvs repo on 23-May-2004 04:41:00 UTC.
2004-06-16 05:45:41 +00:00
David E. O'Brien
ad6e3f2b73
This commit was generated by cvs2svn to compensate for changes in r130561,
...
which included commits to RCS files with non-trunk default branches.
2004-06-16 05:45:41 +00:00
David E. O'Brien
34d258e905
From FSF Binutils CVS repo:
...
2003-04-09 Richard Henderson <rth@redhat.com>
* elf64-alpha.c (elf64_alpha_relocate_section) <R_ALPHA_GPREL32>:
Ignore relocations against r_symndx == 0.
Requested by: kris,re(scottl)
2003-05-28 03:32:33 +00:00
David E. O'Brien
7f158db49d
Junk that never should have gotten imported.
2003-03-02 19:01:31 +00:00
David E. O'Brien
a46000f2ca
Update HEAD with the stock files.
2002-12-02 09:39:02 +00:00
David E. O'Brien
332649695e
Remove our custom ELF branding -- we have moved to our own ELF vectors
...
that DTRT.
2002-12-02 09:22:58 +00:00
David E. O'Brien
702c8f15ef
Merge our ELF branding into Binutils 2_13_2_20021127 snapshot.
2002-12-02 09:17:49 +00:00
David E. O'Brien
ca88f70eac
GC some stuff I thought was long gone.
2002-12-02 09:14:25 +00:00
David E. O'Brien
898696a8b3
Import of Binutils from the FSF 2.13 branch (just pre-.2 release).
...
These bits are taken from the FSF anoncvs repo on 27-Oct-2002 21:12:00 EST.
2002-12-02 09:06:04 +00:00
David E. O'Brien
6c3a332e94
This commit was generated by cvs2svn to compensate for changes in r107492,
...
which included commits to RCS files with non-trunk default branches.
2002-12-02 09:06:04 +00:00
David E. O'Brien
e4c6a19966
Try to keep CVS from pissing over the next binutils import by returning
...
to purely stock files.
2002-12-02 08:42:08 +00:00
David E. O'Brien
0320623115
Import of Binutils from the FSF 2.13 branch (just pre-.1 release).
...
These bits are taken from the FSF anoncvs repo on 11-Oct-2002 22:39:35 PDT.
2002-10-11 09:15:11 +00:00
David E. O'Brien
a77c19c987
This commit was generated by cvs2svn to compensate for changes in r104871,
...
which included commits to RCS files with non-trunk default branches.
2002-10-11 09:15:11 +00:00
David E. O'Brien
a85f4d8e6e
We use the stock version of this file.
2002-10-11 06:11:27 +00:00
David E. O'Brien
7f08766508
Merge rev 1.6 (ELF_DYNAMIC_INTERPRETER) into Binutils 2.13_20021110.
2002-10-11 06:11:03 +00:00
David E. O'Brien
8fe9bb17ae
Merge rev 1.8 ("ELF_DYNAMIC_INTERPRETER") into Binutils 2.13_20021110 snap.
2002-10-11 06:10:28 +00:00
David E. O'Brien
8e7b167431
On second thought, garbage collect the OLD_BRANDELF_METHOD. FreeBSD 5.0
...
is a good point to break from this historical ABI-breaking method.
2002-10-11 06:09:39 +00:00
David E. O'Brien
03dc1f6999
Merge our ELF branding into Binutils 2_13_20021011 snapshot.
...
(note that this will be the last Binutils update to offer our original
method of ELF branding (WANT_OLD_BRANDELF_METHOD))
2002-10-11 06:08:01 +00:00
David E. O'Brien
88e5f95a93
Import of Binutils from the FSF 2.13 branch (just pre-.1 release).
...
These bits are taken from the FSF anoncvs repo on 11-Oct-2002 22:39:35 PDT.
2002-10-11 06:01:20 +00:00
David E. O'Brien
8febaae8e2
This commit was generated by cvs2svn to compensate for changes in r104834,
...
which included commits to RCS files with non-trunk default branches.
2002-10-11 06:01:20 +00:00
David E. O'Brien
bde4025733
Remove these MIPS (and stragglers) from the vendor branch so I won't
...
accidently import them again.
2002-08-31 20:49:15 +00:00
David E. O'Brien
961b726450
Merge rev 1.6 (ELF_DYNAMIC_INTERPRETER) into Binutils 2.12_20020720.
2002-08-31 20:38:58 +00:00
David E. O'Brien
f862c555e6
Import of Binutils from the FSF 2.12 branch (post-.1 release).
2002-08-31 20:20:07 +00:00
David E. O'Brien
a00bb00510
This commit was generated by cvs2svn to compensate for changes in r102729,
...
which included commits to RCS files with non-trunk default branches.
2002-08-31 20:20:07 +00:00
David E. O'Brien
86c6456a3e
We use the stock version of this file.
2002-07-05 20:34:21 +00:00
David E. O'Brien
7f8f70d5f8
Merge rev 1.6 (ELF_DYNAMIC_INTERPRETER) into Binutils 2.12_20020622 snap.
2002-07-05 20:32:42 +00:00
David E. O'Brien
c563f5ced3
Merge our ELF branding into Binutils 2.12_20020622 snapshot.
...
(note that this will be the last Binutils update to offer our original
method of ELF branding (WANT_OLD_BRANDELF_METHOD))
2002-07-05 20:30:48 +00:00
David E. O'Brien
c7549e32a4
Import of Binutils from the FSF 2.12 branch (just post-.1 release).
...
These bits are taken from the FSF anoncvs repo on 22-June-2002 23:28:00 EDT.
2002-07-05 20:16:34 +00:00
David E. O'Brien
95cd50e6d7
This commit was generated by cvs2svn to compensate for changes in r99461,
...
which included commits to RCS files with non-trunk default branches.
2002-07-05 20:16:34 +00:00
David E. O'Brien
6b42ebd631
Merge the stock 2.12.0 snap version.
2002-04-12 19:52:34 +00:00
David E. O'Brien
aec81a114a
Merge rev 1.6 (ELF_DYNAMIC_INTERPRETER) into Binutils 2.12_20020410 snap.
2002-04-12 19:51:31 +00:00
David E. O'Brien
bcf1d3f7ac
Merge rev 1.8 ("ELF_DYNAMIC_INTERPRETER") into Binutils 2.12_20020410 snap.
2002-04-12 19:50:32 +00:00
David E. O'Brien
58692393f0
Merge our ELF branding into Binutils 2.12_20020410 snapshot.
2002-04-12 19:49:24 +00:00
David E. O'Brien
0aecce1e34
Import of Binutils from the FSF 2.12 branch.
...
(this fixes several linker problems and coredumps)
These bits are taken from the FSF anoncvs repo on 10-April-2002 13:24 Zulu
2002-04-12 19:33:52 +00:00
David E. O'Brien
d31ed8e471
This commit was generated by cvs2svn to compensate for changes in r94536,
...
which included commits to RCS files with non-trunk default branches.
2002-04-12 19:33:52 +00:00
David E. O'Brien
1a00a2a761
Commit the stock 2.12.0 release version.
2002-03-20 21:59:13 +00:00
David E. O'Brien
55ba99bb8d
Import of Binutils from the FSF 2.12 branch (just post-.0 release).
...
These bits are taken from the FSF anoncvs repo on 20-March-2002 13:33:33 PST.
2002-03-20 21:37:13 +00:00