Changes in uspace/lib/c/generic/rtld/module.c [c576800:ffccdff0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/rtld/module.c
rc576800 rffccdff0 1 1 /* 2 * Copyright (c) 20 24Jiri Svoboda2 * Copyright (c) 2008 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 343 343 { 344 344 list_foreach(rtld->modules, modules_link, module_t, m) { 345 /* 346 * Skip rtld module, since it has already been processed. 347 * Skip start / main program -- leave it for later 348 */ 349 if (m != &rtld->rtld && m != start) { 345 /* Skip rtld module, since it has already been processed */ 346 if (m != &rtld->rtld) { 350 347 module_process_relocs(m); 351 348 } 352 349 } 353 354 /*355 * Now that shared libraries have been processed and their variables356 * are thus initialized, we can process the main program,357 * which may contain COPY relocations that copy value from shared358 * library variables to instances of those variables defined359 * in the main program.360 */361 module_process_relocs(start);362 350 } 363 351
Note:
See TracChangeset
for help on using the changeset viewer.