aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-elf.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-09-18 10:08:15 +0000
committerAlan Modra <amodra@gmail.com>2001-09-18 10:08:15 +0000
commit0e1a166b287f476e03396c78184211720765aa5e (patch)
tree95ac560c3119f811766dd388976a9dbeec600bf1 /gas/config/obj-elf.c
parente59b4dfbd29ce7a0dc6f84fdb58d16cb31c988d8 (diff)
downloadgdb-0e1a166b287f476e03396c78184211720765aa5e.zip
gdb-0e1a166b287f476e03396c78184211720765aa5e.tar.gz
gdb-0e1a166b287f476e03396c78184211720765aa5e.tar.bz2
* dwarf2dbg.c (dwarf2_directive_file): Avoid signed/unsigned warning.
* write.c (set_symtab): Update bfd_alloc declaration. Use a temp var to ensure bfd_alloc arg is the right type. (write_object_file): Cast args of bfd_seek. Replace bfd_write with bfd_bwrite. * config/obj-coff.c: Replace calls to bfd_write with calls to bfd_bwrite. Cast args of bfd_seek. * config/obj-elf.c (obj_elf_change_section): Avoid signed/unsigned warning. * config/tc-mn10300.c (set_arch_mach): Make param unsigned. * config/tc-tic54x.c (tic54x_mlib): Replace bfd_read call with call to bfd_bread.
Diffstat (limited to 'gas/config/obj-elf.c')
-rw-r--r--gas/config/obj-elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c
index efde9c1..7ab0d57 100644
--- a/gas/config/obj-elf.c
+++ b/gas/config/obj-elf.c
@@ -721,7 +721,7 @@ obj_elf_change_section (name, type, attr, entsize, push)
& (SEC_ALLOC | SEC_LOAD | SEC_READONLY | SEC_CODE
| SEC_EXCLUDE | SEC_SORT_ENTRIES | SEC_MERGE | SEC_STRINGS))
as_warn (_("Ignoring changed section attributes for %s"), name);
- else if ((flags & SEC_MERGE) && old_sec->entsize != entsize)
+ else if ((flags & SEC_MERGE) && old_sec->entsize != (unsigned) entsize)
as_warn (_("Ignoring changed section entity size for %s"), name);
}