diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 2cd6d038222..d6eddb33052 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2008-03-26  Daniel Jacobowitz  <dan@codesourcery.com>
+
+	* ld-elf/flags1.d: Adjust for MIPS text alignment.
+
 2008-03-25  Nathan Sidwell  <nathan@codesourcery.com>
 
 	* ld-vxworks/tls-3.s: New.
diff --git a/ld/testsuite/ld-elf/flags1.d b/ld/testsuite/ld-elf/flags1.d
index 0a96c6c8f52..2d079c015b8 100644
--- a/ld/testsuite/ld-elf/flags1.d
+++ b/ld/testsuite/ld-elf/flags1.d
@@ -13,7 +13,7 @@
 #...
 Program Headers:
   Type.*
-  LOAD +0x[0-9a-f]+ 0x0*0 0x0*0 0x0*016[1-8] 0x0*016[1-8] RWE 0x[0-9a-f]+
+  LOAD +0x[0-9a-f]+ 0x0*0 0x0*0 0x0*01(6[1-9a-f]|70) 0x0*01(6[1-9a-f]|70) RWE 0x[0-9a-f]+
 
 #...
   Segment Sections...