From d80a02edc7de7d6655f76158b8274557e8b29c6b Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Fri, 12 Aug 2005 00:23:48 +0000 Subject: [PATCH] * ld-cris/expdyn1.s (expobj): Set size here, at definition... * ld-cris/pv32.s: ...not here. * ld-cris/expdyn1.d, ld-cris/libdso-12.d, ld-cris/locref1.d: Adjust for expobj size being set at definition. --- ld/testsuite/ChangeLog | 5 +++++ ld/testsuite/ld-cris/expdyn1.d | 4 ++-- ld/testsuite/ld-cris/expdyn1.s | 1 + ld/testsuite/ld-cris/libdso-12.d | 2 +- ld/testsuite/ld-cris/locref1.d | 2 +- ld/testsuite/ld-cris/pv32.s | 2 -- 6 files changed, 10 insertions(+), 6 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 53a6fd8033..af1cc5fed4 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2005-08-11 Hans-Peter Nilsson + * ld-cris/expdyn1.s (expobj): Set size here, at definition... + * ld-cris/pv32.s: ...not here. + * ld-cris/expdyn1.d, ld-cris/libdso-12.d, ld-cris/locref1.d: + Adjust for expobj size being set at definition. + * ld-cris/v32-ba-1.d: Regexpize to adjust for symbol change. 2005-08-08 Richard Earnshaw diff --git a/ld/testsuite/ld-cris/expdyn1.d b/ld/testsuite/ld-cris/expdyn1.d index a1fae23cff..51d875db64 100644 --- a/ld/testsuite/ld-cris/expdyn1.d +++ b/ld/testsuite/ld-cris/expdyn1.d @@ -9,6 +9,6 @@ DYNAMIC SYMBOL TABLE: #... -00080... g DF .text 00000002 expfn -00082... g DO .data 00000000 expobj +00080... g DF .text 0+2 expfn +00082... g DO .data 0+4 expobj #pass diff --git a/ld/testsuite/ld-cris/expdyn1.s b/ld/testsuite/ld-cris/expdyn1.s index 100cef4195..646be85d1f 100644 --- a/ld/testsuite/ld-cris/expdyn1.s +++ b/ld/testsuite/ld-cris/expdyn1.s @@ -1,6 +1,7 @@ .data .global expobj .type expobj,@object + .size expobj,4 expobj: .dword 0 diff --git a/ld/testsuite/ld-cris/libdso-12.d b/ld/testsuite/ld-cris/libdso-12.d index 2266f67b32..42d7fd51b2 100644 --- a/ld/testsuite/ld-cris/libdso-12.d +++ b/ld/testsuite/ld-cris/libdso-12.d @@ -14,7 +14,7 @@ DYNAMIC SYMBOL TABLE: #... 0+26e g DF \.text 0+12 dsofn4 0+264 g DF \.text 0+2 expfn -0+232c g DO \.data 0+ expobj +0+232c g DO \.data 0+4 expobj #... 0+266 g DF \.text 0+8 dsofn3 #... diff --git a/ld/testsuite/ld-cris/locref1.d b/ld/testsuite/ld-cris/locref1.d index 0411553370..c3e60a1a33 100644 --- a/ld/testsuite/ld-cris/locref1.d +++ b/ld/testsuite/ld-cris/locref1.d @@ -12,7 +12,7 @@ SYMBOL TABLE: #... 0+80076 g F \.text 0+2 expfn -0+82090 g O \.data 0+ expobj +0+82090 g O \.data 0+4 expobj #... 0+82084 g O \.got 0+ \.hidden _GLOBAL_OFFSET_TABLE_ #... diff --git a/ld/testsuite/ld-cris/pv32.s b/ld/testsuite/ld-cris/pv32.s index d08adef860..d5ef7c63f8 100644 --- a/ld/testsuite/ld-cris/pv32.s +++ b/ld/testsuite/ld-cris/pv32.s @@ -14,8 +14,6 @@ pfn: .Lfe1: .size pfn,.Lfe1-pfn - .global expobj - .size expobj,4 .global dsofn .type dsofn,@function dsofn: -- 2.34.1