Index: nacl/dyn-link/ldscripts/elf_nacl.x.static |
diff --git a/nacl/dyn-link/ldscripts/elf_nacl.x.static b/nacl/dyn-link/ldscripts/elf_nacl.x.static |
index 9952daa85564d6d2c53ec8cf477ad97375fcb882..605ab68e5f86c4d6668412d469fbda3ce5fb3903 100644 |
--- a/nacl/dyn-link/ldscripts/elf_nacl.x.static |
+++ b/nacl/dyn-link/ldscripts/elf_nacl.x.static |
@@ -53,7 +53,9 @@ SECTIONS |
*(.note.gnu.build-id) |
PROVIDE_HIDDEN (__note_gnu_build_id_end = .); |
} :seg_rodata :seg_note |
- .dummy : {} :seg_rodata |
+ /* :seg_rodata is on .dummy rather than on .hash to avoid breaking the linker |
+ script munging that glibc's Makerules does using sed. */ |
+ .dummy : {} :seg_rodata |
.hash : { *(.hash) } |
.gnu.hash : { *(.gnu.hash) } |
.dynsym : { *(.dynsym) } |