mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
clip shorts to prevent assembler warnings
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
1999-11-03 Nick Clifton <nickc@cygnus.com>
|
||||||
|
|
||||||
|
* dlltool.c (flush_page): Clip short values to prevent warnings
|
||||||
|
from the assembler.
|
||||||
|
|
||||||
1999-10-27 Fred Fish <fnf@cygnus.com>
|
1999-10-27 Fred Fish <fnf@cygnus.com>
|
||||||
|
|
||||||
* objdump.c (display_bfd): Break into two functions. The
|
* objdump.c (display_bfd): Break into two functions. The
|
||||||
|
@ -1572,10 +1572,11 @@ flush_page (f, need, page_addr, on_page)
|
|||||||
ASM_LONG,
|
ASM_LONG,
|
||||||
(on_page * 2) + (on_page & 1) * 2 + 8,
|
(on_page * 2) + (on_page & 1) * 2 + 8,
|
||||||
ASM_C);
|
ASM_C);
|
||||||
|
|
||||||
for (i = 0; i < on_page; i++)
|
for (i = 0; i < on_page; i++)
|
||||||
{
|
fprintf (f, "\t%s\t0x%lx\n", ASM_SHORT,
|
||||||
fprintf (f, "\t%s\t0x%lx\n", ASM_SHORT, (need[i] - page_addr) | 0x3000);
|
((need[i] - page_addr) | 0x3000) & 0xffff);
|
||||||
}
|
|
||||||
/* And padding */
|
/* And padding */
|
||||||
if (on_page & 1)
|
if (on_page & 1)
|
||||||
fprintf (f, "\t%s\t0x%x\n", ASM_SHORT, 0 | 0x0000);
|
fprintf (f, "\t%s\t0x%x\n", ASM_SHORT, 0 | 0x0000);
|
||||||
|
Reference in New Issue
Block a user