From 3c073ca3dd7e60cfc1295552ddea9e4dd5f78995 Mon Sep 17 00:00:00 2001 From: freesource Date: Thu, 29 Nov 2001 20:11:32 +0000 Subject: [PATCH] Old code which was automatically finding a ld loader regardless of the users own wishes has been consigned to a function call auto_loader which will not be used because this gets away in creating dists with alternative libs, and ld is almost always found if required binaries are chosen, anyways. --- BootRoot/Yard.pm | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/BootRoot/Yard.pm b/BootRoot/Yard.pm index c3fa397..8496571 100644 --- a/BootRoot/Yard.pm +++ b/BootRoot/Yard.pm @@ -769,6 +769,21 @@ sub library_dependencies { } } + ## History --freesource + # auto_loader($contents_file, $seen_ELF_lib, $seen_AOUT_lib); + + info(0, "Done\n\n"); + +} # end sub library_dependencies + +## This is old code being kept around, but it really isn't necessary +## because the ld libs are always found long before reaching this point, and +## in cases where libc5/libc6 aren't wanted it gets in the way of creating +## alternative lib distributions like uClibc. +sub auto_loader { + + my ($contents_file, $seen_ELF_lib, $seen_AOUT_lib) = @_; + info(1, "\n"); if ($seen_ELF_lib) { # There's no official way to get the loader file, AFAIK. @@ -792,9 +807,7 @@ sub library_dependencies { } } - info(0, "Done\n\n"); - -} # end sub library_dependencies +} # end auto_loader sub hard_links {