From 442996eee847bcffea6e25c4519b30c36bfe09ef Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 17 Aug 2007 13:50:48 +0000 Subject: * emultempl/alphaelf.em: Format option help. * emultempl/armcoff.em: Likewise. * emultempl/armelf.em: Likewise. * emultempl/avrelf.em: Likewise. * emultempl/elf32.em: Likewise. * emultempl/hppaelf.em: Likewise. * emultempl/ia64elf.em: Likewise. * emultempl/m68hc1xelf.em: Likewise. * emultempl/ppc32elf.em: Likewise. * emultempl/ppc64elf.em: Likewise. * emultempl/scoreelf.em: Likewise. * emultempl/spuelf.em: Likewise. * emultempl/ticoff.em: Likewise. * emultempl/vxworks.em: Likewise. * emultempl/xtensaelf.em: Likewise. --- ld/ChangeLog | 18 ++++++++++ ld/emultempl/alphaelf.em | 10 +++--- ld/emultempl/armcoff.em | 4 +-- ld/emultempl/armelf.em | 21 ++++++------ ld/emultempl/avrelf.em | 50 ++++++++++++++------------- ld/emultempl/elf32.em | 85 +++++++++++++++++++++++++++++++--------------- ld/emultempl/hppaelf.em | 19 ++++++----- ld/emultempl/ia64elf.em | 2 +- ld/emultempl/m68hc1xelf.em | 10 +++--- ld/emultempl/ppc32elf.em | 10 +++--- ld/emultempl/ppc64elf.em | 39 ++++++++++----------- ld/emultempl/scoreelf.em | 9 ----- ld/emultempl/spuelf.em | 14 ++++---- ld/emultempl/ticoff.em | 2 +- ld/emultempl/vxworks.em | 2 +- ld/emultempl/xtensaelf.em | 7 ++-- 16 files changed, 174 insertions(+), 128 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 8702b03..da1d50a 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,23 @@ 2007-08-17 Alan Modra + * emultempl/alphaelf.em: Format option help. + * emultempl/armcoff.em: Likewise. + * emultempl/armelf.em: Likewise. + * emultempl/avrelf.em: Likewise. + * emultempl/elf32.em: Likewise. + * emultempl/hppaelf.em: Likewise. + * emultempl/ia64elf.em: Likewise. + * emultempl/m68hc1xelf.em: Likewise. + * emultempl/ppc32elf.em: Likewise. + * emultempl/ppc64elf.em: Likewise. + * emultempl/scoreelf.em: Likewise. + * emultempl/spuelf.em: Likewise. + * emultempl/ticoff.em: Likewise. + * emultempl/vxworks.em: Likewise. + * emultempl/xtensaelf.em: Likewise. + +2007-08-17 Alan Modra + * ldexp.c (exp_get_vma, exp_get_fill): Canonicalise error messages. * lexsup.c (ld_options): Don't use tabs in help text. * emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Fix typo. diff --git a/ld/emultempl/alphaelf.em b/ld/emultempl/alphaelf.em index 6ac460b..b134140 100644 --- a/ld/emultempl/alphaelf.em +++ b/ld/emultempl/alphaelf.em @@ -123,11 +123,11 @@ PARSE_AND_LIST_LONGOPTS=' PARSE_AND_LIST_OPTIONS=' fprintf (file, _("\ - --taso Load executable in the lower 31-bit addressable\n\ - virtual address range.\n\ - --no-relax Do not relax call and gp sequences.\n\ - --secureplt Force PLT in text segment.\n\ - --no-secureplt Force PLT in data segment.\n\ + --taso Load executable in the lower 31-bit addressable\n\ + virtual address range.\n\ + --no-relax Do not relax call and gp sequences.\n\ + --secureplt Force PLT in text segment.\n\ + --no-secureplt Force PLT in data segment.\n\ ")); ' diff --git a/ld/emultempl/armcoff.em b/ld/emultempl/armcoff.em index c11daee..bc37ea1 100644 --- a/ld/emultempl/armcoff.em +++ b/ld/emultempl/armcoff.em @@ -70,8 +70,8 @@ gld${EMULATION_NAME}_add_options static void gld${EMULATION_NAME}_list_options (FILE *file) { - fprintf (file, _(" --support-old-code Support interworking with old code\n")); - fprintf (file, _(" --thumb-entry= Set the entry point to be Thumb symbol \n")); + fprintf (file, _(" --support-old-code Support interworking with old code\n")); + fprintf (file, _(" --thumb-entry= Set the entry point to be Thumb symbol \n")); } static bfd_boolean diff --git a/ld/emultempl/armelf.em b/ld/emultempl/armelf.em index 8ce0dab..3c2a6ea 100644 --- a/ld/emultempl/armelf.em +++ b/ld/emultempl/armelf.em @@ -282,16 +282,17 @@ PARSE_AND_LIST_LONGOPTS=' ' PARSE_AND_LIST_OPTIONS=' - fprintf (file, _(" --thumb-entry= Set the entry point to be Thumb symbol \n")); - fprintf (file, _(" --be8 Oputput BE8 format image\n")); - fprintf (file, _(" --target1=rel Interpret R_ARM_TARGET1 as R_ARM_REL32\n")); - fprintf (file, _(" --target1=abs Interpret R_ARM_TARGET1 as R_ARM_ABS32\n")); - fprintf (file, _(" --target2= Specify definition of R_ARM_TARGET2\n")); - fprintf (file, _(" --fix-v4bx Rewrite BX rn as MOV pc, rn for ARMv4\n")); - fprintf (file, _(" --use-blx Enable use of BLX instructions\n")); - fprintf (file, _(" --vfp11-denorm-fix Specify how to fix VFP11 denorm erratum\n")); - fprintf (file, _(" --no-enum-size-warning Don'\''t warn about objects with incompatible enum sizes\n")); - fprintf (file, _(" --pic-veneer Always generate PIC interworking veneers\n")); + fprintf (file, _(" --thumb-entry= Set the entry point to be Thumb symbol \n")); + fprintf (file, _(" --be8 Oputput BE8 format image\n")); + fprintf (file, _(" --target1=rel Interpret R_ARM_TARGET1 as R_ARM_REL32\n")); + fprintf (file, _(" --target1=abs Interpret R_ARM_TARGET1 as R_ARM_ABS32\n")); + fprintf (file, _(" --target2= Specify definition of R_ARM_TARGET2\n")); + fprintf (file, _(" --fix-v4bx Rewrite BX rn as MOV pc, rn for ARMv4\n")); + fprintf (file, _(" --use-blx Enable use of BLX instructions\n")); + fprintf (file, _(" --vfp11-denorm-fix Specify how to fix VFP11 denorm erratum\n")); + fprintf (file, _(" --no-enum-size-warning Don'\''t warn about objects with incompatible" + " enum sizes\n")); + fprintf (file, _(" --pic-veneer Always generate PIC interworking veneers\n")); ' PARSE_AND_LIST_ARGS_CASES=' diff --git a/ld/emultempl/avrelf.em b/ld/emultempl/avrelf.em index 2f17ec9..3c242a9 100644 --- a/ld/emultempl/avrelf.em +++ b/ld/emultempl/avrelf.em @@ -198,30 +198,32 @@ PARSE_AND_LIST_LONGOPTS=' ' PARSE_AND_LIST_OPTIONS=' - fprintf (file, _(" --pmem-wrap-around= " - "Make the linker relaxation machine assume that a\n" - " " - "program counter wrap-around occures at address\n" - " " - ". Supported values are 8k, 16k, 32k and 64k.\n")); - fprintf (file, _(" --no-call-ret-replacement " - "The relaxation machine normally will\n" - " " - "substitute two immediately following call/ret\n" - " " - "instructions by a single jump instruction.\n" - " " - "This option disables this optimization.\n")); - fprintf (file, _(" --no-stubs " - "If the linker detects to attempt to access\n" - " " - "an instruction beyond 128k by a reloc that\n" - " " - "is limited to 128k max, it inserts a jump\n" - " " - "stub. You can de-active this with this switch.\n")); - fprintf (file, _(" --debug-stubs Used for debugging avr-ld.\n")); - fprintf (file, _(" --debug-relax Used for debugging avr-ld.\n")); + fprintf (file, _(" --pmem-wrap-around= " + "Make the linker relaxation machine assume that a\n" + " " + " program counter wrap-around occures at address\n" + " " + " . Supported values: 8k, 16k, 32k and 64k.\n")); + fprintf (file, _(" --no-call-ret-replacement " + "The relaxation machine normally will\n" + " " + " substitute two immediately following call/ret\n" + " " + " instructions by a single jump instruction.\n" + " " + " This option disables this optimization.\n")); + fprintf (file, _(" --no-stubs " + "If the linker detects to attempt to access\n" + " " + " an instruction beyond 128k by a reloc that\n" + " " + " is limited to 128k max, it inserts a jump\n" + " " + " stub. You can de-active this with this switch.\n")); + fprintf (file, _(" --debug-stubs " + "Used for debugging avr-ld.\n")); + fprintf (file, _(" --debug-relax " + "Used for debugging avr-ld.\n")); ' PARSE_AND_LIST_ARGS_CASES=' diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index d60d4dd..8838140 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -2192,54 +2192,83 @@ fragment <