~ubuntu-branches/ubuntu/saucy/golang/saucy

« back to all changes in this revision

Viewing changes to src/cmd/cc/macbody

  • Committer: Package Import Robot
  • Author(s): Adam Conrad
  • Date: 2013-07-08 05:52:37 UTC
  • mfrom: (29.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20130708055237-at01839e0hp8z3ni
Tags: 2:1.1-1ubuntu1
016-armhf-elf-header.patch: Use correct ELF header for armhf binaries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
743
743
                pragincomplete();
744
744
                return;
745
745
        }
746
 
        if(s && strcmp(s->name, "dynimport") == 0) {
747
 
                pragdynimport();
748
 
                return;
749
 
        }
750
 
        if(s && strcmp(s->name, "dynexport") == 0) {
751
 
                pragdynexport();
 
746
        if(s && (strncmp(s->name, "cgo_", 4) == 0 || strncmp(s->name, "dyn", 3) == 0)) {
 
747
                pragcgo(s->name);
752
748
                return;
753
749
        }
754
750
        while(getnsc() != '\n')