Changeset ebb1489 in mainline for uspace/lib/c/generic/rtld/module.c
- Timestamp:
- 2024-10-13T08:23:40Z (2 months ago)
- Children:
- 0472cf17
- Parents:
- 2a0c827c (diff), b3b79981 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- boba-buba <120932204+boba-buba@…> (2024-10-13 08:23:40)
- git-committer:
- GitHub <noreply@…> (2024-10-13 08:23:40)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/rtld/module.c
r2a0c827c rebb1489 1 1 /* 2 * Copyright (c) 20 08Jiri Svoboda2 * Copyright (c) 2024 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 343 343 { 344 344 list_foreach(rtld->modules, modules_link, module_t, m) { 345 /* Skip rtld module, since it has already been processed */ 346 if (m != &rtld->rtld) { 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) { 347 350 module_process_relocs(m); 348 351 } 349 352 } 353 354 /* 355 * Now that shared libraries have been processed and their variables 356 * are thus initialized, we can process the main program, 357 * which may contain COPY relocations that copy value from shared 358 * library variables to instances of those variables defined 359 * in the main program. 360 */ 361 module_process_relocs(start); 350 362 } 351 363
Note:
See TracChangeset
for help on using the changeset viewer.