Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/swiftwasm/faerie

Magical ELF and Mach-o object file writer backend
https://github.com/swiftwasm/faerie

Merge pull request #42 from m4b/update-deps

Update dependencies, including goblin 0.15.

c2e381b50bfc566367e25857fe869b010fa0eca9 authored over 6 years ago by m4b <[email protected]>
Clean up unnecessary casts.

b82629fa2faa3f8be83406824411b66fa86afceb authored over 6 years ago by Dan Gohman <[email protected]>
Update dependencies, including goblin 0.0.17.

Several fields in goblin changed type, so change faerie's code
accordingly.

01c34f7af25c32ade057dbc537443fc073b8bd66 authored over 6 years ago by Dan Gohman <[email protected]>
Update dependencies, except goblin and scroll.

goblin and scroll have API changes, so I'll update them separately.

7f876172996beaa5b66892620a131a4522a50f9f authored over 6 years ago by Dan Gohman <[email protected]>
Bump version to 0.4.2

5f02f399274ac734cd4944ef9e0f452fbb1ab2c4 authored over 6 years ago by Dan Gohman <[email protected]>
Update dependencies.

757c531c75b68b14c08ba3377d2e38df3f921eb9 authored over 6 years ago by Dan Gohman <[email protected]>
Bump version to 0.4.1.

ffe00d8d66c6fb670eddeb9be8bf7c666188efba authored over 6 years ago by Dan Gohman <[email protected]>
Update to target-lexicon 0.0.1.

This fixes the handling of custom targets.

5a70d94a1adbe536ac72caf6ce4fd68f3fcf47df authored over 6 years ago by Dan Gohman <[email protected]>
bump version to 0.4.0

ca3dac495f6c57e74a35918068e398d46d7ca1d7 authored over 6 years ago by Dan Gohman <[email protected]>
Merge pull request #41 from m4b/use-targeting

Port faerie to the target-lexicon crate.

4889a80530aa29ef5f5e1e997c37eab619096a92 authored over 6 years ago by Dan Gohman <[email protected]>
Update from `targeting` to `target_lexicon`.

3fcfadc3aff5bdd440fb18d411f3772a3b5c9734 authored over 6 years ago by Dan Gohman <[email protected]>
Factor out `emit_as` and `write_as` functions.

This allows the binary format to be specified after an artifact is
populated, rather than before.

4a3884d6588985af02183f6ff712ba869cdd9d0a authored over 6 years ago by Dan Gohman <[email protected]>
Port faerie to the targeting crate.

`targeting` is a new crate that provides a vocabulary for describing targets,
including their ar...

95aef8be703440228f411e3766a19bd5e7c6af74 authored over 6 years ago by Dan Gohman <[email protected]>
Merge pull request #40 from m4b/pch/data_relocs

Change relocations in data sections to be absolute and pointer-sized

db5bfddd1b833379999dba37500148c7c153d8fb authored over 6 years ago by Pat Hickey <[email protected]>
bump version to 0.3.0

and fix `pub use` goof

0a018ad2b89ff9cd641ca79882bdd7cebd5d9749 authored over 6 years ago by Pat Hickey <[email protected]>
elf relocations inside a data section are absolute and pointer-sized

cc7971500532e30a327c67c48499390ed7a00c2d authored over 6 years ago by Pat Hickey <[email protected]>
elf: link takes entire LinkAndDecl

upcoming changes needs this

8a95e6446f82a768d70957980bb4d959b9977713 authored over 6 years ago by Pat Hickey <[email protected]>
Bump version to 0.2.0

dc28d0394de8da1aa6307f210bdd4ac17efb14b2 authored over 6 years ago by Dan Gohman <[email protected]>
Merge pull request #39 from m4b/pch/update_env_logger

update env_logger to 0.5.8

ed8afd10fb186f27fbabc2f6e4fb0fe32957f242 authored over 6 years ago by Dan Gohman <[email protected]>
Merge pull request #37 from m4b/asserts

Use asserts to check that emitted sizes are as expected.

8cf27e659cc33cdee66c4e52cf78cd0df25519fd authored over 6 years ago by Dan Gohman <[email protected]>
Merge pull request #38 from m4b/write_all

Use `write_all` instead of `write`.

b7f26003fc42023f835bc8dad177b7ad99ba0c34 authored over 6 years ago by Dan Gohman <[email protected]>
update env_logger to 0.5.8 (same as cretonne uses)

3b99236dc6e7d02edfd09947b3d064a95af49263 authored over 6 years ago by Pat Hickey <[email protected]>
Merge pull request #36 from m4b/file-symbols

Fix handling of ELF file symbols.

22a61a4162d563353ded40c651bea7897e284a32 authored over 6 years ago by Dan Gohman <[email protected]>
Use `write_all` instead of `write`.

`write` isn't guaranteed to write all of the bytes; it returns a size
saying how many bytes are ...

6bc935e9eeb6538c58c7e5b329b201433f83f67d authored over 6 years ago by Dan Gohman <[email protected]>
Fix a discrepancy spotted by the new asserts.

ffaf11ef088ef7bf6d6449bf8b878f42f3f9d6c1 authored over 6 years ago by Dan Gohman <[email protected]>
Use asserts to check that emitted sizes are as expected.

Check that computed sizes for various ELF constructs are the size
they are expected to be with `...

4b09bacd517efb72497b8d81a4cce428c2c06363 authored over 6 years ago by Dan Gohman <[email protected]>
Fix handling of ELF file symbols.

This fixes `new_string` to handle the case where the string is already
present in the string tab...

e059b9c427c24d51dc653fe354302787d0c38d7d authored over 6 years ago by Dan Gohman <[email protected]>
Merge pull request #32 from m4b/pch/fix_30

Ensure all artifact symbols are defined before emitting object

306fde7daeb6c15b396360af0c18a1c59861993e authored almost 7 years ago by Pat Hickey <[email protected]>
add unit test for duplicate definitions

bcd3c0aa0f615cf69a46733b356b167c9599d6d8 authored almost 7 years ago by Pat Hickey <[email protected]>
internal representation of Decls checks if defined

this makes the search for undefined declarations O(n) and allows us to
reject duplicate definiti...

9dcdef43f756c7716de45eceb025b42bf915e051 authored almost 7 years ago by Pat Hickey <[email protected]>
change form of unit test to make it clearer which property should fail

this particular should_panic test isnt guilty of it, but in the case of
others it wasnt clear wh...

34027387fca03fe9c3a5d9df6c236952c2a6fd00 authored almost 7 years ago by Pat Hickey <[email protected]>
add artifact unit test for undefined_symbols

5b54967a94480f6227b0b46a01f692d8b1787f70 authored almost 7 years ago by Pat Hickey <[email protected]>
reduce algorithmic complexity of Artifact::undefined_symbols

3fefd266d8683720ddde2fc57a1a3ef6fc75cef6 authored almost 7 years ago by Pat Hickey <[email protected]>
ensure that all declared symbols are defined before emit

706eadc98d1a24d4253c0bde8024ac4bde23296f authored almost 7 years ago by Pat Hickey <[email protected]>
comment failing test cases

1fce386fbf3c2eaecd23f231c18e29a5beb8d948 authored almost 7 years ago by Pat Hickey <[email protected]>
Merge pull request #33 from m4b/pch/convert_to_indexmap

switch from outdated ordermap crate to indexmap 1.0.0

885e20f68ef14198d088c76d08f59c2001fb3f40 authored almost 7 years ago by Pat Hickey <[email protected]>
switch from outdated ordermap crate to indexmap 1.0.0

ordermap and its types were renamed to indexmap for the 1.0.0 release.
aside from s/Order/Index,...

eda9489d8b258917450e79039d3592b89ea188c2 authored almost 7 years ago by Pat Hickey <[email protected]>
faerie, artifact: cleanup lib.rs, bump version to 0.1, ref #28. rename override field elftype -> reloc.

b25c392a265936dd1e005a76df271e15ec528a7c authored almost 7 years ago by m4b <[email protected]>
build: update deps

097aa102b93fa5f1d36207dc1e6bba5002675dcf authored almost 7 years ago by m4b <[email protected]>
build: update to failure 0.1.1. add documentation and include links

909ec0de1cef4f0703adbdd2cf3f83c7627939a1 authored almost 7 years ago by m4b <[email protected]>
docs: update readme

a7e7d1a030be9cd3f080cf00cd8d56247e2f1733 authored almost 7 years ago by m4b <[email protected]>
artifact: add convenience method declare_with. update elf test

e4c0df08338d9d4130a20308a3d9b2a3a31ebeab authored almost 7 years ago by m4b <[email protected]>
build: update goblin to 0.0.14 and modify keywords

c86b1c1db3f28ed1be7af69b7da53d6d0e58121b authored almost 7 years ago by m4b <[email protected]>
elf: add should_panic tests. ref #30, #31

441763296031cec07c6fc00f3698666a110d8a49 authored almost 7 years ago by m4b <[email protected]>
Merge pull request #29 from pchickey/pch/elaborate_link_error

Add clone derivations; elaborate linking error

3180a18b12ce1189e755048d160dfcc0699cb68a authored almost 7 years ago by m4b <[email protected]>
elf: die with error message in link

a73aa04355544be8fa2a76e4397923eeeec125b9 authored almost 7 years ago by Pat Hickey <[email protected]>
derive Clone for Artifact, and members of Artifact.

I believe this is harmless.

6b9433731ea84e06d914d5e6966e312f73f59fcc authored about 7 years ago by Pat Hickey <[email protected]>
Merge pull request #27 from djg/fix-artifact-import

Make import(...) really just sugar for declare(...)

651224beb938a0e14c0e484f97156f2f32658ed5 authored about 7 years ago by m4b <[email protected]>
Add test to confirm import() only adds to list once.

48238e45c165554cbb4656d7bf164bc14eda801b authored about 7 years ago by Dan Glastonbury <[email protected]>
Make import(...) really just sugar for declare(...)

This removes adding the import to Artifact::imports twice. It's
already handled by declare.

cfae27eddfb8a95b56b091033123b753ffe24fa8 authored about 7 years ago by Dan Glastonbury <[email protected]>
docs: update readme

763a99ee5ed3f3dd489350c8ddbd015ec8a1f91c authored about 7 years ago by m4b <[email protected]>
artifact: use interned strings everywhere. should greatly reduce memory usage for large artifacts

6a0623e480b4c19afcbdafdfa1459901bd6aecda authored about 7 years ago by m4b <[email protected]>
artifact: re-add imports back in ;). add another test for checking imports with redecls. fixes #24

b600a4abc42418dd90bd09aee6c899f082502400 authored about 7 years ago by m4b <[email protected]>
build: run test. add import declaration test. add debugs

eb68719a3b496c774f0e76bf0ceeab9226ab23c5 authored about 7 years ago by m4b <[email protected]>
build, elf: remove shankshank. fixes #10

18194989bea74e683799058bf19e1baa0e9751c0 authored about 7 years ago by m4b <[email protected]>
build: run prototype on travis for checking regressions

1e64b787c854921ccfea5c71aeec0c8bea06766d authored about 7 years ago by m4b <[email protected]>
elf: add todo. new takes artifact directly now, to prepare for todo

31d735ce41cde6639687be8fd83fce65a851f426 authored about 7 years ago by m4b <[email protected]>
elf: also require a name when constructing. also dont clone artifact name

411284b17330f831af7377f7e9629677d5258ec5 authored about 7 years ago by m4b <[email protected]>
artifact: require name when constructing. ref #19

0077ae71fb03baa8504b865363f2803eccbaa4aa authored about 7 years ago by m4b <[email protected]>
build: use stable goblin 0.0.13

6d145aca1f47f5e696b3f01bb2ef49d739db63ee authored about 7 years ago by m4b <[email protected]>
artifact: add absorb method to auto-upgrade decls. error otherwise. document. add more tests. fixes #24

98cb29f271a315fc83d5438bb537411f50a3bfbd authored about 7 years ago by m4b <[email protected]>
artifact: add initial (buggy) duplicate decl implementation. add some tests. ref #24

6c7c6e0191be64510921299f8877a2f710bc3a68 authored about 7 years ago by m4b <[email protected]>
RelocOverride: addend needs to be signed (#23)

502e7ec8271bd5187b749a487b91b2c0edda72e9 authored about 7 years ago by Pat Hickey <[email protected]>
Merge pull request #22 from jfoote/master

First cut at specializing data decls/defns

bfb3d90443efec6773aa39a93c366d2e23489bf1 authored about 7 years ago by m4b <[email protected]>
First cut at specializing data decls/defns

- Adds a new datum to `Data` that determines whether the corresponding ELF section should have t...

5e14dc2861d211f1802697670f178551f20952d1 authored about 7 years ago by Jonathan Foote <[email protected]>
Merge pull request #21 from pchickey/pch/optional_reloc_type

Add `Artifact::link_with` API to optionally override ELF relocation type

65051c7236bbbd66d7ce2f1d601d7c4c19c93700 authored about 7 years ago by m4b <[email protected]>
restore Artifact::link() to old signature, create Artifact::link_with

link_with allows you to provide a RelocOverride

b5f03d5454722369f9d984a2615712382ba66689 authored about 7 years ago by Pat Hickey <[email protected]>
reloc overrides need addends pushed through as well

66eb3c8a827026a201f2bc89e128c4f9af41a8e8 authored about 7 years ago by Pat Hickey <[email protected]>
add optional reloc type argument to artifact Link

bb53414fa2ac9812d14f8cc58aae0339bf8cba5c authored about 7 years ago by Pat Hickey <[email protected]>
build: update to scroll 0.8

0501514a172272249b18ae99206ff5c4e2a6ca59 authored about 7 years ago by m4b <[email protected]>
artifact: ignore duplicate import declarations. (ref #18)

9b39bd1243674a031d9b89f5a65e34ac0d237b8b authored about 7 years ago by m4b <[email protected]>
docs: update readme

f42e6e84462a000a53ecedf0bd4d54635f87d884 authored about 7 years ago by m4b <[email protected]>
faerie: doc bunch of things

fd415260a24397145fd9c2e04f3f8ab40bca386c authored about 7 years ago by m4b <[email protected]>
artifact: add declarations method. cleanup some docs. rename SymbolType -> Decl. fixes #9, #16

3d33b1dea18a1eed8a32ee9fac26eb28fe4f0ead authored about 7 years ago by m4b <[email protected]>
build: use failure 0.1.0 and friends

86a5a4376439442f1b3872630a3cc5a8818a8a1c authored about 7 years ago by m4b <[email protected]>
artifact, elf: use BTreeSet for ordering definitions by Prop. fix elf locals output

470ced710548027fe4fba87e57573b1d34fc9536 authored about 7 years ago by m4b <[email protected]>
artifact: remove deprecated api methods. fully transition to new declare/define model

75101f52b443cf1b06ca17456e6c18b41aa46bf8 authored about 7 years ago by m4b <[email protected]>
mach: implement GOT loads

f5b83a2773a967a0d64ac7a500907cd1a4d8f03a authored about 7 years ago by m4b <[email protected]>
prototype: add --deadbeef option for generating deadbeef.o

9ac79f9998ac02331f9330c61e03d7d8736c2e9a authored about 7 years ago by m4b <[email protected]>
mach: fix mach output and add local symbols in process

9fb2d85738a3824e8af2ad0873fd994a1e3307df authored about 7 years ago by m4b <[email protected]>
archive, elf: add Definition, which contains symbol Prop. Implement for elf

* Add Definition
* Add single definition vector
* implement local values for functions and strin...

bda49af76d2c2dba517d6b8179bcbf3f2eb038ce authored about 7 years ago by m4b <[email protected]>
artifact, elf: add unified link vector. use single link pass in elf. set local in symbols.

eba071cfbbbef8dbf91e38cec339f6b108823390 authored about 7 years ago by m4b <[email protected]>
artifact: add initial support for symbol types, ref #9, #16

2b1ff7647368671209396fa5f5f107e00b5b4a8e authored about 7 years ago by m4b <[email protected]>
artifact: add Link api. privatize some internals of artifact. add got relocations for ELF. ref #9

* Adds new Link { from, to, at } api for adding links
* Add ImportKind for imports, with Functio...

3f527a577a88f7f2976d95b19739f65e3bdb3b6b authored about 7 years ago by m4b <[email protected]>
prototype: minor cleanup

e3406f87e29934b51a307f7598337dc82f28ed6c authored about 7 years ago by m4b <[email protected]>
ELF: Change a HashMap to an OrderMap to fix nondeterministic output.

The write function iterates through self.relocations to write the
sections to the output file, s...

6181d20c505d67db0424893ba22878d3e996392e authored about 7 years ago by Dan Gohman <[email protected]>
Merge pull request #13 from sunfishcode/master

Make sections other than text and data non-alloc.

324016a3ea7a59daae83800743892a5bf3e23147 authored about 7 years ago by m4b <[email protected]>
Make the doc for `alloc` reflect its behavior.

edc8596535c4f07b01bd01e5e91006bdc8ea8224 authored about 7 years ago by Dan Gohman <[email protected]>
Rename "strtab" and "symtab" to ".strtab" and ".symtab". (#12)

These are the names specified in the SysV ELF ABI.

23ba2447e68dad446a77d9249dea8e70e70d12e3 authored about 7 years ago by Dan Gohman <[email protected]>
Make sections other than text and data non-alloc.

0041886e6fe7e16e73af6ee0b9311c13cb9c8d7e authored about 7 years ago by Dan Gohman <[email protected]>
ELF: emit a .note.GNU-stack section (#11)

This is an empty and non-allocated section which tells some popular ELF
implementations that th...

cee4fcd55f6d9db06f6ebc75dc9684993d85f8a8 authored about 7 years ago by Dan Gohman <[email protected]>
build: bump version to 0.0.2

0d8f40921e4a223265faaf7fa927bc09630454f2 authored about 7 years ago by m4b <[email protected]>
mach: add SegmentBuilder. move segment and relocation construction into mach::new. cleanup code. dont clone code + data anymore. relocation offsets now offset by absolute symbol base. fixes #8

3fc0f070ef8784fe8f9c7da3730cc33c6d4cc8ce authored about 7 years ago by m4b <[email protected]>
prototype: format code examples better. add deadbeef call to main. remove signed callq in x86 asm (mach-o relocations do not support)

5e3af1e8fab0dd546d73148a58f0908ad16664cf authored about 7 years ago by m4b <[email protected]>
mach: add _ at write time, allowing client to pass regular function names. fixes #7

11ab6537b60590469c6760976500136693017187 authored about 7 years ago by m4b <[email protected]>
mach: add data relocations. fix section and segment offset calculations. add correct symbol address calculation

a2733b535f2fab889800fc612ba385dccbd708d0 authored about 7 years ago by m4b <[email protected]>
mach: add initial import relocations. refactor many things into a SymTab for great good

a750fe5491ec750b9ab82ccca7151f21f20f34b7 authored about 7 years ago by m4b <[email protected]>
mach: initial mach object writer impl. no relocations yet

354a965785d5bb14232fd010d02f743b6bfe7a62 authored about 7 years ago by m4b <[email protected]>
artifact: add artifact builder. add is_library flag to prepare for emitting static libraries

f70382dafeccc7bbb36c730d104a32ba45d41bf7 authored over 7 years ago by m4b <[email protected]>
artifact: add some documentation

9778c0b9a8bfc09187febc1d23b332519d9729e6 authored over 7 years ago by m4b <[email protected]>