summaryrefslogtreecommitdiff
path: root/data
AgeCommit message (Collapse)AuthorFilesLines
2016-11-13data: Do not enable PIE when linking static programsGuillem Jover1-1/+1
It seems like at least glibc does not support statically linked PIE programs, and produces random junk. Disable globally for now, if there's a desire to enable static PIE binaries, which is known to work on some architectures (such as musl-based ones) we can add specialized specs files in the future. Closes: #843714 Proposed-by: Szabolcs Nagy <nsz@port70.net>
2016-11-11data: Improve PIE handlingGuillem Jover4-5/+5
- Rename the spec name cc1_options to self_spec. - Do not set PIE options if they have been negated, and do not reset them if they have been requested. Closes: #843791, #843826
2016-11-07Dpkg::Vendor::Debian: Improve PIE flags supportGuillem Jover3-1/+5
Fix changelog for dpkg 1.18.11 to mention PIE got enabled by default for all architectures, not just the ones where gcc does that itself. When emitting PIE flags on architectures where gcc does not inject those itself, do it via a specs file too, so that maintainers can use them unconditionally regardless of the object being compiled or linked. When injecting -no-pie for linking via gcc specs also inject -fno-PIE. Update the documentation to make the current situation more clear.
2016-11-06Dpkg::Vendor::Debian: Handle PIE enabled by default in gccGuillem Jover2-0/+4
Add support for compiler built-in features, so that we do not set them when enabled and set negated flags when disabled. We use gcc spec files to set these flags so that we avoid any conflict with other incompatible flags that would make the build fail. Closes: #835149 Based-on-patch-by: Bálint Réczey <balint@balintreczey.hu>
2016-10-31arch: Internally represent architectures as quadrupletsGuillem Jover5-74/+74
This allows to detangle the libc used from the calling conventions.
2016-10-31arch: Add a version pseudo-field to the arch tablesGuillem Jover4-0/+8
This should allow external parsers to know if they can understand the table contents.
2016-10-30data: Add support for AIX operating systemGuillem Jover2-0/+2
2016-10-30data: Move architecture tables to a new data directoryGuillem Jover4-0/+136