diff options
| author | Cherry Mui <cherryyz@google.com> | 2023-05-11 14:31:31 -0400 |
|---|---|---|
| committer | Cherry Mui <cherryyz@google.com> | 2023-05-11 20:14:54 +0000 |
| commit | c2becd70c5dad379def219e60452072ab6e72617 (patch) | |
| tree | d5b5052803d68bd309d1441efa1c92fd1fde36a4 /src/runtime | |
| parent | 3e9876cd3a5a83be9bb0f5cbc600aadf9b599558 (diff) | |
| download | go-c2becd70c5dad379def219e60452072ab6e72617.tar.xz | |
cmd/link: check DWARF section sizes separately
Currently, we check the total size of all data+DWARF sections
doesn't exceed 2 GB, which doesn't make sense. We should check
data and DWARF separately. And for DWARF, check each section
separately, as we use section offset for references.
Change-Id: I723cde6a2f46e55cc5cb0621926722272581eb48
Reviewed-on: https://go-review.googlesource.com/c/go/+/494439
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions
