Commit Graph

98 Commits

Author SHA1 Message Date
Jérôme Duval
371dda4618 Fix merge of binutils 2.22. Sorry for the noise. 2012-01-06 21:08:28 +01:00
Jérôme Duval
e80b1623ba Missing files for binutils 2.22 2012-01-06 20:25:50 +01:00
Jérôme Duval
192c9480a6 Fix the merge of binutils 2.22, sorry for the noise. 2012-01-06 20:21:47 +01:00
Jérôme Duval
1e198b669a Merge binutils 2.22 2012-01-06 00:20:08 +01:00
Jérôme Duval
54b66b3b47 import binutils 2.19 2012-01-06 00:11:05 +01:00
Jérôme Duval
6f0effcf54 import binutils 2.22 2012-01-05 22:46:40 +01:00
Jérôme Duval
4cc942491d import binutils 2.19 2012-01-05 22:33:17 +01:00
Fredrik Holmqvist
e310d205fb Add Haiku to list of elf-target so that is_elf is true.
This enables --enable-gold flag to be used (doesn't compile yet though).
The gold linker promises up to five times faster linking than ld, it is also possible to use link-time optimizations.
2011-12-03 10:14:13 +01:00
Ingo Weinhold
3df1e72ed0 Patch by Nathan Mentley: Added initial support for Haiku x86_64.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@36793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-11 19:33:44 +00:00
Jonas Sundström
4df3ecf7d0 Adding mipsel-unknown-haiku. Work in progress. Correctness uncertain. Especially gcc/gcc/config/mips/haiku.h. Inspired by the other Haiku targets x86/ppc/arm.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@30534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-01 14:42:51 +00:00
Michael Lotz
b0f40dcb15 These apply to Haiku as well. Fixes binutils build with current GCC2 package on Haiku.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-27 19:31:12 +00:00
Michael Lotz
cf01f26680 Adding arm and ppc config files previously missed.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29036 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-26 05:29:57 +00:00
Michael Lotz
4947731f7b Forgot this in Haiku patch as well.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 22:15:19 +00:00
Michael Lotz
a576cda8cd Missed those two in last commit.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 21:46:04 +00:00
Michael Lotz
da7d5efeb4 Applying Haiku support.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 21:45:27 +00:00
Michael Lotz
385576a748 Adding binutils 2.19 to trunk.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 21:40:16 +00:00
Michael Lotz
c3bc604047 Making room for binutils 2.19.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29023 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 21:39:30 +00:00
Ithamar R. Adema
0751d0f13b Forgot that these generated files were in svn too ;)
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@28691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-19 01:41:30 +00:00
Ithamar R. Adema
23577e077a Fix makefile so binutils will fully build for ARM architecture.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@28690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-19 01:04:30 +00:00
François Revol
46a8b69b1f Add PEF as extra BFD target, in case someone really feels like writing a BeBox bootloader...
cf. http://www.bebox.nu/os.php?s=os/linux/belinux/status
http://mail-index.netbsd.org/port-bebox/2000/02/03/0000.html


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@28622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-12 02:14:08 +00:00
François Revol
b5aa07ca28 Add xcoff-pmac to the extra bfs formats, seems it's the one needed for old OF...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@28621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-12 00:19:39 +00:00
François Revol
f41d71ffb2 Add some more BFD formats for ppc, copied from the BSD target, most notably coff support to allow creating loader for OpenFirmware < 3.0.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@28609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-11-11 19:05:01 +00:00
François Revol
752ce742c6 This should get binutils working for ARM for the adventuruous ones.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@26148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-27 23:04:41 +00:00
François Revol
d6ccef5ab0 This is the only way I could get reg-printf.c from glibc, some stupid handling of comments used to discard gcc output...
Wonder why it doesn't happen on x86 ? (maybe cause comment chars are different ?)
cf. http://sources.redhat.com/ml/binutils/2004-04/msg00646.html


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@22737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-26 16:58:21 +00:00
Ingo Weinhold
df8195dfa4 Applied r22729 to the configure.in files, too.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@22730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-26 01:52:48 +00:00
Ingo Weinhold
76f9da413c Patch by tombhadac (slightly adjusted by myself): The binutils configure
scripts accept makeinfo versions 4.x with x >= 10 now, too.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@22729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-25 22:25:24 +00:00
François Revol
ae7a2053d4 Ported binutils to m68k-unknown-haiku.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@22683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-23 18:55:01 +00:00
Oliver Tappe
7477ce77cf * oops, forgot to commit these files, thanks to Jerome for telling me about the resulting
problems


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-03 16:35:28 +00:00
Oliver Tappe
9a99bec198 * updated cross-(or non-legacy-)binutils to version 2.17
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20228 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-25 15:02:21 +00:00
Ingo Weinhold
17dd620975 Another piece of the puzzle: BFD has a value for a target's max page size.
The value defined for ld must be the same, since otherwise one gets
effects like we had for generated PPC objects: The BFD page size was
0x10000, the ld page size 0x1000. Thus the data segment alignment forced
in the linker script didn't allow BFD to really start a new segment
(unless by accident a 0x10000 boundary was crossed as well). Hence our
libraries and executables only had one loadable segment (containing both
text and data), which neither of the three Haiku ELF loaders (in boot
loader, kernel, and userland) likes at all.

