Changeset 3191


Ignore:
Timestamp:
Apr 22, 2007, 2:07:36 PM (18 years ago)
Author:
bird
Message:

underscores and a weakld problem(?).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/essentials/dev-lang/perl/makedef.pl

    r3181 r3191  
    12361236elsif ($PLATFORM eq 'os2') {
    12371237    open MAP, 'miniperl.map' or die 'Cannot read miniperl.map';
    1238     /^\s*[\da-f:]+\s+(\w+)/i and $mapped{$1}++ foreach <MAP>;
     1238    /^\s*[\da-f:]+\s+_(\w+)/i and $mapped{$1}++ foreach <MAP>;
    12391239    close MAP or die 'Cannot close miniperl.map';
    12401240
     
    14141414if ($PLATFORM eq 'os2') {
    14151415        print <<EOP;
    1416     dll_perlmain=main
    1417     fill_extLibpath
    1418     dir_subst
    1419     Perl_OS2_handler_install
     1416    _dll_perlmain=_main
     1417    _fill_extLibpath
     1418    _dir_subst
     1419    _Perl_OS2_handler_install
    14201420
    14211421; LAST_ORDINAL=$sym_ord
     
    14581458    elsif ($PLATFORM eq 'os2') {
    14591459        printf qq(    %-31s \@%s\n),
    1460           qq("$symbol"), $ordinal{$symbol} || ++$sym_ord;
    1461         printf qq(    %-31s \@%s\n),
    1462           qq("$exportperlmalloc{$symbol}" = "$symbol"),
    1463           $ordinal{$exportperlmalloc{$symbol}} || ++$sym_ord
    1464           if $exportperlmalloc and exists $exportperlmalloc{$symbol};
     1460          qq("_$symbol"), $ordinal{$symbol} || ++$sym_ord;
     1461# this doesn't work, fix weakld!?!
     1462#       printf qq(    %-31s \@%s\n),
     1463#         qq("_$exportperlmalloc{$symbol}" = "_$symbol"),
     1464#         $ordinal{$exportperlmalloc{$symbol}} || ++$sym_ord
     1465#         if $exportperlmalloc and exists $exportperlmalloc{$symbol};
     1466#       printf qq(    %-31s \@%s\n),
     1467#         qq("__std_$exportperlmalloc{$symbol}" = "_$symbol"),
     1468#         $ordinal{$exportperlmalloc{$symbol}} || ++$sym_ord
     1469#         if $exportperlmalloc and exists $exportperlmalloc{$symbol};
    14651470    }
    14661471    elsif ($PLATFORM eq 'aix' || $PLATFORM eq 'MacOS') {
Note: See TracChangeset for help on using the changeset viewer.