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
ca18be57
Commit
ca18be57
authored
Jul 13, 2001
by
Geoffrey Keating
Committed by
Geoffrey Keating
Jul 13, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13.
From-SVN: r43998
parent
48fe3de0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
gcc/ChangeLog
+4
-0
gcc/config/elfos.h
+8
-5
No files found.
gcc/ChangeLog
View file @
ca18be57
2001-07-13 Geoffrey Keating <geoffk@redhat.com>
Revert H.J. Lu's UNIQUE_SECTION patch of 2001-07-13.
2001-07-13 Joseph S. Myers <jsm28@cam.ac.uk>
* c-common.c (decl_attributes): Take a pointer to the node to
...
...
gcc/config/elfos.h
View file @
ca18be57
...
...
@@ -348,19 +348,22 @@ dtors_section () \
const char *name; \
char *string; \
const char *prefix; \
static const char *prefixes[
4
][2] = \
static const char *prefixes[
/*4*/
3
][2] = \
{ \
{ ".text.", ".gnu.linkonce.t." }, \
{ ".rodata.", ".gnu.linkonce.r." }, \
{ ".data.", ".gnu.linkonce.d." }, \
{ ".bss.", ".gnu.linkonce.b." } \
{ ".data.", ".gnu.linkonce.d." } \
/* Do not generate unique sections for uninitialised \
data since we do not have support for this in the \
linker scripts yet... \
,{ ".bss.", ".gnu.linkonce.b." } */
\
}; \
\
if (TREE_CODE (DECL) == FUNCTION_DECL) \
sec = 0; \
else if (DECL_INITIAL (DECL) == 0 \
/*
else if (DECL_INITIAL (DECL) == 0 \
|| DECL_INITIAL (DECL) == error_mark_node) \
sec = 3 \
sec = 3
; */
\
else if (DECL_READONLY_SECTION (DECL, RELOC)) \
sec = 1; \
else \
...
...
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