diff options
-rw-r--r-- | ld/emultempl/mipself.em | 37 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/hash1.s | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/hash1a.d | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/hash1b.d | 3 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/hash1c.d | 3 |
5 files changed, 0 insertions, 48 deletions
diff --git a/ld/emultempl/mipself.em b/ld/emultempl/mipself.em deleted file mode 100644 index 846cdc5..0000000 --- a/ld/emultempl/mipself.em +++ /dev/null @@ -1,37 +0,0 @@ -# This shell script emits a C file. -*- C -*- -# Copyright 2006 Free Software Foundation, Inc. -# -# This file is part of GLD, the Gnu Linker. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. - -cat >>e${EMULATION_NAME}.c <<EOF -static void -mips_after_parse (void) -{ - /* .gnu.hash and the MIPS ABI require .dynsym to be sorted in different - ways. .gnu.hash needs symbols to be grouped by hash code whereas the - MIPS ABI requires a mapping between the GOT and the symbol table. */ - if (link_info.emit_gnu_hash) - { - einfo ("%X%P: .gnu.hash is incompatible with the MIPS ABI\n"); - link_info.emit_hash = TRUE; - link_info.emit_gnu_hash = FALSE; - } - after_parse_default (); -} -EOF - -LDEMUL_AFTER_PARSE=mips_after_parse diff --git a/ld/testsuite/ld-mips-elf/hash1.s b/ld/testsuite/ld-mips-elf/hash1.s deleted file mode 100644 index 4e7fe2f..0000000 --- a/ld/testsuite/ld-mips-elf/hash1.s +++ /dev/null @@ -1 +0,0 @@ - nop diff --git a/ld/testsuite/ld-mips-elf/hash1a.d b/ld/testsuite/ld-mips-elf/hash1a.d deleted file mode 100644 index f3adaa8..0000000 --- a/ld/testsuite/ld-mips-elf/hash1a.d +++ /dev/null @@ -1,4 +0,0 @@ -#source: hash1.s -#ld: -shared --hash-style=sysv -#objdump: -dr -#pass diff --git a/ld/testsuite/ld-mips-elf/hash1b.d b/ld/testsuite/ld-mips-elf/hash1b.d deleted file mode 100644 index 5af9037..0000000 --- a/ld/testsuite/ld-mips-elf/hash1b.d +++ /dev/null @@ -1,3 +0,0 @@ -#source: hash1.s -#ld: -shared --hash-style=both -#error: .gnu.hash is incompatible with the MIPS ABI diff --git a/ld/testsuite/ld-mips-elf/hash1c.d b/ld/testsuite/ld-mips-elf/hash1c.d deleted file mode 100644 index 09bff3c..0000000 --- a/ld/testsuite/ld-mips-elf/hash1c.d +++ /dev/null @@ -1,3 +0,0 @@ -#source: hash1.s -#ld: -shared --hash-style=gnu -#error: .gnu.hash is incompatible with the MIPS ABI |