Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: x86_64 rtems - Improve support for building shared dynamic libraries #1

Open
wants to merge 4 commits into
base: master
from
Open
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

* config.host (x86_64-*-rtems*): Build and use shared crtbegin/end

  • Loading branch information...
AmaanC committed Jun 5, 2018
commit e3b6fe9d2073debcfccb26cb1513c5209aeccbe0
@@ -36,4 +36,9 @@

#undef STARTFILE_SPEC
#define STARTFILE_SPEC "\
%{!nostdlib: %{!qrtems: crt0.o%s} crti.o%s crtbegin.o%s}"
%{!nostdlib: %{!qrtems: crt0.o%s} crti.o%s \
%{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"

#undef ENDFILE_SPEC
#define ENDFILE_SPEC \
"%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
@@ -613,7 +613,7 @@ x86_64-*-elf* | x86_64-*-rtems*)
tmake_file="$tmake_file i386/t-crtstuff t-crtstuff-pic t-libgcc-pic"
case ${host} in
x86_64-*-rtems*)
extra_parts="$extra_parts crti.o crtn.o"
extra_parts="$extra_parts crti.o crtn.o crtbeginS.o crtendS.o"
;;
esac
;;
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.