From ffd61a589b365836fdc910490b4cc411016b4060 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Sat, 13 Apr 2002 00:21:40 +0000 Subject: 2002-04-12 Michael Snyder From Jim Blandy * gdb.base/foo.c (foox): Remove section attribute; the linker script can handle this instead. * gdb.base/bar.c (barx): Same. * gdb.base/baz.c (bazx): Same. * gdb.base/grbx.c (grbxx): Same. * gdb.base/overlays.exp: New test: check that GDB's manual overlay manager doesn't automatically unmap overlays unnecessarily. --- gdb/testsuite/gdb.base/baz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/testsuite/gdb.base/baz.c') diff --git a/gdb/testsuite/gdb.base/baz.c b/gdb/testsuite/gdb.base/baz.c index a13cd16bbb..8da4ffa47a 100644 --- a/gdb/testsuite/gdb.base/baz.c +++ b/gdb/testsuite/gdb.base/baz.c @@ -1,4 +1,4 @@ -static int bazx __attribute__ ((section (".data02"))) = 'b' + 'a' + 'z'; +static int bazx = 'b' + 'a' + 'z'; int baz (int x) { -- cgit v1.2.1