From: Jarkko Hietaniemi Date: Sat, 21 Feb 1998 15:26:19 +0000 (+0200) Subject: HP-UX hints and AIX global.sym changes (with Makefile.SH rule) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=419eaf7b01c3f231c2f9dead147a7012d0e9df5f;p=p5sagit%2Fp5-mst-13.2.git HP-UX hints and AIX global.sym changes (with Makefile.SH rule) Subject: [PATCH] 5.004_60: AIX: global.sym and Makefile.SH Date: Sat, 21 Feb 1998 15:26:19 +0200 (EET) Subject: Re: your HP-UX perl patch Date: Mon, 23 Feb 1998 23:14:37 +0200 (EET) p4raw-id: //depot/perl@579 --- diff --git a/Makefile.SH b/Makefile.SH index 584353c..10a0023 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -404,6 +404,10 @@ perly.c: perly.y perly.h: perly.y -@sh -c true +SYM = global.sym interp.sym compat3.sym + +SYMH = perlvars.h thrdvar.h + # The following files are generated automatically # keywords.h: keywords.pl # opcode.h: opcode.pl @@ -504,7 +508,8 @@ $(FIRSTMAKEFILE): README $(MAKEDEPEND) config.h: config_h.SH config.sh $(SHELL) config_h.SH -perl.exp: perl_exp.SH config.sh +# This is an AIXism. +perl.exp: perl_exp.SH config.sh $(SYM) $(SYMH) $(SHELL) perl_exp.SH # When done, touch perlmain.c so that it doesn't get remade each time. diff --git a/embed.h b/embed.h index 73cc786..22634a0 100644 --- a/embed.h +++ b/embed.h @@ -69,6 +69,7 @@ #define boot_core_UNIVERSAL Perl_boot_core_UNIVERSAL #define bor_amg Perl_bor_amg #define bxor_amg Perl_bxor_amg +#define byterun Perl_byterun #define call_list Perl_call_list #define cando Perl_cando #define cast_ulong Perl_cast_ulong diff --git a/global.sym b/global.sym index fee3d7b..d0f5f0b 100644 --- a/global.sym +++ b/global.sym @@ -33,12 +33,12 @@ find_threadsv fold fold_locale freq +ge_amg get_op_descs get_op_names -ge_amg gt_amg -init_thread_intern inc_amg +init_thread_intern io_close know_next le_amg @@ -162,28 +162,11 @@ yyval # Functions Gv_AMupdate -sv_true -sv_iv -sv_uv -sv_nv amagic_call append_elem append_list apply assertref -avhv_delete -avhv_delete_ent -avhv_exists -avhv_exists_ent -avhv_fetch -avhv_fetch_ent -avhv_iterinit -avhv_iternext -avhv_iternextsv -avhv_iterval -avhv_keys -avhv_store -avhv_store_ent av_clear av_extend av_fake @@ -198,11 +181,25 @@ av_shift av_store av_undef av_unshift +avhv_delete +avhv_delete_ent +avhv_exists +avhv_exists_ent +avhv_fetch +avhv_fetch_ent +avhv_iterinit +avhv_iternext +avhv_iternextsv +avhv_iterval +avhv_keys +avhv_store +avhv_store_ent bind_match block_end block_gimme block_start boot_core_UNIVERSAL +byterun call_list cando cast_ulong @@ -337,7 +334,6 @@ gv_init gv_stashpv gv_stashpvn gv_stashsv -hexdigit hv_clear hv_delayfree_ent hv_delete @@ -377,8 +373,8 @@ list listkids localize looks_like_number -magic_clearenv magic_clear_all_env +magic_clearenv magic_clearpack magic_clearsig magic_existspack @@ -397,6 +393,7 @@ magic_len magic_mutexfree magic_nextpack magic_set +magic_set_all_env magic_setamagic magic_setarylen magic_setbm @@ -416,7 +413,6 @@ magic_setsubstr magic_settaint magic_setuvar magic_setvec -magic_set_all_env magic_sizepack magic_wipepack magicname @@ -491,8 +487,8 @@ newSVREF newSViv newSVnv newSVpv -newSVpvn newSVpvf +newSVpvn newSVrv newSVsv newUNOP @@ -887,19 +883,19 @@ regprop repeatcpy rninstr rsignal +rsignal_restore rsignal_save rsignal_state -rsignal_restore rxres_free rxres_restore rxres_save safecalloc -safemalloc safefree +safemalloc saferealloc safexcalloc -safexmalloc safexfree +safexmalloc safexrealloc same_dirent save_I16 @@ -971,10 +967,10 @@ sv_2uv sv_add_arena sv_backoff sv_bless -sv_catpvf -sv_catpvf_mg sv_catpv sv_catpv_mg +sv_catpvf +sv_catpvf_mg sv_catpvn sv_catpvn_mg sv_catsv @@ -985,8 +981,8 @@ sv_clean_objs sv_clear sv_cmp sv_cmp_locale -sv_compile_2op sv_collxfrm +sv_compile_2op sv_dec sv_derived_from sv_dump @@ -999,11 +995,13 @@ sv_inc sv_insert sv_isa sv_isobject +sv_iv sv_len sv_magic sv_mortalcopy sv_newmortal sv_newref +sv_nv sv_peek sv_pvn sv_pvn_force @@ -1012,8 +1010,6 @@ sv_reftype sv_replace sv_report_used sv_reset -sv_setpvf -sv_setpvf_mg sv_setiv sv_setiv_mg sv_setnv @@ -1021,6 +1017,8 @@ sv_setnv_mg sv_setptrobj sv_setpv sv_setpv_mg +sv_setpvf +sv_setpvf_mg sv_setpviv sv_setpviv_mg sv_setpvn @@ -1035,12 +1033,14 @@ sv_setuv sv_setuv_mg sv_taint sv_tainted +sv_true sv_unmagic sv_unref sv_untaint sv_upgrade sv_usepvn sv_usepvn_mg +sv_uv sv_vcatpvfn sv_vsetpvfn taint_env @@ -1056,8 +1056,8 @@ wait4pid warn watch whichsig -yyerror yydestruct +yyerror yylex yyparse yywarn diff --git a/hints/hpux.sh b/hints/hpux.sh index c2500d0..cbf80cc 100644 --- a/hints/hpux.sh +++ b/hints/hpux.sh @@ -60,10 +60,6 @@ # reading from a NULL pointer causes a SEGV. ccflags="$ccflags -D_HPUX_SOURCE" -# If you plan to use gcc, then you should uncomment the following line -# so you get the HP math library and not the GCC math library. -# ccflags="$ccflags -L/lib/pa1.1" - # Check if you're using the bundled C compiler. This compiler doesn't support # ANSI C (the -Aa flag) nor can it produce shared libraries. Thus we have # to turn off dynamic loading. @@ -92,6 +88,12 @@ EOM ;; esac +# Even if you use gcc, prefer the HP math library over the GNU one. + +case "`$cc -v 2>&1`" in +"*gcc*" ) test -d /lib/pa1.1 && ccflags="$ccflags -L/lib/pa1.1" ;; +esac + # Determine the architecture type of this system. # Keep leading tab below -- Configure Black Magic -- RAM, 03/02/97 xxOsRevMajor=`uname -r | sed -e 's/^[^0-9]*//' | cut -d. -f1`;