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
d2103f69
Commit
d2103f69
authored
Jun 10, 2000
by
Mark Mitchell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert previous patch
From-SVN: r34482
parent
27985b66
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
10 deletions
+31
-10
libio/ChangeLog
+0
-5
libio/libioP.h
+12
-2
libio/stdstrbufs.cc
+19
-3
No files found.
libio/ChangeLog
View file @
d2103f69
2000-06-08 Mark Mitchell <mark@codesourcery.com>
* libioP.h: Remove old ABI mangling code.
* stdstrbufs.cc: Likewise.
2000-06-04 Mark Mitchell <mark@codesourcery.com>
* libioP.h: Handle new ABI mangling.
...
...
libio/libioP.h
View file @
d2103f69
/* Copyright (C) 1993, 1997
, 2000
Free Software Foundation, Inc.
/* Copyright (C) 1993, 1997 Free Software Foundation, Inc.
This file is part of the GNU IO Library.
This library is free software; you can redistribute it and/or
...
...
@@ -593,8 +593,18 @@ extern int _IO_vscanf __P ((const char *, _IO_va_list));
/* VTABLE_LABEL defines NAME as of the CLASS class.
CNLENGTH is strlen(#CLASS). */
#ifdef __GNUC__
# if (!defined(__GXX_ABI_VERSION) || __GXX_ABI_VERSION < 100)
# if _G_VTABLE_LABEL_HAS_LENGTH
# define VTABLE_LABEL(NAME, CLASS, CNLENGTH) \
extern char NAME[] asm (_G_VTABLE_LABEL_PREFIX #CNLENGTH #CLASS);
# else
# define VTABLE_LABEL(NAME, CLASS, CNLENGTH) \
extern char NAME[] asm (_G_VTABLE_LABEL_PREFIX #CLASS);
# endif
# else
# define VTABLE_LABEL(NAME, CLASS, CNLENGTH) \
extern char NAME[] asm ("_ZTV" #CNLENGTH #CLASS );
extern char NAME[] asm ("_ZN" #CNLENGTH #CLASS "TVE");
# endif
/* (!defined(__GXX_ABI_VERSION) || __GXX_ABI_VERSION < 100) */
#endif
/* __GNUC__ */
#if !defined(builtinbuf_vtable) && defined(__cplusplus)
...
...
libio/stdstrbufs.cc
View file @
d2103f69
/*
Copyright (C) 1994
, 2000
Free Software Foundation
Copyright (C) 1994 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
...
...
@@ -35,7 +35,15 @@ the executable file might be covered by the GNU General Public License. */
#if !defined(filebuf_vtable) && defined(__cplusplus)
#ifdef __GNUC__
extern
char
filebuf_vtable
[]
asm
(
"_ZTV7filebuf"
);
#if (!defined(__GXX_ABI_VERSION) || __GXX_ABI_VERSION < 100)
asm
(
_G_VTABLE_LABEL_PREFIX
#if _G_VTABLE_LABEL_HAS_LENGTH
"7"
#endif
"filebuf"
);
#else
asm
(
"_ZN7filebufTVE"
);
#endif
/* (!defined(__GXX_ABI_VERSION) || __GXX_ABI_VERSION < 100) */
#else
/* !__GNUC__ */
#if _G_VTABLE_LABEL_HAS_LENGTH
#define filebuf_vtable _G_VTABLE_LABEL_PREFIX_ID##7filebuf
...
...
@@ -83,7 +91,15 @@ struct _IO_fake_stdiobuf {
#ifndef stdiobuf_vtable
#ifdef __GNUC__
extern
struct
_IO_jump_t
stdiobuf_vtable
asm
(
"_ZTV15stdiobuf_vtable"
);
#if (!defined(__GXX_ABI_VERSION) || __GXX_ABI_VERSION < 100)
asm
(
_G_VTABLE_LABEL_PREFIX
#if _G_VTABLE_LABEL_HAS_LENGTH
"8"
#endif
"stdiobuf"
);
#else
asm
(
"_ZN15stdiobuf_vtableTVE"
);
#endif
/* (!defined(__GXX_ABI_VERSION) || __GXX_ABI_VERSION < 100) */
#else
/* !__GNUC__ */
#if _G_VTABLE_LABEL_HAS_LENGTH
#define stdiobuf_vtable _G_VTABLE_LABEL_PREFIX_ID##8stdiobuf
...
...
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