summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--trunk/ChangeLog4
-rw-r--r--trunk/m4/libelf.m43
2 files changed, 6 insertions, 1 deletions
diff --git a/trunk/ChangeLog b/trunk/ChangeLog
index fedf04f..ccd7e0d 100644
--- a/trunk/ChangeLog
+++ b/trunk/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-19 Joseph Myers <joseph@codesourcery.com>
+
+ * m4/libelf.m4: Resync with version of code in aclocal.m4.
+
2009-09-25 Jakub Jelinek <jakub@redhat.com>
* src/dwarf2.c (adjust_location_list) <case DW_OP_implicit_value>: Add
diff --git a/trunk/m4/libelf.m4 b/trunk/m4/libelf.m4
index 7e80a5d..1156e34 100644
--- a/trunk/m4/libelf.m4
+++ b/trunk/m4/libelf.m4
@@ -73,7 +73,8 @@ int main (void)
Elf64_Addr val;
Elf_Scn *scn;
- fd = open ("conflibelftest", O_RDWR | O_CREAT | O_EXCL); if (fd == -1) exit (1);
+ fd = open ("conflibelftest", O_RDWR | O_CREAT | O_EXCL, 0600);
+ if (fd == -1) exit (1);
unlink ("conflibelftest");
if (write (fd, sparc64_elf, sizeof(sparc64_elf)) != sizeof(sparc64_elf))
exit (1);