X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2Fconfig%2Ftc-tic4x.c;h=b5588b9c46716e3cb015f441a4e5f41d1eff808c;hb=0ba59a29407a9d24559a653ce0401a26d9a37aaa;hp=a4b37e332457f0c8cb321acd3141a795da64ee4b;hpb=827041555ac443bd57340060f3e034fd7b199dd8;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/config/tc-tic4x.c b/gas/config/tc-tic4x.c index a4b37e3324..b5588b9c46 100644 --- a/gas/config/tc-tic4x.c +++ b/gas/config/tc-tic4x.c @@ -52,9 +52,6 @@ #define TIC4X_ALT_SYNTAX -/* Equal to MAX_PRECISION in atof-ieee.c. */ -#define MAX_LITTLENUMS 6 /* (12 bytes) */ - /* Handle of the inst mnemonic hash table. */ static struct hash_control *tic4x_op_hash = NULL; @@ -1004,9 +1001,9 @@ tic4x_sect (int x ATTRIBUTE_UNUSED) symbol_set_frag (line_label, frag_now); } - if (bfd_get_section_flags (stdoutput, seg) == SEC_NO_FLAGS) + if (bfd_section_flags (seg) == SEC_NO_FLAGS) { - if (!bfd_set_section_flags (stdoutput, seg, SEC_DATA)) + if (!bfd_set_section_flags (seg, SEC_DATA)) as_warn (_("Error setting flags for \"%s\": %s"), name, bfd_errmsg (bfd_get_error ())); } @@ -1107,7 +1104,7 @@ tic4x_usect (int x ATTRIBUTE_UNUSED) S_SET_VALUE (line_label, frag_now_fix ()); } seg_info (seg)->bss = 1; /* Uninitialised data. */ - if (!bfd_set_section_flags (stdoutput, seg, SEC_ALLOC)) + if (!bfd_set_section_flags (seg, SEC_ALLOC)) as_warn (_("Error setting flags for \"%s\": %s"), name, bfd_errmsg (bfd_get_error ())); tic4x_seg_alloc (name, seg, size, line_label); @@ -2487,7 +2484,8 @@ md_assemble (char *str) first_inst = inst; ok = 0; } - } while (!ok && !strcmp (inst->name, inst[1].name) && inst++); + } + while (!ok && !strcmp (inst->name, inst[1].name) && inst++); if (ok > 0) {