diff options
Diffstat (limited to 'gas/write.c')
-rw-r--r-- | gas/write.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/write.c b/gas/write.c index c56ad28..9d30445 100644 --- a/gas/write.c +++ b/gas/write.c @@ -632,6 +632,10 @@ size_seg (bfd *abfd ATTRIBUTE_UNUSED, asection *sec, void *xxx ATTRIBUTE_UNUSED) #ifdef obj_frob_section obj_frob_section (sec); #endif + + if (sec->entsize && (sec->size % sec->entsize)) + as_warn (_("section `%s' size (%#" PRIx64 ") is not a multiple of its entry size %#x"), + sec->name, (uint64_t) sec->size, sec->entsize); } #ifdef DEBUG2 |