X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=binutils%2Fstabs.c;h=53e1070c8bcdd7beb09c313a70a7816c5c670e42;hb=b4c96d0d372cd69f536cb481d0c9554cf9f0eda8;hp=945f87645ecdff7f25b858e4a59b644dccf186dd;hpb=7442e600c8d771f2d03c6df7415bbfcbf99759b6;p=thirdparty%2Fbinutils-gdb.git diff --git a/binutils/stabs.c b/binutils/stabs.c index 945f87645ec..53e1070c8bc 100644 --- a/binutils/stabs.c +++ b/binutils/stabs.c @@ -375,7 +375,7 @@ warn_stab (p, err) /*ARGSUSED*/ PTR start_stab (dhandle, abfd, sections, syms, symcount) - PTR dhandle; + PTR dhandle ATTRIBUTE_UNUSED; bfd *abfd; boolean sections; asymbol **syms; @@ -1818,7 +1818,7 @@ parse_stab_range_type (dhandle, info, typename, pp, typenums) return debug_make_int_type (dhandle, 1, true); else if (n3 == 0xffff) return debug_make_int_type (dhandle, 2, true); - else if (n3 == 0xffffffff) + else if (n3 == (bfd_signed_vma) 0xffffffff) return debug_make_int_type (dhandle, 4, true); #ifdef BFD64 else if (n3 == ((((bfd_vma) 0xffffffff) << 32) | 0xffffffff)) @@ -3439,7 +3439,7 @@ stab_find_type (dhandle, info, typenums) static boolean stab_record_type (dhandle, info, typenums, type) - PTR dhandle; + PTR dhandle ATTRIBUTE_UNUSED; struct stab_handle *info; const int *typenums; debug_type type; @@ -4513,7 +4513,7 @@ stab_demangle_template (minfo, pp, pname) static boolean stab_demangle_class (minfo, pp, pstart) - struct stab_demangle_info *minfo; + struct stab_demangle_info *minfo ATTRIBUTE_UNUSED; const char **pp; const char **pstart; {