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
5ad5a984
Commit
5ad5a984
authored
24 years ago
by
Ian Lance Taylor
Committed by
Jason Merrill
24 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge from bfdland
From-SVN: r32729
parent
eef9a168
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
13 deletions
+33
-13
libiberty/ChangeLog
+20
-0
libiberty/Makefile.in
+6
-6
libiberty/floatformat.c
+5
-5
libiberty/pexecute.c
+2
-2
No files found.
libiberty/ChangeLog
View file @
5ad5a984
...
...
@@ -44,6 +44,26 @@ Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
entry vector.
(htab_find_slot): Simplify logic.
1999-08-03 Ian Lance Taylor <ian@zembu.com>
* floatformat.c: Add casts to avoid signed/unsigned warnings.
* pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
* Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
$(TARGETLIB)n so it works on MSDOS.
(install_to_tooldir): Likewise.
1999-07-21 Ian Lance Taylor <ian@zembu.com>
From Mark Elbrecht:
* makefile.dos: Remove; obsolete.
* configure.bat: Remove; obsolete.
1999-07-11 Ian Lance Taylor <ian@zembu.com>
* splay-tree.c (splay_tree_insert): Add initialization to avoid
warning.
2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
* pexecute.c: Conditionally include string.h.
...
...
This diff is collapsed.
Click to expand it.
libiberty/Makefile.in
View file @
5ad5a984
...
...
@@ -152,15 +152,15 @@ INSTALL_DEST = @INSTALL_DEST@
install
:
install_to_$(INSTALL_DEST) install-subdir
install_to_libdir
:
all
$(INSTALL_DATA)
$(TARGETLIB)
$(libdir)$(MULTISUBDIR)
/
$(TARGETLIB)
.
n
(
cd
$(libdir)$(MULTISUBDIR)
;
$(RANLIB)
$(TARGETLIB)
.
n
)
mv
-f
$(libdir)$(MULTISUBDIR)
/
$(TARGETLIB)
.
n
$(libdir)$(MULTISUBDIR)
/
$(TARGETLIB)
$(INSTALL_DATA)
$(TARGETLIB)
$(libdir)$(MULTISUBDIR)
/
$(TARGETLIB)
n
(
cd
$(libdir)$(MULTISUBDIR)
;
$(RANLIB)
$(TARGETLIB)
n
)
mv
-f
$(libdir)$(MULTISUBDIR)
/
$(TARGETLIB)
n
$(libdir)$(MULTISUBDIR)
/
$(TARGETLIB)
@
$(MULTIDO)
$(FLAGS_TO_PASS)
multi-do
DO
=
install
install_to_tooldir
:
all
$(INSTALL_DATA)
$(TARGETLIB)
$(tooldir)
/lib
$(MULTISUBDIR)
/
$(TARGETLIB)
.
n
(
cd
$(tooldir)
/lib
$(MULTISUBDIR)
;
$(RANLIB)
$(TARGETLIB)
.
n
)
mv
-f
$(tooldir)
/lib
$(MULTISUBDIR)
/
$(TARGETLIB)
.
n
$(tooldir)
/lib
$(MULTISUBDIR)
/
$(TARGETLIB)
$(INSTALL_DATA)
$(TARGETLIB)
$(tooldir)
/lib
$(MULTISUBDIR)
/
$(TARGETLIB)
n
(
cd
$(tooldir)
/lib
$(MULTISUBDIR)
;
$(RANLIB)
$(TARGETLIB)
n
)
mv
-f
$(tooldir)
/lib
$(MULTISUBDIR)
/
$(TARGETLIB)
n
$(tooldir)
/lib
$(MULTISUBDIR)
/
$(TARGETLIB)
@
$(MULTIDO)
$(FLAGS_TO_PASS)
multi-do
DO
=
install
# needed-list is used by libstdc++. NEEDED is the list of functions
...
...
This diff is collapsed.
Click to expand it.
libiberty/floatformat.c
View file @
5ad5a984
/* IEEE floating point support routines, for GDB, the GNU Debugger.
Copyright (C) 1991, 1994 Free Software Foundation, Inc.
Copyright (C) 1991, 1994
, 1999
Free Software Foundation, Inc.
This file is part of GDB.
...
...
@@ -128,7 +128,7 @@ get_field (data, order, total_len, start, len)
--
cur_byte
;
/* Move towards the most significant part of the field. */
while
(
cur_bitshift
<
len
)
while
(
(
unsigned
int
)
cur_bitshift
<
len
)
{
if
(
len
-
cur_bitshift
<
FLOATFORMAT_CHAR_BIT
)
/* This is the last byte; zero out the bits which are not part of
...
...
@@ -179,7 +179,7 @@ floatformat_to_double (fmt, from, to)
mant_off
=
fmt
->
man_start
;
dto
=
0
.
0
;
special_exponent
=
exponent
==
0
||
exponent
==
fmt
->
exp_nan
;
special_exponent
=
exponent
==
0
||
(
unsigned
long
)
exponent
==
fmt
->
exp_nan
;
/* Don't bias zero's, denorms or NaNs. */
if
(
!
special_exponent
)
...
...
@@ -255,7 +255,7 @@ put_field (data, order, total_len, start, len, stuff_to_put)
--
cur_byte
;
/* Move towards the most significant part of the field. */
while
(
cur_bitshift
<
len
)
while
(
(
unsigned
int
)
cur_bitshift
<
len
)
{
if
(
len
-
cur_bitshift
<
FLOATFORMAT_CHAR_BIT
)
{
...
...
@@ -335,7 +335,7 @@ floatformat_from_double (fmt, from, to)
If we are discarding a zero, we should be (but are not) creating
a denormalized number which means adjusting the exponent
(I think). */
if
(
mant_bits_left
==
fmt
->
man_len
if
(
(
unsigned
int
)
mant_bits_left
==
fmt
->
man_len
&&
fmt
->
intbit
==
floatformat_intbit_no
)
{
mant_long
&=
0x7fffffff
;
...
...
This diff is collapsed.
Click to expand it.
libiberty/pexecute.c
View file @
5ad5a984
...
...
@@ -656,7 +656,7 @@ pexecute (program, argv, this_pname, temp_base, errmsg_fmt, errmsg_arg, flags)
const
char
*
program
;
char
*
const
*
argv
;
const
char
*
this_pname
;
const
char
*
temp_base
;
const
char
*
temp_base
ATTRIBUTE_UNUSED
;
char
**
errmsg_fmt
,
**
errmsg_arg
;
int
flags
;
{
...
...
@@ -763,7 +763,7 @@ int
pwait
(
pid
,
status
,
flags
)
int
pid
;
int
*
status
;
int
flags
;
int
flags
ATTRIBUTE_UNUSED
;
{
/* ??? Here's an opportunity to canonicalize the values in STATUS.
Needed? */
...
...
This diff is collapsed.
Click to expand it.
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