go/src/cmd/link/internal/ld
Vyacheslav Pachkov 2f1c4cb9ee cmd/link: resolve magic value in gdbscript section generation
According to the .debug_gdb_scripts section specification, each entry
begins with a non-null prefix byte that specifies the kind of entry.
This commit resolves a question about magic byte and replaces a
hardcoded value with a meaningful constant "GDB_SCRIPT_PYTHON_FILE_ID"
inside writegdbscript function.
2021-08-23 11:37:46 +03:00
..
testdata cmd/compile, cmd/link: use weak reference in itab 2021-03-24 14:38:53 +00:00
ar.go cmd/link, cmd/cgo: support -flto in CFLAGS 2021-06-01 19:59:18 +00:00
asmb.go cmd/link: check mmap error 2021-05-12 15:05:12 +00:00
config.go cmd/link, cmd/cgo: support -flto in CFLAGS 2021-06-01 19:59:18 +00:00
data.go runtime,cmd/link/internal/ld: fix typos 2021-05-26 16:11:00 +00:00
data_test.go internal/buildcfg: move build configuration out of cmd/internal/objabi 2021-04-16 19:20:53 +00:00
deadcode.go cmd/link: always mark runtime.unreachableMethod symbol 2021-05-13 21:16:06 +00:00
deadcode_test.go cmd/compile, runtime: add metadata for argument printing in traceback 2021-04-22 17:47:59 +00:00
decodesym.go Update oudated comment 2021-07-08 16:59:21 +00:00
dwarf.go cmd/link: resolve magic value in gdbscript section generation 2021-08-23 11:37:46 +03:00
dwarf_test.go cmd/compile/internal/dwarfgen: fix DWARF param DIE ordering 2021-05-13 14:30:42 +00:00
elf.go cmd/link: set correct flags in .dynamic for PIE buildmode 2021-06-15 18:09:44 +00:00
elf_test.go cmd/link: use testing.T.TempDir in tests 2021-03-08 20:03:01 +00:00
errors.go all: add empty line between copyright header and package clause 2020-08-17 09:45:44 +00:00
execarchive.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
execarchive_noexec.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
fallocate_test.go cmd/link: use testing.T.TempDir in tests 2021-03-08 20:03:01 +00:00
go.go cmd/compile,cmd/link: resolve cgo symbols to the correct Go ABI 2021-04-13 20:07:47 +00:00
go_test.go cmd/link: use testing.T.TempDir in tests 2021-03-08 20:03:01 +00:00
heap.go [dev.link] cmd/link: rewrite heap algorithm 2020-06-04 19:13:42 +00:00
heap_test.go [dev.link] cmd/link: rewrite heap algorithm 2020-06-04 19:13:42 +00:00
issue33808_test.go cmd/link: use testing.T.TempDir in tests 2021-03-08 20:03:01 +00:00
ld.go [dev.link] cmd: remove "2", another round 2020-08-11 18:32:23 +00:00
ld_test.go cmd/link/internal/ld: skip the windows ASLR test when CGO_ENABLED=0 2021-06-28 16:42:42 +00:00
lib.go cmd/link, cmd/cgo: support -flto in CFLAGS 2021-06-01 19:59:18 +00:00
link.go cmd/link: build dynexp symbol list directly 2021-04-13 20:07:46 +00:00
macho.go cmd/link: don't cast end address to int32 2021-05-12 15:04:42 +00:00
macho_combine_dwarf.go cmd/link: support more load commands on Mach-O 2021-04-22 18:17:00 +00:00
main.go cmd/link: check mmap error 2021-05-12 15:05:12 +00:00
nooptcgolink_test.go cmd/link: use testing.T.TempDir in tests 2021-03-08 20:03:01 +00:00
outbuf.go cmd/link: check mmap error 2021-05-12 15:05:12 +00:00
outbuf_darwin.go cmd/link: invalidate kernel cache on darwin 2020-12-01 23:39:15 +00:00
outbuf_linux.go cmd/link: fix mode parameter to fallocate on Linux 2020-05-11 14:21:36 +00:00
outbuf_mmap.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
outbuf_nofallocate.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
outbuf_nommap.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
outbuf_notdarwin.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
outbuf_test.go cmd/link: use testing.T.TempDir in tests 2021-03-08 20:03:01 +00:00
outbuf_windows.go cmd/link: fix invalid usage of reflect.SliceHeader 2020-11-07 16:31:02 +00:00
pcln.go cmd/link: sort the pclntab relocations 2021-04-23 21:42:58 +00:00
pe.go cmd/link: use correct alignment in PE DWARF sections 2021-06-03 19:38:56 +00:00
sym.go internal/buildcfg: move build configuration out of cmd/internal/objabi 2021-04-16 19:20:53 +00:00
symtab.go cmd/link: don't include arginfo symbols in symbol table 2021-05-07 14:13:18 +00:00
target.go cmd/link: put read-only data in __DATA_CONST segment 2020-09-11 15:07:26 +00:00
typelink.go [dev.link] cmd/compile, cmd/link: generate itablink at link time 2020-08-03 21:13:25 +00:00
util.go cmd/link: move cgo export map from loadcgo to setCgoAttr 2021-04-13 20:07:45 +00:00
xcoff.go cmd/link: enforce larger alignment on split ppc64 text sections 2021-04-27 11:55:52 +00:00