summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/motorola_powerpc/bsp_specs
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2003-03-18 18:16:43 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2003-03-18 18:16:43 +0000
commitc4561f251d9b43a720afedb13d11b961e502f2ff (patch)
tree006bc4b3e91b114047b6e43da81327d27115f17a /c/src/lib/libbsp/powerpc/motorola_powerpc/bsp_specs
parent2003-03-18 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-c4561f251d9b43a720afedb13d11b961e502f2ff.tar.bz2
2003-03-18 Till Straumann <strauman@slac.stanford.edu>
PR 356/bsps * bsp_specs, start/Makefile.am, startup/linkcmds This patch makes RTEMS/powerpc/shared EABI compliant. Declare all linker-script defined addresses as variables of unknown size and not as short objects like 'int', 'void*' etc. This prevents the compiler from generating a relocation who assumes the existence of an __rtems_end object in one of the short data areas (which would result in a linker error).
Diffstat (limited to 'c/src/lib/libbsp/powerpc/motorola_powerpc/bsp_specs')
-rw-r--r--c/src/lib/libbsp/powerpc/motorola_powerpc/bsp_specs2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/bsp_specs b/c/src/lib/libbsp/powerpc/motorola_powerpc/bsp_specs
index 299fef913f..7aa7045a3f 100644
--- a/c/src/lib/libbsp/powerpc/motorola_powerpc/bsp_specs
+++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/bsp_specs
@@ -14,7 +14,7 @@
%{!qnolinkcmds: -T linkcmds%s}}}
*startfile:
-%{!qrtems: %(old_startfile)} %{!nostdlib: %{qrtems: ecrti%O%s crtbegin.o%s \
+%{!qrtems: %(old_startfile)} %{!nostdlib: %{qrtems: ecrti%O%s rtems_crti%O%s crtbegin.o%s \
%{!qrtems_debug: start.o%s} \
%{qrtems_debug: start_g.o%s}}}