library.map

This commit is contained in:
albert 2003-01-24 10:15:23 +00:00
parent 61a952e666
commit 85207276b3
2 changed files with 15 additions and 3 deletions

View File

@ -1,4 +1,15 @@
_3_1_5 {
global: readproc;
global:
readproc; openproc; closeproc; display_version; meminfo; vminfo;
dev_to_tty; escape_command; open_psdb_message; signal_name_to_number;
sprint_uptime; wchan; procps_version; linux_version_code;
Hertz; smp_num_cpus; escape_str; escape_strlist; look_up_our_self;
open_psdb; ps_readproc; uptime; pretty_print_signals;
unix_print_signals; user_from_uid; print_uptime; loadavg;
kb_active; kb_inactive; kb_main_buffers; kb_main_cached;
kb_main_free; kb_main_total; kb_main_used; kb_swap_free;
kb_swap_total; kb_swap_used; kb_main_shared; tty_to_dev;
vm_pgpgin; vm_pgpgout; vm_pswpin; vm_pswpout; readproctab;
print_given_signals;
local: *;
};

View File

@ -40,8 +40,9 @@ DIRS += proc/
proc/lib$(NAME).a: $(LIBOBJ)
$(AR) rcs $@ $^
#proc/$(SONAME): proc/library.map
proc/$(SONAME): $(LIBOBJ)
$(CC) -shared -Wl,-soname,$(SONAME) -o $@ $^ -lc
$(CC) -shared -Wl,-soname,$(SONAME) -Wl,--version-script=proc/library.map -o $@ $^ -lc
cd proc && $(ln_sf) $(SONAME) lib$(NAME).so