Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for xcoffCreateExportFile (0.23 sec)

  1. src/cmd/link/internal/ld/xcoff.go

    			}
    		}
    		Errorf(nil, "emitRelocations: could not find %q section", sect.Name)
    	}
    }
    
    // xcoffCreateExportFile creates a file with exported symbols for
    // -Wl,-bE option.
    // ld won't export symbols unless they are listed in an export file.
    func xcoffCreateExportFile(ctxt *Link) (fname string) {
    	fname = filepath.Join(*flagTmpdir, "export_file.exp")
    	var buf bytes.Buffer
    
    	ldr := ctxt.loader
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:58:23 UTC 2023
    - 51.8K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/lib.go

    			})
    			sort.Strings(exports)
    			argv = append(argv, exports...)
    		}
    	}
    	if ctxt.HeadType == objabi.Haix {
    		fileName := xcoffCreateExportFile(ctxt)
    		argv = append(argv, "-Wl,-bE:"+fileName)
    	}
    
    	const unusedArguments = "-Qunused-arguments"
    	if linkerFlagSupported(ctxt.Arch, argv[0], altLinker, unusedArguments) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
Back to top