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
63cdad1b
Commit
63cdad1b
authored
Oct 08, 2003
by
Rainer Orth
Committed by
Rainer Orth
Oct 08, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* mklibgcc.in: Don't hide undefined or typeless symbols.
From-SVN: r72235
parent
9ab81df2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
gcc/ChangeLog
+4
-0
gcc/mklibgcc.in
+3
-1
No files found.
gcc/ChangeLog
View file @
63cdad1b
2003-10-08 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* mklibgcc.in: Don't hide undefined or typeless symbols.
2003-10-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR optimization/12142
...
...
gcc/mklibgcc.in
View file @
63cdad1b
...
...
@@ -347,7 +347,9 @@ EOF
# .oS objects will have all non-local symbol definitions .hidden
oS
=
`
echo
${
o
}
| sed s~
${
objext
}
'$~.oS~g'
`
echo
"
${
oS
}
: stmp-dirs libgcc/
${
dir
}
/stacknote.s
${
o
}
"
echo
' ( $(NM_FOR_TARGET) '
${
SHLIB_NM_FLAGS
}
${
o
}
' | $(AWK) '
\'
'NF == 3 { print "\t.hidden", $$3 }'
\'
'; cat libgcc/${dir}/stacknote.s ) | $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) '
${
flags
}
' -r -nostdinc -nostdlib -o $@ '
${
o
}
' -xassembler -'
# non-GNU nm emits three fields even for undefined and typeless symbols,
# so explicitly omit them
echo
' ( $(NM_FOR_TARGET) '
${
SHLIB_NM_FLAGS
}
${
o
}
' | $(AWK) '
\'
'NF == 3 && $$2 !~ /^[UN]$$/ { print "\t.hidden", $$3 }'
\'
'; cat libgcc/${dir}/stacknote.s ) | $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) '
${
flags
}
' -r -nostdinc -nostdlib -o $@ '
${
o
}
' -xassembler -'
libgcc_a_objs
=
"
${
libgcc_a_objs
}
${
oS
}
"
done
fi
...
...
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