Ignore:
Timestamp:
2019-09-23T12:49:29Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
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)
Message:

Merge changes from master, especially Meson build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/sparc64/src/rtld/reloc.c

    r9259d20 r3e828ea  
    206206                        }
    207207
    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 
    216208                        DPRINTF("sym_addr = 0x%zx\n", sym_addr);
    217209                        DPRINTF("r_offset=0x%zx\n", r_offset);
     
    307299}
    308300
     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 */
     307void *func_get_addr(elf_symbol_t *sym, module_t *m)
     308{
     309        return symbol_get_addr(sym, m, __tcb_get());
     310}
     311
    309312/** @}
    310313 */
Note: See TracChangeset for help on using the changeset viewer.