aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2004-04-09 18:28:17 +0000
committerDaniel Jacobowitz <drow@false.org>2004-04-09 18:28:17 +0000
commit8a258c7fd660c7db8910882cb91166d6cf876c5e (patch)
treea009339ef52ebdb2c3504725e97f85ef67b57a84 /ld
parent312dab883fa14712dfe066ec6ce903b5a6ca81f0 (diff)
downloadfsf-binutils-gdb-8a258c7fd660c7db8910882cb91166d6cf876c5e.zip
fsf-binutils-gdb-8a258c7fd660c7db8910882cb91166d6cf876c5e.tar.gz
fsf-binutils-gdb-8a258c7fd660c7db8910882cb91166d6cf876c5e.tar.bz2
Merge to 2.15 branch.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog23
-rw-r--r--ld/emulparams/elf32frvfd.sh2
-rw-r--r--ld/ld.texinfo4
-rw-r--r--ld/ldlang.c2
-rw-r--r--ld/pe-dll.c14
-rw-r--r--ld/po/sv.po902
-rw-r--r--ld/testsuite/ChangeLog20
-rw-r--r--ld/testsuite/ld-frv/fdpic-pie-1.d40
-rw-r--r--ld/testsuite/ld-frv/fdpic-pie-2.d64
-rw-r--r--ld/testsuite/ld-frv/fdpic-pie-6.d74
-rw-r--r--ld/testsuite/ld-frv/fdpic-pie-7.d40
-rw-r--r--ld/testsuite/ld-frv/fdpic-pie-8-fail.d6
-rw-r--r--ld/testsuite/ld-frv/fdpic-pie-8.d122
-rw-r--r--ld/testsuite/ld-frv/fdpic-shared-1.d40
-rw-r--r--ld/testsuite/ld-frv/fdpic-shared-2.d54
-rw-r--r--ld/testsuite/ld-frv/fdpic-shared-3.d90
-rw-r--r--ld/testsuite/ld-frv/fdpic-shared-4.d65
-rw-r--r--ld/testsuite/ld-frv/fdpic-shared-5.d76
-rw-r--r--ld/testsuite/ld-frv/fdpic-shared-6.d74
-rw-r--r--ld/testsuite/ld-frv/fdpic-shared-7.d40
-rw-r--r--ld/testsuite/ld-frv/fdpic-shared-8.d90
-rw-r--r--ld/testsuite/ld-frv/fdpic-shared-local-2.d90
-rw-r--r--ld/testsuite/ld-frv/fdpic-shared-local-8.d90
-rw-r--r--ld/testsuite/ld-frv/fdpic-static-1.d42
-rw-r--r--ld/testsuite/ld-frv/fdpic-static-2.d106
-rw-r--r--ld/testsuite/ld-frv/fdpic-static-6.d2
-rw-r--r--ld/testsuite/ld-frv/fdpic-static-7.d42
-rw-r--r--ld/testsuite/ld-frv/fdpic-static-8.d106
-rw-r--r--ld/testsuite/ld-frv/fdpic.exp3
29 files changed, 1291 insertions, 1032 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 4badf1b..ca01203 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,26 @@
+2004-04-09 Daniel Jacobowitz <drow@mvista.com>
+
+ Merge from mainline:
+ 2004-03-30 Nick Clifton <nickc@redhat.com>
+ * po/sv.po: Updated Swedish translation.
+
+ 2004-03-20 Alexandre Oliva <aoliva@redhat.com>
+ * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
+
+ 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
+ * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
+ private when building implib.
+
+ 2004-03-01 Andreas Schwab <schwab@suse.de>
+ * ld.texinfo (Options): Fix example for --wrap.
+
+ 2004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
+ * pe-dll.c (fill_edata): Check that exported_symbol_sections is
+ not NULL.
+
+ 2004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
+ * ldlang.c (lang_check): Use %P, not %E, in error message.
+
2004-04-08 Richard Sandiford <rsandifo@redhat.com>
* emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix.
diff --git a/ld/emulparams/elf32frvfd.sh b/ld/emulparams/elf32frvfd.sh
index 224abed..1e2ef59 100644
--- a/ld/emulparams/elf32frvfd.sh
+++ b/ld/emulparams/elf32frvfd.sh
@@ -1,6 +1,6 @@
. ${srcdir}/emulparams/elf32frv.sh
unset STACK_ADDR
-MAXPAGESIZE=0x10000
+MAXPAGESIZE=0x4000
TEMPLATE_NAME=elf32
GENERATE_SHLIB_SCRIPT=yes
EMBEDDED= # This gets us program headers mapped as part of the text segment.
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 01c30f7..4310c12 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -1714,9 +1714,9 @@ Here is a trivial example:
@smallexample
void *
-__wrap_malloc (int c)
+__wrap_malloc (size_t c)
@{
- printf ("malloc called with %ld\n", c);
+ printf ("malloc called with %zu\n", c);
return __real_malloc (c);
@}
@end smallexample
diff --git a/ld/ldlang.c b/ld/ldlang.c
index 86adde2..0c08601 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -3687,7 +3687,7 @@ lang_check (void)
if (! bfd_merge_private_bfd_data (input_bfd, output_bfd))
{
if (command_line.warn_mismatch)
- einfo (_("%E%X: failed to merge target specific data of file %B\n"),
+ einfo (_("%P%X: failed to merge target specific data of file %B\n"),
input_bfd);
}
if (! command_line.warn_mismatch)
diff --git a/ld/pe-dll.c b/ld/pe-dll.c
index ce3f443..10d636e 100644
--- a/ld/pe-dll.c
+++ b/ld/pe-dll.c
@@ -26,6 +26,7 @@
#include "libiberty.h"
#include "safe-ctype.h"
+#include <stdint.h>
#include <time.h>
#include "ld.h"
@@ -917,8 +918,8 @@ fill_edata (bfd *abfd, struct bfd_link_info *info ATTRIBUTE_UNUSED)
{
int s, hint;
unsigned char *edirectory;
- unsigned long *eaddresses;
- unsigned long *enameptrs;
+ uint32_t *eaddresses;
+ uint32_t *enameptrs;
unsigned short *eordinals;
unsigned char *enamestr;
time_t now;
@@ -929,7 +930,7 @@ fill_edata (bfd *abfd, struct bfd_link_info *info ATTRIBUTE_UNUSED)
/* Note use of array pointer math here. */
edirectory = edata_d;
- eaddresses = (unsigned long *) (edata_d + 40);
+ eaddresses = (uint32_t *) (edata_d + 40);
enameptrs = eaddresses + export_table_size;
eordinals = (unsigned short *) (enameptrs + count_exported_byname);
enamestr = (char *) (eordinals + count_exported_byname);
@@ -966,9 +967,9 @@ fill_edata (bfd *abfd, struct bfd_link_info *info ATTRIBUTE_UNUSED)
hint = 0;
for (s = 0; s < NE; s++)
{
- if (pe_def_file->exports[s].ordinal != -1)
+ struct bfd_section *ssec = exported_symbol_sections[s];
+ if (ssec && pe_def_file->exports[s].ordinal != -1)
{
- struct bfd_section *ssec = exported_symbol_sections[s];
unsigned long srva = (exported_symbol_offsets[s]
+ ssec->output_section->vma
+ ssec->output_offset);
@@ -2257,6 +2258,9 @@ pe_dll_generate_implib (def_file *def, const char *impfilename)
char *internal = def->exports[i].internal_name;
bfd *n;
+ /* Don't add PRIVATE entries to import lib. */
+ if (pe_def_file->exports[i].flag_private)
+ continue;
def->exports[i].internal_name = def->exports[i].name;
n = make_one (def->exports + i, outarch);
n->next = head;
diff --git a/ld/po/sv.po b/ld/po/sv.po
index 63008b2..4c17a25 100644
--- a/ld/po/sv.po
+++ b/ld/po/sv.po
@@ -1,166 +1,166 @@
# Swedish messages for ld.
-# Copyright (C) 2001, 2002 Free Software Foundation, Inc.
-# Christian Rose <menthos@menthos.com>, 2001, 2002.
+# Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
+# Christian Rose <menthos@menthos.com>, 2001, 2002, 2004.
#
msgid ""
msgstr ""
-"Project-Id-Version: ld 2.12.91\n"
-"POT-Creation-Date: 2002-07-23 15:58-0400\n"
-"PO-Revision-Date: 2002-07-24 12:31+0200\n"
+"Project-Id-Version: ld 2.14rel030712\n"
+"POT-Creation-Date: 2003-07-11 13:58+0930\n"
+"PO-Revision-Date: 2004-03-22 15:32+0100\n"
"Last-Translator: Christian Rose <menthos@menthos.com>\n"
"Language-Team: Swedish <sv@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=iso-8859-1\n"
"Content-Transfer-Encoding: 8bit\n"
-#: emultempl/armcoff.em:71
+#: emultempl/armcoff.em:72
msgid " --support-old-code Support interworking with old code\n"
msgstr " --support-old-code Stöd interaktion med gammal kod\n"
-#: emultempl/armcoff.em:72
+#: emultempl/armcoff.em:73
msgid " --thumb-entry=<sym> Set the entry point to be Thumb symbol <sym>\n"
msgstr ""
" --thumb-entry=<sym> Ställ in ingångspunkten till att vara tumsymbolen\n"
" <sym>\n"
-#: emultempl/armcoff.em:141
+#: emultempl/armcoff.em:121
#, c-format
msgid "Errors encountered processing file %s"
msgstr "Fel inträffade vid bearbetning av filen %s"
-#: emultempl/armcoff.em:207 emultempl/pe.em:1422
+#: emultempl/armcoff.em:188 emultempl/pe.em:1396
msgid "%P: warning: '--thumb-entry %s' is overriding '-e %s'\n"
msgstr "%P: varning: \"--thumb-entry %s\" åsidosätter \"-e %s\"\n"
-#: emultempl/armcoff.em:212 emultempl/pe.em:1427
+#: emultempl/armcoff.em:193 emultempl/pe.em:1401
msgid "%P: warning: connot find thumb start symbol %s\n"
msgstr "%P: varning: kan inte hitta tumstartsymbol %s\n"
-#: emultempl/pe.em:317
+#: emultempl/pe.em:300
msgid " --base_file <basefile> Generate a base file for relocatable DLLs\n"
msgstr ""
" --base_file <basfil> Generera en basfil för\n"
" omlokaliseringsbara DLL:er\n"
-#: emultempl/pe.em:318
+#: emultempl/pe.em:301
msgid " --dll Set image base to the default for DLLs\n"
msgstr ""
" --dll Ställ in bildbas till standard för\n"
" DLL:er\n"
-#: emultempl/pe.em:319
+#: emultempl/pe.em:302
msgid " --file-alignment <size> Set file alignment\n"
msgstr " --file-alignment <storlek> Ställ in filjustering\n"
-#: emultempl/pe.em:320
+#: emultempl/pe.em:303
msgid " --heap <size> Set initial size of the heap\n"
msgstr " --heap <storlek> Ställ in initial storlek på högen\n"
-#: emultempl/pe.em:321
+#: emultempl/pe.em:304
msgid " --image-base <address> Set start address of the executable\n"
msgstr " --image-base <adress> Ställ in startadressen för det körbara\n"
-#: emultempl/pe.em:322
+#: emultempl/pe.em:305
msgid " --major-image-version <number> Set version number of the executable\n"
msgstr " --major-image-version <nummer> Ställ in versionsnummer för det körbara\n"
-#: emultempl/pe.em:323
+#: emultempl/pe.em:306
msgid " --major-os-version <number> Set minimum required OS version\n"
msgstr " --major-os-version <nummer> Ställ in lägsta nödvändiga OS-version\n"
-#: emultempl/pe.em:324
+#: emultempl/pe.em:307
msgid " --major-subsystem-version <number> Set minimum required OS subsystem version\n"
msgstr ""
" --major-subsystem-version <nummer> Ställ in lägsta nödvändiga\n"
" OS-undersystemsversion\n"
-#: emultempl/pe.em:325
+#: emultempl/pe.em:308
msgid " --minor-image-version <number> Set revision number of the executable\n"
msgstr ""
" --minor-image-version <nummer> Ställ in underrevisionsnummer för\n"
" det körbara\n"
-#: emultempl/pe.em:326
+#: emultempl/pe.em:309
msgid " --minor-os-version <number> Set minimum required OS revision\n"
msgstr " --minor-os-version <nummer> Ställ in lägsta nödvändiga OS-revision\n"
-#: emultempl/pe.em:327
+#: emultempl/pe.em:310
msgid " --minor-subsystem-version <number> Set minimum required OS subsystem revision\n"
msgstr ""
" --minor-subsystem-version <nummer> Ställ in lägsta nödvändiga\n"
" OS-undersystemsrevision\n"
-#: emultempl/pe.em:328
+#: emultempl/pe.em:311
msgid " --section-alignment <size> Set section alignment\n"
msgstr " --section-alignment <storlek> Ställ in sektionsjustering\n"
-#: emultempl/pe.em:329
+#: emultempl/pe.em:312
msgid " --stack <size> Set size of the initial stack\n"
msgstr " --stack <storlek> Ställ in storlek på initiala stacken\n"
-#: emultempl/pe.em:330
+#: emultempl/pe.em:313
msgid " --subsystem <name>[:<version>] Set required OS subsystem [& version]\n"
msgstr ""
" --subsystem <namn>[:<version>] Ställ in nödvändigt OS-undersystem\n"
" [och nödvändig version]\n"
-#: emultempl/pe.em:331
+#: emultempl/pe.em:314
msgid " --support-old-code Support interworking with old code\n"
msgstr " --support-old-code Stöd interaktion med gammal kod\n"
-#: emultempl/pe.em:332
+#: emultempl/pe.em:315
msgid " --thumb-entry=<symbol> Set the entry point to be Thumb <symbol>\n"
msgstr ""
" --thumb-entry=<symbol> Ställ in ingångspunkten till att\n"
" vara tummen <symbol>\n"
-#: emultempl/pe.em:334
+#: emultempl/pe.em:317
msgid " --add-stdcall-alias Export symbols with and without @nn\n"
msgstr " --add-stdcall-alias Exportera symboler med och utan @nn\n"
-#: emultempl/pe.em:335
+#: emultempl/pe.em:318
msgid " --disable-stdcall-fixup Don't link _sym to _sym@nn\n"
msgstr " --disable-stdcall-fixup Länka inte _sym till _sym@nn\n"
-#: emultempl/pe.em:336
+#: emultempl/pe.em:319
msgid " --enable-stdcall-fixup Link _sym to _sym@nn without warnings\n"
msgstr " --enable-stdcall-fixup Länka _sym till _sym@nn utan varningar\n"
-#: emultempl/pe.em:337
+#: emultempl/pe.em:320
msgid " --exclude-symbols sym,sym,... Exclude symbols from automatic export\n"
msgstr ""
" --exclude-symbols sym,sym,... Exkludera symboler från automatisk\n"
" export\n"
-#: emultempl/pe.em:338
+#: emultempl/pe.em:321
msgid " --exclude-libs lib,lib,... Exclude libraries from automatic export\n"
msgstr ""
" --exclude-libs bibl,bibl,... Exkludera bibliotek från automatisk\n"
" export\n"
-#: emultempl/pe.em:339
+#: emultempl/pe.em:322
msgid " --export-all-symbols Automatically export all globals to DLL\n"
msgstr ""
" --export-all-symbols Exportera automatiskt alla symboler\n"
" till DLL\n"
-#: emultempl/pe.em:340
+#: emultempl/pe.em:323
msgid " --kill-at Remove @nn from exported symbols\n"
msgstr " --kill-at Ta bort @nn från exporterade symboler\n"
-#: emultempl/pe.em:341
+#: emultempl/pe.em:324
msgid " --out-implib <file> Generate import library\n"
msgstr " --out-implib <fil> Generera importbibliotek\n"
-#: emultempl/pe.em:342
+#: emultempl/pe.em:325
msgid " --output-def <file> Generate a .DEF file for the built DLL\n"
msgstr " --output-def <fil> Generera en .DEF-fil för byggd DLL\n"
-#: emultempl/pe.em:343
+#: emultempl/pe.em:326
msgid " --warn-duplicate-exports Warn about duplicate exports.\n"
msgstr " --warn-duplicate-exports Varna för dubbla exporter.\n"
-#: emultempl/pe.em:344
+#: emultempl/pe.em:327
msgid ""
" --compat-implib Create backward compatible import libs;\n"
" create __imp_<SYMBOL> as well.\n"
@@ -168,7 +168,7 @@ msgstr ""
" --compat-implib Skapa bakåtkompatibla importbibliotek;\n"
" och skapa även __imp_<SYMBOL>.\n"
-#: emultempl/pe.em:346
+#: emultempl/pe.em:329
msgid ""
" --enable-auto-image-base Automatically choose image base for DLLs\n"
" unless user specifies one\n"
@@ -176,37 +176,57 @@ msgstr ""
" --enable-auto-image-base Välj automatiskt bildbas för DLL:er\n"
" såvida inte användaren anger en\n"
-#: emultempl/pe.em:348
+#: emultempl/pe.em:331
msgid " --disable-auto-image-base Do not auto-choose image base. (default)\n"
msgstr ""
" --disable-auto-image-base Välj inte bildbas automatiskt\n"
" (standard).\n"
-#: emultempl/pe.em:349
+#: emultempl/pe.em:332
msgid ""
-" --dll-search-prefix=<string> When linking dynamically to a dll without an\n"
-" importlib, use <string><basename>.dll \n"
+" --dll-search-prefix=<string> When linking dynamically to a dll without\n"
+" an importlib, use <string><basename>.dll\n"
" in preference to lib<basename>.dll \n"
msgstr ""
" --dll-search-prefix=<sträng> Använd <sträng><basnamn>.dll istället\n"
" för lib<basnamn>.dll vid dynamisk\n"
" länkning utan ett importbibliotek\n"
-#: emultempl/pe.em:352
+#: emultempl/pe.em:335
msgid ""
-" --enable-auto-import Do sophistcated linking of _sym to \n"
+" --enable-auto-import Do sophistcated linking of _sym to\n"
" __imp_sym for DATA references\n"
msgstr ""
" --enable-auto-import Utför sofistikerad länkning av _sym till\n"
" __imp_sym för DATA-referenser\n"
-#: emultempl/pe.em:354
+#: emultempl/pe.em:337
msgid " --disable-auto-import Do not auto-import DATA items from DLLs\n"
msgstr ""
" --disable-auto-import Importera inte DATA-objekt från DLL:er\n"
" automatiskt\n"
-#: emultempl/pe.em:355
+#: emultempl/pe.em:338
+msgid ""
+" --enable-runtime-pseudo-reloc Work around auto-import limitations by\n"
+" adding pseudo-relocations resolved at\n"
+" runtime.\n"
+msgstr ""
+" --enable-runtime-pseudo-reloc Kringgå begränsningar i automatisk\n"
+" import genom att lägga till\n"
+" pseudoomlokaliseringar som löses under\n"
+" körtid.\n"
+
+#: emultempl/pe.em:341
+msgid ""
+" --disable-runtime-pseudo-reloc Do not add runtime pseudo-relocations for\n"
+" auto-imported DATA.\n"
+msgstr ""
+" --disable-runtime-pseudo-reloc Lägg inte till pseudoomlokaliseringar\n"
+" för automatisk importerad DATA under\n"
+" körtid.\n"
+
+#: emultempl/pe.em:343
msgid ""
" --enable-extra-pe-debug Enable verbose debug output when building\n"
" or linking to DLLs (esp. auto-import)\n"
@@ -215,85 +235,82 @@ msgstr ""
" bygge av eller länkning till DLL:er\n"
" (särskilt automatisk import)\n"
-#: emultempl/pe.em:424
+#: emultempl/pe.em:412
msgid "%P: warning: bad version number in -subsystem option\n"
msgstr "%P: varning: felaktigt nummer i flaggan -subsystem\n"
-#: emultempl/pe.em:460
+#: emultempl/pe.em:448
msgid "%P%F: invalid subsystem type %s\n"
msgstr "%P%F: ogiltig typ av undersystem %s\n"
-#: emultempl/pe.em:475
+#: emultempl/pe.em:460
msgid "%P%F: invalid hex number for PE parameter '%s'\n"
msgstr "%P%F: ogiltigt hexadecimalt tal för PE-parametern \"%s\"\n"
-#: emultempl/pe.em:493
+#: emultempl/pe.em:477
msgid "%P%F: strange hex info for PE parameter '%s'\n"
msgstr "%P%F: konstig hexadecimal information för PE-parametern \"%s\"\n"
-#: emultempl/pe.em:532
+#: emultempl/pe.em:494
#, c-format
msgid "%s: Can't open base file %s\n"
msgstr "%s: Kan inte öppna basfilen %s\n"
-#: emultempl/pe.em:738
+#: emultempl/pe.em:707
msgid "%P: warning, file alignment > section alignment.\n"
msgstr "%P: varning, filjusteringen > sektionsjusteringen.\n"
-#: emultempl/pe.em:822 emultempl/pe.em:848
+#: emultempl/pe.em:794 emultempl/pe.em:821
#, c-format
msgid "Warning: resolving %s by linking to %s\n"
msgstr "Varning: löser upp %s genom att länka till %s\n"
-#: emultempl/pe.em:827 emultempl/pe.em:853
+#: emultempl/pe.em:799 emultempl/pe.em:826
msgid "Use --enable-stdcall-fixup to disable these warnings\n"
msgstr "Använd --enable-stdcall-fixup för att stänga av dessa varningar\n"
-#: emultempl/pe.em:828 emultempl/pe.em:854
+#: emultempl/pe.em:800 emultempl/pe.em:827
msgid "Use --disable-stdcall-fixup to disable these fixups\n"
msgstr "Använd --disable-stdcall-fixup för att stänga av dessa korrigeringar\n"
-#: emultempl/pe.em:879
+#: emultempl/pe.em:846
+#, c-format
msgid "%C: Cannot get section contents - auto-import exception\n"
msgstr "%C: Kan inte få tag i sektionsinnehåll - undantag i automatisk import\n"
-#: emultempl/pe.em:887
-msgid "%C: variable '%T' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.\n"
-msgstr "%C: variabeln \"%T\" kan inte importeras automatiskt. Läs dokumentationen för ld:s --enable-auto-import för detaljer.\n"
-
-#: emultempl/pe.em:916
+#: emultempl/pe.em:883
#, c-format
msgid "Info: resolving %s by linking to %s (auto-import)\n"
msgstr "Info: löser upp %s genom att länka till %s (automatisk import)\n"
-#: emultempl/pe.em:997
+#: emultempl/pe.em:954
msgid "%F%P: PE operations on non PE file.\n"
msgstr "%F%P: PE-operationer på fil som inte är PE.\n"
-#: emultempl/pe.em:1226
+#: emultempl/pe.em:1188
#, c-format
msgid "Errors encountered processing file %s\n"
msgstr "Fel uppstod vid behandling av filen %s\n"
-#: emultempl/pe.em:1249
+#: emultempl/pe.em:1211
#, c-format
msgid "Errors encountered processing file %s for interworking"
msgstr "Fel uppstod vid behandling av filen %s för interaktion"
-#: emultempl/pe.em:1305 ldlang.c:2065 ldlang.c:4608 ldlang.c:4641
-#: ldmain.c:1061
+#: emultempl/pe.em:1273 ldlang.c:1904 ldlang.c:4397 ldlang.c:4428
+#: ldmain.c:1122
msgid "%P%F: bfd_link_hash_lookup failed: %E\n"
msgstr "%P%F: bfd_link_hash_lookup misslyckades: %E\n"
-#: ldcref.c:158
+#: ldcref.c:153
msgid "%X%P: bfd_hash_table_init of cref table failed: %E\n"
msgstr "%X%P: bfd_hash_table_init av korsreferenstabellen misslyckades: %E\n"
-#: ldcref.c:164
+#: ldcref.c:159
msgid "%X%P: cref_hash_lookup failed: %E\n"
msgstr "%X%P: cref_hash_lookup misslyckades: %E\n"
-#: ldcref.c:235
+#: ldcref.c:225
msgid ""
"\n"
"Cross Reference Table\n"
@@ -303,31 +320,31 @@ msgstr ""
"Korsreferenstabell\n"
"\n"
-#: ldcref.c:236
+#: ldcref.c:226
msgid "Symbol"
msgstr "Symbol"
-#: ldcref.c:244
+#: ldcref.c:234
msgid "File\n"
msgstr "Fil\n"
-#: ldcref.c:248
+#: ldcref.c:238
msgid "No symbols\n"
msgstr "Inga symboler\n"
-#: ldcref.c:400
+#: ldcref.c:384
msgid "%P: symbol `%T' missing from main hash table\n"
msgstr "%P: symbolen \"%T\" saknas från hastabellen\n"
-#: ldcref.c:465
+#: ldcref.c:448
msgid "%B%F: could not read symbols; %E\n"
msgstr "%B%F: kunde inte läsa symboler; %E\n"
-#: ldcref.c:469 ldmain.c:1127 ldmain.c:1131
+#: ldcref.c:452 ldmain.c:1187 ldmain.c:1191
msgid "%B%F: could not read symbols: %E\n"
msgstr "%B%F: kunde inte läsa symboler: %E\n"
-#: ldcref.c:537 ldcref.c:544 ldmain.c:1177 ldmain.c:1184
+#: ldcref.c:517 ldcref.c:524 ldmain.c:1234 ldmain.c:1241
msgid "%B%F: could not read relocs: %E\n"
msgstr "%B%F: kunde inte läsa omlokaliseringar: %E\n"
@@ -335,27 +352,27 @@ msgstr "%B%F: kunde inte läsa omlokaliseringar: %E\n"
#. in OUTSECNAME. This reloc is from a section which is
#. mapped into a section from which references to OUTSECNAME
#. are prohibited. We must report an error.
-#: ldcref.c:563
+#: ldcref.c:543
msgid "%X%C: prohibited cross reference from %s to `%T' in %s\n"
msgstr "%X%C: förbjuden korsreferens från %s till \"%T\" i %s\n"
-#: ldctor.c:88
+#: ldctor.c:84
msgid "%P%X: Different relocs used in set %s\n"
msgstr "%P%X: Olika omlokaliseringar använda i gruppen %s\n"
-#: ldctor.c:106
+#: ldctor.c:102
msgid "%P%X: Different object file formats composing set %s\n"
msgstr "%P%X: Olika objektfilformat utgör gruppen %s\n"
-#: ldctor.c:288 ldctor.c:302
+#: ldctor.c:281 ldctor.c:295
msgid "%P%X: %s does not support reloc %s for set %s\n"
msgstr "%P%X: %s stöder inte omlokaliseringen %s för gruppen %s\n"
-#: ldctor.c:323
+#: ldctor.c:316
msgid "%P%X: Unsupported size %d for set %s\n"
msgstr "%P%X: Storleken %d för gruppen %s stöds inte\n"
-#: ldctor.c:344
+#: ldctor.c:337
msgid ""
"\n"
"Set Symbol\n"
@@ -365,135 +382,150 @@ msgstr ""
"Grupp Symbol\n"
"\n"
-#: ldemul.c:225
+#: ldemul.c:247
+#, c-format
msgid "%S SYSLIB ignored\n"
msgstr "%S SYSLIB ignorerades\n"
-#: ldemul.c:232
+#: ldemul.c:254
+#, c-format
msgid "%S HLL ignored\n"
msgstr "%S HLL ignorerades\n"
-#: ldemul.c:253
+#: ldemul.c:275
msgid "%P: unrecognised emulation mode: %s\n"
msgstr "%P: okänt emuleringsläge: %s\n"
-#: ldemul.c:254
+#: ldemul.c:276
msgid "Supported emulations: "
msgstr "Emuleringar som stöds: "
-#: ldemul.c:298
+#: ldemul.c:320
msgid " no emulation specific options.\n"
msgstr " inga emuleringsspecifika flaggor.\n"
-#: ldexp.c:174
+#: ldexp.c:148
msgid "%F%P: %s uses undefined section %s\n"
msgstr "%F%P: %s använder odefinierad sektion %s\n"
-#: ldexp.c:176
+#: ldexp.c:150
msgid "%F%P: %s forward reference of section %s\n"
msgstr "%F%P: %s framåtreferens av sektionen %s\n"
-#: ldexp.c:304
+#: ldexp.c:355
+#, c-format
msgid "%F%S %% by zero\n"
msgstr "%F%S %% med noll\n"
-#: ldexp.c:311
+#: ldexp.c:362
+#, c-format
msgid "%F%S / by zero\n"
msgstr "%F%S / med noll\n"
-#: ldexp.c:463
+#: ldexp.c:533
+#, c-format
msgid "%X%S: unresolvable symbol `%s' referenced in expression\n"
msgstr "%X%S: oupplösningsbara symbolen \"%s\" refererades i uttrycket\n"
-#: ldexp.c:483
+#: ldexp.c:553
+#, c-format
msgid "%F%S: undefined symbol `%s' referenced in expression\n"
msgstr "%F%S: odefinierade symbolen \"%s\" refererades i uttrycket\n"
-#: ldexp.c:685
+#: ldexp.c:677
+#, c-format
msgid "%F%S can not PROVIDE assignment to location counter\n"
msgstr "%F%S kan inte TILLHANDAHÅLLA tilldelning till platsräknare\n"
-#: ldexp.c:695
+#: ldexp.c:687
+#, c-format
msgid "%F%S invalid assignment to location counter\n"
msgstr "%F%S ogiltig tilldelning till platsräknare\n"
-#: ldexp.c:699
+#: ldexp.c:691
+#, c-format
msgid "%F%S assignment to location counter invalid outside of SECTION\n"
msgstr "%F%S tilldelning till platsräknare som är ogiltig utanför SEKTION\n"
-#: ldexp.c:708
+#: ldexp.c:700
msgid "%F%S cannot move location counter backwards (from %V to %V)\n"
msgstr "%F%S kan inte flytta platsräknare bakåt (från %V till %V)\n"
-#: ldexp.c:735
+#: ldexp.c:727
msgid "%P%F:%s: hash creation failed\n"
msgstr "%P%F:%s: skapande av hash misslyckades\n"
-#: ldexp.c:1037 ldexp.c:1071
+#: ldexp.c:1003 ldexp.c:1035
+#, c-format
msgid "%F%S nonconstant expression for %s\n"
msgstr "%F%S ickekonstant uttryck för %s\n"
-#: ldexp.c:1126
+#: ldexp.c:1089
+#, c-format
msgid "%F%S non constant expression for %s\n"
msgstr "%F%S ickekonstant uttryck för %s\n"
-#: ldfile.c:105
+#: ldfile.c:144
#, c-format
msgid "attempt to open %s failed\n"
msgstr "försök att öppna %s misslyckades\n"
-#: ldfile.c:107
+#: ldfile.c:146
#, c-format
msgid "attempt to open %s succeeded\n"
msgstr "försök att öppna %s lyckades\n"
-#: ldfile.c:113
+#: ldfile.c:152
msgid "%F%P: invalid BFD target `%s'\n"
msgstr "%F%P: ogiltigt BFD-mål \"%s\"\n"
-#: ldfile.c:142
+#: ldfile.c:258 ldfile.c:275
msgid "%P: skipping incompatible %s when searching for %s\n"
msgstr "%P: hoppar över inkompatibel %s vid sökning av %s\n"
-#: ldfile.c:234
+#: ldfile.c:377
msgid "%F%P: cannot open %s for %s: %E\n"
msgstr "%F%P: kan inte öppna %s för %s: %E\n"
-#: ldfile.c:237
+#: ldfile.c:380
msgid "%F%P: cannot open %s: %E\n"
msgstr "%F%P: kan inte öppna %s: %E\n"
-#: ldfile.c:267
+#: ldfile.c:410
+msgid "%F%P: cannot find %s inside %s\n"
+msgstr "%F%P: kan inte hitta %s inuti %s\n"
+
+#: ldfile.c:413
msgid "%F%P: cannot find %s\n"
msgstr "%F%P: kan inte hitta %s\n"
-#: ldfile.c:286 ldfile.c:302
+#: ldfile.c:430 ldfile.c:446
#, c-format
msgid "cannot find script file %s\n"
msgstr "kan inte hitta skriptfilen %s\n"
-#: ldfile.c:288 ldfile.c:304
+#: ldfile.c:432 ldfile.c:448
#, c-format
msgid "opened script file %s\n"
msgstr "öppnade skriptfilen %s\n"
-#: ldfile.c:353
+#: ldfile.c:492
msgid "%P%F: cannot open linker script file %s: %E\n"
msgstr "%P%F: kan inte öppna länkskriptfilen %s: %E\n"
-#: ldfile.c:391
+#: ldfile.c:529
msgid "%P%F: unknown architecture: %s\n"
msgstr "%P%F: okänd arkitektur: %s\n"
-#: ldfile.c:407
+#: ldfile.c:543
msgid "%P%F: target architecture respecified\n"
msgstr "%P%F: målarkitekturen specifierades om\n"
-#: ldfile.c:461
+#: ldfile.c:594
msgid "%P%F: cannot represent machine `%s'\n"
msgstr "%P%F: kan inte representera maskinen \"%s\"\n"
-#: ldlang.c:784
+#: ldlang.c:640
msgid ""
"\n"
"Memory Configuration\n"
@@ -503,23 +535,23 @@ msgstr ""
"Minneskonfiguration\n"
"\n"
-#: ldlang.c:786
+#: ldlang.c:642
msgid "Name"
msgstr "Namn"
-#: ldlang.c:786
+#: ldlang.c:642
msgid "Origin"
msgstr "Början"
-#: ldlang.c:786
+#: ldlang.c:642
msgid "Length"
msgstr "Längd"
-#: ldlang.c:786
+#: ldlang.c:642
msgid "Attributes"
msgstr "Attribut"
-#: ldlang.c:828
+#: ldlang.c:682
msgid ""
"\n"
"Linker script and memory map\n"
@@ -529,161 +561,166 @@ msgstr ""
"Länkskript och minnestabell\n"
"\n"
-#: ldlang.c:845
+#: ldlang.c:698
msgid "%P%F: Illegal use of `%s' section\n"
msgstr "%P%F: Otillåten användning av sektionen \"%s\"\n"
-#: ldlang.c:855
+#: ldlang.c:707
msgid "%P%F: output format %s cannot represent section called %s\n"
msgstr "%P%F: utdataformatet %s kan inte representera sektionen kallad %s\n"
-#: ldlang.c:1016
+#: ldlang.c:867
msgid "%P: %B: warning: ignoring duplicate section `%s'\n"
msgstr "%P: %B: varning: ignorerar dubbel sektion \"%s\"\n"
-#: ldlang.c:1019
+#: ldlang.c:870
msgid "%P: %B: warning: ignoring duplicate `%s' section symbol `%s'\n"
msgstr "%P: %B: varning: ignorerar dubbla \"%s\"-sektionssymbolen \"%s\"\n"
-#: ldlang.c:1033
+#: ldlang.c:884
msgid "%P: %B: warning: duplicate section `%s' has different size\n"
msgstr "%P: %B: varning: dubbla sektionen \"%s\" har annan storlek\n"
-#: ldlang.c:1084
+#: ldlang.c:936
msgid "%P%F: Failed to create hash table\n"
msgstr "%P%F: Misslyckades med att skapa hashtabell\n"
-#: ldlang.c:1503
+#: ldlang.c:1351
msgid "%B: file not recognized: %E\n"
msgstr "%B: filen inte igenkänd: %E\n"
-#: ldlang.c:1504
+#: ldlang.c:1352
msgid "%B: matching formats:"
msgstr "%B: matchande format:"
-#: ldlang.c:1511
+#: ldlang.c:1359
msgid "%F%B: file not recognized: %E\n"
msgstr "%F%B: filen inte igenkänd: %E\n"
-#: ldlang.c:1567
+#: ldlang.c:1418
msgid "%F%B: member %B in archive is not an object\n"
msgstr "%F%B: medlem %B i arkivet är inte ett objekt\n"
-#: ldlang.c:1578 ldlang.c:1592
+#: ldlang.c:1429 ldlang.c:1443
msgid "%F%B: could not read symbols: %E\n"
msgstr "%F%B: kunde inte läsa symboler: %E\n"
-#: ldlang.c:1853
+#: ldlang.c:1698
msgid "%P: warning: could not find any targets that match endianness requirement\n"
msgstr "%P: varning: kunde inte hitta några mål som matchar kravet på endianess\n"
-#: ldlang.c:1866
+#: ldlang.c:1711
msgid "%P%F: target %s not found\n"
msgstr "%P%F: målet %s hittades inte\n"
-#: ldlang.c:1868
+#: ldlang.c:1713
msgid "%P%F: cannot open output file %s: %E\n"
msgstr "%P%F: kan inte öppna utdatafilen %s: %E\n"
-#: ldlang.c:1878
+#: ldlang.c:1723
msgid "%P%F:%s: can not make object file: %E\n"
msgstr "%P%F:%s: kan inte skapa objektfilen: %E\n"
-#: ldlang.c:1882
+#: ldlang.c:1727
msgid "%P%F:%s: can not set architecture: %E\n"
msgstr "%P%F:%s: kan inte ställa in arkitektur: %E\n"
-#: ldlang.c:1886
+#: ldlang.c:1731
msgid "%P%F: can not create link hash table: %E\n"
msgstr "%P%F: kan inte skapa hashtabell över länkar: %E\n"
-#: ldlang.c:2235
+#: ldlang.c:2069
msgid " load address 0x%V"
msgstr " inläsningsadress 0x%V"
-#: ldlang.c:2375
+#: ldlang.c:2204
msgid "%W (size before relaxing)\n"
msgstr "%W (storlek innan avslappning)\n"
-#: ldlang.c:2462
+#: ldlang.c:2288
#, c-format
msgid "Address of section %s set to "
msgstr "Adressen på sektionen %s ställd till "
-#: ldlang.c:2623
+#: ldlang.c:2443
#, c-format
msgid "Fail with %d\n"
msgstr "Misslyckas med %d\n"
-#: ldlang.c:2868
+#: ldlang.c:2683
msgid "%X%P: section %s [%V -> %V] overlaps section %s [%V -> %V]\n"
msgstr "%X%P: sektionen %s [%V -> %V] överlappar med sektionen %s [%V -> %V]\n"
-#: ldlang.c:2897
+#: ldlang.c:2711
msgid "%X%P: address 0x%v of %B section %s is not within region %s\n"
msgstr "%X%P: adressen 0x%v i %B-sektionen %s är inte inom området %s\n"
-#: ldlang.c:2905
+#: ldlang.c:2719
msgid "%X%P: region %s is full (%B section %s)\n"
msgstr "%X%P: området %s är fullt (%B-sektion %s)\n"
-#: ldlang.c:2955
+#: ldlang.c:2770
msgid "%P%X: Internal error on COFF shared library section %s\n"
msgstr "%P%X: Internt fel i delat COFF-bibliotek sektion %s\n"
-#: ldlang.c:2999
-msgid "%P: warning: no memory region specified for section `%s'\n"
-msgstr "%P: varning: inget minnesområde angivet för sektionen \"%s\"\n"
+#: ldlang.c:2826
+msgid "%P%F: error: no memory region specified for loadable section `%s'\n"
+msgstr "%P%F: fel: inget minnesområde angivet för inläsbara sektionen \"%s\"\n"
-#: ldlang.c:3014
+#: ldlang.c:2830
+msgid "%P: warning: no memory region specified for loadable section `%s'\n"
+msgstr "%P: varning: inget minnesområde angivet för inläsbara sektionen \"%s\"\n"
+
+#: ldlang.c:2846
msgid "%P: warning: changing start of section %s by %u bytes\n"
msgstr "%P: varning: ändrar start på sektionen %s med %u byte\n"
-#: ldlang.c:3028
+#: ldlang.c:2859
+#, c-format
msgid "%F%S: non constant address expression for section %s\n"
msgstr "%F%S: ickekonstant adressuttryck för sektionen %s\n"
-#: ldlang.c:3203
+#: ldlang.c:3036
msgid "%P%F: can't relax section: %E\n"
msgstr "%P%F: kan inte slappna av sektion: %E\n"
-#: ldlang.c:3398
+#: ldlang.c:3232
msgid "%F%P: invalid data statement\n"
msgstr "%F%P: ogiltig datasats\n"
-#: ldlang.c:3435
+#: ldlang.c:3269
msgid "%F%P: invalid reloc statement\n"
msgstr "%F%P: ogiltig omlokaliseringssats\n"
-#: ldlang.c:3574
+#: ldlang.c:3408
msgid "%P%F:%s: can't set start address\n"
msgstr "%P%F:%s: kan inte ställa in startadress\n"
-#: ldlang.c:3587 ldlang.c:3605
+#: ldlang.c:3421 ldlang.c:3439
msgid "%P%F: can't set start address\n"
msgstr "%P%F: kan inte ställa in startadress\n"
-#: ldlang.c:3599
+#: ldlang.c:3433
msgid "%P: warning: cannot find entry symbol %s; defaulting to %V\n"
msgstr "%P: varning: kan inte hitta ingångssymbolen %s; använder som standard %V\n"
-#: ldlang.c:3610
+#: ldlang.c:3444
msgid "%P: warning: cannot find entry symbol %s; not setting start address\n"
msgstr "%P: varning: kan inte hitta ingångssymbolen %s; ställer inte in startadress\n"
-#: ldlang.c:3660
+#: ldlang.c:3488
msgid "%P%F: Relocatable linking with relocations from format %s (%B) to format %s (%B) is not supported\n"
msgstr "%P%F: Omlokaliseringsbar länkning med omlänkningar från formatet %s (%B) till formatet %s (%B) stöds inte\n"
-#: ldlang.c:3669
+#: ldlang.c:3497
msgid "%P: warning: %s architecture of input file `%B' is incompatible with %s output\n"
msgstr "%P: varning: %s-arkitekturen i indatafilen \"%B\" är inkompatibel med %s-utdata\n"
-#: ldlang.c:3690
+#: ldlang.c:3518
msgid "%E%X: failed to merge target specific data of file %B\n"
msgstr "%E%X: misslyckades med att slå samman målspecifik data i filen %B\n"
-#: ldlang.c:3779
+#: ldlang.c:3604
msgid ""
"\n"
"Allocating common symbols\n"
@@ -691,7 +728,7 @@ msgstr ""
"\n"
"Allokerar gemensamma symboler\n"
-#: ldlang.c:3780
+#: ldlang.c:3605
msgid ""
"Common symbol size file\n"
"\n"
@@ -702,158 +739,158 @@ msgstr ""
#. This message happens when using the
#. svr3.ifile linker script, so I have
#. disabled it.
-#: ldlang.c:3858
+#: ldlang.c:3681
msgid "%P: no [COMMON] command, defaulting to .bss\n"
msgstr "%P: inget [COMMON]-kommando, använder standardalternativet .bss\n"
-#: ldlang.c:3917
+#: ldlang.c:3737
msgid "%P%F: invalid syntax in flags\n"
msgstr "%P%F: ogiltig syntax i flaggor\n"
-#: ldlang.c:4532
+#: ldlang.c:4325
msgid "%P%Fmultiple STARTUP files\n"
msgstr "%P%Fflera samtidiga STARTUP-filer\n"
-#: ldlang.c:4575
+#: ldlang.c:4368
msgid "%X%P:%S: section has both a load address and a load region\n"
msgstr "%X%P:%S: sektionen har både en inläsningsadress och ett minnesinläsningsområde\n"
-#: ldlang.c:4825
+#: ldlang.c:4608
msgid "%F%P: bfd_record_phdr failed: %E\n"
msgstr "%F%P: bfd_record_phdr misslyckades: %E\n"
-#: ldlang.c:4844
+#: ldlang.c:4627
msgid "%X%P: section `%s' assigned to non-existent phdr `%s'\n"
msgstr "%X%P: sektionen \"%s\" är tilldelad till ickexisterande phvd \"%s\"\n"
-#: ldlang.c:5143
+#: ldlang.c:4919
msgid "%X%P: unknown language `%s' in version information\n"
msgstr "%X%P: okänt språk i \"%s\" i versionsinformation\n"
-#: ldlang.c:5195
+#: ldlang.c:4969
msgid "%X%P: anonymous version tag cannot be combined with other version tags\n"
msgstr "%X%P: anonym versionstagg kan inte kombineras med andra versionstaggar\n"
-#: ldlang.c:5202
+#: ldlang.c:4977
msgid "%X%P: duplicate version tag `%s'\n"
msgstr "%X%P: dubbel versionstagg \"%s\"\n"
-#: ldlang.c:5215 ldlang.c:5228
+#: ldlang.c:4990 ldlang.c:5003
msgid "%X%P: duplicate expression `%s' in version information\n"
msgstr "%X%P: dubbelt uttryck \"%s\" i versionsinformation\n"
-#: ldlang.c:5270
+#: ldlang.c:5043
msgid "%X%P: unable to find version dependency `%s'\n"
msgstr "%X%P: kan inte hitta versionsberoende \"%s\"\n"
-#: ldlang.c:5292
+#: ldlang.c:5065
msgid "%X%P: unable to read .exports section contents\n"
msgstr "%X%P: kan inte läsa innehållet i .exports-sektionen\n"
-#: ldmain.c:198
+#: ldmain.c:247
msgid "%X%P: can't set BFD default target to `%s': %E\n"
msgstr "%X%P: kan inte ställa in BSD-standardmålet till \"%s\": %E\n"
-#: ldmain.c:290
+#: ldmain.c:349
msgid "%P%F: -r and --mpc860c0 may not be used together\n"
msgstr "%P%F: -r och --mpc860c0 kan inte användas tillsammans\n"
-#: ldmain.c:292
+#: ldmain.c:351
msgid "%P%F: --relax and -r may not be used together\n"
msgstr "%P%F: --relax och -r kan inte användas tillsammans\n"
-#: ldmain.c:294
+#: ldmain.c:353
msgid "%P%F: -r and -shared may not be used together\n"
msgstr "%P%F: -r och -shared kan inte användas tillsammans\n"
-#: ldmain.c:300
+#: ldmain.c:359
msgid "%P%F: -F may not be used without -shared\n"
msgstr "%P%F: -F kan inte användas utan -shared\n"
-#: ldmain.c:302
+#: ldmain.c:361
msgid "%P%F: -f may not be used without -shared\n"
msgstr "%P%F: -f kan inte användas utan -shared\n"
-#: ldmain.c:341
+#: ldmain.c:403
msgid "using external linker script:"
msgstr "använder externt länkskript:"
-#: ldmain.c:343
+#: ldmain.c:405
msgid "using internal linker script:"
msgstr "använder internt länkskript:"
-#: ldmain.c:377
+#: ldmain.c:439
msgid "%P%F: no input files\n"
msgstr "%P%F: inga indatafiler\n"
-#: ldmain.c:382
+#: ldmain.c:443
msgid "%P: mode %s\n"
msgstr "%P: läge %s\n"
-#: ldmain.c:399
+#: ldmain.c:459
msgid "%P%F: cannot open map file %s: %E\n"
msgstr "%P%F: kan inte öppna tabellfil %s: %E\n"
-#: ldmain.c:432
+#: ldmain.c:489
msgid "%P: link errors found, deleting executable `%s'\n"
msgstr "%P: länkfel hittades, tar bort den körbara filen \"%s\"\n"
-#: ldmain.c:443
+#: ldmain.c:498
msgid "%F%B: final close failed: %E\n"
msgstr "%F%B: avslutande stängning misslyckades: %E\n"
-#: ldmain.c:467
+#: ldmain.c:524
msgid "%X%P: unable to open for source of copy `%s'\n"
msgstr "%X%P: kan inte öppna för källkoden till kopian \"%s\"\n"
-#: ldmain.c:469
+#: ldmain.c:527
msgid "%X%P: unable to open for destination of copy `%s'\n"
msgstr "%X%P: kan inte öppna för mål av kopian \"%s\"\n"
-#: ldmain.c:475
+#: ldmain.c:534
msgid "%P: Error writing file `%s'\n"
msgstr "%P: Fel vid skrivning av filen \"%s\"\n"
-#: ldmain.c:481 pe-dll.c:1463
+#: ldmain.c:539 pe-dll.c:1443
#, c-format
msgid "%P: Error closing file `%s'\n"
msgstr "%P: Fel vid stängning av filen \"%s\"\n"
-#: ldmain.c:498
+#: ldmain.c:555
#, c-format
msgid "%s: total time in link: %ld.%06ld\n"
msgstr "%s: total tid i länkning: %ld.%06ld\n"
-#: ldmain.c:501
+#: ldmain.c:558
#, c-format
msgid "%s: data size %ld\n"
msgstr "%s: datastorlek %ld\n"
-#: ldmain.c:542
+#: ldmain.c:596
msgid "%P%F: missing argument to -m\n"
msgstr "%P%F: argument saknas till -m\n"
-#: ldmain.c:670 ldmain.c:691 ldmain.c:722
+#: ldmain.c:741 ldmain.c:759 ldmain.c:789
msgid "%P%F: bfd_hash_table_init failed: %E\n"
msgstr "%P%F: bfd_hash_table_init misslyckades: %E\n"
-#: ldmain.c:675 ldmain.c:694
+#: ldmain.c:745 ldmain.c:763
msgid "%P%F: bfd_hash_lookup failed: %E\n"
msgstr "%P%F: bfd_hash_lookup misslyckades: %E\n"
-#: ldmain.c:709
+#: ldmain.c:777
msgid "%X%P: error: duplicate retain-symbols-file\n"
msgstr "%X%P: fel: dubbel retain-symbols-file\n"
-#: ldmain.c:753
+#: ldmain.c:819
msgid "%P%F: bfd_hash_lookup for insertion failed: %E\n"
msgstr "%P%F: bfd_hash_lookup för ingång misslyckades: %E\n"
-#: ldmain.c:758
+#: ldmain.c:824
msgid "%P: `-retain-symbols-file' overrides `-s' and `-S'\n"
msgstr "%P: \"-retain-symbols-file\" åsidosätter \"-s\" och \"-S\"\n"
-#: ldmain.c:834
+#: ldmain.c:899
msgid ""
"Archive member included because of file (symbol)\n"
"\n"
@@ -861,154 +898,155 @@ msgstr ""
"Arkivmedlem inkluderad på grund av fil (symbol)\n"
"\n"
-#: ldmain.c:905
+#: ldmain.c:969
msgid "%X%C: multiple definition of `%T'\n"
msgstr "%X%C: flera defintioner av \"%T\"\n"
-#: ldmain.c:908
+#: ldmain.c:972
msgid "%D: first defined here\n"
msgstr "%D: först definierad här\n"
-#: ldmain.c:912
+#: ldmain.c:976
msgid "%P: Disabling relaxation: it will not work with multiple definitions\n"
msgstr "%P: Stänger av avslappning: det kommer inte att fungera med flera definitioner\n"
-#: ldmain.c:943
+#: ldmain.c:1006
msgid "%B: warning: definition of `%T' overriding common\n"
msgstr "%B: varning: definitioner av \"%T\" åsidosätter gemensam\n"
-#: ldmain.c:946
+#: ldmain.c:1009
msgid "%B: warning: common is here\n"
msgstr "%B: varning: gemensam är här\n"
-#: ldmain.c:953
+#: ldmain.c:1016
msgid "%B: warning: common of `%T' overridden by definition\n"
msgstr "%B: varning: gemensam i \"%T\" åsidosattes av definition\n"
-#: ldmain.c:956
+#: ldmain.c:1019
msgid "%B: warning: defined here\n"
msgstr "%B: varning: definierad här\n"
-#: ldmain.c:963
+#: ldmain.c:1026
msgid "%B: warning: common of `%T' overridden by larger common\n"
msgstr "%B: varning: gemensam i \"%T\" åsidosattes av större gemensam\n"
-#: ldmain.c:966
+#: ldmain.c:1029
msgid "%B: warning: larger common is here\n"
msgstr "%B: varning: större gemensam är här\n"
-#: ldmain.c:970
+#: ldmain.c:1033
msgid "%B: warning: common of `%T' overriding smaller common\n"
msgstr "%B: varning: gemensam i \"%T\" åsidosätter mindre gemensam\n"
-#: ldmain.c:973
+#: ldmain.c:1036
msgid "%B: warning: smaller common is here\n"
msgstr "%B: varning: mindre gemensam är här\n"
-#: ldmain.c:977
+#: ldmain.c:1040
msgid "%B: warning: multiple common of `%T'\n"
msgstr "%B: varning: flera gemensamma i \"%T\"\n"
-#: ldmain.c:979
+#: ldmain.c:1042
msgid "%B: warning: previous common is here\n"
msgstr "%B: varning: föregående gemensam är här\n"
-#: ldmain.c:1000 ldmain.c:1039
+#: ldmain.c:1062 ldmain.c:1100
msgid "%P: warning: global constructor %s used\n"
msgstr "%P: varning: global konstruktor %s användes\n"
-#: ldmain.c:1049
+#: ldmain.c:1110
msgid "%P%F: BFD backend error: BFD_RELOC_CTOR unsupported\n"
msgstr "%P%F: Fel i BFD-backend: BFD_RELOC_CTOR stöds inte\n"
-#: ldmain.c:1233
+#: ldmain.c:1287 ldmisc.c:533
msgid "%F%P: bfd_hash_table_init failed: %E\n"
msgstr "%F%P: bfd_hash_table_init misslyckades: %E\n"
-#: ldmain.c:1240
+#: ldmain.c:1294 ldmisc.c:540
msgid "%F%P: bfd_hash_lookup failed: %E\n"
msgstr "%F%P: bfd_hash_lookup misslyckades: %E\n"
-#: ldmain.c:1260
+#: ldmain.c:1314
msgid "%C: undefined reference to `%T'\n"
msgstr "%C: odefinierad referens till \"%T\"\n"
-#: ldmain.c:1266
+#: ldmain.c:1320
msgid "%D: more undefined references to `%T' follow\n"
msgstr "%D: flera odefinierade referenser till \"%T\" följer\n"
-#: ldmain.c:1273
+#: ldmain.c:1327
msgid "%B: undefined reference to `%T'\n"
msgstr "%B: odefinierad referens till \"%T\"\n"
-#: ldmain.c:1279
+#: ldmain.c:1333
msgid "%B: more undefined references to `%T' follow\n"
msgstr "%B: flera odefinierade referenser till \"%T\" följer\n"
-#: ldmain.c:1299 ldmain.c:1320 ldmain.c:1339
+#: ldmain.c:1364 ldmain.c:1392 ldmain.c:1410
msgid "%P%X: generated"
msgstr "%P%X: genererad"
-#: ldmain.c:1302
+#: ldmain.c:1371
+msgid " additional relocation overflows omitted from the output\n"
+msgstr " ytterligare omlokaliseringsspill utelämnade från utdatan\n"
+
+#: ldmain.c:1375
msgid " relocation truncated to fit: %s %T"
msgstr " omlokalisering trunkerad för att passa: %s %T"
-#: ldmain.c:1323
+#: ldmain.c:1395
#, c-format
msgid "dangerous relocation: %s\n"
msgstr "farlig omlokalisering: %s\n"
-#: ldmain.c:1342
+#: ldmain.c:1413
msgid " reloc refers to symbol `%T' which is not being output\n"
msgstr " omlokalisering refererar till symbolen \"%T\" som inte skrivs ut\n"
-#: ldmisc.c:157
+#: ldmisc.c:147
msgid "no symbol"
msgstr "ingen symbol"
-#: ldmisc.c:221
+#: ldmisc.c:211
#, c-format
msgid "built in linker script:%u"
msgstr "inbyggt länkskript:%u"
-#: ldmisc.c:271 ldmisc.c:275
+#: ldmisc.c:260 ldmisc.c:264
msgid "%B%F: could not read symbols\n"
msgstr "%B%F: kunde inte läsa symboler\n"
-#. We use abfd->filename in this initial line,
-#. in case filename is a .h file or something
-#. similarly unhelpful.
-#: ldmisc.c:311
-msgid "%B: In function `%T':\n"
-msgstr "%B: I funktionen \"%T\":\n"
+#: ldmisc.c:291
+msgid ": In function `%T':\n"
+msgstr ": I funktionen \"%T\":\n"
-#: ldmisc.c:463
+#: ldmisc.c:438
msgid "%F%P: internal error %s %d\n"
msgstr "%F%P: internt fel %s %d\n"
-#: ldmisc.c:513
+#: ldmisc.c:484
msgid "%P: internal error: aborting at %s line %d in %s\n"
msgstr "%P: internt fel: avbryter vid %s rad %d i %s\n"
-#: ldmisc.c:516
+#: ldmisc.c:487
msgid "%P: internal error: aborting at %s line %d\n"
msgstr "%P: internt fel: avbryter vid %s rad %d\n"
-#: ldmisc.c:518
+#: ldmisc.c:489
msgid "%P%F: please report this bug\n"
msgstr "%P%F: rapportera detta fel\n"
#. Output for noisy == 2 is intended to follow the GNU standards.
-#: ldver.c:38
+#: ldver.c:39
#, c-format
msgid "GNU ld version %s\n"
msgstr "GNU ld version %s\n"
-#: ldver.c:42
+#: ldver.c:43
msgid "Copyright 2002 Free Software Foundation, Inc.\n"
msgstr "Copyright 2002 Free Software Foundation, Inc.\n"
-#: ldver.c:43
+#: ldver.c:44
msgid ""
"This program is free software; you may redistribute it under the terms of\n"
"the GNU General Public License. This program has absolutely no warranty.\n"
@@ -1017,371 +1055,398 @@ msgstr ""
"villkoren i GNU General Public License. Detta program har ingen som\n"
"helst garanti.\n"
-#: ldver.c:52
+#: ldver.c:53
msgid " Supported emulations:\n"
msgstr " Emuleringar som stöds:\n"
-#: ldwrite.c:59 ldwrite.c:195
+#: ldwrite.c:54 ldwrite.c:190
msgid "%P%F: bfd_new_link_order failed\n"
msgstr "%P%F: bfd_new_link_order misslyckades\n"
-#: ldwrite.c:325
+#: ldwrite.c:310
msgid "%F%P: clone section failed: %E\n"
msgstr "%F%P: klonsektion misslyckades: %E\n"
-#: ldwrite.c:364
+#: ldwrite.c:348
#, c-format
msgid "%8x something else\n"
msgstr "%8x någonting annat\n"
-#: ldwrite.c:547
+#: ldwrite.c:525
msgid "%F%P: final link failed: %E\n"
msgstr "%F%P: avslutande länkning misslyckades: %E\n"
-#: lexsup.c:172 lexsup.c:267
+#: lexsup.c:179 lexsup.c:284
msgid "KEYWORD"
msgstr "NYCKELORD"
-#: lexsup.c:172
+#: lexsup.c:179
msgid "Shared library control for HP/UX compatibility"
msgstr "Styrning av delade bibliotek för kompatibilitet med HP/UX"
-#: lexsup.c:175
+#: lexsup.c:182
msgid "ARCH"
msgstr "ARK"
-#: lexsup.c:175
+#: lexsup.c:182
msgid "Set architecture"
msgstr "Ställ in arkitektur"
-#: lexsup.c:177 lexsup.c:336
+#: lexsup.c:184 lexsup.c:357
msgid "TARGET"
msgstr "MÅL"
-#: lexsup.c:177
+#: lexsup.c:184
msgid "Specify target for following input files"
msgstr "Ange mål för följande indatafiler"
-#: lexsup.c:179 lexsup.c:220 lexsup.c:232 lexsup.c:241 lexsup.c:312
-#: lexsup.c:343 lexsup.c:383
+#: lexsup.c:186 lexsup.c:229 lexsup.c:241 lexsup.c:254 lexsup.c:329
+#: lexsup.c:364 lexsup.c:408
msgid "FILE"
msgstr "FIL"
-#: lexsup.c:179
+#: lexsup.c:186
msgid "Read MRI format linker script"
msgstr "Läs länkskript i MRI-format"
-#: lexsup.c:181
+#: lexsup.c:188
msgid "Force common symbols to be defined"
msgstr "Tvinga gemensamma symboler att vara definierade"
-#: lexsup.c:185 lexsup.c:373 lexsup.c:375 lexsup.c:377
+#: lexsup.c:192 lexsup.c:398 lexsup.c:400 lexsup.c:402
msgid "ADDRESS"
msgstr "ADRESS"
-#: lexsup.c:185
+#: lexsup.c:192
msgid "Set start address"
msgstr "Ställ in startadress"
-#: lexsup.c:187
+#: lexsup.c:194
msgid "Export all dynamic symbols"
msgstr "Exportera alla dynamiska symboler"
-#: lexsup.c:189
+#: lexsup.c:196
msgid "Link big-endian objects"
msgstr "Länka objekt som är big-endian"
-#: lexsup.c:191
+#: lexsup.c:198
msgid "Link little-endian objects"
msgstr "Länka objekt som är little-endian"
-#: lexsup.c:193 lexsup.c:196
+#: lexsup.c:200 lexsup.c:203
msgid "SHLIB"
msgstr "DELBIBL"
-#: lexsup.c:193
+#: lexsup.c:200
msgid "Auxiliary filter for shared object symbol table"
msgstr "Yttre filter för symboltabell över delade objekt"
-#: lexsup.c:196
+#: lexsup.c:203
msgid "Filter for shared object symbol table"
msgstr "Filter för symboltabell över delade objekt"
-#: lexsup.c:198
+#: lexsup.c:205
msgid "Ignored"
msgstr "Ignorerad"
-#: lexsup.c:200
+#: lexsup.c:207
msgid "SIZE"
msgstr "STORLEK"
-#: lexsup.c:200
+#: lexsup.c:207
msgid "Small data size (if no size, same as --shared)"
msgstr "Liten datastorlek (om ingen storlek, samma som --shared)"
-#: lexsup.c:203
+#: lexsup.c:210
msgid "FILENAME"
msgstr "FILNAMN"
-#: lexsup.c:203
+#: lexsup.c:210
msgid "Set internal name of shared library"
msgstr "Ställ in internt namn på delat bibliotek"
-#: lexsup.c:205
+#: lexsup.c:212
msgid "PROGRAM"
msgstr "PROGRAM"
-#: lexsup.c:205
+#: lexsup.c:212
msgid "Set PROGRAM as the dynamic linker to use"
msgstr "Ställ in PROGRAM som den dynamiska länkare som ska användas"
-#: lexsup.c:207
+#: lexsup.c:214
msgid "LIBNAME"
msgstr "BIBLNAMN"
-#: lexsup.c:207
+#: lexsup.c:214
msgid "Search for library LIBNAME"
msgstr "Sök efter biblioteket BIBLNAMN"
-#: lexsup.c:209
+#: lexsup.c:216
msgid "DIRECTORY"
msgstr "KATALOG"
-#: lexsup.c:209
+#: lexsup.c:216
msgid "Add DIRECTORY to library search path"
msgstr "Lägg till KATALOG till bibliotekssökvägen"
-#: lexsup.c:211
+#: lexsup.c:218
msgid "EMULATION"
msgstr "EMULERING"
-#: lexsup.c:211
+#: lexsup.c:218
msgid "Set emulation"
msgstr "Ställ in emulering"
-#: lexsup.c:213
+#: lexsup.c:220
msgid "Print map file on standard output"
msgstr "Visa tabellfil på standard ut"
-#: lexsup.c:215
+#: lexsup.c:222
msgid "Do not page align data"
msgstr "Justera inte data efter jämna sidor"
-#: lexsup.c:217
+#: lexsup.c:224
msgid "Do not page align data, do not make text readonly"
msgstr "Justera inte data efter jämna sidor, gör inte texten endast läsbar"
-#: lexsup.c:220
+#: lexsup.c:227
+msgid "Page align data, make text readonly"
+msgstr "Sidjustera data, gör texten endast läsbar"
+
+#: lexsup.c:229
msgid "Set output file name"
msgstr "Ställ in utdatafilnamnet"
-#: lexsup.c:222
+#: lexsup.c:231
msgid "Optimize output file"
msgstr "Optimera utdatafil"
-#: lexsup.c:224
+#: lexsup.c:233
msgid "Ignored for SVR4 compatibility"
msgstr "Ignorerad för kompatibilitet med SVR4"
-#: lexsup.c:228
-msgid "Generate relocateable output"
+#: lexsup.c:237
+msgid "Generate relocatable output"
msgstr "Generera omlokaliseringsbar utdata"
-#: lexsup.c:232
+#: lexsup.c:241
msgid "Just link symbols (if directory, same as --rpath)"
msgstr "Länka bara symboler (om katalog, samma som --rpath)"
-#: lexsup.c:235
+#: lexsup.c:244
msgid "Strip all symbols"
msgstr "Ta bort alla symboler"
-#: lexsup.c:237
+#: lexsup.c:246
msgid "Strip debugging symbols"
msgstr "Ta bort felsökningssymboler"
-#: lexsup.c:239
+#: lexsup.c:248
+msgid "Strip symbols in discarded sections"
+msgstr "Ta bort symboler i kastade sektioner"
+
+#: lexsup.c:250
+msgid "Do not strip symbols in discarded sections"
+msgstr "Ta inte bort symboler i kastade sektioner"
+
+#: lexsup.c:252
msgid "Trace file opens"
msgstr "Spåra filöppningar"
-#: lexsup.c:241
+#: lexsup.c:254
msgid "Read linker script"
msgstr "Läs länkskript"
-#: lexsup.c:243 lexsup.c:259 lexsup.c:298 lexsup.c:310 lexsup.c:367
-#: lexsup.c:386 lexsup.c:406
+#: lexsup.c:256 lexsup.c:272 lexsup.c:315 lexsup.c:327 lexsup.c:392
+#: lexsup.c:411 lexsup.c:431
msgid "SYMBOL"
msgstr "SYMBOL"
-#: lexsup.c:243
+#: lexsup.c:256
msgid "Start with undefined reference to SYMBOL"
msgstr "Börja med odefinierad referens till SYMBOL"
-#: lexsup.c:245
+#: lexsup.c:258
msgid "[=SECTION]"
msgstr "[=SEKTION]"
-#: lexsup.c:245
+#: lexsup.c:258
msgid "Don't merge input [SECTION | orphan] sections"
msgstr "Slå inte samman [SEKTION | föräldralösa] sektioner"
-#: lexsup.c:247
+#: lexsup.c:260
msgid "Build global constructor/destructor tables"
msgstr "Bygg globala konstruktors-/destruktorstabeller"
-#: lexsup.c:249
+#: lexsup.c:262
msgid "Print version information"
msgstr "Visa versionsinformation"
-#: lexsup.c:251
+#: lexsup.c:264
msgid "Print version and emulation information"
msgstr "Visa versions- och emuleringsinformation"
-#: lexsup.c:253
+#: lexsup.c:266
msgid "Discard all local symbols"
msgstr "Kasta alla lokala symboler"
-#: lexsup.c:255
+#: lexsup.c:268
msgid "Discard temporary local symbols (default)"
msgstr "Kasta temporära lokala symboler (standard)"
-#: lexsup.c:257
+#: lexsup.c:270
msgid "Don't discard any local symbols"
msgstr "Kasta inte några lokala symboler"
-#: lexsup.c:259
+#: lexsup.c:272
msgid "Trace mentions of SYMBOL"
msgstr "Spåra omnämningar av SYMBOL"
-#: lexsup.c:261 lexsup.c:345 lexsup.c:347
+#: lexsup.c:274 lexsup.c:366 lexsup.c:368
msgid "PATH"
msgstr "SÖKVÄG"
-#: lexsup.c:261
+#: lexsup.c:274
msgid "Default search path for Solaris compatibility"
msgstr "Standardsökväg för Solaris-kompatibilitet"
-#: lexsup.c:263
+#: lexsup.c:276
msgid "Start a group"
msgstr "Starta en grupp"
-#: lexsup.c:265
+#: lexsup.c:278
msgid "End a group"
msgstr "Sluta en grupp"
-#: lexsup.c:267
+#: lexsup.c:280
+msgid "Accept input files whose architecture cannot be determined"
+msgstr "Acceptera indatafiler vars arkitektur inte kan avgöras"
+
+#: lexsup.c:282
+msgid "Reject input files whose architecture is unknown"
+msgstr "Avvisa indatafiler vars arkitektur är okänd"
+
+#: lexsup.c:284
msgid "Ignored for SunOS compatibility"
msgstr "Ignorerad för SunOS-kompatibilitet"
-#: lexsup.c:269
+#: lexsup.c:286
msgid "Link against shared libraries"
msgstr "Länka mot delade bibliotek"
-#: lexsup.c:275
+#: lexsup.c:292
msgid "Do not link against shared libraries"
msgstr "Länka inte mot delade bibliotek"
-#: lexsup.c:283
+#: lexsup.c:300
msgid "Bind global references locally"
msgstr "Bind globala referenser lokalt"
-#: lexsup.c:285
+#: lexsup.c:302
msgid "Check section addresses for overlaps (default)"
msgstr "Kontrollera sektionsadresser för överlappningar (standard)"
-#: lexsup.c:287
+#: lexsup.c:304
msgid "Do not check section addresses for overlaps"
msgstr "Kontrollera inte sektionsadresser för överlappningar"
-#: lexsup.c:290
+#: lexsup.c:307
msgid "Output cross reference table"
msgstr "Skapa korsreferenstabell"
-#: lexsup.c:292
+#: lexsup.c:309
msgid "SYMBOL=EXPRESSION"
msgstr "SYMBOL=UTTRYCK"
-#: lexsup.c:292
+#: lexsup.c:309
msgid "Define a symbol"
msgstr "Definiera en symbol"
-#: lexsup.c:294
+#: lexsup.c:311
msgid "[=STYLE]"
msgstr "[=STIL]"
-#: lexsup.c:294
+#: lexsup.c:311
msgid "Demangle symbol names [using STYLE]"
msgstr "Avkoda symbolnamn [använd STIL]"
-#: lexsup.c:296
+#: lexsup.c:313
msgid "Generate embedded relocs"
msgstr "Generera inbäddade omlokaliseringar"
-#: lexsup.c:298
+#: lexsup.c:315
msgid "Call SYMBOL at unload-time"
msgstr "Anropa SYMBOL vid urladdning"
-#: lexsup.c:300
+#: lexsup.c:317
msgid "Force generation of file with .exe suffix"
msgstr "Tvinga generering av fil med ändelsen .exe"
-#: lexsup.c:302
+#: lexsup.c:319
msgid "Remove unused sections (on some targets)"
msgstr "Ta bort oanvända sektioner (på vissa mål)"
-#: lexsup.c:305
+#: lexsup.c:322
msgid "Don't remove unused sections (default)"
msgstr "Ta inte bort oanvända sektioner (standard)"
-#: lexsup.c:308
+#: lexsup.c:325
msgid "Print option help"
msgstr "Visa hjälp om flaggor"
-#: lexsup.c:310
+#: lexsup.c:327
msgid "Call SYMBOL at load-time"
msgstr "Anropa SYMBOL vid inläsning"
-#: lexsup.c:312
+#: lexsup.c:329
msgid "Write a map file"
msgstr "Skriv en tabellfil"
-#: lexsup.c:314
+#: lexsup.c:331
msgid "Do not define Common storage"
msgstr "Definiera inte gemensam lagring"
-#: lexsup.c:316
+#: lexsup.c:333
msgid "Do not demangle symbol names"
msgstr "Avkoda inte symbolnamn"
-#: lexsup.c:318
+#: lexsup.c:335
msgid "Use less memory and more disk I/O"
msgstr "Använd mindre minne och mer disk-I/O"
-#: lexsup.c:320
+#: lexsup.c:337
msgid "Allow no undefined symbols"
msgstr "Tillåt inga odefinierade symboler"
-#: lexsup.c:322
-msgid "Allow undefined symbols in shared objects"
-msgstr "Tillåt odefinierade symboler i delade objekt"
+#: lexsup.c:339
+msgid "Allow undefined symbols in shared objects (the default)"
+msgstr "Tillåt odefinierade symboler i delade objekt (standardalternativet)"
+
+#: lexsup.c:341
+msgid "Do not allow undefined symbols in shared objects"
+msgstr "Tillåt inte odefinierade symboler i delade objekt"
-#: lexsup.c:324
+#: lexsup.c:343
msgid "Allow multiple definitions"
msgstr "Tillåt flera defintioner"
-# src/prefs.c:170
-#: lexsup.c:326
+#: lexsup.c:345
+msgid "Disallow undefined version"
+msgstr "Tillåt inte odefinierad version"
+
+#: lexsup.c:347
msgid "Don't warn about mismatched input files"
msgstr "Varna inte om opassande indatafiler"
-#: lexsup.c:328
+#: lexsup.c:349
msgid "Turn off --whole-archive"
msgstr "Slå av ---whole-archive"
-#: lexsup.c:330
+#: lexsup.c:351
msgid "Create an output file even if errors occur"
msgstr "Skapa en utdatafil även om fel förekommer"
-#: lexsup.c:334
+#: lexsup.c:355
msgid ""
"Only use library directories specified on\n"
"\t\t\t\tthe command line"
@@ -1389,107 +1454,111 @@ msgstr ""
"Använd endast bibliotekskataloger som anges\n"
"\t\t\t\tpå kommandoraden"
-#: lexsup.c:336
+#: lexsup.c:357
msgid "Specify target of output file"
msgstr "Ange mål för utdatafil"
-#: lexsup.c:338
+#: lexsup.c:359
msgid "Ignored for Linux compatibility"
msgstr "Ignorerad för kompatibilitet med Linux"
-#: lexsup.c:340
+#: lexsup.c:361
msgid "Relax branches on certain targets"
msgstr "Slappna av greningar på vissa mål"
-#: lexsup.c:343
+#: lexsup.c:364
msgid "Keep only symbols listed in FILE"
msgstr "Behåll endast symboler angivna i FIL"
-#: lexsup.c:345
+#: lexsup.c:366
msgid "Set runtime shared library search path"
msgstr "Ställ in körtidssökväg för delade bibliotek"
-#: lexsup.c:347
+#: lexsup.c:368
msgid "Set link time shared library search path"
msgstr "Ställ in länkningstidssökväg för delade bibliotek"
-#: lexsup.c:349
+#: lexsup.c:370
msgid "Create a shared library"
msgstr "Skapa ett delat bibliotek"
-#: lexsup.c:353
+#: lexsup.c:374
+msgid "Create a position independent executable"
+msgstr "Skapa en positionsoberoende körbar fil"
+
+#: lexsup.c:378
msgid "Sort common symbols by size"
msgstr "Sortera gemensamma symboler efter storlek"
-#: lexsup.c:357
+#: lexsup.c:382
msgid "COUNT"
msgstr "ANTAL"
-#: lexsup.c:357
+#: lexsup.c:382
msgid "How many tags to reserve in .dynamic section"
msgstr "Hur många taggar som ska reserveras i .dynamic-sektion"
-#: lexsup.c:359
+#: lexsup.c:384
msgid "[=SIZE]"
msgstr "[=STORLEK]"
-#: lexsup.c:359
+#: lexsup.c:384
msgid "Split output sections every SIZE octets"
msgstr "Dela utdatasektioner var STORLEK oktett"
-#: lexsup.c:361
+#: lexsup.c:386
msgid "[=COUNT]"
msgstr "[=ANTAL]"
-#: lexsup.c:361
+#: lexsup.c:386
msgid "Split output sections every COUNT relocs"
msgstr "Dela utdatasektioner var ANTAL omlokalisering"
-#: lexsup.c:363
+#: lexsup.c:388
msgid "Print memory usage statistics"
msgstr "Visa statistik över minnesanvändning"
-#: lexsup.c:365
+#: lexsup.c:390
msgid "Display target specific options"
msgstr "Visa målspecifika flaggor"
-#: lexsup.c:367
+#: lexsup.c:392
msgid "Do task level linking"
msgstr "Utför länkning på uppgiftsnivå"
-#: lexsup.c:369
+#: lexsup.c:394
msgid "Use same format as native linker"
msgstr "Använd samma format som inhemska länkaren"
-#: lexsup.c:371
+#: lexsup.c:396
msgid "SECTION=ADDRESS"
msgstr "SEKTION=ADRESS"
-#: lexsup.c:371
+#: lexsup.c:396
msgid "Set address of named section"
msgstr "Ställ in adress på namngiven sektion"
-#: lexsup.c:373
+#: lexsup.c:398
msgid "Set address of .bss section"
msgstr "Ställ in adress på .bss-sektion"
-#: lexsup.c:375
+#: lexsup.c:400
msgid "Set address of .data section"
msgstr "Ställ in adress på .data-sektion"
-#: lexsup.c:377
+#: lexsup.c:402
msgid "Set address of .text section"
msgstr "Ställ in adress på .text-sektion"
-#: lexsup.c:379
+#: lexsup.c:404
msgid "Output lots of information during link"
msgstr "Visa mycket information under länkning"
-#: lexsup.c:383
+#: lexsup.c:408
msgid "Read version information script"
msgstr "Läs skript med versionsinformation"
-#: lexsup.c:386
+#: lexsup.c:411
msgid ""
"Take export symbols list from .exports, using\n"
"\t\t\t\tSYMBOL as the version."
@@ -1497,43 +1566,43 @@ msgstr ""
"Plocka lista med exportsymboler från .exports och\n"
"\t\t\t\tanvänd SYMBOL som version."
-#: lexsup.c:389
+#: lexsup.c:414
msgid "Warn about duplicate common symbols"
msgstr "Varna för dubbla gemensamma symboler"
-#: lexsup.c:391
+#: lexsup.c:416
msgid "Warn if global constructors/destructors are seen"
msgstr "Varna om globala konstruktorer/destruktorer hittas"
-#: lexsup.c:394
+#: lexsup.c:419
msgid "Warn if the multiple GP values are used"
msgstr "Varna om flera GP-värden används"
-#: lexsup.c:396
+#: lexsup.c:421
msgid "Warn only once per undefined symbol"
msgstr "Varna endast en gång per odefinierad symbol"
-#: lexsup.c:398
+#: lexsup.c:423
msgid "Warn if start of section changes due to alignment"
msgstr "Varna om början på sektionen ändras på grund av justering"
-#: lexsup.c:401
+#: lexsup.c:426
msgid "Treat warnings as errors"
msgstr "Behandla varningar som fel"
-#: lexsup.c:404
+#: lexsup.c:429
msgid "Include all objects from following archives"
msgstr "Inkludera alla objekt från följande arkiv"
-#: lexsup.c:406
+#: lexsup.c:431
msgid "Use wrapper functions for SYMBOL"
msgstr "Använd inkapslingsfunktioner för SYMBOL"
-#: lexsup.c:408
+#: lexsup.c:433
msgid "[=WORDS]"
msgstr "[=ORD]"
-#: lexsup.c:408
+#: lexsup.c:433
msgid ""
"Modify problematic branches in last WORDS (1-10,\n"
"\t\t\t\tdefault 5) words of a page"
@@ -1541,27 +1610,27 @@ msgstr ""
"Ändra problematiska greningar i sista ORD (1-10,\n"
"\t\t\t\tstandardvärde 5) orden på en sida"
-#: lexsup.c:574
+#: lexsup.c:602
msgid "%P: unrecognized option '%s'\n"
msgstr "%P: okänd flagga \"%s\"\n"
-#: lexsup.c:576
+#: lexsup.c:604
msgid "%P%F: use the --help option for usage information\n"
msgstr "%P%F: använd flaggan --help för användningsinformation\n"
-#: lexsup.c:595
+#: lexsup.c:622
msgid "%P%F: unrecognized -a option `%s'\n"
msgstr "%P%F: okänd -a-flagga \"%s\"\n"
-#: lexsup.c:608
+#: lexsup.c:635
msgid "%P%F: unrecognized -assert option `%s'\n"
msgstr "%P%F: okänd -assert-flagga \"%s\"\n"
-#: lexsup.c:651
+#: lexsup.c:678
msgid "%F%P: unknown demangling style `%s'"
msgstr "%F%P: okänd avkodningsstil \"%s\""
-#: lexsup.c:711
+#: lexsup.c:737
msgid "%P%F: invalid number `%s'\n"
msgstr "%P%F: ogiltigt tal \"%s\"\n"
@@ -1573,134 +1642,155 @@ msgstr "%P%F: ogiltigt tal \"%s\"\n"
#. an error message here. We cannot just make this a warning,
#. increment optind, and continue because getopt is too confused
#. and will seg-fault the next time around.
-#: lexsup.c:812
+#: lexsup.c:849
msgid "%P%F: bad -rpath option\n"
msgstr "%P%F: okänd -rpath-flagga\n"
-#: lexsup.c:910
+#: lexsup.c:953
msgid "%P%F: -shared not supported\n"
msgstr "%P%F: -shared stöds inte\n"
-#: lexsup.c:942
+#: lexsup.c:962
+msgid "%P%F: -pie not supported\n"
+msgstr "%P%F: -pie stöds inte\n"
+
+#: lexsup.c:994
msgid "%P%F: invalid argument to option \"--section-start\"\n"
msgstr "%P%F: ogiltigt argument till flaggan \"--section-start\"\n"
-#: lexsup.c:948
+#: lexsup.c:1000
msgid "%P%F: missing argument(s) to option \"--section-start\"\n"
msgstr "%P%F: argument saknas till flaggan \"--section-start\"\n"
-#: lexsup.c:1097
+#: lexsup.c:1158
msgid "%P%F: may not nest groups (--help for usage)\n"
msgstr "%P%F: får inte nästla grupper (--help för användning)\n"
-#: lexsup.c:1104
+#: lexsup.c:1165
msgid "%P%F: group ended before it began (--help for usage)\n"
msgstr "%P%F: gruppen slutade innan den började (--help för användning)\n"
-#: lexsup.c:1118
+#: lexsup.c:1179
msgid "%P%F: invalid argument to option \"mpc860c0\"\n"
msgstr "%P%F: ogiltigt argument till flaggan \"mpc860c0\"\n"
-#: lexsup.c:1173
+#: lexsup.c:1234
msgid "%P%F: invalid hex number `%s'\n"
msgstr "%P%F: ogiltigt hexadecimalt tal \"%s\"\n"
-#: lexsup.c:1185
+#: lexsup.c:1246
#, c-format
msgid "Usage: %s [options] file...\n"
msgstr "Användning: %s [flaggor] fil...\n"
-#: lexsup.c:1187
+#: lexsup.c:1248
msgid "Options:\n"
msgstr "Alternativ:\n"
#. Note: Various tools (such as libtool) depend upon the
#. format of the listings below - do not change them.
-#: lexsup.c:1270
+#: lexsup.c:1331
#, c-format
msgid "%s: supported targets:"
msgstr "%s: mål som stöds:"
-#: lexsup.c:1278
+#: lexsup.c:1339
#, c-format
msgid "%s: supported emulations: "
msgstr "%s: emuleringar som stöds: "
-#: lexsup.c:1283
+#: lexsup.c:1344
#, c-format
msgid "%s: emulation specific options:\n"
msgstr "%s: emuleringsspecifika flaggor:\n"
-#: lexsup.c:1287
+#: lexsup.c:1348
#, c-format
msgid "Report bugs to %s\n"
msgstr ""
"Rapportera fel till %s\n"
"Rapportera fel i översättningen till sv@li.org\n"
-#: mri.c:334
+#: mri.c:307
msgid "%P%F: unknown format type %s\n"
msgstr "%P%F: okänd formattyp %s\n"
-#: pe-dll.c:321
+#: pe-dll.c:301
#, c-format
msgid "%XUnsupported PEI architecture: %s\n"
msgstr "%XPEI-arkitekturen stöds inte: %s\n"
-#: pe-dll.c:671
+#: pe-dll.c:650
#, c-format
msgid "%XError, duplicate EXPORT with ordinals: %s (%d vs %d)\n"
msgstr "%XFel, dubbel EXPORT med ordinaler: %s (%d gentemot %d)\n"
-#: pe-dll.c:678
+#: pe-dll.c:657
#, c-format
msgid "Warning, duplicate EXPORT: %s\n"
msgstr "Varning, dubbel EXPORT: %s\n"
-#: pe-dll.c:742
+#: pe-dll.c:723
#, c-format
msgid "%XCannot export %s: symbol not defined\n"
msgstr "%XKan inte exportera %s: symbolen är inte definierad\n"
-#: pe-dll.c:748
+#: pe-dll.c:729
#, c-format
msgid "%XCannot export %s: symbol wrong type (%d vs %d)\n"
msgstr "%XKan inte exportera %s: symbolen är av fel typ (%d gentemot %d)\n"
-#: pe-dll.c:755
+#: pe-dll.c:736
#, c-format
msgid "%XCannot export %s: symbol not found\n"
msgstr "%XKan inte exportera %s: symbolen hittades inte\n"
-#: pe-dll.c:870
+#: pe-dll.c:848
#, c-format
msgid "%XError, ordinal used twice: %d (%s vs %s)\n"
msgstr "%XFel, ordinalen användes två gånger: %d (%s gentemot %s)\n"
-#: pe-dll.c:1181
+#: pe-dll.c:1165
#, c-format
msgid "%XError: %d-bit reloc in dll\n"
msgstr "%XFel: %d-bitars omlokalisering i dll\n"
-#: pe-dll.c:1316
+#: pe-dll.c:1296
#, c-format
msgid "%s: Can't open output def file %s\n"
msgstr "%s: Kan inte öppna utdatadefinitionsfilen %s\n"
-#: pe-dll.c:1459
+#: pe-dll.c:1439
msgid "; no contents available\n"
msgstr "; inget innehåll är tillgängligt\n"
-#: pe-dll.c:2128
+#: pe-dll.c:2203
+msgid "%C: variable '%T' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.\n"
+msgstr "%C: variabeln \"%T\" kan inte importeras automatiskt. Läs dokumentationen för ld:s --enable-auto-import för detaljer.\n"
+
+#: pe-dll.c:2233
#, c-format
msgid "%XCan't open .lib file: %s\n"
msgstr "%XKan inte öppna .lib-filen: %s\n"
-#: pe-dll.c:2133
+#: pe-dll.c:2238
#, c-format
msgid "Creating library file: %s\n"
msgstr "Skapar biblioteksfil: %s\n"
+#~ msgid ""
+#~ " --enable-auto-import Do sophisticated linking of _sym to\n"
+#~ " __imp_sym for DATA references\n"
+#~ msgstr ""
+#~ " --enable-auto-import Utför sofistikerad länkning av _sym till\n"
+#~ " __imp_sym för DATA-referenser\n"
+
+#~ msgid "%B: In function `%T':\n"
+#~ msgstr "%B: I funktionen \"%T\":\n"
+
+#~ msgid "Allow undefined symbols in shared objects"
+#~ msgstr "Tillåt odefinierade symboler i delade objekt"
+
#~ msgid " create __imp_<SYMBOL> as well.\n"
#~ msgstr " skapa även __imp_<SYMBOL>.\n"
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 4ce09aa..cd1cba1 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,23 @@
+2004-04-09 Daniel Jacobowitz <drow@mvista.com>
+
+ Merge from mainline:
+ 2004-03-27 Alexandre Oliva <aoliva@redhat.com>
+ * ld-frv/fdpic*.d: Adjust to compensate for page size change.
+
+ 2004-02-24 Alexandre Oliva <aoliva@redhat.com>
+ * ld-frv/fdpic-pie-2.d: Adjust for decay of FUNCDESC relocs that
+ bind locally.
+ * ld-frv/fdpic-pie-8.d: Likewise.
+ * ld-frv/fdpic-shared-4.d: Likewise.
+ * ld-frv/fdpic-pie-6-fail.d: Renamed from...
+ * ld-frv/fdpic-pie-6.d: New test.
+ * ld-frv/fdpic-shared-6-fail.d: Renamed from...
+ * ld-frv/fdpic-shared-6.d: New test.
+ * ld-frv/fdpic6.ldv: New.
+ * ld-frv/fdpic-static-6.d: Adjust test name.
+ * ld-frv/fdpic-pie-8-fail.d: Removed.
+ * ld-frv/fdpic.exp: Run new tests.
+
2004-04-08 Alan Modra <amodra@bigpond.net.au>
PR 47.
diff --git a/ld/testsuite/ld-frv/fdpic-pie-1.d b/ld/testsuite/ld-frv/fdpic-pie-1.d
index da356ae..15d36ae 100644
--- a/ld/testsuite/ld-frv/fdpic-pie-1.d
+++ b/ld/testsuite/ld-frv/fdpic-pie-1.d
@@ -32,27 +32,27 @@ Disassembly of section \.text:
418: 80 f8 00 00 sethi hi\(0x0\),gr0
Disassembly of section \.data:
-00010430 <D1>:
- 10430: 00 00 00 04 add\.p gr0,gr4,gr0
- 10430: R_FRV_32 \.data
-
-00010434 <\.D0>:
- 10434: 00 00 00 00 add\.p gr0,gr0,gr0
- 10434: R_FRV_32 \.got
- 10438: 00 00 00 04 add\.p gr0,gr4,gr0
- 10438: R_FRV_32 \.text
+00004430 <D1>:
+ 4430: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4430: R_FRV_32 \.data
+
+00004434 <\.D0>:
+ 4434: 00 00 00 00 add\.p gr0,gr0,gr0
+ 4434: R_FRV_32 \.got
+ 4438: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4438: R_FRV_32 \.text
Disassembly of section \.got:
-000104b8 <_GLOBAL_OFFSET_TABLE_-0x8>:
- 104b8: 00 00 00 04 add\.p gr0,gr4,gr0
- 104b8: R_FRV_FUNCDESC_VALUE \.text
- 104bc: 00 00 00 02 add\.p gr0,fp,gr0
+000044b8 <_GLOBAL_OFFSET_TABLE_-0x8>:
+ 44b8: 00 00 00 04 add\.p gr0,gr4,gr0
+ 44b8: R_FRV_FUNCDESC_VALUE \.text
+ 44bc: 00 00 00 02 add\.p gr0,fp,gr0
-000104c0 <_GLOBAL_OFFSET_TABLE_>:
+000044c0 <_GLOBAL_OFFSET_TABLE_>:
\.\.\.
- 104cc: 00 00 00 04 add\.p gr0,gr4,gr0
- 104cc: R_FRV_32 \.text
- 104d0: 00 00 00 00 add\.p gr0,gr0,gr0
- 104d0: R_FRV_32 \.got
- 104d4: 00 00 00 04 add\.p gr0,gr4,gr0
- 104d4: R_FRV_32 \.data
+ 44cc: 00 00 00 04 add\.p gr0,gr4,gr0
+ 44cc: R_FRV_32 \.text
+ 44d0: 00 00 00 00 add\.p gr0,gr0,gr0
+ 44d0: R_FRV_32 \.got
+ 44d4: 00 00 00 04 add\.p gr0,gr4,gr0
+ 44d4: R_FRV_32 \.data
diff --git a/ld/testsuite/ld-frv/fdpic-pie-2.d b/ld/testsuite/ld-frv/fdpic-pie-2.d
index fb7691a..fb5e1e6 100644
--- a/ld/testsuite/ld-frv/fdpic-pie-2.d
+++ b/ld/testsuite/ld-frv/fdpic-pie-2.d
@@ -32,39 +32,41 @@ Disassembly of section \.text:
618: 80 f8 00 00 sethi hi\(0x0\),gr0
Disassembly of section \.data:
-00010630 <D2>:
- 10630: 00 00 00 04 add\.p gr0,gr4,gr0
- 10630: R_FRV_32 \.data
+00004630 <D2>:
+ 4630: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4630: R_FRV_32 \.data
-00010634 <GD0>:
- 10634: 00 00 00 00 add\.p gr0,gr0,gr0
- 10634: R_FRV_FUNCDESC GFb
- 10638: 00 00 00 04 add\.p gr0,gr4,gr0
- 10638: R_FRV_32 \.text
+00004634 <GD0>:
+ 4634: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4634: R_FRV_FUNCDESC \.text
+ 4638: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4638: R_FRV_32 \.text
Disassembly of section \.got:
-000106b8 <_GLOBAL_OFFSET_TABLE_-0x18>:
- 106b8: 00 00 00 04 add\.p gr0,gr4,gr0
- 106b8: R_FRV_FUNCDESC_VALUE \.text
- 106bc: 00 00 00 02 add\.p gr0,fp,gr0
- 106c0: 00 00 00 04 add\.p gr0,gr4,gr0
- 106c0: R_FRV_FUNCDESC_VALUE \.text
- 106c4: 00 00 00 02 add\.p gr0,fp,gr0
- 106c8: 00 00 00 04 add\.p gr0,gr4,gr0
- 106c8: R_FRV_FUNCDESC_VALUE \.text
- 106cc: 00 00 00 02 add\.p gr0,fp,gr0
+000046b8 <_GLOBAL_OFFSET_TABLE_-0x18>:
+ 46b8: 00 00 00 04 add\.p gr0,gr4,gr0
+ 46b8: R_FRV_FUNCDESC_VALUE \.text
+ 46bc: 00 00 00 02 add\.p gr0,fp,gr0
+ 46c0: 00 00 00 04 add\.p gr0,gr4,gr0
+ 46c0: R_FRV_FUNCDESC_VALUE \.text
+ 46c4: 00 00 00 02 add\.p gr0,fp,gr0
+ 46c8: 00 00 00 04 add\.p gr0,gr4,gr0
+ 46c8: R_FRV_FUNCDESC_VALUE \.text
+ 46cc: 00 00 00 02 add\.p gr0,fp,gr0
-000106d0 <_GLOBAL_OFFSET_TABLE_>:
+000046d0 <_GLOBAL_OFFSET_TABLE_>:
\.\.\.
- 106dc: R_FRV_FUNCDESC GF4
- 106e0: 00 00 00 04 add\.p gr0,gr4,gr0
- 106e0: R_FRV_32 \.text
- \.\.\.
- 106e4: R_FRV_FUNCDESC GF6
- 106e8: R_FRV_FUNCDESC GF5
- 106ec: 00 00 00 04 add\.p gr0,gr4,gr0
- 106ec: R_FRV_32 \.data
- 106f0: 00 00 00 04 add\.p gr0,gr4,gr0
- 106f0: R_FRV_32 \.text
- 106f4: 00 00 00 04 add\.p gr0,gr4,gr0
- 106f4: R_FRV_32 \.text
+ 46dc: 00 00 00 04 add\.p gr0,gr4,gr0
+ 46dc: R_FRV_FUNCDESC \.text
+ 46e0: 00 00 00 04 add\.p gr0,gr4,gr0
+ 46e0: R_FRV_32 \.text
+ 46e4: 00 00 00 04 add\.p gr0,gr4,gr0
+ 46e4: R_FRV_FUNCDESC \.text
+ 46e8: 00 00 00 04 add\.p gr0,gr4,gr0
+ 46e8: R_FRV_FUNCDESC \.text
+ 46ec: 00 00 00 04 add\.p gr0,gr4,gr0
+ 46ec: R_FRV_32 \.data
+ 46f0: 00 00 00 04 add\.p gr0,gr4,gr0
+ 46f0: R_FRV_32 \.text
+ 46f4: 00 00 00 04 add\.p gr0,gr4,gr0
+ 46f4: R_FRV_32 \.text
diff --git a/ld/testsuite/ld-frv/fdpic-pie-6.d b/ld/testsuite/ld-frv/fdpic-pie-6.d
index eaca671..c9263f7 100644
--- a/ld/testsuite/ld-frv/fdpic-pie-6.d
+++ b/ld/testsuite/ld-frv/fdpic-pie-6.d
@@ -1,6 +1,74 @@
-#name: FRV uClinux PIC relocs to undefined symbols, pie linking
+#name: FRV uClinux PIC relocs to weak undefined symbols, pie linking
#source: fdpic6.s
#objdump: -DR -j .text -j .data -j .got -j .plt
#as: -mfdpic
-#ld: -pie
-#error: different segments
+#ld: -pie --defsym WD1=D6
+
+.*: file format elf.*frv.*
+
+Disassembly of section \.plt:
+
+000005a8 <\.plt>:
+ 5a8: 00 00 00 08 add\.p gr0,gr8,gr0
+ 5ac: c0 1a 00 06 bra 5c4 <F6-0x10>
+ 5b0: 00 00 00 00 add\.p gr0,gr0,gr0
+ 5b4: c0 1a 00 04 bra 5c4 <F6-0x10>
+ 5b8: 00 00 00 10 add\.p gr0,gr16,gr0
+ 5bc: c0 1a 00 02 bra 5c4 <F6-0x10>
+ 5c0: 00 00 00 18 add\.p gr0,gr24,gr0
+ 5c4: 88 08 f1 40 ldd @\(gr15,gr0\),gr4
+ 5c8: 80 30 40 00 jmpl @\(gr4,gr0\)
+ 5cc: 9c cc ff f0 lddi @\(gr15,-16\),gr14
+ 5d0: 80 30 e0 00 jmpl @\(gr14,gr0\)
+Disassembly of section \.text:
+
+000005d4 <F6>:
+ 5d4: fe 3f ff fe call 5cc <F6-0x8>
+ 5d8: 80 40 f0 0c addi gr15,12,gr0
+ 5dc: 80 fc 00 24 setlos 0x24,gr0
+ 5e0: 80 f4 00 20 setlo 0x20,gr0
+ 5e4: 80 f8 00 00 sethi hi\(0x0\),gr0
+ 5e8: 80 40 f0 10 addi gr15,16,gr0
+ 5ec: 80 fc 00 18 setlos 0x18,gr0
+ 5f0: 80 f4 00 1c setlo 0x1c,gr0
+ 5f4: 80 f8 00 00 sethi hi\(0x0\),gr0
+ 5f8: 80 40 ff f8 addi gr15,-8,gr0
+ 5fc: 80 fc ff e8 setlos 0xffffffe8,gr0
+ 600: 80 f4 ff e0 setlo 0xffe0,gr0
+ 604: 80 f8 ff ff sethi 0xffff,gr0
+ 608: 80 f4 ff 44 setlo 0xff44,gr0
+ 60c: 80 f8 ff ff sethi 0xffff,gr0
+ 610: 80 f4 00 14 setlo 0x14,gr0
+ 614: 80 f8 00 00 sethi hi\(0x0\),gr0
+Disassembly of section \.data:
+
+0000462c <D6>:
+ \.\.\.
+ 462c: R_FRV_32 WD0
+ 4630: R_FRV_FUNCDESC WFb
+ 4634: R_FRV_32 WFb
+Disassembly of section \.got:
+
+000046c8 <_GLOBAL_OFFSET_TABLE_-0x20>:
+ 46c8: 00 00 05 c4 subxcc\.p gr0,gr4,gr0,icc1
+ 46c8: R_FRV_FUNCDESC_VALUE WF9
+ 46cc: 00 00 00 02 add\.p gr0,fp,gr0
+ 46d0: 00 00 05 bc subx\.p gr0,gr60,gr0,icc1
+ 46d0: R_FRV_FUNCDESC_VALUE WF8
+ 46d4: 00 00 00 02 add\.p gr0,fp,gr0
+ 46d8: 00 00 05 b4 subx\.p gr0,gr52,gr0,icc1
+ 46d8: R_FRV_FUNCDESC_VALUE WF0
+ 46dc: 00 00 00 02 add\.p gr0,fp,gr0
+ 46e0: 00 00 05 ac subx\.p gr0,gr44,gr0,icc1
+ 46e0: R_FRV_FUNCDESC_VALUE WF7
+ 46e4: 00 00 00 02 add\.p gr0,fp,gr0
+
+000046e8 <_GLOBAL_OFFSET_TABLE_>:
+ \.\.\.
+ 46f4: R_FRV_32 WF1
+ 46f8: R_FRV_FUNCDESC WF4
+ 46fc: R_FRV_32 WD2
+ 4700: R_FRV_FUNCDESC WF5
+ 4704: R_FRV_FUNCDESC WF6
+ 4708: R_FRV_32 WF3
+ 470c: R_FRV_32 WF2
diff --git a/ld/testsuite/ld-frv/fdpic-pie-7.d b/ld/testsuite/ld-frv/fdpic-pie-7.d
index a3f0478..67a6abf 100644
--- a/ld/testsuite/ld-frv/fdpic-pie-7.d
+++ b/ld/testsuite/ld-frv/fdpic-pie-7.d
@@ -32,27 +32,27 @@ Disassembly of section \.text:
418: 80 f8 00 00 sethi hi\(0x0\),gr0
Disassembly of section \.data:
-00010430 <D7>:
- 10430: 00 00 00 08 add\.p gr0,gr8,gr0
- 10430: R_FRV_32 \.data
-
-00010434 <\.D0>:
- 10434: 00 00 00 00 add\.p gr0,gr0,gr0
- 10434: R_FRV_32 \.got
- 10438: 00 00 00 08 add\.p gr0,gr8,gr0
- 10438: R_FRV_32 \.text
+00004430 <D7>:
+ 4430: 00 00 00 08 add\.p gr0,gr8,gr0
+ 4430: R_FRV_32 \.data
+
+00004434 <\.D0>:
+ 4434: 00 00 00 00 add\.p gr0,gr0,gr0
+ 4434: R_FRV_32 \.got
+ 4438: 00 00 00 08 add\.p gr0,gr8,gr0
+ 4438: R_FRV_32 \.text
Disassembly of section \.got:
-000104b8 <_GLOBAL_OFFSET_TABLE_-0x8>:
- 104b8: 00 00 00 08 add\.p gr0,gr8,gr0
- 104b8: R_FRV_FUNCDESC_VALUE \.text
- 104bc: 00 00 00 02 add\.p gr0,fp,gr0
+000044b8 <_GLOBAL_OFFSET_TABLE_-0x8>:
+ 44b8: 00 00 00 08 add\.p gr0,gr8,gr0
+ 44b8: R_FRV_FUNCDESC_VALUE \.text
+ 44bc: 00 00 00 02 add\.p gr0,fp,gr0
-000104c0 <_GLOBAL_OFFSET_TABLE_>:
+000044c0 <_GLOBAL_OFFSET_TABLE_>:
\.\.\.
- 104cc: 00 00 00 08 add\.p gr0,gr8,gr0
- 104cc: R_FRV_32 \.text
- 104d0: 00 00 00 00 add\.p gr0,gr0,gr0
- 104d0: R_FRV_32 \.got
- 104d4: 00 00 00 08 add\.p gr0,gr8,gr0
- 104d4: R_FRV_32 \.data
+ 44cc: 00 00 00 08 add\.p gr0,gr8,gr0
+ 44cc: R_FRV_32 \.text
+ 44d0: 00 00 00 00 add\.p gr0,gr0,gr0
+ 44d0: R_FRV_32 \.got
+ 44d4: 00 00 00 08 add\.p gr0,gr8,gr0
+ 44d4: R_FRV_32 \.data
diff --git a/ld/testsuite/ld-frv/fdpic-pie-8-fail.d b/ld/testsuite/ld-frv/fdpic-pie-8-fail.d
index f797b6a..e69de29 100644
--- a/ld/testsuite/ld-frv/fdpic-pie-8-fail.d
+++ b/ld/testsuite/ld-frv/fdpic-pie-8-fail.d
@@ -1,6 +0,0 @@
-#name: FRV uClinux PIC relocs to global symbols with addends, failing pie linking
-#source: fdpic8.s
-#objdump: -DR -j .text -j .data -j .got -j .plt
-#as: -mfdpic
-#ld: -pie
-#error: nonzero addend
diff --git a/ld/testsuite/ld-frv/fdpic-pie-8.d b/ld/testsuite/ld-frv/fdpic-pie-8.d
index 882f816..20b0ea0 100644
--- a/ld/testsuite/ld-frv/fdpic-pie-8.d
+++ b/ld/testsuite/ld-frv/fdpic-pie-8.d
@@ -2,83 +2,71 @@
#source: fdpic8.s
#objdump: -DR -j .text -j .data -j .got -j .plt
#as: -mfdpic
-#ld: -pie --version-script fdpic8min.ldv
+#ld: -pie
.*: file format elf.*frv.*
Disassembly of section \.text:
-00000498 <F8>:
- 498: 80 3c 00 02 call 4a0 <GF1\+0x4>
+000005d0 <F8>:
+ 5d0: 80 3c 00 02 call 5d8 <GF0\+0x4>
-0000049c <GF1>:
- 49c: 80 40 f0 10 addi gr15,16,gr0
- 4a0: 80 fc 00 14 setlos 0x14,gr0
- 4a4: 80 f4 00 24 setlo 0x24,gr0
- 4a8: 80 f8 00 00 sethi hi\(0x0\),gr0
- 4ac: 80 40 f0 0c addi gr15,12,gr0
- 4b0: 80 fc 00 1c setlos 0x1c,gr0
- 4b4: 80 f4 00 18 setlo 0x18,gr0
- 4b8: 80 f8 00 00 sethi hi\(0x0\),gr0
- 4bc: 80 40 ff f8 addi gr15,-8,gr0
- 4c0: 80 fc ff f0 setlos 0xfffffff0,gr0
- 4c4: 80 f4 ff c8 setlo 0xffc8,gr0
- 4c8: 80 f8 ff ff sethi 0xffff,gr0
- 4cc: 80 40 ff 48 addi gr15,-184,gr0
- 4d0: 80 fc ff 48 setlos 0xffffff48,gr0
- 4d4: 80 f4 ff 48 setlo 0xff48,gr0
- 4d8: 80 f8 ff ff sethi 0xffff,gr0
- 4dc: 80 f4 00 20 setlo 0x20,gr0
- 4e0: 80 f8 00 00 sethi hi\(0x0\),gr0
+000005d4 <GF0>:
+ 5d4: 80 40 f0 10 addi gr15,16,gr0
+ 5d8: 80 fc 00 14 setlos 0x14,gr0
+ 5dc: 80 f4 00 24 setlo 0x24,gr0
+ 5e0: 80 f8 00 00 sethi hi\(0x0\),gr0
+ 5e4: 80 40 f0 0c addi gr15,12,gr0
+ 5e8: 80 fc 00 1c setlos 0x1c,gr0
+ 5ec: 80 f4 00 18 setlo 0x18,gr0
+ 5f0: 80 f8 00 00 sethi hi\(0x0\),gr0
+ 5f4: 80 40 ff f8 addi gr15,-8,gr0
+ 5f8: 80 fc ff f0 setlos 0xfffffff0,gr0
+ 5fc: 80 f4 ff e8 setlo 0xffe8,gr0
+ 600: 80 f8 ff ff sethi 0xffff,gr0
+ 604: 80 40 ff 68 addi gr15,-152,gr0
+ 608: 80 fc ff 68 setlos 0xffffff68,gr0
+ 60c: 80 f4 ff 68 setlo 0xff68,gr0
+ 610: 80 f8 ff ff sethi 0xffff,gr0
+ 614: 80 f4 00 20 setlo 0x20,gr0
+ 618: 80 f8 00 00 sethi hi\(0x0\),gr0
Disassembly of section \.data:
-000104f8 <D8>:
- 104f8: 00 00 00 08 add\.p gr0,gr8,gr0
- 104f8: R_FRV_32 \.data
+00004630 <D8>:
+ 4630: 00 00 00 08 add\.p gr0,gr8,gr0
+ 4630: R_FRV_32 \.data
-000104fc <GD0>:
- 104fc: 00 00 00 10 add\.p gr0,gr16,gr0
- 104fc: R_FRV_32 \.got
- 10500: 00 00 00 08 add\.p gr0,gr8,gr0
- 10500: R_FRV_32 \.text
+00004634 <GD0>:
+ 4634: 00 00 00 08 add\.p gr0,gr8,gr0
+ 4634: R_FRV_FUNCDESC \.text
+ 4638: 00 00 00 08 add\.p gr0,gr8,gr0
+ 4638: R_FRV_32 \.text
Disassembly of section \.got:
-00010580 <_GLOBAL_OFFSET_TABLE_-0x38>:
- 10580: 00 00 00 08 add\.p gr0,gr8,gr0
- 10580: R_FRV_FUNCDESC_VALUE \.text
- 10584: 00 00 00 02 add\.p gr0,fp,gr0
- 10588: 00 00 00 08 add\.p gr0,gr8,gr0
- 10588: R_FRV_FUNCDESC_VALUE \.text
- 1058c: 00 00 00 02 add\.p gr0,fp,gr0
- 10590: 00 00 00 08 add\.p gr0,gr8,gr0
- 10590: R_FRV_FUNCDESC_VALUE \.text
- 10594: 00 00 00 02 add\.p gr0,fp,gr0
- 10598: 00 00 00 08 add\.p gr0,gr8,gr0
- 10598: R_FRV_FUNCDESC_VALUE \.text
- 1059c: 00 00 00 02 add\.p gr0,fp,gr0
- 105a0: 00 00 00 08 add\.p gr0,gr8,gr0
- 105a0: R_FRV_FUNCDESC_VALUE \.text
- 105a4: 00 00 00 02 add\.p gr0,fp,gr0
- 105a8: 00 00 00 08 add\.p gr0,gr8,gr0
- 105a8: R_FRV_FUNCDESC_VALUE \.text
- 105ac: 00 00 00 02 add\.p gr0,fp,gr0
- 105b0: 00 00 00 08 add\.p gr0,gr8,gr0
- 105b0: R_FRV_FUNCDESC_VALUE \.text
- 105b4: 00 00 00 02 add\.p gr0,fp,gr0
+000046b8 <_GLOBAL_OFFSET_TABLE_-0x18>:
+ 46b8: 00 00 00 08 add\.p gr0,gr8,gr0
+ 46b8: R_FRV_FUNCDESC_VALUE \.text
+ 46bc: 00 00 00 02 add\.p gr0,fp,gr0
+ 46c0: 00 00 00 08 add\.p gr0,gr8,gr0
+ 46c0: R_FRV_FUNCDESC_VALUE \.text
+ 46c4: 00 00 00 02 add\.p gr0,fp,gr0
+ 46c8: 00 00 00 08 add\.p gr0,gr8,gr0
+ 46c8: R_FRV_FUNCDESC_VALUE \.text
+ 46cc: 00 00 00 02 add\.p gr0,fp,gr0
-000105b8 <_GLOBAL_OFFSET_TABLE_>:
+000046d0 <_GLOBAL_OFFSET_TABLE_>:
\.\.\.
- 105c4: 00 00 00 08 add\.p gr0,gr8,gr0
- 105c4: R_FRV_32 \.got
- 105c8: 00 00 00 08 add\.p gr0,gr8,gr0
- 105c8: R_FRV_32 \.text
- 105cc: 00 00 00 08 add\.p gr0,gr8,gr0
- 105cc: R_FRV_32 \.text
- 105d0: 00 00 00 20 add\.p gr0,gr32,gr0
- 105d0: R_FRV_32 \.got
- 105d4: 00 00 00 18 add\.p gr0,gr24,gr0
- 105d4: R_FRV_32 \.got
- 105d8: 00 00 00 08 add\.p gr0,gr8,gr0
- 105d8: R_FRV_32 \.data
- 105dc: 00 00 00 08 add\.p gr0,gr8,gr0
- 105dc: R_FRV_32 \.text
+ 46dc: 00 00 00 04 add\.p gr0,gr4,gr0
+ 46dc: R_FRV_FUNCDESC \.text
+ 46e0: 00 00 00 08 add\.p gr0,gr8,gr0
+ 46e0: R_FRV_32 \.text
+ 46e4: 00 00 00 08 add\.p gr0,gr8,gr0
+ 46e4: R_FRV_32 \.text
+ 46e8: 00 00 00 04 add\.p gr0,gr4,gr0
+ 46e8: R_FRV_FUNCDESC \.text
+ 46ec: 00 00 00 04 add\.p gr0,gr4,gr0
+ 46ec: R_FRV_FUNCDESC \.text
+ 46f0: 00 00 00 08 add\.p gr0,gr8,gr0
+ 46f0: R_FRV_32 \.data
+ 46f4: 00 00 00 08 add\.p gr0,gr8,gr0
+ 46f4: R_FRV_32 \.text
diff --git a/ld/testsuite/ld-frv/fdpic-shared-1.d b/ld/testsuite/ld-frv/fdpic-shared-1.d
index aeb3bc4..f0c5ce8 100644
--- a/ld/testsuite/ld-frv/fdpic-shared-1.d
+++ b/ld/testsuite/ld-frv/fdpic-shared-1.d
@@ -32,27 +32,27 @@ Disassembly of section \.text:
424: 80 f8 00 00 sethi hi\(0x0\),gr0
Disassembly of section \.data:
-0001042c <D1>:
- 1042c: 00 00 00 04 add\.p gr0,gr4,gr0
- 1042c: R_FRV_32 \.data
-
-00010430 <\.D0>:
- 10430: 00 00 00 00 add\.p gr0,gr0,gr0
- 10430: R_FRV_32 \.got
- 10434: 00 00 00 04 add\.p gr0,gr4,gr0
- 10434: R_FRV_32 \.text
+0000442c <D1>:
+ 442c: 00 00 00 04 add\.p gr0,gr4,gr0
+ 442c: R_FRV_32 \.data
+
+00004430 <\.D0>:
+ 4430: 00 00 00 00 add\.p gr0,gr0,gr0
+ 4430: R_FRV_32 \.got
+ 4434: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4434: R_FRV_32 \.text
Disassembly of section \.got:
-000104b0 <_GLOBAL_OFFSET_TABLE_-0x8>:
- 104b0: 00 00 00 04 add\.p gr0,gr4,gr0
- 104b0: R_FRV_FUNCDESC_VALUE \.text
- 104b4: 00 00 00 00 add\.p gr0,gr0,gr0
+000044b0 <_GLOBAL_OFFSET_TABLE_-0x8>:
+ 44b0: 00 00 00 04 add\.p gr0,gr4,gr0
+ 44b0: R_FRV_FUNCDESC_VALUE \.text
+ 44b4: 00 00 00 00 add\.p gr0,gr0,gr0
-000104b8 <_GLOBAL_OFFSET_TABLE_>:
+000044b8 <_GLOBAL_OFFSET_TABLE_>:
\.\.\.
- 104c4: 00 00 00 04 add\.p gr0,gr4,gr0
- 104c4: R_FRV_32 \.text
- 104c8: 00 00 00 00 add\.p gr0,gr0,gr0
- 104c8: R_FRV_32 \.got
- 104cc: 00 00 00 04 add\.p gr0,gr4,gr0
- 104cc: R_FRV_32 \.data
+ 44c4: 00 00 00 04 add\.p gr0,gr4,gr0
+ 44c4: R_FRV_32 \.text
+ 44c8: 00 00 00 00 add\.p gr0,gr0,gr0
+ 44c8: R_FRV_32 \.got
+ 44cc: 00 00 00 04 add\.p gr0,gr4,gr0
+ 44cc: R_FRV_32 \.data
diff --git a/ld/testsuite/ld-frv/fdpic-shared-2.d b/ld/testsuite/ld-frv/fdpic-shared-2.d
index b506788..04b7f98 100644
--- a/ld/testsuite/ld-frv/fdpic-shared-2.d
+++ b/ld/testsuite/ld-frv/fdpic-shared-2.d
@@ -46,36 +46,36 @@ Disassembly of section \.text:
63c: 80 f8 00 00 sethi hi\(0x0\),gr0
Disassembly of section \.data:
-00010644 <D2>:
- 10644: 00 00 00 00 add\.p gr0,gr0,gr0
- 10644: R_FRV_32 GD0
+00004644 <D2>:
+ 4644: 00 00 00 00 add\.p gr0,gr0,gr0
+ 4644: R_FRV_32 GD0
-00010648 <GD0>:
+00004648 <GD0>:
\.\.\.
- 10648: R_FRV_FUNCDESC GFb
- 1064c: R_FRV_32 GFb
+ 4648: R_FRV_FUNCDESC GFb
+ 464c: R_FRV_32 GFb
Disassembly of section \.got:
-000106e0 <_GLOBAL_OFFSET_TABLE_-0x20>:
- 106e0: 00 00 05 dc subxcc\.p gr0,gr28,gr0,icc1
- 106e0: R_FRV_FUNCDESC_VALUE GF9
- 106e4: 00 00 00 00 add\.p gr0,gr0,gr0
- 106e8: 00 00 05 d4 subxcc\.p gr0,gr20,gr0,icc1
- 106e8: R_FRV_FUNCDESC_VALUE GF8
- 106ec: 00 00 00 00 add\.p gr0,gr0,gr0
- 106f0: 00 00 05 e4 subxcc\.p gr0,gr36,gr0,icc1
- 106f0: R_FRV_FUNCDESC_VALUE GF7
- 106f4: 00 00 00 00 add\.p gr0,gr0,gr0
- 106f8: 00 00 05 cc subxcc\.p gr0,gr12,gr0,icc1
- 106f8: R_FRV_FUNCDESC_VALUE GF0
- 106fc: 00 00 00 00 add\.p gr0,gr0,gr0
+000046e0 <_GLOBAL_OFFSET_TABLE_-0x20>:
+ 46e0: 00 00 05 dc subxcc\.p gr0,gr28,gr0,icc1
+ 46e0: R_FRV_FUNCDESC_VALUE GF9
+ 46e4: 00 00 00 00 add\.p gr0,gr0,gr0
+ 46e8: 00 00 05 d4 subxcc\.p gr0,gr20,gr0,icc1
+ 46e8: R_FRV_FUNCDESC_VALUE GF8
+ 46ec: 00 00 00 00 add\.p gr0,gr0,gr0
+ 46f0: 00 00 05 e4 subxcc\.p gr0,gr36,gr0,icc1
+ 46f0: R_FRV_FUNCDESC_VALUE GF7
+ 46f4: 00 00 00 00 add\.p gr0,gr0,gr0
+ 46f8: 00 00 05 cc subxcc\.p gr0,gr12,gr0,icc1
+ 46f8: R_FRV_FUNCDESC_VALUE GF0
+ 46fc: 00 00 00 00 add\.p gr0,gr0,gr0
-00010700 <_GLOBAL_OFFSET_TABLE_>:
+00004700 <_GLOBAL_OFFSET_TABLE_>:
\.\.\.
- 1070c: R_FRV_FUNCDESC GF4
- 10710: R_FRV_32 GF1
- 10714: R_FRV_FUNCDESC GF6
- 10718: R_FRV_FUNCDESC GF5
- 1071c: R_FRV_32 GD4
- 10720: R_FRV_32 GF3
- 10724: R_FRV_32 GF2
+ 470c: R_FRV_FUNCDESC GF4
+ 4710: R_FRV_32 GF1
+ 4714: R_FRV_FUNCDESC GF6
+ 4718: R_FRV_FUNCDESC GF5
+ 471c: R_FRV_32 GD4
+ 4720: R_FRV_32 GF3
+ 4724: R_FRV_32 GF2
diff --git a/ld/testsuite/ld-frv/fdpic-shared-3.d b/ld/testsuite/ld-frv/fdpic-shared-3.d
index 625975b..3c7d03a 100644
--- a/ld/testsuite/ld-frv/fdpic-shared-3.d
+++ b/ld/testsuite/ld-frv/fdpic-shared-3.d
@@ -32,53 +32,53 @@ Disassembly of section \.text:
474: 80 f8 00 00 sethi hi\(0x0\),gr0
Disassembly of section \.data:
-0001047c <D3>:
- 1047c: 00 00 00 04 add\.p gr0,gr4,gr0
- 1047c: R_FRV_32 \.data
+0000447c <D3>:
+ 447c: 00 00 00 04 add\.p gr0,gr4,gr0
+ 447c: R_FRV_32 \.data
-00010480 <HD0>:
- 10480: 00 00 00 08 add\.p gr0,gr8,gr0
- 10480: R_FRV_32 \.got
- 10484: 00 00 00 04 add\.p gr0,gr4,gr0
- 10484: R_FRV_32 \.text
+00004480 <HD0>:
+ 4480: 00 00 00 08 add\.p gr0,gr8,gr0
+ 4480: R_FRV_32 \.got
+ 4484: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4484: R_FRV_32 \.text
Disassembly of section \.got:
-00010500 <_GLOBAL_OFFSET_TABLE_-0x38>:
- 10500: 00 00 00 04 add\.p gr0,gr4,gr0
- 10500: R_FRV_FUNCDESC_VALUE \.text
- 10504: 00 00 00 00 add\.p gr0,gr0,gr0
- 10508: 00 00 00 04 add\.p gr0,gr4,gr0
- 10508: R_FRV_FUNCDESC_VALUE \.text
- 1050c: 00 00 00 00 add\.p gr0,gr0,gr0
- 10510: 00 00 00 04 add\.p gr0,gr4,gr0
- 10510: R_FRV_FUNCDESC_VALUE \.text
- 10514: 00 00 00 00 add\.p gr0,gr0,gr0
- 10518: 00 00 00 04 add\.p gr0,gr4,gr0
- 10518: R_FRV_FUNCDESC_VALUE \.text
- 1051c: 00 00 00 00 add\.p gr0,gr0,gr0
- 10520: 00 00 00 04 add\.p gr0,gr4,gr0
- 10520: R_FRV_FUNCDESC_VALUE \.text
- 10524: 00 00 00 00 add\.p gr0,gr0,gr0
- 10528: 00 00 00 04 add\.p gr0,gr4,gr0
- 10528: R_FRV_FUNCDESC_VALUE \.text
- 1052c: 00 00 00 00 add\.p gr0,gr0,gr0
- 10530: 00 00 00 04 add\.p gr0,gr4,gr0
- 10530: R_FRV_FUNCDESC_VALUE \.text
- 10534: 00 00 00 00 add\.p gr0,gr0,gr0
+00004500 <_GLOBAL_OFFSET_TABLE_-0x38>:
+ 4500: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4500: R_FRV_FUNCDESC_VALUE \.text
+ 4504: 00 00 00 00 add\.p gr0,gr0,gr0
+ 4508: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4508: R_FRV_FUNCDESC_VALUE \.text
+ 450c: 00 00 00 00 add\.p gr0,gr0,gr0
+ 4510: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4510: R_FRV_FUNCDESC_VALUE \.text
+ 4514: 00 00 00 00 add\.p gr0,gr0,gr0
+ 4518: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4518: R_FRV_FUNCDESC_VALUE \.text
+ 451c: 00 00 00 00 add\.p gr0,gr0,gr0
+ 4520: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4520: R_FRV_FUNCDESC_VALUE \.text
+ 4524: 00 00 00 00 add\.p gr0,gr0,gr0
+ 4528: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4528: R_FRV_FUNCDESC_VALUE \.text
+ 452c: 00 00 00 00 add\.p gr0,gr0,gr0
+ 4530: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4530: R_FRV_FUNCDESC_VALUE \.text
+ 4534: 00 00 00 00 add\.p gr0,gr0,gr0
-00010538 <_GLOBAL_OFFSET_TABLE_>:
+00004538 <_GLOBAL_OFFSET_TABLE_>:
\.\.\.
- 10544: 00 00 00 04 add\.p gr0,gr4,gr0
- 10544: R_FRV_32 \.text
- 10548: 00 00 00 00 add\.p gr0,gr0,gr0
- 10548: R_FRV_32 \.got
- 1054c: 00 00 00 28 add\.p gr0,gr40,gr0
- 1054c: R_FRV_32 \.got
- 10550: 00 00 00 04 add\.p gr0,gr4,gr0
- 10550: R_FRV_32 \.text
- 10554: 00 00 00 04 add\.p gr0,gr4,gr0
- 10554: R_FRV_32 \.text
- 10558: 00 00 00 18 add\.p gr0,gr24,gr0
- 10558: R_FRV_32 \.got
- 1055c: 00 00 00 04 add\.p gr0,gr4,gr0
- 1055c: R_FRV_32 \.data
+ 4544: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4544: R_FRV_32 \.text
+ 4548: 00 00 00 00 add\.p gr0,gr0,gr0
+ 4548: R_FRV_32 \.got
+ 454c: 00 00 00 28 add\.p gr0,gr40,gr0
+ 454c: R_FRV_32 \.got
+ 4550: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4550: R_FRV_32 \.text
+ 4554: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4554: R_FRV_32 \.text
+ 4558: 00 00 00 18 add\.p gr0,gr24,gr0
+ 4558: R_FRV_32 \.got
+ 455c: 00 00 00 04 add\.p gr0,gr4,gr0
+ 455c: R_FRV_32 \.data
diff --git a/ld/testsuite/ld-frv/fdpic-shared-4.d b/ld/testsuite/ld-frv/fdpic-shared-4.d
index a441832..8c1098f 100644
--- a/ld/testsuite/ld-frv/fdpic-shared-4.d
+++ b/ld/testsuite/ld-frv/fdpic-shared-4.d
@@ -32,40 +32,41 @@ Disassembly of section \.text:
64c: 80 f8 00 00 sethi hi\(0x0\),gr0
Disassembly of section \.data:
-00010654 <D4>:
- 10654: 00 00 00 04 add\.p gr0,gr4,gr0
- 10654: R_FRV_32 \.data
+00004654 <D4>:
+ 4654: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4654: R_FRV_32 \.data
-00010658 <PD0>:
- 10658: 00 00 00 00 add\.p gr0,gr0,gr0
- 10658: R_FRV_FUNCDESC PFb
- 1065c: 00 00 00 04 add\.p gr0,gr4,gr0
- 1065c: R_FRV_32 \.text
+00004658 <PD0>:
+ 4658: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4658: R_FRV_FUNCDESC \.text
+ 465c: 00 00 00 04 add\.p gr0,gr4,gr0
+ 465c: R_FRV_32 \.text
Disassembly of section \.got:
-000106d8 <_GLOBAL_OFFSET_TABLE_-0x18>:
- 106d8: 00 00 00 04 add\.p gr0,gr4,gr0
- 106d8: R_FRV_FUNCDESC_VALUE \.text
- 106dc: 00 00 00 00 add\.p gr0,gr0,gr0
- 106e0: 00 00 00 04 add\.p gr0,gr4,gr0
- 106e0: R_FRV_FUNCDESC_VALUE \.text
- 106e4: 00 00 00 00 add\.p gr0,gr0,gr0
- 106e8: 00 00 00 04 add\.p gr0,gr4,gr0
- 106e8: R_FRV_FUNCDESC_VALUE \.text
- 106ec: 00 00 00 00 add\.p gr0,gr0,gr0
+000046d8 <_GLOBAL_OFFSET_TABLE_-0x18>:
+ 46d8: 00 00 00 04 add\.p gr0,gr4,gr0
+ 46d8: R_FRV_FUNCDESC_VALUE \.text
+ 46dc: 00 00 00 00 add\.p gr0,gr0,gr0
+ 46e0: 00 00 00 04 add\.p gr0,gr4,gr0
+ 46e0: R_FRV_FUNCDESC_VALUE \.text
+ 46e4: 00 00 00 00 add\.p gr0,gr0,gr0
+ 46e8: 00 00 00 04 add\.p gr0,gr4,gr0
+ 46e8: R_FRV_FUNCDESC_VALUE \.text
+ 46ec: 00 00 00 00 add\.p gr0,gr0,gr0
-000106f0 <_GLOBAL_OFFSET_TABLE_>:
+000046f0 <_GLOBAL_OFFSET_TABLE_>:
\.\.\.
- 106fc: R_FRV_FUNCDESC PF4
- 10700: 00 00 00 04 add\.p gr0,gr4,gr0
- 10700: R_FRV_32 \.text
- 10704: 00 00 00 04 add\.p gr0,gr4,gr0
- 10704: R_FRV_32 \.data
- 10708: 00 00 00 00 add\.p gr0,gr0,gr0
- 10708: R_FRV_FUNCDESC PF6
- 1070c: 00 00 00 04 add\.p gr0,gr4,gr0
- 1070c: R_FRV_32 \.text
- 10710: 00 00 00 04 add\.p gr0,gr4,gr0
- 10710: R_FRV_32 \.text
- 10714: 00 00 00 00 add\.p gr0,gr0,gr0
- 10714: R_FRV_FUNCDESC PF5
+ 46fc: 00 00 00 04 add\.p gr0,gr4,gr0
+ 46fc: R_FRV_FUNCDESC \.text
+ 4700: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4700: R_FRV_32 \.text
+ 4704: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4704: R_FRV_32 \.data
+ 4708: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4708: R_FRV_FUNCDESC \.text
+ 470c: 00 00 00 04 add\.p gr0,gr4,gr0
+ 470c: R_FRV_32 \.text
+ 4710: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4710: R_FRV_32 \.text
+ 4714: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4714: R_FRV_FUNCDESC \.text
diff --git a/ld/testsuite/ld-frv/fdpic-shared-5.d b/ld/testsuite/ld-frv/fdpic-shared-5.d
index d0767f6..9fcc933 100644
--- a/ld/testsuite/ld-frv/fdpic-shared-5.d
+++ b/ld/testsuite/ld-frv/fdpic-shared-5.d
@@ -40,44 +40,44 @@ Disassembly of section \.text:
5fc: 80 f8 00 00 sethi hi\(0x0\),gr0
Disassembly of section \.data:
-00010604 <D5>:
- 10604: 00 00 00 00 add\.p gr0,gr0,gr0
- 10604: R_FRV_32 UD0
- 10608: 00 00 00 00 add\.p gr0,gr0,gr0
- 10608: R_FRV_FUNCDESC UFb
- 1060c: 00 00 00 00 add\.p gr0,gr0,gr0
- 1060c: R_FRV_32 UFb
+00004604 <D5>:
+ 4604: 00 00 00 00 add\.p gr0,gr0,gr0
+ 4604: R_FRV_32 UD0
+ 4608: 00 00 00 00 add\.p gr0,gr0,gr0
+ 4608: R_FRV_FUNCDESC UFb
+ 460c: 00 00 00 00 add\.p gr0,gr0,gr0
+ 460c: R_FRV_32 UFb
Disassembly of section \.got:
-000106a0 <_GLOBAL_OFFSET_TABLE_-0x20>:
- 106a0: 00 00 05 b4 subx\.p gr0,gr52,gr0,icc1
- 106a0: R_FRV_FUNCDESC_VALUE UF9
- 106a4: 00 00 00 00 add\.p gr0,gr0,gr0
- 106a8: 00 00 05 9c subx\.p gr0,gr28,gr0,icc1
- 106a8: R_FRV_FUNCDESC_VALUE UF8
- 106ac: 00 00 00 00 add\.p gr0,gr0,gr0
- 106b0: 00 00 05 ac subx\.p gr0,gr44,gr0,icc1
- 106b0: R_FRV_FUNCDESC_VALUE UF0
- 106b4: 00 00 00 00 add\.p gr0,gr0,gr0
- 106b8: 00 00 05 a4 subx\.p gr0,gr36,gr0,icc1
- 106b8: R_FRV_FUNCDESC_VALUE UF7
- 106bc: 00 00 00 00 add\.p gr0,gr0,gr0
+000046a0 <_GLOBAL_OFFSET_TABLE_-0x20>:
+ 46a0: 00 00 05 b4 subx\.p gr0,gr52,gr0,icc1
+ 46a0: R_FRV_FUNCDESC_VALUE UF9
+ 46a4: 00 00 00 00 add\.p gr0,gr0,gr0
+ 46a8: 00 00 05 9c subx\.p gr0,gr28,gr0,icc1
+ 46a8: R_FRV_FUNCDESC_VALUE UF8
+ 46ac: 00 00 00 00 add\.p gr0,gr0,gr0
+ 46b0: 00 00 05 ac subx\.p gr0,gr44,gr0,icc1
+ 46b0: R_FRV_FUNCDESC_VALUE UF0
+ 46b4: 00 00 00 00 add\.p gr0,gr0,gr0
+ 46b8: 00 00 05 a4 subx\.p gr0,gr36,gr0,icc1
+ 46b8: R_FRV_FUNCDESC_VALUE UF7
+ 46bc: 00 00 00 00 add\.p gr0,gr0,gr0
-000106c0 <_GLOBAL_OFFSET_TABLE_>:
- 106c0: 00 00 00 00 add\.p gr0,gr0,gr0
- 106c4: 00 00 00 00 add\.p gr0,gr0,gr0
- 106c8: 00 00 00 00 add\.p gr0,gr0,gr0
- 106cc: 00 00 00 00 add\.p gr0,gr0,gr0
- 106cc: R_FRV_32 UF1
- 106d0: 00 00 00 00 add\.p gr0,gr0,gr0
- 106d0: R_FRV_FUNCDESC UF4
- 106d4: 00 00 00 00 add\.p gr0,gr0,gr0
- 106d4: R_FRV_32 UD1
- 106d8: 00 00 00 00 add\.p gr0,gr0,gr0
- 106d8: R_FRV_FUNCDESC UF6
- 106dc: 00 00 00 00 add\.p gr0,gr0,gr0
- 106dc: R_FRV_FUNCDESC UF5
- 106e0: 00 00 00 00 add\.p gr0,gr0,gr0
- 106e0: R_FRV_32 UF3
- 106e4: 00 00 00 00 add\.p gr0,gr0,gr0
- 106e4: R_FRV_32 UF2
+000046c0 <_GLOBAL_OFFSET_TABLE_>:
+ 46c0: 00 00 00 00 add\.p gr0,gr0,gr0
+ 46c4: 00 00 00 00 add\.p gr0,gr0,gr0
+ 46c8: 00 00 00 00 add\.p gr0,gr0,gr0
+ 46cc: 00 00 00 00 add\.p gr0,gr0,gr0
+ 46cc: R_FRV_32 UF1
+ 46d0: 00 00 00 00 add\.p gr0,gr0,gr0
+ 46d0: R_FRV_FUNCDESC UF4
+ 46d4: 00 00 00 00 add\.p gr0,gr0,gr0
+ 46d4: R_FRV_32 UD1
+ 46d8: 00 00 00 00 add\.p gr0,gr0,gr0
+ 46d8: R_FRV_FUNCDESC UF6
+ 46dc: 00 00 00 00 add\.p gr0,gr0,gr0
+ 46dc: R_FRV_FUNCDESC UF5
+ 46e0: 00 00 00 00 add\.p gr0,gr0,gr0
+ 46e0: R_FRV_32 UF3
+ 46e4: 00 00 00 00 add\.p gr0,gr0,gr0
+ 46e4: R_FRV_32 UF2
diff --git a/ld/testsuite/ld-frv/fdpic-shared-6.d b/ld/testsuite/ld-frv/fdpic-shared-6.d
index 492fe1c..8b5168c 100644
--- a/ld/testsuite/ld-frv/fdpic-shared-6.d
+++ b/ld/testsuite/ld-frv/fdpic-shared-6.d
@@ -1,6 +1,74 @@
-#name: FRV uClinux PIC relocs to undefined symbols, shared linking
+#name: FRV uClinux PIC relocs to weak undefined symbols, shared linking
#source: fdpic6.s
#objdump: -DR -j .text -j .data -j .got -j .plt
#as: -mfdpic
-#ld: -shared
-#error: different segments
+#ld: -shared --defsym WD1=D6 --version-script fdpic6.ldv
+
+.*: file format elf.*frv.*
+
+Disassembly of section \.plt:
+
+0000041c <\.plt>:
+ 41c: 00 00 00 08 add\.p gr0,gr8,gr0
+ 420: c0 1a 00 06 bra 438 <F6-0x10>
+ 424: 00 00 00 00 add\.p gr0,gr0,gr0
+ 428: c0 1a 00 04 bra 438 <F6-0x10>
+ 42c: 00 00 00 10 add\.p gr0,gr16,gr0
+ 430: c0 1a 00 02 bra 438 <F6-0x10>
+ 434: 00 00 00 18 add\.p gr0,gr24,gr0
+ 438: 88 08 f1 40 ldd @\(gr15,gr0\),gr4
+ 43c: 80 30 40 00 jmpl @\(gr4,gr0\)
+ 440: 9c cc ff f0 lddi @\(gr15,-16\),gr14
+ 444: 80 30 e0 00 jmpl @\(gr14,gr0\)
+Disassembly of section \.text:
+
+00000448 <F6>:
+ 448: fe 3f ff fe call 440 <F6-0x8>
+ 44c: 80 40 f0 0c addi gr15,12,gr0
+ 450: 80 fc 00 24 setlos 0x24,gr0
+ 454: 80 f4 00 20 setlo 0x20,gr0
+ 458: 80 f8 00 00 sethi hi\(0x0\),gr0
+ 45c: 80 40 f0 10 addi gr15,16,gr0
+ 460: 80 fc 00 18 setlos 0x18,gr0
+ 464: 80 f4 00 1c setlo 0x1c,gr0
+ 468: 80 f8 00 00 sethi hi\(0x0\),gr0
+ 46c: 80 40 ff f8 addi gr15,-8,gr0
+ 470: 80 fc ff e8 setlos 0xffffffe8,gr0
+ 474: 80 f4 ff e0 setlo 0xffe0,gr0
+ 478: 80 f8 ff ff sethi 0xffff,gr0
+ 47c: 80 f4 ff 40 setlo 0xff40,gr0
+ 480: 80 f8 ff ff sethi 0xffff,gr0
+ 484: 80 f4 00 14 setlo 0x14,gr0
+ 488: 80 f8 00 00 sethi hi\(0x0\),gr0
+Disassembly of section \.data:
+
+00004490 <D6>:
+ \.\.\.
+ 4490: R_FRV_32 WD0
+ 4494: R_FRV_FUNCDESC WFb
+ 4498: R_FRV_32 WFb
+Disassembly of section \.got:
+
+00004530 <_GLOBAL_OFFSET_TABLE_-0x20>:
+ 4530: 00 00 04 38 \*unknown\*
+ 4530: R_FRV_FUNCDESC_VALUE WF9
+ 4534: 00 00 00 00 add\.p gr0,gr0,gr0
+ 4538: 00 00 04 30 \*unknown\*
+ 4538: R_FRV_FUNCDESC_VALUE WF8
+ 453c: 00 00 00 00 add\.p gr0,gr0,gr0
+ 4540: 00 00 04 28 \*unknown\*
+ 4540: R_FRV_FUNCDESC_VALUE WF0
+ 4544: 00 00 00 00 add\.p gr0,gr0,gr0
+ 4548: 00 00 04 20 \*unknown\*
+ 4548: R_FRV_FUNCDESC_VALUE WF7
+ 454c: 00 00 00 00 add\.p gr0,gr0,gr0
+
+00004550 <_GLOBAL_OFFSET_TABLE_>:
+ \.\.\.
+ 455c: R_FRV_32 WF1
+ 4560: R_FRV_FUNCDESC WF4
+ 4564: R_FRV_32 WD2
+ 4568: R_FRV_FUNCDESC WF5
+ 456c: R_FRV_FUNCDESC WF6
+ 4570: R_FRV_32 WF3
+ 4574: R_FRV_32 WF2
diff --git a/ld/testsuite/ld-frv/fdpic-shared-7.d b/ld/testsuite/ld-frv/fdpic-shared-7.d
index 2b95623..80c26d3 100644
--- a/ld/testsuite/ld-frv/fdpic-shared-7.d
+++ b/ld/testsuite/ld-frv/fdpic-shared-7.d
@@ -32,27 +32,27 @@ Disassembly of section \.text:
424: 80 f8 00 00 sethi hi\(0x0\),gr0
Disassembly of section \.data:
-0001042c <D7>:
- 1042c: 00 00 00 08 add\.p gr0,gr8,gr0
- 1042c: R_FRV_32 \.data
-
-00010430 <\.D0>:
- 10430: 00 00 00 00 add\.p gr0,gr0,gr0
- 10430: R_FRV_32 \.got
- 10434: 00 00 00 08 add\.p gr0,gr8,gr0
- 10434: R_FRV_32 \.text
+0000442c <D7>:
+ 442c: 00 00 00 08 add\.p gr0,gr8,gr0
+ 442c: R_FRV_32 \.data
+
+00004430 <\.D0>:
+ 4430: 00 00 00 00 add\.p gr0,gr0,gr0
+ 4430: R_FRV_32 \.got
+ 4434: 00 00 00 08 add\.p gr0,gr8,gr0
+ 4434: R_FRV_32 \.text
Disassembly of section \.got:
-000104b0 <_GLOBAL_OFFSET_TABLE_-0x8>:
- 104b0: 00 00 00 08 add\.p gr0,gr8,gr0
- 104b0: R_FRV_FUNCDESC_VALUE \.text
- 104b4: 00 00 00 00 add\.p gr0,gr0,gr0
+000044b0 <_GLOBAL_OFFSET_TABLE_-0x8>:
+ 44b0: 00 00 00 08 add\.p gr0,gr8,gr0
+ 44b0: R_FRV_FUNCDESC_VALUE \.text
+ 44b4: 00 00 00 00 add\.p gr0,gr0,gr0
-000104b8 <_GLOBAL_OFFSET_TABLE_>:
+000044b8 <_GLOBAL_OFFSET_TABLE_>:
\.\.\.
- 104c4: 00 00 00 08 add\.p gr0,gr8,gr0
- 104c4: R_FRV_32 \.text
- 104c8: 00 00 00 00 add\.p gr0,gr0,gr0
- 104c8: R_FRV_32 \.got
- 104cc: 00 00 00 08 add\.p gr0,gr8,gr0
- 104cc: R_FRV_32 \.data
+ 44c4: 00 00 00 08 add\.p gr0,gr8,gr0
+ 44c4: R_FRV_32 \.text
+ 44c8: 00 00 00 00 add\.p gr0,gr0,gr0
+ 44c8: R_FRV_32 \.got
+ 44cc: 00 00 00 08 add\.p gr0,gr8,gr0
+ 44cc: R_FRV_32 \.data
diff --git a/ld/testsuite/ld-frv/fdpic-shared-8.d b/ld/testsuite/ld-frv/fdpic-shared-8.d
index fdeea73..26a5925 100644
--- a/ld/testsuite/ld-frv/fdpic-shared-8.d
+++ b/ld/testsuite/ld-frv/fdpic-shared-8.d
@@ -32,53 +32,53 @@ Disassembly of section \.text:
51c: 80 f8 00 00 sethi hi\(0x0\),gr0
Disassembly of section \.data:
-00010524 <D8>:
- 10524: 00 00 00 04 add\.p gr0,gr4,gr0
- 10524: R_FRV_32 GD0
+00004524 <D8>:
+ 4524: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4524: R_FRV_32 GD0
-00010528 <GD0>:
- 10528: 00 00 00 10 add\.p gr0,gr16,gr0
- 10528: R_FRV_32 \.got
- 1052c: 00 00 00 08 add\.p gr0,gr8,gr0
- 1052c: R_FRV_32 \.text
+00004528 <GD0>:
+ 4528: 00 00 00 10 add\.p gr0,gr16,gr0
+ 4528: R_FRV_32 \.got
+ 452c: 00 00 00 08 add\.p gr0,gr8,gr0
+ 452c: R_FRV_32 \.text
Disassembly of section \.got:
-000105a8 <_GLOBAL_OFFSET_TABLE_-0x38>:
- 105a8: 00 00 00 08 add\.p gr0,gr8,gr0
- 105a8: R_FRV_FUNCDESC_VALUE \.text
- 105ac: 00 00 00 00 add\.p gr0,gr0,gr0
- 105b0: 00 00 00 08 add\.p gr0,gr8,gr0
- 105b0: R_FRV_FUNCDESC_VALUE \.text
- 105b4: 00 00 00 00 add\.p gr0,gr0,gr0
- 105b8: 00 00 00 08 add\.p gr0,gr8,gr0
- 105b8: R_FRV_FUNCDESC_VALUE \.text
- 105bc: 00 00 00 00 add\.p gr0,gr0,gr0
- 105c0: 00 00 00 08 add\.p gr0,gr8,gr0
- 105c0: R_FRV_FUNCDESC_VALUE \.text
- 105c4: 00 00 00 00 add\.p gr0,gr0,gr0
- 105c8: 00 00 00 08 add\.p gr0,gr8,gr0
- 105c8: R_FRV_FUNCDESC_VALUE \.text
- 105cc: 00 00 00 00 add\.p gr0,gr0,gr0
- 105d0: 00 00 00 08 add\.p gr0,gr8,gr0
- 105d0: R_FRV_FUNCDESC_VALUE \.text
- 105d4: 00 00 00 00 add\.p gr0,gr0,gr0
- 105d8: 00 00 00 08 add\.p gr0,gr8,gr0
- 105d8: R_FRV_FUNCDESC_VALUE \.text
- 105dc: 00 00 00 00 add\.p gr0,gr0,gr0
+000045a8 <_GLOBAL_OFFSET_TABLE_-0x38>:
+ 45a8: 00 00 00 08 add\.p gr0,gr8,gr0
+ 45a8: R_FRV_FUNCDESC_VALUE \.text
+ 45ac: 00 00 00 00 add\.p gr0,gr0,gr0
+ 45b0: 00 00 00 08 add\.p gr0,gr8,gr0
+ 45b0: R_FRV_FUNCDESC_VALUE \.text
+ 45b4: 00 00 00 00 add\.p gr0,gr0,gr0
+ 45b8: 00 00 00 08 add\.p gr0,gr8,gr0
+ 45b8: R_FRV_FUNCDESC_VALUE \.text
+ 45bc: 00 00 00 00 add\.p gr0,gr0,gr0
+ 45c0: 00 00 00 08 add\.p gr0,gr8,gr0
+ 45c0: R_FRV_FUNCDESC_VALUE \.text
+ 45c4: 00 00 00 00 add\.p gr0,gr0,gr0
+ 45c8: 00 00 00 08 add\.p gr0,gr8,gr0
+ 45c8: R_FRV_FUNCDESC_VALUE \.text
+ 45cc: 00 00 00 00 add\.p gr0,gr0,gr0
+ 45d0: 00 00 00 08 add\.p gr0,gr8,gr0
+ 45d0: R_FRV_FUNCDESC_VALUE \.text
+ 45d4: 00 00 00 00 add\.p gr0,gr0,gr0
+ 45d8: 00 00 00 08 add\.p gr0,gr8,gr0
+ 45d8: R_FRV_FUNCDESC_VALUE \.text
+ 45dc: 00 00 00 00 add\.p gr0,gr0,gr0
-000105e0 <_GLOBAL_OFFSET_TABLE_>:
+000045e0 <_GLOBAL_OFFSET_TABLE_>:
\.\.\.
- 105ec: 00 00 00 08 add\.p gr0,gr8,gr0
- 105ec: R_FRV_32 \.got
- 105f0: 00 00 00 04 add\.p gr0,gr4,gr0
- 105f0: R_FRV_32 GF1
- 105f4: 00 00 00 04 add\.p gr0,gr4,gr0
- 105f4: R_FRV_32 GF2
- 105f8: 00 00 00 20 add\.p gr0,gr32,gr0
- 105f8: R_FRV_32 \.got
- 105fc: 00 00 00 18 add\.p gr0,gr24,gr0
- 105fc: R_FRV_32 \.got
- 10600: 00 00 00 04 add\.p gr0,gr4,gr0
- 10600: R_FRV_32 GD4
- 10604: 00 00 00 04 add\.p gr0,gr4,gr0
- 10604: R_FRV_32 GF3
+ 45ec: 00 00 00 08 add\.p gr0,gr8,gr0
+ 45ec: R_FRV_32 \.got
+ 45f0: 00 00 00 04 add\.p gr0,gr4,gr0
+ 45f0: R_FRV_32 GF1
+ 45f4: 00 00 00 04 add\.p gr0,gr4,gr0
+ 45f4: R_FRV_32 GF2
+ 45f8: 00 00 00 20 add\.p gr0,gr32,gr0
+ 45f8: R_FRV_32 \.got
+ 45fc: 00 00 00 18 add\.p gr0,gr24,gr0
+ 45fc: R_FRV_32 \.got
+ 4600: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4600: R_FRV_32 GD4
+ 4604: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4604: R_FRV_32 GF3
diff --git a/ld/testsuite/ld-frv/fdpic-shared-local-2.d b/ld/testsuite/ld-frv/fdpic-shared-local-2.d
index 6f7b205..a857a2f 100644
--- a/ld/testsuite/ld-frv/fdpic-shared-local-2.d
+++ b/ld/testsuite/ld-frv/fdpic-shared-local-2.d
@@ -32,53 +32,53 @@ Disassembly of section \.text:
348: 80 f8 00 00 sethi hi\(0x0\),gr0
Disassembly of section \.data:
-00010350 <D2>:
- 10350: 00 00 00 04 add\.p gr0,gr4,gr0
- 10350: R_FRV_32 \.data
+00004350 <D2>:
+ 4350: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4350: R_FRV_32 \.data
-00010354 <GD0>:
- 10354: 00 00 00 18 add\.p gr0,gr24,gr0
- 10354: R_FRV_32 \.got
- 10358: 00 00 00 04 add\.p gr0,gr4,gr0
- 10358: R_FRV_32 \.text
+00004354 <GD0>:
+ 4354: 00 00 00 18 add\.p gr0,gr24,gr0
+ 4354: R_FRV_32 \.got
+ 4358: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4358: R_FRV_32 \.text
Disassembly of section \.got:
-000103d8 <_GLOBAL_OFFSET_TABLE_-0x38>:
- 103d8: 00 00 00 04 add\.p gr0,gr4,gr0
- 103d8: R_FRV_FUNCDESC_VALUE \.text
- 103dc: 00 00 00 00 add\.p gr0,gr0,gr0
- 103e0: 00 00 00 04 add\.p gr0,gr4,gr0
- 103e0: R_FRV_FUNCDESC_VALUE \.text
- 103e4: 00 00 00 00 add\.p gr0,gr0,gr0
- 103e8: 00 00 00 04 add\.p gr0,gr4,gr0
- 103e8: R_FRV_FUNCDESC_VALUE \.text
- 103ec: 00 00 00 00 add\.p gr0,gr0,gr0
- 103f0: 00 00 00 04 add\.p gr0,gr4,gr0
- 103f0: R_FRV_FUNCDESC_VALUE \.text
- 103f4: 00 00 00 00 add\.p gr0,gr0,gr0
- 103f8: 00 00 00 04 add\.p gr0,gr4,gr0
- 103f8: R_FRV_FUNCDESC_VALUE \.text
- 103fc: 00 00 00 00 add\.p gr0,gr0,gr0
- 10400: 00 00 00 04 add\.p gr0,gr4,gr0
- 10400: R_FRV_FUNCDESC_VALUE \.text
- 10404: 00 00 00 00 add\.p gr0,gr0,gr0
- 10408: 00 00 00 04 add\.p gr0,gr4,gr0
- 10408: R_FRV_FUNCDESC_VALUE \.text
- 1040c: 00 00 00 00 add\.p gr0,gr0,gr0
+000043d8 <_GLOBAL_OFFSET_TABLE_-0x38>:
+ 43d8: 00 00 00 04 add\.p gr0,gr4,gr0
+ 43d8: R_FRV_FUNCDESC_VALUE \.text
+ 43dc: 00 00 00 00 add\.p gr0,gr0,gr0
+ 43e0: 00 00 00 04 add\.p gr0,gr4,gr0
+ 43e0: R_FRV_FUNCDESC_VALUE \.text
+ 43e4: 00 00 00 00 add\.p gr0,gr0,gr0
+ 43e8: 00 00 00 04 add\.p gr0,gr4,gr0
+ 43e8: R_FRV_FUNCDESC_VALUE \.text
+ 43ec: 00 00 00 00 add\.p gr0,gr0,gr0
+ 43f0: 00 00 00 04 add\.p gr0,gr4,gr0
+ 43f0: R_FRV_FUNCDESC_VALUE \.text
+ 43f4: 00 00 00 00 add\.p gr0,gr0,gr0
+ 43f8: 00 00 00 04 add\.p gr0,gr4,gr0
+ 43f8: R_FRV_FUNCDESC_VALUE \.text
+ 43fc: 00 00 00 00 add\.p gr0,gr0,gr0
+ 4400: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4400: R_FRV_FUNCDESC_VALUE \.text
+ 4404: 00 00 00 00 add\.p gr0,gr0,gr0
+ 4408: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4408: R_FRV_FUNCDESC_VALUE \.text
+ 440c: 00 00 00 00 add\.p gr0,gr0,gr0
-00010410 <_GLOBAL_OFFSET_TABLE_>:
+00004410 <_GLOBAL_OFFSET_TABLE_>:
\.\.\.
- 1041c: 00 00 00 10 add\.p gr0,gr16,gr0
- 1041c: R_FRV_32 \.got
- 10420: 00 00 00 04 add\.p gr0,gr4,gr0
- 10420: R_FRV_32 \.text
- 10424: 00 00 00 28 add\.p gr0,gr40,gr0
- 10424: R_FRV_32 \.got
- 10428: 00 00 00 20 add\.p gr0,gr32,gr0
- 10428: R_FRV_32 \.got
- 1042c: 00 00 00 04 add\.p gr0,gr4,gr0
- 1042c: R_FRV_32 \.data
- 10430: 00 00 00 04 add\.p gr0,gr4,gr0
- 10430: R_FRV_32 \.text
- 10434: 00 00 00 04 add\.p gr0,gr4,gr0
- 10434: R_FRV_32 \.text
+ 441c: 00 00 00 10 add\.p gr0,gr16,gr0
+ 441c: R_FRV_32 \.got
+ 4420: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4420: R_FRV_32 \.text
+ 4424: 00 00 00 28 add\.p gr0,gr40,gr0
+ 4424: R_FRV_32 \.got
+ 4428: 00 00 00 20 add\.p gr0,gr32,gr0
+ 4428: R_FRV_32 \.got
+ 442c: 00 00 00 04 add\.p gr0,gr4,gr0
+ 442c: R_FRV_32 \.data
+ 4430: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4430: R_FRV_32 \.text
+ 4434: 00 00 00 04 add\.p gr0,gr4,gr0
+ 4434: R_FRV_32 \.text
diff --git a/ld/testsuite/ld-frv/fdpic-shared-local-8.d b/ld/testsuite/ld-frv/fdpic-shared-local-8.d
index 7b12051..8b179e3 100644
--- a/ld/testsuite/ld-frv/fdpic-shared-local-8.d
+++ b/ld/testsuite/ld-frv/fdpic-shared-local-8.d
@@ -32,53 +32,53 @@ Disassembly of section \.text:
348: 80 f8 00 00 sethi hi\(0x0\),gr0
Disassembly of section \.data:
-00010350 <D8>:
- 10350: 00 00 00 08 add\.p gr0,gr8,gr0
- 10350: R_FRV_32 \.data
+00004350 <D8>:
+ 4350: 00 00 00 08 add\.p gr0,gr8,gr0
+ 4350: R_FRV_32 \.data
-00010354 <GD0>:
- 10354: 00 00 00 10 add\.p gr0,gr16,gr0
- 10354: R_FRV_32 \.got
- 10358: 00 00 00 08 add\.p gr0,gr8,gr0
- 10358: R_FRV_32 \.text
+00004354 <GD0>:
+ 4354: 00 00 00 10 add\.p gr0,gr16,gr0
+ 4354: R_FRV_32 \.got
+ 4358: 00 00 00 08 add\.p gr0,gr8,gr0
+ 4358: R_FRV_32 \.text
Disassembly of section \.got:
-000103d8 <_GLOBAL_OFFSET_TABLE_-0x38>:
- 103d8: 00 00 00 08 add\.p gr0,gr8,gr0
- 103d8: R_FRV_FUNCDESC_VALUE \.text
- 103dc: 00 00 00 00 add\.p gr0,gr0,gr0
- 103e0: 00 00 00 08 add\.p gr0,gr8,gr0
- 103e0: R_FRV_FUNCDESC_VALUE \.text
- 103e4: 00 00 00 00 add\.p gr0,gr0,gr0
- 103e8: 00 00 00 08 add\.p gr0,gr8,gr0
- 103e8: R_FRV_FUNCDESC_VALUE \.text
- 103ec: 00 00 00 00 add\.p gr0,gr0,gr0
- 103f0: 00 00 00 08 add\.p gr0,gr8,gr0
- 103f0: R_FRV_FUNCDESC_VALUE \.text
- 103f4: 00 00 00 00 add\.p gr0,gr0,gr0
- 103f8: 00 00 00 08 add\.p gr0,gr8,gr0
- 103f8: R_FRV_FUNCDESC_VALUE \.text
- 103fc: 00 00 00 00 add\.p gr0,gr0,gr0
- 10400: 00 00 00 08 add\.p gr0,gr8,gr0
- 10400: R_FRV_FUNCDESC_VALUE \.text
- 10404: 00 00 00 00 add\.p gr0,gr0,gr0
- 10408: 00 00 00 08 add\.p gr0,gr8,gr0
- 10408: R_FRV_FUNCDESC_VALUE \.text
- 1040c: 00 00 00 00 add\.p gr0,gr0,gr0
+000043d8 <_GLOBAL_OFFSET_TABLE_-0x38>:
+ 43d8: 00 00 00 08 add\.p gr0,gr8,gr0
+ 43d8: R_FRV_FUNCDESC_VALUE \.text
+ 43dc: 00 00 00 00 add\.p gr0,gr0,gr0
+ 43e0: 00 00 00 08 add\.p gr0,gr8,gr0
+ 43e0: R_FRV_FUNCDESC_VALUE \.text
+ 43e4: 00 00 00 00 add\.p gr0,gr0,gr0
+ 43e8: 00 00 00 08 add\.p gr0,gr8,gr0
+ 43e8: R_FRV_FUNCDESC_VALUE \.text
+ 43ec: 00 00 00 00 add\.p gr0,gr0,gr0
+ 43f0: 00 00 00 08 add\.p gr0,gr8,gr0
+ 43f0: R_FRV_FUNCDESC_VALUE \.text
+ 43f4: 00 00 00 00 add\.p gr0,gr0,gr0
+ 43f8: 00 00 00 08 add\.p gr0,gr8,gr0
+ 43f8: R_FRV_FUNCDESC_VALUE \.text
+ 43fc: 00 00 00 00 add\.p gr0,gr0,gr0
+ 4400: 00 00 00 08 add\.p gr0,gr8,gr0
+ 4400: R_FRV_FUNCDESC_VALUE \.text
+ 4404: 00 00 00 00 add\.p gr0,gr0,gr0
+ 4408: 00 00 00 08 add\.p gr0,gr8,gr0
+ 4408: R_FRV_FUNCDESC_VALUE \.text
+ 440c: 00 00 00 00 add\.p gr0,gr0,gr0
-00010410 <_GLOBAL_OFFSET_TABLE_>:
+00004410 <_GLOBAL_OFFSET_TABLE_>:
\.\.\.
- 1041c: 00 00 00 08 add\.p gr0,gr8,gr0
- 1041c: R_FRV_32 \.got
- 10420: 00 00 00 08 add\.p gr0,gr8,gr0
- 10420: R_FRV_32 \.text
- 10424: 00 00 00 08 add\.p gr0,gr8,gr0
- 10424: R_FRV_32 \.text
- 10428: 00 00 00 20 add\.p gr0,gr32,gr0
- 10428: R_FRV_32 \.got
- 1042c: 00 00 00 18 add\.p gr0,gr24,gr0
- 1042c: R_FRV_32 \.got
- 10430: 00 00 00 08 add\.p gr0,gr8,gr0
- 10430: R_FRV_32 \.data
- 10434: 00 00 00 08 add\.p gr0,gr8,gr0
- 10434: R_FRV_32 \.text
+ 441c: 00 00 00 08 add\.p gr0,gr8,gr0
+ 441c: R_FRV_32 \.got
+ 4420: 00 00 00 08 add\.p gr0,gr8,gr0
+ 4420: R_FRV_32 \.text
+ 4424: 00 00 00 08 add\.p gr0,gr8,gr0
+ 4424: R_FRV_32 \.text
+ 4428: 00 00 00 20 add\.p gr0,gr32,gr0
+ 4428: R_FRV_32 \.got
+ 442c: 00 00 00 18 add\.p gr0,gr24,gr0
+ 442c: R_FRV_32 \.got
+ 4430: 00 00 00 08 add\.p gr0,gr8,gr0
+ 4430: R_FRV_32 \.data
+ 4434: 00 00 00 08 add\.p gr0,gr8,gr0
+ 4434: R_FRV_32 \.text
diff --git a/ld/testsuite/ld-frv/fdpic-static-1.d b/ld/testsuite/ld-frv/fdpic-static-1.d
index 246e24e..dd3a498 100644
--- a/ld/testsuite/ld-frv/fdpic-static-1.d
+++ b/ld/testsuite/ld-frv/fdpic-static-1.d
@@ -33,31 +33,31 @@ Disassembly of section \.text:
Disassembly of section \.rofixup:
000100e0 <__ROFIXUP_LIST__>:
- 100e0: 00 02 01 24 sub\.p gr32,gr36,gr0
- 100e4: 00 02 01 28 sub\.p gr32,gr40,gr0
- 100e8: 00 02 01 10 sub\.p gr32,gr16,gr0
- 100ec: 00 02 01 14 sub\.p gr32,gr20,gr0
- 100f0: 00 02 01 2c sub\.p gr32,gr44,gr0
- 100f4: 00 02 01 04 sub\.p gr32,gr4,gr0
- 100f8: 00 02 01 08 sub\.p gr32,gr8,gr0
- 100fc: 00 02 01 0c sub\.p gr32,gr12,gr0
- 10100: 00 02 01 18 sub\.p gr32,gr24,gr0
+ 100e0: 00 01 41 24 sub\.p gr20,gr36,gr0
+ 100e4: 00 01 41 28 sub\.p gr20,gr40,gr0
+ 100e8: 00 01 41 10 sub\.p gr20,gr16,gr0
+ 100ec: 00 01 41 14 sub\.p gr20,gr20,gr0
+ 100f0: 00 01 41 2c sub\.p gr20,gr44,gr0
+ 100f4: 00 01 41 04 sub\.p gr20,gr4,gr0
+ 100f8: 00 01 41 08 sub\.p gr20,gr8,gr0
+ 100fc: 00 01 41 0c sub\.p gr20,gr12,gr0
+ 10100: 00 01 41 18 sub\.p gr20,gr24,gr0
Disassembly of section \.data:
-00020104 <D1>:
- 20104: 00 02 01 08 sub\.p gr32,gr8,gr0
+00014104 <D1>:
+ 14104: 00 01 41 08 sub\.p gr20,gr8,gr0
-00020108 <\.D0>:
- 20108: 00 02 01 10 sub\.p gr32,gr16,gr0
- 2010c: 00 01 00 98 addx\.p gr16,gr24,gr0,icc0
+00014108 <\.D0>:
+ 14108: 00 01 41 10 sub\.p gr20,gr16,gr0
+ 1410c: 00 01 00 98 addx\.p gr16,gr24,gr0,icc0
Disassembly of section \.got:
-00020110 <_GLOBAL_OFFSET_TABLE_-0x8>:
- 20110: 00 01 00 98 addx\.p gr16,gr24,gr0,icc0
- 20114: 00 02 01 18 sub\.p gr32,gr24,gr0
+00014110 <_GLOBAL_OFFSET_TABLE_-0x8>:
+ 14110: 00 01 00 98 addx\.p gr16,gr24,gr0,icc0
+ 14114: 00 01 41 18 sub\.p gr20,gr24,gr0
-00020118 <_GLOBAL_OFFSET_TABLE_>:
+00014118 <_GLOBAL_OFFSET_TABLE_>:
\.\.\.
- 20124: 00 01 00 98 addx\.p gr16,gr24,gr0,icc0
- 20128: 00 02 01 10 sub\.p gr32,gr16,gr0
- 2012c: 00 02 01 08 sub\.p gr32,gr8,gr0
+ 14124: 00 01 00 98 addx\.p gr16,gr24,gr0,icc0
+ 14128: 00 01 41 10 sub\.p gr20,gr16,gr0
+ 1412c: 00 01 41 08 sub\.p gr20,gr8,gr0
diff --git a/ld/testsuite/ld-frv/fdpic-static-2.d b/ld/testsuite/ld-frv/fdpic-static-2.d
index 1c6b371..26003b3 100644
--- a/ld/testsuite/ld-frv/fdpic-static-2.d
+++ b/ld/testsuite/ld-frv/fdpic-static-2.d
@@ -33,63 +33,63 @@ Disassembly of section \.text:
Disassembly of section \.rofixup:
000100e0 <__ROFIXUP_LIST__>:
- 100e0: 00 02 01 98 subx\.p gr32,gr24,gr0,icc0
- 100e4: 00 02 01 ac subx\.p gr32,gr44,gr0,icc0
- 100e8: 00 02 01 a8 subx\.p gr32,gr40,gr0,icc0
- 100ec: 00 02 01 94 subx\.p gr32,gr20,gr0,icc0
- 100f0: 00 02 01 60 subcc\.p gr32,gr32,gr0,icc0
- 100f4: 00 02 01 64 subcc\.p gr32,gr36,gr0,icc0
- 100f8: 00 02 01 a0 subx\.p gr32,gr32,gr0,icc0
- 100fc: 00 02 01 70 subcc\.p gr32,gr48,gr0,icc0
- 10100: 00 02 01 74 subcc\.p gr32,gr52,gr0,icc0
- 10104: 00 02 01 9c subx\.p gr32,gr28,gr0,icc0
- 10108: 00 02 01 78 subcc\.p gr32,gr56,gr0,icc0
- 1010c: 00 02 01 7c subcc\.p gr32,gr60,gr0,icc0
- 10110: 00 02 01 80 subx\.p gr32,gr0,gr0,icc0
- 10114: 00 02 01 84 subx\.p gr32,gr4,gr0,icc0
- 10118: 00 02 01 58 subcc\.p gr32,gr24,gr0,icc0
- 1011c: 00 02 01 5c subcc\.p gr32,gr28,gr0,icc0
- 10120: 00 02 01 50 subcc\.p gr32,gr16,gr0,icc0
- 10124: 00 02 01 54 subcc\.p gr32,gr20,gr0,icc0
- 10128: 00 02 01 a4 subx\.p gr32,gr36,gr0,icc0
- 1012c: 00 02 01 44 subcc\.p gr32,gr4,gr0,icc0
- 10130: 00 02 01 68 subcc\.p gr32,gr40,gr0,icc0
- 10134: 00 02 01 6c subcc\.p gr32,gr44,gr0,icc0
- 10138: 00 02 01 48 subcc\.p gr32,gr8,gr0,icc0
- 1013c: 00 02 01 4c subcc\.p gr32,gr12,gr0,icc0
- 10140: 00 02 01 88 subx\.p gr32,gr8,gr0,icc0
+ 100e0: 00 01 41 98 subx\.p gr20,gr24,gr0,icc0
+ 100e4: 00 01 41 ac subx\.p gr20,gr44,gr0,icc0
+ 100e8: 00 01 41 a8 subx\.p gr20,gr40,gr0,icc0
+ 100ec: 00 01 41 94 subx\.p gr20,gr20,gr0,icc0
+ 100f0: 00 01 41 60 subcc\.p gr20,gr32,gr0,icc0
+ 100f4: 00 01 41 64 subcc\.p gr20,gr36,gr0,icc0
+ 100f8: 00 01 41 a0 subx\.p gr20,gr32,gr0,icc0
+ 100fc: 00 01 41 70 subcc\.p gr20,gr48,gr0,icc0
+ 10100: 00 01 41 74 subcc\.p gr20,gr52,gr0,icc0
+ 10104: 00 01 41 9c subx\.p gr20,gr28,gr0,icc0
+ 10108: 00 01 41 78 subcc\.p gr20,gr56,gr0,icc0
+ 1010c: 00 01 41 7c subcc\.p gr20,gr60,gr0,icc0
+ 10110: 00 01 41 80 subx\.p gr20,gr0,gr0,icc0
+ 10114: 00 01 41 84 subx\.p gr20,gr4,gr0,icc0
+ 10118: 00 01 41 58 subcc\.p gr20,gr24,gr0,icc0
+ 1011c: 00 01 41 5c subcc\.p gr20,gr28,gr0,icc0
+ 10120: 00 01 41 50 subcc\.p gr20,gr16,gr0,icc0
+ 10124: 00 01 41 54 subcc\.p gr20,gr20,gr0,icc0
+ 10128: 00 01 41 a4 subx\.p gr20,gr36,gr0,icc0
+ 1012c: 00 01 41 44 subcc\.p gr20,gr4,gr0,icc0
+ 10130: 00 01 41 68 subcc\.p gr20,gr40,gr0,icc0
+ 10134: 00 01 41 6c subcc\.p gr20,gr44,gr0,icc0
+ 10138: 00 01 41 48 subcc\.p gr20,gr8,gr0,icc0
+ 1013c: 00 01 41 4c subcc\.p gr20,gr12,gr0,icc0
+ 10140: 00 01 41 88 subx\.p gr20,gr8,gr0,icc0
Disassembly of section \.data:
-00020144 <D2>:
- 20144: 00 02 01 48 subcc\.p gr32,gr8,gr0,icc0
+00014144 <D2>:
+ 14144: 00 01 41 48 subcc\.p gr20,gr8,gr0,icc0
-00020148 <GD0>:
- 20148: 00 02 01 68 subcc\.p gr32,gr40,gr0,icc0
- 2014c: 00 01 00 98 addx\.p gr16,gr24,gr0,icc0
+00014148 <GD0>:
+ 14148: 00 01 41 68 subcc\.p gr20,gr40,gr0,icc0
+ 1414c: 00 01 00 98 addx\.p gr16,gr24,gr0,icc0
Disassembly of section \.got:
-00020150 <_GLOBAL_OFFSET_TABLE_-0x38>:
- 20150: 00 01 00 98 addx\.p gr16,gr24,gr0,icc0
- 20154: 00 02 01 88 subx\.p gr32,gr8,gr0,icc0
- 20158: 00 01 00 98 addx\.p gr16,gr24,gr0,icc0
- 2015c: 00 02 01 88 subx\.p gr32,gr8,gr0,icc0
- 20160: 00 01 00 98 addx\.p gr16,gr24,gr0,icc0
- 20164: 00 02 01 88 subx\.p gr32,gr8,gr0,icc0
- 20168: 00 01 00 98 addx\.p gr16,gr24,gr0,icc0
- 2016c: 00 02 01 88 subx\.p gr32,gr8,gr0,icc0
- 20170: 00 01 00 98 addx\.p gr16,gr24,gr0,icc0
- 20174: 00 02 01 88 subx\.p gr32,gr8,gr0,icc0
- 20178: 00 01 00 98 addx\.p gr16,gr24,gr0,icc0
- 2017c: 00 02 01 88 subx\.p gr32,gr8,gr0,icc0
- 20180: 00 01 00 98 addx\.p gr16,gr24,gr0,icc0
- 20184: 00 02 01 88 subx\.p gr32,gr8,gr0,icc0
+00014150 <_GLOBAL_OFFSET_TABLE_-0x38>:
+ 14150: 00 01 00 98 addx\.p gr16,gr24,gr0,icc0
+ 14154: 00 01 41 88 subx\.p gr20,gr8,gr0,icc0
+ 14158: 00 01 00 98 addx\.p gr16,gr24,gr0,icc0
+ 1415c: 00 01 41 88 subx\.p gr20,gr8,gr0,icc0
+ 14160: 00 01 00 98 addx\.p gr16,gr24,gr0,icc0
+ 14164: 00 01 41 88 subx\.p gr20,gr8,gr0,icc0
+ 14168: 00 01 00 98 addx\.p gr16,gr24,gr0,icc0
+ 1416c: 00 01 41 88 subx\.p gr20,gr8,gr0,icc0
+ 14170: 00 01 00 98 addx\.p gr16,gr24,gr0,icc0
+ 14174: 00 01 41 88 subx\.p gr20,gr8,gr0,icc0
+ 14178: 00 01 00 98 addx\.p gr16,gr24,gr0,icc0
+ 1417c: 00 01 41 88 subx\.p gr20,gr8,gr0,icc0
+ 14180: 00 01 00 98 addx\.p gr16,gr24,gr0,icc0
+ 14184: 00 01 41 88 subx\.p gr20,gr8,gr0,icc0
-00020188 <_GLOBAL_OFFSET_TABLE_>:
+00014188 <_GLOBAL_OFFSET_TABLE_>:
\.\.\.
- 20194: 00 02 01 60 subcc\.p gr32,gr32,gr0,icc0
- 20198: 00 01 00 98 addx\.p gr16,gr24,gr0,icc0
- 2019c: 00 02 01 78 subcc\.p gr32,gr56,gr0,icc0
- 201a0: 00 02 01 70 subcc\.p gr32,gr48,gr0,icc0
- 201a4: 00 02 01 48 subcc\.p gr32,gr8,gr0,icc0
- 201a8: 00 01 00 98 addx\.p gr16,gr24,gr0,icc0
- 201ac: 00 01 00 98 addx\.p gr16,gr24,gr0,icc0
+ 14194: 00 01 41 60 subcc\.p gr20,gr32,gr0,icc0
+ 14198: 00 01 00 98 addx\.p gr16,gr24,gr0,icc0
+ 1419c: 00 01 41 78 subcc\.p gr20,gr56,gr0,icc0
+ 141a0: 00 01 41 70 subcc\.p gr20,gr48,gr0,icc0
+ 141a4: 00 01 41 48 subcc\.p gr20,gr8,gr0,icc0
+ 141a8: 00 01 00 98 addx\.p gr16,gr24,gr0,icc0
+ 141ac: 00 01 00 98 addx\.p gr16,gr24,gr0,icc0
diff --git a/ld/testsuite/ld-frv/fdpic-static-6.d b/ld/testsuite/ld-frv/fdpic-static-6.d
index 5b59947..54a225b 100644
--- a/ld/testsuite/ld-frv/fdpic-static-6.d
+++ b/ld/testsuite/ld-frv/fdpic-static-6.d
@@ -1,4 +1,4 @@
-#name: FRV uClinux PIC relocs to undefined symbols, static linking
+#name: FRV uClinux PIC relocs to weak undefined symbols, static linking
#source: fdpic6.s
#objdump: -D
#as: -mfdpic
diff --git a/ld/testsuite/ld-frv/fdpic-static-7.d b/ld/testsuite/ld-frv/fdpic-static-7.d
index b8eba61..0363a67 100644
--- a/ld/testsuite/ld-frv/fdpic-static-7.d
+++ b/ld/testsuite/ld-frv/fdpic-static-7.d
@@ -33,31 +33,31 @@ Disassembly of section \.text:
Disassembly of section \.rofixup:
000100e0 <__ROFIXUP_LIST__>:
- 100e0: 00 02 01 24 sub\.p gr32,gr36,gr0
- 100e4: 00 02 01 28 sub\.p gr32,gr40,gr0
- 100e8: 00 02 01 10 sub\.p gr32,gr16,gr0
- 100ec: 00 02 01 14 sub\.p gr32,gr20,gr0
- 100f0: 00 02 01 2c sub\.p gr32,gr44,gr0
- 100f4: 00 02 01 04 sub\.p gr32,gr4,gr0
- 100f8: 00 02 01 08 sub\.p gr32,gr8,gr0
- 100fc: 00 02 01 0c sub\.p gr32,gr12,gr0
- 10100: 00 02 01 18 sub\.p gr32,gr24,gr0
+ 100e0: 00 01 41 24 sub\.p gr20,gr36,gr0
+ 100e4: 00 01 41 28 sub\.p gr20,gr40,gr0
+ 100e8: 00 01 41 10 sub\.p gr20,gr16,gr0
+ 100ec: 00 01 41 14 sub\.p gr20,gr20,gr0
+ 100f0: 00 01 41 2c sub\.p gr20,gr44,gr0
+ 100f4: 00 01 41 04 sub\.p gr20,gr4,gr0
+ 100f8: 00 01 41 08 sub\.p gr20,gr8,gr0
+ 100fc: 00 01 41 0c sub\.p gr20,gr12,gr0
+ 10100: 00 01 41 18 sub\.p gr20,gr24,gr0
Disassembly of section \.data:
-00020104 <D7>:
- 20104: 00 02 01 0c sub\.p gr32,gr12,gr0
+00014104 <D7>:
+ 14104: 00 01 41 0c sub\.p gr20,gr12,gr0
-00020108 <\.D0>:
- 20108: 00 02 01 10 sub\.p gr32,gr16,gr0
- 2010c: 00 01 00 9c addx\.p gr16,gr28,gr0,icc0
+00014108 <\.D0>:
+ 14108: 00 01 41 10 sub\.p gr20,gr16,gr0
+ 1410c: 00 01 00 9c addx\.p gr16,gr28,gr0,icc0
Disassembly of section \.got:
-00020110 <_GLOBAL_OFFSET_TABLE_-0x8>:
- 20110: 00 01 00 9c addx\.p gr16,gr28,gr0,icc0
- 20114: 00 02 01 18 sub\.p gr32,gr24,gr0
+00014110 <_GLOBAL_OFFSET_TABLE_-0x8>:
+ 14110: 00 01 00 9c addx\.p gr16,gr28,gr0,icc0
+ 14114: 00 01 41 18 sub\.p gr20,gr24,gr0
-00020118 <_GLOBAL_OFFSET_TABLE_>:
+00014118 <_GLOBAL_OFFSET_TABLE_>:
\.\.\.
- 20124: 00 01 00 9c addx\.p gr16,gr28,gr0,icc0
- 20128: 00 02 01 10 sub\.p gr32,gr16,gr0
- 2012c: 00 02 01 0c sub\.p gr32,gr12,gr0
+ 14124: 00 01 00 9c addx\.p gr16,gr28,gr0,icc0
+ 14128: 00 01 41 10 sub\.p gr20,gr16,gr0
+ 1412c: 00 01 41 0c sub\.p gr20,gr12,gr0
diff --git a/ld/testsuite/ld-frv/fdpic-static-8.d b/ld/testsuite/ld-frv/fdpic-static-8.d
index cbebb17..804c56e 100644
--- a/ld/testsuite/ld-frv/fdpic-static-8.d
+++ b/ld/testsuite/ld-frv/fdpic-static-8.d
@@ -33,63 +33,63 @@ Disassembly of section \.text:
Disassembly of section \.rofixup:
000100e0 <__ROFIXUP_LIST__>:
- 100e0: 00 02 01 98 subx\.p gr32,gr24,gr0,icc0
- 100e4: 00 02 01 9c subx\.p gr32,gr28,gr0,icc0
- 100e8: 00 02 01 ac subx\.p gr32,gr44,gr0,icc0
- 100ec: 00 02 01 94 subx\.p gr32,gr20,gr0,icc0
- 100f0: 00 02 01 58 subcc\.p gr32,gr24,gr0,icc0
- 100f4: 00 02 01 5c subcc\.p gr32,gr28,gr0,icc0
- 100f8: 00 02 01 a4 subx\.p gr32,gr36,gr0,icc0
- 100fc: 00 02 01 68 subcc\.p gr32,gr40,gr0,icc0
- 10100: 00 02 01 6c subcc\.p gr32,gr44,gr0,icc0
- 10104: 00 02 01 a0 subx\.p gr32,gr32,gr0,icc0
- 10108: 00 02 01 70 subcc\.p gr32,gr48,gr0,icc0
- 1010c: 00 02 01 74 subcc\.p gr32,gr52,gr0,icc0
- 10110: 00 02 01 80 subx\.p gr32,gr0,gr0,icc0
- 10114: 00 02 01 84 subx\.p gr32,gr4,gr0,icc0
- 10118: 00 02 01 78 subcc\.p gr32,gr56,gr0,icc0
- 1011c: 00 02 01 7c subcc\.p gr32,gr60,gr0,icc0
- 10120: 00 02 01 50 subcc\.p gr32,gr16,gr0,icc0
- 10124: 00 02 01 54 subcc\.p gr32,gr20,gr0,icc0
- 10128: 00 02 01 a8 subx\.p gr32,gr40,gr0,icc0
- 1012c: 00 02 01 44 subcc\.p gr32,gr4,gr0,icc0
- 10130: 00 02 01 60 subcc\.p gr32,gr32,gr0,icc0
- 10134: 00 02 01 64 subcc\.p gr32,gr36,gr0,icc0
- 10138: 00 02 01 48 subcc\.p gr32,gr8,gr0,icc0
- 1013c: 00 02 01 4c subcc\.p gr32,gr12,gr0,icc0
- 10140: 00 02 01 88 subx\.p gr32,gr8,gr0,icc0
+ 100e0: 00 01 41 98 subx\.p gr20,gr24,gr0,icc0
+ 100e4: 00 01 41 9c subx\.p gr20,gr28,gr0,icc0
+ 100e8: 00 01 41 ac subx\.p gr20,gr44,gr0,icc0
+ 100ec: 00 01 41 94 subx\.p gr20,gr20,gr0,icc0
+ 100f0: 00 01 41 58 subcc\.p gr20,gr24,gr0,icc0
+ 100f4: 00 01 41 5c subcc\.p gr20,gr28,gr0,icc0
+ 100f8: 00 01 41 a4 subx\.p gr20,gr36,gr0,icc0
+ 100fc: 00 01 41 68 subcc\.p gr20,gr40,gr0,icc0
+ 10100: 00 01 41 6c subcc\.p gr20,gr44,gr0,icc0
+ 10104: 00 01 41 a0 subx\.p gr20,gr32,gr0,icc0
+ 10108: 00 01 41 70 subcc\.p gr20,gr48,gr0,icc0
+ 1010c: 00 01 41 74 subcc\.p gr20,gr52,gr0,icc0
+ 10110: 00 01 41 80 subx\.p gr20,gr0,gr0,icc0
+ 10114: 00 01 41 84 subx\.p gr20,gr4,gr0,icc0
+ 10118: 00 01 41 78 subcc\.p gr20,gr56,gr0,icc0
+ 1011c: 00 01 41 7c subcc\.p gr20,gr60,gr0,icc0
+ 10120: 00 01 41 50 subcc\.p gr20,gr16,gr0,icc0
+ 10124: 00 01 41 54 subcc\.p gr20,gr20,gr0,icc0
+ 10128: 00 01 41 a8 subx\.p gr20,gr40,gr0,icc0
+ 1012c: 00 01 41 44 subcc\.p gr20,gr4,gr0,icc0
+ 10130: 00 01 41 60 subcc\.p gr20,gr32,gr0,icc0
+ 10134: 00 01 41 64 subcc\.p gr20,gr36,gr0,icc0
+ 10138: 00 01 41 48 subcc\.p gr20,gr8,gr0,icc0
+ 1013c: 00 01 41 4c subcc\.p gr20,gr12,gr0,icc0
+ 10140: 00 01 41 88 subx\.p gr20,gr8,gr0,icc0
Disassembly of section \.data:
-00020144 <D8>:
- 20144: 00 02 01 4c subcc\.p gr32,gr12,gr0,icc0
+00014144 <D8>:
+ 14144: 00 01 41 4c subcc\.p gr20,gr12,gr0,icc0
-00020148 <GD0>:
- 20148: 00 02 01 60 subcc\.p gr32,gr32,gr0,icc0
- 2014c: 00 01 00 9c addx\.p gr16,gr28,gr0,icc0
+00014148 <GD0>:
+ 14148: 00 01 41 60 subcc\.p gr20,gr32,gr0,icc0
+ 1414c: 00 01 00 9c addx\.p gr16,gr28,gr0,icc0
Disassembly of section \.got:
-00020150 <_GLOBAL_OFFSET_TABLE_-0x38>:
- 20150: 00 01 00 9c addx\.p gr16,gr28,gr0,icc0
- 20154: 00 02 01 88 subx\.p gr32,gr8,gr0,icc0
- 20158: 00 01 00 9c addx\.p gr16,gr28,gr0,icc0
- 2015c: 00 02 01 88 subx\.p gr32,gr8,gr0,icc0
- 20160: 00 01 00 9c addx\.p gr16,gr28,gr0,icc0
- 20164: 00 02 01 88 subx\.p gr32,gr8,gr0,icc0
- 20168: 00 01 00 9c addx\.p gr16,gr28,gr0,icc0
- 2016c: 00 02 01 88 subx\.p gr32,gr8,gr0,icc0
- 20170: 00 01 00 9c addx\.p gr16,gr28,gr0,icc0
- 20174: 00 02 01 88 subx\.p gr32,gr8,gr0,icc0
- 20178: 00 01 00 9c addx\.p gr16,gr28,gr0,icc0
- 2017c: 00 02 01 88 subx\.p gr32,gr8,gr0,icc0
- 20180: 00 01 00 9c addx\.p gr16,gr28,gr0,icc0
- 20184: 00 02 01 88 subx\.p gr32,gr8,gr0,icc0
+00014150 <_GLOBAL_OFFSET_TABLE_-0x38>:
+ 14150: 00 01 00 9c addx\.p gr16,gr28,gr0,icc0
+ 14154: 00 01 41 88 subx\.p gr20,gr8,gr0,icc0
+ 14158: 00 01 00 9c addx\.p gr16,gr28,gr0,icc0
+ 1415c: 00 01 41 88 subx\.p gr20,gr8,gr0,icc0
+ 14160: 00 01 00 9c addx\.p gr16,gr28,gr0,icc0
+ 14164: 00 01 41 88 subx\.p gr20,gr8,gr0,icc0
+ 14168: 00 01 00 9c addx\.p gr16,gr28,gr0,icc0
+ 1416c: 00 01 41 88 subx\.p gr20,gr8,gr0,icc0
+ 14170: 00 01 00 9c addx\.p gr16,gr28,gr0,icc0
+ 14174: 00 01 41 88 subx\.p gr20,gr8,gr0,icc0
+ 14178: 00 01 00 9c addx\.p gr16,gr28,gr0,icc0
+ 1417c: 00 01 41 88 subx\.p gr20,gr8,gr0,icc0
+ 14180: 00 01 00 9c addx\.p gr16,gr28,gr0,icc0
+ 14184: 00 01 41 88 subx\.p gr20,gr8,gr0,icc0
-00020188 <_GLOBAL_OFFSET_TABLE_>:
+00014188 <_GLOBAL_OFFSET_TABLE_>:
\.\.\.
- 20194: 00 02 01 58 subcc\.p gr32,gr24,gr0,icc0
- 20198: 00 01 00 9c addx\.p gr16,gr28,gr0,icc0
- 2019c: 00 01 00 9c addx\.p gr16,gr28,gr0,icc0
- 201a0: 00 02 01 70 subcc\.p gr32,gr48,gr0,icc0
- 201a4: 00 02 01 68 subcc\.p gr32,gr40,gr0,icc0
- 201a8: 00 02 01 4c subcc\.p gr32,gr12,gr0,icc0
- 201ac: 00 01 00 9c addx\.p gr16,gr28,gr0,icc0
+ 14194: 00 01 41 58 subcc\.p gr20,gr24,gr0,icc0
+ 14198: 00 01 00 9c addx\.p gr16,gr28,gr0,icc0
+ 1419c: 00 01 00 9c addx\.p gr16,gr28,gr0,icc0
+ 141a0: 00 01 41 70 subcc\.p gr20,gr48,gr0,icc0
+ 141a4: 00 01 41 68 subcc\.p gr20,gr40,gr0,icc0
+ 141a8: 00 01 41 4c subcc\.p gr20,gr12,gr0,icc0
+ 141ac: 00 01 00 9c addx\.p gr16,gr28,gr0,icc0
diff --git a/ld/testsuite/ld-frv/fdpic.exp b/ld/testsuite/ld-frv/fdpic.exp
index dc06d4e..1367cb0 100644
--- a/ld/testsuite/ld-frv/fdpic.exp
+++ b/ld/testsuite/ld-frv/fdpic.exp
@@ -42,7 +42,9 @@ run_dump_test "fdpic-pie-5"
run_dump_test "fdpic-shared-5"
run_dump_test "fdpic-static-6"
+run_dump_test "fdpic-pie-6-fail"
run_dump_test "fdpic-pie-6"
+run_dump_test "fdpic-shared-6-fail"
run_dump_test "fdpic-shared-6"
run_dump_test "fdpic-static-7"
@@ -50,7 +52,6 @@ run_dump_test "fdpic-pie-7"
run_dump_test "fdpic-shared-7"
run_dump_test "fdpic-static-8"
-run_dump_test "fdpic-pie-8-fail"
run_dump_test "fdpic-pie-8"
run_dump_test "fdpic-shared-8-fail"
run_dump_test "fdpic-shared-8"