Skip to content

Commit

Permalink
kernel: add READ_GAP_ROOT comment comparing to LOAD_DYN/LOAD_STAT
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Jun 14, 2017
1 parent 2243fc6 commit df90c24
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/streams.c
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,9 @@ Int READ_GAP_ROOT ( Char * filename )

/* dynamically or statically linked */
else if ( res == 1 || res == 2 ) {
// This code section covers loading of GAC compiled code; in contrast
// to FuncLOAD_STAT and FuncLOAD_DYN, which are typically used by
// kernel extensions to load C/C++ code.
if ( SyDebugLoading ) {
const char *s = (res == 1) ? "dynamically" : "statically";
Pr( "#I READ_GAP_ROOT: loading '%s' %s\n", (Int)filename, (Int)s );
Expand Down

0 comments on commit df90c24

Please sign in to comment.