[kaffe] CVS kaffe (robilad): Removed unused createLdScript.pl

Kaffe CVS cvs-commits at kaffe.org
Mon Dec 31 08:07:20 PST 2007


PatchSet 7631 
Date: 2007/12/31 16:05:31
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Removed unused createLdScript.pl

2007-12-31  Dalibor Topic  <robilad at kaffe.org>

        * developers/createLdScript.pl: Removed.
        * developers/README: Removed createLdScript.pl.
        * Makefile.am (EXTRA_DIST): Removed createLdScript.pl.

Members: 
	ChangeLog:1.5129->1.5130 
	Makefile.am:1.134->1.135 
	Makefile.in:1.290->1.291 
	developers/README:1.14->1.15 
	developers/createLdScript.pl:1.1->1.2(DEAD) 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.5129 kaffe/ChangeLog:1.5130
--- kaffe/ChangeLog:1.5129	Mon Dec 31 15:59:25 2007
+++ kaffe/ChangeLog	Mon Dec 31 16:05:31 2007
@@ -1,5 +1,11 @@
 2007-12-31  Dalibor Topic  <robilad at kaffe.org>
 
+	* developers/createLdScript.pl: Removed.
+	* developers/README: Removed createLdScript.pl.
+	* Makefile.am (EXTRA_DIST): Removed createLdScript.pl.
+
+2007-12-31  Dalibor Topic  <robilad at kaffe.org>
+
 	* developers/check-classpath-merge-status, developers/check-classpath-unmerged, 
 	developers/resync-classpath.sh: Removed.
 
Index: kaffe/Makefile.am
diff -u kaffe/Makefile.am:1.134 kaffe/Makefile.am:1.135
--- kaffe/Makefile.am:1.134	Mon Dec 31 15:59:25 2007
+++ kaffe/Makefile.am	Mon Dec 31 16:05:31 2007
@@ -127,7 +127,6 @@
 	developers/autogen.sh \
 	developers/config1.patch \
 	developers/config2.patch \
-	developers/createLdScript.pl \
 	developers/dumpClass.pl \
 	developers/gdbinit \
 	developers/geteh_from_libgcc2 \
Index: kaffe/Makefile.in
diff -u kaffe/Makefile.in:1.290 kaffe/Makefile.in:1.291
--- kaffe/Makefile.in:1.290	Mon Dec 31 02:07:40 2007
+++ kaffe/Makefile.in	Mon Dec 31 16:05:31 2007
@@ -435,11 +435,8 @@
 	developers/alignment_of_size.c \
 	developers/auto-build.conf \
 	developers/autogen.sh \
-	developers/check-classpath-merge-status \
-	developers/check-classpath-unmerged \
 	developers/config1.patch \
 	developers/config2.patch \
-	developers/createLdScript.pl \
 	developers/dumpClass.pl \
 	developers/gdbinit \
 	developers/geteh_from_libgcc2 \
@@ -450,7 +447,6 @@
 	developers/mauve-kaffe \
 	developers/mauve-results.sh \
 	developers/mnemonicizer.awk \
-	developers/resync-classpath.sh \
 	developers/rpm-kaffe.spec \
 	developers/sp_offset.c \
 	developers/test-kaffe-sh \
Index: kaffe/developers/README
diff -u kaffe/developers/README:1.14 kaffe/developers/README:1.15
--- kaffe/developers/README:1.14	Mon Sep 18 12:25:34 2006
+++ kaffe/developers/README	Mon Dec 31 16:05:34 2007
@@ -31,9 +31,6 @@
 
 fixup.c		create GCJ fixup modules
 
-createLdScript.pl:	creare linker scripts for one particular library.
-		Depends on libtool's .exp file.
-
 Encode.java:	Encode a i18n Character Map into a resource we can load.
 
 EncodeEUC_JP:	Encode EUC_JP Character Map.
===================================================================
Checking out kaffe/developers/createLdScript.pl
RCS:  /home/cvs/kaffe/kaffe/developers/Attic/createLdScript.pl,v
VERS: 1.1
***************
--- kaffe/developers/createLdScript.pl	Mon Dec 31 16:07:20 2007
+++ /dev/null	Sun Aug  4 19:57:58 2002
@@ -1,72 +0,0 @@
-#!/bin/sh
-#
-# Copyright (c) 1999 University of Utah CSL.
-#
-# This file is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-#
-# Written by Godmar Back <gback at cs.utah.edu>
-#
-
-if [ -x /usr/bin/perl ]; then
-	PERL=/usr/bin/perl
-else
-	if [ -x /usr/local/bin/perl ]; then
-		PERL=/usr/local/bin/perl
-	fi
-fi
-
-PERL5INC=`echo "$0" | sed 's,/[^/]*$,,'`  # very portable
-$PERL -I $PERL5INC -x $0 ${1+"$@"}
-exit
-
-#!perl -w
-#line 27
-
-#
-# Take one of libtool's exp file and the file created by mangleNative
-# and create a linker script that contains only those aliases defined
-# by a given library.
-#
-# The intended use is this
-#
-#	${SRCDIR}/developers/createLdScript.pl \
-#       $SRCDIR/developers/allNativeAliases \
-#	${BUILDDIR}/libraries/clib/native/.libs/libnative.exp \
-#	    > ${SRCDIR}/libraries/clib/native/gcj-native-alias.ld
-#
-# where allNativeAliases is the output of mangleNative.pl
-#
-
-## Parse the command line
-my $allalias = shift 
-	|| die "Usage: createLdScript.pl aliasfile libexpfile\n";
-my $libexpfile = shift
-	|| die "Usage: createLdScript.pl aliasfile libexpfile\n";
-my %alias = ();
-
-# 1. read allalias file
-# 
-open(ALIAS, $allalias) || die "could not open $allalias";
-
-while (<ALIAS>) {
-    m/([^ ]*) = ([^ ]*);/g;
-    $alias{$2} = $1;
-
-    # print "insert $2 -> $alias{$2}\n";
-}
-
-open(LIBEXP, $libexpfile) || die "could not open $libexpfile";
-
-while (<LIBEXP>) {
-    chop;
-    my $kname = $_;
-    my $gcjname;
-
-    if (defined($alias{$kname})) {
-	$gcjname = $alias{$kname};
-	print "${gcjname} = ${kname};\n"
-    }
-}




More information about the kaffe mailing list