From: Alan Modra Date: Mon, 23 Feb 2004 09:24:46 +0000 (+0000) Subject: * ld-scripts/data.t: Set ".other" address so location doesn't X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=33ed461333b1726596e446392627ad2a93b6a62c;p=binutils-gdb.git * ld-scripts/data.t: Set ".other" address so location doesn't depend on target alignment. * ld-scripts/data.d: Update. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index b103d5bca59..2bb75100c91 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2004-02-23 Alan Modra + + * ld-scripts/data.t: Set ".other" address so location doesn't + depend on target alignment. + * ld-scripts/data.d: Update. + 2004-02-20 Nathan Sidwell * ld-scripts/align.{s,t,exp}: New. diff --git a/ld/testsuite/ld-scripts/data.d b/ld/testsuite/ld-scripts/data.d index 62846866c13..83d6142511a 100644 --- a/ld/testsuite/ld-scripts/data.d +++ b/ld/testsuite/ld-scripts/data.d @@ -5,5 +5,5 @@ .*: file format .* Contents of section .text: - 1000 (0410)?0000(1004)? (0810)?0000(1008)? +........ * + 1000 (0410)?0000(1004)? (0020)?0000(2000)? .* #pass diff --git a/ld/testsuite/ld-scripts/data.t b/ld/testsuite/ld-scripts/data.t index 359a02f64a5..8ee3d41bdf0 100644 --- a/ld/testsuite/ld-scripts/data.t +++ b/ld/testsuite/ld-scripts/data.t @@ -6,5 +6,5 @@ SECTIONS label = .; LONG (ADDR (.other)) } - .other : {} + .other 0x2000 : {} }