Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
809abaff
Commit
809abaff
authored
Aug 23, 2002
by
Loren J. Rittle
Committed by
Loren J. Rittle
Aug 23, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* testsuite/abi_check.cc: Support older binutils/readelf.
From-SVN: r56530
parent
1f8151cf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletions
+10
-1
libstdc++-v3/ChangeLog
+1
-0
libstdc++-v3/testsuite/abi_check.cc
+9
-1
No files found.
libstdc++-v3/ChangeLog
View file @
809abaff
2002-08-22 Loren J. Rittle <ljrittle@acm.org>
* testsuite/abi_check.cc: Enhance shell portability.
Support older binutils/readelf.
* config/abi/i386-unknown-freebsd4.6: Add.
* config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.
...
...
libstdc++-v3/testsuite/abi_check.cc
View file @
809abaff
...
...
@@ -236,8 +236,16 @@ int main(int argc, char** argv)
*/
const
char
quote
=
'"'
;
const
char
bslash
=
'\\'
;
// GNU binutils, somewhere after version 2.11.2, requires -W/--wide
// to avoid default line truncation. -W is not supported and
// truncation did not occur by default before that point.
bool
readelf_need_wide
=
(
system
(
"readelf --help | grep -- --wide >/dev/null"
)
==
0
);
ostringstream
cmd
;
cmd
<<
"readelf -s -W "
<<
test_lib
<<
" | sed '/"
<<
bslash
cmd
<<
"readelf -s "
<<
(
readelf_need_wide
?
"-W "
:
""
)
<<
test_lib
<<
" | sed '/"
<<
bslash
<<
".dynsym/,/^$/p;d' | egrep -v ' (LOCAL|UND) ' | "
<<
"awk '{ if ($4 == "
<<
quote
<<
"FUNC"
<<
quote
<<
"|| $4 == "
<<
quote
<<
"NOTYPE"
<<
quote
<<
") printf "
<<
quote
<<
"%s:%s"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment