public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/19370] New: .size directive not emitted for mips-linux
@ 2005-01-11 9:28 angela at releasedominatrix dot com
2005-01-11 9:29 ` [Bug other/19370] " angela at releasedominatrix dot com
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: angela at releasedominatrix dot com @ 2005-01-11 9:28 UTC (permalink / raw)
To: gcc-bugs
In config/mips/linux.h, the macro ASM_DECLARE_FUNCTION_SIZE() doesn't actually
emit the .size directive. Testcase follows.
% cat tst.c
int
func1(void)
{
return(1);
}
% mips-linux-gcc -c tst.c
% mips-linux-readelf -s tst.o
Symbol table '.symtab' contains 11 entries:
Num: Value Size Type Bind Vis Ndx Name
0: 00000000 0 NOTYPE LOCAL DEFAULT UND
1: 00000000 0 FILE LOCAL DEFAULT ABS tst.c
2: 00000000 0 SECTION LOCAL DEFAULT 1
3: 00000000 0 SECTION LOCAL DEFAULT 3
4: 00000000 0 SECTION LOCAL DEFAULT 4
5: 00000000 0 SECTION LOCAL DEFAULT 8
6: 00000000 0 SECTION LOCAL DEFAULT 5
7: 00000000 0 SECTION LOCAL DEFAULT 6
8: 00000000 0 SECTION LOCAL DEFAULT 9
9: 00000000 0 FUNC GLOBAL DEFAULT 1 func1
10: 00000000 0 OBJECT GLOBAL DEFAULT UND _gp_disp
Will attach a patch after bug is opened.
--
Summary: .size directive not emitted for mips-linux
Product: gcc
Version: 3.3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: angela at releasedominatrix dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: mips-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19370
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug other/19370] .size directive not emitted for mips-linux
2005-01-11 9:28 [Bug other/19370] New: .size directive not emitted for mips-linux angela at releasedominatrix dot com
@ 2005-01-11 9:29 ` angela at releasedominatrix dot com
2005-01-11 9:32 ` angela at releasedominatrix dot com
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: angela at releasedominatrix dot com @ 2005-01-11 9:29 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From angela at releasedominatrix dot com 2005-01-11 09:29 -------
Created an attachment (id=7927)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7927&action=view)
patch to emit .size directive for mips-linux
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19370
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug other/19370] .size directive not emitted for mips-linux
2005-01-11 9:28 [Bug other/19370] New: .size directive not emitted for mips-linux angela at releasedominatrix dot com
2005-01-11 9:29 ` [Bug other/19370] " angela at releasedominatrix dot com
@ 2005-01-11 9:32 ` angela at releasedominatrix dot com
2005-01-11 12:41 ` [Bug target/19370] " pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: angela at releasedominatrix dot com @ 2005-01-11 9:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From angela at releasedominatrix dot com 2005-01-11 09:32 -------
Forgot to note. I found it in 3.3.4 but it looks like it's still a problem in
mainline.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19370
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/19370] .size directive not emitted for mips-linux
2005-01-11 9:28 [Bug other/19370] New: .size directive not emitted for mips-linux angela at releasedominatrix dot com
2005-01-11 9:29 ` [Bug other/19370] " angela at releasedominatrix dot com
2005-01-11 9:32 ` angela at releasedominatrix dot com
@ 2005-01-11 12:41 ` pinskia at gcc dot gnu dot org
2005-01-11 22:43 ` echristo at redhat dot com
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-11 12:41 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Component|other |target
Keywords| |wrong-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19370
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/19370] .size directive not emitted for mips-linux
2005-01-11 9:28 [Bug other/19370] New: .size directive not emitted for mips-linux angela at releasedominatrix dot com
` (2 preceding siblings ...)
2005-01-11 12:41 ` [Bug target/19370] " pinskia at gcc dot gnu dot org
@ 2005-01-11 22:43 ` echristo at redhat dot com
2005-01-13 2:39 ` echristo at redhat dot com
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: echristo at redhat dot com @ 2005-01-11 22:43 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |echristo at redhat dot com
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-01-11 22:43:26
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19370
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/19370] .size directive not emitted for mips-linux
2005-01-11 9:28 [Bug other/19370] New: .size directive not emitted for mips-linux angela at releasedominatrix dot com
` (3 preceding siblings ...)
2005-01-11 22:43 ` echristo at redhat dot com
@ 2005-01-13 2:39 ` echristo at redhat dot com
2005-04-05 21:06 ` echristo at redhat dot com
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: echristo at redhat dot com @ 2005-01-13 2:39 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19370
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/19370] .size directive not emitted for mips-linux
2005-01-11 9:28 [Bug other/19370] New: .size directive not emitted for mips-linux angela at releasedominatrix dot com
` (4 preceding siblings ...)
2005-01-13 2:39 ` echristo at redhat dot com
@ 2005-04-05 21:06 ` echristo at redhat dot com
2005-06-05 7:40 ` pinskia at gcc dot gnu dot org
2005-06-05 7:41 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: echristo at redhat dot com @ 2005-04-05 21:06 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From echristo at redhat dot com 2005-04-05 21:05 -------
fixed quite a while ago.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19370
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/19370] .size directive not emitted for mips-linux
2005-01-11 9:28 [Bug other/19370] New: .size directive not emitted for mips-linux angela at releasedominatrix dot com
` (5 preceding siblings ...)
2005-04-05 21:06 ` echristo at redhat dot com
@ 2005-06-05 7:40 ` pinskia at gcc dot gnu dot org
2005-06-05 7:41 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-05 7:40 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-05 07:40 -------
Reopening to ...
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19370
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/19370] .size directive not emitted for mips-linux
2005-01-11 9:28 [Bug other/19370] New: .size directive not emitted for mips-linux angela at releasedominatrix dot com
` (6 preceding siblings ...)
2005-06-05 7:40 ` pinskia at gcc dot gnu dot org
@ 2005-06-05 7:41 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-05 7:41 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-05 07:41 -------
Fixed (I thought we have a state called MOVED).
--
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19370
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-06-05 7:41 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-11 9:28 [Bug other/19370] New: .size directive not emitted for mips-linux angela at releasedominatrix dot com
2005-01-11 9:29 ` [Bug other/19370] " angela at releasedominatrix dot com
2005-01-11 9:32 ` angela at releasedominatrix dot com
2005-01-11 12:41 ` [Bug target/19370] " pinskia at gcc dot gnu dot org
2005-01-11 22:43 ` echristo at redhat dot com
2005-01-13 2:39 ` echristo at redhat dot com
2005-04-05 21:06 ` echristo at redhat dot com
2005-06-05 7:40 ` pinskia at gcc dot gnu dot org
2005-06-05 7:41 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).