Changeset 3e828ea in mainline for uspace/lib/c/arch/sparc64/src/rtld/reloc.c
- Timestamp:
- 2019-09-23T12:49:29Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/fix-logger-deadlock, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9be2358
- Parents:
- 9259d20 (diff), 1a4ec93f (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:
- Jiri Svoboda <jiri@…> (2019-09-22 12:49:07)
- git-committer:
- Jiri Svoboda <jiri@…> (2019-09-23 12:49:29)
- File:
-
- 1 edited
-
uspace/lib/c/arch/sparc64/src/rtld/reloc.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/sparc64/src/rtld/reloc.c
r9259d20 r3e828ea 206 206 } 207 207 208 sym_size = sym->st_size;209 if (sym_size != sym_def->st_size) {210 printf("Warning: Mismatched symbol sizes.\n");211 /* Take the lower value. */212 if (sym_size > sym_def->st_size)213 sym_size = sym_def->st_size;214 }215 216 208 DPRINTF("sym_addr = 0x%zx\n", sym_addr); 217 209 DPRINTF("r_offset=0x%zx\n", r_offset); … … 307 299 } 308 300 301 /** Get the adress of a function. 302 * 303 * @param sym Symbol 304 * @param m Module in which the symbol is located 305 * @return Address of function 306 */ 307 void *func_get_addr(elf_symbol_t *sym, module_t *m) 308 { 309 return symbol_get_addr(sym, m, __tcb_get()); 310 } 311 309 312 /** @} 310 313 */
Note:
See TracChangeset
for help on using the changeset viewer.
