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
d25346e7
Commit
d25346e7
authored
Feb 10, 1999
by
Mumit Khan
Committed by
Jeff Law
Feb 10, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gen-params (VTABLE_LABEL_PREFIX): Handle windows32.
From-SVN: r25130
parent
4d2a3f76
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
libio/ChangeLog
+4
-0
libio/gen-params
+8
-4
No files found.
libio/ChangeLog
View file @
d25346e7
Wed Feb 10 09:25:48 1999 Mumit Khan <khan@xraylith.wisc.edu>
* gen-params (VTABLE_LABEL_PREFIX): Handle windows32.
Wed Feb 3 22:05:41 1999 H.J. Lu (hjl@gnu.org)
Jeffrey A Law (law@cygnus.com)
...
...
libio/gen-params
View file @
d25346e7
#!/bin/sh
# Copyright (C) 1992, 1993, 1994 Free Software Foundation
# Copyright (C) 1992, 1993, 1994
, 1997, 1998, 1999
Free Software Foundation
#
# This file is part of the GNU IO Library. This library is free
# software; you can redistribute it and/or modify it under the
...
...
@@ -124,9 +124,13 @@ if test -z "${NAMES_HAVE_UNDERSCORE}" -o -z "${DOLLAR_IN_LABEL}" \
>>
dummy.out
# Now we get rid of the <>, and any other junk on the nm output line.
# (We get rid of <filebuf> in case nm included debugging output for
# class filebuf itself.) Finally, we select the first line of
# the result, and hope that's what we wanted!
vtab_name
=
`
${
SED
}
-n
-e
'/<filebuf>/d'
-e
's/^.*<\(.*\)>.*$/\1/p'
\
# class filebuf itself.) On windows32, we also need to delete the
# unique sections (.data$_vt$*), otherwise we get the wrong result.
# Finally, we select the first line of the result, and hope that's
# what we wanted!
vtab_name
=
`
${
SED
}
-n
-e
'/<filebuf>/d'
\
-e
'/\.data[$_.]<_vt\$7filebuf>/d'
\
-e
's/^.*<\(.*\)>.*$/\1/p'
\
<dummy.out |
${
SED
}
-n
-e
'1p'
`
case
"
${
vtab_name
}
"
in
*
7filebuf
)
echo
"#define
${
macro_prefix
}
VTABLE_LABEL_HAS_LENGTH 1"
;;
...
...
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