Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
binutils-gdb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sebastien Michelland
binutils-gdb
Commits
22ec3bd1
Commit
22ec3bd1
authored
19 years ago
by
H.J. Lu
Browse files
Options
Downloads
Patches
Plain Diff
2005-07-14 H.J. Lu <hongjiu.lu@intel.com>
* lib/ld-lib.exp (run_ld_link_exec_tests): Ignore assembler warnings.
parent
955057fc
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ld/testsuite/ChangeLog
+5
-0
5 additions, 0 deletions
ld/testsuite/ChangeLog
ld/testsuite/lib/ld-lib.exp
+7
-19
7 additions, 19 deletions
ld/testsuite/lib/ld-lib.exp
with
12 additions
and
19 deletions
ld/testsuite/ChangeLog
+
5
−
0
View file @
22ec3bd1
2005-07-14 H.J. Lu <hongjiu.lu@intel.com>
* lib/ld-lib.exp (run_ld_link_exec_tests): Ignore assembler
warnings.
2005-07-14 H.J. Lu <hongjiu.lu@intel.com>
* lib/ld-lib.exp (run_ld_link_exec_tests): Update comments.
...
...
This diff is collapsed.
Click to expand it.
ld/testsuite/lib/ld-lib.exp
+
7
−
19
View file @
22ec3bd1
...
...
@@ -1281,6 +1281,7 @@ proc run_ld_link_exec_tests { ldtests } {
global env
global CC
global CFLAGS
global errcnt
foreach testitem $ldtests {
set testname [lindex $testitem 0]
...
...
@@ -1291,7 +1292,6 @@ proc run_ld_link_exec_tests { ldtests } {
set expfile [lindex $testitem 5]
set cflags [lindex $testitem 6]
set objfiles {}
set is_unresolved 0
set failed 0
# verbose -log "Testname is $testname"
...
...
@@ -1306,17 +1306,10 @@ proc run_ld_link_exec_tests { ldtests } {
set objfile "tmpdir/[file rootname $src_file].o"
lappend objfiles $objfile
if ![ld_compile "$CC -c $CFLAGS $cflags" $srcdir/$subdir/$src_file $objfile] {
set is_unresolved 1
break
}
}
# Catch assembler errors.
if { $is_unresolved != 0 } {
unresolved $testname
continue
}
# We ignore warnings since some compilers may generate
# incorrect section attributes and the assembler will warn
# them.
ld_compile "$CC -c $CFLAGS $cflags" $srcdir/$subdir/$src_file $objfile
if ![ld_link $ld $binfile "-L$srcdir/$subdir $ld_options $objfiles"] {
set failed 1
...
...
@@ -1345,15 +1338,10 @@ proc run_ld_link_exec_tests { ldtests } {
if { $failed != 0 } {
fail $testname
} else { if { $is_unresolved == 0 } {
} else {
set errcnt 0
pass $testname
} }
}
# Catch action errors.
if { $is_unresolved != 0 } {
unresolved $testname
continue
}
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment