Print this page
code review from Robert

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/libld/common/sections.c
          +++ new/usr/src/cmd/sgs/libld/common/sections.c
↓ open down ↓ 1266 lines elided ↑ open up ↑
1267 1267                  if (ofl->ofl_oscapchain)
1268 1268                          cnt += 3;
1269 1269  
1270 1270                  if (flags & FLG_OF_SYMBOLIC)
1271 1271                          cnt++;                  /* DT_SYMBOLIC */
1272 1272  
1273 1273                  if (ofl->ofl_aslr != 0)         /* DT_SUNW_ASLR */
1274 1274                          cnt++;
1275 1275          }
1276 1276  
     1277 +        /* DT_SUNW_KMOD */
1277 1278          if (ofl->ofl_flags & FLG_OF_KMOD)
1278 1279                  cnt++;
1279 1280  
1280 1281          /*
1281 1282           * Account for Architecture dependent .dynamic entries, and defaults.
1282 1283           */
1283 1284          (*ld_targ.t_mr.mr_mach_make_dynamic)(ofl, &cnt);
1284 1285  
1285 1286          /*
1286 1287           * DT_FLAGS, DT_FLAGS_1, DT_SUNW_STRPAD, and DT_NULL. Also,
↓ open down ↓ 2245 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX