]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
PIC support.
authorUlrich Drepper <drepper@redhat.com>
Thu, 7 May 1998 12:03:34 +0000 (12:03 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 7 May 1998 12:03:34 +0000 (12:03 +0000)
sysdeps/alpha/dl-machine.h

index a91c24727c6f07f8727ea9c3ebab93b88a66517e..db2ee05805631bf93375f5a4b9b639d263d9b92a 100644 (file)
@@ -392,10 +392,12 @@ elf_machine_rela (struct link_map *map,
          /* There is no point calling _dl_sysdep_error, it
             almost certainly hasn't been relocated properly.  */
          asm ("halt");
-#else
+#elif defined PIC
          extern char **_dl_argv;
          _dl_sysdep_error (_dl_argv[0] ?: "<program name unknown>",
                            ": Unknown relocation type\n", NULL);
+#else
+         assert (! "unexpected dynamic reloc type");
 #endif
        }
     }