Lines 70-76
Link Here
|
70 |
/* If there is a DT_MIPS_RLD_MAP entry in the dynamic section, fill it in |
70 |
/* If there is a DT_MIPS_RLD_MAP entry in the dynamic section, fill it in |
71 |
with the run-time address of the r_debug structure */ |
71 |
with the run-time address of the r_debug structure */ |
72 |
#define ELF_MACHINE_DEBUG_SETUP(l,r) \ |
72 |
#define ELF_MACHINE_DEBUG_SETUP(l,r) \ |
73 |
do { if ((l)->l_info[DT_MIPS (RLD_MAP)]) \ |
73 |
do { if ((l)->l_info[DT_MIPS (RLD_MAP)] && \ |
|
|
74 |
(l)->l_info[DT_MIPS (RLD_MAP)]->d_un.d_ptr) \ |
74 |
*(ElfW(Addr) *)((l)->l_info[DT_MIPS (RLD_MAP)]->d_un.d_ptr) = \ |
75 |
*(ElfW(Addr) *)((l)->l_info[DT_MIPS (RLD_MAP)]->d_un.d_ptr) = \ |
75 |
(ElfW(Addr)) (r); \ |
76 |
(ElfW(Addr)) (r); \ |
76 |
} while (0) |
77 |
} while (0) |