mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f0ba57341a
commit
77e876615d
21 changed files with 89 additions and 101 deletions
16
dln.c
16
dln.c
|
@ -122,16 +122,15 @@ init_funcname(buf, file)
|
|||
static int dln_errno;
|
||||
|
||||
#define DLN_ENOEXEC ENOEXEC /* Exec format error */
|
||||
#define DLN_ECONFL 201 /* Symbol name conflict */
|
||||
#define DLN_ENOINIT 202 /* No inititalizer given */
|
||||
#define DLN_EUNDEF 203 /* Undefine symbol remains */
|
||||
#define DLN_ENOTLIB 204 /* Not a library file */
|
||||
#define DLN_EBADLIB 205 /* Malformed library file */
|
||||
#define DLN_EINIT 206 /* Not initialized */
|
||||
#define DLN_ECONFL 1201 /* Symbol name conflict */
|
||||
#define DLN_ENOINIT 1202 /* No inititalizer given */
|
||||
#define DLN_EUNDEF 1203 /* Undefine symbol remains */
|
||||
#define DLN_ENOTLIB 1204 /* Not a library file */
|
||||
#define DLN_EBADLIB 1205 /* Malformed library file */
|
||||
#define DLN_EINIT 1206 /* Not initialized */
|
||||
|
||||
static int dln_init_p = 0;
|
||||
|
||||
#include "st.h"
|
||||
#include <ar.h>
|
||||
#include <a.out.h>
|
||||
#ifndef N_COMM
|
||||
|
@ -143,6 +142,9 @@ static int dln_init_p = 0;
|
|||
|
||||
#define INVALID_OBJECT(h) (N_MAGIC(h) != OMAGIC)
|
||||
|
||||
#include "util.h"
|
||||
#include "st.h"
|
||||
|
||||
static st_table *sym_tbl;
|
||||
static st_table *undef_tbl;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue