From c4561f251d9b43a720afedb13d11b961e502f2ff Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 18 Mar 2003 18:16:43 +0000 Subject: 2003-03-18 Till Straumann 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). --- c/src/lib/libbsp/powerpc/motorola_powerpc/bsp_specs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/src/lib/libbsp/powerpc/motorola_powerpc/bsp_specs') 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}}} -- cgit v1.2.3