Commit Graph

6 Commits

Author SHA1 Message Date
pierre
617e1b9b10 * handle i386/x86_64 solaris pic as for linux
git-svn-id: trunk@14388 -
2009-12-10 12:47:40 +00:00
Jonas Maebe
122e5714d8 * create/destroy codegen before/after generating exports, because it's
required when generating non-PIC code, and also for all Darwin platforms
    (required after r13801)

git-svn-id: trunk@14181 -
2009-11-15 11:19:09 +00:00
Jonas Maebe
6f3bace0f3 + support for exporting Objective-C classes from dynamic libraries. It works
the same as for exporting functions/procedures and variables: add the name
    of the class to the "exports" section of the library. By default, classes
    are only visible inside a shared library.

git-svn-id: branches/objc@13765 -
2009-09-27 15:40:52 +00:00
Jonas Maebe
7d459cf12a * the compiler now explicitly keeps track of the minimally guaranteed
alignment for each memory reference (mantis #12137, and
    test/packages/fcl-registry/tregistry1.pp on sparc). This also
    enables better code generation for packed records in many cases.
  o several changes were made to the compiler to minimise the chances
    of accidentally forgetting to set the alignment of memory references
    in the future:
    - reference_reset*() now has an extra alignment parameter
    - location_reset() can now only be used for non LOC_(C)REFERENCE,
      use location_reset_ref() for those (split the tloc enum so the
      compiler can catch errors using range checking)

git-svn-id: trunk@12719 -
2009-02-08 13:00:24 +00:00
florian
844c05ca2e * exports need pic on x86_64-freebsd
git-svn-id: trunk@11768 -
2008-09-13 15:46:33 +00:00
Jonas Maebe
4d4b7ddbf6 * renamed for consistency
git-svn-id: trunk@11289 -
2008-06-27 14:30:02 +00:00