summaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2010-07-02 15:18:22 +0200
committerAndreas Schwab <schwab@redhat.com>2010-07-06 11:11:22 +0200
commit080c142f0e0542f7c46fe6b3472925ed31cb188a (patch)
treed90fba698eb0cd0d78ada0c7bf89d304d8489501 /elf
parent5fab284263e8fb80857fe1b654ef252a1d43e0ce (diff)
parent9a98163f266fee3ae00e2636b864e119b9cbf51f (diff)
Merge remote branch 'origin/release/2.12/master' into fedora/2.12/master
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-reloc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/elf/dl-reloc.c b/elf/dl-reloc.c
index 6c0069147d..23cb59cbc8 100644
--- a/elf/dl-reloc.c
+++ b/elf/dl-reloc.c
@@ -1,5 +1,5 @@
/* Relocate a shared object and resolve its references to other loaded objects.
- Copyright (C) 1995-2006, 2008, 2009 Free Software Foundation, Inc.
+ Copyright (C) 1995-2006, 2008, 2009, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -307,6 +307,10 @@ _dl_relocate_object (struct link_map *l, struct r_scope_elem *scope[],
goto call_error;
}
+#ifdef CLEAR_CACHE
+ CLEAR_CACHE (textrels->start, textrels->start + textrels->len);
+#endif
+
textrels = textrels->next;
}