about summary refs log tree commit diff
path: root/src/librustc_target/spec/netbsd_base.rs
AgeCommit message (Collapse)AuthorLines
2020-08-30mv compiler to compiler/mark-29/+0
2020-04-29Use .init_array rather than .ctorsMatthew Maurer-0/+1
LLVM TargetMachines default to using the (now-legacy) .ctors representation of init functions. Mixing .ctors and .init_array representations can cause issues when linking with lld. This happens in practice for: * Our profiling runtime which is currently implicitly built with .init_array since it is built by clang, which sets this field. * External C/C++ code that may be linked into the same process. To support legacy systems which may use .ctors, targets may now specify that they use .ctors via the use_ctors attribute which defaults to false. For debugging and manual control, -Z use-ctors-section=yes/no will allow manual override. Fixes: #71233
2020-04-13rustc_target: Remove some useless importsVadim Petrochenkov-1/+0
2019-12-22Format the worldMark Rousskov-9/+12
2019-06-05Don't use GNU noexec stack notecoypoop-3/+0
NetBSD ignores this note and marks the stack no-exec unconditionally
2019-02-08librustc_target => 2018Taiki Endo-1/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-09-20Use no_default_libraries for all NetBSD flavorsbgermann-0/+1
The no_default_libraries was introduced in #28578 because the NetBSD-based rumprun needed to disable the link flag. This moves the definition to be used by all NetBSD linker flavors to close #49627. A different solution would be adding -lc but as there is no platform with explicit -lc, this approach is used.
2018-04-26Rename rustc_back::target to rustc_target::spec.Irina Popa-0/+38