Commit Graph

25 Commits

Author SHA1 Message Date
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