X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2Fconfig%2Ftc-mn10300.c;h=ae5ad9de4d4c159cbd81a6b1939868527360d73d;hb=e01e1cee39777b6278ff01502742347247e8dfd7;hp=bcd76cc5444d8ba3533fadc2660bedf9f523a3ca;hpb=d285ba8d064bbcfbf518cd6cf0142b5722c8215a;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/config/tc-mn10300.c b/gas/config/tc-mn10300.c index bcd76cc544..ae5ad9de4d 100644 --- a/gas/config/tc-mn10300.c +++ b/gas/config/tc-mn10300.c @@ -520,7 +520,7 @@ md_convert_frag (bfd *abfd ATTRIBUTE_UNUSED, /* Create a fixup for the reversed conditional branch. */ sprintf (buf, ".%s_%ld", FAKE_LABEL_NAME, label_count++); fix_new (fragP, fragP->fr_fix + 1, 1, - symbol_new (buf, sec, 0, fragP->fr_next), + symbol_new (buf, sec, fragP->fr_next, 0), fragP->fr_offset + 1, 1, BFD_RELOC_8_PCREL); /* Now create the unconditional branch + fixup to the @@ -577,7 +577,7 @@ md_convert_frag (bfd *abfd ATTRIBUTE_UNUSED, /* Create a fixup for the reversed conditional branch. */ sprintf (buf, ".%s_%ld", FAKE_LABEL_NAME, label_count++); fix_new (fragP, fragP->fr_fix + 1, 1, - symbol_new (buf, sec, 0, fragP->fr_next), + symbol_new (buf, sec, fragP->fr_next, 0), fragP->fr_offset + 1, 1, BFD_RELOC_8_PCREL); /* Now create the unconditional branch + fixup to the @@ -623,7 +623,7 @@ md_convert_frag (bfd *abfd ATTRIBUTE_UNUSED, /* Create a fixup for the reversed conditional branch. */ sprintf (buf, ".%s_%ld", FAKE_LABEL_NAME, label_count++); fix_new (fragP, fragP->fr_fix + 2, 1, - symbol_new (buf, sec, 0, fragP->fr_next), + symbol_new (buf, sec, fragP->fr_next, 0), fragP->fr_offset + 2, 1, BFD_RELOC_8_PCREL); /* Now create the unconditional branch + fixup to the @@ -659,7 +659,7 @@ md_convert_frag (bfd *abfd ATTRIBUTE_UNUSED, /* Create a fixup for the reversed conditional branch. */ sprintf (buf, ".%s_%ld", FAKE_LABEL_NAME, label_count++); fix_new (fragP, fragP->fr_fix + 2, 1, - symbol_new (buf, sec, 0, fragP->fr_next), + symbol_new (buf, sec, fragP->fr_next, 0), fragP->fr_offset + 2, 1, BFD_RELOC_8_PCREL); /* Now create the unconditional branch + fixup to the @@ -813,7 +813,7 @@ md_convert_frag (bfd *abfd ATTRIBUTE_UNUSED, /* Create a fixup for the reversed conditional branch. */ sprintf (buf, ".%s_%ld", FAKE_LABEL_NAME, label_count++); fix_new (fragP, fragP->fr_fix + 2, 1, - symbol_new (buf, sec, 0, fragP->fr_next), + symbol_new (buf, sec, fragP->fr_next, 0), fragP->fr_offset + 2, 1, BFD_RELOC_8_PCREL); /* Now create the unconditional branch + fixup to the @@ -882,7 +882,7 @@ md_convert_frag (bfd *abfd ATTRIBUTE_UNUSED, /* Create a fixup for the reversed conditional branch. */ sprintf (buf, ".%s_%ld", FAKE_LABEL_NAME, label_count++); fix_new (fragP, fragP->fr_fix + 2, 1, - symbol_new (buf, sec, 0, fragP->fr_next), + symbol_new (buf, sec, fragP->fr_next, 0), fragP->fr_offset + 2, 1, BFD_RELOC_8_PCREL); /* Now create the unconditional branch + fixup to the