sh-elf Assembler doesn't give warning for misaligned data
Nutan
Nutan@KPITCummins.com
Thu Nov 20 04:39:00 GMT 2003
More information about the Binutils mailing list
Thu Nov 20 04:39:00 GMT 2003
- Previous message (by thread): [patch] tc-h8300.c: Make some functions and global variables static.
- Next message (by thread): sh-elf Assembler doesn't give warning for misaligned data
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
For code below, the sh-elf assembler doesn't give warning about misaligned data for "foo".
.section .text
mov.l foo, r0
bar:
.byte 1
foo:
.long 0x12345678
It silently generates wrong code if one doesn't give .align directive.
The sh-coff assembler does give the warning.
Regards,
Nutan
- Previous message (by thread): [patch] tc-h8300.c: Make some functions and global variables static.
- Next message (by thread): sh-elf Assembler doesn't give warning for misaligned data
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list