Ticket #6210: 0001-Revert-r25895-Undo-ppc-linkhack-workaround.patch

File 0001-Revert-r25895-Undo-ppc-linkhack-workaround.patch, 955 bytes (added by andreasf, 14 years ago)

proposed patch: revert hrev25895

  • src/system/kernel/Jamfile

    From 8cfcb4abcfa60305877f98aaa28219bf5126d5e5 Mon Sep 17 00:00:00 2001
    From: Andreas Faerber <andreas.faerber@web.de>
    Date: Sun, 20 Jun 2010 17:01:14 +0200
    Subject: [PATCH] Revert r25895: Undo ppc linkhack workaround
    
    ---
     src/system/kernel/Jamfile |   10 +---------
     1 files changed, 1 insertions(+), 9 deletions(-)
    
    diff --git a/src/system/kernel/Jamfile b/src/system/kernel/Jamfile
    index be743c5..a1302e5 100644
    a b Includes [ FGristFiles syscalls.cpp ]  
    8282      <syscalls>syscall_numbers.h
    8383;
    8484
    85 # TODO: fix or update binutils for ppc, in the meantime this should get things going.
    86 local linkHackLdFlags ;
    87 if $(TARGET_ARCH) = ppc {
    88     linkHackLdFlags = -Bdynamic ;
    89 } else {
    90     linkHackLdFlags = -shared -Bdynamic ;
    91 }
    92 
    9385KernelLd linkhack.so :
    9486    <$(SOURCE_GRIST)>linkhack.o
    9587    :
    9688    :
    97     $(linkHackLdFlags)
     89    -shared -Bdynamic
    9890;
    9991
    10092KernelLd kernel_$(TARGET_ARCH) :