summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>1999-01-04 01:36:57 +0000
committerAndreas Schwab <schwab@suse.de>1999-01-04 01:36:57 +0000
commit259163b8b38a85de66108dc2ebd343fc999c485c (patch)
treea9622bf1e503ed8ed5e3dbdc6d87dfcc5c431cb6
parent28e9818f043ac5f96da06451bd40b5887fed6685 (diff)
downloadglibc-259163b8b38a85de66108dc2ebd343fc999c485c.tar.gz
glibc-259163b8b38a85de66108dc2ebd343fc999c485c.tar.xz
glibc-259163b8b38a85de66108dc2ebd343fc999c485c.zip
* sysdeps/m68k/dl-machine.h (elf_machine_rela): Reorder expression
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.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/m68k/dl-machine.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 250b923e31..766e732399 100644
--- 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
diff --git a/sysdeps/m68k/dl-machine.h b/sysdeps/m68k/dl-machine.h
index 067c2fbb88..f2fe553069 100644
--- a/sysdeps/m68k/dl-machine.h
+++ b/sysdeps/m68k/dl-machine.h
@@ -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;