mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
Chirp fixes:
* hw_htab.c (htab_map_binary): Don't try to map the text section when it is empty. * emul_chirp.c (map_over_chirp_note): Default load-base to -1 not CHIRP_LOAD_BASE. (emul_chirp_create): Map in the interrupt table.
This commit is contained in:
@ -571,10 +571,12 @@ htab_map_binary(device *me,
|
||||
}
|
||||
|
||||
/* set up virtual memory maps for each of the regions */
|
||||
htab_map_region(me, memory, sizes.text_ra, sizes.text_base,
|
||||
sizes.text_bound - sizes.text_base,
|
||||
wimg, pp,
|
||||
htaborg, htabmask);
|
||||
if (sizes.text_bound - sizes.text_base > 0) {
|
||||
htab_map_region(me, memory, sizes.text_ra, sizes.text_base,
|
||||
sizes.text_bound - sizes.text_base,
|
||||
wimg, pp,
|
||||
htaborg, htabmask);
|
||||
}
|
||||
|
||||
htab_map_region(me, memory, sizes.data_ra, sizes.data_base,
|
||||
sizes.data_bound - sizes.data_base,
|
||||
|
Reference in New Issue
Block a user