Print this page
11057 hidden undefined weak symbols should not leave relocations
11058 libld entrance descriptor assertions get NDEBUG check backwards

@@ -470,11 +470,11 @@
 
                 if ((aplist_append(&ofl->ofl_segs, sgp,
                     AL_CNT_SEGMENTS)) == NULL)
                         return (S_ERROR);
 
-#ifdef NDEBUG                   /* assert() is enabled */
+#ifndef NDEBUG                  /* assert() is enabled */
                 /*
                  * Enforce the segment name rule: Any segment that can
                  * be referenced by an entrance descriptor must have
                  * a name. Any segment that cannot, must have a NULL
                  * name pointer.