Patch from: Jim Pick <jim@jimpick.com>
Added code so that .xs linker scripts are called so that ARM shared libraries are built correctly. CVS: ----------------------------------------------------------------------
This commit is contained in:
parent
4eb4387d5e
commit
a0290afa96
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
1999-06-28 Jim Pick <jim@jimpick.com>
|
||||
|
||||
* emultempl/armelf.em: Added code so that .xs linker scripts are
|
||||
called so that ARM shared libraries are built correctly.
|
||||
|
||||
1999-06-22 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* ldmain.c (main): Initialize link_info.init_function and
|
||||
|
|
|
@ -1215,6 +1215,10 @@ echo ' ; else if (!config.text_read_only) return' >> e${EMULATION_NAME}
|
|||
sed $sc ldscripts/${EMULATION_NAME}.xbn >> e${EMULATION_NAME}.c
|
||||
echo ' ; else if (!config.magic_demand_paged) return' >> e${EMULATION_NAME}.c
|
||||
sed $sc ldscripts/${EMULATION_NAME}.xn >> e${EMULATION_NAME}.c
|
||||
if test -n "$GENERATE_SHLIB_SCRIPT" ; then
|
||||
echo ' ; else if (link_info.shared) return' >> e${EMULATION_NAME}.c
|
||||
sed $sc ldscripts/${EMULATION_NAME}.xs >> e${EMULATION_NAME}.c
|
||||
fi
|
||||
echo ' ; else return' >> e${EMULATION_NAME}.c
|
||||
sed $sc ldscripts/${EMULATION_NAME}.x >> e${EMULATION_NAME}.c
|
||||
echo '; }' >> e${EMULATION_NAME}.c
|
||||
|
@ -1234,6 +1238,8 @@ cat >>e${EMULATION_NAME}.c <<EOF
|
|||
return "ldscripts/${EMULATION_NAME}.xbn";
|
||||
else if (!config.magic_demand_paged)
|
||||
return "ldscripts/${EMULATION_NAME}.xn";
|
||||
else if (link_info.shared)
|
||||
return "ldscripts/${EMULATION_NAME}.xs";
|
||||
else
|
||||
return "ldscripts/${EMULATION_NAME}.x";
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue