RFA: fix fill size output in map file for cross-linking
Joern Rennecke
joern.rennecke@superh.com
Thu May 6 13:57:00 GMT 2004
More information about the Binutils mailing list
Thu May 6 13:57:00 GMT 2004
- Previous message (by thread): regenerate assembler and link editor
- Next message (by thread): RFA: fix fill size output in map file for cross-linking
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The linker prints out four bytes of garbage as the top half of the size of a fill when generating a linker map for i686-pc-linux-gnu X sh-elf . This patch fixes it: 2004-05-06 J"orn Rennecke <joern.rennecke@superh.com> * ldlang.c (print_padding_statement): Cast size_t to bfd_vma before printing it with %W. Index: ldlang.c =================================================================== RCS file: /cvs/src/src/ld/ldlang.c,v retrieving revision 1.143 diff -p -r1.143 ldlang.c *** ldlang.c 30 Apr 2004 14:26:09 -0000 1.143 --- ldlang.c 6 May 2004 13:51:00 -0000 *************** print_padding_statement (lang_padding_st *** 2490,2496 **** addr = s->output_offset; if (s->output_section != NULL) addr += s->output_section->vma; ! minfo ("0x%V %W ", addr, s->size); if (s->fill->size != 0) { --- 2490,2496 ---- addr = s->output_offset; if (s->output_section != NULL) addr += s->output_section->vma; ! minfo ("0x%V %W ", addr, (bfd_vma) s->size); if (s->fill->size != 0) {
- Previous message (by thread): regenerate assembler and link editor
- Next message (by thread): RFA: fix fill size output in map file for cross-linking
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list