* sysdeps/m68k/dl-machine.h (elf_machine_rela): Reorder expression
authorAndreas Schwab <schwab@suse.de>
Mon, 4 Jan 1999 01:36:57 +0000 (01:36 +0000)
committerAndreas Schwab <schwab@suse.de>
Mon, 4 Jan 1999 01:36:57 +0000 (01:36 +0000)
to avoid accessing global data in the usual case.
1998-12-28  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* sysdeps/m68k/dl-machine.h (elf_machine_rela): Reorder expression
to avoid accessing global data in the usual case.

ChangeLog
sysdeps/m68k/dl-machine.h

index 250b923..766e732 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1998-12-28  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
+
+       * sysdeps/m68k/dl-machine.h (elf_machine_rela): Reorder expression
+       to avoid accessing global data in the usual case.
+
 1999-01-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
 
        * wcsmbs/wcstold_l.c: Correct last patch to include wchar.h from
index 067c2fb..f2fe553 100644 (file)
@@ -272,7 +272,7 @@ elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc,
               found.  */
            break;
          if (sym->st_size > refsym->st_size
-             || (_dl_verbose && sym->st_size < refsym->st_size))
+             || (sym->st_size < refsym->st_size && _dl_verbose))
            {
              extern char **_dl_argv;
              const char *strtab;