This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ARM enum sizes diagnostic


Hi Mark,

2007-03-18 Mark Shinwell <shinwell@codesourcery.com>

    bfd/
    * bfd-in.h (bfd_elf32_arm_set_target_relocs): Add "bfd *"
    argument and extra last argument.
    * bfd-in2.h: Regenerate.
    * elf32-arm.c (elf32_arm_obj_tdata): Add no_enum_size_warning
    member.
    (bfd_elf32_arm_set_target_relocs): Add "bfd *" argument and
    extra last argument.  Set no_enum_size_warning appropriately.
    (elf32_arm_merge_eabi_attributes): Improve enum sizes
    diagnostic, suppressing it when no_enum_size_warning dictates.

    ld/
    * ld.texinfo: Document --no-enum-size-warning.
    * emultempl/armelf.em (no_enum_size_warning): New.
    (arm_elf_create_output_section_statements): Correct typo
    in comment.  Pass no_enum_size_warning to
    bfd_elf32_arm_set_target_relocs.
    (PARSE_AND_LIST_PROLOGUE): Define OPTION_NO_ENUM_SIZE_WARNING.
    (PARSE_AND_LIST_OPTIONS): Document --no-enum-size-warning.
    (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_ENUM_SIZE_WARNING
    case.

Approved - please apply.


Cheers
  Nick


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]