aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cris
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2012-02-22 16:27:35 +0000
committerNick Clifton <nickc@redhat.com>2012-02-22 16:27:35 +0000
commit2aa9aad989850c1a650701e507266edbad9864d2 (patch)
tree58c7e42987e3dab1fce130a5f589e0f74aafc031 /ld/testsuite/ld-cris
parentfeea76c262d1d0ef709ad2edfa4b048f7733f847 (diff)
downloadgdb-2aa9aad989850c1a650701e507266edbad9864d2.zip
gdb-2aa9aad989850c1a650701e507266edbad9864d2.tar.gz
gdb-2aa9aad989850c1a650701e507266edbad9864d2.tar.bz2
PR ld/13683
* ldlang.c (lang_process): Rerun lang_do_assignments before starting garbage collection. * ldexp.c (fold_name): Generate a reloc for defined symbols found without an associated output section during the mark phase. (exp_fold_tree_1): Continue processing an expression, even if we are unable to fold it, if we are in the first two evaluation phases. * ldexp.h (enum lang_phase_type): Add descriptions of the phases. * ld-gc/pr13683.c: New test source file. * ld-gc/pr13683.d: New test control and output file. * ld-gc/gc.exp: Run the pr13683 test. * ld-cris/tls-gc-68: Update expected symbol table dump. * ld-cris/tls-gc-69: Likewise. * ld-cris/tls-gc-70: Likewise. * ld-cris/tls-gc-71: Likewise. * ld-cris/tls-gc-75: Likewise. * ld-cris/tls-gc-76.d: Likewise. * ld-cris/tls-gc-79.d: Likewise.
Diffstat (limited to 'ld/testsuite/ld-cris')
-rw-r--r--ld/testsuite/ld-cris/tls-gc-68.d6
-rw-r--r--ld/testsuite/ld-cris/tls-gc-69.d6
-rw-r--r--ld/testsuite/ld-cris/tls-gc-70.d6
-rw-r--r--ld/testsuite/ld-cris/tls-gc-71.d6
-rw-r--r--ld/testsuite/ld-cris/tls-gc-75.d6
-rw-r--r--ld/testsuite/ld-cris/tls-gc-76.d6
-rw-r--r--ld/testsuite/ld-cris/tls-gc-79.d6
7 files changed, 21 insertions, 21 deletions
diff --git a/ld/testsuite/ld-cris/tls-gc-68.d b/ld/testsuite/ld-cris/tls-gc-68.d
index 60fcc3b..4b63991 100644
--- a/ld/testsuite/ld-cris/tls-gc-68.d
+++ b/ld/testsuite/ld-cris/tls-gc-68.d
@@ -21,11 +21,11 @@ private flags = 0:
SYMBOL TABLE:
0+80074 l d .text 0+ .text
0+82078 l d .got 0+ .got
+0+82084 l \*ABS\* 0+ __bss_start
+0+82084 l \*ABS\* 0+ _edata
0+82078 l O .got 0+ _GLOBAL_OFFSET_TABLE_
+0+820a0 l \*ABS\* 0+ _end
0+80074 g .text 0+ _start
-0+82084 g \*ABS\* 0+ __bss_start
-0+82084 g \*ABS\* 0+ _edata
-0+820a0 g \*ABS\* 0+ _end
Contents of section .text:
80074 41b20+ .*
diff --git a/ld/testsuite/ld-cris/tls-gc-69.d b/ld/testsuite/ld-cris/tls-gc-69.d
index e547ba4..f14deec 100644
--- a/ld/testsuite/ld-cris/tls-gc-69.d
+++ b/ld/testsuite/ld-cris/tls-gc-69.d
@@ -22,11 +22,11 @@ private flags = 0:
SYMBOL TABLE:
0+80074 l d .text 0+ .text
0+82078 l d .got 0+ .got
+0+82084 l \*ABS\* 0+ __bss_start
+0+82084 l \*ABS\* 0+ _edata
0+82078 l O .got 0+ _GLOBAL_OFFSET_TABLE_
+0+820a0 l \*ABS\* 0+ _end
0+80074 g .text 0+ _start
-0+82084 g \*ABS\* 0+ __bss_start
-0+82084 g \*ABS\* 0+ _edata
-0+820a0 g \*ABS\* 0+ _end
Contents of section .text:
80074 41b20+ .*
diff --git a/ld/testsuite/ld-cris/tls-gc-70.d b/ld/testsuite/ld-cris/tls-gc-70.d
index d8d5324..dbeb9d0 100644
--- a/ld/testsuite/ld-cris/tls-gc-70.d
+++ b/ld/testsuite/ld-cris/tls-gc-70.d
@@ -22,11 +22,11 @@ private flags = 0:
SYMBOL TABLE:
0+80074 l d .text 0+ .text
0+82078 l d .got 0+ .got
+0+82084 l \*ABS\* 0+ __bss_start
+0+82084 l \*ABS\* 0+ _edata
0+82078 l O .got 0+ _GLOBAL_OFFSET_TABLE_
+0+820a0 l \*ABS\* 0+ _end
0+80074 g .text 0+ _start
-0+82084 g \*ABS\* 0+ __bss_start
-0+82084 g \*ABS\* 0+ _edata
-0+820a0 g \*ABS\* 0+ _end
Contents of section .text:
80074 41b20+ .*
diff --git a/ld/testsuite/ld-cris/tls-gc-71.d b/ld/testsuite/ld-cris/tls-gc-71.d
index 3ee73fc..29745de 100644
--- a/ld/testsuite/ld-cris/tls-gc-71.d
+++ b/ld/testsuite/ld-cris/tls-gc-71.d
@@ -17,11 +17,11 @@
DYNAMIC SYMBOL TABLE:
0+18e l d .text 0+ .text
0+2194 l d .tdata 0+ .tdata
+0+2280 l D \*ABS\* 0+ __bss_start
+0+2280 l D \*ABS\* 0+ _edata
+0+2280 l D \*ABS\* 0+ _end
0+18e g DF .text 0+2 _init
-0+2280 g D \*ABS\* 0+ __bss_start
0+ g D .tdata 0+80 tls128
-0+2280 g D \*ABS\* 0+ _edata
-0+2280 g D \*ABS\* 0+ _end
DYNAMIC RELOCATION RECORDS \(none\)
#...
diff --git a/ld/testsuite/ld-cris/tls-gc-75.d b/ld/testsuite/ld-cris/tls-gc-75.d
index 2f4257e..b1c77bf 100644
--- a/ld/testsuite/ld-cris/tls-gc-75.d
+++ b/ld/testsuite/ld-cris/tls-gc-75.d
@@ -24,11 +24,11 @@ private flags = 0:
SYMBOL TABLE:
0+80074 l d .text 0+ .text
0+82078 l d .got 0+ .got
+0+82084 l \*ABS\* 0+ __bss_start
+0+82084 l \*ABS\* 0+ _edata
0+82078 l O .got 0+ _GLOBAL_OFFSET_TABLE_
+0+820a0 l \*ABS\* 0+ _end
0+80074 g .text 0+ _start
-0+82084 g \*ABS\* 0+ __bss_start
-0+82084 g \*ABS\* 0+ _edata
-0+820a0 g \*ABS\* 0+ _end
Contents of section .text:
80074 41b20+ .*
diff --git a/ld/testsuite/ld-cris/tls-gc-76.d b/ld/testsuite/ld-cris/tls-gc-76.d
index f3c78df..5238727 100644
--- a/ld/testsuite/ld-cris/tls-gc-76.d
+++ b/ld/testsuite/ld-cris/tls-gc-76.d
@@ -23,11 +23,11 @@ SYMBOL TABLE:
0+82080 l d .got 0+ .got
0+82090 l d .data 0+ .data
0+82090 l O .data 0+4 gc76var
+0+82094 l \*ABS\* 0+ __bss_start
+0+82094 l \*ABS\* 0+ _edata
0+82080 l O .got 0+ _GLOBAL_OFFSET_TABLE_
+0+820a0 l \*ABS\* 0+ _end
0+80074 g .text 0+ _start
-0+82094 g \*ABS\* 0+ __bss_start
-0+82094 g \*ABS\* 0+ _edata
-0+820a0 g \*ABS\* 0+ _end
0+80078 g F .text 0+6 gc76fn
Contents of section .text:
diff --git a/ld/testsuite/ld-cris/tls-gc-79.d b/ld/testsuite/ld-cris/tls-gc-79.d
index 210f478..eb3646d 100644
--- a/ld/testsuite/ld-cris/tls-gc-79.d
+++ b/ld/testsuite/ld-cris/tls-gc-79.d
@@ -22,11 +22,11 @@ private flags = 0:
SYMBOL TABLE:
0+80074 l d .text 0+ .text
0+82078 l d .got 0+ .got
+0+82084 l \*ABS\* 0+ __bss_start
+0+82084 l \*ABS\* 0+ _edata
0+82078 l O .got 0+ _GLOBAL_OFFSET_TABLE_
+0+820a0 l \*ABS\* 0+ _end
0+80074 g .text 0+ _start
-0+82084 g \*ABS\* 0+ __bss_start
-0+82084 g \*ABS\* 0+ _edata
-0+820a0 g \*ABS\* 0+ _end
Contents of section .text:
80074 41b20+ .*