Indent labels
Labels don't go in the first column according to standard emacs C indent rules, and I got annoyed enough at seeing diff -p show a label rather than the function name to fix this. bfd/ * aoutx.h: Indent labels correctly. Format error strings. * archive.c: Likewise. * archive64.c: Likewise. * coff-arm.c: Likewise. * coff-rs6000.c: Likewise. * coff-stgo32.c: Likewise. * cpu-arm.c: Likewise. * dwarf2.c: Likewise. * elf-ifunc.c: Likewise. * elf-properties.c: Likewise. * elf-s390-common.c: Likewise. * elf-strtab.c: Likewise. * elf.c: Likewise. * elf32-arm.c: Likewise. * elf32-bfin.c: Likewise. * elf32-cr16.c: Likewise. * elf32-csky.c: Likewise. * elf32-i386.c: Likewise. * elf32-m68k.c: Likewise. * elf32-msp430.c: Likewise. * elf32-nds32.c: Likewise. * elf32-nios2.c: Likewise. * elf32-pru.c: Likewise. * elf32-xtensa.c: Likewise. * elf64-ia64-vms.c: Likewise. * elf64-x86-64.c: Likewise. * elfcode.h: Likewise. * elfcore.h: Likewise. * elflink.c: Likewise. * elfnn-aarch64.c: Likewise. * elfnn-ia64.c: Likewise. * elfnn-riscv.c: Likewise. * elfxx-mips.c: Likewise. * elfxx-sparc.c: Likewise. * elfxx-x86.c: Likewise. * i386lynx.c: Likewise. * merge.c: Likewise. * pdp11.c: Likewise. * plugin.c: Likewise. * reloc.c: Likewise. binutils/ * elfedit.c: Indent labels correctly. * readelf.c: Likewise. * resres.c: Likewise. gas/ * config/obj-elf.c: Indent labels correctly. * config/obj-macho.c: Likewise. * config/tc-aarch64.c: Likewise. * config/tc-alpha.c: Likewise. * config/tc-arm.c: Likewise. * config/tc-cr16.c: Likewise. * config/tc-crx.c: Likewise. * config/tc-frv.c: Likewise. * config/tc-i386-intel.c: Likewise. * config/tc-i386.c: Likewise. * config/tc-ia64.c: Likewise. * config/tc-mn10200.c: Likewise. * config/tc-mn10300.c: Likewise. * config/tc-nds32.c: Likewise. * config/tc-riscv.c: Likewise. * config/tc-s12z.c: Likewise. * config/tc-xtensa.c: Likewise. * config/tc-z80.c: Likewise. * read.c: Likewise. * symbols.c: Likewise. * write.c: Likewise. ld/ * emultempl/cskyelf.em: Indent labels correctly. * ldfile.c: Likewise. * ldlang.c: Likewise. * plugin.c: Likewise. opcodes/ * aarch64-asm.c: Indent labels correctly. * aarch64-dis.c: Likewise. * aarch64-gen.c: Likewise. * aarch64-opc.c: Likewise. * alpha-dis.c: Likewise. * i386-dis.c: Likewise. * nds32-asm.c: Likewise. * nfp-dis.c: Likewise. * visium-dis.c: Likewise.
This commit is contained in:
parent
e310298cf3
commit
dc1e8a474f
82 changed files with 323 additions and 223 deletions
|
@ -1,3 +1,46 @@
|
||||||
|
2020-02-26 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* aoutx.h: Indent labels correctly. Format error strings.
|
||||||
|
* archive.c: Likewise.
|
||||||
|
* archive64.c: Likewise.
|
||||||
|
* coff-arm.c: Likewise.
|
||||||
|
* coff-rs6000.c: Likewise.
|
||||||
|
* coff-stgo32.c: Likewise.
|
||||||
|
* cpu-arm.c: Likewise.
|
||||||
|
* dwarf2.c: Likewise.
|
||||||
|
* elf-ifunc.c: Likewise.
|
||||||
|
* elf-properties.c: Likewise.
|
||||||
|
* elf-s390-common.c: Likewise.
|
||||||
|
* elf-strtab.c: Likewise.
|
||||||
|
* elf.c: Likewise.
|
||||||
|
* elf32-arm.c: Likewise.
|
||||||
|
* elf32-bfin.c: Likewise.
|
||||||
|
* elf32-cr16.c: Likewise.
|
||||||
|
* elf32-csky.c: Likewise.
|
||||||
|
* elf32-i386.c: Likewise.
|
||||||
|
* elf32-m68k.c: Likewise.
|
||||||
|
* elf32-msp430.c: Likewise.
|
||||||
|
* elf32-nds32.c: Likewise.
|
||||||
|
* elf32-nios2.c: Likewise.
|
||||||
|
* elf32-pru.c: Likewise.
|
||||||
|
* elf32-xtensa.c: Likewise.
|
||||||
|
* elf64-ia64-vms.c: Likewise.
|
||||||
|
* elf64-x86-64.c: Likewise.
|
||||||
|
* elfcode.h: Likewise.
|
||||||
|
* elfcore.h: Likewise.
|
||||||
|
* elflink.c: Likewise.
|
||||||
|
* elfnn-aarch64.c: Likewise.
|
||||||
|
* elfnn-ia64.c: Likewise.
|
||||||
|
* elfnn-riscv.c: Likewise.
|
||||||
|
* elfxx-mips.c: Likewise.
|
||||||
|
* elfxx-sparc.c: Likewise.
|
||||||
|
* elfxx-x86.c: Likewise.
|
||||||
|
* i386lynx.c: Likewise.
|
||||||
|
* merge.c: Likewise.
|
||||||
|
* pdp11.c: Likewise.
|
||||||
|
* plugin.c: Likewise.
|
||||||
|
* reloc.c: Likewise.
|
||||||
|
|
||||||
2020-02-26 Alan Modra <amodra@gmail.com>
|
2020-02-26 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
PR 25593
|
PR 25593
|
||||||
|
|
|
@ -2381,8 +2381,8 @@ NAME (aout, squirt_out_relocs) (bfd *abfd, asection *section)
|
||||||
|| (*generic)->sym_ptr_ptr == NULL)
|
|| (*generic)->sym_ptr_ptr == NULL)
|
||||||
{
|
{
|
||||||
bfd_set_error (bfd_error_invalid_operation);
|
bfd_set_error (bfd_error_invalid_operation);
|
||||||
_bfd_error_handler (_("\
|
_bfd_error_handler (_("%pB: attempt to write out "
|
||||||
%pB: attempt to write out unknown reloc type"), abfd);
|
"unknown reloc type"), abfd);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
MY_swap_ext_reloc_out (abfd, *generic,
|
MY_swap_ext_reloc_out (abfd, *generic,
|
||||||
|
@ -2399,8 +2399,8 @@ NAME (aout, squirt_out_relocs) (bfd *abfd, asection *section)
|
||||||
|| (*generic)->sym_ptr_ptr == NULL)
|
|| (*generic)->sym_ptr_ptr == NULL)
|
||||||
{
|
{
|
||||||
bfd_set_error (bfd_error_invalid_operation);
|
bfd_set_error (bfd_error_invalid_operation);
|
||||||
_bfd_error_handler (_("\
|
_bfd_error_handler (_("%pB: attempt to write out "
|
||||||
%pB: attempt to write out unknown reloc type"), abfd);
|
"unknown reloc type"), abfd);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
MY_swap_std_reloc_out (abfd, *generic,
|
MY_swap_std_reloc_out (abfd, *generic,
|
||||||
|
|
|
@ -2210,7 +2210,8 @@ coff_arm_merge_private_bfd_data (bfd * ibfd, struct bfd_link_info *info)
|
||||||
{
|
{
|
||||||
_bfd_error_handler
|
_bfd_error_handler
|
||||||
/* xgettext: c-format */
|
/* xgettext: c-format */
|
||||||
(_("error: %pB is compiled for APCS-%d, whereas %pB is compiled for APCS-%d"),
|
(_("error: %pB is compiled for APCS-%d, "
|
||||||
|
"whereas %pB is compiled for APCS-%d"),
|
||||||
ibfd, APCS_26_FLAG (ibfd) ? 26 : 32,
|
ibfd, APCS_26_FLAG (ibfd) ? 26 : 32,
|
||||||
obfd, APCS_26_FLAG (obfd) ? 26 : 32
|
obfd, APCS_26_FLAG (obfd) ? 26 : 32
|
||||||
);
|
);
|
||||||
|
@ -2223,13 +2224,15 @@ coff_arm_merge_private_bfd_data (bfd * ibfd, struct bfd_link_info *info)
|
||||||
{
|
{
|
||||||
if (APCS_FLOAT_FLAG (ibfd))
|
if (APCS_FLOAT_FLAG (ibfd))
|
||||||
/* xgettext: c-format */
|
/* xgettext: c-format */
|
||||||
_bfd_error_handler (_("\
|
_bfd_error_handler
|
||||||
error: %pB passes floats in float registers, whereas %pB passes them in integer registers"),
|
(_("error: %pB passes floats in float registers, "
|
||||||
|
"whereas %pB passes them in integer registers"),
|
||||||
ibfd, obfd);
|
ibfd, obfd);
|
||||||
else
|
else
|
||||||
/* xgettext: c-format */
|
/* xgettext: c-format */
|
||||||
_bfd_error_handler (_("\
|
_bfd_error_handler
|
||||||
error: %pB passes floats in integer registers, whereas %pB passes them in float registers"),
|
(_("error: %pB passes floats in integer registers, "
|
||||||
|
"whereas %pB passes them in float registers"),
|
||||||
ibfd, obfd);
|
ibfd, obfd);
|
||||||
|
|
||||||
bfd_set_error (bfd_error_wrong_format);
|
bfd_set_error (bfd_error_wrong_format);
|
||||||
|
@ -2240,13 +2243,15 @@ error: %pB passes floats in integer registers, whereas %pB passes them in float
|
||||||
{
|
{
|
||||||
if (PIC_FLAG (ibfd))
|
if (PIC_FLAG (ibfd))
|
||||||
/* xgettext: c-format */
|
/* xgettext: c-format */
|
||||||
_bfd_error_handler (_("\
|
_bfd_error_handler
|
||||||
error: %pB is compiled as position independent code, whereas target %pB is absolute position"),
|
(_("error: %pB is compiled as position independent code, "
|
||||||
|
"whereas target %pB is absolute position"),
|
||||||
ibfd, obfd);
|
ibfd, obfd);
|
||||||
else
|
else
|
||||||
/* xgettext: c-format */
|
/* xgettext: c-format */
|
||||||
_bfd_error_handler (_("\
|
_bfd_error_handler
|
||||||
error: %pB is compiled as absolute position code, whereas target %pB is position independent"),
|
(_("error: %pB is compiled as absolute position code, "
|
||||||
|
"whereas target %pB is position independent"),
|
||||||
ibfd, obfd);
|
ibfd, obfd);
|
||||||
|
|
||||||
bfd_set_error (bfd_error_wrong_format);
|
bfd_set_error (bfd_error_wrong_format);
|
||||||
|
@ -2272,13 +2277,14 @@ error: %pB is compiled as absolute position code, whereas target %pB is position
|
||||||
{
|
{
|
||||||
if (INTERWORK_FLAG (ibfd))
|
if (INTERWORK_FLAG (ibfd))
|
||||||
/* xgettext: c-format */
|
/* xgettext: c-format */
|
||||||
_bfd_error_handler (_("\
|
_bfd_error_handler (_("warning: %pB supports interworking, "
|
||||||
warning: %pB supports interworking, whereas %pB does not"),
|
"whereas %pB does not"),
|
||||||
ibfd, obfd);
|
ibfd, obfd);
|
||||||
else
|
else
|
||||||
/* xgettext: c-format */
|
/* xgettext: c-format */
|
||||||
_bfd_error_handler (_("\
|
_bfd_error_handler
|
||||||
warning: %pB does not support interworking, whereas %pB does"),
|
(_("warning: %pB does not support interworking, "
|
||||||
|
"whereas %pB does"),
|
||||||
ibfd, obfd);
|
ibfd, obfd);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2428,8 +2434,10 @@ coff_arm_copy_private_bfd_data (bfd * src, bfd * dest)
|
||||||
if (INTERWORK_FLAG (dest))
|
if (INTERWORK_FLAG (dest))
|
||||||
{
|
{
|
||||||
/* xgettext:c-format */
|
/* xgettext:c-format */
|
||||||
_bfd_error_handler (_("\
|
_bfd_error_handler
|
||||||
warning: clearing the interworking flag of %pB because non-interworking code in %pB has been linked with it"),
|
(_("warning: clearing the interworking flag of %pB "
|
||||||
|
"because non-interworking code in %pB has been "
|
||||||
|
"linked with it"),
|
||||||
dest, src);
|
dest, src);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -300,8 +300,8 @@ bfd_arm_merge_machines (bfd *ibfd, bfd *obfd)
|
||||||
|| out == bfd_mach_arm_iWMMXt2))
|
|| out == bfd_mach_arm_iWMMXt2))
|
||||||
{
|
{
|
||||||
/* xgettext: c-format */
|
/* xgettext: c-format */
|
||||||
_bfd_error_handler (_("\
|
_bfd_error_handler (_("error: %pB is compiled for the EP9312, "
|
||||||
error: %pB is compiled for the EP9312, whereas %pB is compiled for XScale"),
|
"whereas %pB is compiled for XScale"),
|
||||||
ibfd, obfd);
|
ibfd, obfd);
|
||||||
bfd_set_error (bfd_error_wrong_format);
|
bfd_set_error (bfd_error_wrong_format);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
@ -312,8 +312,8 @@ error: %pB is compiled for the EP9312, whereas %pB is compiled for XScale"),
|
||||||
|| in == bfd_mach_arm_iWMMXt2))
|
|| in == bfd_mach_arm_iWMMXt2))
|
||||||
{
|
{
|
||||||
/* xgettext: c-format */
|
/* xgettext: c-format */
|
||||||
_bfd_error_handler (_("\
|
_bfd_error_handler (_("error: %pB is compiled for the EP9312, "
|
||||||
error: %pB is compiled for the EP9312, whereas %pB is compiled for XScale"),
|
"whereas %pB is compiled for XScale"),
|
||||||
obfd, ibfd);
|
obfd, ibfd);
|
||||||
bfd_set_error (bfd_error_wrong_format);
|
bfd_set_error (bfd_error_wrong_format);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
2020-02-26 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* elfedit.c: Indent labels correctly.
|
||||||
|
* readelf.c: Likewise.
|
||||||
|
* resres.c: Likewise.
|
||||||
|
|
||||||
2020-02-25 H.J. Lu <hongjiu.lu@intel.com>
|
2020-02-25 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
PR binutils/25584
|
PR binutils/25584
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
2020-02-26 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* config/obj-elf.c: Indent labels correctly.
|
||||||
|
* config/obj-macho.c: Likewise.
|
||||||
|
* config/tc-aarch64.c: Likewise.
|
||||||
|
* config/tc-alpha.c: Likewise.
|
||||||
|
* config/tc-arm.c: Likewise.
|
||||||
|
* config/tc-cr16.c: Likewise.
|
||||||
|
* config/tc-crx.c: Likewise.
|
||||||
|
* config/tc-frv.c: Likewise.
|
||||||
|
* config/tc-i386-intel.c: Likewise.
|
||||||
|
* config/tc-i386.c: Likewise.
|
||||||
|
* config/tc-ia64.c: Likewise.
|
||||||
|
* config/tc-mn10200.c: Likewise.
|
||||||
|
* config/tc-mn10300.c: Likewise.
|
||||||
|
* config/tc-nds32.c: Likewise.
|
||||||
|
* config/tc-riscv.c: Likewise.
|
||||||
|
* config/tc-s12z.c: Likewise.
|
||||||
|
* config/tc-xtensa.c: Likewise.
|
||||||
|
* config/tc-z80.c: Likewise.
|
||||||
|
* read.c: Likewise.
|
||||||
|
* symbols.c: Likewise.
|
||||||
|
* write.c: Likewise.
|
||||||
|
|
||||||
2020-02-20 Nelson Chu <nelson.chu@sifive.com>
|
2020-02-20 Nelson Chu <nelson.chu@sifive.com>
|
||||||
|
|
||||||
* config/tc-riscv.c (riscv_ip): New boolean insn_with_csr to indicate
|
* config/tc-riscv.c (riscv_ip): New boolean insn_with_csr to indicate
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
2020-02-26 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* emultempl/cskyelf.em: Indent labels correctly.
|
||||||
|
* ldfile.c: Likewise.
|
||||||
|
* ldlang.c: Likewise.
|
||||||
|
* plugin.c: Likewise.
|
||||||
|
|
||||||
2020-02-26 Alan Modra <amodra@gmail.com>
|
2020-02-26 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
PR 25593
|
PR 25593
|
||||||
|
|
|
@ -1,3 +1,15 @@
|
||||||
|
2020-02-26 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* aarch64-asm.c: Indent labels correctly.
|
||||||
|
* aarch64-dis.c: Likewise.
|
||||||
|
* aarch64-gen.c: Likewise.
|
||||||
|
* aarch64-opc.c: Likewise.
|
||||||
|
* alpha-dis.c: Likewise.
|
||||||
|
* i386-dis.c: Likewise.
|
||||||
|
* nds32-asm.c: Likewise.
|
||||||
|
* nfp-dis.c: Likewise.
|
||||||
|
* visium-dis.c: Likewise.
|
||||||
|
|
||||||
2020-02-25 Claudiu Zissulescu <claziss@gmail.com>
|
2020-02-25 Claudiu Zissulescu <claziss@gmail.com>
|
||||||
|
|
||||||
* arc-regs.h (int_vector_base): Make it available for all ARC
|
* arc-regs.h (int_vector_base): Make it available for all ARC
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue