#
661fb7cf |
|
28-Feb-2016 |
Jérôme Duval <jerome.duval@gmail.com> |
gcc4: revert partially 419211519c79edc7af6fca9c6a3233129ec54d7d. "* LINK_SPEC: Pass "-shared" to the linker only if it was passed to gcc; output position-independent executables by default;" is reverted to workaround a link failure on gcc4 with binutils 2.26: add-ons objects would fail to link against an executable (being no more a shared object). This is possibly temporary until the need for executable as shared objects is fully reviewed.
|
#
7af7a81a |
|
04-Nov-2015 |
Simon South <ssouth@simonsouth.com> |
gcc2, gcc4: Correct LINK_SPEC Correct LINK_SPEC so it * Sets appropriate dynamic-link options for any type of dynamically linked executable, not only position-independent ones. * Does not omit these options if "-pie" is specified by the user. * Recognizes the "-static" option. * Includes a hyphen previously missing from "--no-undefined". Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
|
#
bfa81594 |
|
22-Oct-2015 |
Simon South <ssouth@simonsouth.com> |
gcc: LINK_SPEC: Gently refactor Update LINK_SPEC (for arm, i386, x86_64 and ppc) with more compact but functionally equivalent sequences. Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
|
#
aff4b186 |
|
22-Oct-2015 |
Simon South <ssouth@simonsouth.com> |
gcc: CC1_SPEC, LINK_SPEC: Wrap lines at 80 columns Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
|
#
41921151 |
|
22-Oct-2015 |
Simon South <ssouth@simonsouth.com> |
gcc: Allow the user to build non-PI executables * CC1_SPEC: Remove non-existent "no-fpic" command-line option; add "fno-PIC" and "fno-PIE" as options that disable the generation of position-independent code; use "-fPIC" by default. * LINK_SPEC: Pass "-shared" to the linker only if it was passed to gcc; output position-independent executables by default; when linking executables, allow undefined symbols in shared libraries and export all symbols (to match the behaviour of "-shared"). Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
|
#
aeb1fcf6 |
|
03-Oct-2014 |
Nick Smallbone <nick.smallbone@gmail.com> |
Don't switch on -shared if the user specifies -r Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
|
#
64e25a94 |
|
19-Nov-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Define __STDC_ISO_10646__ in our gccs. * define __STDC_ISO_10646__ to '201103' in order to indicate that Haiku's wchar_t supports the Universal Character Set (UCS) defined by the ISO 10646 standard published in March 2011. (cherry picked from commit 073cb9127c750d74bfb0e4812cc59c54c7f27b35)
|
#
86fff949 |
|
19-Apr-2013 |
Jerome Duval <jerome.duval@gmail.com> |
import gcc 4.6.3
|
#
5bdd342f |
|
31-Mar-2012 |
Jerome Duval <jerome.duval@gmail.com> |
gcc: ASM_COMMENT_START shouldn't be defined at the OS level. * arm: ASM_COMMENT_START is defined in arm/aout.h. * i386 and x86_64: define ASM_COMMENT_START. * others: ASM_COMMENT_START is defined in ${arch}/${arch}.h.
|
#
9507ae27 |
|
07-Jan-2012 |
Jérôme Duval <jerome.duval@gmail.com> |
import of gcc 4.5.3 (core and g++ only).
|
#
073cb912 |
|
19-Nov-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Define __STDC_ISO_10646__ in our gccs. * define __STDC_ISO_10646__ to '201103' in order to indicate that Haiku's wchar_t supports the Universal Character Set (UCS) defined by the ISO 10646 standard published in March 2011.
|
#
8116a5d9 |
|
22-Nov-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merged gcc4-weak-symbols branch. git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@39570 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
215ca35b |
|
27-Jul-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* revert 37775, as the define has a wrong value and it's probably better to do stuff like this somewhere in our libc headers. git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@37779 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
735af2d6 |
|
27-Jul-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* added standard define __STDC_ISO_10646__ to all compiler configurations, indicating that haiku uses ISO_10646 in wchar_t (in our case: UTF-32) git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@37775 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
03890535 |
|
07-Jul-2009 |
Oliver Tappe <zooey@hirschkaefer.de> |
* merged 32bit-wchar_t branches of buildtools and haiku back into the respective trunk git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@31443 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5d242e9e |
|
13-Mar-2009 |
Michael Lotz <mmlr@mlotz.ch> |
Add the -no-undefined flag only for non-shared objects as before, i.e. shared libraries are allowed to use undefined symbols. git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29490 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
beaf9299 |
|
23-Feb-2009 |
Michael Lotz <mmlr@mlotz.ch> |
* Amend link and startfile specs for the -shared option. * Remove the part of the link specs that automatically names the output after the last source file. Therefore we'll produce a.out for now. Sadly the %b variable does also evaluate to libraries in GCC4 which makes it unusable for this case. A "gcc file.cpp -lstdc++" would for example produce an output named libstdc++... git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29297 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3fce03fd |
|
27-Jan-2009 |
Michael Lotz <mmlr@mlotz.ch> |
Remove the __BEOS__ builtin define. Also add an uppercase __ARM__ for the ARM config. git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29068 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9d51e40a |
|
25-Jan-2009 |
Michael Lotz <mmlr@mlotz.ch> |
Applying Haiku compatibility. git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29034 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c5e4f0dd |
|
25-Jan-2009 |
Michael Lotz <mmlr@mlotz.ch> |
Removing previous GCC4 to have a clean base. git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29032 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8c840510 |
|
06-Dec-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
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
|
#
aeb1fcf62f3b60585fdb39fb646417982700c2df |
|
03-Oct-2014 |
Nick Smallbone <nick.smallbone@gmail.com> |
Don't switch on -shared if the user specifies -r Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
|
#
64e25a94754142bffaca347d7750694976d9c7e6 |
|
19-Nov-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Define __STDC_ISO_10646__ in our gccs. * define __STDC_ISO_10646__ to '201103' in order to indicate that Haiku's wchar_t supports the Universal Character Set (UCS) defined by the ISO 10646 standard published in March 2011. (cherry picked from commit 073cb9127c750d74bfb0e4812cc59c54c7f27b35)
|
#
86fff949210400f2738c5899ce466e3573be5575 |
|
19-Apr-2013 |
Jerome Duval <jerome.duval@gmail.com> |
import gcc 4.6.3
|
#
5bdd342ffa415e91e17436d39b79d0b61d7b3826 |
|
31-Mar-2012 |
Jerome Duval <jerome.duval@gmail.com> |
gcc: ASM_COMMENT_START shouldn't be defined at the OS level. * arm: ASM_COMMENT_START is defined in arm/aout.h. * i386 and x86_64: define ASM_COMMENT_START. * others: ASM_COMMENT_START is defined in ${arch}/${arch}.h.
|
#
9507ae27822da1947c2e6563671168bae5936759 |
|
07-Jan-2012 |
Jérôme Duval <jerome.duval@gmail.com> |
import of gcc 4.5.3 (core and g++ only).
|
#
073cb9127c750d74bfb0e4812cc59c54c7f27b35 |
|
19-Nov-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Define __STDC_ISO_10646__ in our gccs. * define __STDC_ISO_10646__ to '201103' in order to indicate that Haiku's wchar_t supports the Universal Character Set (UCS) defined by the ISO 10646 standard published in March 2011.
|
#
8116a5d9ffdc704a2fe1095bd9bdac3a36ad56bb |
|
22-Nov-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merged gcc4-weak-symbols branch. git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@39570 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
215ca35bee52fd27a420a1f77abdc51a89602a66 |
|
27-Jul-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* revert 37775, as the define has a wrong value and it's probably better to do stuff like this somewhere in our libc headers. git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@37779 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
735af2d623d1ffbb6f95a4fbcaeb367afddeb129 |
|
27-Jul-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* added standard define __STDC_ISO_10646__ to all compiler configurations, indicating that haiku uses ISO_10646 in wchar_t (in our case: UTF-32) git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@37775 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
03890535ff1f191ddfc1bb43a70e424348c05a06 |
|
07-Jul-2009 |
Oliver Tappe <zooey@hirschkaefer.de> |
* merged 32bit-wchar_t branches of buildtools and haiku back into the respective trunk git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@31443 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5d242e9e054538dbb28353a9ddbc2bbbd494373e |
|
13-Mar-2009 |
Michael Lotz <mmlr@mlotz.ch> |
Add the -no-undefined flag only for non-shared objects as before, i.e. shared libraries are allowed to use undefined symbols. git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29490 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
beaf9299fca6296ac8e407c5c090e2e43c65cf3f |
|
23-Feb-2009 |
Michael Lotz <mmlr@mlotz.ch> |
* Amend link and startfile specs for the -shared option. * Remove the part of the link specs that automatically names the output after the last source file. Therefore we'll produce a.out for now. Sadly the %b variable does also evaluate to libraries in GCC4 which makes it unusable for this case. A "gcc file.cpp -lstdc++" would for example produce an output named libstdc++... git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29297 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3fce03fd27d7123670e6622d56949ef593517ee0 |
|
27-Jan-2009 |
Michael Lotz <mmlr@mlotz.ch> |
Remove the __BEOS__ builtin define. Also add an uppercase __ARM__ for the ARM config. git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29068 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9d51e40ad395bdead4838571df7228cae4ee2c87 |
|
25-Jan-2009 |
Michael Lotz <mmlr@mlotz.ch> |
Applying Haiku compatibility. git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29034 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c5e4f0dd646462a94331bfe2e0de82231fbd58ae |
|
25-Jan-2009 |
Michael Lotz <mmlr@mlotz.ch> |
Removing previous GCC4 to have a clean base. git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29032 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8c840510db6ccd6912567edac55fb4450048b716 |
|
06-Dec-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
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
|