source: rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/bsp_specs @ c4561f2

4.104.114.84.95
Last change on this file since c4561f2 was c4561f2, checked in by Joel Sherrill <joel.sherrill@…>, on Mar 18, 2003 at 6:16:43 PM

2003-03-18 Till Straumann <strauman@…>

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).
  • Property mode set to 100644
File size: 756 bytes
Line 
1%rename cpp old_cpp
2%rename lib old_lib
3%rename endfile old_endfile
4%rename startfile old_startfile
5%rename link old_link
6
7*cpp:
8%(old_cpp) %{qrtems: -D__embedded__ -DUSE_ENHANCED_INTR_API} -Asystem(embedded)
9
10*lib:
11%{!qrtems: %(old_lib)} %{!nostdlib: %{qrtems: --start-group \
12%{!qrtems_debug: -lrtemsbsp -lrtemscpu} %{qrtems_debug: -lrtemsbsp_g -lrtemscpu_g} \
13-lc -lgcc --end-group  \
14%{!qnolinkcmds: -T linkcmds%s}}}
15
16*startfile:
17%{!qrtems: %(old_startfile)} %{!nostdlib: %{qrtems:  ecrti%O%s rtems_crti%O%s  crtbegin.o%s  \
18%{!qrtems_debug: start.o%s} \
19%{qrtems_debug: start_g.o%s}}}
20
21*link:
22%{!qrtems: %(old_link)} %{qrtems: -Qy -dp -Bstatic -e __rtems_entry_point -u __vectors}
23
24*endfile:
25%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s ecrtn.o%s}
Note: See TracBrowser for help on using the repository browser.