]>
Commit | Line | Data |
---|---|---|
a44a935f PB |
1 | typedef struct sec { |
2 | const char *name; | |
3 | int id; | |
4 | int index; | |
5 | struct sec *next; | |
6 | unsigned int flags; | |
7 | unsigned int user_set_vma : 1; | |
8 | unsigned int reloc_done : 1; | |
9 | unsigned int linker_mark : 1; | |
10 | unsigned int gc_mark : 1; | |
11 | unsigned int segment_mark : 1; | |
12 | unsigned long long vma; } asection; | |
13 | ||
14 | static void pe_print_pdata (asection *section) | |
15 | { | |
16 | unsigned long long i; | |
17 | unsigned long long start = 0, stop = 0; | |
18 | int onaline = (3*8) ; | |
19 | ||
20 | for (i = start; i < stop; i += onaline) | |
21 | { | |
22 | if (i + (3*8) > stop) | |
23 | break; | |
24 | ||
25 | f (((unsigned long) ((( i + section->vma ) >> 32) & 0xffffffff)) , ((unsigned long) ((( i + section->vma ) & 0xffffffff))) ) ; | |
26 | } | |
27 | } | |
28 |