Module: xenomai-2.5
Branch: master
Commit: 5bbd81bdbeff581f09db7b8eb194e9d5faa98eec
URL:    
http://git.xenomai.org/?p=xenomai-2.5.git;a=commit;h=5bbd81bdbeff581f09db7b8eb194e9d5faa98eec

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sun Feb 21 11:37:13 2010 +0100

wrap-link.sh: force object files to stage1

Force object files listed after libpthread_rt to stage1, so that no
files are missed for the partial link. This should be better than
getting an obscure "no input files" message from collect2.

---

 scripts/wrap-link.sh |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/scripts/wrap-link.sh b/scripts/wrap-link.sh
index 09944f5..83a8d3d 100755
--- a/scripts/wrap-link.sh
+++ b/scripts/wrap-link.sh
@@ -165,6 +165,11 @@ while test $# -gt 0; do
            stage2_args="$stage2_args $arg"
            ;;
 
+       *.o)
+           # Force .o to stage1 regardless of its position
+           stage1_args="$stage1_args $arg"
+           ;;
+
        *) 
            if test -e "$arg"; then
                add_linker_obj $arg


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to