retain2.d 248 B

12345
  1. #name: SHF_GNU_RETAIN 2 (remove SHF_GNU_RETAIN sections by placing in /DISCARD/)
  2. #source: retain1.s
  3. #ld: -e _start -Map=retain2.map --gc-sections --script=retain2.ld
  4. #map: retain2.map
  5. #notarget: ![supports_gnu_osabi] ![check_gc_sections_available]