Current File : //usr/local/apps/perl/lib/site_perl/5.30.0/x86_64-linux/link.ph |
require '_h2ph_pre.ph';
no warnings qw(redefine misc);
unless(defined(&_LINK_H)) {
eval 'sub _LINK_H () {1;}' unless defined(&_LINK_H);
require 'features.ph';
require 'elf.ph';
require 'dlfcn.ph';
require 'sys/types.ph';
eval 'sub ElfW {
my($type) = @_;
eval q( &_ElfW ( &Elf, &__ELF_NATIVE_CLASS, $type));
}' unless defined(&ElfW);
eval 'sub _ElfW {
my($e,$w,$t) = @_;
eval q( &_ElfW_1 ($e, $w, &_$t));
}' unless defined(&_ElfW);
eval 'sub _ElfW_1 {
my($e,$w,$t) = @_;
eval q($e$w$t);
}' unless defined(&_ElfW_1);
require 'bits/elfclass.ph';
require 'bits/link.ph';
eval("sub RT_CONSISTENT () { 0; }") unless defined(&RT_CONSISTENT);
eval("sub RT_ADD () { 1; }") unless defined(&RT_ADD);
eval("sub RT_DELETE () { 2; }") unless defined(&RT_DELETE);
if(defined(&__USE_GNU)) {
eval 'sub LAV_CURRENT () {1;}' unless defined(&LAV_CURRENT);
eval("sub LA_ACT_CONSISTENT () { 0; }") unless defined(&LA_ACT_CONSISTENT);
eval("sub LA_ACT_ADD () { 1; }") unless defined(&LA_ACT_ADD);
eval("sub LA_ACT_DELETE () { 2; }") unless defined(&LA_ACT_DELETE);
eval("sub LA_SER_ORIG () { 0x01; }") unless defined(&LA_SER_ORIG);
eval("sub LA_SER_LIBPATH () { 0x02; }") unless defined(&LA_SER_LIBPATH);
eval("sub LA_SER_RUNPATH () { 0x04; }") unless defined(&LA_SER_RUNPATH);
eval("sub LA_SER_CONFIG () { 0x08; }") unless defined(&LA_SER_CONFIG);
eval("sub LA_SER_DEFAULT () { 0x40; }") unless defined(&LA_SER_DEFAULT);
eval("sub LA_SER_SECURE () { 0x80; }") unless defined(&LA_SER_SECURE);
eval("sub LA_FLG_BINDTO () { 0x01; }") unless defined(&LA_FLG_BINDTO);
eval("sub LA_FLG_BINDFROM () { 0x02; }") unless defined(&LA_FLG_BINDFROM);
eval("sub LA_SYMB_NOPLTENTER () { 0x01; }") unless defined(&LA_SYMB_NOPLTENTER);
eval("sub LA_SYMB_NOPLTEXIT () { 0x02; }") unless defined(&LA_SYMB_NOPLTEXIT);
eval("sub LA_SYMB_STRUCTCALL () { 0x04; }") unless defined(&LA_SYMB_STRUCTCALL);
eval("sub LA_SYMB_DLSYM () { 0x08; }") unless defined(&LA_SYMB_DLSYM);
eval("sub LA_SYMB_ALTVALUE () { 0x10; }") unless defined(&LA_SYMB_ALTVALUE);
}
}
1;