The NetBSD Project

CVS log for src/lib/libc/dlfcn/dlfcn_elf.c

[BACK] Up to [cvs.NetBSD.org] / src / lib / libc / dlfcn

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: pgoyette-compat


Revision 1.15.2.1 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:22 2018 UTC (2 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.15: +13 -2 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Sync with HEAD

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jan 5 19:29:44 2018 UTC (2 years, 9 months ago) by kamil
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-base, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored)

Register dl_iterate_phdr in the libc's namespace.h

The NetBSD Standard C Library uses internally some of its functions with
a mangled symbol name, usually "_symbol". The internal functions shall not
use the global (public) symbols.

Stop using the public global name of dl_iterate_phdr in tls/tls.c:
__libc_static_tls_setup().

Follow the approach with other dlopen(3)-like functions with the
namespace.h in the dl_iterate_phdr() case. Use internally a weak symbol:
__dl_iterate_phdr instead of dl_iterate_phdr.

Sponsored by <The NetBSD Foundation>

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>