Changeset b192915a in mainline for uspace/lib/dltest/dltest.c


Ignore:
Timestamp:
2024-05-29T18:11:25Z (6 weeks ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
c576800
Parents:
9b95b964
Message:

Add test case for public variable initialized with a relocated value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/dltest/dltest.c

    r9b95b964 rb192915a  
    11/*
    2  * Copyright (c) 2016 Jiri Svoboda
     2 * Copyright (c) 2024 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    4343/** Public initialized variable */
    4444int dl_public_var = dl_public_var_val;
     45/** Public variable initialized with the address of a symbol */
     46int *dl_public_ptr_var = &dl_public_var;
    4547/** Public uninitialized variable */
    4648int dl_public_uvar;
Note: See TracChangeset for help on using the changeset viewer.