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
9987501f
Commit
9987501f
authored
Mar 26, 1992
by
Michael Meissner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r590
parent
492f34e0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
1 deletions
+27
-1
gcc/config/mips/mips.c
+27
-1
No files found.
gcc/config/mips/mips.c
View file @
9987501f
...
...
@@ -50,7 +50,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define X_OK 1
#endif
#if
def USG
#if
defined(USG) || defined(NO_STAB_H)
#include "gstab.h"
/* If doing DBX on sysV, use our own stab.h. */
#else
#include <stab.h>
/* On BSD, use the system's stab.h. */
...
...
@@ -2982,6 +2982,8 @@ mips_output_filename (stream, name)
SET_FILE_NUMBER
();
current_function_file
=
name
;
fprintf
(
stream
,
"
\t
.file
\t
%d
\"
%s
\"\n
"
,
num_source_filenames
,
name
);
if
(
!
TARGET_GAS
&&
write_symbols
==
DBX_DEBUG
)
fprintf
(
stream
,
"
\t
#@stabs
\n
"
);
}
else
if
(
!
TARGET_GAS
&&
write_symbols
==
DBX_DEBUG
)
...
...
@@ -3140,6 +3142,30 @@ mips_asm_file_end (file)
}
/* Emit either a label, .comm, or .lcomm directive, and mark
that the symbol is used, so that we don't emit an .extern
for it in mips_asm_file_end. */
void
mips_declare_object
(
stream
,
name
,
init_string
,
final_string
,
size
)
FILE
*
stream
;
char
*
name
;
char
*
init_string
;
char
*
final_string
;
int
size
;
{
fputs
(
init_string
,
stream
);
/* "", "\t.comm\t", or "\t.lcomm\t" */
assemble_name
(
stream
,
name
);
fprintf
(
stream
,
final_string
,
size
);
/* ":\n", ",%u\n", ",%u\n" */
if
(
TARGET_GP_OPT
&&
mips_section_threshold
!=
0
)
{
tree
name_tree
=
get_identifier
(
name
);
TREE_ASM_WRITTEN
(
name_tree
)
=
1
;
}
}
/* Return the bytes needed to compute the frame pointer from the current
stack pointer.
...
...
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