diff options
author | Kirill A. Shutemov <kirill@shutemov.name> | 2010-06-14 17:23:01 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2010-06-14 17:23:01 -0700 |
commit | 80da2e093c0e465cfa6e561488aac51c236b6fd2 (patch) | |
tree | d95bcf95a8f88e2cd14a1b0cbb4cb18cbaa9473e /elf | |
parent | af6edc9c6a0376cfbd3da4856f873ea428da822b (diff) | |
download | glibc-80da2e093c0e465cfa6e561488aac51c236b6fd2.zip glibc-80da2e093c0e465cfa6e561488aac51c236b6fd2.tar.gz glibc-80da2e093c0e465cfa6e561488aac51c236b6fd2.tar.bz2 |
Flush cache after solving TEXTRELs if arch requires it.
Diffstat (limited to 'elf')
-rw-r--r-- | elf/dl-reloc.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/elf/dl-reloc.c b/elf/dl-reloc.c index 6c00691..23cb59c 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; } |