Issue Details (XML | Word | Printable)

Key: PCC-283
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Anders Magnusson
Reporter: Iain Hibbert
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
pcc

section attribute not working

Created: 23/Mar/11 11:31 PM   Updated: 27/Mar/11 05:05 PM
Component/s: i386 target
Affects Version/s: None
Fix Version/s: None

Environment: NeTBSD/i386


 Description  « Hide
The "section" attribute does not work, the following line:

int foo __attribute__ (( section(".foo") ));

when compiled with "pcc -S" shows no section indicator:

        .comm foo,04,4
        .ident "PCC: pcc 1.1.0.DEVEL [20110221] (netbsd)"

though the code seems to be present to handle that..

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Anders Magnusson added a comment - 27/Mar/11 05:05 PM
Fixed. It was not handled at all neither on amd64 nor i386, so I added it.