As a fix we force 0x1000 page size for target Haiku in a similar way it
is done for QNX.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-29 00:08:48 +00:00
Ingo Weinhold
dab660cbe3 * The .plt section for PPC is of type SHT_NOBITS (not SHT_PROGBITS as
for x86), so it should be placed near the .bss sections. This fixes
  linkage problems -- the linker had to split the text segment after the
  .plt section, which caused its pre-computed program header count to be
  wrong.
* I also added the stuff concerning the .fixup and .got{1,2} sections I
  found in the generic ELF PPC script. It shouldn't harm at least.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-10 20:07:57 +00:00
Ingo Weinhold
5c52022905 On PPC we actually use a small data area.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-09 14:03:46 +00:00
Ingo Weinhold
8c840510db Added support for machine powerpc-*-haiku. Reorganized things a bit:
The i386-pc-haiku no longer uses the BeOS BFD target emulation, but
its own. A few things are shared for both *-*-haiku machines now.
The PowerPC Haiku binutils and gcc build, but I wouldn't expect them
to really produce usable output yet. We'll see...


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-06 22:39:47 +00:00
Ingo Weinhold
f51a39bb6e Added support for target i586-pc-haiku.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-05 14:10:26 +00:00
Ingo Weinhold
6809759e16 Copying binutils 2.16.1 into trunk.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-22 16:32:10 +00:00
Ingo Weinhold
b67b6a17a6 Moved the old binutils to their new home.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-22 15:54:23 +00:00
Ingo Weinhold
30d2be341d Patch by Oliver to allow allow building with gcc 4.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-19 21:01:04 +00:00
Oliver Tappe
8f01cb10fd - switched some compile-time dependencies to target dependencies, such that
cross-compiling with BeOS target works.
- tweaked build-procedure to allow for proper generation of a i586-pc-beos
  cross-compiler on LINUX.
- added documentation for creation of cross-compiler.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@11255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-04 23:37:16 +00:00
Oliver Tappe
49182b477d - patched $(MK_DOC) into the default dependencies, such that chow.c gets
built during the make process. Before, it was being built during the
  install process, when gcc might not be available, if the install goes
  into an empty folder. Now, installs in empty folders work properly.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@11253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-04 23:18:59 +00:00
Oliver Tappe
4616c25941 - we no longer hard-patch ld to not use relocation combination (combreloc),
as the default (using it) seems to generate slightly smaller results and
  not break anything.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@10421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 17:30:14 +00:00
Oliver Tappe
8f27e7c7a5 - we no longer need to hard-patch ld to not allow undefined symbols in
objects, as we now do this via gcc-specs.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@10420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 17:28:20 +00:00
Oliver Tappe
2bb8527ef7 - updated version for next release
git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@10345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-02 15:50:53 +00:00
Oliver Tappe
76e7a04213 - upgraded release date to 041111, for BeBits-release.
git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9917 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 10:27:47 +00:00
Oliver Tappe
8b36716003 revert ehopt.c (exception handling info optimizer) to the version from
binutils 2.10.1, as the optimizer in binutils 2.11.2 fails to optimize
	anything that has been produced by gcc 2.95.3.
	This patch yields (much) smaller eh-sections, resulting in smaller
	executables and libs.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 18:10:44 +00:00
Oliver Tappe
3a75ceffb4 add new option -priority=<prio>, the default is now 5 (B_LOW_PRIORITY)
git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 18:09:54 +00:00
Oliver Tappe
403ef65902 circumvent the newer BeOS loader instability when it has to deal
with R_386_NONE reloc-entries with zero offset.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 18:09:32 +00:00
Oliver Tappe
2a516d7eb9 add support for BeOS-target
git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 18:08:46 +00:00
Oliver Tappe
0d415dc8a4 Initial revision
git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 17:57:26 +00:00