# std.zig.system: Force disable the small_data feature for hexagon\. · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/56b0c7bd2f5936c17571e878f835cf0d542ca1fd)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 56b0c7bd2f5936c17571e878f835cf0d542ca1fd

Requested commit: 56b0c7bd2f5936c17571e878f835cf0d542ca1fd

Commit: 56b0c7bd2f5936c17571e878f835cf0d542ca1fd

Tree: 0c4fac1623366d112d47a07d28a0f02fca9c718d

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
std.zig.system: Force disable the small_data feature for hexagon.

This works around the fact that LLVM and LLD both have broken support for the
small data area, yet the feature is on by default for all Hexagon CPUs.

I want to eventually replace this hack with a flag in update_cpu_features.zig
for marking features that should always be off by default and not be accessible
to users. That way, the compiler will have full control over them.

```

## Parents

- [8060fad4250d0157ac412f95c76511770e1eb097](https://git.cafe/gitcafe/zig/commit/8060fad4250d0157ac412f95c76511770e1eb097?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/56b0c7bd2f5936c17571e878f835cf0d542ca1fd?format=markdown)
