enable link-time section-gc for linux s390x to remove unused code

XMLWordPrintable

    • b25
    • s390x
    • linux

        gcc and ld support enabling "garbage collection" of unused input sections.
        This can be used to eliminate unused coding from native libraries (especially when already compiling the objects with compiler flags -ffunction-sections -fdata-sections .
        See for details the --gc-sections and --print-gc-sections parts of the ld documentation :

        https://linux.die.net/man/1/ld

        The change will enable link-time section-gc for linux s390x.

              Assignee:
              Matthias Baesken
              Reporter:
              Matthias Baesken
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: