Commit Graph

110 Commits

Author SHA1 Message Date
Nick Clifton d16cbf8d51 gcc-plugin: Attach the .text section to the .text.group.
Resolves: #2016458
2021-10-26 12:37:31 +01:00
Nick Clifton c30496e9c7 Better reporting of problems in object files.
Resolves: #2013708
2021-10-19 12:53:07 +01:00
Nick Clifton 28490b94dc Fix -mstackrealign test for non-GCC compiled files.
Resolves: #2013658
2021-10-18 13:21:05 +01:00
Nick Clifton 1909971309 Re-enable use of annobin plugin when building annobin.
Resolves: #2013658
2021-10-14 15:59:59 +01:00
Nick Clifton 0caf34b0fd Annocheck: Add tests based upon recent bug fixes.
Resolves: #2012803
2021-10-13 12:15:35 +01:00
Nick Clifton e13c31c791 Annocheck: Fix memory corruptions when using --debug-path and when a corrupt note is found.
Resolves: #2011438
2021-10-08 16:23:34 +01:00
Nick Clifton 80010e3623 plugins: Add more required build options.
Resolves: #2011163
2021-10-06 13:57:26 +01:00
Nick Clifton c3dd1ea165 Annocheck: Fix cf-prot test to fail if the CET notes are missing.
Resolves: #1981410
2021-10-05 14:50:02 +01:00
Nick Clifton 5f105fbea6 Annocheck: Add more cases of glibc startup functions.
Resolves: #1981410
2021-10-04 15:53:56 +01:00
Nick Clifton f0221bb6a7 Annocheck: With gaps at the start/end of the .text section, check for special symbols before displaying a MAYB result.
Resolves: #1995224
2021-09-16 15:45:40 +01:00
Nick Clifton 40172408af Annocheck: Add linker generated function for ppc64le exceptions.
Resolves: #1981410
2021-08-18 11:29:38 +01:00
Nick Clifton 6a4766a535 Annocheck: Add linker generated function for s390x exceptions.
Resolves: #1981410
2021-08-17 15:29:15 +01:00
Nick Clifton 6389efdcb0 Annocheck: Fix memory corruption.
Resolves: #1988715
2021-08-16 12:54:46 +01:00
Mohan Boddu a3ea661c96 Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-08-09 19:20:30 +00:00
Florian Weimer 534b815833 Rebuild with GCC 11.2 (#1986836)
Related: #1986836
2021-07-29 10:05:46 +02:00
Nick Clifton 632d394f7a Annocheck: Reverse AArch64 PAC+BTI check, ie fail if they are enabled. - Annocheck: Add another test exceptions. Annocheck: Add some more test exceptions. Tests: Skip glibc-notes test if the assembler does not support --generate-missing-build-notes. Tests: Skip objcopy test if objcopy does not support --merge-notes.
Resolves: #1984995
2021-07-23 14:39:09 +01:00
Nick Clifton fdf9122af1 Annocheck: Fix spelling mistake in -mstack-realign failure message.
Related: #1951280
2021-07-01 10:33:51 +01:00
Nick Clifton fa744b3f18 gcc-plugin: Do not record global versions of stack protection settings in LTO mode, if not set. Annocheck: Remove limit on number of input files.
Resolves: #1973981
2021-06-24 10:20:54 +01:00
Nick Clifton 9b71016651 clang/llvm plugins: Build with correct security options.
Resolves: #1969584
2021-06-15 15:17:24 +01:00
Nick Clifton 15ce7d0891 Annocheck: In verbose mode, report the reason for skipping specific tests.
Resolves: #1969584
2021-06-11 14:20:39 +01:00
Mohan Boddu 6d08c19bfe - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-04-15 22:32:22 +00:00
Nick Clifton 4f61f4b54b Another NVR bump to allow rebuild in CentOS stream.
Resolves: #1944548
2021-04-08 15:32:24 +01:00
DistroBaker f10463d65a Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/annobin.git#815dc75a45f949bac11b379a0ebc506a7ec61a66
2021-04-04 21:55:22 +00:00
DistroBaker 7baf6259ed Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/annobin.git#da05dd9608d0623d30c6bc956f49800a54eecccb
2021-03-26 21:55:27 +00:00
DistroBaker 9f2971ba35 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/annobin.git#d6dd6f9fca66fc424d054acd7854cb3ab69310c0
2021-03-24 23:26:17 +00:00
Nick Clifton 0534190b1b Annocheck: Fix some problems with tests for missing notes. 2021-02-22 13:01:26 +00:00
DistroBaker 627df32237 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/annobin.git#2cfdfdf4f4f049f96acf5ba1848354cdf6d8ada1
2021-02-17 11:56:21 +01:00
Nick Clifton c9c41c8aac Add a future fail for the presence of RPATH in the dynamic tags. 2021-01-20 11:14:18 +00:00
DistroBaker be9afca5ae Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/annobin.git#df15f450f0c693b52c7f325bdeb285ca5e73fd67
2021-01-18 18:36:11 +00:00
DistroBaker 59ce8da4d8 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/annobin.git#1874eab6f1d86c98d977e659397381fbdf3a0942
2021-01-14 11:03:27 +00:00
DistroBaker dfb2600fed Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/annobin.git#8b182011dae6f24172d47ec0538eb5c19ca5e399
2021-01-13 10:53:33 +00:00
Nick Clifton 5ca11aab63 Add support for -D_FORTIFY_SOURCE=3. 2021-01-04 16:30:42 +00:00
DistroBaker 70b0bd379e Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/annobin.git#55099074361fd2d2e9d25de3a9dc6d7f710cb952
2020-12-18 13:29:26 +00:00
Nick Clifton a6563d59f6 annocheck: When a binary is produced both by GAS and GCC, select GAS as the real producer.
Resolves: #1906171
2020-12-11 14:55:33 +00:00
Nick Clifton b1b6905714 - annocheck: Improve test for LTO compiled binaries that do not have -Wall annotations. (#1906171)
- annocheck: Mark a missining -D_FORTIFY_SOURCE as a FAIL.
- annocheck: Fix notes analyzer to accept empty PPC64 notes.
- gcc plugin: Tweak generation of end symbols for PPC64 when LTO is active.  (#1898075)
- gcc plugin: Add support for GCC 11's cl_vars array.
2020-12-10 12:38:36 +00:00
Petr Šabata c9e3fd0c83 Reverting for gcc11
Signed-off-by: Petr Šabata <contyk@redhat.com>
2020-12-08 07:02:03 +01:00
Petr Šabata a45ac19bc6 Temporarily disabled the hard gcc requirement
Signed-off-by: Petr Šabata <contyk@redhat.com>
2020-12-08 06:38:32 +01:00
DistroBaker 8a9708fecd Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/annobin.git#3ed514a41ce9d1d5ae17bef21c4c8425ce680e5a
2020-12-08 06:08:46 +01:00
DistroBaker d59752eb01 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/annobin.git#44aadc55ffebb040c4e532cdadcae3817309f8f4
2020-12-06 13:02:20 +00:00
DistroBaker e8fe6f2889 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/annobin.git#ebfb4177703b749a68fe63c4d93e78d43c48b9d9
2020-12-06 10:35:16 +00:00
DistroBaker f542a07330 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/annobin.git#62931e922ea987b72a123218edd3b6b6aecadca3
2020-12-02 12:32:40 +00:00
DistroBaker 02698aaa0d Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/annobin.git#24fe187a8d4015fb954484e9bb0386e0dda50258
2020-12-01 13:53:06 +00:00
DistroBaker 02652941ae Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/annobin.git#ea02dafc1f4745d37b4d2d91c98ca6f5af3a0613
2020-11-24 11:00:03 +00:00
Nick Clifton d0070faffb Temporary remove perl requirement 2020-11-23 13:39:25 +00:00
Nick Clifton 49f0681893 GCC plugin: Always record global notes for the .text.startup, .text.exit, .text.hot and .text.cold sections. 2020-11-23 12:15:25 +00:00
Nick Clifton 9f438bc03f Add -lLLVM to command line when building clang plugin. 2020-11-17 16:22:54 +00:00
Troy Dawson 7198d99dec RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/annobin#5b0e474e772c9734bbd52a102e4276dfc3e9b62d
2020-11-16 12:47:04 -08:00
Nick Clifton 3b0d1c5aba Fix snafu when clang plugin is disabled 2020-11-16 12:05:09 +00:00
Nick Clifton 1526ec79f4 Temporartily Disable Clang and LLVM plugins until Clang++ on RHEL-9 is fixed 2020-11-16 11:58:49 +00:00
Nick Clifton 2b93e33527 Annocheck: Improve reporting of missing LTO option 2020-11-16 11:46:00 +00:00
DistroBaker aca5468983 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/annobin.git#33cfa7d0ebe9d3a612fb25562a6719a08097cf4a
2020-11-10 17:10:40 +00:00
DistroBaker 904575cd80 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/annobin.git#c0eabbb63fb274cef38648dd9fbb399792270e90
2020-11-09 14:15:55 +00:00
DistroBaker fb43c38614 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/annobin.git#e6e831776604b8a5ca588bfaa49c410ad3ceb02a
2020-11-06 12:49:57 +00:00
DistroBaker aa49f5e373 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/annobin.git#34a622f99e7c5812e8016847c72b3bedd109cea7
2020-11-04 14:45:30 +00:00
DistroBaker e50410dd2e Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/annobin.git#a707c7d43e875c51159fa2d72de13d2a6cf0cedf
2020-10-27 17:21:52 +01:00
Nick Clifton 263d5450b9 NVR bump to allow rebuild 2020-10-26 14:15:02 +00:00
Nick Clifton 910ad3750a NVR bump to allow rebuild 2020-10-26 11:28:17 +00:00
Nick Clifton 645b3837f9 Record the use of LTO and produce a soft warning if not enabled.
Resolves: #1889821
2020-10-26 11:11:44 +00:00
Petr Šabata 8eb4d470f5 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/annobin#5515ddd6c9da5bc2eaa09f1498b80077b4239918
2020-10-14 21:37:58 +02:00
Nick Clifton 4e21326f86 Initial checkin of annobin sources 2020-10-13 18:07:57 +01:00