mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-21 01:40:04 +08:00
darwin.c (darwin_encode_section_info): Don't mark any DECL_EXTERNAL node as defined.
* config/darwin.c (darwin_encode_section_info): Don't mark any DECL_EXTERNAL node as defined. From-SVN: r43885
This commit is contained in:
parent
ae818d3be8
commit
70bdc2ff0a
@ -1,3 +1,8 @@
|
||||
2001-07-09 Stan Shebs <shebs@apple.com>
|
||||
|
||||
* config/darwin.c (darwin_encode_section_info): Don't mark any
|
||||
DECL_EXTERNAL node as defined.
|
||||
|
||||
2001-07-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
|
||||
|
||||
* pa.c (pa_init_machine_status, pa_mark_machine_status,
|
||||
|
@ -997,6 +997,7 @@ darwin_encode_section_info (decl)
|
||||
|
||||
if ((TREE_CODE (decl) == FUNCTION_DECL
|
||||
|| TREE_CODE (decl) == VAR_DECL)
|
||||
&& !DECL_EXTERNAL (decl)
|
||||
&& ((TREE_STATIC (decl)
|
||||
&& (!DECL_COMMON (decl) || !TREE_PUBLIC (decl)))
|
||||
|| DECL_INITIAL (decl)))
|
||||
|
Loading…
Reference in New Issue
Block a user